/* station1986 — 風土島行視覺系統（依參考 HTML） */
:root {
    --bg-warm: #FDFBF7;
    --bg-warm-secondary: #F7F3E9;
    --card-bg: #FFFFFF;
    --card-bg-subtle: #F7F4EE;
    --ocean-dark: #2B3A42;
    --clay-red: #C85A32;
    --clay-red-hover: #A44222;
    --olive-green: #4A6B5D;
    --olive-green-light: #EBF0ED;
    --slate-gray: #5A656D;
    --mist-gray: #8C9A9E;
    --border-color: #E6E0D4;
    --border-light: #F0ECC3;
    --shadow-sm: 0 4px 15px rgba(43, 58, 66, 0.04);
    --shadow-md: 0 8px 30px rgba(43, 58, 66, 0.08);
    --shadow-hover: 0 14px 40px rgba(43, 58, 66, 0.12);
    --shadow-subtle: 0 4px 20px rgba(43, 58, 66, 0.05);

    --color-primary: var(--clay-red);
    --color-primary-hover: var(--clay-red-hover);
    --color-accent: var(--olive-green);
    --color-bg: var(--bg-warm);
    --color-surface: var(--card-bg);
    --color-text: var(--ocean-dark);
    --color-text-secondary: var(--slate-gray);
    --color-border: var(--border-color);

    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    --font-serif: "Songti TC", "Noto Serif TC", "PMingLiU", Georgia, serif;
    --font-heading: var(--font-serif);
    --font-body: var(--font-sans);

    --max-width: 1240px;
    --header-height: 60px;
    --side-width: 320px;
    --gutter: 1.5rem;
    --radius: 16px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    --text-meta: 0.85rem;
    --text-base: 1rem;
    --text-lg: 1.05rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.75rem;
    --text-4xl: 2.5rem;

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg-warm);
    color: var(--ocean-dark);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-wrap: anywhere;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--clay-red); }

a:focus-visible,
button:focus-visible,
textarea:focus-visible,
input:focus-visible {
    outline: 2px solid var(--clay-red);
    outline-offset: 2px;
}

.clamp-2,
.clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.clamp-2 { -webkit-line-clamp: 2; }
.clamp-3 { -webkit-line-clamp: 3; }

.wrapper,
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- 頁眉 Header ---------- */
.top {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: rgba(253, 251, 247, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.top--scrolled { box-shadow: var(--shadow-sm); }

.top__inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.top__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ocean-dark);
    white-space: nowrap;
}
.top__logo:hover { color: var(--clay-red); }

.top__nav {
    display: none;
    align-items: center;
    gap: 2rem;
    height: auto;
    max-height: none;
    position: static;
    overflow: visible;
    top: auto;
    right: auto;
    left: auto;
}
.top__nav a {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-gray);
    transition: color 0.25s ease;
}
.top__nav a:hover,
.top__nav a[aria-current="page"] {
    color: var(--clay-red);
}
.top__nav a[aria-current="page"]::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clay-red);
    border-radius: 2px;
}

.top__burger {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ocean-dark);
    cursor: pointer;
}
.top__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.top__burger:hover { color: var(--clay-red); }
.top__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.top__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 行動選單：absolute 避免 sticky+backdrop-filter 裁切 fixed */
.drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100dvh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bg-warm);
    border-top: 1px solid var(--border-color);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.drawer--open {
    visibility: visible;
    opacity: 1;
    transform: none;
}
.drawer__nav {
    display: flex;
    flex-direction: column;
    padding: var(--space-1) var(--gutter) var(--space-4);
}
.drawer__nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate-gray);
}
.drawer__nav a[aria-current="page"] { color: var(--clay-red); }

/* ---------- 共用 ---------- */
.kicker {
    color: var(--clay-red);
    font-weight: 700;
    font-size: var(--text-meta);
}
.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.85rem;
    font-size: var(--text-meta);
    color: var(--mist-gray);
}

