/* 序章學院 × Edrio index-2（MF Studio 概念作品）——只放覆寫，模板 style.css 不動 */
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Noto+Sans+TC:wght@400;500;700;900&display=swap");

:root {
  /* 中文字型：模板變數尾巴已有 sans-serif，接在後面輪不到 ⇒ 整條覆寫 */
  --ed-heading: "Urbanist", "Noto Sans TC", sans-serif;
  --ed-body-font: "Urbanist", "Noto Sans TC", sans-serif;
  --ed-heading-2: "Inter", "Noto Sans TC", sans-serif;
  --ed-body-font-2: "Inter", "Noto Sans TC", sans-serif;
  /* 原手寫字 Golden Hopes 是「PERSONAL USE ONLY」授權，不能用在作品集 ⇒ 換 Google Fonts 的 Allura（OFL） */
  --ed-cursive-font: "Allura", cursive;
}
.subtitle, .hs-slug { font-family: "Allura", cursive !important; font-size: 30px; letter-spacing: 0; }

/* 中文標題：模板英文字距是負的，中文會黏在一起 */
.sec_title, .slider_title, .ed-hs-text-wrap h1 { letter-spacing: 0.02em; word-break: keep-all; line-break: strict; }
.ed-hs-slide-item .ed-hs-text-wrap .slider_title { font-size: 84px; }
/* 中文八個字整句是一個 split-word（inline-block 不換行）⇒ 字級要小到一行放得下 */
@media (max-width: 991px) { .ed-hs-slide-item .ed-hs-text-wrap .slider_title { font-size: 60px; } }
@media (max-width: 575px) { .ed-hs-slide-item .ed-hs-text-wrap .slider_title { font-size: 38px; } }
@media (max-width: 374px) { .ed-hs-slide-item .ed-hs-text-wrap .slider_title { font-size: 32px; } }
p, li, span, a { line-break: strict; }

/* 首屏：背景色與波浪 clip-path 是模板本身的，背景紋理圖原本是佔位圖 ⇒ 不放 */
.ed-hs-slide-item .slide-bg { display: none; }
.ed-hs-slide-item .inner-img img { width: 100%; height: 100%; object-fit: cover; }

/* 圖片都是 2 倍圖，讓它照版位縮放 */
.ed-ab-img-wrap-2 img, .ab-desc-img img, .ed-wc-img img, .ed-program-item img,
.ed-team-item-2 .item-img img, .ed-review-count-img-wrap img, .ed-blog-item-2 .item-img img,
.ed-faq-img-wrap img { width: 100%; height: auto; display: block; }

/* 介紹區：原本是去背人像 PNG，換成圓角照片 */
.ed-intro-img-wrap .item-img img { width: 100%; max-width: 640px; border-radius: 24px; aspect-ratio: 8 / 7; object-fit: cover; }

/* 繳費方式卡（取代模板的「Median Salary」） */
.intro-salary .in-sl-item span:last-child { font-weight: 700; }

/* 學員專區小卡：數字換成短字 */
.ed-rv-item-count h3.pa-word { font-size: 26px; line-height: 1.25; }

/* 概念作品標示 */
.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; }

/* 本期課程背景：模板只給外框尺寸，img 沒有撐滿（原本是佔位圖剛好同尺寸） */
.ed-program-section .ed-sec-pro-bg img { width: 100%; height: 100%; object-fit: cover; }
/* 關於區的植物裝飾、課程類別輪播會凸出右邊，造成整頁水平捲動（模板原本就有） */
.ab-about-sec-2, .ed-course-sec-2 { overflow-x: clip; }

/* 手機頁尾比背景波浪圖高，波浪的白色區會蓋到白色 logo ⇒ 頁尾自己鋪底色 */
@media (max-width: 991px) { #ed-footer-2 { background: #13191b; } }
