/* ==========================================================================
   FPAHK 家添一份喜悅 campaign site — design tokens + components
   ========================================================================== */

:root {
  /* Brand (from famplan.org.hk) */
  --fpa-red: #e23f3e;          /* menu bar */
  --fpa-red-deep: #b83034;     /* text-safe red, hover, strip */
  --fpa-logo-red: #e40010;     /* logo only */
  --fpa-pink: #fcf0f0;         /* page background */
  --fpa-pink-100: #f9e3e2;
  --fpa-pink-200: #f3c9c6;

  /* Campaign accents (from the KV) */
  --honey: #f8b03c;
  --honey-100: #fdebc8;
  --honey-50: #fff8ec;
  --honey-ink: #8a5300;        /* text on honey tints */
  --blush: #f09c84;            /* baby-cheek accent, decorative only */

  /* Section accents (sub-page variation) */
  --teal: #33b4af;
  --teal-ink: #1f7f7b;
  --teal-50: #e9f6f5;

  /* Neutrals (warm) */
  --ink: #3a2a2a;
  --ink-2: #6b5a58;
  --line: #eddcd8;
  --white: #ffffff;
  --footer: #f6ecea;

  /* Theme slots — overridden per section */
  --accent: var(--fpa-red-deep);
  --accent-soft: var(--fpa-pink-100);
  --accent-tint: var(--fpa-pink);

  /* Type */
  --font-sans: "Lato", "Microsoft JhengHei", "微軟正黑體", "Noto Sans TC", "PingFang TC", sans-serif;
  --font-display: "Noto Serif TC", "PMingLiU", serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.625rem;
  --fs-xl: 2.125rem;
  --fs-2xl: 2.75rem;

  /* Space + shape */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(120, 50, 40, .06), 0 2px 8px rgba(120, 50, 40, .06);
  --shadow-2: 0 4px 12px rgba(120, 50, 40, .08), 0 12px 32px rgba(120, 50, 40, .10);
  --container: 1240px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

.theme-health { --accent: var(--teal-ink); --accent-soft: #d4efed; --accent-tint: var(--teal-50); }
.theme-articles { --accent: var(--honey-ink); --accent-soft: var(--honey-100); --accent-tint: var(--honey-50); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[data-textsize="1"] { font-size: 112.5%; }
html[data-textsize="2"] { font-size: 125%; }
body {
  margin: 0; font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.75;
  color: var(--ink); background: var(--fpa-pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .7 0 0 0 0 .3 0 0 0 0 .3 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  letter-spacing: .02em; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--fpa-red-deep); text-underline-offset: 3px; }
a:hover { color: var(--fpa-red); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 var(--s4); color: var(--ink); font-weight: 700; letter-spacing: .04em; }
p { margin: 0 0 var(--s4); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s5); }
.skip-link { position: absolute; left: var(--s4); top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s2) var(--s4); border-radius: var(--r-sm); }
.skip-link:focus { top: var(--s2); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Top strip (FPAHK umbrella) ---------- */
.strip { background: var(--fpa-red-deep); color: #fff; font-size: var(--fs-xs); }
.strip .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: var(--s4); }
.strip__home { display: flex; align-items: center; gap: var(--s3); color: #fff; text-decoration: none; }
.strip__home img { height: 22px; width: auto; }
.strip__home span { opacity: .9; border-left: 1px solid rgba(255,255,255,.35); padding-left: var(--s3); }
.strip__home:hover { color: #fff; }
.strip__links { display: flex; gap: var(--s5); }
.strip__links a { color: #fff; text-decoration: none; opacity: .9; display: inline-flex; align-items: center; gap: 4px; }
.strip__links a:hover { opacity: 1; color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.header { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 88px; }
.brand { display: flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); }
.brand__mark { width: 52px; height: 52px; color: var(--fpa-red); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: .18em; color: var(--ink); }
.brand__sub { font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: .12em; margin-top: 4px; }
.brand:hover .brand__mark { animation: roof-bob .6s var(--ease); }
.utils { display: flex; align-items: center; gap: var(--s4); font-size: var(--fs-sm); }
.utils__group { display: flex; align-items: center; gap: var(--s1); }
.utils__label { color: var(--ink-2); font-size: var(--fs-xs); margin-right: var(--s1); }
.util-btn {
  display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 var(--s2);
  border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; color: var(--ink);
  text-decoration: none; font-weight: 700; transition: all .2s var(--ease);
}
.util-btn:hover { border-color: var(--fpa-red); color: var(--fpa-red-deep); }
.util-btn[aria-pressed="true"] { background: var(--fpa-red-deep); border-color: var(--fpa-red-deep); color: #fff; }
.util-btn--a0 { font-size: 13px; } .util-btn--a1 { font-size: 15px; } .util-btn--a2 { font-size: 18px; }
.util-sep { width: 1px; height: 22px; background: var(--line); }
.social { display: flex; gap: var(--s2); }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--fpa-pink-100); color: var(--fpa-red-deep); transition: all .2s var(--ease); }
.social a:hover { background: var(--fpa-red); color: #fff; transform: translateY(-2px); }
.social .icon { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav { background: var(--fpa-red); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 0 rgba(0,0,0,.04); }
.nav .container { display: flex; align-items: stretch; justify-content: space-between; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav__item { flex: 1; position: relative; }
.nav__link {
  display: flex; align-items: center; justify-content: center; gap: 6px; height: 58px; padding: 0 var(--s3);
  color: #fff; text-decoration: none; font-size: 1.1875rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; position: relative;
}
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 0; height: 3px; border-radius: 3px; background: var(--honey); transition: all .25s var(--ease); transform: translateX(-50%); }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; background: var(--fpa-red-deep); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 28px; }
.nav__link .icon { width: 14px; height: 14px; }
.nav__drop {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 240px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: var(--s3); opacity: 0; visibility: hidden; transition: all .2s var(--ease); list-style: none; margin: 0;
}
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop a { display: block; padding: var(--s2) var(--s3); border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); }
.nav__drop a:hover { background: var(--fpa-pink); color: var(--fpa-red-deep); }
.nav__mini-brand { display: none; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; padding-right: var(--s4); }
.nav__mini-brand svg { width: 30px; height: 30px; }
.nav.is-stuck .nav__mini-brand { display: flex; }
.nav__search { display: flex; align-items: center; }
.nav__search button { background: none; border: 0; color: #fff; width: 58px; height: 58px; display: grid; place-items: center; }
.nav__search button:hover { background: var(--fpa-red-deep); }
.nav__burger { display: none; }

/* Search overlay */
.search-panel { position: fixed; inset: 0; z-index: 80; background: rgba(58, 42, 42, .45); display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-panel.is-open { display: flex; animation: fade .2s ease; }
.search-panel__box { width: min(720px, 92vw); background: #fff; border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-2); }

/* ---------- Buttons, chips, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5);
  border-radius: var(--r-pill); border: 2px solid transparent; font-weight: 700; font-size: var(--fs-base); text-decoration: none; letter-spacing: .06em;
  transition: all .2s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--fpa-red-deep); color: #fff; }
.btn--primary:hover { background: var(--fpa-red); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(226, 63, 62, .3); }
.btn--honey { background: var(--honey); color: var(--ink); }
.btn--honey:hover { background: #f6a21a; color: var(--ink); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--fpa-red-deep); border-color: var(--fpa-pink-200); }
.btn--ghost:hover { border-color: var(--fpa-red); color: var(--fpa-red-deep); }
.btn--sm { min-height: 38px; padding: 0 var(--s4); font-size: var(--fs-sm); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 var(--s4); border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: var(--fs-sm); text-decoration: none; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--fpa-red); color: var(--fpa-red-deep); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--hash::before { content: "#"; color: var(--honey); font-weight: 700; }
.tag { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 700; background: var(--accent-soft); color: var(--accent); letter-spacing: .04em; }
.tag--teal { background: #d4efed; color: var(--teal-ink); }
.tag--honey { background: var(--honey-100); color: var(--honey-ink); }
.tag--pink { background: var(--fpa-pink-100); color: var(--fpa-red-deep); }

/* ---------- Section scaffolding ---------- */
.section { padding: var(--s9) 0; position: relative; }
.section--tight { padding: var(--s8) 0; }
.section--white { background: #fff; }
.section--cream { background: var(--honey-50); }
.section--pink2 { background: var(--fpa-pink-100); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); margin-bottom: var(--s6); flex-wrap: wrap; }
.section-head__eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); font-weight: 700; color: var(--fpa-red-deep); letter-spacing: .12em; margin-bottom: var(--s2); }
.section-head__eyebrow svg { width: 22px; height: 22px; color: var(--fpa-red); }
.section-head h2 { font-size: var(--fs-xl); margin: 0; }
.section-head p { color: var(--ink-2); margin: var(--s2) 0 0; max-width: 620px; }
.proposed { position: relative; }
body.show-proposed .proposed { outline: 2px dashed var(--honey); outline-offset: 4px; }

/* Roof divider — the KV house line reduced to a section rule */
.roof-rule { display: flex; align-items: center; gap: var(--s4); color: var(--fpa-pink-200); margin: 0 auto; max-width: var(--container); padding: 0 var(--s5); }
.roof-rule::before, .roof-rule::after { content: ""; flex: 1; height: 2px; background: currentColor; border-radius: 2px; }
.roof-rule svg { width: 64px; height: 28px; color: var(--fpa-red); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: var(--ink); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--honey-50); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.card__title { font-size: var(--fs-md); font-weight: 700; margin: 0; line-height: 1.45; }
.card__text { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; gap: var(--s2); color: var(--ink-2); font-size: var(--fs-xs); margin-top: auto; padding-top: var(--s2); }
.card__meta .icon { width: 14px; height: 14px; }
.card__more { display: inline-flex; align-items: center; gap: 4px; color: var(--fpa-red-deep); font-weight: 700; font-size: var(--fs-sm); margin-top: auto; }
.card__more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }

.grid { display: grid; gap: var(--s5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero carousel ---------- */
.hero { padding: var(--s5) 0 0; }
.hero__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1.9 / 1; background: #f3e4dc; box-shadow: var(--shadow-2); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide picture, .slide > img { position: absolute; inset: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
.slide--kv img { object-position: 50% 0; }
.slide__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 248, 240, .94) 0%, rgba(255, 248, 240, .78) 32%, rgba(255, 248, 240, 0) 58%); }
.slide__copy { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); max-width: 44%; }
.slide.is-active .slide__copy > * { animation: rise .8s var(--ease) both; }
.slide.is-active .slide__copy > *:nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide__copy > *:nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide__copy > *:nth-child(4) { animation-delay: .3s; }
.slide__kicker { display: inline-flex; align-items: center; gap: 6px; background: var(--honey); color: var(--ink); font-weight: 700; font-size: var(--fs-sm); padding: 4px 14px; border-radius: var(--r-pill); margin-bottom: var(--s4); }
.slide__title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.3; margin-bottom: var(--s3); color: var(--ink); }
.slide__title em { font-style: normal; color: var(--fpa-red-deep); }
.slide__text { font-size: var(--fs-md); color: var(--ink-2); margin-bottom: var(--s5); }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 44px; display: flex; align-items: center; justify-content: space-between; padding: var(--s5) var(--s6); pointer-events: none; }
.hero__dots { display: flex; gap: var(--s2); pointer-events: auto; background: rgba(255,255,255,.85); padding: 8px 12px; border-radius: var(--r-pill); backdrop-filter: blur(6px); }
.hero__dot { width: 10px; height: 10px; border-radius: 10px; border: 0; background: var(--fpa-pink-200); padding: 0; transition: all .3s var(--ease); position: relative; overflow: hidden; }
.hero__dot[aria-current="true"] { width: 36px; background: var(--fpa-pink-200); }
.hero__dot[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--fpa-red); transform-origin: left; animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dot[aria-current="true"]::after { animation-play-state: paused; }
.hero__btns { display: flex; gap: var(--s2); pointer-events: auto; }
.hero__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-1); transition: all .2s var(--ease); }
.hero__btn:hover { background: var(--fpa-red); color: #fff; }
.hero__btn .icon { width: 18px; height: 18px; }

/* Quick bar under hero */
.quickbar { position: relative; z-index: 5; margin-top: -44px; }
.quickbar__inner { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: var(--s5) var(--s6); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s6); align-items: center; margin: 0 var(--s7); }
.searchbox { display: flex; align-items: center; gap: var(--s2); background: var(--fpa-pink); border: 2px solid transparent; border-radius: var(--r-pill); padding: 4px 4px 4px var(--s5); transition: border-color .2s; }
.searchbox:focus-within { border-color: var(--fpa-red); background: #fff; }
.searchbox .icon { color: var(--ink-2); }
.searchbox input { flex: 1; border: 0; background: none; font: inherit; color: var(--ink); min-height: 44px; outline: none; }
.searchbox input::placeholder { color: #917f7c; }
.quickbar__hot { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); font-size: var(--fs-sm); }
.quickbar__hot > span { color: var(--ink-2); font-size: var(--fs-xs); }
.quickbar__hot .chip { min-height: 30px; padding: 0 12px; font-size: var(--fs-xs); background: var(--honey-50); border-color: var(--honey-100); }
.quicklinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.quicklink { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: var(--s3) var(--s2); border-radius: var(--r-md); text-decoration: none; color: var(--ink); font-size: var(--fs-sm); font-weight: 700; line-height: 1.35; transition: background .2s; }
.quicklink:hover { background: var(--fpa-pink); color: var(--fpa-red-deep); }
.quicklink__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--honey-100); color: var(--fpa-red-deep); transition: transform .3s var(--ease); }
.quicklink:hover .quicklink__ico { transform: translateY(-3px) rotate(-6deg); }
.quicklink small { font-weight: 400; color: var(--ink-2); font-size: var(--fs-xs); }

