/* 芋头信息网 (www.cyxdy.cn) — Editorial Landscape & Rural Living Design System */
:root {
    --bg: #f7f6f1;
    --surface: #ffffff;
    --surface-tint: #eef3ef;
    --primary: #145340;
    --primary-dark: #0c382b;
    --primary-soft: #e3efe9;
    --accent: #c85a26;
    --accent-soft: #fbf0e8;
    --gold: #d99b38;
    --ink: #1b2420;
    --ink-2: #4b5852;
    --ink-3: #6c7a73;
    --border: #e1e6df;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(15, 45, 34, 0.06);
    --shadow-hover: 0 12px 30px rgba(15, 45, 34, 0.11);
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
}

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

html, body {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 70px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 46px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-link.is-active {
    color: #fff;
    background: var(--primary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 6px 3px 14px;
    width: 210px;
}

.header-search:focus-within {
    border-color: var(--primary);
    background: #fff;
}

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    min-width: 0;
    font-size: 13.5px;
    color: var(--ink);
    font-family: inherit;
}

.header-search button {
    border: none;
    background: var(--primary);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.header-search button:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* Announcement Banner (Verbatim Required) */
.announce-bar {
    background: linear-gradient(90deg, #134a39 0%, #1c624c 60%, #164e3d 100%);
    color: #f3f7f4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.announce-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 13.5px;
}

.announce-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(244, 186, 98, 0.2);
    border: 1px solid rgba(244, 186, 98, 0.55);
    color: #fce2aa;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.announce-text {
    margin: 0;
    line-height: 1.5;
    color: #edf5f0;
}

/* Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-sm {
    padding: 7px 15px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-soft);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
}

.badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge-gold {
    background: rgba(20, 56, 43, 0.88);
    color: #f9db98;
    border: 1px solid rgba(249, 219, 152, 0.45);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink-2);
}

.pill:hover, .pill.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 500;
}

.chip:hover {
    background: var(--primary);
    color: #fff;
}

.link-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.link-more:hover {
    color: var(--accent);
}

/* Hero Section */
.hero-section {
    padding: 28px 0 18px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.hero-feature {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.hero-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #144134;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.hero-feature:hover .hero-media img {
    transform: scale(1.03);
}

.hero-media .badge {
    position: absolute;
    top: 16px;
    left: 16px;
}

.hero-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--ink-3);
    margin-bottom: 10px;
}

.meta-city {
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

.hero-body h1 {
    margin: 0 0 10px;
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.35;
    color: var(--ink);
}

.hero-body h1 a:hover {
    color: var(--primary);
}

.hero-summary {
    margin: 0 0 16px;
    color: var(--ink-2);
    font-size: 14.5px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.hero-sidebar {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 14px;
}

.sidebar-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.focus-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.focus-item {
    display: flex;
    gap: 14px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border);
}

.focus-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.focus-num {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: #c2d4ca;
    line-height: 1.1;
    flex-shrink: 0;
}

.focus-info {
    min-width: 0;
}

.focus-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 3px;
}

.focus-info h3 {
    margin: 0 0 5px;
    font-size: 15.5px;
    line-height: 1.45;
}

.focus-info h3 a:hover {
    color: var(--primary);
}

.focus-info p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quick-banner {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef6f1 0%, #fbf3e8 100%);
    border: 1px solid #d7e4dc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quick-banner strong {
    display: block;
    font-size: 14px;
    color: var(--primary-dark);
}

.quick-banner p {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: var(--ink-2);
}

/* Sections */
.section {
    padding: 40px 0;
}

.section-tinted {
    background: var(--surface-tint);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 4px;
}

.section-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.25;
    color: var(--ink);
}

.section-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Card Grids */
.card-grid {
    display: grid;
    gap: 22px;
}

.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.article-card, .farm-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    min-width: 0;
}

