/* 鋒宇精密 × Caliber home-2（Angled 版、官方 orange 配色）——只放覆寫，模板 css 不動 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap");

/* 中文字型：模板到處寫死 'Open Sans', Arial ⇒ 統一補上 Noto Sans TC（圖示字型除外） */
body, body *:not(.mdi):not([class^="mdi-"]):not([class*=" mdi-"]) { font-family: "Open Sans", "Noto Sans TC", Arial, sans-serif; }
h1, h2, h3, h4, .heading { letter-spacing: .02em; }
p, li, span, a, div { line-break: strict; }
.fy-zh-lead { font-size: 18px; font-weight: 700; color: #333; }

/* 背景照片：模板原圖（老車等）換成工廠照片 */
section.twitter { background-image: url("../img/photo/bg-quote.jpg") !important; }
section.whatwhyhow { background-image: url("../img/photo/bg-why.jpg") !important; }
section.contact { background-image: url("../img/photo/bg-contact.jpg") !important; }

/* 首屏標語：中文小標 */
.header-slide .maintext h4 { letter-spacing: .12em; }

/* 服務產業卡：原本是商品價格欄，改放中文產業名 */
.product .info .price h4 { font-size: 14px; font-weight: 700; white-space: nowrap; }

/* 詢價表單：上傳圖面 */
.fy-rfq .fy-drop { display: block; border: 2px dashed rgba(255,255,255,.45); color: #fff; text-align: center; padding: 18px 12px; margin: 0 0 15px; cursor: pointer; font-weight: 600; }
.fy-rfq .fy-drop:hover { border-color: var(--primary-color, #ff6630); }
.fy-rfq .fy-drop input { display: none; }
.fy-rfq .fy-drop .mdi { font-size: 22px; vertical-align: middle; margin-right: 6px; }

/* 聯絡區：原本是人物照片，改成圖示方塊（不放假員工） */
.contact-person .pic .fy-icon { aspect-ratio: 11 / 10; background: var(--primary-color, #ff6630); display: flex; align-items: center; justify-content: center; }
.contact-person .pic .fy-icon .mdi { font-size: 56px; color: #fff; }

/* 頁尾縮圖：正方形 */
.flickr-widget .fy-thumb { aspect-ratio: 1; object-fit: cover; width: 100%; }
.twitter-widget .tweet a { color: inherit; }

.mf-concept { position: fixed; left: 16px; bottom: 16px; z-index: 9999; background: #111; color: #fff; font: 500 12px/1 "Noto Sans TC", sans-serif; padding: 8px 12px; border-radius: 99px; opacity: .85; pointer-events: none; }

/* 首屏標語：「PARTS MADE / ON SPEC」比模板的「WE ARE / CALIBER」長，手機會被切掉 ⇒ 小螢幕縮字；black-text 的 margin-top 要等於 h4 行高＋下邊距才對齊 */
@media (max-width: 767px) {
  section.header .maintext .primary-text h1, section.header .maintext .black-text h1 { font-size: 40px; line-height: 36px; }
  section.header .maintext .primary-text h4 { font-size: 15px; line-height: 16px; margin: 0 0 12px; letter-spacing: .06em; }
  section.header .maintext .black-text h1 { margin-top: 28px; }
  section.header .maintext .primary-text div { padding-left: 14px; border-left-width: 6px; }
}
@media (max-width: 420px) {
  section.header .maintext .primary-text h1, section.header .maintext .black-text h1 { font-size: 26px; line-height: 26px; }
  section.header .maintext .primary-text h4 { font-size: 13px; }
  section.header .maintext .black-text h1 { margin-top: 28px; }
}
.contact-person .info div { overflow-wrap: anywhere; }
