/* ==========================================================
   SCUni 性歸由你 — 子頁面樣式
   沿用 style.css 的字級與色彩系統
   ========================================================== */

/* ---------- 子頁面 Hero ---------- */
.page-hero { background: var(--warm); padding: 80px 0 68px; }
.page-hero.is-white { background: var(--white); }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: 20px; }
.page-hero-sub { font-size: var(--fs-lead); color: var(--ink-mid); line-height: var(--lh-body); max-width: 680px; }

/* ==========================================================
   ABOUT
   ========================================================== */
.origin { background: var(--white); padding: var(--sp-sec) 0; }
.origin-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 68px; align-items: start; }
.origin-body { font-size: var(--fs-body); color: var(--ink-mid); line-height: var(--lh-body); }
.origin-body p { margin-bottom: 18px; }
.origin-body p:last-child { margin-bottom: 0; }
.origin-highlight {
  font-family: var(--zh);
  font-weight: 900;
  font-style: italic;
  font-size: var(--fs-h3);
  line-height: 1.55;
  color: var(--ink);
  padding: 36px 34px;
  background: var(--yellow);
  border-radius: 4px;
  position: relative;
  box-shadow: 5px 10px 30px rgba(28,25,23,0.13);
}
.origin-highlight::before {
  content: '';
  position: absolute; top: -11px; left: 40px;
  width: 52px; height: 21px;
  background: rgba(255,253,240,0.75);
  border: 1px solid rgba(200,185,150,0.3);
  border-radius: 2px;
}
.origin-highlight .note-from { display: block; margin-top: 16px; font-style: normal; font-weight: 400; }

/* 信念 */
.belief { background: var(--warm); padding: var(--sp-sec) 0; }
.belief .lead { margin-bottom: 44px; }
.belief-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.belief-card { padding: 32px 28px; border-radius: 14px; border: 2px solid var(--border); background: var(--white); }
.belief-card:nth-child(1) { border-color: rgba(255,107,92,0.38); }
.belief-card:nth-child(2) { border-color: rgba(43,89,195,0.32); }
.belief-card:nth-child(3) { border-color: rgba(255,210,63,0.65); }
.belief-icon {
  font-family: var(--en);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 12px;
}
.belief-title { font-family: var(--zh); font-weight: 900; font-size: var(--fs-h4); color: var(--ink); margin-bottom: 10px; line-height: 1.45; }
.belief-desc { font-size: var(--fs-small); color: var(--ink-mid); line-height: 1.9; }

/* 團隊 */
.team { background: var(--white); padding: var(--sp-sec) 0; }
.team .lead { margin-bottom: 44px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 22px; }
.team-card {
  background: var(--warm);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px;
  transition: transform 0.2s, border-color 0.2s;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--coral); }
.team-role {
  font-family: var(--zh);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--coral);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.team-card.is-intern .team-role { background: var(--blue); }
.team-name { font-family: var(--zh); font-weight: 900; font-size: var(--fs-h4); color: var(--ink); margin-bottom: 10px; }
.team-desc { font-size: var(--fs-small); color: var(--ink-mid); line-height: 1.88; }

/* 結尾句 */
.about-end { background: var(--coral); padding: 80px 0; }
.about-end-inner { max-width: 680px; }
.about-end-zh {
  font-family: var(--zh);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 1.45;
  color: #fff;
  margin-bottom: 16px;
}
.about-end-en { font-family: var(--en); font-size: var(--fs-small); font-weight: 500; color: rgba(255,255,255,0.82); line-height: 1.75; }

/* ==========================================================
   PROGRAM
   ========================================================== */
.pain { background: var(--white); padding: var(--sp-sec) 0; }
.pain .lead { margin-bottom: 44px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card { padding: 30px 26px; border-radius: 14px; border: 2px solid rgba(255,107,92,0.28); background: var(--coral-lt); }
.pain-num { font-family: var(--en); font-size: var(--fs-label); font-weight: 700; color: var(--coral-deep); letter-spacing: 0.1em; margin-bottom: 12px; }
.pain-title { font-family: var(--zh); font-weight: 700; font-size: var(--fs-h4); color: var(--ink); margin-bottom: 10px; line-height: 1.45; }
.pain-desc { font-size: var(--fs-small); color: var(--ink-mid); line-height: 1.85; }
.pain-summary {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--yellow-lt);
  border-radius: 10px;
  border: 2px solid rgba(255,210,63,0.55);
  line-height: 1.8;
}