.media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--border-color);
    border-radius: 12px;
}
.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: 1.5rem;
}
.sec__title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ocean-dark);
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--clay-red);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.section-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ocean-dark);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-primary {
    background-color: var(--clay-red);
    color: #FFF;
    border: none;
}
.btn-primary:hover {
    background-color: var(--clay-red-hover);
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 90, 50, 0.3);
}
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FDFBF7;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #FFF;
    color: #FFF;
}

.read-link {
    color: var(--clay-red);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.read-link:hover { gap: 0.5rem; color: var(--clay-red-hover); }

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    margin-top: var(--space-4);
}
.pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--ocean-dark);
    font-size: 1rem;
}
a.pager__btn:hover { color: var(--clay-red); border-color: var(--clay-red); }
.pager__btn--curr {
    background: var(--clay-red);
    border-color: var(--clay-red);
    color: #FFF;
    font-weight: 700;
}
.pager__btn--off { color: var(--mist-gray); cursor: default; }

.empty {
    padding: var(--space-4) 0;
    color: var(--slate-gray);
}

/* ---------- 首頁 Hero ---------- */
.hero-section { padding: 2.5rem 0 3rem; }

.hero-card {
    background-color: var(--ocean-dark);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    box-shadow: var(--shadow-md);
}
.hero-content {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #FFF;
    order: 2;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(200, 90, 50, 0.2);
    color: #EFA68D;
    border: 1px solid rgba(200, 90, 50, 0.4);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    width: fit-content;
}
.hero-tag:hover { color: #FFF; border-color: rgba(255,255,255,0.4); }
.hero-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: #FDFBF7;
}
.hero-title a { color: inherit; }
.hero-title a:hover { color: #EFA68D; }
.hero-description {
    font-size: 1rem;
    color: #CBD5E1;
    margin-bottom: 1.75rem;
    max-width: 500px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.hero-visual {
    position: relative;
    order: 1;
    background: linear-gradient(135deg, #3A4C56 0%, #1E282E 100%);
    min-height: 220px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.hero-visual a,
.hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- 首頁分類 ---------- */
.categories-section { padding: 2.5rem 0; }
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.category-card {
    background-color: var(--card-bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.category-card:hover {
    background-color: #FFF;
    transform: translateY(-4px);
    border-color: rgba(200, 90, 50, 0.3);
    box-shadow: var(--shadow-md);
}
.category-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background-color: rgba(74, 107, 93, 0.12);
    color: var(--olive-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
}
.category-card:hover .category-icon-wrap {
    background-color: var(--clay-red);
    color: #FFF;
}
.category-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ocean-dark);
}
.category-footer {
    font-size: 0.8rem;
    color: var(--mist-gray);
    font-weight: 600;
    margin-top: auto;
}

/* ---------- 首頁文章網格 ---------- */
.articles-section {
    padding: 3rem 0;
    background-color: var(--bg-warm-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.articles-section .wrapper { /* inherit */ }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.articles-grid > .ad-div {
    grid-column: 1 / -1;
}

.article-card {
    background-color: #FFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 90, 50, 0.25);
}
.article-thumb {
    width: 100%;
    aspect-ratio: 400 / 240;
    background-color: #E2E8F0;
    position: relative;
    overflow: hidden;
}
.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    background-color: rgba(43, 58, 66, 0.85);
    color: #FDFBF7;
    font-size: 0.78rem;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-weight: 500;
}
.article-badge:hover { color: #FFF; }
.article-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--mist-gray);
    margin-bottom: 0.65rem;
}
.article-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ocean-dark);
    margin-bottom: 0.65rem;
}
.article-card:hover .article-title { color: var(--clay-red); }
.article-excerpt {
    font-size: 0.93rem;
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.article-author-row {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}
.author-mini {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}
.author-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #F0EAD9 0%, #D8CEB9 100%);
    flex-shrink: 0;
    aspect-ratio: 1;
}
.author-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-mini-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ocean-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- 首頁作者橫幅 ---------- */
.author-banner-section { padding: 3.5rem 0; }
.author-banner {
    background-color: var(--card-bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.author-avatar-box {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0EAD9 0%, #D8CEB9 100%);
    padding: 6px;
    box-shadow: 0 8px 25px rgba(200, 90, 50, 0.15);
    margin: 0 auto;
    aspect-ratio: 1;
    overflow: hidden;
}
.author-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.author-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
}
.author-tag {
    color: var(--clay-red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.author-name-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ocean-dark);
}
.author-bio-text {
    font-size: 0.98rem;
    color: var(--slate-gray);
    line-height: 1.8;
}
.author-banner-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}
.author-role-line {
    font-size: 0.9rem;
    color: var(--clay-red);
    font-weight: 600;
}

/* ---------- 作者頁 ---------- */
.author-layout {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
.author-card {
    background-color: var(--card-bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--shadow-subtle);
}
.avatar-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0EAD9 0%, #D8CEB9 100%);
    padding: 5px;
    box-shadow: 0 4px 15px rgba(200, 90, 50, 0.15);
    aspect-ratio: 1;
    overflow: hidden;
}
.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.author-meta { text-align: center; margin-bottom: 1.5rem; }
.author-name {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ocean-dark);
    margin-bottom: 0.25rem;
}
.author-title {
    font-size: 0.9rem;
    color: var(--clay-red);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.author-bio {
    font-size: 0.95rem;
    color: var(--slate-gray);
    text-align: justify;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border-color);
    line-height: 1.75;
}
.author-bio p { margin: 0; }
.author-bio p + p { margin-top: 0.75rem; }
.author-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 0.5rem;
    background-color: rgba(253, 251, 247, 0.6);
    border-radius: 12px;
}
.stat-box { text-align: center; min-width: 4.5rem; }
.stat-num {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clay-red);
    font-family: var(--font-serif);
}
.stat-label {
    font-size: 0.75rem;
    color: var(--mist-gray);
}

