/* ===== 基礎 ===== */
:root {
  --paper: #f8f5ef;
  --white: #fffdf9;
  --ink: #23201b;
  --ink-soft: #57524a;
  --muted: #8a8378;
  --line: #e3ddd1;
  --line-strong: #cfc6b5;
  --green: #2c5a45;
  --green-dark: #1d3d2f;
  --wood: #9a6b3f;
  --wood-soft: #f1e8db;
  --header-h: 60px;
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); overflow-x: clip; }
body {
  margin: 0; font-family: var(--sans); background: var(--paper); color: var(--ink);
  line-height: 1.8; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: .02em; }
h3 { font-weight: 700; font-size: 1.05rem; }
p { margin: 0 0 1em; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
main.container { padding-top: 32px; padding-bottom: 72px; min-height: 70vh; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ===== 頁首 ===== */
/* 底色放在 ::before：直接加 backdrop-filter 會讓手機版 fixed 選單被限制在 header 範圍內 */
.site-header { position: sticky; top: 0; z-index: 2147483000; border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(248, 245, 239, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; white-space: nowrap; }
.brand b { color: var(--wood); font-family: var(--sans); font-weight: 900; margin-right: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--wood); font-weight: 700; }
.menu-toggle { display: none; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; padding: 8px 0 8px 12px; font-size: .95rem; }
.menu-toggle::after { content: "選單"; }
.menu-open .menu-toggle::after { content: "關閉"; }
.menu-toggle span { display: none; }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 10;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 32px; background: var(--paper); overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .15s, visibility 0s .15s;
  }
  .menu-open .nav-links { visibility: visible; opacity: 1; transition: opacity .15s; }
  .nav-links a { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.active { border-bottom-color: var(--line); color: var(--wood); }
}

/* ===== 頁尾 ===== */
.site-footer { border-top: 1px solid var(--line-strong); background: var(--white); color: var(--ink-soft); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 48px 24px 32px; }
.footer-brand { font-family: var(--serif); font-weight: 900; font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.site-footer h4 { margin: 0 0 10px; font-size: .9rem; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 24px 24px; font-size: .8rem; color: var(--muted); text-align: center; }
.footer-policy { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: center; margin-bottom: 6px; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 36px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ===== 標題列 ===== */
.page-head { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line-strong); }
.page-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.5rem); }
.page-head .lead { margin: 8px 0 0; color: var(--ink-soft); max-width: 680px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 56px 0 20px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.section-head h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
.section-head a { font-size: .92rem; text-decoration: none; white-space: nowrap; }
.section-head a:hover { text-decoration: underline; }
section > h2 { margin-top: 40px; }

/* ===== 首頁 ===== */
.hero {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -32px;
  height: min(62vh, 520px); min-height: 360px; background: var(--green-dark) center / cover no-repeat; color: #fff;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55)); }
.hero-inner { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: 1120px; margin: 0 auto; padding: 0 24px 36px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900; letter-spacing: .06em; }
.hero p { margin: 6px 0 0; font-size: 1.02rem; opacity: .92; }
.hero-credit { position: absolute; z-index: 1; right: 10px; bottom: 6px; font-size: .68rem; color: rgba(255,255,255,.65); }
.hero-credit a { color: inherit; }

.search-bar { display: flex; gap: 0; margin: 28px 0 0; border: 1px solid var(--ink); background: var(--white); }
.search-bar input { flex: 1; min-width: 0; border: 0; padding: 12px 16px; font: inherit; background: transparent; outline: none; }
.search-bar button { border: 0; border-left: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; padding: 0 22px; cursor: pointer; }
.search-bar button:hover { background: var(--green-dark); }
.quick-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: .92rem; color: var(--muted); }
.quick-links a { color: var(--ink-soft); }

.feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.feature-main { color: inherit; text-decoration: none; display: block; }
.feature-main .thumb { aspect-ratio: 4 / 3; }
.feature-main h3 { font-family: var(--serif); font-size: 1.5rem; margin: 14px 0 6px; }
.feature-main:hover h3 { color: var(--green); }

.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.place { color: inherit; text-decoration: none; display: block; }
.place .thumb { aspect-ratio: 3 / 2; }
.place h3 { margin: 10px 0 2px; font-family: var(--serif); font-size: 1.15rem; }
.place:hover h3 { color: var(--green); }
.place p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.place .where { font-size: .82rem; color: var(--muted); }

.topic-links { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.topic-links a { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); }
.topic-links a:hover { background: var(--wood-soft); }
.topic-links strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.topic-links span { font-size: .85rem; color: var(--muted); }

/* ===== 圖片 ===== */
.thumb { position: relative; overflow: hidden; background: var(--wood-soft); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; color: var(--wood); letter-spacing: .3em; font-size: 1.05rem;
  background: repeating-linear-gradient(135deg, var(--wood-soft) 0 12px, #ebe0cf 12px 13px); }
.credit { margin: 4px 0 0; font-size: .7rem; color: var(--muted); line-height: 1.5; }
.credit a { color: var(--muted); }

/* ===== 活動列表 ===== */
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 76px 1fr 168px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.event-row:hover h3 { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.datebox { text-align: center; border-right: 1px solid var(--line); padding-right: 16px; line-height: 1.2; }
.datebox small { display: block; font-size: .72rem; color: var(--wood); min-height: 1em; }
.datebox .md { display: block; font-family: var(--serif); font-weight: 900; font-size: 1.55rem; color: var(--ink); }
.datebox .wd { font-size: .8rem; color: var(--muted); }
.event-row h3 { font-size: 1.08rem; margin-bottom: 4px; }
.event-row .info { min-width: 0; }
.event-row .meta { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.event-row .cat { color: var(--wood); font-weight: 700; margin-right: 8px; }
.event-row .thumb { aspect-ratio: 3 / 2; }
.event-list.compact .event-row { grid-template-columns: 64px 1fr; padding: 14px 0; }
.event-list.compact .event-row .thumb { display: none; }
.event-list.compact .datebox .md { font-size: 1.3rem; }

/* 分類分頁（文字底線） */
.tabs { display: flex; gap: 22px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 8px 0 10px; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); font-weight: 700; border-bottom-color: var(--wood); }
.tabs-label { flex: none; color: var(--muted); font-size: .85rem; padding: 9px 0 10px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.filters select, .filters input { padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 2px; font: inherit; font-size: .95rem; background: var(--white); color: var(--ink); }
.filters input { flex: 1; min-width: 180px; }
.result-count { margin: 0 0 4px; color: var(--muted); font-size: .88rem; }

/* ===== 卡片（景點、美食、交通） ===== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.card { display: block; color: inherit; text-decoration: none; }
.card .thumb { aspect-ratio: 3 / 2; margin-bottom: 4px; }
.card h3 { font-family: var(--serif); font-size: 1.2rem; margin: 12px 0 4px; }
.card p { font-size: .95rem; color: var(--ink-soft); }
.card .where { font-size: .85rem; color: var(--muted); margin: 0 0 8px; }
.card .summary { color: var(--ink); font-weight: 500; }
.tip { border-left: 3px solid var(--wood); padding: 2px 0 2px 12px; font-size: .9rem; color: var(--ink-soft); }
.label { display: inline-block; font-size: .78rem; color: var(--wood); font-weight: 700; letter-spacing: .05em; }
.group-title { font-size: 1.35rem; }

/* ===== 按鈕 ===== */
.btn { display: inline-block; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 2px; padding: 9px 22px; font: inherit; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--wood-soft); color: var(--ink); border-color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; }

/* ===== 活動內頁 ===== */
.detail { max-width: 760px; margin: 0 auto; }
.back-link { display: block; width: fit-content; font-size: .92rem; text-decoration: none; margin-bottom: 20px; }
.back-link:hover { text-decoration: underline; }
.detail h1 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); margin: 6px 0 18px; }
.detail .thumb { aspect-ratio: auto; background: none; margin: 0 0 24px; }
.detail .thumb img { position: static; width: 100%; height: auto; max-height: 560px; object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.detail .thumb .thumb-fallback { display: none; }
.facts { margin: 0 0 24px; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; }
.description { white-space: pre-line; }
.source-note { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ===== 文章、認識嘉義 ===== */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 12px; }
.prose li { margin-bottom: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .92rem; margin: -8px 0 8px; }
.toc a { color: var(--ink-soft); }
.facts-table { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.facts-table h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 8px; }
.facts-table .facts { margin-bottom: 12px; }
.facts-table p { color: var(--ink-soft); font-size: .95rem; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.climate dt { font-weight: 700; margin-top: 12px; }
.climate dt:first-child { margin-top: 0; }
.climate dd { margin: 2px 0 0; color: var(--ink-soft); font-size: .95rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--serif); font-weight: 900; color: var(--wood); font-size: 1.05rem; }
.timeline strong { display: block; }
.timeline p { margin: 2px 0 0; color: var(--ink-soft); font-size: .95rem; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cols-3 h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 6px; }
.cols-3 p { color: var(--ink-soft); font-size: .95rem; }
.cols-3 .more { font-size: .9rem; }
.calendar { width: 100%; border-collapse: collapse; background: transparent; }
.calendar th, .calendar td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: normal; }
.calendar th { width: 7.5em; font-family: var(--serif); color: var(--wood); background: transparent; font-size: 1rem; }
.route h3 { font-family: var(--serif); font-size: 1.15rem; }
.route .label { margin-bottom: 4px; }
.route ol { margin: 8px 0 0; padding-left: 1.3em; color: var(--ink-soft); }
.route li { margin-bottom: 2px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--wood); flex: none; }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 8px 0 0; color: var(--ink-soft); }
.towns { margin-top: 20px; font-size: .95rem; color: var(--ink-soft); }
.towns summary { cursor: pointer; color: var(--green); }