/* 定位 */
.role { background: var(--yellow-lt); padding: var(--sp-sec) 0; }
.role-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.role-body { font-size: var(--fs-body); color: var(--ink-mid); line-height: var(--lh-body); }
.role-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role-action { padding: 22px 20px; background: var(--white); border-radius: 12px; border: 2px solid var(--border); }
.role-action-num { font-family: var(--en); font-size: var(--fs-label); font-weight: 700; color: var(--coral-deep); letter-spacing: 0.08em; margin-bottom: 8px; }
.role-action-t { font-family: var(--zh); font-weight: 700; font-size: var(--fs-small); color: var(--ink); margin-bottom: 5px; }
.role-action-d { font-size: var(--fs-label); color: var(--ink-lt); line-height: 1.7; }

/* ---------- 六堂課：單欄橫式 ---------- */
.lessons { background: var(--white); padding: var(--sp-sec) 0; }
.lessons .lead { margin-bottom: 44px; }
.lessons-grid { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.lesson {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  padding: 30px 32px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--warm);
  transition: border-color 0.2s, background 0.2s;
}
.lesson:hover { border-color: var(--coral); background: #FFFDFA; }
.lesson-side { display: flex; flex-direction: column; gap: 10px; }
.lesson-num {
  font-family: var(--en);
  font-size: var(--fs-label);
  font-weight: 700;
  color: #fff;
  background: var(--coral);
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
  align-self: flex-start;
}
.lesson-dur {
  font-family: var(--zh);
  font-size: var(--fs-label);
  color: var(--ink-lt);
  letter-spacing: 0.04em;
}
.lesson-name { font-family: var(--zh); font-weight: 900; font-size: var(--fs-h4); color: var(--ink); margin-bottom: 12px; line-height: 1.45; }
.lesson-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.lesson-tag {
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--coral-deep);
  background: var(--coral-lt);
  border: 1px solid rgba(255,107,92,0.28);
  padding: 3px 10px;
  border-radius: 20px;
  line-height: 1.6;
}
.lesson-q {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--coral-deep);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
}
.lesson-p { font-size: var(--fs-small); color: var(--ink-mid); line-height: 1.85; margin-bottom: 7px; }
.lesson-p:last-child { margin-bottom: 0; }
.lessons-coming {
  padding: 30px 26px;
  border: 2px dashed rgba(28,25,23,0.18);
  border-radius: 14px;
  text-align: center;
  color: var(--ink-lt);
  font-size: var(--fs-small);
}

/* ---------- 安心協作承諾 ---------- */
.promise { background: var(--blue-lt); padding: var(--sp-sec) 0; }
.promise .lead { margin-bottom: 36px; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promise-item {
  display: flex; gap: 18px;
  background: var(--white);
  border: 2px solid rgba(43,89,195,0.18);
  border-radius: 14px;
  padding: 28px 26px;
}
.promise-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--en); font-size: var(--fs-small); font-weight: 700;
  flex-shrink: 0;
}
.promise-t { font-family: var(--zh); font-weight: 900; font-size: var(--fs-h4); color: var(--ink); margin-bottom: 8px; }
.promise-d { font-size: var(--fs-small); color: var(--ink-mid); line-height: 1.9; }
.promise-close {
  margin-top: 26px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: 10px;
  border-left: 5px solid var(--blue);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.85;
}

/* ---------- FAQ ---------- */
.faq { background: var(--warm); padding: var(--sp-sec) 0; }
.faq-list { max-width: 760px; margin-top: 24px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--zh);
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--ink);
  background: none; border: none; width: 100%;
  text-align: left; gap: 16px;
  -webkit-appearance: none;
  line-height: 1.6;
}
.faq-q:hover { color: var(--coral-deep); }
.faq-arrow { font-family: var(--en); font-size: var(--fs-h4); color: var(--coral); transition: transform 0.25s ease; flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-a { max-height: 420px; padding: 0 0 24px; }
.faq-a p { font-size: var(--fs-small); color: var(--ink-mid); line-height: 1.9; }

/* ==========================================================
   NEWS 列表頁 / 內頁
   ========================================================== */
.news-page { background: var(--coral-lt); padding: 56px 0 var(--sp-sec); }

.article { background: var(--white); padding: 56px 0 var(--sp-sec); }
.article-wrap { max-width: 760px; margin: 0 auto; padding: 0 48px; }
.article-back {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--coral-deep);
  margin-bottom: 26px;
}
.article-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.article h1 { font-size: var(--fs-h1); margin-bottom: 20px; }
.article-hero { border-radius: 14px; overflow: hidden; margin-bottom: 36px; border: 1px solid var(--border); }
.article-body { font-size: var(--fs-body); color: var(--ink-mid); line-height: var(--lh-body); }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: var(--fs-h3); margin: 40px 0 16px; }
.article-body h3 { font-size: var(--fs-h4); color: var(--ink); margin: 30px 0 12px; }
.article-body ul { list-style: none; margin: 0 0 20px; }
.article-body li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.85;
}
.article-body li::before {
  content: '';
  position: absolute; left: 2px; top: 12px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
}
.article-body strong { color: var(--ink); font-weight: 700; }