/* ---------- Health info (home) ---------- */
.filter-row { display: flex; gap: var(--s2); flex-wrap: wrap; }
.hi-card .card__media { aspect-ratio: 16 / 10; }
.hi-card.is-hidden { display: none; }

/* ---------- Services ---------- */
.services { background: var(--honey-50); border-radius: var(--r-xl); padding: var(--s8) var(--s7); position: relative; }
.services__peek { position: absolute; top: -86px; right: 64px; width: 150px; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.svc {
  background: #fff; border-radius: var(--r-lg); padding: var(--s5); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: var(--s3);
  border: 1px solid transparent; transition: all .25s var(--ease); position: relative; min-height: 190px;
}
.svc:hover { border-color: var(--honey); transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--ink); }
.svc__ico { width: 64px; height: 64px; border-radius: 20px; background: var(--fpa-pink); display: grid; place-items: center; color: var(--fpa-red); transition: all .3s var(--ease); }
.svc__ico svg { width: 36px; height: 36px; stroke-width: 1.8; }
.svc:hover .svc__ico { background: var(--fpa-red); color: #fff; transform: rotate(-4deg) scale(1.04); }
.svc__name { font-weight: 700; font-size: var(--fs-md); line-height: 1.4; }
.svc__badge { position: absolute; top: var(--s4); right: var(--s4); font-size: 11px; font-weight: 700; background: var(--honey-100); color: var(--honey-ink); padding: 2px 8px; border-radius: var(--r-pill); }
.svc__go { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); color: var(--fpa-red-deep); font-weight: 700; }
.svc__go .icon { width: 15px; height: 15px; }
.services__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); margin-top: var(--s6); padding-top: var(--s5); border-top: 2px dashed var(--honey-100); flex-wrap: wrap; }
.hotline { display: flex; align-items: center; gap: var(--s3); }
.hotline__ico { width: 48px; height: 48px; border-radius: 50%; background: var(--fpa-red-deep); color: #fff; display: grid; place-items: center; }
.hotline strong { font-size: var(--fs-lg); letter-spacing: .04em; display: block; line-height: 1.2; }
.hotline div span { font-size: var(--fs-xs); color: var(--ink-2); }

/* ---------- Articles (home) ---------- */
.feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s6); align-items: stretch; }
.feat__main { display: grid; grid-template-rows: auto 1fr; }
.feat__main .card__media { aspect-ratio: 16 / 10; }
.feat__main .card__title { font-size: var(--fs-lg); }
.feat__badge { position: absolute; top: var(--s4); left: var(--s4); background: var(--fpa-red-deep); color: #fff; font-weight: 700; font-size: var(--fs-xs); padding: 4px 12px; border-radius: var(--r-pill); z-index: 2; display: inline-flex; gap: 4px; align-items: center; }
.feat__list { display: flex; flex-direction: column; gap: var(--s4); }
.row-card { display: grid; grid-template-columns: 150px 1fr; gap: var(--s4); background: #fff; border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: all .25s var(--ease); }
.row-card:hover { transform: translateX(4px); box-shadow: var(--shadow-2); color: var(--ink); }
.row-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.row-card__body { padding: var(--s3) var(--s4) var(--s3) 0; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.row-card__title { font-weight: 700; line-height: 1.45; }
.hashbar { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s6); }
.hashbar__label { font-weight: 700; font-size: var(--fs-sm); margin-right: var(--s2); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Multimedia ---------- */
.tabs { display: inline-flex; background: #fff; border-radius: var(--r-pill); padding: 4px; box-shadow: var(--shadow-1); gap: 2px; flex-wrap: wrap; }
.tab { border: 0; background: none; padding: 10px 20px; border-radius: var(--r-pill); font-weight: 700; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.tab[aria-selected="true"] { background: var(--fpa-red-deep); color: #fff; }
.tab .icon { width: 18px; height: 18px; }
.tabpanel[hidden] { display: none; }
.media-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s5); }
.media-grid__side { display: grid; gap: var(--s5); }
.vid { position: relative; border-radius: var(--r-lg); overflow: hidden; display: block; color: #fff; text-decoration: none; background: #000; border: 0; padding: 0; text-align: left; width: 100%; }
.vid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; transition: transform .6s var(--ease), opacity .3s; opacity: .95; }
.vid:hover img { transform: scale(1.04); opacity: .85; }
.vid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--fpa-red); display: grid; place-items: center; transition: transform .3s var(--ease); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.vid__play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: pulse 2.4s ease-out infinite; }
.vid:hover .vid__play { transform: translate(-50%, -50%) scale(1.08); }
.vid__play .icon { width: 28px; height: 28px; margin-left: 4px; }
.vid--sm .vid__play { width: 52px; height: 52px; } .vid--sm .vid__play .icon { width: 20px; height: 20px; }
.vid__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s6) var(--s5) var(--s4); background: linear-gradient(transparent, rgba(40, 20, 20, .78)); font-weight: 700; line-height: 1.45; }
.vid__cap small { display: block; font-weight: 400; opacity: .85; font-size: var(--fs-xs); }
.vid__dur { position: absolute; top: var(--s3); right: var(--s3); background: rgba(0,0,0,.6); font-size: var(--fs-xs); padding: 2px 8px; border-radius: 6px; }
.post { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); text-decoration: none; color: var(--ink); display: block; transition: all .25s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); color: var(--ink); }
.post__head { display: flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s4); font-size: var(--fs-xs); font-weight: 700; }
.post__head img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; }
.post__img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.post__body { padding: var(--s3) var(--s4) var(--s4); font-size: var(--fs-sm); }
.post__body .icon { width: 16px; height: 16px; }
.promo { display: grid; grid-template-columns: 110px 1fr; gap: var(--s4); align-items: center; background: #fff; border-radius: var(--r-lg); padding: var(--s4); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: all .25s var(--ease); }
.promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); color: var(--ink); }
.promo__cover { aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; box-shadow: 4px 4px 0 var(--honey-100); }
.promo__cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Newsletter ---------- */
.news { background: var(--fpa-red-deep); color: #fff; border-radius: var(--r-xl); display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; position: relative; }
.news__img { position: relative; min-height: 340px; }
.news__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news__body { padding: var(--s8) var(--s7); position: relative; }
.news__body h2 { color: #fff; font-size: var(--fs-xl); }
.news__body p { opacity: .92; }
.news__form { max-width: 480px; display: flex; gap: var(--s2); background: #fff; padding: 6px; border-radius: var(--r-pill); margin-top: var(--s5); }
.news__form input { flex: 1; border: 0; font: inherit; padding: 0 var(--s4); min-height: 48px; border-radius: var(--r-pill); outline: none; color: var(--ink); min-width: 0; }
.news__consent { display: flex; gap: var(--s2); align-items: flex-start; font-size: var(--fs-xs); margin-top: var(--s3); opacity: .9; }
.news__consent input { margin-top: 4px; accent-color: var(--honey); }
.news__kid { position: absolute; right: 28px; top: -46px; width: 128px; }
.news__roof { position: absolute; right: 40px; bottom: 24px; width: 160px; color: rgba(255,255,255,.1); }

/* ---------- Find us ---------- */
.findus { display: grid; grid-template-columns: 1fr 1.25fr; gap: var(--s6); align-items: stretch; }
.loc-list { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); max-height: 380px; overflow-y: auto; padding-right: var(--s2); }
.loc { width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4); display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: start; transition: all .2s var(--ease); color: var(--ink); }
.loc:hover { border-color: var(--fpa-pink-200); }
.loc[aria-pressed="true"] { border-color: var(--fpa-red); background: var(--fpa-pink); }
.loc__pin { width: 36px; height: 36px; border-radius: 50%; background: var(--fpa-pink-100); color: var(--fpa-red-deep); display: grid; place-items: center; }
.loc[aria-pressed="true"] .loc__pin { background: var(--fpa-red); color: #fff; }
.loc strong { display: block; line-height: 1.4; }
.loc > span:last-child span { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.5; display: block; }
.map { border-radius: var(--r-lg); overflow: hidden; background: var(--fpa-pink-100); min-height: 460px; position: relative; box-shadow: var(--shadow-1); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s6); }
.contact-card { background: var(--fpa-pink); border-radius: var(--r-md); padding: var(--s4) var(--s5); display: flex; gap: var(--s3); align-items: center; }
.contact-card .icon { width: 28px; height: 28px; color: var(--fpa-red); }
.contact-card strong { display: block; }
.contact-card span { font-size: var(--fs-xs); color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { background: var(--footer); margin-top: 0; position: relative; }
.footer__kids { position: absolute; top: -118px; left: 6%; width: 150px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--s6); padding: var(--s8) 0 var(--s6); }
.footer h3 { font-size: var(--fs-sm); letter-spacing: .12em; color: var(--ink-2); margin-bottom: var(--s3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); font-size: var(--fs-sm); }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--fpa-red-deep); text-decoration: underline; }
.footer__logo { height: 44px; width: auto; margin-bottom: var(--s4); }
.footer__addr { font-size: var(--fs-sm); color: var(--ink-2); }
.footer__bottom { border-top: 1px solid var(--line); padding: var(--s4) 0; display: flex; justify-content: space-between; gap: var(--s4); font-size: var(--fs-xs); color: var(--ink-2); flex-wrap: wrap; }
.footer__bottom nav { display: flex; gap: var(--s4); flex-wrap: wrap; }
.to-top { position: fixed; right: var(--s5); bottom: var(--s5); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--fpa-red-deep); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(12px); transition: all .3s var(--ease); z-index: 30; pointer-events: none; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--fpa-red); }

