/* 各頁面原本的內嵌樣式（原樣搬入，來源：index/experiences/experience-detail/photo-tour/news/news-detail 的 <style>） */

/* ===== index.html ===== */
  /* Categories (flourish: numbered index) */
  .cat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
  /* 每張卡的欄寬由程式依張數計算（--d 桌機、--t 平板），最後一排不會留空洞 */
  .cat-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; min-height: 220px; grid-column: span var(--d, 4); display: flex; align-items: flex-end; isolation: isolate; }
  .cat-tile.big { min-height: 300px; }
  .cat-tile.mid { min-height: 240px; }
  .cat-tile.small { min-height: 200px; }
  .cat-tile.small h3 { font-size: 21px; }
  .cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
  .cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, oklch(15% 0.02 230 / .78), oklch(15% 0.02 230 / .05) 65%); transition: background .3s; }
  .cat-tile:hover img { transform: scale(1.05); }
  .cat-tile:hover::before { background: linear-gradient(0deg, oklch(15% 0.02 230 / .86), oklch(15% 0.02 230 / .2) 70%); }
  .cat-body { padding: 20px 22px; width: 100%; }
  .cat-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: oklch(90% 0.02 200); }
  .cat-tile h3 { font-size: clamp(21px, 2.2vw, 24px); font-weight: 800; margin: 4px 0 6px; }
  .cat-tile.big h3 { font-size: clamp(24px, 2.6vw, 30px); }
  /* 想包團或預約 */
  .ask-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 20px; padding: 18px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
  .ask-strip b { display: block; font-size: 18px; }
  .ask-strip span { color: var(--muted); font-size: 14px; }
  .cat-subs { font-size: 13px; color: oklch(90% 0.008 240); }

  /* Corporate band */
  .corp { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
  .corp img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
  .corp-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
  .corp-body h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; }
  .corp-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
  .corp-list li { display: grid; grid-template-columns: 28px 1fr; gap: 6px; }
  .corp-list b { display: block; }
  .corp-list span { color: var(--muted); font-size: 14px; }
  .corp-list .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 4px; }

  /* About + IG */
  .about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
  .about h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.3; }
  .about p { color: var(--muted); margin-top: 16px; }
  /* Photo band */
  .pband { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
  /* 三張照片用絕對定位排好（不靠百分比高度），照片比例不同也不會把版面撐開、蓋住文字 */
  .pband-media { position: relative; min-height: 380px; }
  .pband-media img { position: absolute; display: block; object-fit: cover; max-width: none; }
  .pband-media figure:nth-child(1) img { left: 0; top: 0; width: calc(66.667% - 3px); height: 100%; }
  .pband-media figure:nth-child(2) img { right: 0; top: 0; width: calc(33.333% - 3px); height: calc(50% - 3px); }
  .pband-media figure:nth-child(3) img { right: 0; bottom: 0; width: calc(33.333% - 3px); height: calc(50% - 3px); }
  .pband-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
  .pband-body h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; }
  .pband-body p { color: var(--muted); }
  .pband-contest { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--field); border: 1px solid var(--border); }
  .pband-contest .cd { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; }
  .pband-contest .cd small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; }
  .pband-contest span { font-size: 14px; }
  .pband-contest b { display: block; }

  /* Hero：單張主視覺 */
  .hero { position: relative; height: min(70vh, 600px); min-height: 480px; overflow: hidden; background: var(--ink); color: #fff; display: flex; align-items: flex-end; }
  .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(15% 0.02 230 / .62) 0%, oklch(15% 0.02 230 / .18) 55%, transparent 80%), linear-gradient(0deg, oklch(15% 0.02 230 / .45), transparent 40%); }
  .hero-copy { position: relative; z-index: 2; width: 100%; padding-bottom: 72px; }
  .hero-copy h1, .hero-copy p, .hero-copy .kicker { text-shadow: 0 1px 14px oklch(15% 0.02 230 / .55); }
  /* 文字放在右半邊：照片的主角在左邊時用，文字不蓋住人 */
  .hero.side-right::after { background: linear-gradient(270deg, oklch(15% 0.02 230 / .68) 0%, oklch(15% 0.02 230 / .3) 55%, transparent 85%), linear-gradient(0deg, oklch(15% 0.02 230 / .45), transparent 40%); }
  .hero.side-right .hero-in { margin-left: auto; width: min(620px, 50%); }
  .hero.side-right .hero-copy h1 { font-size: clamp(32px, 3.8vw, 54px); }
  .hero-copy .kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: oklch(92% 0.02 200); }
  .hero-copy h1 { font-size: clamp(34px, 5vw, 62px); font-weight: 800; letter-spacing: .04em; margin: 12px 0 14px; max-width: 13em; text-wrap: balance; }
  .hero-copy p { font-size: 18px; max-width: 30em; text-wrap: pretty; color: oklch(94% 0.006 240); margin-bottom: 26px; }

  /* 專案＋關於覓境 */
  .duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
  .corp { grid-template-columns: 1fr; }
  .corp img { min-height: 0; height: 240px; }
  .corp-body { padding: 32px 36px 36px; }
  .about-card { background: var(--ink); color: var(--on-ink); border-radius: var(--r-lg); padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
  .about-card .eyebrow { color: var(--on-ink-muted); }
  .about-card h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; line-height: 1.35; text-wrap: balance; }
  .about-card p { color: var(--on-ink-muted); margin-top: 16px; }
  .about-card .hint { color: var(--on-ink-muted); }
  @media (max-width: 1080px) {
    .pband { grid-template-columns: 1fr; }
    .pband-media { min-height: 320px; }
    .cat-tile, .cat-tile.big, .cat-tile.mid, .cat-tile.small { grid-column: span var(--t, 6); min-height: 220px; }
    .cat-tile.wide { min-height: 280px; }
    .duo { grid-template-columns: 1fr; }
  }
  @media (max-width: 640px) {
    .hero { min-height: 460px; }
    .hero-copy { padding-bottom: 48px; }
    .hero-copy p { font-size: 16px; }
    .hero.side-right .hero-in { width: auto; margin-left: 0; }
    .hero.side-right::after { background: linear-gradient(0deg, oklch(15% 0.02 230 / .8), oklch(15% 0.02 230 / .25) 62%, transparent); }
    .hero.side-right .hero-copy h1 { font-size: clamp(30px, 8vw, 40px); }
    .cat-tile, .cat-tile.big, .cat-tile.mid, .cat-tile.small, .cat-tile.wide { grid-column: span 12; min-height: 200px; }
    .cat-tile:first-child { min-height: 260px; }
    .ask-strip { padding: 18px 20px; }
    .ask-strip .btn { width: 100%; }
    .corp-body, .pband-body { padding: 28px 22px; }
    .about-card { padding: 30px 22px; }
    .pband-media { min-height: 280px; }
  }