.info-box {
  background: var(--yellow-lt);
  border: 2px solid rgba(255,210,63,0.6);
  border-radius: 14px;
  padding: 28px 30px;
  margin: 32px 0;
}
.info-box h3 { margin: 0 0 16px; }
.info-row { display: flex; gap: 12px; margin-bottom: 12px; font-size: var(--fs-small); line-height: 1.75; }
.info-row:last-child { margin-bottom: 0; }
.info-k { font-weight: 700; color: var(--ink); flex-shrink: 0; min-width: 52px; }
.info-v { color: var(--ink-mid); }

.article-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin: 36px 0;
  padding: 28px 30px;
  background: var(--coral-lt);
  border-radius: 14px;
  border: 2px solid rgba(255,107,92,0.3);
  align-items: center;
}
.article-cta-t { font-family: var(--zh); font-weight: 900; font-size: var(--fs-h4); color: var(--ink); flex: 1; min-width: 200px; line-height: 1.5; }

.ig-embed-wrap { margin: 40px 0; display: flex; justify-content: center; }
.ig-embed-wrap iframe, .ig-embed-wrap blockquote { margin: 0 auto !important; }

/* ==========================================================
   志工招募
   ========================================================== */
.recruit {
  background: var(--ink);
  padding: var(--sp-sec) 0;
  position: relative;
  overflow: hidden;
}
.recruit::before {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,92,0.28) 0%, rgba(255,107,92,0) 68%);
}
.recruit::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,63,0.2) 0%, rgba(255,210,63,0) 68%);
}
.recruit .wrap { position: relative; z-index: 2; }
.recruit-pill {
  display: inline-block;
  font-family: var(--zh);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--yellow);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.recruit h2 { color: #fff; margin-bottom: 16px; }
.recruit h2 .ac { color: var(--yellow); border-bottom-color: rgba(255,210,63,0.45); }
.recruit-sub {
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.8);
  line-height: var(--lh-body);
  max-width: 620px;
  margin-bottom: 44px;
}
.recruit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
.recruit-card {
  background: rgba(255,255,255,0.055);
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 32px 30px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.recruit-card:hover { border-color: var(--coral); background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.recruit-team {
  font-family: var(--zh);
  font-weight: 900;
  font-size: var(--fs-h4);
  color: #fff;
  margin-bottom: 8px;
}
.recruit-team .dot {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--coral);
  margin-right: 10px;
  vertical-align: middle;
}
.recruit-card.is-b .recruit-team .dot { background: var(--yellow); }
.recruit-note { font-size: var(--fs-small); color: rgba(255,255,255,0.62); line-height: 1.75; margin-bottom: 20px; }
.recruit-roles { display: flex; flex-wrap: wrap; gap: 9px; }
.recruit-role {
  font-family: var(--zh);
  font-size: var(--fs-small);
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 15px;
  border-radius: 24px;
  line-height: 1.5;
}
.recruit-card.is-a .recruit-role:hover { background: var(--coral); border-color: var(--coral); }
.recruit-card.is-b .recruit-role:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.recruit-foot {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 28px 32px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.14);
  border-radius: 16px;
}
.recruit-foot-t { flex: 1; min-width: 240px; }
.recruit-foot-h { font-family: var(--zh); font-weight: 900; font-size: var(--fs-h4); color: #fff; margin-bottom: 6px; }
.recruit-foot-d { font-size: var(--fs-small); color: rgba(255,255,255,0.65); line-height: 1.75; }
.btn-y {
  display: inline-block;
  font-family: var(--zh);
  font-size: var(--fs-small);
  font-weight: 700;
  background: var(--yellow);
  color: var(--ink);
  padding: 15px 32px;
  border-radius: 30px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.btn-y:hover { background: #FFDF6B; transform: translateY(-2px); }

/* ==========================================================
   CONTACT 頁（全白）
   ========================================================== */
.contact-main { background: var(--white); padding: 0 0 var(--sp-sec); }
.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: start; }
.contact-block { margin-bottom: 44px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h2 { font-size: var(--fs-h3); margin-bottom: 18px; }
.hint-box {
  padding: 26px 28px;
  background: var(--warm);
  border-radius: 14px;
  border: 2px solid var(--border);
}
.hint-box h3 { margin-bottom: 8px; }
.hint-box p { font-size: var(--fs-small); color: var(--ink-mid); line-height: 1.85; }

/* ==========================================================
   RESPONSIVE — 子頁面
   ========================================================== */
@media (max-width: 1024px) {
  .origin-grid { grid-template-columns: 1fr; gap: 40px; }
  .role-grid { grid-template-columns: 1fr; gap: 40px; }
  .promise-grid { grid-template-columns: 1fr; }
  .belief-cols, .pain-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 340px; gap: 44px; }
  .article-wrap { padding: 0 32px; }
}

@media (max-width: 768px) {
  .page-hero { padding: 52px 0 44px; }

  .belief-cols,
  .team-grid,
  .pain-grid,
  .role-actions,
  .recruit-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .contact-grid { gap: 40px; }

  /* 六堂課：手機改上下堆疊 */
  .lesson { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .lesson-side { flex-direction: row; align-items: center; gap: 12px; }

  .article-wrap { padding: 0 20px; }
  .article-cta { padding: 24px 22px; }
  .article-cta .btn-p, .article-cta .btn-d { width: 100%; text-align: center; }
  .recruit-foot { padding: 24px 22px; }
  .recruit-foot .btn-y { width: 100%; text-align: center; }
  .info-box { padding: 24px 22px; }
  .info-row { flex-direction: column; gap: 2px; }
}

/* ==========================================================
   2026-07-28 更新：team + origin + lessons翻牌 + 首頁覆蓋
   ========================================================== */

/* 1. team-role 統一黃底黑字（覆蓋原本珊瑚紅底白字/藍底） */
.team .team-role {
  color: var(--ink) !important;
  background: var(--yellow) !important;
}
.team-card.is-intern .team-role { background: var(--yellow) !important; color: var(--ink) !important; }

/* 姓名 + 抬頭 橫排（姓名在前，抬頭在旁，強制同一行） */
.team-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 10px;
}
.team-heading .team-name {
  margin-bottom: 0 !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.team-heading .team-role {
  margin-bottom: 0 !important;
  white-space: nowrap;
  font-size: 11px !important;
  padding: 3px 9px !important;
  flex-shrink: 1;
  min-width: 0;
}

/* 2. team-photo 佔位（等實際照片） */.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--warm);
  display: flex; align-items: center; justify-content: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo-ph span { font-size: 72px; line-height: 1; }

/* 3. 三人一排 + 實習生獨佔一排 */
.team-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.team-row-intern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.team-row-intern .team-card { grid-column: 1; }
@media (max-width: 768px) {
  .team-row-3, .team-row-intern { grid-template-columns: 1fr; }
}

/* 4. Origin 單欄寬版 */
.origin-single { max-width: 820px; margin: 0 auto; }
.origin-single .origin-body { max-width: 100%; }
.origin-single h2 { margin-bottom: 24px; }

/* 5. Team lead 撐滿內容區 */
.team .lead { max-width: 100% !important; }

/* ==========================================================
   六堂課翻卡
   ========================================================== */
.lessons-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.lessons-hint { color: var(--ink-lt); font-size: var(--fs-small); margin-left: 4px; }

.lesson-card {
  position: relative;
  perspective: 1400px;
  cursor: pointer;
  min-height: 360px;
  outline: none;
}
.lesson-card:focus-visible .lc-inner { box-shadow: 0 0 0 3px var(--coral); border-radius: 14px; }
.lc-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 360px;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.lesson-card.is-flipped .lc-inner,
.lesson-card:hover .lc-inner { transform: rotateY(180deg); }

.lc-face {
  position: absolute;
  inset: 0;
  padding: 28px 26px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--warm);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}
.lc-front { gap: 14px; }
.lc-back {
  transform: rotateY(180deg);
  background: #FFFDFA;
  border-color: var(--coral);
  gap: 12px;
  overflow-y: auto;
}
.lc-title {
  font-family: var(--zh);
  font-weight: 900;
  font-size: var(--fs-h4);
  color: var(--ink);
  line-height: 1.45;
  margin-top: 6px;
}
.lc-flip-cue {
  font-family: var(--en);
  font-size: var(--fs-label);
  color: var(--ink-lt);
  letter-spacing: 0.05em;
  padding-top: 12px;
  border-top: 1px dashed rgba(28,25,23,0.15);
  margin-top: auto;
}
.lc-back-num {
  font-family: var(--en);
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--coral-deep);
  letter-spacing: 0.08em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,107,92,0.22);
  margin-bottom: 4px;
}
.lc-block-h {
  font-family: var(--zh);
  font-weight: 900;
  font-size: var(--fs-label);
  color: var(--coral-deep);
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}
.lc-block-b {
  font-size: var(--fs-small);
  color: var(--ink-mid);
  line-height: 1.78;
}
@media (max-width: 1024px) {
  .lessons-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .lessons-grid { grid-template-columns: 1fr; gap: 16px; }
  .lesson-card, .lc-inner { min-height: 320px; }
  .lc-face { padding: 24px 22px; }
  .lesson-card:hover .lc-inner { transform: none; }
  .lesson-card.is-flipped .lc-inner { transform: rotateY(180deg); }
}