/* ---------- Modal (pop-up notice + video) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: var(--s5); background: rgba(58, 42, 42, .5); }
.modal.is-open { display: flex; animation: fade .25s ease; }
.modal__box { background: #fff; border-radius: var(--r-xl); max-width: 520px; width: 100%; position: relative; overflow: hidden; animation: pop .35s var(--ease); box-shadow: var(--shadow-2); }
.modal__close { position: absolute; top: var(--s3); right: var(--s3); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink); z-index: 2; }
.modal__close:hover { background: var(--fpa-pink-100); }
.notice__head { background: var(--honey-100); padding: var(--s6) var(--s6) var(--s5); position: relative; overflow: hidden; }
.notice__head .kid { position: absolute; right: 16px; bottom: -14px; width: 110px; }
.notice__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--fpa-red-deep); font-size: var(--fs-sm); }
.notice__body { padding: var(--s5) var(--s6) var(--s6); }
.notice__date { font-size: var(--fs-xs); color: var(--ink-2); }
.notice__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s5); flex-wrap: wrap; }
.notice__foot label { font-size: var(--fs-xs); color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.modal--video .modal__box { max-width: 1000px; background: #000; border-radius: var(--r-lg); }
.player { aspect-ratio: 16/9; position: relative; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.player__ui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; gap: var(--s3); text-align: center; padding: var(--s5); }
.player__bar { position: absolute; left: var(--s5); right: var(--s5); bottom: var(--s4); height: 4px; background: rgba(255,255,255,.3); border-radius: 4px; }
.player__bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--fpa-red); border-radius: 4px; animation: grow 30s linear forwards; }

/* ---------- Sub-page chrome ---------- */
.page-band { background: var(--accent-tint); position: relative; overflow: hidden; }
.page-band .container { padding-top: var(--s6); padding-bottom: var(--s7); position: relative; }
.page-band h1 { font-size: var(--fs-2xl); margin: var(--s3) 0 var(--s3); }
.page-band__lead { color: var(--ink-2); max-width: 680px; font-size: var(--fs-md); margin: 0; }
.page-band__art { position: absolute; right: var(--s5); bottom: -10px; width: 170px; }
.page-band__roof { position: absolute; right: -40px; top: -30px; width: 380px; color: var(--accent-soft); opacity: .8; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; margin: 0; padding: 0; font-size: var(--fs-xs); color: var(--ink-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }

.layout { display: grid; grid-template-columns: 270px 1fr; gap: var(--s7); padding: var(--s7) 0 var(--s9); align-items: start; }
.sidenav { position: sticky; top: 80px; background: #fff; border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--shadow-1); }
.sidenav h2 { font-size: var(--fs-sm); color: var(--ink-2); letter-spacing: .12em; padding: var(--s2) var(--s3) 0; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav > ul > li > a, .sidenav > ul > li > button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px var(--s3); border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); background: none; border: 0; text-align: left; }
.sidenav > ul > li > a:hover, .sidenav > ul > li > button:hover { background: var(--accent-tint); color: var(--accent); }
.sidenav button .icon { width: 16px; height: 16px; transition: transform .2s; }
.sidenav button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sidenav button[aria-expanded="true"] { color: var(--accent); }
.sidenav .sub { padding: 2px 0 var(--s2) var(--s3); border-left: 2px solid var(--accent-soft); margin-left: var(--s4); }
.sidenav .sub[hidden] { display: none; }
.sidenav .sub a { display: block; padding: 6px var(--s3); font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none; border-radius: var(--r-sm); }
.sidenav .sub a:hover { color: var(--accent); background: var(--accent-tint); }
.sidenav .sub a[aria-current="page"] { color: #fff; background: var(--accent); font-weight: 700; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); margin-bottom: var(--s6); }
.share { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-xs); color: var(--ink-2); }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: all .2s; }
.share a:hover, .share button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.share .icon { width: 16px; height: 16px; }