.article-card:hover, .farm-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.card-thumb {
    position: relative;
    display: block;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: #174637;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .card-thumb img,
.farm-card:hover .card-thumb img {
    transform: scale(1.04);
}

.thumb-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(15, 56, 43, 0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.badge-warm {
    background: rgba(190, 82, 32, 0.92);
}

.card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h3, .card-body h2 {
    margin: 0 0 8px;
    font-size: 16.5px;
    line-height: 1.45;
    color: var(--ink);
}

.card-body h3 a:hover, .card-body h2 a:hover {
    color: var(--primary);
}

.card-excerpt {
    margin: 0 0 12px;
    font-size: 13.5px;
    color: var(--ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-size: 12.5px;
    color: var(--ink-3);
}

.meta-ticket {
    color: var(--primary);
    font-weight: 500;
}

/* Farmhouse Filter & Cards */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.filter-btn {
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink-2);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.farm-card.is-hidden {
    display: none;
}

.farm-area {
    font-size: 12px;
    color: var(--ink-3);
    margin-bottom: 4px;
}

.dish-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.dish-tag {
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: #9c441a;
    font-size: 12px;
}

.dish-tag-lg {
    padding: 6px 12px;
    font-size: 13.5px;
    font-weight: 500;
}

.act-tag {
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 13.5px;
    font-weight: 500;
}

.farm-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.farm-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.farm-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* Interactive Trip Estimator Panel */
.section-tool {
    padding: 18px 0 42px;
}

.tool-panel {
    background: linear-gradient(135deg, #103d30 0%, #1b5c48 65%, #236c55 100%);
    border-radius: 20px;
    padding: 34px;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: center;
    box-shadow: 0 18px 40px rgba(13, 52, 40, 0.16);
}

.tool-panel .section-eyebrow {
    color: #f6cd7c;
}

.tool-intro h2 {
    margin: 0 0 12px;
    font-family: var(--font-serif);
    font-size: 27px;
    line-height: 1.3;
    color: #fff;
}

.tool-intro p {
    margin: 0 0 20px;
    color: rgba(242, 248, 245, 0.88);
    font-size: 14.5px;
}

.tool-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.th-item {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 12px;
}

.th-item strong {
    display: block;
    font-size: 14px;
    color: #fce2a6;
}

.th-item span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.82);
}

.tool-widget {
    background: #fff;
    color: var(--ink);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.calc-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.calc-field span {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
}

.ad-slot-wrap {
    max-width: 100%;
    overflow: hidden;
}

.hero-feature, .hero-sidebar, .tool-intro, .tool-widget, .dual-col, .main-col, .side-col, .season-card, .article-detail {
    min-width: 0;
    max-width: 100%;
}

.calc-field select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--bg);
    font-size: 14px;
    color: var(--ink);
    font-family: inherit;
    outline: none;
}

.calc-field select:focus {
    border-color: var(--primary);
    background: #fff;
}

.calc-result {
    background: #f4f8f5;
    border: 1px solid #d5e4db;
    border-radius: 12px;
    padding: 16px;
}

.calc-total-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #c8d9cf;
}

.calc-label {
    font-size: 12.5px;
    color: var(--ink-2);
}

.calc-label em {
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

.calc-total {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.15;
}

.calc-per {
    text-align: right;
}

.calc-per span {
    display: block;
    font-size: 12px;
    color: var(--ink-3);
}

.calc-per strong {
    font-size: 18px;
    color: var(--accent);
}

.calc-breakdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.calc-breakdown div {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    text-align: center;
}

.calc-breakdown span {
    display: block;
    font-size: 11.5px;
    color: var(--ink-3);
}

.calc-breakdown strong {
    font-size: 14px;
    color: var(--ink);
}

.calc-tip {
    margin: 0;
    font-size: 12.5px;
    color: var(--primary-dark);
}

.check-list {
    margin: 0;
    padding-left: 18px;
    color: rgba(242, 248, 245, 0.9);
    font-size: 14px;
}

.check-list li {
    margin-bottom: 8px;
}

/* Dual Section: Celebrities + Entertainment News */
.dual-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 28px;
    align-items: start;
}

.star-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.star-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow);
}

.star-card:hover {
    border-color: #bfd3c7;
}

.star-avatar {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.star-avatar-lg {
    width: 68px;
    height: 68px;
    font-size: 28px;
}

.star-avatar-xl {
    width: 78px;
    height: 78px;
    font-size: 34px;
}

.star-avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
}