/* ==========================================================
   首頁覆蓋主 style.css 的規則
   （因 index.html 現在也載入 pages.css，可以覆蓋）
   ========================================================== */

/* 1. Hero 品牌橫排：logo + SCUni + 性歸由你 */
.hero .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-brandline {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin: 26px 0 40px !important;
  flex-wrap: wrap;
}
.hero .hero-actions {
  margin-top: 8px !important;
  clear: both;
}
.hero-brandline .bl-zh,
.hero-brandline .bl-tag {
  font-family: var(--zh);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: #FF6B5C;
  line-height: 1;
}
.hero-brandline .bl-sep {
  flex-shrink: 0;
  width: 1px;
  height: 24px;
  background: #FF6B5C;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .hero-brandline { gap: 10px; margin: 20px 0 30px !important; }
  .hero-brandline .bl-zh,
  .hero-brandline .bl-tag { font-size: 17px; }
  .hero-brandline .bl-sep { height: 16px; }
}

/* 2. Plans meta 粗體黑字 */
.plan-meta { font-weight: 900 !important; color: var(--ink) !important; }

/* 3. 孩子怎麼說（原「學生怎麼說」）：白底橫向捲動紙條 */
.student-fb .fb-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 4px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,107,92,0.35) transparent;
}
.student-fb .fb-grid::-webkit-scrollbar { height: 8px; }
.student-fb .fb-grid::-webkit-scrollbar-track { background: transparent; }
.student-fb .fb-grid::-webkit-scrollbar-thumb {
  background: rgba(255,107,92,0.35); border-radius: 4px;
}
.student-fb .fb-card {
  flex: 0 0 320px !important;
  scroll-snap-align: start;
  background: #fff !important;
  border: 1px solid rgba(28,25,23,0.08) !important;
  border-radius: 6px !important;
  padding: 26px 24px !important;
  box-shadow: 0 2px 10px rgba(28,25,23,0.06);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.student-fb .fb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(28,25,23,0.1);
}
.student-fb .fb-card::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 12px;
  background: rgba(255,210,63,0.7);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.fb-scroll-hint {
  text-align: center; font-size: 13px; color: rgba(28,25,23,0.45);
  margin-top: 6px; letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .student-fb .fb-card { flex: 0 0 280px !important; }
}