/* Health info content */
.hi-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s6); align-items: start; background: #fff; border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-1); }
.hi-intro img { border-radius: var(--r-md); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.hi-intro p:last-child { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin: var(--s6) 0; }
.stat { background: #fff; border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -24px; top: -24px; width: 90px; height: 90px; border-radius: 50%; background: var(--accent-tint); }
.stat__num { font-family: "Lato", sans-serif; font-weight: 900; font-size: 2.5rem; line-height: 1; color: var(--accent); position: relative; z-index: 1; }
.stat__num small { font-size: 1.1rem; font-weight: 700; }
.stat__label { font-size: var(--fs-sm); color: var(--ink-2); margin-top: var(--s2); position: relative; z-index: 1; }
.h2-band { display: flex; align-items: center; gap: var(--s3); margin: var(--s8) 0 var(--s4); scroll-margin-top: 90px; }
.h2-band h2 { font-size: var(--fs-xl); margin: 0; }
.h2-band__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.h2-band__ico svg { width: 26px; height: 26px; }
.acc-tools { display: flex; justify-content: flex-end; margin-bottom: var(--s3); }
.linkbtn { background: none; border: 0; color: var(--accent); font-weight: 700; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 4px; padding: 4px; }
.acc { display: flex; flex-direction: column; gap: var(--s3); }
.qa { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: hidden; border: 1px solid transparent; transition: border-color .2s; }
.qa.is-open { border-color: var(--accent-soft); }
.qa__q { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: var(--s3); align-items: center; padding: var(--s4) var(--s5); background: none; border: 0; text-align: left; font-weight: 700; color: var(--ink); font-size: var(--fs-base); line-height: 1.55; }
.qa__q:hover { background: var(--accent-tint); }
.qa__badge { width: 32px; height: 32px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-family: "Lato", sans-serif; font-weight: 900; }
.qa__chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); transition: transform .3s var(--ease); }
.qa.is-open .qa__chev { transform: rotate(45deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; }
.qa__a-inner { padding: 0 var(--s5) var(--s5) calc(var(--s5) + 32px + var(--s3)); color: var(--ink); }
.qa__a-inner p:last-child { margin-bottom: 0; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin: var(--s4) 0; }
.pack { border-radius: var(--r-md); background: var(--accent-tint); padding: var(--s4); }
.pack__head { display: flex; align-items: center; gap: var(--s2); font-weight: 900; font-family: "Lato", sans-serif; font-size: 1.5rem; color: var(--accent); }
.pack__head small { font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.pack__dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: var(--s3) 0; }
.pack__dots i { aspect-ratio: 1; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.pack__dots i.off { border-style: dashed; border-color: #b7a8a5; background: transparent; }
.pack__dots i.pl { background: var(--accent-soft); border-color: var(--accent-soft); }
.pack p { font-size: var(--fs-sm); margin: 0; }
.related { background: #fff; border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-1); margin-top: var(--s8); }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.related__grid a { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s3) var(--s4); border-radius: var(--r-md); background: var(--accent-tint); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 700; transition: all .2s; }
.related__grid a small { display: block; font-weight: 400; color: var(--ink-2); font-size: var(--fs-xs); }
.related__grid a:hover { background: var(--accent); color: #fff; }
.related__grid a:hover small { color: #fff; }
.cta-card { display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: center; background: var(--fpa-red-deep); color: #fff; border-radius: var(--r-lg); padding: var(--s6); margin-top: var(--s6); position: relative; overflow: hidden; }
.cta-card h3 { color: #fff; margin-bottom: var(--s2); }
.cta-card p { margin: 0; opacity: .92; }
.cta-card__kid { position: absolute; right: 220px; bottom: -30px; width: 110px; opacity: .95; }
.toc { position: sticky; top: 80px; }
.toc__box { background: #fff; border-radius: var(--r-lg); padding: var(--s4) var(--s5); box-shadow: var(--shadow-1); }
.toc__box h2 { font-size: var(--fs-xs); letter-spacing: .12em; color: var(--ink-2); margin-bottom: var(--s2); }
.toc__box ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: t; }
.toc__box a { display: flex; gap: var(--s2); padding: 6px var(--s2); border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); line-height: 1.45; }
.toc__box a::before { counter-increment: t; content: counter(t, decimal-leading-zero); font-family: "Lato", sans-serif; font-weight: 900; color: var(--accent-soft); }
.toc__box a.is-active { background: var(--accent-tint); color: var(--accent); font-weight: 700; }
.toc__box a.is-active::before { color: var(--accent); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: var(--s6); align-items: start; }

/* Articles listing */
.filters { background: #fff; border-radius: var(--r-lg); padding: var(--s5); box-shadow: var(--shadow-1); display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: var(--s3); align-items: end; margin-top: calc(-1 * var(--s7)); position: relative; z-index: 2; }
.field label { display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); margin-bottom: 4px; letter-spacing: .08em; }
.select { position: relative; }
.select select { width: 100%; appearance: none; font: inherit; font-size: var(--fs-sm); min-height: 46px; padding: 0 40px 0 var(--s4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--honey-50); color: var(--ink); text-overflow: ellipsis; }
.select select:focus { border-color: var(--honey); outline: 3px solid var(--honey-100); }
.select .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; pointer-events: none; color: var(--ink-2); }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin: var(--s7) 0 var(--s5); flex-wrap: wrap; }
.list-head__count { color: var(--ink-2); font-size: var(--fs-sm); }
.viewtoggle { display: inline-flex; gap: 4px; background: #fff; border-radius: var(--r-pill); padding: 4px; box-shadow: var(--shadow-1); }
.viewtoggle button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.feature-hero { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-1); text-decoration: none; color: var(--ink); transition: all .3s var(--ease); margin-bottom: var(--s6); }
.feature-hero:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); color: var(--ink); }
.feature-hero__img { position: relative; min-height: 360px; }
.feature-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-hero__body { padding: var(--s7) var(--s6); display: flex; flex-direction: column; gap: var(--s3); justify-content: center; }
.feature-hero__body h2 { font-size: var(--fs-xl); margin: 0; }
.art-card .card__media { aspect-ratio: 16 / 11; }
.art-card .card__title { font-size: var(--fs-base); }
.art-card .card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.art-grid.is-list { grid-template-columns: 1fr; }
.art-grid.is-list .art-card { flex-direction: row; }
.art-grid.is-list .art-card .card__media { width: 240px; flex: none; aspect-ratio: 16/11; }
.pager { display: flex; justify-content: center; gap: var(--s2); margin-top: var(--s7); flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 var(--s3); border-radius: var(--r-pill); display: grid; place-items: center; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: var(--shadow-1); }
.pager a:hover { background: var(--honey-100); }
.pager [aria-current] { background: var(--ink); color: #fff; }

/* Article detail */
.progress { position: fixed; top: 0; left: 0; height: 4px; background: var(--honey); z-index: 60; width: 0; }
.art-head { background: var(--accent-tint); }
.art-head .container { padding-top: var(--s6); padding-bottom: 0; }
.art-head__inner { max-width: 880px; margin: 0 auto; text-align: center; padding-bottom: var(--s7); }
.art-head h1 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); margin: var(--s4) 0; line-height: 1.4; }
.art-head__ref { font-family: "Lato", sans-serif; font-style: italic; color: var(--ink-2); font-size: var(--fs-sm); }
.art-cover { max-width: 1040px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21/9; margin-bottom: calc(-1 * var(--s8)); position: relative; z-index: 2; box-shadow: var(--shadow-2); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-meta { max-width: 1040px; margin: 0 auto; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: calc(var(--s8) + var(--s5)) var(--s6) var(--s5); display: grid; grid-template-columns: repeat(5, auto); gap: var(--s5); justify-content: space-between; }
.art-meta dt { font-size: var(--fs-xs); color: var(--ink-2); letter-spacing: .1em; font-weight: 700; }
.art-meta dd { margin: 2px 0 0; font-size: var(--fs-sm); font-weight: 700; line-height: 1.5; }
.art-layout { display: grid; grid-template-columns: 64px minmax(0, 720px) 1fr; gap: var(--s6); max-width: 1040px; margin: 0 auto; padding: var(--s7) 0 var(--s8); }
.art-rail { position: sticky; top: 90px; display: flex; flex-direction: column; gap: var(--s2); align-items: center; font-size: var(--fs-xs); color: var(--ink-2); height: max-content; }
.art-rail a, .art-rail button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: all .2s; }
.art-rail a:hover, .art-rail button:hover { background: var(--honey); border-color: var(--honey); }
.art-rail .icon { width: 18px; height: 18px; }
.prose { font-size: 1.125rem; line-height: 2; }
.prose p { margin-bottom: 1.4em; }
.prose h2 { font-size: var(--fs-lg); margin: 2.2em 0 .8em; padding-left: var(--s4); border-left: 5px solid var(--honey); line-height: 1.45; scroll-margin-top: 90px; }
.prose h2 small { display: block; font-family: "Lato", sans-serif; font-size: var(--fs-sm); font-weight: 700; color: var(--honey-ink); letter-spacing: .06em; margin-top: 2px; }
.prose .dropcap::first-letter { float: left; font-family: var(--font-display); font-size: 3.6em; line-height: .9; padding: 6px 12px 0 0; color: var(--fpa-red-deep); font-weight: 700; }
.prose blockquote { margin: 1.8em 0; padding: var(--s5) var(--s6); background: var(--honey-50); border-radius: var(--r-lg); position: relative; font-size: 1.1875rem; }
.prose blockquote::before { content: "「"; position: absolute; left: 14px; top: -26px; font-family: var(--font-display); font-size: 3.4rem; color: var(--honey); line-height: 1; }
.prose blockquote p:last-child { margin: 0; }
.prose .source { font-size: var(--fs-sm); color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: var(--s4); }
.art-aside { position: sticky; top: 90px; height: max-content; display: grid; gap: var(--s4); }
.author { background: #fff; border-radius: var(--r-lg); padding: var(--s4); box-shadow: var(--shadow-1); font-size: var(--fs-sm); }
.author__ava { width: 48px; height: 48px; border-radius: 50%; background: var(--fpa-pink-100); color: var(--fpa-red); display: grid; place-items: center; margin-bottom: var(--s2); }
.back-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); margin-top: var(--s6); flex-wrap: wrap; }

/* ---------- Kids + decorative motion ---------- */
.kid { pointer-events: none; user-select: none; }
.kid--bob { animation: bob 4s ease-in-out infinite; }
.kid--peek { animation: peek 6s ease-in-out infinite; transform-origin: bottom center; }
.kid--sway { animation: sway 5s ease-in-out infinite; transform-origin: bottom center; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.toast { position: fixed; left: 50%; bottom: var(--s6); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: var(--s3) var(--s5); border-radius: var(--r-pill); font-size: var(--fs-sm); opacity: 0; transition: all .3s var(--ease); z-index: 95; pointer-events: none; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

@keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.06); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes peek { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(10px); } 90% { transform: translateY(-4px); } }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes roof-bob { 50% { transform: translateY(-4px); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes grow { to { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .utils__group--size .utils__label, .social { display: none; }
  .nav__link { font-size: 1.0625rem; padding: 0 var(--s2); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .art-layout { grid-template-columns: 56px minmax(0, 1fr); }
  .art-aside { display: none; }
}
@media (max-width: 900px) {
  :root { --fs-xl: 1.75rem; --fs-2xl: 2.125rem; }
  .strip__links { display: none; }
  .header .container { min-height: 68px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__name { font-size: 1.375rem; }
  .brand__sub { display: none; }
  .utils { gap: var(--s2); }
  .utils__group--size, .util-sep { display: none; }
  .nav { position: sticky; }
  .nav .container { padding: 0; }
  .nav__mini-brand { display: flex; padding-left: var(--s4); }
  .nav__burger { display: grid; place-items: center; width: 58px; height: 52px; background: none; border: 0; color: #fff; margin-left: auto; }
  .nav__search button { width: 52px; height: 52px; }
  .nav__list { position: fixed; top: 52px; left: 0; right: 0; bottom: 0; flex-direction: column; background: #fff; padding: var(--s4); overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); z-index: 50; }
  .nav.is-open .nav__list { transform: none; }
  .nav__item { flex: none; border-bottom: 1px solid var(--line); }
  .nav__link { color: var(--ink); justify-content: space-between; height: 56px; font-size: var(--fs-md); padding: 0 var(--s2); }
  .nav__link:hover, .nav__link[aria-current="page"] { background: var(--fpa-pink); color: var(--fpa-red-deep); }
  .nav__link::after { display: none; }
  .nav__drop { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 var(--s3) var(--s3); display: none; }
  .nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop { transform: none; }
  .nav__item.is-expanded .nav__drop { display: block; }
  .hero { padding-top: var(--s3); }
  .hero .container { padding: 0 var(--s3); }
  .hero__frame { aspect-ratio: auto; border-radius: var(--r-lg); height: auto; }
  .slides { position: relative; }
  .slide { position: absolute; inset: 0; }
  .slide.is-active { position: relative; }
  .slide picture, .slide > img { position: relative; display: block; aspect-ratio: 4 / 3; }
  .slide--kv picture { aspect-ratio: 1000 / 1073; }
  .slide--photo img { object-position: 72% 50%; }
  .slide__scrim { display: none; }
  .slide__copy { position: relative; left: auto; top: auto; transform: none; max-width: none; padding: var(--s5) var(--s5) 72px; background: #fff; }
  .slide__text { font-size: var(--fs-base); }
  .hero__controls { padding: var(--s4); bottom: 0; }
  .quickbar { margin-top: var(--s4); }
  .quickbar__inner { grid-template-columns: 1fr; margin: 0; padding: var(--s5); gap: var(--s5); }
  .section { padding: var(--s8) 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .services { padding: var(--s7) var(--s5); border-radius: var(--r-lg); }
  .services__peek { width: 110px; top: -64px; right: 24px; }
  .feat, .media-grid, .findus, .news, .feature-hero, .hi-intro { grid-template-columns: 1fr; }
  .news__img { min-height: 220px; }
  .news__body { padding: var(--s6) var(--s5); }
  .news__kid { width: 110px; }
  .contact-cards { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .layout { grid-template-columns: 1fr; gap: var(--s5); padding-top: var(--s5); }
  .sidenav { position: static; }
  .sidenav.is-collapsed > ul { display: none; }
  .sidenav__toggle { display: flex !important; }
  .filters { grid-template-columns: 1fr 1fr; margin-top: calc(-1 * var(--s6)); }
  .filters .btn { grid-column: 1 / -1; }
  .feature-hero__img { min-height: 240px; }
  .feature-hero__body { padding: var(--s5); }
  .art-meta { grid-template-columns: 1fr 1fr; padding-left: var(--s5); padding-right: var(--s5); }
  .art-layout { grid-template-columns: 1fr; padding: var(--s6) var(--s5) var(--s7); }
  .art-rail { position: static; flex-direction: row; justify-content: center; order: 2; }
  .art-cover { border-radius: var(--r-lg); margin-left: var(--s4); margin-right: var(--s4); aspect-ratio: 16/10; }
  .page-band__art { width: 110px; right: var(--s3); }
  .related__grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card__kid { display: none; }
  .footer__kids { width: 110px; top: -86px; }
  .art-grid.is-list .art-card { flex-direction: column; }
  .art-grid.is-list .art-card .card__media { width: auto; }
}
@media (max-width: 600px) {
  :root { --fs-base: 1rem; --fs-lg: 1.375rem; }
  .container { padding: 0 var(--s4); }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .svc { padding: var(--s4); min-height: 170px; }
  .svc__ico { width: 52px; height: 52px; border-radius: 16px; }
  .svc__ico svg { width: 28px; height: 28px; }
  .svc__name { font-size: var(--fs-base); }
  .svc__badge { position: static; align-self: flex-start; }
  .quicklinks { gap: var(--s1); }
  .row-card { grid-template-columns: 110px 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s5); }
  .filters { grid-template-columns: 1fr; }
  .art-meta { grid-template-columns: 1fr; gap: var(--s3); }
  .packs { grid-template-columns: 1fr; }
  .qa__a-inner { padding-left: var(--s5); }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 10px 8px; font-size: var(--fs-sm); }
  .news__form { flex-direction: column; border-radius: var(--r-lg); }
  .news__form .btn { width: 100%; }
  .page-band h1 { font-size: 1.875rem; }
  .brand__name { letter-spacing: .1em; font-size: 1.25rem; }
  .promo { grid-template-columns: 84px 1fr; }
}

/* ---------- Mobile refinements ---------- */
.nav__utils { display: none; }
.map::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 50% 45%, var(--fpa-red) 0 9px, transparent 10px),
  repeating-linear-gradient(35deg, transparent 0 38px, rgba(255,255,255,.7) 38px 44px),
  repeating-linear-gradient(-55deg, transparent 0 60px, rgba(255,255,255,.55) 60px 64px), var(--fpa-pink-100); }
@media (max-width: 900px) {
  .header { display: none; }
  .nav__utils { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; padding: var(--s4) var(--s2); border-bottom: 0 !important; }
  .nav__utils .utils__label { width: 100%; }
  .nav__mini-brand span { font-size: 1.125rem; }
  .scroller-m { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s4); padding: 4px var(--s4) var(--s4); margin: 0 calc(-1 * var(--s4)); scrollbar-width: none; }
  .scroller-m::-webkit-scrollbar { display: none; }
  .scroller-m > * { scroll-snap-align: start; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tab { white-space: nowrap; flex: none; }
  .quicklink small { white-space: nowrap; font-size: 11px; }
  .feat__list { display: grid; grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--s4)); padding: 4px var(--s4) var(--s3); scrollbar-width: none; }
  .feat__list > * { scroll-snap-align: start; }
  .loc-list { max-height: 300px; }
  .hashbar { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--s4)); padding-bottom: 4px; scrollbar-width: none; }
  .hashbar .chip, .hashbar__label { flex: none; }
  .section-head .filter-row { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--s4)); margin-right: calc(-1 * var(--s4)); scrollbar-width: none; }
  .section-head .filter-row .chip { flex: none; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s4); }
  .footer__top > div:first-child { grid-column: 1 / -1; }
  .footer__top > div:last-child { grid-column: 1 / -1; }
  .tab { flex: none; }
}
.sidenav__toggle { display: none !important; width: 100%; justify-content: space-between; min-height: 44px; }
@media (max-width: 900px) {
  .sidenav { padding: var(--s3); }
  .sidenav.is-collapsed > ul, .sidenav.is-collapsed > h2 { display: none; }
  .sidenav h2 { display: none; }
}
@media (max-width: 900px) {
  .sidenav__toggle { display: flex !important; border: 0; background: var(--accent-tint); color: var(--accent); font-weight: 700; }
  .sidenav__toggle .icon:last-child { margin-left: auto; transition: transform .2s; }
  .sidenav__toggle[aria-expanded="true"] .icon:last-child { transform: rotate(180deg); }
  .sidenav:not(.is-collapsed) > ul { margin-top: var(--s2); }
}
@media (max-width: 600px) {
  .pack__dots { grid-template-columns: repeat(14, 1fr); gap: 3px; }
  .pack__dots i { border-width: 1.5px; }
  .page-band__art { width: 76px; top: 12px; bottom: auto !important; right: var(--s3); }
  .page-band h1 { padding-right: 70px; }
}

