/* 三峡之窗 (wz.cq.cn) - 本地化现代门户样式表 */
:root {
    --brand-deep: #0E4B80;
    --brand-blue: #1B75BC;
    --brand-sky: #EBF5FC;
    --brand-orange: #E86A00;
    --brand-orange-soft: #FFF4EB;
    --ink: #1A2433;
    --ink-2: #42526B;
    --ink-3: #6C7A8E;
    --bg: #F5F8FB;
    --card: #FFFFFF;
    --border: #E2E9F2;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 8px rgba(14, 75, 128, 0.05);
    --shadow-md: 0 8px 24px rgba(14, 75, 128, 0.08);
    --container: 1200px;
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

/* Header */
.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(14, 75, 128, 0.04);
}

.header-top {
    background: var(--brand-deep);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12.5px;
    padding: 6px 0;
}

.header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.header-quick-links {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-quick-links a {
    color: rgba(255, 255, 255, 0.92);
}

.header-quick-links a:hover {
    color: #FFD2A6;
}

.header-quick-links .sep {
    opacity: 0.4;
}

.header-main {
    padding: 10px 0;
}

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

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

.brand-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    padding: 7px 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 7px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-blue);
    background: var(--brand-sky);
}

.nav-link.nav-accent {
    color: var(--brand-orange);
    font-weight: 600;
}

.nav-link.nav-accent:hover,
.nav-link.nav-accent.active {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
}

.header-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #F8FAFD;
    overflow: hidden;
    flex-shrink: 0;
    width: 215px;
}

.header-search input {
    border: none;
    background: transparent;
    padding: 7px 12px;
    font-size: 13px;
    color: var(--ink);
    width: 100%;
    min-width: 0;
    outline: none;
}

.header-search button {
    border: none;
    background: var(--brand-blue);
    color: #fff;
    padding: 7px 14px;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
}

.header-search button:hover {
    background: var(--brand-deep);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: var(--brand-sky);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

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

.mobile-drawer {
    border-top: 1px solid var(--border);
    background: var(--card);
    padding: 14px 0 18px;
}

.mobile-drawer[hidden] {
    display: none;
}

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

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
}

.mobile-search button {
    padding: 9px 16px;
    border: none;
    border-radius: 8px;
    background: var(--brand-blue);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

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

.mobile-nav-grid a {
    text-align: center;
    padding: 9px 6px;
    font-size: 13.5px;
    font-weight: 500;
    background: #F6F9FC;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--ink);
}

.mobile-nav-grid a.active {
    background: var(--brand-sky);
    color: var(--brand-blue);
    border-color: #B8D8F2;
}

/* Mandatory Top Announcement Banner */
.announce-bar {
    background: linear-gradient(90deg, #FFF7EE 0%, #EFF7FE 100%);
    border-bottom: 1px solid #DFECF7;
    padding: 10px 0;
}

.announce-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.announce-badge {
    display: inline-block;
    flex-shrink: 0;
    background: var(--brand-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

.announce-text {
    margin: 0;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.5;
}

/* Main & Sections */
.site-main {
    padding-bottom: 56px;
}

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

.section-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    position: relative;
    padding-left: 12px;
}

.section-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-orange));
}

.section-head h2 a {
    color: var(--ink);
}

.section-head h2 a:hover {
    color: var(--brand-blue);
}

.section-sub {
    margin: 4px 0 0 12px;
    font-size: 13.5px;
    color: var(--ink-3);
}

.section-more {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-blue);
    white-space: nowrap;
}

/* Hero Section */
.hero-section {
    padding: 24px 0 12px;
}

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

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

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

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

.hero-lead:hover .hero-lead-media img {
    transform: scale(1.025);
}

.hero-cat-pill {
    position: absolute;
    left: 14px;
    top: 14px;
    background: rgba(14, 75, 128, 0.9);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 999px;
}

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

.hero-lead-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.35;
}

.hero-lead-title a {
    color: var(--ink);
}

.hero-lead-title a:hover {
    color: var(--brand-blue);
}

.hero-lead-summary {
    margin: 0 0 14px;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.7;
    flex: 1;
}

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

