:root {
    --bg: #f6f1e8;
    --bg-soft: #fffaf2;
    --panel: #ffffff;
    --panel-strong: #fff6ea;
    --line: #e7d8c4;
    --line-strong: #d4baa0;
    --text: #1f2b2d;
    --muted: #697475;
    --accent: #b85c38;
    --accent-deep: #8e3f20;
    --accent-soft: #f4d3bf;
    --sage: #52796f;
    --shadow: 0 18px 48px rgba(69, 43, 23, 0.08);
    --radius: 24px;
    --radius-sm: 16px;
    --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(circle at top left, rgba(184, 92, 56, 0.1), transparent 24%), radial-gradient(circle at right 12% top 8%, rgba(82, 121, 111, 0.14), transparent 18%), linear-gradient(180deg, #fbf5ec 0%, #f6f1e8 42%, #f8f4ee 100%);
    color: var(--text);
    line-height: 1.65;
}
a { color: inherit; text-decoration: none; transition: 0.25s ease; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 245, 236, 0.9); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(212, 186, 160, 0.55); }
.header-bar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-logo { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.02em; color: var(--accent-deep); }
.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.nav-link { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; color: var(--muted); font-size: 0.94rem; }
.nav-link:hover, .nav-link.is-active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--sage)); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); transition: 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
main { padding: 28px 0 72px; }
.section-heading-wrap, .section-bar, .page-head { margin-bottom: 24px; }
.section-heading-wrap h1, .page-head h1, .section-bar h2, .author-intro h1 { margin: 0; font-size: clamp(1.65rem, 3vw, 3rem); line-height: 1.14; letter-spacing: -0.03em; }
.eyebrow { display: inline-block; margin: 0 0 10px; color: var(--accent-deep); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; }
.section-bar, .page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.no-top-gap { margin-top: 0; }
.feature-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
.feature-card, .story-card, .related-card { border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); border: 1px solid rgba(212, 186, 160, 0.6); }
.feature-card-link { display: grid; height: 100%; }
.feature-card-media, .story-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.feature-card-media img, .story-card-media img, .related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.feature-card:hover img, .story-card:hover img, .related-card:hover img { transform: scale(1.05); }
.feature-card-body, .story-card-body, .related-card-body { padding: 18px; }
.feature-card h2, .story-card-title, .related-card h3, .archive-item h2 { margin: 0; line-height: 1.2; letter-spacing: -0.025em; }
.feature-card h2 { font-size: 1.45rem; }
.feature-card:not(:first-child) h2 { font-size: 1.12rem; }
.feature-card p, .story-card-brief, .related-card p { margin: 12px 0 0; color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.story-card-taxonomy { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.story-card-taxonomy a, .story-card-taxonomy span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.story-card-meta, .article-meta-line { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; color: var(--muted); font-size: 0.88rem; }
.home-categories, .home-latest, .author-articles { margin-top: 42px; }
.category-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-pill { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 16px; text-align: center; border: 1px solid rgba(82, 121, 111, 0.18); border-radius: 20px; background: linear-gradient(135deg, rgba(255, 246, 234, 0.95), rgba(246, 241, 232, 0.92)), linear-gradient(135deg, rgba(82, 121, 111, 0.08), rgba(184, 92, 56, 0.1)); color: var(--text); font-weight: 700; box-shadow: 0 10px 26px rgba(69, 43, 23, 0.04); }
.category-pill:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-deep); }
.magazine-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-card-title { font-size: 1.2rem; }
.story-card-title a:hover, .related-card h3:hover, .archive-item h2 a:hover, .sidebar-post a:hover, .sidebar-link:hover, .footer-link:hover { color: var(--accent-deep); }
.content-shell { padding-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: 0.9rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.list-cards { display: grid; gap: 18px; }
.story-card-horizontal { display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.story-card-horizontal .story-card-media { aspect-ratio: auto; height: 100%; min-height: 210px; }
.alt-list-cards .story-card-horizontal { background: linear-gradient(135deg, var(--panel), var(--bg-soft)); }
.sidebar-stack { display: grid; gap: 18px; position: sticky; top: 76px; }
.sidebar-card, .article-panel, .author-copy, .single-panel, .archive-item { border-radius: var(--radius); border: 1px solid rgba(212, 186, 160, 0.58); box-shadow: var(--shadow); padding: 22px; background: var(--panel); }
.sidebar-head { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sidebar-head h3, .related-shell h2, .comment-shell h2, .author-box h2 { margin: 0; font-size: 1.08rem; line-height: 1.2; }
.editor-profile, .sidebar-posts, .sidebar-links { display: grid; gap: 14px; }
.editor-avatar, .author-chip img, .author-box-media img, .author-portrait img { overflow: hidden; border-radius: 50%; }
.editor-avatar { width: 82px; height: 82px; }
.sidebar-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }
.sidebar-link-arrow { color: var(--accent-deep); font-weight: 700; }
.sidebar-post { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sidebar-post:last-child { padding-bottom: 0; border-bottom: 0; }
.sidebar-post time { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.82rem; }
.article-head h1 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 3.15rem); line-height: 1.12; letter-spacing: -0.04em; }
.author-chip { display: inline-flex;  gap: 8px; min-height: 34px; }
.author-chip img { width: 28px; height: 28px; object-fit: cover; }
.article-content { margin-top: 24px; font-size: 0.985rem; letter-spacing: 0.2px; color: #171717; line-height: 1.75; word-break: normal; overflow-wrap: normal; }
.article-content p { margin: 0 0 1.15em; }
.article-content h2, .article-content h3, .article-content h4 { margin: 1.45em 0 0.65em; line-height: 1.25; }
.article-content img { height: auto; margin: 22px auto; border-radius: 18px; }
.author-box, .share-panel, .comment-shell, .related-shell, .article-switch { margin-top: 26px; }
.author-box { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 246, 234, 0.96), rgba(255, 255, 255, 0.96)); border: 1px solid var(--line); }
.author-box-media img { width: 88px; height: 88px; object-fit: cover; }
.author-box-kicker { display: inline-block; margin-bottom: 8px; color: var(--accent-deep); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; }
.share-panel { padding: 18px 20px; border-radius: var(--radius); background: var(--panel-strong); border: 1px solid var(--line); }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.share-btn, .submit-btn { min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--sage)); color: #fff; cursor: pointer; }
.share-btn:hover, .submit-btn:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--accent-deep), #466a61); }
.article-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.switch-card { display: grid; gap: 8px; padding: 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-soft); }
.switch-card span { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; }
.comment-form-static { display: grid; gap: 14px; }
.comment-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.comment-form-static input, .comment-form-static textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fffdf8; color: var(--text); outline: none; }
.comment-form-static input:focus, .comment-form-static textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.12); }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.related-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.author-shell, .narrow-shell { width: min(980px, calc(100% - 32px)); }
.author-hero { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 26px; padding: 26px; border-radius: 30px; background: linear-gradient(135deg, rgba(255, 246, 234, 0.96), rgba(255, 255, 255, 0.95)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.author-portrait img { width: 180px; height: 180px; object-fit: cover; }
.archive-list { display: grid; gap: 14px; }
.archive-item { padding: 20px 22px; border-radius: 20px; box-shadow: 0 10px 28px rgba(69, 43, 23, 0.05); }
.archive-item time { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.85rem; }
.archive-item h2 { font-size: 1.18rem; }
.center-head { justify-content: center; }
.pager-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; row-gap: 10px; margin-top: 28px; }
.pager-chip { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); line-height: 1; white-space: nowrap; }
.pager-chip:hover, .pager-chip.is-current { background: linear-gradient(135deg, var(--accent), var(--sage)); border-color: transparent; color: #fff; }
.pager-chip.is-disabled, .pager-chip.is-gap { color: var(--muted); background: var(--bg-soft); }
.site-footer { border-top: 1px solid rgba(212, 186, 160, 0.65); background: rgba(255, 250, 242, 0.84); }
.footer-inner { padding: 22px 0 34px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-link { color: var(--muted); }
.back-top { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 46px; height: 46px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--sage)); color: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; cursor: pointer; transition: 0.25s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 1100px) {
    .feature-grid, .magazine-grid, .category-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-grid { grid-template-columns: minmax(0,1fr); }
    .sidebar-stack { position: static; }
}
@media (max-width: 767px) {
    .container, .author-shell, .narrow-shell { width: min(100%, calc(100% - 20px)); }
    .header-bar { min-height: 54px; }
    .nav-toggle { display: inline-flex; }
    .site-nav { position: absolute; left: 10px; right: 10px; top: calc(100% + 8px); margin-left: 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: 0.25s ease; }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-list { flex-direction: column; align-items: stretch; padding: 10px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
    .feature-grid, .magazine-grid, .category-wall, .related-grid, .article-switch, .comment-row, .author-hero { grid-template-columns: 1fr; }
    .home-latest .story-card { display: block; }
    .home-latest .story-card-media { aspect-ratio: 4 / 2.7; }
    .home-latest .story-card-body { padding: 16px; }
    .home-latest .story-card-title { font-size: 1.08rem; }
    .story-card-horizontal { grid-template-columns: 1fr; }
    .story-card-horizontal .story-card-media { min-height: 0; aspect-ratio: 4 / 3; }
    .article-head h1, .page-head h1, .section-heading-wrap h2, .author-intro h1 { font-size: clamp(1.28rem, 6vw, 1.55rem); max-height: 150px; }
    .section-bar h2 { font-size: 1.25rem; }
    .pager-nav { gap: 8px; row-gap: 8px; }
    .pager-chip { min-width: 38px; height: 38px; padding: 0 12px; font-size: 0.85rem; }
    .article-meta-line { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; }
    .article-content { font-size: 0.96rem; line-height: 1.75; }
    .author-box { grid-template-columns: 1fr; }
    .author-box-media img, .author-portrait img { margin: 0 auto; }
}


.latest-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.latest-showcase-card,
.related-showcase-card,
.profile-post-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(180deg, #fffdfa 0%, #ffffff 100%);
    border: 1px solid rgba(212, 186, 160, 0.68);
    box-shadow: var(--shadow);
}

.latest-showcase-media,
.related-showcase-media,
.profile-post-media {
    display: block;
    overflow: hidden;
    background: #efe4d7;
}

.latest-showcase-media {
    aspect-ratio: 4 / 3;
}

.related-showcase-media,
.profile-post-media {
    aspect-ratio: 4 / 2.85;
}

.latest-showcase-media img,
.related-showcase-media img,
.profile-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.latest-showcase-card:hover .latest-showcase-media img,
.related-showcase-card:hover .related-showcase-media img,
.profile-post-card:hover .profile-post-media img {
    transform: scale(1.05);
}

.latest-showcase-body,
.related-showcase-body,
.profile-post-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.latest-showcase-title,
.related-showcase-title,
.profile-post-title {
    margin: 0;
    line-height: 1.22;
    letter-spacing: -0.025em;
}

.latest-showcase-title {
    font-size: 1.2rem;
}

.related-showcase-title,
.profile-post-title {
    font-size: 1.08rem;
}

.latest-showcase-title a:hover,
.related-showcase-title a:hover,
.profile-post-title a:hover {
    color: var(--accent-deep);
}

.latest-showcase-brief,
.related-showcase-brief,
.profile-post-brief {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.72;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-showcase-brief {
    -webkit-line-clamp: 3;
}

.related-showcase-brief,
.profile-post-brief {
    -webkit-line-clamp: 2;
}

.latest-showcase-meta,
.related-showcase-meta,
.profile-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: auto;
    padding-top: 14px;
    color: var(--muted);
    font-size: 0.86rem;
}

.related-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.profile-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.editor-profile-card {
    align-items: center;
    justify-items: center;
    text-align: center;
    gap: 16px;
}

.editor-card .editor-avatar {
    display: block;
    width: 110px;
    height: 110px;
    padding: 5px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(184, 92, 56, 0.16), rgba(82, 121, 111, 0.14));
}

.editor-card .editor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.editor-text h4 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.editor-text p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .latest-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .latest-showcase-grid,
    .related-showcase-grid,
    .profile-posts-grid {
        grid-template-columns: 1fr;
    }

    .latest-showcase-media {
        aspect-ratio: 4 / 2.7;
    }

    .related-showcase-media,
    .profile-post-media {
        aspect-ratio: 4 / 2.8;
    }

    .latest-showcase-body,
    .related-showcase-body,
    .profile-post-body {
        padding: 16px;
    }

    .latest-showcase-title {
        font-size: 1.08rem;
    }

    .related-showcase-title,
    .profile-post-title {
        font-size: 1rem;
    }
}


/* detail-mobile-tune-1758 */
.author-chip-label {
  color: inherit;
}

@media (max-width: 768px) {
  .detail-crumbs {
    display: none;
  }

  .author-chip img {
    display: none;
  }
}