.author-content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ocean-dark);
    gap: 1rem;
    flex-wrap: wrap;
}
.author-content-header .section-title {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.article-count {
    font-size: 0.9rem;
    color: var(--mist-gray);
    font-weight: 400;
}

.articles-feed {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.feed-card {
    background-color: var(--card-bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
}
.feed-card:hover {
    background-color: #FFF;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 90, 50, 0.3);
}
.feed-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #EBE7DF;
    overflow: hidden;
}
.feed-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.feed-card:hover .feed-card__media img { transform: scale(1.05); }
.feed-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(43, 58, 66, 0.85);
    color: #FFF;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}
.feed-card__body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}
.feed-card__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ocean-dark);
    margin: 0.5rem 0;
    line-height: 1.4;
}
.feed-card:hover .feed-card__title { color: var(--clay-red); }
.feed-card__excerpt {
    font-size: 0.9rem;
    color: var(--slate-gray);
}
.feed-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(230, 225, 214, 0.6);
    gap: 0.75rem;
}

/* ---------- 詳情頁 ---------- */
.breadcrumb,
.crumb {
    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--mist-gray);
    margin: 1.5rem 0 1rem;
}
.breadcrumb a:hover,
.crumb a:hover { color: var(--clay-red); }
.crumb__sep { color: var(--mist-gray); }
.crumb__curr {
    max-width: 28ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--slate-gray);
}

.article-header {
    max-width: 860px;
    margin: 0 auto 2rem;
    text-align: center;
}
.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--olive-green-light);
    color: var(--olive-green);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.15rem;
}
.article-category-badge:hover { color: var(--clay-red); }
.article-main-title {
    font-family: var(--font-serif);
    font-size: 1.5rem; /* 行動端 ≤ text-2xl */
    line-height: 1.35;
    font-weight: 700;
    color: var(--ocean-dark);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}