.tag-chip {
    display: inline-block;
    background: var(--brand-sky);
    color: var(--brand-deep);
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.mini-cat {
    display: inline-block;
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

.hero-side {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.hero-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--brand-sky);
}

.hero-side-head h2 {
    margin: 0;
    font-size: 17px;
    color: var(--brand-deep);
}

.hero-side-head a {
    font-size: 13px;
    font-weight: 600;
}

.hero-sub-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    justify-content: space-between;
}

.hero-sub-item {
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

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

.hero-sub-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 12px;
    color: var(--ink-3);
}

.hero-sub-item h3 {
    margin: 0 0 4px;
    font-size: 15.5px;
    line-height: 1.4;
}

.hero-sub-item h3 a {
    color: var(--ink);
}

.hero-sub-item h3 a:hover {
    color: var(--brand-blue);
}

.hero-sub-item p {
    margin: 0;
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.5;
}

/* Snapshot Strip */
.snapshot-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.snapshot-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand-blue);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.snapshot-card:nth-child(2n) {
    border-top-color: var(--brand-orange);
}

.snapshot-label {
    font-size: 12px;
    color: var(--ink-3);
}

.snapshot-val {
    font-size: 16px;
    color: var(--brand-deep);
    font-weight: 700;
}

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

/* Interactive Workbench */
.workbench-section {
    padding: 26px 0 10px;
}

.workbench-card,
.tool-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tool-box {
    padding: 24px;
    margin-bottom: 24px;
}

.tool-box-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.tool-box-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
    color: var(--brand-deep);
}

.tool-box-head p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-3);
}

.wb-tabs {
    display: flex;
    background: #F1F6FB;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.wb-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.18s ease;
}

.wb-tab:hover {
    color: var(--brand-deep);
    background: rgba(255, 255, 255, 0.55);
}

.wb-tab.active {
    color: var(--brand-deep);
    background: var(--card);
    border-bottom-color: var(--brand-orange);
}

.wb-panel {
    display: none;
    padding: 22px;
}

.wb-panel.active {
    display: block;
}

.calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.field-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field-row label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
}

.field-row input,
.field-row select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid #CFDCEB;
    border-radius: 8px;
    font-size: 14px;
    color: var(--ink);
    background: #FCFDFE;
    text-overflow: ellipsis;
}

.field-row input:focus,
.field-row select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(27, 117, 188, 0.12);
}

.check-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.check-pills label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #F8FBFE;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.check-pills input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.calc-result {
    background: linear-gradient(135deg, #F4F9FE 0%, #FFF9F3 100%);
    border: 1px solid #D9E8F6;
    border-radius: var(--radius);
    padding: 18px 20px;
}

.res-badge {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-deep);
    background: #E2F0FC;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

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

.res-item {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #E5EEF7;
    border-radius: 8px;
    padding: 11px 12px;
}

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

.res-item strong {
    font-size: 15.5px;
    color: var(--ink);
}

.res-item strong.accent-val {
    color: var(--brand-orange);
    font-size: 16.5px;
}

.res-note {
    margin: 0;
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.6;
}

/* Season Calendar */
.season-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13.5px;
    color: var(--ink-2);
}

.season-btn {
    border: 1px solid var(--border);
    background: #F6F9FC;
    color: var(--ink-2);
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
}

.season-btn.active,
.season-btn:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

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

.season-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px 16px;
    background: #FCFDFE;
}

.season-card.hidden-card {
    display: none;
}

.s-month {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-orange);
    background: var(--brand-orange-soft);
    padding: 2px 9px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.season-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--brand-deep);
}

.season-card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.6;
}

/* Channels Section */
.channels-section {
    padding: 20px 0 8px;
}

.channel-block {
    margin-top: 32px;
}

.article-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.art-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.art-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.art-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #E2EDF7;
}

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

.art-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(15, 39, 68, 0.82);
    color: #fff;
    font-size: 11.5px;
    padding: 2px 8px;
    border-radius: 4px;
}

.art-body {
    padding: 14px 15px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.art-title {
    margin: 0 0 8px;
    font-size: 15.5px;
    line-height: 1.45;
}

.art-title a {
    color: var(--ink);
}

.art-title a:hover {
    color: var(--brand-blue);
}

.art-summary {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.6;
    flex: 1;
}

.art-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #7E8CA0;
    border-top: 1px solid #F0F4F9;
    padding-top: 9px;
}

/* District Table */
.district-table-card {
    margin-top: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}

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