.star-info {
    min-width: 0;
    flex: 1;
}

.star-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 3px;
}

.star-head h3, .star-head h2 {
    margin: 0;
    font-size: 16.5px;
}

.star-head a:hover {
    color: var(--primary);
}

.star-origin {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.star-role {
    font-size: 12.5px;
    color: var(--ink-3);
    margin-bottom: 5px;
}

.star-works {
    margin: 0;
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.5;
}

.star-summary {
    margin: 6px 0 8px;
    font-size: 13.5px;
    color: var(--ink-2);
}

.star-directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.star-card-rich {
    padding: 20px;
}

.star-hero-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

/* News List */
.news-list {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
}

.news-item {
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
}

.news-item:first-child {
    padding-top: 0;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-lead-thumb {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    margin-bottom: 12px;
}

.news-lead-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--ink-3);
    margin-bottom: 5px;
}

.news-cat {
    color: var(--accent);
    font-weight: 600;
}

.news-body h3 {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.45;
}

.news-body h3 a:hover {
    color: var(--primary);
}

.news-body p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Inner Page Banners */
.page-banner {
    background: linear-gradient(180deg, #edf4ef 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
    padding: 28px 0 26px;
}

.compact-banner {
    padding: 22px 0 22px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--ink-3);
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.page-banner h1 {
    margin: 0 0 10px;
    font-family: var(--font-serif);
    font-size: 30px;
    line-height: 1.3;
    color: var(--ink);
}

.banner-desc {
    margin: 0;
    max-width: 780px;
    color: var(--ink-2);
    font-size: 15px;
}

.banner-meta {
    margin-top: 12px;
    margin-bottom: 0;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

/* Content + Sidebar Layout */
.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.article-list-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.horizontal-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
}

.horizontal-card .card-thumb {
    aspect-ratio: auto;
    min-height: 190px;
}

.side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.side-box h3 {
    margin: 0 0 14px;
    font-size: 16.5px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.side-cta {
    background: linear-gradient(145deg, #eef6f1 0%, #ffffff 100%);
    border-color: #cfe0d6;
}

.side-cta p {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: var(--ink-2);
}

.rank-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
}

.rank-num {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rank-list li:nth-child(-n+3) .rank-num {
    background: var(--primary);
    color: #fff;
}

.rank-list a:hover {
    color: var(--primary);
}

.mini-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-card img {
    width: 82px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.mini-card strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 3px;
}

.mini-card span {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
}

.mini-card:hover strong {
    color: var(--primary);
}

.simple-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.simple-news-list li {
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.simple-news-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.simple-news-list a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.simple-news-list a:hover {
    color: var(--primary);
}

.simple-news-list span {
    font-size: 12px;
    color: var(--ink-3);
}

.star-side-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.star-side-item {
    display: flex;
    align-items: center;
    gap: 11px;
}

.star-side-item strong {
    display: block;
    font-size: 14.5px;
}

.star-side-item span {
    font-size: 12px;
    color: var(--ink-3);
}

/* Article & Detail Page */
.article-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.detail-cover {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    aspect-ratio: 16 / 9;
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fact-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    background: #f4f8f5;
    border: 1px solid #d5e4db;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.fact-item span {
    display: block;
    font-size: 12px;
    color: var(--ink-3);
    margin-bottom: 2px;
}

.fact-item strong {
    font-size: 14px;
    color: var(--ink);
    font-weight: 600;
}

.fact-item-full {
    grid-column: 1 / -1;
}

.article-content {
    font-size: 15.5px;
    line-height: 1.9;
    color: #25302b;
}

.article-content h2 {
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--ink);
}

.article-content h3 {
    margin: 20px 0 8px;
    font-size: 17px;
}

.article-content p {
    margin: 0 0 14px;
}

.art-bullet {
    position: relative;
    padding-left: 16px;
}

.bullet-dot {
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.tag-row {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--ink-3);
}

.related-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.related-section h2 {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: 21px;
}

.detail-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.detail-list-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.detail-list-card h3 {
    margin: 0 0 12px;
    font-size: 15.5px;
}

.info-guide-box {
    margin-top: 38px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
}

.info-guide-box h2 {
    margin: 0 0 18px;
    font-family: var(--font-serif);
    font-size: 22px;
}

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

.guide-cols h3 {
    margin: 0 0 8px;
    font-size: 15.5px;
    color: var(--primary);
}

.guide-cols p {
    margin: 0;
    font-size: 13.5px;
    color: var(--ink-2);
}

/* Seasonal Calendar */
.season-section {
    margin-top: 44px;
}

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

.season-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.season-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.season-head h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-dark);
}

.season-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.season-block {
    margin-bottom: 10px;
}

.season-block strong {
    font-size: 13.5px;
    color: var(--ink);
}

.season-block p {
    margin: 3px 0 0;
    font-size: 13.5px;
    color: var(--ink-2);
}

.season-tip {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 12.5px;
}

/* Search & 404 */
.search-page-form {
    display: flex;
    gap: 10px;
    max-width: 580px;
    margin-top: 14px;
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
}

.search-page-form input:focus {
    border-color: var(--primary);
}

.search-stat {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--ink-2);
}

