/*
Theme Name: NDS Editorial
Description: Tema editorial responsive para un medio local de La Araucanía.
Version: 1.4.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: nds-editorial
*/
@font-face{font-family:Manrope;src:url(assets/fonts/manrope.woff2) format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
@font-face{font-family:Instrument Serif;src:url(assets/fonts/instrument.woff2) format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Instrument Serif;src:url(assets/fonts/instrument-italic.woff2) format('woff2');font-style:italic;font-weight:400;font-display:swap}

:root {
    --ink: #142249;
    --muted: #4d5c7b;
    --night: #08143e;
    --news-texture: url(assets/brand/fondo-editorial-azul.webp);
    --brand-blue: #0a1d61;
    --brand-tint: #e2ebff;
    --accent: #ffe353;
    --paper: #f3f6fc;
    --white: #fff;
    --line: #dbe4f3;
    --serif: 'Instrument Serif', Georgia, serif;
    --sans: Manrope, system-ui, sans-serif;
    --soft-radius: 11px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-blue); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #2852c2; outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
video, iframe { max-width: 100%; }
h1,h2,h3,p,figure,ul { margin: 0; }
.wrap { width: min(100% - 5rem, 1232px); margin-inline: auto; }
.sr-only, .screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; background: #fff; padding: 1rem; top: .5rem; left: .5rem; }

.utility, .hero-section, .footer, .story-placeholder {
    background-color: var(--night);
    background-repeat: no-repeat;
    background-size: cover;
}
.utility {
    background-image: linear-gradient(90deg, #061030b0, #08143e48 58%, #061030a8), var(--news-texture);
    background-position: center 47%;
    color: #edf2ff;
}
.utility__inner { min-height: 43px; display: flex; align-items: center; gap: 1.1rem; font-size: .79rem; font-weight: 650; }
.utility__inner time { color: #c3cfee; border-left: 1px solid #34477d; padding-left: 1.1rem; }
.utility__area { display: inline-flex; align-items: center; gap: .48rem; }
.location-pin { width: 9px; height: 11px; border: 1.4px solid #ffe353; border-radius: 7px 7px 7px 0; transform: rotate(-45deg); display: inline-block; }
.location-pin::after { content: ''; width: 2px; height: 2px; border-radius: 50%; background: #ffe353; display: block; margin: 2px; }
.utility__right { margin-left: auto; display: flex; align-items: center; gap: 1.45rem; }

.utility a:hover, .footer a:hover { color: var(--accent); }

.social-links { display: flex; align-items: center; gap: .24rem; }
.social-link {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--social-ink);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.social-link span {
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: var(--social-icon) center / contain no-repeat;
}
.social-link--instagram {
    --social-icon: url(assets/icons/instagram.svg);
    --social-ink: #854e6d;
    --social-on-dark: #dec1d5;
}
.social-link--facebook {
    --social-icon: url(assets/icons/facebook.svg);
    --social-ink: #294d96;
    --social-on-dark: #b6c9ee;
}
.social-link--youtube {
    --social-icon: url(assets/icons/youtube.svg);
    --social-ink: #a53c47;
    --social-on-dark: #e8b7bc;
}
.social-link--whatsapp {
    --social-icon: url(assets/icons/whatsapp.svg);
    --social-ink: #246957;
    --social-on-dark: #add7ca;
}
.social-links .social-link { color: var(--social-on-dark); }
.social-links .social-link:is(:hover, :focus-visible) {
    color: #fff;
    background: #ffffff0d;
    border-color: #ffffff30;
}
.utility .social-link:focus-visible, .footer .social-link:focus-visible {
    outline-color: var(--accent);
    outline-offset: 2px;
}
.social-links--header {
    border-inline-start: 1px solid #ffffff2b;
    padding-inline-start: .7rem;
}
.social-links--header .social-link { width: 31px; height: 31px; }
.social-links--header .social-link span { width: 15px; height: 15px; }
.social-links--footer {
    justify-self: start;
    align-self: start;
    gap: .5rem;
}
.social-links--footer .social-link {
    width: 38px;
    height: 38px;
    border-color: #ffffff2b;
}
.share-row .social-link { background: var(--white); border-color: var(--line); }
.share-row .social-link:is(:hover, :focus-visible) { color: var(--brand-blue); background: var(--brand-tint); border-color: #aebfe4; }

.masthead { background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 3px 16px #0a1d6108; }
.masthead__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .36rem; white-space: nowrap; }
.brand__seal {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 66px;
    height: 66px;
    padding: 3px;
    border-radius: 50%;
    background: #dfe9ff;
    box-shadow: 0 5px 14px rgba(10,29,97,.16);
}
.brand__seal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand__wordmark { width: clamp(175px,19vw,250px); height: auto; }
.masthead__actions { display: flex; align-items: center; gap: .85rem; }
.header-search { border: 1px solid var(--line); height: 43px; padding: 0 .2rem 0 .8rem; border-radius: var(--soft-radius); display: flex; align-items: center; background: #f7f9fe; }
.header-search input { width: 11rem; min-width: 0; border: 0; background: transparent; outline-offset: 2px; color: var(--ink); font-weight: 600; font-size: .88rem; padding: .4rem .15rem; }
.header-search button { border: 0; background: transparent; width: 35px; height: 36px; display: grid; place-items: center; color: var(--muted); }
.search-icon { width: 15px; height: 15px; display: block; border: 1.7px solid currentColor; border-radius: 50%; position: relative; margin: -3px 2px 0 0; }
.search-icon::after { content: ''; position: absolute; width: 7px; height: 1.6px; background: currentColor; transform: rotate(45deg); right: -5px; bottom: -2px; }
.press-button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: .55rem .92rem; color: #fff; background: var(--night); border-radius: var(--soft-radius); font-weight: 750; font-size: .87rem; white-space: nowrap; }
.press-button:hover { background: #172e7c; color: #fff; }
.navigation { border-top: 1px solid #e9eef7; }
.navigation__inner { min-height: 47px; display: flex; align-items: stretch; gap: clamp(1rem, 3vw, 2.8rem); overflow-x: auto; scrollbar-width: none; }
.navigation a { display: inline-flex; align-items: center; white-space: nowrap; font-size: .93rem; font-weight: 760; border-bottom: 3px solid transparent; padding: 3px 0 0; }
.navigation a.is-current { color: var(--brand-blue); border-color: #e2b900; }
.navigation a:hover { color: var(--brand-blue); }
.navigation__edition { color: var(--brand-blue); margin-left: auto; }

.home-main { padding-bottom: 5.2rem; }
.bulletin { padding: .48rem .78rem; min-height: 43px; display: flex; align-items: center; gap: .75rem; border: 1px solid #d7e2f6; border-radius: var(--soft-radius); background: #fff; font-size: .88rem; }
.local-strip {
    display: flex;
    gap: .85rem;
    margin-block: .9rem;
}
.local-strip .bulletin { flex: 1; min-width: 0; margin: 0; }
.weather-card {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 248px;
    min-height: 58px;
    margin-inline-start: auto;
    padding: .45rem .72rem;
    border: 1px solid var(--line);
    border-radius: var(--soft-radius);
    color: var(--ink);
    background: linear-gradient(110deg, #fff, #eef4ff);
}
.weather-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0 0 0 44%;
    pointer-events: none;
    background: repeating-radial-gradient(ellipse at 100% 110%, transparent 0 10px, #33579c1c 11px 12px, transparent 13px 17px);
    mask-image: linear-gradient(100deg, transparent, #000);
}
.weather-card__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #cbdaf1;
    border-radius: 9px;
    background: #ffffff8c;
    color: var(--brand-blue);
}
.weather-card__icon::after {
    content: '';
    width: 17px;
    height: 17px;
    background: currentColor;
    mask: var(--weather-glyph) center / contain no-repeat;
}
[data-weather-icon="sun"] { --weather-glyph: url(assets/icons/sun.svg); }
[data-weather-icon="night"] { --weather-glyph: url(assets/icons/moon-stars.svg); }
[data-weather-icon="cloud"] { --weather-glyph: url(assets/icons/cloud.svg); }
[data-weather-icon="fog"] { --weather-glyph: url(assets/icons/cloud-fog2.svg); }
[data-weather-icon="rain"] { --weather-glyph: url(assets/icons/cloud-rain.svg); }
[data-weather-icon="snow"] { --weather-glyph: url(assets/icons/snow.svg); }
[data-weather-icon="storm"] { --weather-glyph: url(assets/icons/cloud-lightning-rain.svg); }
.weather-card__copy, .weather-card__readout { display: grid; line-height: 1.2; }
.weather-card__copy { gap: .23rem; }
.weather-card__copy strong { font-size: .86rem; }
.weather-card__copy span { font-size: .76rem; font-weight: 650; color: var(--muted); }
.weather-card__readout { justify-items: end; gap: .15rem; white-space: nowrap; }
.weather-card__readout strong { font: 800 1.38rem/1 var(--sans); letter-spacing: -.055em; color: var(--brand-blue); }
.weather-card__readout a { color: var(--muted); font-size: .68rem; text-decoration: underline; text-underline-offset: 2px; }
.weather-card__readout a:hover { color: var(--brand-blue); }
.bulletin__label { padding: .27rem .52rem; border-radius: 4px; background: var(--accent); font-weight: 800; white-space: nowrap; color: #0a1d61; display: inline-flex; align-items: center; gap: .43rem; }
.bulletin__label i { width: 7px; height: 7px; border-radius: 50%; background: #0a1d61; display: inline-block; }
.bulletin time { color: var(--muted); font-weight: 680; font-variant-numeric: tabular-nums; border-left: 1px solid #d9e2f5; padding-left: .75rem; }
.bulletin a { min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bulletin a:hover { text-decoration: underline; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.section-heading h1, .section-heading h2 { font: 400 clamp(2.65rem,4vw,3.65rem)/.97 var(--serif); letter-spacing: -.025em; }
.text-link { display: inline-flex; width: fit-content; align-items: center; border-bottom: 1px solid #6c88d4; color: var(--brand-blue); font-weight: 800; font-size: .89rem; padding-bottom: .12rem; }
.text-link:hover { border-color: currentColor; }
.hero-section {
    position: relative;
    isolation: isolate;
    padding: 1.65rem 0 2.35rem;
    color: #fff;
    background-image:
        radial-gradient(ellipse at 83% 0%, #3158be37, transparent 58%),
        linear-gradient(160deg, #08143e61, #08143ec7),
        var(--news-texture);
    background-position: center 45%;
}
.hero-section__inner { position: relative; }
.hero-section .section-heading--hero { margin: 0 0 1.15rem; }
.hero-section h1 { display: flex; align-items: center; gap: .72rem; }
.hero-section h1::before { content: ''; width: 4px; height: .72em; border-radius: 3px; background: var(--accent); box-shadow: 0 0 16px #ffe35342; }
.hero-section .text-link { color: #fff; border-color: #8198d5; }
.hero-section .text-link:hover { color: var(--accent); border-color: currentColor; }
.hero-section .empty-state { color: var(--ink); }
.hero-section .lead-story, .hero-section .story-card--cover {
    border: 1px solid #dbe7ff38;
    box-shadow: 0 16px 30px #02082066, 0 2px 0 #2d4caa63;
}
.hero-section .lead-story { border-top-color: #fff1ba80; }
.hero-section .lead-story h2 { text-shadow: 0 3px 18px #050c31b3; }
.hero-section .lead-story__body { padding-bottom: clamp(1.15rem, 2.7vw, 2.3rem); }
.hero-section .read-label {
    color: var(--accent);
    border: 1px solid #ffe3538c;
    border-radius: 4px;
    padding: .27rem .55rem;
}
.hero-section .lead-story__link:hover .read-label { background: var(--accent); color: var(--ink); }
.home-main__stories, .towns-section { position: relative; isolation: isolate; }
.home-main__stories::before, .towns-section::before {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}
.home-main__stories::before {
    inset: -1rem 0 auto auto;
    width: min(46rem, 82%);
    height: 21rem;
    background:
        repeating-radial-gradient(ellipse at 88% 41%, transparent 0 11px, #4069b025 12px 13px, transparent 14px 20px),
        radial-gradient(ellipse at 77% 35%, #dae7ff, transparent 65%);
    mask-image: radial-gradient(ellipse at 78% 36%, #000 7%, transparent 69%);
}
.towns-section::before {
    inset: -.6rem auto auto 0;
    width: min(31rem, 90%);
    height: 16rem;
    background:
        repeating-radial-gradient(ellipse at 14% 58%, transparent 0 10px, #4069b024 11px 12px, transparent 13px 18px),
        radial-gradient(ellipse at 16% 48%, #e1ebff, transparent 65%);
    mask-image: radial-gradient(ellipse at 10% 47%, #000 6%, transparent 66%);
}
.home-main__stories > .latest-section:first-child { margin-top: 2.35rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, 1fr); min-height: clamp(385px, 53vh, 475px); gap: 1rem; }
.hero-grid--single { grid-template-columns: 1fr; }
.lead-story, .story-card--cover { position: relative; overflow: hidden; border-radius: var(--soft-radius); background: #0d215b; color: white; }
.lead-story__link, .story-card--cover .story-card__link { display: flex; position: relative; isolation: isolate; min-height: 100%; height: 100%; color: #fff; outline-offset: -5px; align-items: flex-end; }
.lead-story__link::before, .story-card--cover .story-card__link::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(6,15,53,.26) 40%, rgba(4,12,46,.96) 100%); }
.lead-story .story-photo, .lead-story .story-placeholder, .story-card--cover .story-card__media { position: absolute; inset: 0; z-index: -2; }
.story-photo, .story-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .55s cubic-bezier(.2,.7,.25,1); }
.story-placeholder { background-image: linear-gradient(#08143e40, #08143e82), var(--news-texture); background-position: center; }
.lead-story__link:hover .story-photo, .story-card__link:hover .story-photo { transform: scale(1.035); }
.lead-story__body { z-index: 1; padding: clamp(1.25rem, 3.2vw, 2.65rem); width: 100%; }
.tag { display: inline-flex; align-items: center; padding: .31rem .59rem; background: var(--accent); color: #142249; border-radius: 3px; font-size: .76rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.lead-story h2 { margin-top: .8rem; text-wrap: balance; max-width: 760px; font: 400 clamp(3rem, 5.1vw, 5rem)/.94 var(--serif); letter-spacing: -.018em; }
.lead-story p { max-width: 40rem; margin-top: .72rem; color: #eff2ff; line-height: 1.53; font-size: .99rem; font-weight: 570; }
.lead-story__meta { display: flex; flex-wrap: wrap; gap: .8rem 1.25rem; align-items: center; margin-top: 1.1rem; color: #d4dfff; font-size: .82rem; font-weight: 760; }
.read-label { color: #fff; border-bottom: 1px solid #c6d7ff; }
.hero-aside { display: grid; grid-template-rows: repeat(2,minmax(0, 1fr)); gap: 1rem; }
.hero-aside .story-card:only-child { grid-row: span 2; }
.story-card--cover .story-card__link::before { background: linear-gradient(180deg, rgba(4,13,42,.04) 10%, rgba(4,12,41,.94) 100%); }
.story-card--cover .story-card__body { padding: 1.2rem 1.35rem; }
.story-card--cover .eyebrow { color: #ffe353; }
.story-card--cover h3 { color: #fff; font: 400 clamp(1.85rem,2.5vw,2.7rem)/.99 var(--serif); margin: .25rem 0 0; text-wrap: balance; }
.eyebrow { color: var(--brand-blue); font-size: .77rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }

.latest-section, .towns-section, .media-section, .related-section { margin-top: 3.2rem; padding-top: 1.2rem; border-top: 2px solid #0a1d61; }
.cards-grid, .towns-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.story-card--standard { border: 1px solid var(--line); background: #fff; border-radius: var(--soft-radius); overflow: hidden; box-shadow: 0 8px 24px #0a1d610a; transition: box-shadow .25s, transform .25s; }
.story-card--standard .story-card__link { display: block; height: 100%; }
.story-card--standard .story-card__media, .story-card--town .story-card__media { aspect-ratio: 1.65; overflow: hidden; }
.story-card--standard .story-card__body { padding: 1.12rem 1.15rem 1.2rem; }
.story-card--standard h3, .story-card--town h3 { font: 400 clamp(1.9rem,2.7vw,2.55rem)/1.04 var(--serif); margin: .35rem 0 .6rem; }
.story-card--standard time { display: inline-block; font-size: .81rem; color: var(--muted); font-weight: 660; }
.town { background: #edf3ff; padding: 1rem; border: 1px solid #d8e4fc; border-radius: var(--soft-radius); box-shadow: 0 5px 19px #0a1d610a; }
.town > h3 { font: 400 2.1rem/.98 var(--serif); margin-bottom: .9rem; }
.story-card--town .story-card__media { border-radius: 3px; margin-bottom: .65rem; }
.story-card--town h3 { font-size: 2rem; }
.story-card--town .eyebrow { display: none; }
.town__links { list-style: none; padding: 0; margin-top: .5rem; }
.town__links li { padding: .68rem 0; border-top: 1px solid #d3dff4; font-weight: 720; font-size: .93rem; }

.ad-block { margin-top: 2.5rem; border: 1px solid #cfddfa; border-left: 4px solid #e2b900; border-radius: var(--soft-radius); background: #e9f0ff; }
.ad-block__link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink); padding: 1.15rem 1.4rem; }
.ad-block__link:hover { background: #dee9ff; color: var(--ink); }
.ad-block__heading { display: block; font: 400 2rem/1 var(--serif); margin-top: .3rem; }
.ad-block__image { max-height: 120px; width: auto; border-radius: 3px; object-fit: contain; }
.ad-block__cta { flex: 0 0 auto; }
.media-section { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.1rem; align-items: stretch; }
.media-section__tv .story-card--cover { min-height: 245px; }
.media-section__tv .story-card--cover .story-card__link { min-height: 245px; }

.inner-main { min-height: 62vh; padding: 2.1rem 0 4.75rem; }
.page-head { padding: .6rem 0 1.4rem; border-bottom: 2px solid #0a1d61; margin-bottom: 1.5rem; }
.page-head h1, .article__header h1 { font: 400 clamp(3.5rem,7vw,6.5rem)/.95 var(--serif); letter-spacing: -.027em; margin: .62rem 0 .45rem; }
.page-head p { color: var(--muted); max-width: 45rem; margin: .65rem 0 0; }
.empty-state { padding: 2.5rem 1.5rem; font-weight: 630; background: #eaf0ff; border: 1px solid var(--line); border-radius: var(--soft-radius); }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1.5rem 0 0; }
.page-numbers { display: inline-flex; padding: .45rem .8rem; min-width: 2.4rem; justify-content: center; border: 1px solid var(--line); border-radius: 4px; background: white; font-weight: 720; font-size: .93rem; }
.page-numbers.current { background: var(--night); border-color: var(--night); color: white; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 5; pointer-events: none; }
.admin-bar .reading-progress { top: var(--wp-admin--admin-bar--height,32px); }
.reading-progress span { display: block; width: 100%; height: 100%; background: #ffe353; transform-origin: left center; transform: scaleX(0); box-shadow: 0 1px 3px #14224955; }
.article-main { padding-top: 1.3rem; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; color: var(--muted); font-weight: 700; font-size: .9rem; }
.breadcrumb a:hover { text-decoration: underline; }
.article__header { margin: 2.2rem auto 1.45rem; max-width: 980px; text-align: center; }
.tag--light { background: #e4ecff; }
.article__header h1 { text-wrap: balance; }
.article__deck { color: var(--muted); max-width: 710px; margin: 1rem auto .8rem; font-size: 1.13rem; line-height: 1.56; }
.article__byline { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: .9rem; color: var(--muted); font-size: .89rem; padding-top: .52rem; }
.article__byline strong { color: var(--ink); }
.article__photo { max-width: 1100px; margin: auto; }
.article__photo img { aspect-ratio: 2.07; border-radius: var(--soft-radius); }
.article__photo figcaption { color: var(--muted); font-size: .83rem; padding-top: .55rem; }
.article__content, .page-body { max-width: 765px; margin: 1.35rem auto 0; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; }
.quiet-button { display: inline-flex; align-items: center; padding: .45rem .68rem; border: 1px solid #d0ddf3; background: #fff; border-radius: 4px; color: var(--brand-blue); font-size: .86rem; font-weight: 750; }
.quiet-button:hover { background: #e8efff; }
.share-status { color: var(--brand-blue); align-self: center; font-size: .91rem; }
.prose { font-size: 1.11rem; line-height: 1.8; overflow-wrap: break-word; }
.prose :is(p, figure, ul, ol, blockquote, .wp-block-video) { margin-block: 0 1.2rem; }
.prose :is(h2,h3) { font: 400 clamp(2.2rem,4vw,3rem)/1.04 var(--serif); margin-block: 1.65rem .65rem; }
.prose a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: .19em; }
.prose iframe { display: block; width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.prose figure img { border-radius: var(--soft-radius); }
.edition-sheet { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--brand-blue); padding: clamp(1.25rem,4vw,3rem); margin-bottom: 1.2rem; }
.edition-sheet img { width: 100%; aspect-ratio: 2; object-fit: cover; }
.edition-sheet h2 { margin-top: .3rem; }

.footer {
    background-image: linear-gradient(180deg, #08143e57, #050d2dd9), var(--news-texture);
    background-position: center 60%;
    color: #edf2ff;
}
.footer__main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-top: 2.5rem; padding-bottom: 2rem; }
.brand--footer { gap: .75rem; }
.brand--footer .brand__seal { width: 51px; height: 51px; background: #7289ca; box-shadow: none; }
.brand--footer .brand__wordmark { width: clamp(148px,15vw,188px); }
.footer__main p { color: #ccd8f6; margin-top: .8rem; font-size: .93rem; }
.footer nav:not(.social-links) { display: grid; gap: .5rem; align-content: start; font-size: .91rem; font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.2rem; border-top: 1px solid #a4b9f154; padding-top: 1rem; padding-bottom: 1.1rem; color: #c2cfee; font-size: .8rem; }

@media (max-width: 1000px) {
    .wrap { width: min(100% - 3rem, 1232px); }
    .hero-grid { min-height: clamp(380px, 50vh, 420px); }
    .navigation__inner { gap: 1.35rem; }
}
@media (max-width: 760px) {
    .wrap { width: calc(100% - 2rem); }
    .utility__inner { gap: .55rem; min-height: 40px; }
    .utility__inner time { display: none; }
    .utility__right { gap: .55rem; }
    .social-links--header { gap: .15rem; padding-inline-start: .45rem; }
    .social-links--header .social-link { width: 27px; height: 27px; }
    .social-links--header .social-link span { width: 14px; height: 14px; }
    .hero-section { padding: 1.32rem 0 1.5rem; }
    .hero-section .section-heading--hero { margin-bottom: .8rem; }
    .hero-section h1::before { width: 3px; }
    .masthead__inner { gap: 1rem; flex-wrap: wrap; padding: .9rem 0; min-height: 0; }
    .brand { display: inline-flex; align-items: center; gap: .36rem; white-space: nowrap; }
.brand__seal {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 66px;
    height: 66px;
    padding: 3px;
    border-radius: 50%;
    background: #dfe9ff;
    box-shadow: 0 5px 14px rgba(10,29,97,.16);
}
.brand__seal img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand__wordmark { width: clamp(175px,19vw,250px); height: auto; }
.masthead__actions { width: 100%; gap: .55rem; }
    .header-search { flex: 1; min-width: 0; }
    .header-search input { width: 100%; }
    .navigation__inner { min-height: 44px; padding-inline: 1rem; width: 100%; }
    .navigation__edition { margin-left: 0; }
    .bulletin { padding: .43rem .52rem; gap: .5rem; }
    .bulletin time { display: none; }
    .bulletin__label { font-size: .8rem; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: .72rem; }
    .lead-story__link { min-height: 375px; }
    .hero-aside { grid-template-rows: auto; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
    .hero-aside .story-card__link { min-height: 165px; }
    .hero-aside .story-card__body { padding: .75rem; }
    .hero-aside h3 { font-size: clamp(1.55rem,5vw,2.3rem); }
    .hero-aside .eyebrow { font-size: .66rem; }
    .cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .72rem; }
    .story-card--standard .story-card__body { padding: .8rem; }
    .story-card--standard h3 { font-size: 1.85rem; }
    .towns-grid, .media-section { grid-template-columns: 1fr; }
    .footer__main { grid-template-columns: 1fr 1fr; gap: 1.15rem; }
    .footer__main > div { grid-column: 1 / -1; }
    .article__header { text-align: left; margin-top: 1.65rem; }
    .article__byline { justify-content: flex-start; }
    .article__photo img { aspect-ratio: 1.45; }
}
@media (max-width: 575px) {
    .local-strip { display: grid; gap: .48rem; margin-block: .7rem; }
    .weather-card { min-width: 0; min-height: 52px; margin-inline-start: 0; }
}
@media (max-width: 450px) {
    .lead-story__link { min-height: 335px; }
    .lead-story h2 { font-size: clamp(2.6rem,11vw,3.2rem); }
    .lead-story p { font-size: .91rem; }
    .lead-story__body { padding: 1rem; }
    .hero-aside .story-card__link { min-height: 175px; }
    .ad-block__link { align-items: flex-start; flex-direction: column; }
    .archive-grid { grid-template-columns: 1fr; }
    .page-head h1, .article__header h1 { font-size: clamp(3rem, 12vw, 4.2rem); }
}
@media (prefers-reduced-motion: reduce) { .story-photo,.story-placeholder { transition: none; } }
@media print {
    .utility,.masthead,.footer,.reading-progress,.share-row,.ad-block,.related-section,.page-head > a,[data-print-edition],#wpadminbar { display: none !important; }
    body { background: #fff; color: #000; }
    .wrap,.page-body { width: 100%; max-width: none; }
    .inner-main { padding: 0; }
    .edition-sheet { break-inside: avoid; }
}

.navigation__inner::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .is-revealed { animation: nds-rise .52s cubic-bezier(.24,.65,.35,1) both; }
    @keyframes nds-rise {
        from { opacity: .73; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

.custom-logo-link img { max-width: min(68vw, 300px); max-height: 74px; object-fit: contain; }
.navigation__menu { display: flex; gap: inherit; list-style: none; padding: 0; }
.navigation__menu li { display: flex; }
.navigation__menu .current-menu-item > a { color: var(--brand-blue); border-color: #e2b900; }

@media (prefers-reduced-motion: no-preference) {
    .hero-section .section-heading--hero { animation: nds-rise .48s cubic-bezier(.24,.65,.35,1) both; }
    .hero-grid { animation: nds-rise .65s .04s cubic-bezier(.24,.65,.35,1) both; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    [data-depth] > a { transition: transform .38s cubic-bezier(.18,.66,.3,1); }
    [data-depth] > a::after {
        content: '';
        position: absolute;
        z-index: 2;
        inset: 0;
        background: radial-gradient(ellipse at var(--reflection-x, 50%) var(--reflection-y, 50%), #fff7d62e, transparent 59%);
        opacity: 0;
        pointer-events: none;
        transition: opacity .28s ease;
    }
    [data-depth].is-tilted > a {
        transform: perspective(920px) translateZ(8px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
        transition-duration: .17s;
    }
    [data-depth].is-tilted > a::after { opacity: 1; }
    [data-depth].is-tilted .story-photo { transform: translate(var(--photo-x, 0px), var(--photo-y, 0px)) scale(1.075); }
    .story-card--standard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #0a1d611c; }
}
@media (prefers-reduced-motion: reduce) {
    .social-link, .story-card--standard { transition: none; }
    .lead-story__link:hover .story-photo, .story-card__link:hover .story-photo { transform: none; }
}
@media (max-width: 355px) {
    .utility__inner { font-size: .71rem; }
    .utility__area, .utility__right { gap: .3rem; }
    .social-links--header { gap: .1rem; padding-inline-start: .25rem; }
    .social-links--header .social-link { width: 24px; height: 24px; }
}

.news-ticker { gap: .75rem; min-height: 58px; }
.news-ticker__list { flex: 1; min-width: 0; overflow: hidden; list-style: none; padding: 0; }
.news-ticker__list li:not([hidden]) { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.news-ticker__list a { display: block; }
.news-ticker__category { color: var(--brand-blue); border-inline-end: 1px solid var(--line); padding-inline-end: .65rem; flex: 0 0 auto; font-size: .76rem; font-weight: 800; }
.news-ticker__button {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--paper);
    color: var(--brand-blue);
}
.news-ticker__button[hidden] { display: none; }
.news-ticker__button:hover { background: var(--brand-tint); }
.news-ticker__button span { width: 9px; height: 12px; border-inline: 2px solid currentColor; }
.news-ticker__button.is-paused span { width: 0; height: 0; border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }
@media (prefers-reduced-motion: no-preference) {
    .news-ticker__list li:not([hidden]) { animation: ticker-in .38s ease both; }
    @keyframes ticker-in { from { opacity: 0; transform: translateY(.65rem); } to { opacity: 1; transform: translateY(0); } }
}

.nds-contact { display: grid; gap: .7rem; margin: 1rem 0 0; }
.nds-contact dt { color: inherit; font-size: .79rem; font-weight: 800; }
.nds-contact dd { margin: .16rem 0 0; font-size: .9rem; }
.nds-contact a { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .19em; }
.footer .nds-contact dt { color: #bfcdf0; }
.footer .nds-contact dd { color: #f1f5ff; }
.prose .nds-contact { grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 1rem; }
.prose .nds-contact > div { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 1rem; }

.edition-feature {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: clamp(.85rem, 2vw, 1.55rem);
    align-items: start;
    align-self: start;
    padding: clamp(.85rem, 2vw, 1.75rem);
    background: #eaf0ff;
    border: 1px solid #cedbf7;
    border-top: 4px solid var(--brand-blue);
    border-radius: 6px;
}
.edition-feature--full { max-width: 1080px; margin-inline: auto; background: #fff; }
.edition-feature__cover { display: block; box-shadow: 4px 5px 0 #aebede; }
.edition-feature__cover img { width: 100%; height: auto; display: block; }
.edition-feature__body { min-width: 0; }
.edition-feature h2 { font: 400 clamp(2.1rem, 3.8vw, 3.7rem)/.98 var(--serif); color: var(--brand-blue); margin: .3rem 0 .45rem; }
.edition-feature__kicker { font-size: .77rem; font-weight: 800; color: var(--brand-blue); }
.edition-feature__date { font-size: .76rem; font-weight: 650; color: var(--muted); }
.edition-feature__lead { font-size: .88rem; line-height: 1.5; font-weight: 750; margin: .7rem 0 .55rem; }
.edition-feature__index { list-style: none; padding: 0; border-top: 1px solid #cedbf7; }
.edition-feature__index a { display: flex; justify-content: space-between; gap: .5rem; padding: .48rem 0; border-bottom: 1px solid #cedbf7; font-size: .79rem; }
.edition-feature__index a:hover { text-decoration: underline; }
.edition-feature__page { flex-shrink: 0; color: var(--muted); }
.edition-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: .9rem; }
.edition-feature__button { padding: .57rem .76rem; border-radius: 4px; background: var(--brand-blue); color: #fff; font-weight: 800; font-size: .78rem; }
.edition-feature__button:hover { background: #1b367e; color: #fff; }
.edition-feature__link { font-size: .79rem; font-weight: 800; text-decoration: underline; }
@media (max-width: 575px) {
    .news-ticker { min-height: 49px; gap: .55rem; }
    .news-ticker__category { display: none; }
    .edition-feature { grid-template-columns: minmax(0, 1fr); }
    .edition-feature__cover { width: min(100%, 340px); margin-inline: auto; }
}

.search-results[hidden] { display: none; }