.article-header-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.88rem;
    color: var(--mist-gray);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.35rem;
}
.meta-author-inline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ocean-dark);
    font-weight: 600;
}
.meta-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #F0EAD9 0%, #D8CEB9 100%);
    aspect-ratio: 1;
}
.meta-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文章引言卡片 */
.article-lead-quote {
    background-color: var(--card-bg-subtle);
    border-left: 4px solid var(--clay-red);
    padding: 1.5rem 2rem;
    border-radius: 0 16px 16px 0;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--ocean-dark);
    line-height: 1.8;
    margin: 2rem 0 0;
    text-align: left;
}

.article-hero-media { margin-bottom: 2.5rem; }
.hero-media-box {
    width: 100%;
    aspect-ratio: 1000 / 460;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: #2B3A42;
}
.hero-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-caption {
    font-size: 0.85rem;
    color: var(--mist-gray);
    text-align: center;
    margin-top: 0.75rem;
}

.article-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}
.article-layout-grid--solo { grid-template-columns: 1fr; }

.detail__body,
.article-body-content {
    font-size: 1.125rem; /* 行動端 ≥ 18px */
    color: var(--slate-gray);
    line-height: 1.85;
}
.detail__body p,
.article-body-content p {
    margin: 0 0 15px;
    text-align: justify;
}
.detail__body p:last-child,
.article-body-content p:last-child { margin-bottom: 0; }
.detail__body h2,
.article-body-content h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--ocean-dark);
    margin: 2rem 0 1rem;
    line-height: 1.4;
}
.detail__body h3,
.article-body-content h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--ocean-dark);
    margin: 1.75rem 0 0.85rem;
}
.detail__body img,
.article-body-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
}
.detail__body a,
.article-body-content a {
    color: var(--clay-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.detail__body ul,
.detail__body ol,
.article-body-content ul,
.article-body-content ol {
    margin: 0.875rem 0;
    padding-left: 1.5em;
}
.detail__body ul,
.article-body-content ul { list-style: disc; }
.detail__body ol,
.article-body-content ol { list-style: decimal; }
.detail__body blockquote,
.article-body-content blockquote {
    background-color: var(--card-bg-subtle);
    border-left: 4px solid var(--clay-red);
    padding: 1.25rem 1.5rem;
    border-radius: 0 16px 16px 0;
    margin: 1.5rem 0;
    color: var(--ocean-dark);
}

.share-container { margin-top: 2rem; }

.sidebar-sticky {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.sidebar-author-card {
    background-color: var(--card-bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem 1.35rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.sidebar-avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.15rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0EAD9 0%, #D8CEB9 100%);
    padding: 4px;
    box-shadow: 0 4px 15px rgba(200, 90, 50, 0.12);
    aspect-ratio: 1;
    overflow: hidden;
}
.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.sidebar-author-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ocean-dark);
    margin-bottom: 0.2rem;
}
.sidebar-author-role {
    font-size: 0.82rem;
    color: var(--clay-red);
    font-weight: 600;
    margin-bottom: 1rem;
}
.sidebar-author-bio {
    font-size: 0.88rem;
    color: var(--slate-gray);
    line-height: 1.7;
    margin-bottom: 1.35rem;
    text-align: justify;
}
.sidebar-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--clay-red);
    color: #FFF;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    text-align: center;
}
.sidebar-btn:hover {
    background-color: var(--clay-red-hover);
    color: #FFF;
    box-shadow: 0 4px 12px rgba(200, 90, 50, 0.25);
}

.bottom-author-section {
    margin-top: 4rem;
    background-color: var(--card-bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}
.bottom-avatar-box {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0EAD9 0%, #D8CEB9 100%);
    padding: 4px;
    margin: 0 auto;
    aspect-ratio: 1;
    overflow: hidden;
}
.bottom-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.bottom-author-kicker {
    font-size: 0.85rem;
    color: var(--clay-red);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.bottom-author-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ocean-dark);
    margin-bottom: 0.5rem;
}
.bottom-author-title a:hover { color: var(--clay-red); }
.bottom-author-desc {
    font-size: 0.95rem;
    color: var(--slate-gray);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.bottom-author-link {
    color: var(--clay-red);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.bottom-author-link:hover {
    color: var(--clay-red-hover);
    gap: 0.5rem;
}

.pn {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}
.pn__item {
    display: block;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border-color);
}
.pn__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--clay-red);
}
.pn__title {
    margin-top: 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ocean-dark);
}
.pn__item:hover .pn__title { color: var(--clay-red); }