/* ---------- Round 2: labels never split mid-word; cleaner phone layouts ---------- */
/* CJK labels break only at punctuation or spaces (e.g. 早期懷孕評估／（12週前）), never inside a word */
h1, h2, h3, .card__title, .row-card__title, .svc__name, .slide__title, .quicklink, .chip, .btn, .tag, .nav__link, .loc strong, .hotline strong, .feature-hero__body h2, .page-band h1, .art-head h1 {
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict;
}
.strip .container { min-height: 34px; }
.strip__home img { height: 20px; }
.quickbar__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.searchbox input { min-width: 0; }
.quicklink { white-space: nowrap; }

@media (max-width: 900px) {
  .quickbar__inner { grid-template-columns: minmax(0, 1fr); }
  .quicklinks { border-top: 1px dashed var(--line); padding-top: var(--s4); }
  .quicklink { font-size: var(--fs-sm); }
  /* filter chips wrap instead of scrolling off-screen */
  .section-head .filter-row { flex-wrap: wrap; overflow: visible; width: auto; margin-right: 0; }
  .hashbar { flex-wrap: wrap; overflow: visible; margin-right: 0; }
  /* articles: stacked list instead of a sideways row */
  .feat__list { display: flex; flex-direction: column; overflow: visible; margin: 0; padding: 0; }
}
@media (max-width: 600px) {
  .quickbar__inner { padding: var(--s4); }
  .searchbox { padding-left: var(--s4); }
  .searchbox .btn { padding: 0 14px; }
  .quicklink { font-size: 13px; padding: var(--s2) 0; }
  .quicklink__ico { width: 42px; height: 42px; }
  .quicklink small { font-size: 11px; }
  /* health info: compact list cards, all visible, nothing cut off */
  #hi-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .hi-card { flex-direction: row; border-radius: var(--r-md); }
  .hi-card .card__media { width: 112px; flex: none; aspect-ratio: auto; }
  .hi-card .card__body { padding: var(--s3) var(--s4); gap: 4px; }
  .hi-card .card__title { font-size: var(--fs-base); }
  .hi-card .card__text { -webkit-line-clamp: 2; font-size: var(--fs-xs); line-height: 1.6; }
  .hi-card .card__more, .hi-card .tag { display: none; }
  .hi-card:hover { transform: none; }
  .section-head { margin-bottom: var(--s5); }
  .section-head h2 { font-size: 1.625rem; }
  .row-card { grid-template-columns: 104px 1fr; }
  .row-card__title { font-size: var(--fs-sm); }
  .feat__main .card__title { font-size: var(--fs-md); }
  .slide__copy { padding: var(--s5) var(--s4) 72px; }
  .slide__title { font-size: 1.5rem; }
  .services__foot { flex-direction: column; align-items: stretch; }
  .services__foot .btn { width: 100%; }
  .svc { min-height: 150px; }
  .svc__name { font-size: var(--fs-sm); }
}
@media (max-width: 360px) {
  .quicklinks { grid-template-columns: 1fr; gap: 0; }
  .quicklink { flex-direction: row; justify-content: flex-start; gap: var(--s3); text-align: left; }
  .quicklink small { margin-left: auto; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; flex-direction: row; align-items: center; }
  .svc__go { margin: 0 0 0 auto; font-size: 0; }
}
.svc, .card, .row-card__body, .quicklink { min-width: 0; }
.svc__badge { white-space: nowrap; } .vid__cap, .post__body, .card__text, .notice__body h2 { word-break: keep-all; overflow-wrap: anywhere; }