/* ===== experiences.html ===== */
  .list-head { padding: 12px 0 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
  .list-head h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
  .list-head p { color: var(--muted); margin-top: 6px; max-width: 36em; }
  .layout { display: grid; grid-template-columns: 272px 1fr; gap: 40px; align-items: start; padding-bottom: 96px; }

  .filters { position: sticky; top: calc(var(--header-h) + 52px); max-height: calc(100vh - var(--header-h) - 72px); overflow-y: auto; padding-right: 6px; }
  .f-block { padding: 18px 0; border-bottom: 1px solid var(--border); }
  .f-block:first-child { padding-top: 0; }
  .f-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
  .tree { list-style: none; margin: 0; padding: 0; }
  .tree-cat > button { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 10px; border: 0; background: none; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; cursor: pointer; text-align: left; }
  .tree-cat > button:hover { background: oklch(95% 0.006 240); }
  .tree-cat > button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
  .tree-cat .count { font-family: var(--font-mono); font-size: 12px; opacity: .7; }
  .tree-groups { list-style: none; margin: 2px 0 8px; padding: 0 0 0 12px; display: none; }
  .tree-cat.open .tree-groups { display: block; }
  .tree-groups button { width: 100%; text-align: left; min-height: 36px; padding: 0 10px; border: 0; background: none; border-radius: 8px; font-size: 14px; cursor: pointer; color: var(--fg); display: flex; justify-content: space-between; }
  .tree-groups button:hover { background: oklch(95% 0.006 240); }
  .tree-groups button[aria-pressed="true"] { font-weight: 700; background: var(--accent-soft); color: var(--accent-press); }
  .tree-leaf { padding-left: 12px; font-size: 13px; color: var(--muted); }
  .check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; cursor: pointer; }
  .check input { width: 18px; height: 18px; accent-color: var(--accent-strong); }

  .toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; }
  .toolbar .search-box { position: relative; flex: 1; min-width: 220px; max-width: 380px; }
  .toolbar .search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
  .toolbar .search-box .input { padding-left: 42px; border-radius: 999px; }
  .toolbar .select { width: auto; border-radius: 999px; padding-right: 32px; }
  .result-count { font-size: 14px; color: var(--muted); }
  .result-count b { color: var(--fg); }
  .active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
  .af { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 8px 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; cursor: pointer; }
  .af:hover { border-color: oklch(78% 0.01 240); }
  .af svg { width: 16px; height: 16px; }
  .filter-btn { display: none; }
  .filters-scrim { display: none; }
  .layout > * { min-width: 0; }
  .no-result { padding: 56px 24px; text-align: center; border: 1px dashed var(--border); border-radius: var(--r-lg); color: var(--muted); }
  .no-result h3 { color: var(--fg); font-size: 20px; margin-bottom: 8px; }
  .no-result .btn { margin-top: 16px; }

  @media (max-width: 1080px) {
    .layout { grid-template-columns: 1fr; }
    .filters { position: fixed; inset: 0 auto 0 0; z-index: 120; width: min(340px, 88vw); max-height: none; background: var(--surface); padding: 20px; transform: translateX(-102%); transition: transform .25s; box-shadow: var(--shadow-2); top: 0; }
    .filters.open { transform: none; }
    .filters-scrim { position: fixed; inset: 0; z-index: 110; background: oklch(20% 0.02 240 / .45); display: none; }
    .filters-scrim.open { display: block; }
    .filter-btn { display: inline-flex; }
    .filters .close-row { display: flex !important; }
  }
  /* 手機版快速列 */
  .quick-bar { display: none; }
  @media (max-width: 640px) {
    body.post-type-archive-mj_experience, body.tax-mj_category { padding-bottom: 76px; }
    .quick-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 8px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: oklch(100% 0 0 / .97); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px oklch(20% 0.02 240 / .10); transform: translateY(115%); transition: transform .22s; }
    .quick-bar.show { transform: none; }
    .qb-search { position: relative; flex: 1; min-width: 0; }
    .qb-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
    .qb-search .input { padding-left: 42px; border-radius: 999px; min-height: 46px; width: 100%; }
    .qb-filter { position: relative; flex: 1; height: 46px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; cursor: pointer; }
    #qb-line { flex: 1; } #qb-line .btn { width: 100%; justify-content: center; }
    .qb-filter:hover { background: var(--field); }
    .qb-filter:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
    .qb-dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
    #qb-line .btn { min-height: 46px; padding: 0 16px; white-space: nowrap; }
  }