.related-section {
    margin-top: 5rem;
    padding-top: 3.5rem;
    border-top: 2px solid var(--ocean-dark);
}
.section-heading {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ocean-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
.related-card {
    display: block;
    background: #FFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    color: inherit;
}
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200, 90, 50, 0.3);
    color: inherit;
}
.related-media {
    aspect-ratio: 300 / 160;
    background: #E2E8F0;
    overflow: hidden;
}
.related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-body { padding: 1.25rem; }
.related-meta {
    font-size: 0.78rem;
    color: var(--mist-gray);
    margin-bottom: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.35rem;
}
.related-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--ocean-dark);
}
.related-card:hover .related-title { color: var(--clay-red); }

.comments {
    margin-top: 3rem;
    background: #FFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
}
.comments__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.comments__form textarea {
    width: 100%;
    min-height: 110px;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-warm);
    font: inherit;
    resize: vertical;
}
.comments__btn {
    align-self: flex-end;
    background: var(--ocean-dark);
    color: #FFF;
    padding: 0.65rem 1.75rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ---------- 側欄（分類等未改頁沿用） ---------- */
.side { min-width: 0; }
.side__block + .side__block { margin-top: var(--space-4); }
.side__title {
    padding-top: 0.75rem;
    border-top: 2px solid var(--ocean-dark);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.side__cats a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid var(--border-color);
    color: var(--ocean-dark);
}
.side__cats a:hover { color: var(--clay-red); }
.side__recent li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}
.side__link { font-weight: 700; line-height: 1.45; }
.side__recent time {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: var(--mist-gray);
}

/* ---------- 分類／列表兼容 ---------- */
.stream {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-3) 0 var(--space-4);
}
.runs { display: flex; flex-direction: column; }
.run {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: var(--space-2);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}
.run--noimg { grid-template-columns: minmax(0, 1fr); }
.run__text { font-size: 1.05rem; color: var(--slate-gray); }
.run__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
}
.pagehead { padding: var(--space-3) 0 var(--space-2); }
.pagehead__title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
}
.catalog {
    max-width: 52rem;
    padding: var(--space-2) 0 var(--space-5);
}
.log__era {
    margin: var(--space-4) 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--clay-red);
}
.log__row {
    display: block;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 1.05rem;
}
.log__row:hover { color: var(--clay-red); }

.standalone { padding: var(--space-3) 0 var(--space-5); }
.standalone__top h1 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-3);
    border-bottom: 2px solid var(--ocean-dark);
}
.standalone__body {
    font-size: 1.125rem;
    line-height: 1.8;
}
.standalone__body > p { margin: 0; }
.standalone__body > p + p { margin-top: 0.875rem; }

/* ---------- 頁腳 ---------- */
.foot {
    margin-top: 4rem;
    background-color: var(--ocean-dark);
    color: #94A3B8;
    padding: 2.5rem 0;
}
.foot__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.foot__name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FDFBF7;
}
.foot__name:hover { color: #EFA68D; }
.foot__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
}
.foot__menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9rem;
    color: #94A3B8;
}
.foot__menu a:hover { color: var(--clay-red); }

