/* ============================================================
   土特产网 (www.hnstc.com.cn) — Local Design System
   Zero external CDN dependencies | Mobile-first 375px safe
   ============================================================ */

:root {
    --brand-deep: #0F2940;
    --brand-primary: #0284C7;
    --brand-primary-dark: #0369A1;
    --brand-sky: #F0F9FF;
    --accent-amber: #B45309;
    --accent-amber-bg: #FEF3C7;
    --accent-green: #15803D;
    --accent-green-bg: #DCFCE7;
    --bg-page: #F6F8FA;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --text-main: #1E293B;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border-light: #E2E8F0;
    --border-strong: #CBD5E1;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px rgba(15, 41, 64, 0.06), 0 1px 2px rgba(15, 41, 64, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 41, 64, 0.08);
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: clip;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    color: var(--brand-primary-dark);
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

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

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

.site-main {
    flex: 1 0 auto;
}

/* ==================== Header ==================== */
.site-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(15, 41, 64, 0.04);
}

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

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

.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--brand-sky);
    color: var(--brand-primary-dark);
}

.nav-link.is-active {
    background: var(--brand-sky);
    color: var(--brand-primary-dark);
    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-subtle);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    padding: 2px 4px 2px 14px;
    width: 220px;
    transition: border-color 0.2s, background-color 0.2s;
}

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

.header-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.875rem;
    color: var(--text-main);
    font-family: inherit;
    min-width: 0;
}

.header-search button {
    border: none;
    background: var(--brand-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(--brand-primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--brand-deep);
    border-radius: 2px;
}

.mobile-drawer {
    border-top: 1px solid var(--border-light);
    background: #fff;
    padding: 16px 0 20px;
}

.mobile-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
}

.mobile-search button {
    padding: 10px 18px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--brand-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-links a {
    padding: 10px 12px;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.92rem;
    text-align: center;
}

.mobile-links a.is-active {
    background: var(--brand-sky);
    color: var(--brand-primary-dark);
    font-weight: 600;
}

/* ==================== Announcement Banner ==================== */
.announce-bar {
    background: linear-gradient(90deg, #0F2940 0%, #15446B 55%, #0369A1 100%);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.announce-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 0.9rem;
}

.announce-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.16);
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.announce-text {
    margin: 0;
    flex: 1;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.announce-cta {
    color: #BAE6FD;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.announce-cta:hover {
    color: #FFFFFF;
}

/* ==================== Hero Section ==================== */
.hero-section {
    background: radial-gradient(circle at 90% 10%, rgba(2, 132, 199, 0.10), transparent 45%),
                radial-gradient(circle at 10% 90%, rgba(180, 83, 9, 0.07), transparent 40%),
                #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 40px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: var(--brand-sky);
    color: var(--brand-primary-dark);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-title {
    margin: 0 0 14px;
    font-size: 2.15rem;
    line-height: 1.25;
    color: var(--brand-deep);
    letter-spacing: -0.01em;
}

.hero-subtitle {
    margin: 0 0 22px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.hero-search-form {
    display: flex;
    gap: 10px;
    background: #fff;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.hero-search-form:focus-within {
    border-color: var(--brand-primary);
}

.hero-search-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 0.98rem;
    font-family: inherit;
    color: var(--text-main);
}

.hero-search-form button {
    border: none;
    background: var(--brand-primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    flex-shrink: 0;
}

.hero-search-form button:hover {
    background: var(--brand-primary-dark);
}

.hero-hot-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-hot-tags a {
    background: var(--bg-subtle);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
}

.hero-hot-tags a:hover {
    background: var(--brand-sky);
    color: var(--brand-primary-dark);
}

.hero-stats-panel {
    background: linear-gradient(155deg, #0F2940 0%, #163C5E 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-md);
}

.hero-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 8px;
}

.hero-stats-header h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.season-pill {
    background: rgba(254, 243, 199, 0.2);
    color: #FDE68A;
    border: 1px solid rgba(253, 230, 138, 0.35);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.hero-season-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-season-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #FFFFFF;
}

.hero-season-item:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

.hero-season-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-season-meta {
    font-size: 0.8rem;
    color: #CBD5E1;
}

.hero-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
}

.kpi-num {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #7DD3FC;
    line-height: 1.2;
}

.kpi-label {
    font-size: 0.76rem;
    color: #CBD5E1;
}

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

.section-alt {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.section-title {
    margin: 0 0 4px;
    font-size: 1.45rem;
    color: var(--brand-deep);
    line-height: 1.3;
}

.section-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.more-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary-dark);
    white-space: nowrap;
}

/* ==================== Category Cards ==================== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.cat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
}

.cat-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    color: var(--brand-deep);
}

.cat-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-subtle);
}

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

.cat-card:hover .cat-thumb img {
    transform: scale(1.05);
}

.cat-body {
    padding: 12px 14px 14px;
}

.cat-name {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-deep);
}

.cat-sub {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ==================== Province Directory Explorer ==================== */
.region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.region-tab {
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.region-tab.is-active,
.region-tab:hover {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: #fff;
}

.province-pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.prov-pill {
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-main);
}

.prov-pill:hover {
    border-color: var(--brand-primary);
    background: var(--brand-sky);
}

.prov-pill-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.prov-pill-name {
    font-weight: 700;
    color: var(--brand-deep);
    font-size: 0.96rem;
}

.prov-pill-count {
    font-size: 0.75rem;
    background: var(--bg-subtle);
    color: var(--text-muted);
    padding: 1px 7px;
    border-radius: 999px;
}

.prov-pill-sig {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== Specialty Cards ==================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spec-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.spec-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.spec-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.5;
}

.badge-blue {
    background: var(--brand-sky);
    color: var(--brand-primary-dark);
}

.badge-green {
    background: var(--accent-green-bg);
    color: var(--accent-green);
}

.badge-amber {
    background: var(--accent-amber-bg);
    color: var(--accent-amber);
}

.badge-gray {
    background: var(--bg-subtle);
    color: var(--text-secondary);
}

.spec-card-title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    line-height: 1.35;
}

.spec-card-title a {
    color: var(--brand-deep);
}

.spec-card-title a:hover {
    color: var(--brand-primary);
}

.spec-origin {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0 0 10px;
}

.spec-summary {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.spec-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.spec-std {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.78rem;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    padding: 2px 7px;
    border-radius: 4px;
}

/* ==================== Tool Banner & Cards ==================== */
.tool-promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tool-promo-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.tool-promo-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: var(--brand-deep);
}

.tool-promo-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
    text-align: center;
}

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

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