.search-group-title {
    margin: 0 0 16px;
    font-family: var(--font-serif);
    font-size: 21px;
}

.empty-box, .notfound-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
}

.notfound-code {
    font-family: var(--font-serif);
    font-size: 64px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.notfound-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 28px;
}

.notfound-recs {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.notfound-recs h2 {
    margin: 0 0 12px;
    font-size: 16.5px;
}

.notfound-recs ul {
    margin: 0;
    padding-left: 18px;
}

.notfound-recs li {
    margin-bottom: 8px;
}

.notfound-recs a:hover {
    color: var(--primary);
}

/* Footer */
.site-footer {
    background: #122922;
    color: #c7d5ce;
    padding: 48px 0 26px;
    margin-top: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.85fr 1.25fr;
    gap: 28px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-wrap {
    display: inline-block;
    background: #ffffff;
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-desc, .footer-note {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.75;
    color: #aebfb7;
}

.footer-col h3 {
    margin: 0 0 14px;
    font-size: 15.5px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col a {
    font-size: 13.5px;
    color: #c3d3cb;
}

.footer-col a:hover {
    color: #f6cd7c;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #93a89f;
}

.footer-bottom p {
    margin: 0;
}

.footer-icp a {
    color: #dce9e2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-icp a:hover {
    color: #f6cd7c;
}

/* Responsive Breakpoints (Tested down to 375px with zero horizontal overflow) */
@media (max-width: 1060px) {
    .header-search {
        width: 165px;
    }
    .card-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tool-panel {
        grid-template-columns: 1fr;
    }
    .dual-layout {
        grid-template-columns: 1fr;
    }
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .card-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .horizontal-card {
        grid-template-columns: 1fr;
    }
    .horizontal-card .card-thumb {
        aspect-ratio: 5 / 3;
        min-height: 0;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
        padding: 12px 20px 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .main-nav.is-open {
        display: flex;
    }
    .nav-link {
        padding: 10px 14px;
        border-radius: 10px;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .header-search {
        display: none;
    }
    .guide-cols, .season-grid, .detail-lists {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 14px;
    }
    .brand-logo {
        height: 40px;
    }
    .announce-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 13px;
    }
    .hero-body {
        padding: 16px;
    }
    .hero-body h1 {
        font-size: 21px;
    }
    .hero-sidebar {
        padding: 16px;
    }
    .quick-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .section {
        padding: 28px 0;
    }
    .section-title {
        font-size: 22px;
    }
    .card-grid-2, .card-grid-3, .card-grid-4 {
        grid-template-columns: 1fr;
    }
    .tool-panel {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .tool-intro h2 {
        font-size: 22px;
    }
    .tool-highlights, .calc-row, .fact-box {
        grid-template-columns: 1fr;
    }
    .calc-breakdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .calc-total {
        font-size: 25px;
    }
    .page-banner h1 {
        font-size: 23px;
    }
    .article-detail {
        padding: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .star-hero-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