/* ---------- 動效 ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js .reveal.reveal--visible {
    opacity: 1;
    transform: none;
}

/* ---------- 斷點 ---------- */
@media (min-width: 768px) {
    .breadcrumb,
    .crumb { display: flex; }

    .hero-card {
        grid-template-columns: 1.1fr 1fr;
        min-height: 480px;
    }
    .hero-content {
        order: 0;
        padding: 3.5rem;
    }
    .hero-visual {
        order: 0;
        min-height: 100%;
        aspect-ratio: auto;
        height: 100%;
    }
    .hero-title { font-size: 2.4rem; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }

    .author-banner {
        grid-template-columns: 180px 1fr;
        padding: 3rem;
        gap: 2.5rem;
        text-align: left;
    }
    .author-info-content { align-items: flex-start; }
    .author-banner-footer { justify-content: flex-start; }
    .author-name-title { font-size: 2rem; }

    .feed-card { grid-template-columns: 240px 1fr; }
    .feed-card__media {
        aspect-ratio: auto;
        height: 100%;
        min-height: 180px;
    }

    .article-main-title { font-size: 2.25rem; }
    .article-lead-quote { font-size: 1.1rem; padding: 1.5rem 2rem; }
    .bottom-author-section {
        grid-template-columns: 140px 1fr;
        text-align: left;
        padding: 3rem;
        gap: 2.5rem;
    }
    .bottom-avatar-box { margin: 0; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .pn { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
    .pn__item--next { text-align: right; }
    .run { grid-template-columns: minmax(0, 1fr) 200px; }
}

@media (min-width: 900px) {
    .author-layout {
        grid-template-columns: 360px 1fr;
        gap: 2.5rem;
    }
    .author-card {
        position: sticky;
        top: calc(var(--header-height) + 24px);
    }
}

@media (min-width: 1024px) {
    :root { --header-height: 76px; }

    .top__nav {
        display: flex;
        position: static;
        height: auto;
        max-height: none;
        overflow: visible;
        top: auto;
        right: auto;
        left: auto;
    }
    .top__burger,
    .drawer {
        display: none;
        position: static;
        height: auto;
        max-height: none;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        transform: none;
    }

    .categories-grid { grid-template-columns: repeat(4, 1fr); }

    .article-layout-grid {
        grid-template-columns: 1fr 320px;
        gap: 3.5rem;
    }
    .article-layout-grid--solo { grid-template-columns: 1fr; }
    .sidebar-sticky {
        position: sticky;
        top: calc(var(--header-height) + 24px);
    }

    .related-grid { grid-template-columns: repeat(3, 1fr); }

    .stream {
        grid-template-columns: minmax(0, 1fr) var(--side-width);
        gap: 3.5rem;
    }
}

@media (max-width: 1023px) {
    .sidebar-sticky { display: none; } /* 行動端隱藏詳情側欄，保留底部作者卡 */
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Stay in Touch 線索表單（alone） ---------- */
.stay-touch {
    margin: 2.5rem 0 3rem;
    padding: 2rem;
    background: var(--card-bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}
.stay-touch__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ocean-dark);
    margin-bottom: 0.5rem;
}
.stay-touch__desc {
    color: var(--slate-gray);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.stay-touch__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 560px;
}
.stay-touch__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.stay-touch__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ocean-dark);
}
.stay-touch__form input,
.stay-touch__form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-warm);
    color: var(--ocean-dark);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.stay-touch__form textarea {
    min-height: 110px;
    resize: vertical;
}
.stay-touch__form input:focus,
.stay-touch__form textarea:focus {
    outline: none;
    border-color: var(--clay-red);
    background: #FFF;
}
.stay-touch__submit {
    align-self: flex-start;
    padding: 0.8rem 1.75rem;
    border: 0;
    border-radius: 30px;
    background: var(--clay-red);
    color: #FFF;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.stay-touch__submit:hover {
    background: var(--clay-red-hover);
    box-shadow: 0 4px 12px rgba(200, 90, 50, 0.25);
}
.stay-touch__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}
.stay-touch__msg {
    margin: 0;
    font-size: 0.9rem;
}
.stay-touch__msg.is-ok {
    color: var(--olive-green);
}
.stay-touch__msg.is-error {
    color: #b42318;
}