/* ===== 政策頁 ===== */
.policy { max-width: 760px; }
.policy .updated { color: var(--muted); font-size: .9rem; margin: -12px 0 24px; }

/* ===== 錯誤頁 ===== */
.error-page { max-width: 560px; margin: 24px auto; text-align: center; }
.error-code { font-family: var(--serif); font-size: 5rem; font-weight: 900; color: var(--wood); line-height: 1; margin-bottom: 8px; }
.error-page h1 { font-size: 1.6rem; margin-bottom: 10px; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
.error-links { font-size: .92rem; color: var(--muted); }
.error-links a { margin: 0 6px; }

/* ===== 後台 ===== */
.form { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; flex: 1; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 2px; background: var(--white); }
.form .row { display: flex; gap: 12px; flex-wrap: wrap; }
.panel { background: var(--white); border: 1px solid var(--line); padding: 20px; margin-bottom: 24px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: var(--wood-soft); font-size: .9rem; }
td.wrap { white-space: normal; min-width: 180px; }
.actions { display: flex; gap: 12px; align-items: center; }
.actions form { margin: 0; }
.link-danger { background: none; border: 0; color: #a33; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.link-btn { background: none; border: 0; color: var(--green); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.link-btn:disabled { color: var(--muted); cursor: default; }
.status { font-size: .85rem; padding: 1px 8px; background: #eee; }
.status-ok, .status-success { background: #e2ece5; color: var(--green-dark); }
.status-error { background: #f6e0dd; color: #8a2b2b; }
.status-warning, .status-interrupted { background: #f6ecd6; color: #7a5a12; }
.status-paused, .status-running { background: #e6e8ee; color: #3b4a6b; }
.flash { padding: 12px 16px; margin-bottom: 16px; border-left: 3px solid var(--green); background: var(--white); }
.flash-error { border-left-color: #a33; }

/* 從 header 移出的自動廣告 */
.site-header + .google-auto-placed { max-width: 1120px; margin: 16px auto 0 !important; padding: 0 24px; }

/* ===== 響應式 ===== */
@media (max-width: 900px) {
  .grid, .places, .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .feature, .two-col, .facts-table { grid-template-columns: 1fr; gap: 28px; }
  .topic-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  :root { --header-h: 56px; }
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  main.container { padding-top: 24px; }
  .hero { margin-top: -24px; height: 54vh; min-height: 340px; }
  .hero-inner { padding: 0 18px 28px; }
  .grid, .places, .cols-3 { grid-template-columns: 1fr; gap: 32px; }
  .event-row { grid-template-columns: 58px 1fr 92px; gap: 14px; padding: 14px 0; }
  .datebox { padding-right: 10px; }
  .datebox .md { font-size: 1.25rem; }
  .event-row h3 { font-size: 1rem; }
  .event-row .meta.place { display: none; }
  .section-head { margin-top: 44px; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 12px; }
  .calendar th { width: 5.5em; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filters input { grid-column: 1 / -1; min-width: 0; }
  .filters .btn { grid-column: 1 / -1; }
  .filters select { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* 景點、美食、交通改為純文字卡片：上方細線取代照片 */
.grid .card, .places .place { border-top: 1px solid var(--ink); padding-top: 14px; }
.grid .card h3, .places .place h3 { margin-top: 0; }
/* 區塊標題下方已有一條線，第一排卡片不再重複畫線 */
.section-head + .grid > .card:nth-child(-n+3), .section-head + .places > .place:nth-child(-n+3) { border-top: 0; padding-top: 0; }
@media (max-width: 900px) {
  .section-head + .grid > .card:nth-child(3), .section-head + .places > .place:nth-child(3) { border-top: 1px solid var(--ink); padding-top: 14px; }
}
@media (max-width: 600px) {
  .section-head + .grid > .card:nth-child(2), .section-head + .places > .place:nth-child(2) { border-top: 1px solid var(--ink); padding-top: 14px; }
}
.grid { gap: 36px 32px; }
.places { gap: 28px 32px; }

/* 桃音首頁與人物介紹 */
.nav-links { gap: 22px; }
.momone-home-hero { position: relative; isolation: isolate; width: 100%; height: 500px; background: #fbf8f1; overflow: hidden; border-bottom: 1px solid var(--line); }
.momone-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -1; }
.momone-hero-copy { max-width: 46%; padding: 92px 0 60px 40px; }
.momone-hero-copy h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--green-dark); }
.momone-hero-copy > p { margin: 16px 0; color: var(--ink-soft); }
.momone-hero-copy .momone-hello { font-size: .95rem; max-width: 20em; }
.momone-text-link { display: inline-block; font-weight: 700; padding: 8px 0; }
.momone-profile-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.momone-portrait { display: block; background: #fff; text-align: center; }
.momone-portrait img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; }
.momone-role { color: var(--wood); font-size: .9rem; margin-bottom: 12px; }
.momone-profile-copy h1 { color: var(--green-dark); font-size: clamp(2rem, 4vw, 3rem); }
.momone-intro-line { font-family: var(--serif); font-size: 1.2rem; margin: 16px 0 24px; }
.momone-name-notes { margin: 24px 0; border-top: 1px solid var(--line); }
.momone-name-notes > div { display: grid; grid-template-columns: 2em 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.momone-name-notes dt { font-family: var(--serif); color: var(--green); font-size: 1.2rem; }
.momone-name-notes dd { margin: 0; color: var(--ink-soft); }
.momone-favorites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.momone-favorites h3 { margin-bottom: 10px; }
.momone-favorites p { color: var(--ink-soft); }
@media (max-width: 1000px) and (min-width: 761px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .9rem; }
  .brand { font-size: 1.08rem; }
}
@media (max-width: 760px) {
  .nav-links { gap: 0; }
  .momone-home-hero { height: auto; display: flex; flex-direction: column; }
  .momone-hero-art { position: relative; z-index: 0; width: 100%; height: 300px; object-fit: cover; object-position: right center; }
  .momone-hero-copy { max-width: none; padding: 24px 22px 28px; }
  .momone-hero-copy h1 { font-size: 2rem; }
  .momone-hero-copy > p { margin: 12px 0; }
  .momone-hero-copy .momone-hello { max-width: none; }
  .momone-profile-intro { grid-template-columns: 1fr; gap: 28px; }
  .momone-portrait img { max-height: 560px; }
  .momone-favorites { grid-template-columns: 1fr; gap: 24px; }
  .momone-favorites > div + div { border-top: 1px solid var(--line); padding-top: 24px; }
}
