:root {
    --ink: #17232e;
    --navy: #14273a;
    --navy-dark: #0f1d2b;
    --paper: #f8f6f0;
    --white: #fffdf8;
    --line: #d9dcd6;
    --muted: #53606a;
    --accent: #f3bd55;
    --link: #235674;
    --serif: "Source Serif 4", Georgia, serif;
    --sans: Manrope, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 4.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.5 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link); }
h1, h2, h3, h4, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { border: 0; padding: 0; color: inherit; background: transparent; cursor: pointer; }
svg { width: 21px; height: 21px; flex-shrink: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #467ba1; outline-offset: 4px; }
.semnal-wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100000; padding: .8rem 1.2rem; background: var(--white); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
#continut { min-height: 30vh; padding-block: 26px 74px; }

.masthead-shell { background: var(--navy); color: var(--white); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 116px; padding-block: 18px; }
.brand-container { min-width: 0; }
.masthead-brand { display: block; width: fit-content; color: var(--white); }
.masthead-brand:hover { color: var(--white); }
.brand-row { display: flex; align-items: center; gap: 12px; }
.brand-symbol { position: relative; overflow: hidden; width: 49px; height: 51px; flex-shrink: 0; }
.brand-symbol img { position: absolute; inset: 0 auto auto -2px; width: 112px; height: auto; max-width: none; }
.brand-name, .footer-brand { font: 700 clamp(2rem, 4.4vw, 3.55rem)/.98 var(--serif); letter-spacing: -.062em; overflow-wrap: anywhere; }
.brand-name span, .footer-brand span { padding-left: .09em; color: var(--accent); }
.brand-motto { display: block; margin: 8px 0 0 62px; color: #d6dfe4; font-size: .68rem; font-weight: 700; letter-spacing: .19em; line-height: 1.45; text-transform: uppercase; }
.masthead-tools { display: flex; flex-shrink: 0; align-items: center; gap: 24px; }
.edition-date { color: #d6dfe4; font-size: .76rem; font-weight: 600; }
.utility-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 8px 15px; border: 1px solid #597083; font-size: .78rem; font-weight: 700; }
.utility-button:hover { border-color: var(--accent); color: var(--accent); }
.masthead-shell :focus-visible, .site-footer :focus-visible, .lead-story :focus-visible { outline-color: var(--accent); }
#menu-toggle { display: none; }

.semnal-navigation { position: sticky; top: 0; z-index: 12; border-bottom: 1px solid var(--line); background: var(--white); }
.nav-inner { display: flex; min-height: 53px; align-items: stretch; justify-content: space-between; gap: 24px; }
.primary-menu { display: flex; align-items: stretch; gap: clamp(16px, 2.4vw, 34px); padding: 0; margin: 0; list-style: none; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.primary-menu > li { position: relative; display: flex; align-items: stretch; }
.primary-menu > li > a { position: relative; display: flex; align-items: center; font-size: .83rem; font-weight: 750; white-space: nowrap; }
.primary-menu > li > a:focus-visible { outline-offset: -4px; }
.primary-menu > li > a[aria-current=page], .primary-menu .current-menu-ancestor > a { color: var(--link); }
.primary-menu > li > a[aria-current=page]::after, .primary-menu .current-menu-ancestor > a::after {
    position: absolute; right: 0; bottom: -1px; left: 0; height: 4px; background: var(--accent); content: "";
}
#more-toggle { display: flex; align-items: center; gap: 7px; flex-shrink: 0; margin-left: auto; font-size: .78rem; font-weight: 750; }
#more-toggle:hover { color: var(--link); }
#more-toggle svg { width: 16px; height: 16px; }
.sections-panel { background: var(--white); padding: 22px 0 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 55px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-top h2 { font: 700 1.68rem/1.1 var(--serif); }
#menu-close { padding: 8px 0 8px 8px; font-size: .8rem; font-weight: 700; }
#menu-close span { margin-left: .3rem; font-size: 1.2rem; }
.section-links, .panel-menu { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 24px; list-style: none; padding: 0; margin: 14px 0 0; }
.section-links > a, .panel-menu > li { padding-block: 9px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 700; overflow-wrap: anywhere; }
.panel-menu .sub-menu { margin: .3rem 0; padding-left: 1rem; font-weight: 500; }

.edition-layout { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(255px, 1fr); gap: 34px; }
.edition-layout--solo { grid-template-columns: minmax(0,1fr); }
.edition-heading { display: flex; gap: 10px; align-items: center; min-height: 43px; margin-bottom: 14px; }
.edition-heading > span { flex: 0 0 5px; height: 22px; background: var(--accent); }
.edition-heading :is(h1,h2) { font: 700 clamp(1.5rem, 2.4vw, 2.125rem)/1.05 var(--serif); letter-spacing: -.035em; }
.lead-story { position: relative; display: grid; align-items: end; min-height: clamp(365px, 36vw, 528px); padding-top: clamp(150px, 16vw, 215px); background: var(--navy); color: var(--white); }
.lead-media { position: absolute; inset: 0; }
.lead-media .picture { width: 100%; height: 100%; }
.lead-media img { object-position: center 40%; }
.lead-media .picture::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 20%, #09152235 42%, #091522c9 71%, #091522 100%); content: ""; }
.lead-copy { position: relative; padding: 0 clamp(21px, 2.8vw, 42px) 28px; pointer-events: none; }
.lead-copy a { pointer-events: auto; }
.lead-copy .kicker { color: #192c3f; background: var(--accent); padding: 4px 9px; }
.lead-copy h2 {
    max-width: 19em;
    margin-top: 10px;
    font: 700 clamp(2.12rem, 3.75vw, 3.6rem)/1.06 var(--serif);
    letter-spacing: -.048em;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}
.lead-copy h2 a:hover { color: #ffdf9a; }
.lead-deck { max-width: 54ch; margin-top: 11px; color: #f0eee9; font-size: clamp(.87rem, 1.22vw, 1.07rem); font-weight: 500; line-height: 1.58; }
.lead-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 19px; font-size: .73rem; font-weight: 650; }
.lead-footer time { color: #e4e8e8; }
.read-story { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 800; white-space: nowrap; }
.read-story:hover { color: #ffdf9a; }
.read-story svg, .section-more svg { width: 17px; height: 17px; }
.news-rail { align-self: stretch; border-left: 1px solid var(--line); padding-left: 28px; }
.news-rail .edition-heading { margin-bottom: 10px; }
.rail-list { border-top: 2px solid var(--navy); }
.rail-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(52px, 5.5vw, 88px);
    gap: 12px;
    align-items: start;
    padding-block: 15px;
    border-bottom: 1px solid var(--line);
}
.rail-item > .picture { aspect-ratio: 1; }
.rail-item .picture-placeholder { font-size: clamp(.68rem, 1.05vw, .9rem); }
.rail-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; margin-bottom: 5px; }
.rail-meta time { color: var(--muted); font-size: .7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.rail-meta .kicker { font-size: .64rem; }
.rail-item h3 { font: 650 clamp(1.14rem,1.62vw,1.5rem)/1.18 var(--serif); letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: pretty; }
.rail-more { margin-top: 15px; }
.kicker { display: inline-block; width: fit-content; color: var(--link); font-size: .71rem; line-height: 1.45; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; overflow-wrap: anywhere; }
a.kicker:hover { text-decoration: underline; text-underline-offset: .2em; }
.lead-story a.kicker:hover { color: var(--navy-dark); }

.news-section { margin-top: 40px; padding-top: 13px; border-top: 2px solid var(--navy); }
.section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 16px; }
.section-heading h2 { font: 700 clamp(1.62rem, 3.1vw, 2.55rem)/1.1 var(--serif); letter-spacing: -.035em; overflow-wrap: anywhere; }
.section-more { display: inline-flex; align-items: center; gap: 7px; color: var(--link); font-size: .74rem; font-weight: 800; }
.section-more:hover { text-decoration: underline; text-underline-offset: .25em; }
.section-grid, .collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.picture { position: relative; display: block; overflow: hidden; background: #e5e8e6; }
.picture img { width: 100%; height: 100%; object-fit: cover; }
.picture-placeholder { display: flex; height: 100%; justify-content: center; align-items: center; background: linear-gradient(140deg, #23435a, var(--navy-dark)); color: var(--white); text-align: center; font: 700 clamp(1.5rem,3vw,2.8rem)/1 var(--serif); letter-spacing: -.045em; }
.picture-placeholder > span { color: var(--accent); }
.news-card { min-width: 0; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.news-card > .picture { aspect-ratio: 16/9; }
.card-copy { display: grid; align-content: start; gap: 7px; padding-top: 12px; }
.card-copy h3 { font: 650 clamp(1.32rem,2.3vw,1.85rem)/1.15 var(--serif); letter-spacing: -.027em; overflow-wrap: anywhere; text-wrap: pretty; }
.card-copy p { color: var(--muted); font-size: .86rem; line-height: 1.58; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; color: var(--muted); font-size: .69rem; font-weight: 650; }

.collection-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 20px 0 21px; padding-bottom: 17px; border-bottom: 2px solid var(--navy); }
.collection-header h1, .empty-state h1 { margin-top: 4px; font: 700 clamp(2.15rem, 5.8vw, 4rem)/1.06 var(--serif); letter-spacing: -.043em; overflow-wrap: anywhere; }
.collection-header p { color: var(--muted); font-size: .82rem; }
.collection-filters { display: flex; flex-wrap: wrap; gap: 7px 9px; margin-bottom: 19px; }
.collection-filters a { padding: 5px 9px; border: 1px solid var(--line); color: var(--link); font-size: .72rem; font-weight: 700; }
.collection-filters a:hover, .collection-filters a[aria-current] { color: var(--white); border-color: var(--navy); background: var(--navy); }
.collection-grid { row-gap: 27px; }
.empty-state { max-width: 650px; margin: 35px auto; padding: 26px 0; }
.empty-state h2 { font: 700 2rem/1.15 var(--serif); }
.empty-state p { margin-block: 9px; color: var(--muted); }
.empty-state > a { color: var(--link); text-decoration: underline; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 23px; color: var(--muted); font-size: .76rem; font-weight: 650; }
.breadcrumb a:hover { text-decoration: underline; }
.reader-header { max-width: 994px; }
.reader-header h1 { margin: 7px 0 8px; font: 700 clamp(2.2rem,4.7vw,4.5rem)/1.06 var(--serif); letter-spacing: -.046em; overflow-wrap: anywhere; text-wrap: pretty; }
.reader-byline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 19px; padding: 13px 0; border-block: 1px solid var(--line); }
.reader-byline > div { display: flex; flex-wrap: wrap; gap: 4px 13px; color: var(--muted); font-size: .75rem; }
.reader-byline strong { color: var(--ink); }
.share-button { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; min-height: 34px; padding-inline: 9px; border: 1px solid var(--line); color: var(--link); font-size: .73rem; font-weight: 800; }
.share-button:hover { border-color: var(--link); }
.share-button svg { width: 16px; height: 16px; }
.reading-grid { display: grid; grid-template-columns: minmax(0,2.75fr) minmax(215px,1fr); gap: 42px; margin-top: 25px; align-items: start; }
.reading-main { min-width: 0; }
.reader-photo img { width: 100%; max-height: 600px; object-fit: contain; object-position: left; }
.reader-photo figcaption { margin-top: 8px; color: var(--muted); font-size: .72rem; }
.article-body { max-width: 72ch; margin-top: 23px; font: 400 clamp(1.05rem,1.8vw,1.28rem)/1.7 var(--serif); overflow-wrap: anywhere; }
.article-body > * + * { margin-top: 1.12em; }
.article-body a:not(.wp-block-button__link) { color: var(--link); text-decoration: underline; text-underline-offset: .13em; }
.article-body blockquote { border-left: 4px solid var(--accent); padding-left: 1.2em; margin-inline: 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; font: 700 .72rem var(--sans); }
.article-tags a { padding: 5px 8px; border: 1px solid var(--line); }
.reader-sidebar { min-width: 0; padding-left: 23px; border-left: 1px solid var(--line); }
.reader-sidebar h2 { padding-top: 9px; border-top: 2px solid var(--navy); font: 700 1.53rem/1.16 var(--serif); }
.reader-sidebar article { padding-block: 13px; border-bottom: 1px solid var(--line); }
.reader-sidebar article .picture { aspect-ratio: 16/8; margin-bottom: 7px; }
.reader-sidebar h3 { font: 650 1.2rem/1.22 var(--serif); }

.site-footer { padding: 29px 0 20px; background: var(--navy); color: var(--white); }
.site-footer a:hover { color: var(--accent); }
.footer-head, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.footer-head { padding-bottom: 19px; border-bottom: 1px solid #506476; }
.footer-brand { font-size: clamp(1.95rem,3vw,2.72rem); }
.back-to-top, .footer-bottom { color: #d2dce4; font-size: .73rem; font-weight: 650; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 21px; margin: 17px 0; padding: 0; list-style: none; font-size: .76rem; font-weight: 650; }
.footer-bottom { padding-top: 15px; border-top: 1px solid #506476; }

#search-dialog { width: min(560px, calc(100% - 34px)); max-width: none; max-height: calc(100% - 40px); padding: 24px; border: 0; border-top: 5px solid var(--accent); color: var(--ink); background: var(--white); box-shadow: 0 18px 64px #1326384d; }
#search-dialog::backdrop { background: #0c1727a1; }
.search-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.search-header h2 { font: 700 1.78rem/1.13 var(--serif); letter-spacing: -.03em; }
#search-close { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--line); }
.result-count { color: var(--muted); font-size: .78rem; }
#notification { position: fixed; z-index: 40; right: 15px; bottom: 15px; max-width: calc(100% - 30px); padding: 10px 14px; color: var(--white); background: var(--navy); opacity: 0; pointer-events: none; }
#notification.visible { opacity: 1; }

body.admin-bar .semnal-navigation { top: 32px; }
@media (max-width: 1100px) {
    .semnal-wrap { width: calc(100% - 60px); }
    .nav-inner { gap: 18px; }
    .primary-menu { gap: 16px; }
    .primary-menu > li > a { font-size: .76rem; }
    .edition-layout { gap: 24px; }
    .news-rail { padding-left: 21px; }
}
@media (max-width: 900px) {
    .semnal-navigation { position: static; }
    .nav-inner { gap: 0; }
    .primary-menu > li > a { min-height: 45px; }
    .nav-inner { min-height: 45px; }
    #menu-toggle { display: inline-flex; padding-inline: 10px; }
    #more-toggle { display: none; }
    .edition-layout { grid-template-columns: minmax(0,1fr) minmax(195px,.49fr); }
    .edition-layout--solo { grid-template-columns: minmax(0,1fr); }
    .lead-story { padding-top: 148px; }
    .lead-copy { padding-bottom: 20px; }
    .lead-footer { font-size: .68rem; }
    .section-links, .panel-menu { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .reading-grid { gap: 24px; }
    .reader-sidebar { padding-left: 16px; }
}
@media (max-width: 680px) {
    .semnal-wrap { width: calc(100% - 32px); }
    #continut { padding-block: 15px 43px; }
    .masthead { min-height: 79px; gap: 12px; padding-block: 10px; }
    .masthead-tools { gap: 7px; }
    .brand-row { gap: 7px; }
    .brand-symbol { width: 33px; height: 35px; }
    .brand-symbol img { width: 76px; }
    .brand-name { font-size: clamp(1.59rem,6.25vw,2.7rem); }
    .brand-motto { margin: 4px 0 0 39px; font-size: .52rem; letter-spacing: .12em; }
    .masthead-tools .edition-date, .masthead-tools .utility-button span { display: none; }
    .utility-button { min-width: 40px; min-height: 40px; padding: 6px 8px; }
    .section-links, .panel-menu { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; }
    .edition-layout { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .edition-heading { min-height: 29px; margin-bottom: 10px; }
    .edition-heading > span { height: 17px; flex-basis: 4px; }
    .lead-story { display: block; min-height: 0; padding: 0; }
    .lead-media { position: relative; aspect-ratio: 16/9; }
    .lead-media .picture::after { content: none; }
    .lead-copy { padding: 16px 16px 19px; }
    .lead-copy h2 { font-size: clamp(1.9rem,7.2vw,3rem); margin-top: 7px; }
    .lead-deck { margin-top: 8px; }
    .lead-footer { margin-top: 13px; }
    .news-rail { padding: 0; border-left: 0; }
    .rail-item { grid-template-columns: minmax(0, 1fr) 64px; padding-block: 12px; }
    .rail-item h3 { font-size: 1.26rem; }
    .news-section { margin-top: 27px; }
    .section-grid, .collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
    .collection-header { display: block; margin-top: 12px; }
    .collection-header p { margin-top: 6px; }
    .card-copy { gap: 5px; }
    .card-copy h3 { font-size: 1.22rem; }
    .card-copy p { font-size: .78rem; }
    .reading-grid { grid-template-columns: minmax(0,1fr); gap: 27px; }
    .reader-sidebar { border-left: 0; padding-left: 0; }
    .breadcrumb { margin-bottom: 15px; }
    .reader-byline { margin-top: 12px; }
    .footer-head { padding-bottom: 12px; }
}
@media (max-width: 380px) {
    .lead-footer { flex-wrap: wrap; gap: 7px 15px; }
    .section-grid, .collection-grid { grid-template-columns: minmax(0,1fr); }
}
