:root {
  --ink: #16231f;
  --muted-ink: #52625c;
  --faint-ink: #73817c;
  --paper: #fff;
  --canvas: #f5f8f6;
  --tint: #eaf5f1;
  --line: #dfe8e4;
  --primary: #0f766e;
  --primary-dark: #0b5f59;
  --accent: #d97706;
  --dark: #0d2825;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 16px 48px rgba(23, 52, 43, .08);
  --shell: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif; font-size: 16px; line-height: 1.75; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid rgba(15,118,110,.35); outline-offset: 3px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow { max-width: 900px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: #fff; background: var(--dark); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.utility-bar { color: #d8e9e4; background: var(--dark); font-size: 12px; }
.utility-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.masthead { min-height: 92px; display: grid; grid-template-columns: 300px minmax(320px, 580px) 44px; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--primary); box-shadow: 0 10px 24px rgba(15,118,110,.2); }
.brand-mark svg { width: 27px; fill: currentColor; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 22px; line-height: 1.25; letter-spacing: .04em; }
.brand small { margin-top: 2px; color: var(--faint-ink); font-size: 12px; }
.header-search { height: 48px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); overflow: hidden; }
.header-search:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,118,110,.08); }
.header-search svg { width: 20px; margin-left: 16px; fill: none; stroke: var(--muted-ink); stroke-width: 1.8; stroke-linecap: round; }
.header-search input { min-width: 0; flex: 1; height: 100%; padding: 0 12px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.header-search button { height: 100%; padding: 0 22px; border: 0; color: #fff; background: var(--primary); cursor: pointer; }
.header-search button:hover { background: var(--primary-dark); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-button svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.main-nav { border-block: 1px solid var(--line); background: rgba(255,255,255,.96); }
.nav-row { min-height: 54px; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav-row a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 17px; border-radius: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav-row a:hover { color: var(--primary); background: var(--tint); }
.mobile-nav { display: none; }

/* Home page: compact search-first information architecture */
.home-hero { position: relative; overflow: hidden; padding: 58px 0 64px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 87% 13%, rgba(15,118,110,.11), transparent 25%), linear-gradient(135deg, #f4fbf8 0%, #fff 60%, #fbf7ef 100%); }
.home-hero::after { content: ""; position: absolute; right: -90px; bottom: -210px; width: 420px; height: 420px; border: 70px solid rgba(217,119,6,.04); border-radius: 50%; pointer-events: none; }
.home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: center; gap: 64px; }
.home-hero h1 { max-width: 720px; margin: 12px 0 16px; font-size: clamp(31px, 3.4vw, 43px); line-height: 1.35; letter-spacing: 0; text-wrap: balance; }
.home-hero h1 span { color: var(--primary); }
.home-hero-copy > p { max-width: 680px; margin: 0; color: var(--muted-ink); font-size: 17px; }
.home-search { max-width: 720px; margin-top: 26px; }
.home-search > label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.home-search > div { min-height: 58px; display: flex; align-items: center; padding: 5px; border: 1px solid #c6d8d1; border-radius: 15px; background: #fff; box-shadow: 0 16px 40px rgba(23,52,43,.09); }
.home-search > div:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,118,110,.09), 0 16px 40px rgba(23,52,43,.08); }
.home-search svg { width: 21px; flex: 0 0 21px; margin-left: 13px; fill: none; stroke: var(--muted-ink); stroke-width: 1.8; stroke-linecap: round; }
.home-search input { min-width: 0; flex: 1; min-height: 46px; padding: 0 13px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.home-search button { min-height: 46px; padding: 0 23px; border: 0; border-radius: 10px; color: #fff; background: var(--primary); font-weight: 700; cursor: pointer; transition: background .18s ease; }
.home-search button:hover { background: var(--primary-dark); }
.home-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin-top: 13px; color: var(--faint-ink); font-size: 13px; }
.home-popular span { font-weight: 600; }
.home-popular a { min-height: 32px; display: inline-flex; align-items: center; color: var(--primary); }
.home-popular a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-overview { padding: 23px; border: 1px solid rgba(15,118,110,.16); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.home-overview-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.home-overview-head strong { font-size: 16px; }
.home-overview-head span { color: var(--primary); font-size: 12px; font-weight: 700; }
.home-overview-head span::before { content: ""; width: 6px; height: 6px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.11); vertical-align: 1px; }
.home-stat-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 15px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.home-stat-grid div { padding: 15px 13px; background: #fff; }
.home-stat-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.home-stat-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.home-stat-grid strong, .home-stat-grid span { display: block; }
.home-stat-grid strong { font-size: 22px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.home-stat-grid span { margin-top: 3px; color: var(--faint-ink); font-size: 12px; }
.home-overview p { margin: 0; color: var(--muted-ink); font-size: 12px; line-height: 1.75; }

.quick-services { border-bottom: 1px solid var(--line); background: #fff; }
.quick-service-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.quick-service { min-width: 0; min-height: 96px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 16px; align-items: center; gap: 11px; padding: 15px 18px; border-left: 1px solid var(--line); transition: color .18s ease, background .18s ease; }
.quick-service:last-child { border-right: 1px solid var(--line); }
.quick-service:hover { color: var(--primary); background: var(--tint); }
.quick-service-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--primary); background: var(--tint); }
.quick-service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-service strong, .quick-service small { display: block; overflow-wrap: anywhere; }
.quick-service strong { color: var(--ink); font-size: 14px; line-height: 1.45; }
.quick-service small { margin-top: 2px; color: var(--faint-ink); font-size: 11px; white-space: nowrap; }
.quick-service-arrow { color: #94a29d; font-size: 16px; transition: transform .18s ease; }
.quick-service:hover .quick-service-arrow { color: var(--primary); transform: translateX(2px); }

.home-channels { padding-block: 62px 66px; }
.section-note { max-width: 450px; margin: 0; color: var(--muted-ink); font-size: 14px; text-align: right; }
.compact-channels { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.compact-channel { position: relative; min-width: 0; min-height: 166px; display: grid; grid-template-rows: auto 1fr auto; padding: 20px 21px 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: color .18s ease, background .18s ease; }
.compact-channel:nth-child(4n) { border-right: 0; }
.compact-channel:hover { color: #fff; background: var(--primary); }
.compact-channel-index { color: var(--primary); font-family: ui-monospace, monospace; font-size: 11px; font-weight: 800; }
.compact-channel h3 { margin: 15px 0 4px; font-size: 18px; line-height: 1.4; }
.compact-channel p { margin: 0; color: var(--muted-ink); font-size: 12px; line-height: 1.65; }
.compact-channel-count { margin-top: 12px; color: var(--faint-ink); font-size: 11px; }
.compact-channel:hover .compact-channel-index, .compact-channel:hover p, .compact-channel:hover .compact-channel-count { color: rgba(255,255,255,.78); }

.province-section { padding-block: 60px 64px; }
.province-primary, .province-extra { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.province-primary a, .province-extra a { min-width: 0; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font-size: 14px; font-weight: 600; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.province-primary a:hover, .province-extra a:hover { color: var(--primary); border-color: #9fc7b9; background: #fbfffd; }
.province-primary b, .province-extra b { color: var(--primary); font-size: 15px; font-weight: 500; }
.province-more { margin-top: 18px; }
.province-more summary { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--primary); border: 1px dashed #a8c7bc; border-radius: 10px; background: rgba(255,255,255,.68); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.province-more summary::-webkit-details-marker { display: none; }
.province-more summary span { font-size: 17px; transition: transform .18s ease; }
.province-more[open] summary span { transform: rotate(45deg); }
.province-extra { margin-top: 12px; }

.home-information { padding-block: 66px 72px; }
.home-news-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 44px; align-items: start; }
.lead-story { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.lead-story-image { aspect-ratio: 16 / 8.6; display: block; overflow: hidden; background: var(--tint); }
.lead-story-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.lead-story:hover .lead-story-image > img { transform: scale(1.02); }
.lead-story-body { padding: 23px 25px 25px; }
.lead-story h3 { margin: 10px 0 8px; font-size: 23px; line-height: 1.48; text-wrap: pretty; }
.lead-story h3 a:hover { color: var(--primary); }
.lead-story p { margin: 0 0 14px; color: var(--muted-ink); font-size: 14px; }
.home-news-list { border-top: 2px solid var(--ink); }
.home-news-item { padding: 15px 2px 16px; border-bottom: 1px solid var(--line); }
.home-news-item > div { display: flex; justify-content: space-between; gap: 16px; color: var(--faint-ink); font-size: 11px; }
.home-news-tag { color: var(--primary); font-weight: 800; }
.home-news-item h3 { margin: 5px 0 0; font-size: 16px; line-height: 1.55; font-weight: 650; }
.home-news-item h3 a:hover { color: var(--primary); }

.home-featured { padding-block: 62px 70px; background: linear-gradient(135deg, #0c2925 0%, #103530 100%); }
.home-featured .section-kicker, .home-featured .text-link { color: #8addd1; }
.featured-compact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.featured-compact { min-height: 184px; display: flex; flex-direction: column; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.035); transition: background .18s ease, border-color .18s ease; }
.featured-compact:hover { border-color: rgba(138,221,209,.5); background: rgba(255,255,255,.075); }
.featured-compact > span { color: #8addd1; font-size: 11px; font-weight: 800; }
.featured-compact h3 { margin: 17px 0 8px; font-size: 17px; line-height: 1.55; }
.featured-compact p { margin: auto 0 0; color: #bfd2cc; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12px; line-height: 1.7; }

.hero { position: relative; overflow: hidden; padding: 78px 0 82px; background: linear-gradient(135deg, #f4fbf8 0%, #fff 54%, #f8f3e8 100%); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -280px; border: 90px solid rgba(15,118,110,.05); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 72px; }
.eyebrow, .section-kicker { display: inline-flex; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.hero h1 { max-width: 760px; margin: 16px 0 22px; font-size: clamp(32px, 4vw, 46px); line-height: 1.35; letter-spacing: 0; text-wrap: balance; }
.hero h1 span { color: var(--primary); }
.hero-copy > p { max-width: 690px; margin: 0; color: var(--muted-ink); font-size: 18px; }
.hero-search { max-width: 720px; margin-top: 32px; }
.hero-search > label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 700; }
.hero-search > div { height: 62px; display: flex; align-items: center; padding: 6px; border: 1px solid #cddbd5; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.hero-search svg { width: 22px; margin-left: 13px; fill: none; stroke: var(--muted-ink); stroke-width: 1.8; stroke-linecap: round; }
.hero-search input { min-width: 0; flex: 1; height: 100%; padding: 0 13px; border: 0; outline: 0; }
.hero-search button { height: 48px; padding: 0 24px; border: 0; border-radius: 11px; color: #fff; background: var(--primary); font-weight: 700; cursor: pointer; }
.popular-searches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; color: var(--faint-ink); font-size: 13px; }
.popular-searches a { color: var(--primary); }
.hero-panel { padding: 26px; border: 1px solid rgba(15,118,110,.14); border-radius: var(--radius-lg); background: rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 800; }
.live-dot { color: var(--primary); font-size: 12px; font-weight: 700; }
.live-dot::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 5px rgba(16,185,129,.12); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 18px 0; background: var(--line); }
.stat-grid div { padding: 20px 14px; background: #fff; }
.stat-grid strong, .stat-grid span { display: block; }
.stat-grid strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.stat-grid span { color: var(--faint-ink); font-size: 12px; }
.panel-note { margin: 0; color: var(--muted-ink); font-size: 13px; }

.section { padding-block: 76px; }
.section-tint { background: var(--canvas); border-block: 1px solid var(--line); }
.section-dark { color: #fff; background: var(--dark); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 6px 0 0; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.4; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.channel-card { position: relative; min-height: 235px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: background .2s ease, color .2s ease; }
.channel-card:nth-child(4n) { border-right: 0; }
.channel-card:hover { color: #fff; background: var(--primary); }
.channel-index { color: var(--primary); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 800; }
.channel-card:hover .channel-index, .channel-card:hover p, .channel-card:hover .channel-count { color: rgba(255,255,255,.75); }
.channel-card h3 { margin: 30px 0 8px; font-size: 20px; }
.channel-card p { margin: 0 0 22px; color: var(--muted-ink); font-size: 14px; }
.channel-count { position: absolute; bottom: 24px; left: 26px; color: var(--faint-ink); font-size: 12px; }
.province-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.province-grid a { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 600; }
.province-grid a span { color: var(--primary); font-size: 22px; }
.province-grid a:hover { border-color: var(--primary); color: var(--primary); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s ease, border-color .2s ease; }
.article-card:hover { border-color: #b8d2c9; box-shadow: var(--shadow); }
.card-image { aspect-ratio: 16 / 9; display: block; overflow: hidden; background: var(--tint); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.article-card:hover .card-image img { transform: scale(1.025); }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #edf7f3, #f8f5ec); }
.image-placeholder svg { width: 42px; fill: none; stroke: #8fb6a7; stroke-width: 1.5; stroke-linejoin: round; }
.card-body { padding: 22px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--faint-ink); font-size: 12px; }
.card-meta span:first-child { color: var(--primary); font-weight: 800; }
.article-card h3 { margin: 12px 0 9px; font-size: 19px; line-height: 1.45; }
.article-card h3 a:hover, .list-card h2 a:hover, .search-results h2 a:hover { color: var(--primary); }
.article-card p { min-height: 48px; margin: 0 0 18px; color: var(--muted-ink); display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; }
.card-link { color: var(--primary); font-size: 13px; font-weight: 800; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid a { min-height: 210px; padding: 26px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.feature-grid a:hover { background: rgba(255,255,255,.08); }
.feature-grid span { color: #7dd3c7; font-size: 12px; font-weight: 800; }
.feature-grid h3 { margin: 30px 0 8px; font-size: 20px; }
.feature-grid p { margin: 0; color: #b9cbc5; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; }
.empty-state { padding: 70px 28px; border: 1px dashed #b9cbc5; border-radius: var(--radius); text-align: center; background: var(--canvas); }
.empty-state h2, .empty-state h3 { margin: 0 0 8px; }
.empty-state p { margin: 0 0 22px; color: var(--muted-ink); }

.page-hero { padding: 64px 0; background: linear-gradient(135deg, var(--canvas), #fff); border-bottom: 1px solid var(--line); }
.page-hero.compact { padding: 54px 0; }
.page-hero h1 { max-width: 860px; margin: 12px 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.4; letter-spacing: 0; text-wrap: balance; }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted-ink); font-size: 17px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--faint-ink); font-size: 13px; }
.breadcrumbs a:hover { color: var(--primary); }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding-block: 54px 80px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-chips a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-ink); font-size: 13px; }
.filter-chips a:hover { border-color: var(--primary); color: var(--primary); }
.list-summary { display: flex; align-items: baseline; gap: 8px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); color: var(--faint-ink); font-size: 13px; }
.list-summary strong { color: var(--ink); font-size: 20px; }
.list-summary span { margin-left: auto; }
.list-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.list-image { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--tint); }
.list-image img { width: 100%; height: 100%; object-fit: cover; }
.list-card h2 { margin: 10px 0 8px; font-size: 21px; line-height: 1.45; }
.list-card p { margin: 0; color: var(--muted-ink); display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; }
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.sidebar-box, .notice-box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); }
.sidebar-box h2 { margin: 8px 0 10px; font-size: 21px; line-height: 1.35; }
.sidebar-box p, .notice-box p { margin: 0 0 18px; color: var(--muted-ink); font-size: 14px; }
.notice-box { background: #fffaf0; border-color: #f0dfbd; }
.notice-box strong { color: #9a5807; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--primary); border-radius: 10px; color: #fff; background: var(--primary); font-weight: 700; cursor: pointer; }
.button.secondary { color: var(--primary); background: #fff; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pagination a { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.pagination a:hover, .pagination a[aria-current="page"] { color: #fff; border-color: var(--primary); background: var(--primary); }

.detail-header { padding: 55px 0 48px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.detail-heading { max-width: 980px; }
.detail-heading h1 { max-width: 900px; margin: 12px 0 18px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.45; letter-spacing: 0; overflow-wrap: anywhere; text-wrap: balance; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--faint-ink); font-size: 13px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 760px) 320px; justify-content: center; gap: 56px; padding-block: 48px 76px; }
.article-body-wrap { min-width: 0; }
.article-content { max-width: 760px; color: #263a34; font-size: 17px; line-height: 2; overflow-wrap: anywhere; }
.article-content > *:first-child { margin-top: 0; }
.article-content p { margin: 0 0 1.25em; }
.article-content h2 { margin: 2em 0 .8em; padding-left: 12px; border-left: 4px solid var(--primary); font-size: 23px; line-height: 1.55; }
.article-content h3 { margin: 1.8em 0 .7em; font-size: 19px; line-height: 1.6; }
.article-content img { height: auto; margin: 28px auto; border-radius: 10px; }
.article-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.article-content td, .article-content th { padding: 10px 12px; border: 1px solid var(--line); }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content iframe, .article-content object, .article-content embed { max-width: 100%; }
.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.tag-row span { margin-right: 6px; color: var(--faint-ink); font-size: 13px; }
.tag-row a { padding: 4px 11px; border-radius: 999px; color: var(--primary); background: var(--tint); font-size: 12px; }
.detail-sidebar { align-self: start; position: sticky; top: 24px; }
.detail-sidebar .sidebar-box { padding: 20px; border-radius: 12px; background: #fff; }
.detail-sidebar .sidebar-box h2 { margin: 6px 0 14px; font-size: 18px; line-height: 1.5; }
.detail-sidebar form { display: grid; gap: 10px; }
.detail-sidebar input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; }
.sidebar-search { background: var(--canvas) !important; }
.sidebar-related ul { margin: 0; padding: 0; list-style: none; }
.sidebar-related li { padding: 12px 0; border-top: 1px solid var(--line); }
.sidebar-related li:first-child { padding-top: 0; border-top: 0; }
.sidebar-related a { display: block; font-size: 14px; font-weight: 600; line-height: 1.65; }
.sidebar-related a:hover { color: var(--primary); }
.sidebar-related time { display: block; margin-top: 3px; color: var(--faint-ink); font-size: 12px; }
.verification-box { border-color: #ead9b5 !important; background: #fffaf0 !important; }
.verification-box .section-kicker { color: #8a580d; }
.verification-box p { margin-bottom: 0; line-height: 1.75; }
.compact-grid .article-card:nth-child(n+4) { display: none; }

.search-hero { text-align: center; }
.search-hero h1 { margin-inline: auto; }
.large-search { margin-top: 28px; text-align: left; }
.large-search > label { display: block; margin-bottom: 7px; font-weight: 700; }
.large-search > div { display: flex; gap: 8px; }
.large-search input { min-width: 0; flex: 1; min-height: 54px; padding: 0 16px; border: 1px solid #cbd8d3; border-radius: 12px; background: #fff; }
.large-search button { min-height: 54px; padding: 0 28px; border: 0; border-radius: 12px; color: #fff; background: var(--primary); font-weight: 700; cursor: pointer; }
.large-search fieldset { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 24px; margin: 18px 0 0; padding: 0; border: 0; }
.large-search legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.large-search fieldset label { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.search-results article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.search-results h2 { margin: 10px 0 7px; font-size: 23px; line-height: 1.4; }
.search-results p { margin: 0; color: var(--muted-ink); }
.status-page { min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.status-code { color: var(--primary); font-family: ui-monospace, monospace; font-size: 80px; font-weight: 800; line-height: 1; opacity: .25; }
.status-page h1 { margin: 18px 0 8px; font-size: 34px; }
.status-page p { margin: 0 0 24px; color: var(--muted-ink); }
.status-page div { display: flex; gap: 10px; }

.site-footer { color: #c4d5d0; background: #091f1c; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .6fr; gap: 60px; padding-block: 58px; }
.footer-brand { color: #fff; font-size: 23px; font-weight: 800; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.footer-grid p { max-width: 520px; margin: 10px 0 0; font-size: 13px; }
.footer-grid > div:last-child { display: flex; flex-direction: column; gap: 7px; }
.footer-grid > div:last-child a { font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

@media (max-width: 1050px) {
  .masthead { grid-template-columns: 260px minmax(260px, 1fr) 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 700px; }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .channel-card:nth-child(4n) { border-right: 1px solid var(--line); }
  .channel-card:nth-child(3n) { border-right: 0; }
  .province-grid { grid-template-columns: repeat(5, 1fr); }
  .page-layout, .detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 38px; }
  .quick-service-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-service:nth-child(3) { border-right: 1px solid var(--line); }
  .quick-service:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .compact-channels { grid-template-columns: repeat(3, 1fr); }
  .compact-channel:nth-child(4n) { border-right: 1px solid var(--line); }
  .compact-channel:nth-child(3n) { border-right: 0; }
  .province-primary, .province-extra { grid-template-columns: repeat(4, 1fr); }
  .home-news-layout { gap: 32px; }
  .featured-compact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .desktop-only, .nav-row, .header-search { display: none; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .masthead { min-height: 76px; grid-template-columns: 1fr 44px; gap: 12px; }
  .menu-button { display: grid; place-items: center; }
  .mobile-nav { padding: 8px 14px 16px; background: #fff; }
  .mobile-nav:not([hidden]) { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .mobile-nav a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--canvas); }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 36px; }
  .hero-copy > p { font-size: 16px; }
  .hero-search > div { height: auto; min-height: 58px; flex-wrap: wrap; padding: 6px; }
  .hero-search svg { display: none; }
  .hero-search input { width: 100%; min-height: 46px; flex-basis: 100%; padding-inline: 12px; }
  .hero-search button { width: 100%; }
  .section { padding-block: 54px; }
  .section-heading { align-items: start; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .channel-card:nth-child(2n) { border-right: 0; }
  .province-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout, .detail-layout { grid-template-columns: 1fr; padding-block: 38px 56px; }
  .sidebar { order: 2; }
  .detail-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .home-hero { padding: 46px 0 50px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .home-overview { max-width: none; }
  .compact-channels { grid-template-columns: repeat(2, 1fr); }
  .compact-channel:nth-child(3n) { border-right: 1px solid var(--line); }
  .compact-channel:nth-child(2n) { border-right: 0; }
  .province-primary, .province-extra { grid-template-columns: repeat(3, 1fr); }
  .home-news-layout { grid-template-columns: 1fr; }
  .section-note { max-width: 350px; }
}

@media (max-width: 520px) {
  .brand strong { font-size: 19px; }
  .brand small { font-size: 11px; }
  .brand-mark { width: 42px; height: 42px; }
  .hero h1 { font-size: 30px; line-height: 1.45; }
  .hero-panel { padding: 18px; }
  .section-heading { display: block; }
  .text-link { margin-top: 12px; }
  .channel-grid, .article-grid, .feature-grid { grid-template-columns: 1fr; }
  .channel-card { min-height: 200px; border-right: 0 !important; }
  .province-grid { grid-template-columns: repeat(2, 1fr); }
  .list-card { grid-template-columns: 1fr; gap: 16px; }
  .list-image { max-height: 210px; }
  .page-hero, .page-hero.compact, .detail-header { padding: 40px 0; }
  .detail-heading h1 { font-size: 26px; line-height: 1.5; }
  .article-content { font-size: 16px; line-height: 1.9; }
  .large-search > div { display: grid; }
  .large-search button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .home-hero h1 { font-size: 29px; line-height: 1.48; }
  .home-hero-copy > p { font-size: 16px; }
  .home-search > div { align-items: stretch; flex-wrap: wrap; }
  .home-search svg { display: none; }
  .home-search input { width: 100%; flex-basis: 100%; padding-inline: 11px; }
  .home-search button { width: 100%; }
  .home-overview { padding: 18px; }
  .quick-service-grid { grid-template-columns: 1fr 1fr; }
  .quick-service { min-height: 88px; grid-template-columns: 34px minmax(0, 1fr); padding: 12px; border-bottom: 1px solid var(--line); }
  .quick-service:nth-child(3) { border-right: 0; }
  .quick-service:nth-child(odd) { border-left: 1px solid var(--line); }
  .quick-service:nth-child(even) { border-right: 1px solid var(--line); }
  .quick-service-icon { width: 34px; height: 34px; }
  .quick-service-icon svg { width: 20px; height: 20px; }
  .quick-service-arrow { display: none; }
  .quick-service small { white-space: normal; }
  .home-channels, .province-section, .home-information, .home-featured { padding-block: 48px 52px; }
  .section-note { margin-top: 8px; text-align: left; }
  .compact-channels { grid-template-columns: 1fr; }
  .compact-channel { min-height: 142px; border-right: 0 !important; }
  .province-primary, .province-extra { grid-template-columns: repeat(2, 1fr); }
  .province-primary a, .province-extra a { min-height: 48px; padding-inline: 12px; }
  .lead-story-body { padding: 19px; }
  .lead-story h3 { font-size: 20px; }
  .home-news-item h3 { font-size: 15px; }
  .featured-compact-grid { grid-template-columns: 1fr; }
  .featured-compact { min-height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