.dt-head h3 {
    margin: 0;
    font-size: 16.5px;
    color: var(--brand-deep);
}

.dt-head a {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

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

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    min-width: 640px;
}

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

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

.data-table tbody tr:hover {
    background: #FAFCFF;
}

/* Community Q&A + Directory */
.community-section {
    padding-top: 34px;
}

.community-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.qa-list,
.qa-full-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qa-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    box-shadow: var(--shadow-sm);
}

.qa-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
}

.qa-item summary::-webkit-details-marker {
    display: none;
}

.qa-topic {
    flex-shrink: 0;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--brand-sky);
    color: var(--brand-deep);
}

.qa-a {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.75;
}

.dir-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}

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

.dir-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #EFF3F8;
}

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

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

.dir-cat {
    font-size: 11.5px;
    padding: 2px 7px;
    border-radius: 4px;
    background: #F1F6FC;
    color: var(--brand-blue);
    white-space: nowrap;
}

.dir-contact {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-orange);
    margin-bottom: 2px;
}

.dir-note {
    margin: 0;
    font-size: 12.5px;
    color: var(--ink-3);
}

.dir-grid-full {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dir-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    background: #FCFDFE;
}

/* Inner Page Banners & Two-Column Layouts */
.page-banner {
    background: linear-gradient(120deg, #0E4B80 0%, #1B75BC 100%);
    color: #fff;
    padding: 28px 0 30px;
    margin-bottom: 26px;
}

.page-banner .breadcrumb,
.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.page-banner h1 {
    margin: 8px 0 8px;
    font-size: 28px;
    line-height: 1.3;
}

.banner-desc {
    margin: 0;
    max-width: 780px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.9);
}

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

.two-col-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

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

.list-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 14px;
    box-shadow: var(--shadow-sm);
}

.list-thumb {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #E2EDF7;
}

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

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

.list-body h2 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.4;
}

.list-body h2 a {
    color: var(--ink);
}

.list-body h2 a:hover {
    color: var(--brand-blue);
}

.list-body p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.65;
}

.read-more-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-blue);
}

/* Sidebar Widgets */
.side-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.side-widget h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--brand-deep);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--brand-sky);
}

.highlight-widget {
    background: linear-gradient(135deg, #F0F7FE 0%, #FFF7EE 100%);
    border-color: #D2E4F5;
}

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

.tool-quick-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-quick-list a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    background: #F6F9FD;
    border: 1px solid var(--border);
    font-size: 13.5px;
    font-weight: 500;
}

.tool-quick-list a:hover {
    background: var(--brand-sky);
    border-color: #B4D5F0;
}

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

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

.rank-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #EEF3F9;
    color: var(--ink-2);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.rank-num.top {
    background: var(--brand-orange);
    color: #fff;
}

.cat-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-pill-cloud a {
    padding: 6px 12px;
    border-radius: 999px;
    background: #F5F8FC;
    border: 1px solid var(--border);
    font-size: 13px;
}

.cat-pill-cloud a.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

/* Article Detail */
.article-wrap {
    padding-top: 24px;
}

.article-main {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}

.article-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.article-header h1 {
    margin: 0 0 12px;
    font-size: 27px;
    line-height: 1.38;
    color: var(--ink);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--ink-3);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.article-summary-box {
    margin: 18px 0;
    padding: 14px 16px;
    background: #F4F9FE;
    border-left: 4px solid var(--brand-blue);
    border-radius: 0 8px 8px 0;
    font-size: 14.5px;
    color: var(--ink-2);
    line-height: 1.7;
}

.article-cover {
    margin: 0 0 22px;
    border-radius: 10px;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: #233044;
}