/* ===== experience-detail.html ===== */
  .d-head { padding: 16px 0 24px; }
  .d-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
  .d-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: .02em; }
  .d-head .lead { color: var(--muted); font-size: 18px; margin-top: 10px; max-width: 40em; }

  .gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 460px; border-radius: var(--r-lg); overflow: hidden; }
  .gallery figure { margin: 0; position: relative; overflow: hidden; background: oklch(92% 0.006 240); }
  .gallery figure:first-child { grid-row: span 2; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; }
  .gallery.photos-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .gallery.photos-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .gallery.photos-1 figure:first-child, .gallery.photos-2 figure:first-child { grid-row: auto; }
  .gallery figcaption { position: absolute; right: 12px; bottom: 12px; background: oklch(100% 0 0 / .92); box-shadow: var(--shadow-1); font-size: 12px; padding: 4px 10px; border-radius: 999px; }

  .d-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; padding: 40px 0 88px; }
  .d-layout > * { min-width: 0; }
  .facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); margin-bottom: 36px; }
  .fact { padding: 16px 20px; border-right: 1px solid var(--border); }
  .fact:last-child { border-right: 0; }
  .fact dt { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
  .fact dd { margin: 4px 0 0; font-weight: 700; }

  .d-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 28px; overflow-x: auto; }
  .d-tab { min-height: 48px; padding: 0 16px; border: 0; background: none; font-weight: 600; font-size: 15px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; color: var(--muted); }
  .d-tab:hover { color: var(--fg); background: oklch(96% 0.004 240); }
  .d-tab[aria-selected="true"] { color: var(--fg); border-color: var(--fg); }
  /* 手機版：四個分頁排成 2×2，不用左右滑 */
  @media (max-width: 640px) {
    .d-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-bottom: 0; overflow: visible; margin-bottom: 22px; }
    .d-tab { min-height: 46px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--r); margin: 0; white-space: normal; background: var(--surface); }
    .d-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
    .d-tab:hover { background: var(--field); }
    .d-tab[aria-selected="true"]:hover { background: var(--ink); color: var(--on-ink); }
  }
  .d-panel h2 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
  .d-panel p { margin-bottom: 14px; }
  .placeholder-note { font-size: 13px; color: var(--warn); background: var(--warn-soft); border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 20px; }
  .timeline { list-style: none; margin: 0; padding: 0; }
  .timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .timeline time { font-family: var(--font-mono); font-size: 14px; color: var(--muted); padding-top: 2px; }
  .timeline b { display: block; }
  .timeline span { color: var(--muted); font-size: 14px; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .two-col h3 { font-size: 16px; margin-bottom: 8px; }
  .two-col ul { margin: 0; padding-left: 20px; color: var(--fg); }
  .two-col li { margin-bottom: 6px; }

  .book { position: sticky; top: calc(var(--header-h) + 56px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1); padding: 24px; }
  .book h2 { font-size: 20px; font-weight: 800; }
  .book-sub { font-size: 14px; color: var(--muted); margin: 4px 0 16px; }
  .book .date-list li { padding-left: 14px; }
  .book .date-list li.is-picked { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
  .book-cta { margin-top: 16px; }
  .book-cta .btn { width: 100%; }
  .book-how { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
  .book-how b { color: var(--fg); }

  .m-bar { display: none; }
  .related { padding: 64px 0 96px; border-top: 1px solid var(--border); }

  @media (max-width: 1080px) {
    .d-layout { grid-template-columns: 1fr; }
    .book { position: static; }
    .facts { grid-template-columns: 1fr 1fr; }
    .fact:nth-child(2) { border-right: 0; }
    .fact:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  }
  @media (max-width: 640px) {
    .gallery, .gallery.photos-1, .gallery.photos-2 { grid-template-columns: 1fr; grid-template-rows: 260px; height: auto; }
    .gallery figure:not(:first-child) { display: none; }
    .gallery figure:first-child { grid-row: auto; }
    .two-col { grid-template-columns: 1fr; }
    .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--border); padding: 10px 16px; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 -6px 20px oklch(20% 0.02 240 / .08); }
    .m-bar b { font-size: 15px; }
    .mb-info { flex: 1; min-width: 0; }
    .mb-filter { flex: none; height: 46px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--fg); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
    .mb-filter:hover { background: var(--field); }
    .mb-filter:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
    .m-bar small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
    body { padding-bottom: 72px; }
  }

/* ===== photo-tour.html ===== */
  /* Hero：人物在照片右側，文字放左側天空，不壓到臉 */
  .p-hero { position: relative; height: min(76vh, 640px); min-height: 500px; overflow: hidden; color: #fff; background: var(--ink); }
  .p-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
  .p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(18% 0.03 230 / .7), oklch(18% 0.03 230 / .25) 50%, transparent 72%); }
  .p-hero .wrap { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }
  .p-hero .kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; color: oklch(92% 0.02 200); }
  .p-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: .04em; margin: 14px 0 16px; }
  .p-hero p { font-size: 18px; max-width: 26em; color: oklch(94% 0.006 240); margin-bottom: 28px; }
  .p-hero .acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
  .p-hero .acts .link-arrow { color: #fff; border-color: oklch(100% 0 0 / .5); }
  .p-hero .acts .link-arrow:hover { border-color: #fff; }

  /* 三步驟 */
  .steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--fg); }
  .step3 { padding: 24px 28px 0 0; }
  .step3 + .step3 { padding-left: 28px; border-left: 1px solid var(--border); }
  .step3 .n { font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: .14em; }
  .step3 h3 { font-size: 22px; font-weight: 800; margin: 10px 0 8px; }
  .step3 p { color: var(--muted); }


  /* 兩種課程 */
  .courses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .course { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
  .course img { display: block; width: 100%; height: 240px; object-fit: cover; }
  .course-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; }
  .course-body .n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--muted); }
  .course-body h3 { font-size: 24px; font-weight: 800; }
  .course-body ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
  .course-body .link-arrow { align-self: flex-start; margin-top: 6px; }

  /* 課程行程 */
  .filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
  .filter-row .select { width: auto; min-width: 150px; min-height: 44px; border-radius: 999px; }
  .ptrips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .ptrip { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
  .ptrip-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; }
  .ptrip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
  .ptrip-media:hover img { transform: scale(1.04); }
  .ptrip-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .ptrip-body h3 { font-size: 19px; font-weight: 700; }
  .ptrip-body h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .ptrip-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
  .ptrip .date-list { margin-top: auto; }
  .ptrip .date-list li { min-height: 56px; }
  .ptrip .more { font-size: 13px; color: var(--muted); text-align: right; }
  .ptrip .more a { font-weight: 600; color: var(--fg); border-bottom: 1px solid var(--border); }
  .ptrip .more a:hover { border-color: var(--fg); }
  .ptrip .signup { margin-top: 4px; }
  .ptrip .signup .btn { width: 100%; }
  .course-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--accent-press); }

  /* 教學：旅拍用調整前後對照，Vlog 用示範影片 */
  .learn-tabs { display: inline-flex; padding: 4px; background: oklch(94% 0.006 240); border-radius: 999px; margin-bottom: 20px; }
  .learn-tab { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: none; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--fg); }
  .learn-tab:hover { background: oklch(90% 0.006 240); }
  .learn-tab[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-1); }
  .learn { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
  .lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .lesson { width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; gap: 4px; }
  .lesson:hover { border-color: oklch(78% 0.01 240); }
  .lesson[aria-selected="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
  .lesson b { font-size: 17px; }
  .lesson span { font-size: 14px; color: var(--muted); }
  .lesson[aria-selected="true"] span { color: var(--on-ink-muted); }
  .ba { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); user-select: none; }
  .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .ba .before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); }
  .ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
  .ba .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 18px; box-shadow: var(--shadow-2); }
  .ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
  .ba .tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: oklch(100% 0 0 / .92); color: var(--fg); box-shadow: var(--shadow-1); pointer-events: none; }
  .ba .tag.l { left: 14px; } .ba .tag.r { right: 14px; }
  .ba:has(input:focus-visible) { outline: 3px solid oklch(62% 0.13 170 / .55); outline-offset: 3px; }
  .ba .play { display: none; position: absolute; inset: 0; place-items: center; text-align: center; color: #fff; background: oklch(15% 0.02 230 / .45); pointer-events: none; }
  .ba .play i { width: 72px; height: 72px; border-radius: 50%; background: oklch(100% 0 0 / .92); display: grid; place-items: center; margin: 0 auto 12px; box-shadow: var(--shadow-2); }
  .ba .play i svg { width: 28px; height: 28px; color: var(--ink); margin-left: 4px; }
  .ba .play span { font-size: 14px; font-weight: 600; background: oklch(15% 0.02 230 / .55); padding: 4px 12px; border-radius: 999px; }
  .ba.is-video .play { display: grid; }
  .ba.is-video .before, .ba.is-video .handle, .ba.is-video input, .ba.is-video .tag { display: none; }
  .ba-cap { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
  .ba-cap p { max-width: 36em; }
  .ba-cap .hint { white-space: nowrap; }

  /* 講師 */
  .mentor { display: grid; grid-template-columns: 1fr 1.3fr; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
  .mentor img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
  .mentor-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
  .mentor-body h3 { font-size: 26px; font-weight: 800; }
  .mentor-body ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }
  .todo-note { font-size: 13px; color: var(--warn); background: var(--warn-soft); border-radius: var(--r-sm); padding: 8px 12px; align-self: flex-start; }

  /* 比賽（深色區塊，比賽在 FB 粉專進行） */
  .contest { background: var(--ink); color: var(--on-ink); }
  .contest .eyebrow, .contest .section-sub { color: var(--on-ink-muted); }
  .contest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .countdown { display: flex; gap: 12px; margin: 24px 0 18px; }
  .countdown div { background: var(--ink-2); border-radius: var(--r); padding: 14px 18px; min-width: 92px; }
  .countdown b { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1.1; }
  .countdown span { font-size: 13px; color: var(--on-ink-muted); }
  .ct-vote { margin: 0 0 22px; font-size: 14px; color: var(--on-ink-muted); }
  .ct-vote b { color: var(--on-ink); }
  .prizes-fb { align-self: center; display: grid; gap: 8px; padding: 26px 28px; border: 1px solid oklch(100% 0 0 / .22); border-radius: var(--r-lg); }
  .prizes-fb b { color: var(--on-ink); font-size: 20px; }
  .prizes-fb span { color: var(--on-ink-muted); }
  .prizes { list-style: none; margin: 0; padding: 0; border-top: 1px solid oklch(100% 0 0 / .14); }
  .prizes li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid oklch(100% 0 0 / .14); }
  .prizes b { color: var(--on-ink); }
  .prizes span { color: var(--on-ink-muted); }
  .btn-light { background: var(--on-ink); color: var(--ink); }
  .btn-light:hover { background: oklch(88% 0.01 220); }

  /* 作品牆 */
  .wall-group + .wall-group { margin-top: 48px; }
  .wg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
  .wg-head h3 { font-size: 20px; font-weight: 800; }
  .wg-head .sub { font-size: 14px; color: var(--muted); }
  .fb-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid var(--border); }
  .fb-link:hover { border-color: var(--fg); }
  .fb-link svg { width: 16px; height: 16px; }
  .slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .slot { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; margin: 0; }
  .slot button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
  .slot button[data-vlog] { cursor: pointer; }
  .slot button:focus-visible { outline: 3px solid oklch(62% 0.13 170 / .55); outline-offset: -3px; }
  .slot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
  .slot button:hover img { transform: scale(1.04); }
  .slot figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); background: oklch(100% 0 0 / .94); box-shadow: var(--shadow-1); border-radius: 8px; padding: 5px 10px; font-size: 13px; line-height: 1.35; pointer-events: none; }
  .slot figcaption b { display: block; font-size: 13px; }
  .slot figcaption span { color: var(--muted); font-size: 12px; }
  .slot .vbadge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: oklch(15% 0.02 230 / .75); color: #fff; pointer-events: none; }
  .slot .vbadge svg { width: 12px; height: 12px; }
  .slot.empty { display: grid; place-items: center; text-align: center; border: 1px dashed oklch(80% 0.01 240); background: var(--field); color: var(--muted); font-size: 14px; padding: 12px; }
  .slot.empty b { display: block; color: var(--fg); font-size: 15px; margin-bottom: 2px; }
  .wall-foot { margin-top: 40px; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  .wall-foot p { color: var(--muted); font-size: 14px; max-width: 40em; }

  .lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, calc(100% - 32px)); max-height: calc(100% - 32px); }
  .lightbox::backdrop { background: oklch(12% 0.02 240 / .88); }
  .lb-inner { position: relative; }
  .lb-inner img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: var(--r); margin: 0 auto; }
  .lb-cap { color: var(--on-ink); text-align: center; margin-top: 12px; font-size: 15px; }
  .lb-cap span { color: var(--on-ink-muted); }
  .lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: oklch(100% 0 0 / .9); cursor: pointer; display: grid; place-items: center; }
  .lb-btn:hover { background: #fff; }
  .lb-btn svg { width: 22px; height: 22px; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lb-close { position: absolute; top: 12px; right: 12px; }

  /* 展覽 */
  .fb-note { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 32px 36px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
  .expo { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
  .expo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
  .expo-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
  .expo-body h3 { font-size: 26px; font-weight: 800; }
  .expo-facts { display: grid; grid-template-columns: 72px 1fr; gap: 8px 12px; margin: 0; font-size: 15px; }
  .expo-facts dt { color: var(--muted); }
  .expo-facts dd { margin: 0; font-weight: 600; }
  .expo-past { margin-top: 16px; font-size: 14px; color: var(--muted); }

  /* FAQ */
  .faq { max-width: 820px; border-top: 1px solid var(--border); }
  .faq details { border-bottom: 1px solid var(--border); }
  .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); }
  .faq details[open] summary::after { content: "−"; }
  .faq summary:hover { color: var(--accent-press); }
  .faq details p { padding: 0 0 20px; color: var(--muted); max-width: 44em; }

  .ask { text-align: center; padding: 72px 0 88px; border-top: 1px solid var(--border); }
  .ask h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
  .ask p { color: var(--muted); margin: 10px auto 24px; max-width: 30em; }

  @media (max-width: 1080px) {
    .ptrips { grid-template-columns: 1fr 1fr; }
    .learn { grid-template-columns: 1fr; gap: 24px; }
    .lessons { grid-template-columns: 1fr 1fr; }
    .contest-grid, .mentor, .expo, .courses { grid-template-columns: 1fr; }
    .mentor img, .expo img { min-height: 240px; max-height: 320px; }
  }
  @media (max-width: 640px) {
    /* 手機：照片在上、文字在下，避免壓到人物 */
    .p-hero { height: auto; min-height: 0; display: flex; flex-direction: column; }
    .p-hero img { position: relative; height: 300px; object-position: 82% 50%; }
    .p-hero::after { display: none; }
    .p-hero .wrap { padding: 28px 0 40px; }
    .p-hero p { font-size: 16px; }
    .steps3 { grid-template-columns: 1fr; }
    .step3, .step3 + .step3 { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--border); }
    .course img { height: 200px; }
    .course-body { padding: 20px; }
    .ptrips { grid-template-columns: 1fr; }
    .lessons { grid-template-columns: 1fr; }
    .lesson span { display: none; }
    .lesson[aria-selected="true"] span { display: block; }
    .slots { grid-template-columns: 1fr 1fr; gap: 8px; }
    .slot figcaption { left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 4px 8px; }
    .slot figcaption span { display: none; }
    .countdown div { min-width: 0; flex: 1; padding: 12px; }
    .countdown b { font-size: 28px; }
    .mentor-body, .expo-body { padding: 26px 22px; }
    .lb-btn { width: 44px; height: 44px; }
  }

/* ===== news.html ===== */
  .news-top { padding: 8px 0 32px; }
  .news-top h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: .03em; margin-top: 18px; }
  .news-top p { color: var(--muted); margin-top: 10px; max-width: 34em; }
  .type-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
  .type-tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--fg); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
  .type-tabs button:hover { background: var(--field); border-color: oklch(80% 0.01 240); }
  .type-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
  .type-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .type-tabs small { font-family: var(--font-mono); font-size: 12px; margin-left: 6px; opacity: .75; }
  .news-empty { grid-column: 1 / -1; text-align: center; padding: 64px 20px; border: 1px dashed var(--border); border-radius: var(--r-lg); color: var(--muted); }
  .news-empty b { display: block; color: var(--fg); font-size: 20px; margin-bottom: 6px; }
  .more-row { display: flex; justify-content: center; margin-top: 36px; }