.btn-outline {
    background: #fff;
    color: var(--brand-deep);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary-dark);
}

/* ==================== Guide Cards ==================== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.guide-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.guide-title {
    margin: 0 0 10px;
    font-size: 1.08rem;
    line-height: 1.45;
}

.guide-title a {
    color: var(--brand-deep);
}

.guide-excerpt {
    margin: 0 0 14px;
    font-size: 0.89rem;
    color: var(--text-secondary);
    flex: 1;
}

.guide-readmore {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--brand-primary-dark);
}

/* ==================== Page Header & Breadcrumbs ==================== */
.page-banner {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    border-bottom: 1px solid var(--border-light);
    padding: 28px 0 30px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--text-secondary);
}

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

.page-title {
    margin: 0 0 10px;
    font-size: 1.85rem;
    color: var(--brand-deep);
    line-height: 1.3;
}

.page-lead {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text-secondary);
    max-width: 780px;
}

/* ==================== Specialty Detail Layout ==================== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 28px;
    align-items: start;
}

.detail-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}

.detail-card h2 {
    margin: 0 0 14px;
    font-size: 1.22rem;
    color: var(--brand-deep);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.fact-box {
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.fact-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.fact-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-deep);
    word-break: break-word;
}

/* 12-month visual timeline */
.month-bar {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
    margin-top: 10px;
}

.month-cell {
    text-align: center;
    padding: 7px 2px;
    border-radius: 6px;
    font-size: 0.76rem;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-weight: 500;
}

.month-cell.is-active {
    background: var(--accent-green);
    color: #fff;
    font-weight: 700;
}

.month-cell.is-now {
    outline: 2px solid var(--brand-primary);
    outline-offset: 1px;
}

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

.check-list li {
    position: relative;
    padding: 12px 14px 12px 40px;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.94rem;
    color: var(--text-main);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 13px;
    top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-green-bg);
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-box h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    color: var(--brand-deep);
}

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

.sidebar-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--bg-page);
    color: var(--text-main);
    font-size: 0.9rem;
}