.article-content h2 {
    margin: 26px 0 12px;
    font-size: 20px;
    color: var(--brand-deep);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.article-content h3 {
    margin: 20px 0 8px;
    font-size: 17px;
    color: var(--ink);
}

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

.article-content ul,
.article-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.article-content li {
    margin-bottom: 7px;
}

.article-content .tip-callout {
    background: var(--brand-orange-soft);
    border: 1px solid #F9DAC0;
    border-radius: 8px;
    padding: 13px 16px;
    margin: 18px 0;
    font-size: 14.5px;
    color: #5C320E;
}

.article-disclaimer {
    margin-top: 28px;
    padding: 14px 16px;
    background: #F7F9FC;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.65;
}

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

.related-box h2 {
    margin: 0 0 14px;
    font-size: 18px;
    color: var(--brand-deep);
}

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

.related-item {
    display: block;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #FAFBFD;
}

.related-item:hover {
    border-color: var(--brand-blue);
    background: #F4F9FE;
}

.related-item h3 {
    margin: 8px 0 5px;
    font-size: 15px;
    color: var(--ink);
    line-height: 1.4;
}

.related-item p {
    margin: 0;
    font-size: 12.5px;
    color: var(--ink-3);
}

/* Buttons, Filter, Search, Pagination, About, 404 */
.btn-primary,
.btn-primary-full,
.btn-outline,
.btn-outline-full {
    display: inline-block;
    text-align: center;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

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

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

.btn-outline,
.btn-outline-full {
    background: #fff;
    border: 1px solid var(--brand-blue);
    color: var(--brand-blue);
}

.btn-outline:hover,
.btn-outline-full:hover {
    background: var(--brand-sky);
}

.btn-primary-full,
.btn-outline-full {
    display: block;
    width: 100%;
}

.topic-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.topic-filter a {
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--ink-2);
}

.topic-filter a.active,
.topic-filter a:hover {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

.big-search-form {
    display: flex;
    gap: 10px;
    max-width: 680px;
    margin-top: 14px;
}

.big-search-form input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
}

.big-search-form button {
    padding: 11px 22px;
    border: none;
    border-radius: 8px;
    background: var(--brand-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.hot-search-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.hot-search-tags a {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    padding: 3px 10px;
    border-radius: 999px;
}

.hot-search-tags a:hover {
    background: rgba(255, 255, 255, 0.28);
}

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

.sub-block-title {
    margin: 28px 0 14px;
    font-size: 19px;
    color: var(--brand-deep);
}

.empty-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    color: var(--ink-2);
}

.pagination {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.pagination a {
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card);
    font-size: 14px;
}

.pagination a.active {
    background: var(--brand-blue);
    color: #fff;
    border-color: var(--brand-blue);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.about-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 30px;
    box-shadow: var(--shadow-sm);
}

.about-card h2 {
    margin: 20px 0 10px;
    font-size: 19px;
    color: var(--brand-deep);
}

.about-card h2:first-child {
    margin-top: 0;
}

.about-card p,
.clean-bullets li {
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.8;
}

.not-found-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 52px 24px;
    text-align: center;
    margin-top: 24px;
}

.nf-code {
    font-size: 64px;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
}

.nf-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer */
.site-footer {
    background: #102A43;
    color: rgba(255, 255, 255, 0.84);
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1.3fr;
    gap: 28px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-wrap {
    display: inline-block;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.footer-desc,
.footer-tip {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.74);
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13.5px;
}

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

.footer-bottom {
    padding: 16px 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
}

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

.beian-wrap a {
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.beian-wrap a:hover {
    color: #FFB97A;
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
    .header-search {
        width: 170px;
    }
    .nav-link {
        padding: 6px 8px;
        font-size: 14px;
    }
    .article-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .snapshot-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .main-nav,
    .header-search {
        display: none;
    }
    .mobile-menu-btn {
        display: inline-flex;
    }
    .hero-grid,
    .calc-grid,
    .community-grid,
    .two-col-layout,
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .calc-controls,
    .calc-result,
    .district-table-card,
    .qa-panel,
    .dir-panel,
    .main-col,
    .side-col,
    .article-main {
        min-width: 0;
        max-width: 100%;
    }
    .season-grid,
    .dir-grid-full {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 14px;
    }
    .header-top {
        display: none;
    }
    .brand-logo img {
        height: 42px;
    }
    .announce-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
    .hero-lead-title {
        font-size: 20px;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .section-head h2 {
        font-size: 19px;
    }
    .snapshot-strip,
    .article-grid-4,
    .season-grid,
    .dir-grid-full,
    .field-pair,
    .res-metrics,
    .related-grid,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .list-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .article-main {
        padding: 18px 16px;
    }
    .article-header h1,
    .page-banner h1 {
        font-size: 22px;
    }
    .tool-box,
    .wb-panel {
        padding: 16px;
    }
    .big-search-form {
        flex-direction: column;
    }
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