/* ===== news-detail.html ===== */
  .art { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
  .art-head { padding: 20px 0 28px; }
  .art-head .news-meta { font-size: 14px; margin-top: 18px; }
  .art-head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.3; letter-spacing: .02em; margin-top: 12px; text-wrap: balance; }
  .art-head .lead { color: var(--muted); font-size: 18px; margin-top: 14px; text-wrap: pretty; }
  .art-cover { width: min(1040px, calc(100% - 48px)); margin: 0 auto 40px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 8; background: var(--field); }
  .art-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .join { margin: 56px 0 0; padding: 32px 34px; border-radius: var(--r-lg); background: var(--ink); color: var(--on-ink); display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
  .join h2 { font-size: 24px; font-weight: 800; }
  .join-acts { display: flex; flex-wrap: wrap; gap: 12px; }
  .join p { color: var(--on-ink-muted); margin-top: 4px; font-size: 15px; }
  .join a.trip { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
  .pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
  .pn a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); color: var(--fg); min-height: 44px; }
  .pn a:hover { background: var(--field); }
  .pn a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .pn small { color: var(--muted); font-size: 13px; }
  .pn b { font-size: 15px; line-height: 1.5; }
  .pn .next { text-align: right; grid-column: 2; }
  .not-found { text-align: center; padding: 96px 0; }
  .not-found h1 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
  .not-found p { color: var(--muted); margin-bottom: 24px; }
  @media (max-width: 640px) {
    .art, .art-cover { width: calc(100% - 40px); }
    .art-cover { aspect-ratio: 4 / 3; margin-bottom: 28px; }
    .join { padding: 26px 22px; }
    .join .btn, .join-acts { width: 100%; }
    .join-acts .btn { width: 100%; justify-content: center; }
    .pn { grid-template-columns: 1fr; }
    .pn .next { grid-column: auto; }
  }

/* v1.3：首頁分類位置固定，刪除或隱藏不移動其餘格子 */
.cat-grid.mj-fixed-slots .cat-empty { background: var(--field); color: var(--muted); border: 1px dashed var(--border); }
.cat-grid.mj-fixed-slots .cat-empty::before { display: none; }
.cat-grid.mj-fixed-slots .cat-empty .cat-num { color: var(--muted); }
@media (max-width: 980px) { .cat-grid.mj-fixed-slots .cat-tile { grid-column: span var(--t, 6); } }
@media (max-width: 640px) { .cat-grid.mj-fixed-slots .cat-tile { grid-column: span 12; } }