/* ==========================================================
   志工招募：從純黑改為品牌暖色深底
   ========================================================== */
.recruit {
  background: linear-gradient(135deg, #2A1613 0%, #1c1917 55%, #3D1A15 100%) !important;
}
.recruit::before {
  background: radial-gradient(circle, rgba(255,107,92,0.45) 0%, rgba(255,107,92,0) 68%) !important;
}
.recruit::after {
  background: radial-gradient(circle, rgba(255,210,63,0.28) 0%, rgba(255,210,63,0) 68%) !important;
}

/* ==========================================================
   左上 nav-logo：SCUni 與 性歸由你 同大小、都 #FF6B5C
   （用更高特異性避免被主檔 var(--coral-deep) 覆蓋）
   ========================================================== */
nav .nav-logo .nav-logo-en,
nav .nav-logo .nav-logo-txt .nav-logo-en {
  font-size: 18px !important;
  color: #FF6B5C !important;
  line-height: 1.2 !important;
}
nav .nav-logo .nav-logo-zh,
nav .nav-logo .nav-logo-txt .nav-logo-zh {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #FF6B5C !important;
  line-height: 1.2 !important;
  letter-spacing: 0.04em !important;
}
@media (max-width: 768px) {
  nav .nav-logo .nav-logo-en,
  nav .nav-logo .nav-logo-zh { font-size: 16px !important; }
}
