/*
Theme Name: UNESCO VHTT Newsroom
Theme URI: https://unescovtt.net/
Author: UNESCO VHTT
Description: Giao diện tạp chí tin tức dành cho Trung tâm UNESCO Văn hóa & Thông tin Truyền thông.
Version: 1.1.4
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: unescovtt
*/

:root {
  --navy: #061f33; --blue: #075a9c; --azure: #0b9fd3; --sky: #dff3fa;
  --signal: #f2ad22; --ink: #10293b; --text: #304858; --muted: #607483;
  --line: #cfdbe3; --paper: #fff; --ground: #f4f7f9; --max: 1280px;
  --sans: 'Be Vietnam Pro', Arial, sans-serif; --serif: 'Literata', Georgia, serif;
  --ease: cubic-bezier(.2,.75,.25,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body::-webkit-scrollbar { width: 10px; } body::-webkit-scrollbar-track { background: #e9f0f4; } body::-webkit-scrollbar-thumb { background: var(--blue); border: 2px solid #e9f0f4; }
::selection { color: #fff; background: var(--blue); }
button, input { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button { cursor: pointer; }
a { color: inherit; text-decoration: none; } a:hover { color: var(--blue); } img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 16px; color: #fff; background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); } :focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--blue); }

.utility-bar { color: #d9ebf6; background: var(--navy); font-size: 12px; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 20px; }
.utility-links { display: flex; gap: 24px; } .utility-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.masthead { position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.masthead::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, var(--blue) 0 66%, var(--azure) 66% 90%, var(--signal) 90%); }
.masthead-inner { display: grid; grid-template-columns: minmax(480px,1fr) 250px 220px; gap: 30px; align-items: center; min-height: 150px; }
.brand { min-width: 0; } .brand img { width: min(100%, 850px); max-height: 112px; object-fit: contain; object-position: left center; }
.edition-mark { min-height: 76px; padding: 10px 0 10px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.edition-mark span { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.edition-mark strong { max-width: 200px; margin-top: 5px; color: var(--ink); font: 600 18px/1.25 var(--serif); }
.header-search { display: flex; }
.search-box { display: flex; width: 100%; height: 46px; background: #fff; border: 1px solid #aebfca; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(11,159,211,.18); }
.search-box input { min-width: 0; width: 100%; padding: 0 13px; color: var(--ink); background: transparent; border: 0; outline: 0; }
.search-box button { display: grid; place-items: center; width: 46px; flex: 0 0 46px; color: #fff; background: var(--blue); border: 0; transition: background .2s var(--ease); }
.search-box button:hover { background: var(--navy); }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-shell { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(6,31,51,.06); }
.nav-inner { display: flex; align-items: stretch; min-height: 58px; }
.nav-list { display: flex; flex: 1; align-items: stretch; gap: 0; padding: 0; margin: 0; list-style: none; }
.nav-list li { display: flex; }
.nav-list a { display: flex; align-items: center; min-height: 58px; padding: 0 20px; color: var(--ink); border-bottom: 3px solid transparent; font-size: 13px; font-weight: 700; transition: color .2s var(--ease), background .2s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current='page'] { color: var(--blue); background: #eef6fa; border-bottom-color: var(--azure); }
.nav-mobile-actions, .header-search-mobile { display: none; }

.home-main { padding-top: 0; }
.news-rail { display: grid; grid-template-columns: 108px minmax(0,1fr) 88px; align-items: stretch; min-height: 62px; margin: 24px 0 28px; border-block: 1px solid var(--line); }
.news-rail-label { display: flex; align-items: center; padding: 13px 18px; color: #fff; background: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.news-rail-links { position: relative; min-width: 0; overflow: hidden; }
.news-rail-links a { position: absolute; inset: 0; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; align-items: center; min-width: 0; padding: 10px 18px; color: var(--ink); font-size: 13px; line-height: 1.4; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s var(--ease); }
.news-rail-links a.is-active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.news-rail-links a:hover { background: var(--ground); }
.news-rail-links a span { display: -webkit-box; min-width: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.news-rail-links b { color: var(--azure); font-size: 11px; font-variant-numeric: tabular-nums; }
.news-rail-controls { display: flex; align-items: center; justify-content: flex-end; border-left: 1px solid var(--line); }
.news-rail-controls button { display: grid; place-items: center; width: 44px; height: 100%; min-height: 44px; padding: 0; color: var(--blue); background: #fff; border: 0; font-size: 15px; transition: color .2s var(--ease), background .2s var(--ease); }
.news-rail-controls button + button { border-left: 1px solid var(--line); }
.news-rail-controls button:hover { color: #fff; background: var(--blue); }
.lead-layout { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 0; padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.lead-story { grid-column: span 6; padding-right: 28px; }
.lead-image-link { display: block; overflow: hidden; aspect-ratio: 16/9.2; background: #dce8ee; }
.lead-image { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .7s var(--ease); }
.lead-image-link:hover .lead-image { transform: scale(1.025); filter: saturate(1.08); }
.story-category { display: inline-block; margin: 13px 0 7px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.story-title { display: -webkit-box; max-width: 760px; margin: 0; overflow: hidden; color: var(--ink); font: 650 clamp(26px,2.55vw,38px)/1.16 var(--serif); letter-spacing: -.025em; text-wrap: pretty; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.story-title a { display: block; }
.story-title a:hover, .compact-title a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.story-excerpt { max-width: 68ch; margin: 13px 0 10px; color: #506878; font-size: 15px; line-height: 1.65; }
.story-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.lead-side { grid-column: span 3; display: flex; flex-direction: column; gap: 0; padding: 0 24px; background: var(--blue); }
.compact-story { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.28); } .compact-story:last-child { border-bottom: 0; }
.compact-image-link { display: block; overflow: hidden; aspect-ratio: 16/9; background: #d8e4ea; }
.compact-image-link img, .thumb-link img, .feature-image img, .tile-image img, .event-image img, .related-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.compact-image-link:hover img, .thumb-link:hover img, .feature-image:hover img, .tile-image:hover img, .event-image:hover img, .related-item a:hover img { transform: scale(1.035); }
.lead-side .story-category { color: #bdeaff; }
.compact-title { margin: 5px 0 7px; color: #fff; font-size: 17px; line-height: 1.38; font-weight: 700; }
.lead-side .compact-title a:hover { color: #fff; } .compact-meta { color: #cae5f4; font-size: 11px; }
.latest-panel { grid-column: span 3; padding-left: 24px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 10px; margin: 0 0 10px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0; color: var(--ink); font: 700 22px/1.15 var(--serif); letter-spacing: -.02em; }
.section-heading > a { color: var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; }
.section-heading > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.latest-list { counter-reset: latest; padding: 0; margin: 0; list-style: none; }
.latest-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); counter-increment: latest; }
.latest-list li::before { content: counter(latest,decimal-leading-zero); position: absolute; top: 15px; left: 0; color: var(--azure); font-size: 10px; font-weight: 800; }
.latest-list a { display: block; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.42; }
.latest-list a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; } .latest-date { margin-top: 4px; color: var(--muted); font-size: 10px; }

.content-section { width: auto; margin: 0; padding: 40px 0; color: #fff; background: var(--navy); box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); }
.content-section .section-heading { border-color: rgba(255,255,255,.3); }
.content-section .section-heading h2, .content-section .section-heading a { color: #fff; }
.event-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.26); }
.event-card { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 17px; align-items: start; padding: 23px 24px 23px 0; border-right: 1px solid rgba(255,255,255,.26); }
.event-card + .event-card { padding-left: 24px; } .event-card:last-child { border-right: 0; }
.date-block { padding: 9px 6px; color: var(--navy); background: var(--signal); text-align: center; line-height: 1; }
.date-block strong { display: block; font: 700 29px/1 var(--serif); } .date-block span { display: block; margin-top: 5px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.event-card h3 { margin: 0 0 8px; color: #fff; font: 600 17px/1.4 var(--serif); } .event-card h3 a:hover { color: #9ee2fa; }
.event-meta { color: #c8dce8; font-size: 11px; line-height: 1.6; } .event-status { display: inline-block; margin-top: 8px; color: #86dbf8; font-size: 10px; font-weight: 800; } .event-status.is-past { color: #aabcc7; }

.category-section { position: relative; padding: 52px 0; border-bottom: 1px solid var(--line); } .category-section .section-heading { margin-bottom: 23px; }
.category-feature { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr); gap: 34px; align-items: center; }
.category-section:nth-of-type(odd) .category-feature { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); }
.category-section:nth-of-type(odd) .feature-image { order: 2; }
.feature-image { display: block; overflow: hidden; aspect-ratio: 16/9; background: #dce7ed; }
.feature-copy .story-category { margin-top: 0; } .feature-copy h3 { margin: 0 0 12px; color: var(--ink); font: 650 clamp(25px,2.6vw,37px)/1.18 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.feature-copy p { margin: 0 0 12px; color: #526a79; font-size: 15px; line-height: 1.7; }
.category-mini-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 26px; }
.mini-story { display: grid; grid-template-columns: 128px 1fr; gap: 15px; padding-top: 17px; border-top: 1px solid var(--line); }
.thumb-link { display: block; overflow: hidden; aspect-ratio: 4/3; background: #dce7ed; }
.mini-story-copy { min-width: 0; }
.mini-story h4 { margin: 0 0 7px; color: var(--ink); font-size: 15px; line-height: 1.42; }
.mini-story-excerpt { display: -webkit-box; margin: 0 0 8px; overflow: hidden; color: #526a79; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.mini-story time { color: var(--muted); font-size: 11px; }
.about-strip { padding: 42px 0; background: var(--sky); }
.about-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 28px; }
.about-inner h2 { margin: 0 0 7px; color: var(--navy); font: 650 27px/1.2 var(--serif); } .about-inner p { max-width: 760px; margin: 0; color: #31566d; }
.text-link { color: var(--blue); font-size: 13px; font-weight: 800; } .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-footer { padding-top: 42px; color: #c8dce8; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.15fr .75fr 1.4fr; gap: 48px; padding-bottom: 35px; }
.footer-brand { max-width: 410px; } .footer-brand img { width: 100%; height: auto; margin-bottom: 17px; padding: 9px; background: #fff; object-fit: contain; }
.footer-heading { margin: 0 0 13px; color: #fff; font-size: 14px; }
.footer-copy, .footer-list { color: #c8dce8; font-size: 12px; line-height: 1.75; } .footer-copy p { margin: 0 0 7px; }
.footer-list { padding: 0; margin: 0; list-style: none; } .footer-list li { margin: 0 0 8px; } .footer-list a { overflow-wrap: anywhere; }
.footer-list a:hover, .footer-copy a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-responsible { margin: 0; color: #c8dce8; font-size: 12px; line-height: 1.75; } .footer-responsible strong { color: #fff; }
.copyright { padding: 15px 0 17px; color: #abc1cf; border-top: 1px solid rgba(255,255,255,.17); font-size: 11px; }

.breadcrumbs { margin: 0 0 22px; color: var(--muted); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0; list-style: none; } .breadcrumbs li + li::before { content: '/'; margin-right: 9px; color: #9aadb9; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-shell { min-height: 56vh; padding: 34px 0 64px; }
.page-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.6fr); gap: 38px; align-items: end; padding: 27px 0 22px; margin-bottom: 28px; border-block: 1px solid var(--line); }
.page-heading h1 { margin: 0; color: var(--ink); font: 700 clamp(36px,5vw,61px)/1.05 var(--serif); letter-spacing: -.035em; } .page-heading p { max-width: 620px; margin: 0 0 5px; color: #526a79; }
.demo-note { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; color: #61460e; background: #fff2cf; border: 1px solid #ecd596; font-size: 10px; font-weight: 800; line-height: 1.3; }
.demo-note::before { content: ''; width: 6px; height: 6px; background: #c4840c; border-radius: 50%; }
.category-featured { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 34px; align-items: center; padding-bottom: 32px; margin-bottom: 10px; border-bottom: 2px solid var(--ink); }
.category-featured h2 { margin: 6px 0 10px; color: var(--ink); font: 650 36px/1.15 var(--serif); letter-spacing: -.025em; }
.article-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; }
.article-row { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 17px; min-width: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.article-row h3 { margin: 0 0 7px; color: var(--ink); font: 650 18px/1.38 var(--serif); } .article-row p { margin: 0 0 8px; color: #526a79; font-size: 13px; line-height: 1.55; }
.article-row .story-category { margin: 0 0 4px; font-size: 10px; } .article-row .thumb-link { aspect-ratio: 4/3; }
.layout-with-aside { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 48px; align-items: start; }
.sidebar-block { margin-bottom: 33px; } .sidebar-block h2 { padding-bottom: 10px; margin: 0 0 8px; color: var(--ink); border-bottom: 2px solid var(--ink); font: 700 18px var(--serif); }
.sidebar-category-list { padding: 0; margin: 0; list-style: none; }
.sidebar-category-list li { border-bottom: 1px solid var(--line); }
.sidebar-category-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; color: var(--ink); font-size: 13px; font-weight: 700; }
.sidebar-category-list a:hover, .sidebar-category-list a[aria-current='page'] { color: var(--blue); }
.sidebar-category-list small { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.sidebar-link { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); } .sidebar-link img { width: 78px; height: 60px; object-fit: cover; }
.sidebar-link span { color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.42; }
.pagination { width: 100%; margin-top: 30px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; width: 100%; }
.pagination button { min-width: 44px; height: 44px; color: var(--blue); background: #fff; border: 1px solid var(--line); font-weight: 700; }
.pagination button:hover, .pagination button[aria-current='page'] { color: #fff; background: var(--blue); border-color: var(--blue); }

.article-head { width: 100%; max-width: none; margin: 0 0 25px; }
.article-head h1 { width: 100%; max-width: none; margin: 10px 0 15px; color: var(--ink); font: 700 clamp(30px,3.35vw,46px)/1.14 var(--serif); letter-spacing: -.025em; text-transform: none; text-wrap: pretty; }
.article-deck { max-width: 760px; margin: 0 0 18px; color: #4e6878; font-size: 19px; line-height: 1.6; }
.article-byline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.article-tools { display: flex; gap: 8px; } .small-button { min-height: 44px; padding: 0 13px; color: var(--blue); background: #fff; border: 1px solid #abc1cf; font-size: 11px; font-weight: 700; }
.small-button:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.article-hero { max-width: 1120px; margin: 0 auto 32px; } .article-hero img { width: 100%; max-height: 620px; object-fit: cover; aspect-ratio: 16/8.3; background: #dce7ed; }
.caption { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.article-layout { display: grid; grid-template-columns: minmax(0,750px) 1fr; gap: 55px; max-width: 1000px; margin-inline: auto; }
.article-body { color: #263f50; font-family: var(--sans); font-size: 18px; line-height: 1.86; }
.article-body :where(p, li, td, th, figcaption), .article-body :where(p, li, td, th, figcaption) :where(span, strong, em, a) { font-family: var(--sans) !important; }
.article-body :where(h1, h2, h3, h4, h5, h6), .article-body :where(h1, h2, h3, h4, h5, h6) * { font-family: var(--serif) !important; }
.article-body > p:first-child::first-letter { float: left; margin: .08em .13em 0 0; color: var(--blue); font: 700 3.4em/.72 var(--serif); }
.article-body p { margin: 0 0 23px; } .article-body h2 { margin: 38px 0 15px; color: var(--ink); font: 700 30px/1.25 var(--serif); }
.article-body blockquote { margin: 30px 0; padding: 18px 22px; color: var(--navy); background: var(--sky); font: 600 22px/1.5 var(--serif); }
.article-related { max-width: 1000px; margin: 48px auto 0; padding-top: 25px; border-top: 2px solid var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; } .related-item .tile-image { display: block; overflow: hidden; aspect-ratio: 16/9; background: #dce7ed; }
.related-item h3 { margin: 7px 0; color: var(--ink); font: 650 16px/1.4 var(--serif); }

.events-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 23px; }
.filter-button { min-height: 44px; padding: 0 15px; color: var(--blue); background: #fff; border: 1px solid #aebfca; font-size: 12px; font-weight: 700; }
.filter-button:hover, .filter-button[aria-pressed='true'], .filter-button[aria-current='page'] { color: #fff; background: var(--blue); border-color: var(--blue); }
.events-page-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; }
.event-list-card { display: grid; grid-template-columns: 165px minmax(0,1fr); min-width: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.event-image { min-height: 160px; overflow: hidden; background: #dce7ed; } .event-copy { padding: 3px 0 0 18px; }
.event-copy h2 { margin: 7px 0; color: var(--ink); font: 650 19px/1.38 var(--serif); } .event-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.search-page-form { display: flex; max-width: 760px; gap: 9px; margin: 22px 0 13px; } .search-page-form input { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border: 1px solid #aebfca; }
.primary-button { min-height: 50px; padding: 0 22px; color: #fff; background: var(--blue); border: 1px solid var(--blue); font-weight: 700; } .primary-button:hover { background: var(--navy); border-color: var(--navy); }
.result-count { margin: 16px 0 4px; color: var(--muted); font-size: 13px; }
.empty-state { margin-top: 24px; padding: 27px; color: #526a79; background: var(--ground); border: 1px dashed #afc0ca; } .empty-state h2 { margin: 0 0 5px; color: var(--ink); font: 700 20px var(--serif); } .empty-state p { margin: 0; }
.not-found { padding: 70px 0; text-align: center; } .not-found h1 { margin: 0 0 10px; color: var(--ink); font: 700 40px var(--serif); } .back-link { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 700; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.visually-hidden { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1120px) {
  .masthead-inner { grid-template-columns: minmax(430px,1fr) 210px; } .edition-mark { display: none; }
  .nav-list a { padding-inline: 13px; font-size: 12px; }
  .lead-story { grid-column: span 7; } .lead-side { grid-column: span 5; }
  .latest-panel { grid-column: 1/-1; padding: 25px 0 0; } .latest-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-responsible-wrap { grid-column: 1/-1; }
  .layout-with-aside { grid-template-columns: minmax(0,1fr) 250px; gap: 30px; }
}
@media (max-width: 780px) {
  .container { width: min(var(--max),calc(100% - 36px)); }
  .utility-inner { min-height: 32px; font-size: 11px; } .utility-links { gap: 13px; }
  .masthead-inner { display: block; min-height: 0; padding: 12px 0 14px; } .brand img { width: 100%; max-height: 92px; } .header-search { display: none; }
  .nav-inner { align-items: center; justify-content: space-between; min-height: 54px; } .nav-mobile-actions { display: flex; align-items: center; gap: 7px; }
  .menu-toggle, .mobile-search-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; color: var(--ink); background: transparent; border: 0; font-weight: 700; }
  .menu-toggle span { font-size: 12px; } .mobile-search-toggle { width: 44px; }
  .nav-list { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 90px); overflow: auto; padding: 7px 18px 13px; background: #fff; box-shadow: 0 14px 20px rgba(6,31,51,.13); }
  .nav-list.is-open { display: block; } .nav-list li { display: block; } .nav-list a { min-height: 48px; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .header-search-mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 0 18px 16px; background: #fff; box-shadow: 0 14px 20px rgba(6,31,51,.13); }
  .header-search-mobile.is-open { display: block; }
  .news-rail { grid-template-columns: 78px minmax(0,1fr); width: min(100%,calc(100vw - 36px)); max-width: calc(100vw - 36px); min-height: 48px; overflow: hidden; margin: 12px 0 18px; } .news-rail-label { justify-content: center; padding-inline: 7px; font-size: 8.5px; letter-spacing: .025em; }
  .news-rail-links { width: 100%; max-width: calc(100vw - 114px); contain: inline-size; } .news-rail-links a { grid-template-columns: 22px minmax(0,1fr); width: 100%; max-width: 100%; gap: 4px; overflow: hidden; padding: 6px 8px; font-size: 11px; line-height: 1.35; } .news-rail-links a span { display: block; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .news-rail-links b { font-size: 9px; }
  .news-rail-controls { display: none; }
  .lead-layout { grid-template-columns: 1fr; padding-bottom: 26px; } .lead-story, .lead-side, .latest-panel { grid-column: auto; } .lead-story { padding: 0 0 21px; }
  .lead-image-link { aspect-ratio: 16/9; } .story-title { font-size: clamp(25px,7vw,29px); line-height: 1.18; } .story-excerpt { font-size: 14px; }
  .lead-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 16px; }
  .compact-story:first-child { padding-right: 15px; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 0; } .compact-story:last-child { padding-left: 15px; }
  .compact-title { font-size: 14px; } .latest-panel { padding-top: 21px; } .latest-list { grid-template-columns: 1fr; }
  .content-section { padding-block: 30px; } .event-list { grid-template-columns: 1fr; }
  .event-card, .event-card + .event-card { padding: 17px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); } .event-card:last-child { border-bottom: 0; }
  .category-section { padding: 34px 0; } .category-feature, .category-section:nth-of-type(odd) .category-feature { grid-template-columns: 1fr; gap: 16px; }
  .category-section:nth-of-type(odd) .feature-image { order: 0; } .feature-copy h3 { font-size: 27px; }
  .category-mini-list { grid-template-columns: 1fr; gap: 0; margin-top: 16px; } .mini-story { grid-template-columns: 105px 1fr; padding: 13px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 13px; } .footer-grid { grid-template-columns: 1fr; gap: 23px; } .footer-responsible-wrap { grid-column: auto; }
  .page-shell { padding: 23px 0 44px; } .page-heading { grid-template-columns: 1fr; gap: 10px; padding: 20px 0 17px; margin-bottom: 20px; } .page-heading h1 { font-size: 39px; }
  .category-featured { grid-template-columns: 1fr; gap: 16px; } .category-featured h2 { font-size: 29px; }
  .article-list { grid-template-columns: 1fr; } .article-row { grid-template-columns: 125px minmax(0,1fr); gap: 14px; padding: 16px 0; }
  .article-row h3 { font-size: 16px; } .article-row p { display: none; } .layout-with-aside { grid-template-columns: 1fr; } .layout-with-aside > aside { display: none; }
  .article-head h1 { font-size: 29px; line-height: 1.18; } .article-deck { font-size: 17px; } .article-byline { align-items: flex-start; flex-direction: column; gap: 11px; }
  .article-hero img { aspect-ratio: 4/3; } .article-layout { grid-template-columns: 1fr; } .article-body { font-size: 17px; line-height: 1.8; } .article-body h2 { font-size: 26px; }
  .related-grid { grid-template-columns: 1fr; } .related-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; }
  .related-item .tile-image { grid-row: span 2; } .related-item h3, .related-item .story-category { margin: 0; }
  .events-page-list { grid-template-columns: 1fr; } .event-list-card { grid-template-columns: 120px minmax(0,1fr); } .event-image { min-height: 145px; } .event-copy { padding-left: 13px; } .event-copy h2 { font-size: 16px; }
  .search-page-form { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 410px) {
  .container { width: calc(100% - 30px); } .utility-inner { font-size: 10px; } .brand img { max-height: 78px; }
  .lead-side { gap: 0; padding-inline: 12px; } .compact-story:first-child { padding-right: 11px; } .compact-story:last-child { padding-left: 11px; }
  .story-title { font-size: 25px; } .compact-title { font-size: 13px; } .article-row { grid-template-columns: 105px minmax(0,1fr); } .event-list-card { grid-template-columns: 105px minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; } }
@media print { .utility-bar, .masthead, .nav-shell, .article-tools, .site-footer, .article-related { display: none!important; } .page-shell { padding: 0; } .article-head, .article-hero, .article-layout { max-width: none; } .article-body { color: #000; } }

/* WordPress integration */
.custom-logo-link { display: block; min-width: 0; }
.custom-logo-link img { width: min(100%, 850px); height: auto; max-height: 112px; object-fit: contain; object-position: left center; }
.nav-list .menu-item { display: flex; }
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current-category-ancestor > a { color: var(--blue); background: #eef6fa; border-bottom-color: var(--azure); }
.screen-reader-text { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed!important; z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 12px 16px; margin: 0; color: #fff; background: var(--navy); }
.wp-post-image { max-width: 100%; height: auto; }
.image-placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: 150px; padding: 18px; color: #3c5b6f; background: #dce7ed; text-align: center; font-size: 12px; font-weight: 700; }
.entry-content img, .entry-content figure { max-width: 100%; height: auto; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { margin: 0 0 23px; padding-left: 1.35em; }
.entry-content figcaption { color: var(--muted); font-size: 12px; }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; color: var(--blue); background: #fff; border: 1px solid var(--line); font-weight: 700; }
.pagination .page-numbers:hover, .pagination .page-numbers.current { color: #fff; background: var(--blue); border-color: var(--blue); }
.admin-edit-link { display: inline-block; margin-top: 14px; color: var(--blue); font-size: 12px; font-weight: 700; }
.event-detail-list { display: grid; gap: 10px; padding: 18px 20px; margin: 0 0 26px; background: var(--sky); }
.event-detail-list p { margin: 0; }
.event-empty { padding: 22px 0; color: #c8dce8; }
.site-footer .custom-logo-link img { width: 100%; height: auto; max-height: none; margin-bottom: 17px; padding: 9px; background: #fff; object-fit: contain; }
body.admin-bar .nav-shell { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar .nav-shell { top: 46px; }
  .custom-logo-link img { width: 100%; max-height: 92px; }
  .nav-list .menu-item { display: block; }
}