.sidebar-list a:hover {
    background: var(--brand-sky);
    color: var(--brand-primary-dark);
}

/* ==================== Season Page ==================== */
.month-nav {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 8px;
    margin-bottom: 26px;
}

.month-btn {
    text-align: center;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: #fff;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.88rem;
}

.month-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary-dark);
}

.month-btn.is-active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

/* ==================== Interactive Tools Page ==================== */
.tool-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 26px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-sm);
}

.tool-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--brand-deep);
    margin-bottom: 6px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-main);
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 600px;
}

.data-table th,
.data-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    background: var(--bg-subtle);
    color: var(--brand-deep);
    font-weight: 600;
    white-space: nowrap;
}

/* ==================== Article Prose ==================== */
.article-prose {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-main);
}

.article-prose h2 {
    margin: 28px 0 12px;
    font-size: 1.3rem;
    color: var(--brand-deep);
    padding-left: 12px;
    border-left: 4px solid var(--brand-primary);
}

.article-prose h3 {
    margin: 20px 0 8px;
    font-size: 1.08rem;
    color: var(--brand-deep);
}

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

.article-prose ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.article-prose li {
    margin-bottom: 6px;
}

.callout-box {
    background: var(--brand-sky);
    border-left: 4px solid var(--brand-primary);
    padding: 16px 18px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 18px 0;
    font-size: 0.93rem;
}

/* ==================== Filter Bar ==================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
}

.filter-chip {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

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

/* ==================== Footer ==================== */
.site-footer {
    background: #0F2940;
    color: #CBD5E1;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr 1.3fr 1fr;
    gap: 32px;
    padding-top: 44px;
    padding-bottom: 36px;
}

.footer-logo-wrap {
    display: inline-block;
    background: #FFFFFF;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.footer-desc {
    margin: 0 0 10px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #CBD5E1;
}

.footer-note {
    margin: 0;
    font-size: 0.8rem;
    color: #94A3B8;
}

.footer-col h4 {
    margin: 0 0 14px;
    color: #FFFFFF;
    font-size: 0.98rem;
}

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

.footer-prov-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px !important;
}

.footer-col a {
    color: #CBD5E1;
    font-size: 0.87rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    font-size: 0.84rem;
    color: #94A3B8;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.beian-link {
    color: #E2E8F0;
}

.beian-link:hover {
    color: #7DD3FC;
    text-decoration: underline;
}

/* ==================== Responsive Breakpoints ==================== */
@media (max-width: 1080px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .header-search {
        width: 180px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav,
    .header-search {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-grid,
    .detail-layout,
    .tool-promo-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .card-grid,
    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tool-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .month-nav {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.hero-grid > *,
.detail-layout > *,
.tool-promo-grid > *,
.card-grid > *,
.guide-grid > *,
.tool-form-grid > *,
.fact-grid > *,
.footer-grid > *,
.cat-grid > *,
.province-pill-grid > *,
.hero-season-item > div {
    min-width: 0;
}

.season-pill {
    flex-shrink: 0;
    white-space: nowrap;
}

.hero-kicker {
    max-width: 100%;
    white-space: normal;
}

.detail-card,
.tool-panel,
.sidebar-box,
.spec-card,
.guide-card {
    max-width: 100%;
    overflow-wrap: break-word;
}

@media (max-width: 600px) {
    .container {
        padding: 0 14px;
    }
    .header-inner {
        min-height: 60px;
    }
    .site-logo {
        height: 40px;
    }
    .announce-inner {
        flex-wrap: wrap;
        gap: 6px 10px;
        font-size: 0.84rem;
    }
    .announce-cta {
        display: none;
    }
    .hero-section {
        padding: 26px 0 30px;
    }
    .hero-title {
        font-size: 1.55rem;
    }
    .hero-search-form {
        flex-direction: column;
        gap: 8px;
    }
    .hero-search-form button {
        width: 100%;
    }
    .section {
        padding: 28px 0;
    }
    .section-title {
        font-size: 1.25rem;
    }
    .cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .card-grid,
    .guide-grid,
    .tool-form-grid,
    .fact-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .province-pill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .month-nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .month-bar {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .detail-card,
    .tool-panel {
        padding: 18px 16px;
    }
    .page-title {
        font-size: 1.45rem;
    }
    .footer-sep {
        display: none;
    }
}
