/* Veridic News combined frontend CSS; generated by scripts/build-styles.py */

/* ===== style.css ===== */
/*
Theme Name: Veridic News
Author: Veridic
Description: Тёмная адаптивная новостная тема для WordPress: рубрики, ведущая новость, виджеты, информационные показатели и конвертер валют.
Version: 0.24.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: veridic-news
Tags: blog, news, custom-logo, custom-menu, featured-images, theme-options, editor-style, right-sidebar
*/

/* Design tokens. This first pass is intentionally independent of the unavailable Claude reference. */
:root {
    --paper: #f7f7f4;
    --surface: #ffffff;
    --ink: #1c2023;
    --muted: #6d7275;
    --hairline: #e4e5e1;
    --dark: #191d20;
    --accent: #cf342c;
    --display: "Exo 2", "Onest", "Helvetica Neue", Arial, sans-serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
    --container: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - 72px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; 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 { top: 10px; left: 10px; width: auto; height: auto; padding: 12px; z-index: 1000; background: white; color: black; clip: auto; }
.skip-link:focus { position: fixed; }
.site-main { min-height: 55vh; }
.header-utility { background: var(--dark); color: #bec2c3; font-size: .72rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.utility-inner { height: 33px; display: flex; justify-content: space-between; align-items: center; }
.masthead { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-lockup { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.wordmark, .footer-wordmark { font-family: var(--display); font-size: clamp(2.9rem,5vw,4.3rem); line-height: 1; font-weight: 800; letter-spacing: -.07em; white-space: nowrap; color: var(--ink); }
.wordmark:hover, .footer-wordmark:hover { color: inherit; }
.wordmark-dot { color: var(--accent); }
.brand-description { font-size: .77rem; max-width: 180px; line-height: 1.35; border-left: 1px solid #c9cac6; padding-left: 18px; color: var(--muted); }
.custom-logo-link img { display: block; max-height: 92px; width: auto; }
.masthead-side { display: flex; align-items: center; gap: 25px; }
.masthead-message { font-size: .75rem; font-weight: 650; text-transform: uppercase; color: #777b7e; letter-spacing: .07em; }
.feed-link { font-weight: 800; font-size: .72rem; border: 1px solid var(--hairline); padding: 8px 12px; }
.nav-bar { border-block: 1px solid var(--ink); background: var(--paper); position: relative; z-index: 20; }
.nav-inner { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.primary-menu { flex: 1; min-width: 0; }
.site-nav-list { list-style: none; display: flex; align-items: center; padding: 0; margin: 0; gap: clamp(12px,2.5vw,33px); }
.site-nav-list li { position: relative; margin: 0; }
.site-nav-list > li > a { padding-block: 18px; display: block; font-size: .79rem; text-transform: uppercase; font-weight: 790; letter-spacing: .035em; }
.site-nav-list .current-menu-item > a, .site-nav-list .current-cat > a { color: var(--accent); }
.site-nav-list .sub-menu { display: none; list-style: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--surface); padding: 10px; box-shadow: 0 15px 35px #14141424; border: 1px solid var(--hairline); z-index: 50; }
.site-nav-list li:hover > .sub-menu, .site-nav-list li:focus-within > .sub-menu { display: block; }
.sub-menu li a { display: block; padding: 9px 12px; font-size: .83rem; }
.search-toggle, .mobile-menu-toggle { display: flex; align-items: center; gap: 9px; background: transparent; border: 0; padding: 10px; color: var(--ink); }
.mobile-menu-toggle { display: none; font-size: .8rem; text-transform: uppercase; font-weight: 750; }
.search-drawer { background: var(--surface); border-top: 1px solid var(--hairline); padding: 20px 0; box-shadow: 0 14px 20px #0000000b; }
.search-form { display: flex; align-items: stretch; gap: 8px; }
.search-field { border: 1px solid #d9d9d4; background: #fff; padding: 12px 14px; border-radius: 0; min-width: 0; flex: 1; font-size: .95rem; }
.search-form button { background: var(--ink); border: 0; color: white; font-size: .82rem; font-weight: 750; padding: 12px 23px; }
.search-form button:hover { background: var(--accent); }
.news-ticker { border-bottom: 1px solid var(--hairline); background: #eeeFEb; }
.ticker-inner { min-height: 44px; display: flex; align-items: center; gap: 24px; overflow: hidden; }
.ticker-label { background: var(--accent); color: #fff; padding: 5px 10px; font-weight: 800; text-transform: uppercase; font-size: .64rem; white-space: nowrap; letter-spacing: .08em; }
.ticker-items { display: flex; align-items: center; gap: 25px; overflow: auto hidden; white-space: nowrap; scrollbar-width: none; }
.ticker-items::-webkit-scrollbar { display: none; }
.ticker-items a { font-weight: 650; font-size: .77rem; }
.ticker-items a + a::before { content: "●"; font-size: .4rem; display: inline-block; margin-right: 25px; color: var(--accent); vertical-align: middle; }
.homepage-intro { display: flex; align-items: end; justify-content: space-between; gap: 45px; border-bottom: 1px solid var(--hairline); padding: 60px 0 26px; }
.eyebrow { color: var(--accent); font-size: .68rem; text-transform: uppercase; letter-spacing: .135em; font-weight: 825; }
.eyebrow-line { display: inline-block; height: 2px; width: 19px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.homepage-intro h1 { max-width: 900px; font-family: var(--display); font-size: clamp(2.35rem,4.45vw,4.2rem); line-height: 1.07; font-weight: 730; letter-spacing: -.055em; margin: 12px 0 0; }
.homepage-intro > p { flex: 0 0 220px; color: var(--muted); margin: 0 0 8px; font-size: .88rem; }
.homepage-custom-content { border-bottom: 1px solid var(--hairline); margin-block: 26px; padding-bottom: 20px; }
.hero-section { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 42px; margin-top: 36px; padding-bottom: 52px; border-bottom: 1px solid var(--hairline); }
.story-card { min-width: 0; }
.story-image { display: block; width: 100%; aspect-ratio: 1.49; overflow: hidden; background: #e0e0dd; }
.story-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .72s cubic-bezier(.22,.68,.2,1); }
.story-card:hover .story-image img { transform: scale(1.03); }
.story-image-placeholder { display: grid; place-items: center; background: linear-gradient(135deg,#dfe2df,#c8cfca); color: #829087; width: 100%; height: 100%; }
.story-image-placeholder span { font-family: var(--display); font-weight: 800; font-size: clamp(3rem,7vw,7rem); letter-spacing: -.08em; }
.story-body { padding-top: 16px; }
.story-category { display: inline-block; color: var(--accent); font-size: .68rem; font-weight: 830; letter-spacing: .115em; text-transform: uppercase; margin-bottom: 9px; }
.story-title { font: 700 clamp(1.18rem,1.5vw,1.48rem)/1.25 var(--display); letter-spacing: -.025em; margin: 0 0 10px; overflow-wrap: anywhere; }
.story-title a:hover { color: var(--accent); }
.story-excerpt { color: #656a6c; font-size: .88rem; line-height: 1.65; margin: 0 0 14px; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; column-gap: 8px; font-size: .7rem; color: #777d7f; }
.meta-dot { font-size: .9rem; }
.story-card--hero .story-image { aspect-ratio: 1.63; }
.story-card--hero .story-body { padding-top: 20px; }
.story-card--hero .story-title { font-size: clamp(1.9rem,3vw,2.85rem); line-height: 1.14; letter-spacing: -.044em; }
.story-card--hero .story-excerpt { max-width: 620px; font-size: .95rem; }
.hero-secondary { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-secondary-title { display: flex; align-items: center; gap: 14px; padding: 2px 0; }
.section-rule { height: 1px; background: var(--hairline); flex: 1; }
.story-card--side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); gap: 18px; }
.story-card--side .story-image { height: 100%; min-height: 148px; aspect-ratio: 1.12; }
.story-card--side .story-body { padding: 0; align-self: center; }
.story-card--side .story-title { font-size: clamp(1.08rem,1.4vw,1.4rem); }
.story-card--side + .story-card--side { padding-top: 22px; border-top: 1px solid var(--hairline); }
.topic-section { padding: 48px 0 56px; border-bottom: 1px solid var(--hairline); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--ink); }
.section-heading h2 { font-family: var(--display); font-size: clamp(1.75rem,2.2vw,2.3rem); letter-spacing: -.035em; line-height: 1.1; margin: 6px 0 0; }
.section-more { font-size: .73rem; text-transform: uppercase; letter-spacing: .045em; font-weight: 770; white-space: nowrap; }
.section-more span { color: var(--accent); font-size: 1.1rem; }
.cards-grid { display: grid; gap: 32px 24px; }
.cards-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cards-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cards-grid .story-card--standard .story-image { aspect-ratio: 1.5; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 55px; align-items: start; padding: 54px 0 80px; }
.latest-section { min-width: 0; }
.site-sidebar { min-width: 0; border-left: 1px solid var(--hairline); padding-left: 30px; }
.sidebar-section { margin-bottom: 36px; }
.site-sidebar .section-heading { padding-bottom: 14px; margin-bottom: 16px; }
.site-sidebar .section-heading h2, .widget-title { font: 750 1.4rem/1.12 var(--display); margin: 0; letter-spacing: -.025em; }
.ranked-list { padding: 0; list-style: none; margin: 0; counter-reset: ranking; }
.ranked-list li { display: grid; grid-template-columns: 32px minmax(0,1fr); column-gap: 8px; align-items: start; border-bottom: 1px solid var(--hairline); padding: 13px 0; }
.ranked-list li::before { counter-increment: ranking; content: counter(ranking, decimal-leading-zero); grid-row: span 2; color: var(--accent); font: 750 1.1rem var(--display); }
.ranked-list a { line-height: 1.35; font: 650 .96rem/1.35 var(--display); }
.ranked-list li span { color: var(--muted); font-size: .69rem; margin-top: 5px; }
.sidebar-topics ul, .widget ul { padding: 0; list-style: none; margin: 0; }
.sidebar-topics li, .widget li { display: flex; justify-content: space-between; gap: 10px; font-size: .83rem; padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.sidebar-rss { background: #e8e9e5; padding: 23px; }
.sidebar-rss h2 { font: 700 1.45rem/1.2 var(--display); margin: 12px 0 19px; }
.pill-button { display: inline-block; background: var(--ink); color: #fff; padding: 11px 18px; font-size: .78rem; font-weight: 750; }
.pill-button:hover { background: var(--accent); color: white; }
.widget { margin-bottom: 30px; }
.widget-title { margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--ink); }
.widget img, .widget select { max-width: 100%; }
.pagination { margin-top: 35px; }
.pagination ul { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.pagination a, .pagination .current, .pagination .dots { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--hairline); min-height: 39px; min-width: 39px; padding: 7px 12px; font-size: .8rem; }
.pagination .current, .pagination a:hover { background: var(--ink); border-color: var(--ink); color: white; }
.listing-page .content-layout { padding-top: 32px; }
.page-intro { padding: 55px 0 29px; border-bottom: 1px solid var(--ink); }
.page-intro h1 { font: 700 clamp(2.2rem,4vw,4.2rem)/1.1 var(--display); letter-spacing: -.04em; margin: 12px 0 0; }
.archive-description { max-width: 720px; color: var(--muted); margin-top: 18px; }
.archive-description p { margin: 0; }
.listing-page .page-intro .search-form { max-width: 720px; margin-top: 22px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .73rem; color: var(--muted); padding: 25px 0 38px; }
.breadcrumbs span:last-child { max-width: 55vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.article-header { max-width: 1020px; margin: 0 auto 34px; }
.article-header h1 { font: 720 clamp(2.4rem,5.3vw,5.4rem)/1.06 var(--display); letter-spacing: -.055em; margin: 12px 0 20px; }
.article-deck { max-width: 900px; color: #555b5e; font-size: clamp(1.05rem,1.85vw,1.45rem); line-height: 1.5; }
.article-byline { display: flex; gap: 35px; flex-wrap: wrap; padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--hairline); font-size: .8rem; font-weight: 680; }
.article-byline > div { display: flex; flex-direction: column; gap: 4px; }
.byline-caption { color: var(--muted); font-size: .62rem; letter-spacing: .095em; text-transform: uppercase; font-weight: 730; }
.article-cover { margin: 0 0 42px; }
.article-cover img { display: block; width: 100%; max-height: 680px; object-fit: cover; }
.article-cover figcaption { margin-top: 10px; color: var(--muted); font-size: .77rem; }
.article-layout { display: grid; grid-template-columns: minmax(0,780px) minmax(240px,1fr); gap: 65px; align-items: start; padding: 0 0 65px; }
.article-body { min-width: 0; }
.entry-content { font: 1.095rem/1.82 var(--sans); overflow-wrap: anywhere; }
.entry-content > :first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--display); line-height: 1.18; letter-spacing: -.025em; margin: 1.5em 0 .6em; }
.entry-content h2 { font-size: clamp(1.6rem,2.5vw,2.35rem); }
.entry-content h3 { font-size: 1.65rem; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { font: 700 clamp(1.45rem,2.4vw,2rem)/1.4 var(--display); border-left: 3px solid var(--accent); padding-left: 24px; margin: 1.6em 0; }
.entry-content blockquote p { margin: 0; }
.entry-content figure { margin: 1.6em 0; max-width: 100%; }
.entry-content figcaption { font-size: .74rem; color: var(--muted); margin-top: 8px; }
.entry-content ul, .entry-content ol { padding-left: 25px; }
.entry-content li { margin: 8px 0; }
.entry-content pre { overflow-x: auto; padding: 20px; background: #e8e9e5; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--hairline); padding: 10px; }
.entry-content .alignwide { max-width: 1000px; }
.entry-content .alignfull { width: 100%; }
.article-tags { display: flex; flex-wrap: wrap; gap: 9px; padding: 23px 0; border-top: 1px solid var(--hairline); font-size: .79rem; }
.article-tags a { background: #e6e7e3; padding: 4px 10px; }
.article-navigation { border-top: 1px solid var(--hairline); padding: 22px 0; }
.article-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; }
.article-navigation .nav-previous, .article-navigation .nav-next { flex: 1; max-width: 48%; font: 650 1rem/1.3 var(--display); }
.article-navigation .nav-next { text-align: right; }
.article-navigation span { display: block; text-transform: uppercase; color: var(--muted); font: 700 .65rem var(--sans); margin-bottom: 7px; letter-spacing: .04em; }
.related-section { padding: 35px 0 80px; border-top: 1px solid var(--hairline); }
.standard-page { max-width: 900px; padding-bottom: 90px; }
.standard-page .entry-content { margin-top: 33px; }
.missing-page { text-align: center; padding: 85px 0 130px; }
.error-code { color: var(--accent); font: 750 7rem/1 var(--display); letter-spacing: -.07em; }
.missing-page h1 { font: 750 3rem/1.1 var(--display); margin: 10px 0; }
.missing-page p { color: var(--muted); }
.missing-page .search-form { max-width: 620px; margin: 24px auto; }
.empty-state { padding: 25px; background: #ecede8; margin: 25px 0; color: #50575a; }
.site-footer { background: var(--dark); color: #f0f0ea; }
.footer-main { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 70px; padding: 62px 0 64px; }
.footer-wordmark { color: white; font-size: 2.6rem; }
.footer-brand p { font-size: .86rem; max-width: 310px; color: #aeb3b3; }
.footer-column h2 { font: 700 1.25rem var(--display); margin: 0 0 20px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column li { margin-bottom: 12px; font-size: .84rem; }
.footer-column p { color: #aeb3b3; font-size: .85rem; }
.footer-main a:hover { color: #f1776c; }
.social-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: .76rem; font-weight: 700; margin: 24px 0; }
.footer-bottom { border-top: 1px solid #414446; display: flex; gap: 15px; justify-content: space-between; align-items: center; padding: 20px 0 25px; color: #aeb3b3; font-size: .71rem; }
.back-to-top { color: #f4f4f0; }
.site-footer .widget-title { color: white; border-color: #414446; }
.site-footer .widget li { border-color: #414446; }
@media (max-width: 1120px) {
    .site-nav-list { gap: 16px; }
    .site-nav-list > li > a { font-size: .74rem; }
    .hero-section { gap: 26px; }
    .story-card--side { grid-template-columns: 1fr 1fr; gap: 13px; }
    .content-layout { gap: 30px; grid-template-columns: minmax(0,1fr) 265px; }
    .site-sidebar { padding-left: 22px; }
    .article-layout { gap: 40px; }
}
@media (max-width: 850px) {
    .container { width: min(calc(100% - 40px), var(--container)); }
    .masthead { min-height: 98px; }
    .wordmark { font-size: 3rem; }
    .masthead-message, .brand-description { display: none; }
    .mobile-menu-toggle { display: flex; }
    .primary-menu { position: absolute; left: 0; right: 0; top: 100%; display: none; width: 100%; border-bottom: 1px solid var(--hairline); box-shadow: 0 18px 30px #00000012; background: var(--paper); padding: 8px 20px 22px; }
    .primary-menu.is-open { display: block; }
    .site-nav-list { display: block; }
    .site-nav-list > li > a { padding: 10px 2px; }
    .site-nav-list .sub-menu { display: block; position: static; box-shadow: none; padding: 0 15px; background: transparent; border: 0; }
    .homepage-intro { padding-top: 38px; }
    .homepage-intro > p { flex-basis: 165px; font-size: .8rem; }
    .hero-section { grid-template-columns: 1fr; }
    .hero-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .hero-secondary-title { grid-column: 1 / -1; }
    .story-card--side { display: block; }
    .story-card--side .story-image { min-height: 0; height: auto; aspect-ratio: 1.49; }
    .story-card--side .story-body { padding-top: 12px; }
    .story-card--side + .story-card--side { padding-top: 0; border-top: 0; }
    .content-layout, .article-layout { grid-template-columns: minmax(0,1fr); }
    .site-sidebar { padding-left: 0; border-left: 0; border-top: 1px solid var(--hairline); padding-top: 30px; }
    .site-sidebar .sidebar-section { max-width: 650px; }
    .article-cover { margin-bottom: 28px; }
    .footer-main { gap: 35px; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 32px); }
    .utility-inner { font-size: .61rem; }
    .masthead { min-height: 80px; }
    .wordmark { font-size: 2.5rem; }
    .feed-link { font-size: .68rem; padding: 5px 8px; }
    .masthead-side { gap: 0; }
    .homepage-intro { display: block; padding: 35px 0 20px; }
    .homepage-intro h1 { font-size: clamp(2.15rem,10vw,3.25rem); }
    .homepage-intro > p { margin-top: 15px; }
    .hero-section { margin-top: 22px; padding-bottom: 30px; }
    .story-card--hero .story-title { font-size: 1.85rem; }
    .hero-secondary { gap: 16px; }
    .story-card--side .story-title { font-size: 1.04rem; }
    .story-card--side .story-category { font-size: .62rem; }
    .cards-grid--three, .cards-grid--two { grid-template-columns: 1fr; }
    .cards-grid { gap: 27px; }
    .topic-section { padding: 35px 0; }
    .section-heading { align-items: start; }
    .section-heading h2 { font-size: 1.75rem; }
    .section-more { padding-top: 8px; font-size: .69rem; }
    .content-layout { padding: 38px 0 60px; }
    .story-title { font-size: 1.4rem; }
    .story-image { aspect-ratio: 1.67; }
    .page-intro { padding: 40px 0 22px; }
    .page-intro h1 { font-size: 2.5rem; }
    .article-header h1 { font-size: 2.45rem; }
    .article-deck { font-size: 1.05rem; }
    .article-byline { gap: 17px; }
    .breadcrumbs { padding-bottom: 25px; }
    .entry-content { font-size: 1rem; line-height: 1.76; }
    .footer-main { grid-template-columns: 1fr 1fr; padding: 45px 0 25px; gap: 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-wrap: wrap; }
    .error-code { font-size: 5rem; }
    .missing-page h1 { font-size: 2.25rem; }
    .search-form button { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* ===== assets/css/news-dark.css ===== */
/*
 * Veridic v0.2 reference pass. Uses original theme markup in archives and articles
 * while giving the homepage the high-density dark editorial design of the screenshot.
 */
:root {
    --paper:#101010; --surface:#1b1b1b; --ink:#f6f5f5; --muted:#8f8f91;
    --hairline:#303032; --dark:#101010; --accent:#ed4050;
    --maroon:#660910; --card:#191919; --sans:Arial,Helvetica,"Noto Sans",sans-serif;
    --display:Arial,Helvetica,"Noto Sans",sans-serif; --container:1220px;
}
body { background:var(--paper);color:var(--ink);font:14px/1.45 var(--sans); }
a { transition:color .2s ease; }
::selection { background:var(--accent);color:white; }
.container { width:min(calc(100% - 44px),var(--container)); }
.site-header { background:var(--paper); }
.header-utility { background:var(--maroon);color:#f5d9dc;font-size:11px;letter-spacing:0;text-transform:none; }
.utility-inner { min-height:33px;height:auto;align-items:center;gap:15px; }
.utility-links,.language-links { list-style:none;display:flex;gap:23px;align-items:center;padding:0;margin:0; }
.utility-links li,.language-links li { margin:0; }
.utility-links a:hover,.language-links a:hover { color:#fff; }
.header-meta { display:flex;align-items:center;gap:24px;white-space:nowrap; }
.header-city { color:#fff0f0; }
.language-links .current-lang a,.language-links .current-menu-item a { color:#fff;text-decoration:none; }
.masthead { display:grid;grid-template-columns:1fr auto 1fr;min-height:121px;gap:10px;justify-content:stretch;padding:15px 0; }
.brand-lockup { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px; }
.wordmark { font:900 clamp(38px,4.4vw,63px)/.96 var(--sans);color:var(--ink);letter-spacing:-.09em;text-transform:lowercase;text-shadow:3px 4px 0 var(--accent);white-space:nowrap; }
.wordmark:hover { color:var(--ink); }
.custom-logo-link img { height:auto;max-height:75px;width:auto; }
.brand-description { display:block;border:0;padding:0;margin-top:5px;text-align:center;max-width:none;font-size:10px;font-weight:700;color:#a3a3a3;letter-spacing:.19em;line-height:1.25; }
.masthead-side { justify-self:end;display:flex;align-items:center;gap:12px; }
.icon-button { border:1px solid var(--hairline);height:34px;width:34px;display:grid;place-items:center;padding:0;border-radius:7px; }
.search-toggle { color:var(--accent); }
.theme-toggle { width:48px;height:25px;background:var(--ink);border:0;border-radius:40px;padding:4px;display:flex;align-items:center;justify-content:flex-start; }
.theme-toggle span { display:block;height:17px;width:17px;border-radius:50%;background:var(--paper);box-shadow:0 0 0 1px #ddd6;transition:transform .2s; }
.search-drawer { background:var(--card);border-color:var(--hairline);box-shadow:0 10px 22px #0009; }
.search-form .search-field { background:var(--surface);border:1px solid var(--hairline);color:var(--ink); }
.search-form button { background:var(--accent);color:#fff; }
.search-form button:hover { background:#b9293c; }
.nav-bar { background:var(--paper);border-block:1px solid #242426;position:sticky;top:0;z-index:90; }
.nav-inner { min-height:53px;justify-content:center; }
.primary-menu { width:100%; }
.site-nav-list { display:flex;justify-content:center;align-items:center;gap:clamp(10px,1.75vw,26px); }
.site-nav-list > li > a { color:var(--ink);font:750 13px/1.3 var(--sans);letter-spacing:0;text-transform:none;white-space:nowrap;padding:18px 1px 15px;border-bottom:3px solid transparent; }
.site-nav-list li.current-menu-item > a,.site-nav-list li.current-cat > a,.site-nav-list > li > a:hover { color:var(--accent);border-color:var(--accent); }
.site-nav-list .sub-menu { background:var(--card);border-color:var(--hairline); }
.site-nav-list .sub-menu a { color:var(--ink); }
.mobile-menu-toggle { color:var(--ink);font-weight:800; }
.homepage-main { padding-bottom:48px; }
.market-bar { display:grid;grid-template-columns:1.75fr 1.65fr .75fr;gap:14px;padding:18px 0 13px; }
.market-tile { min-width:0;min-height:68px;border-radius:10px;border:1px solid var(--hairline);background:var(--card);display:flex;align-items:center;gap:20px;padding:10px 17px; }
.market-icon { display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:#49141c;color:var(--accent);font-size:21px;font-weight:750; }
.market-heading { font-size:13px;font-weight:800;white-space:nowrap; }
.market-quote { display:flex;flex-direction:column;gap:2px;min-width:0; }
.market-caption { font-size:11px;color:var(--muted); }
.market-quote strong { font:800 16px/1.2 var(--sans);white-space:nowrap; }
.market-tile--weather { justify-content:center;gap:9px; }
.market-tile--weather strong { font-size:19px; }
.weather-icon { color:#e1a73b;font-size:27px; }
.news-ticker { background:#3b141a;border:0;border-radius:9px;margin:0 0 14px;display:flex;min-height:48px;overflow:hidden; }
.ticker-inner { min-height:auto; }
.ticker-label { background:#da3046;display:flex;align-items:center;gap:7px;flex:0 0 auto;border-radius:0;padding:0 16px;color:white;font-size:12px;font-weight:900;letter-spacing:0; }
.ticker-label span { font-size:19px; }
.ticker-items { display:flex;gap:14px;align-items:center;padding:9px 18px;overflow:hidden;white-space:nowrap; }
.ticker-items time { font-size:12px;color:#ff6878;font-weight:750; }
.ticker-items a,.ticker-items > span { overflow:hidden;text-overflow:ellipsis;font-size:13px;color:var(--ink); }
.ticker-items a:hover { color:var(--accent); }
.hero-section { display:grid;grid-template-columns:minmax(0,1.86fr) minmax(290px,1fr);gap:14px;border:1px solid var(--accent);padding:10px;border-radius:13px;background:#141414;margin:0 0 21px; }
.hero-primary { min-width:0; }
.story-card { min-width:0; }
.story-card--hero { height:100%;min-height:402px;position:relative;overflow:hidden;border-radius:9px;background:#222; }
.story-card--hero .story-image { position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto; }
.story-card--hero .story-image::after { content:"";position:absolute;inset:22% 0 0;background:linear-gradient(180deg,transparent 0%,#0002 20%,#000e 100%); }
.story-card--hero .story-image img { width:100%;height:100%;object-fit:cover; }
.story-image-placeholder { color:#676767;background:linear-gradient(120deg,#232323,#323232);font:bold 65px var(--sans); }
.story-card--hero .story-body { position:absolute;bottom:0;left:0;right:0;z-index:1;padding:45px 28px 24px;pointer-events:none; }
.story-card--hero .story-title { color:#fff;font:900 clamp(26px,3vw,43px)/1.12 var(--sans);letter-spacing:-.025em;max-width:680px;margin:0 0 11px; }
.story-card--hero .story-title a { color:inherit;pointer-events:auto; }
.story-card--hero .story-meta { color:#e0e0e0;font-size:11px; }
.story-card--hero .story-category,.story-card--hero .story-excerpt { display:none; }
.hero-secondary { min-width:0;display:flex;flex-direction:column;gap:0;justify-content:space-between; }
.story-card--side { display:grid;grid-template-columns:36% minmax(0,1fr);gap:13px;min-height:0;flex:1;align-items:center;padding:9px 0; }
.story-card--side + .story-card--side { padding:9px 0;border-top:1px solid #292929; }
.story-card--side .story-image { width:100%;height:auto;aspect-ratio:1.36;border-radius:7px;min-height:0; }
.story-card--side .story-body { padding:0;align-self:center; }
.story-card--side .story-title { font:720 14px/1.26 var(--sans);letter-spacing:0;margin:0 0 6px; }
.story-card--side .story-meta { font-size:10px; }
.story-card--side .story-category { display:none; }
.content-layout.home-content-layout { display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.985fr);gap:24px;padding:0;align-items:start; }
.home-sections { min-width:0; }
.topic-section { padding:0;margin:0 0 30px;border:0; }
.topic-section .section-heading,.home-sections .section-heading { display:flex;align-items:center;gap:12px;padding:0;margin:0 0 13px;border:0; }
.topic-section .section-heading h2,.home-sections .section-heading h2 { color:var(--accent);font:850 22px/1.2 var(--sans);letter-spacing:-.025em;margin:0; }
.section-more { font:750 12px/1.2 var(--sans);text-transform:none;color:var(--accent);letter-spacing:0;margin-left:auto;white-space:nowrap; }
.section-more span { color:inherit; }
.cards-grid--three { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px; }
.home-sections .story-card--standard { overflow:hidden;background:var(--card);border:1px solid var(--hairline);border-radius:9px;display:flex;flex-direction:column;min-height:100%; }
.home-sections .story-card--standard .story-image { aspect-ratio:1.7;flex:0 0 auto;border-radius:0; }
.home-sections .story-card--standard .story-body { display:flex;flex-direction:column;gap:7px;flex:1;padding:11px 12px 12px; }
.home-sections .story-card--standard .story-title { font:680 14px/1.37 var(--sans);letter-spacing:0;margin:0 0 auto; }
.home-sections .story-card--standard .story-meta { font-size:10px;margin-top:7px; }
.home-sections .story-card--standard .story-category { display:none; }
.site-sidebar.home-sidebar { padding:0;border:0;min-width:0; }
.home-sidebar .sidebar-section { background:var(--card);border:1px solid var(--hairline);border-radius:10px;margin:0 0 16px;overflow:hidden; }
.home-sidebar .sidebar-section h2 { color:var(--accent);font:850 20px/1.2 var(--sans);letter-spacing:-.025em;margin:0;padding:16px 17px 11px; }
.home-sidebar .ranked-list { list-style:none;padding:0 15px 15px;margin:0;counter-reset:ranking; }
.home-sidebar .ranked-list li { display:grid;grid-template-columns:25px minmax(0,1fr);gap:2px 10px;padding:11px 0;border-top:1px solid var(--hairline);border-bottom:0; }
.home-sidebar .ranked-list li::before { counter-increment:ranking;content:counter(ranking);display:grid;place-items:center;background:#4b171f;color:#ff717e;border-radius:50%;width:25px;height:25px;font:800 13px var(--sans);grid-row:span 2; }
.home-sidebar .ranked-list a { font:650 13px/1.35 var(--sans); }
.home-sidebar .ranked-list time { grid-column:2;color:var(--muted);font-size:10px; }
.currency-converter { padding-bottom:14px; }
.converter-field { margin:0 15px;display:flex;align-items:center;background:#161616;border-radius:7px;border:1px solid #292929;min-height:46px;gap:8px; }
.converter-input,.converter-output { border:0;background:transparent;color:var(--ink);min-width:0;flex:1;padding:10px;font:700 19px/1.3 var(--sans); }
.converter-input { width:100%;appearance:textfield; }
.converter-input::-webkit-inner-spin-button,.converter-input::-webkit-outer-spin-button { appearance:none;margin:0; }
.converter-output { display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.converter-currency { border:0;border-left:1px solid #333;background:transparent;color:var(--ink);padding:8px;max-width:100px;font-size:12px;cursor:pointer; }
.converter-currency option { background:#202020;color:#fff; }
.converter-swap { display:grid;place-items:center;margin:6px auto;width:28px;height:28px;border-radius:50%;border:1px solid #532028;background:#251215;color:var(--accent);font-size:16px;line-height:1; }
.converter-summary { margin:13px 15px 0;padding:12px;background:#3a1419;border-radius:7px;color:#ff8b96;font-size:12px; }
.currency-converter .converter-rate { display:block; }
.homepage-custom-content { border:1px solid var(--hairline);padding:15px;margin:0 0 15px; }
.empty-state { background:var(--card);color:var(--muted);border:1px solid var(--hairline); }
.homepage-intro { display:none; }
.site-footer { background:var(--maroon);color:#fff3f3;margin-top:0; }
.footer-main { grid-template-columns:1.1fr 1fr 1fr .95fr;gap:45px;padding:30px 0 35px; }
.footer-wordmark { color:#fff;font:950 32px/.95 var(--sans);letter-spacing:-.09em;text-transform:lowercase;text-shadow:2px 3px 0 var(--accent); }
.footer-brand p { margin:10px 0 17px;font-size:11px;color:#ebc4c8;text-transform:uppercase;letter-spacing:.09em; }
.footer-column h2 { font:750 12px var(--sans);text-transform:uppercase;letter-spacing:.045em;margin-bottom:14px; }
.footer-column li { margin-bottom:6px;font-size:12px; }
.footer-column a,.footer-column p { color:#f1dce0; }
.footer-main a:hover { color:white; }
.social-links { font-size:12px; }
.footer-bottom { padding:16px 0;color:#d6aeb2;font-size:11px;border-color:#97444b; }
.footer-bottom a { color:#ffe6e8; }
.listing-page .page-intro,.standard-page .page-intro { border-bottom:1px solid var(--hairline); }
.page-intro h1,.article-header h1,.missing-page h1 { font-family:var(--sans);font-weight:850; }
.archive-description { color:var(--muted); }
.listing-page .story-card { background:var(--card);border:1px solid var(--hairline);border-radius:9px;overflow:hidden; }
.listing-page .story-card .story-body { padding:14px; }
.listing-page .story-title { font:750 20px/1.28 var(--sans); }
.story-category { color:var(--accent); }
.listing-page .story-image { aspect-ratio:1.7; }
.article-header { color:var(--ink); }
.article-header h1 { font-size:clamp(34px,5vw,67px); }
.article-deck { color:var(--muted); }
.article-byline { border-color:var(--hairline); }
.article-cover figcaption { color:var(--muted); }
.article-layout { grid-template-columns:minmax(0,780px) minmax(240px,1fr); }
.article-layout .site-sidebar { border-color:var(--hairline); }
.entry-content { color:var(--ink); }
.entry-content blockquote { border-color:var(--accent); }
.entry-content pre { background:var(--card);color:var(--ink); }
.entry-content a { color:var(--accent); }
.entry-content th,.entry-content td { border-color:var(--hairline); }
.sidebar-rss { background:var(--card); }
.article-tags a { background:var(--card);color:var(--ink); }
.pagination a,.pagination .current { border-color:var(--hairline); }
.pagination .current,.pagination a:hover { background:var(--accent);border-color:var(--accent); }
.widget-title { color:var(--accent); }
.pill-button { background:var(--accent); }
.missing-page .search-form { max-width:620px; }
@media(max-width:1150px) {
    .market-tile { gap:11px;padding:10px; }
    .site-nav-list { gap:12px; }
    .site-nav-list > li > a { font-size:12px; }
    .hero-section { grid-template-columns:minmax(0,1.75fr) minmax(265px,1fr); }
    .story-card--hero { min-height:360px; }
    .content-layout.home-content-layout { grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr); }
    .footer-main { gap:24px; }
}
@media(max-width:850px) {
    .masthead { min-height:101px; }
    .wordmark { font-size:45px; }
    .brand-description { display:block; }
    .market-bar { grid-template-columns:1fr 1fr; }
    .market-tile--weather { grid-column:1/-1;min-height:45px; }
    .mobile-menu-toggle { display:flex; }
    .nav-inner { min-height:45px;justify-content:flex-start; }
    .primary-menu { position:absolute;top:100%;left:0;right:0;display:none;background:var(--paper);padding:12px 20px 20px;border-bottom:1px solid var(--hairline);box-shadow:0 12px 20px #0009; }
    .primary-menu.is-open { display:block; }
    .site-nav-list { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 15px; }
    .site-nav-list > li > a { padding:10px 0;font-size:13px;border-bottom-width:2px; }
    .site-nav-list .sub-menu { display:block;position:static;box-shadow:none;min-width:0; }
    .hero-section { grid-template-columns:minmax(0,1fr); }
    .story-card--hero { min-height:380px; }
    .hero-secondary { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
    .story-card--side,.story-card--side + .story-card--side { display:block;padding:0;border:0; }
    .story-card--side .story-image { aspect-ratio:1.7; }
    .story-card--side .story-body { padding:8px 0; }
    .content-layout.home-content-layout { grid-template-columns:minmax(0,1fr); }
    .home-sidebar { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start; }
    .home-sidebar .sidebar-section { margin-bottom:0; }
    .home-sidebar > .widget { grid-column:1/-1; }
    .footer-main { grid-template-columns:1fr 1fr 1fr; }
    .footer-brand { grid-column:1/-1; }
    .article-layout { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
    .container { width:calc(100% - 28px); }
    .utility-inner { min-height:32px; }
    .header-meta { gap:10px; }
    .header-city { font-size:10px; }
    .utility-links,.language-links { gap:9px; }
    .utility-links li,.language-links li { font-size:10px; }
    .masthead { grid-template-columns:1fr auto;min-height:89px; }
    .masthead-spacer { display:none; }
    .brand-lockup { align-items:flex-start; }
    .wordmark { font-size:38px; }
    .brand-description { font-size:8px;letter-spacing:.12em; }
    .masthead-side { gap:8px; }
    .icon-button { height:30px;width:30px; }
    .theme-toggle { width:43px;height:23px; }
    .theme-toggle span { width:15px;height:15px; }
    .market-bar { display:grid;grid-template-columns:1fr;gap:8px;padding:12px 0; }
    .market-tile { min-height:53px;justify-content:space-between;padding:7px 11px;gap:10px; }
    .market-tile--weather { grid-column:auto;justify-content:center;min-height:42px; }
    .market-icon { flex-basis:27px;height:27px;font-size:17px; }
    .market-heading { font-size:12px; }
    .market-quote strong { font-size:13px; }
    .market-caption { font-size:10px; }
    .news-ticker { min-height:42px; }
    .ticker-label { font-size:10px;padding:0 9px; }
    .ticker-items { padding:8px 10px;gap:8px; }
    .ticker-items a,.ticker-items > span { font-size:11px; }
    .hero-section { padding:7px;gap:9px; }
    .story-card--hero { min-height:280px; }
    .story-card--hero .story-body { padding:40px 16px 17px; }
    .story-card--hero .story-title { font-size:clamp(22px,6.2vw,32px); }
    .hero-secondary { display:grid;grid-template-columns:1fr;gap:0; }
    .story-card--side,.story-card--side + .story-card--side { display:grid;grid-template-columns:105px 1fr;gap:10px;min-height:80px;padding:8px 0;border-top:1px solid var(--hairline); }
    .story-card--side .story-image { aspect-ratio:1.42; }
    .story-card--side .story-body { padding:0; }
    .story-card--side .story-title { font-size:12px; }
    .cards-grid--three { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
    .topic-section { margin-bottom:25px; }
    .topic-section .section-heading h2 { font-size:20px; }
    .section-more { font-size:11px; }
    .home-sections .story-card--standard .story-body { padding:10px; }
    .home-sections .story-card--standard .story-title { font-size:12px; }
    .home-sidebar { display:block; }
    .home-sidebar .sidebar-section { margin-bottom:15px; }
    .footer-main { grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:28px 0; }
    .footer-brand { grid-column:1/-1; }
    .footer-column h2 { font-size:11px; }
    .footer-bottom { flex-wrap:wrap; }
    .page-intro h1 { font-size:35px; }
}
@media(max-width:365px) {
    .cards-grid--three { grid-template-columns:1fr; }
    .header-city { display:none; }
}
body.is-light {
    --paper:#f7f7f5; --surface:#fff; --ink:#181818; --muted:#6a6a6a;
    --hairline:#dededb; --dark:#f7f7f5; --card:#fff;
}
body.is-light .site-header,body.is-light .nav-bar { background:var(--paper); }
body.is-light .hero-section { background:#efefed; }
body.is-light .market-tile { background:var(--card); }
body.is-light .story-image-placeholder { background:#dbddda;color:#9b9b9b; }
body.is-light .news-ticker { background:#f3d9dc; }
body.is-light .ticker-items a,body.is-light .ticker-items>span { color:#282020; }
body.is-light .story-card--side + .story-card--side { border-color:var(--hairline); }
body.is-light .converter-field { background:#f5f5f5;border-color:var(--hairline); }
body.is-light .converter-currency { border-color:var(--hairline); }
body.is-light .theme-toggle span { transform:translateX(23px); }
body.is-light .search-drawer { background:var(--surface); }
body.is-light .sidebar-rss { background:#eee; }
body.is-light .footer-wordmark { color:#fff; }
body.is-light .site-footer,body.is-light .site-footer * { --ink:#fff; }
@media(prefers-reduced-motion:reduce) { .theme-toggle span { transition:none; } }
/* ===== assets/css/reference-match.css ===== */
/*
 * Veridic 0.3 — faithful geometry from the user-provided original artifact.
 * Intentionally loaded after the initial theme styles. Design and content stay separate.
 *
 * Original reference: 1240px grid, 40/118px header, Onest / Exo 2 / Russo One,
 * red #E0262D, border #2F2C2A, dark background #121111.
 */
:root {
  --red:#E0262D; --red-d:#5E0B10; --red-t:#FF7A7A; --pink:#3A1517;
  --bg:#121111; --bg2:#1D1B1A; --card:#191817; --fg:#F2EEE8;
  --muted:#ABA49B; --line:#2F2C2A; --up:#5BD07A; --down:#FF7A7A;
  --logo-face:#FBEDD7; --shadow:none; --accent:#E0262D;
  --paper:var(--bg); --surface:var(--card); --ink:var(--fg); --hairline:var(--line); --dark:var(--bg);
  --display:'Exo 2','Onest','Helvetica Neue',Arial,sans-serif;
  --sans:'Onest','Helvetica Neue',Arial,sans-serif; --serif:var(--sans);
  --container:1240px;
}
* { box-sizing:border-box; }
html { scroll-padding-top:0; }
body { background:var(--bg); color:var(--fg); font-family:var(--sans); font-size:16px; line-height:1.4; }
.container { width:min(100%,1240px); max-width:1240px; margin:0 auto; padding:0 20px; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--red-t); }
button,input,select,textarea { font-family:var(--sans); }
.header-utility { height:auto;min-height:40px;background:var(--red-d);color:#fff;font-size:14px;letter-spacing:0;text-transform:none; }
.header-utility .utility-inner { height:auto;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:16px; }
.utility-links,.utility-labels { display:flex;gap:24px;flex-wrap:wrap;align-items:center;font-size:14px; }
.utility-labels { color:#fff; }
.utility-inner .header-meta { display:flex;gap:20px;align-items:center; }
.header-city { color:#fff; font-size:14px; }
.language-links,.language-placeholder { display:flex;gap:12px;align-items:center;list-style:none;margin:0;padding:0;font-size:14px; }
.language-placeholder span { opacity:.75; }
.language-placeholder strong { opacity:1;border-bottom:2px solid #fff;padding:6px 4px; }
.veridic-language-switcher .language-unavailable { opacity:.45;cursor:not-allowed; }
.veridic-language-switcher .language-unavailable > span { display:block;padding:7px 0; }
.veridic-language-switcher a[aria-current="page"] { font-weight:800;border-bottom:2px solid #fff;padding-bottom:5px;text-decoration:none; }
.site-header { border:0; background:var(--bg); }
.masthead { min-height:118px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding-top:12px;padding-bottom:12px; }
.masthead-spacer { min-width:0; }
.brand-lockup { gap:8px;display:flex;flex-direction:column;align-items:center;justify-self:center;justify-content:center; }
.brand-lockup .wordmark { color:var(--logo-face);font-family:'Russo One','Exo 2',sans-serif;font-size:64px;line-height:.9;font-weight:400;letter-spacing:.01em;text-transform:lowercase;padding:0 0 7px 9px;text-shadow:-1px 1px 0 var(--bg),-2px 2px 0 var(--bg),-3px 3px 0 var(--red),-4px 4px 0 var(--red),-5px 5px 0 var(--red),-6px 6px 0 var(--red),-7px 7px 0 var(--red),-8px 8px 0 var(--red),-9px 9px 0 var(--red); }
.brand-lockup .wordmark:hover { color:var(--logo-face); }
.brand-lockup .brand-description { display:block;border:0;padding:0;margin:0;max-width:none;text-align:center;font-size:13px;line-height:1.4;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted); }
.brand-lockup .custom-logo-link img { max-height:80px;max-width:300px;width:auto;height:auto; }
.masthead-side { display:flex;justify-self:end;align-items:center;gap:14px; }
.masthead-side .icon-button { width:44px;height:44px;border:1px solid var(--line);background:var(--card);border-radius:8px;color:var(--red);display:inline-flex;align-items:center;justify-content:center; }
.masthead-side .theme-toggle { width:56px;height:30px;border-radius:30px;background:var(--fg);padding:0;position:relative;display:block; }
.theme-toggle span { position:absolute;top:4px;left:4px;width:22px;height:22px;border-radius:50%;background:var(--bg);box-shadow:none;transform:none; }
.search-drawer { background:var(--card);border-color:var(--line); }
.search-drawer .search-form input { background:var(--bg2); }
.nav-bar { position:sticky;top:0;z-index:50;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--bg); }
.nav-inner { min-height:55px;display:flex;justify-content:center; }
.primary-menu { flex:1; }
.site-nav-list { display:flex;align-items:center;justify-content:center;gap:6px;padding:0;margin:0;list-style:none;overflow-x:auto;scrollbar-width:none; }
.site-nav-list > li > a { font-size:17.5px;font-weight:700;line-height:1.4;letter-spacing:0;text-transform:none;display:block;padding:16px 14px;border-bottom:3px solid transparent;white-space:nowrap; }
.site-nav-list > li > a:hover,.site-nav-list > li.current-menu-item > a,.site-nav-list .current-cat > a { color:var(--red-t);border-bottom-color:var(--red); }
.site-nav-list .sub-menu { background:var(--card);border:1px solid var(--line); }
.mobile-menu-toggle { color:var(--fg);font-size:15px; }
.homepage-main { padding:0 0 30px; }
.market-bar { display:grid;grid-template-columns:1.25fr 1.25fr .6fr;gap:14px;padding:0;margin-top:18px;margin-bottom:0; }
.market-tile { min-width:0;min-height:66px;background:var(--card);border:1px solid var(--line);border-radius:10px;display:grid;grid-template-columns:34px 104px minmax(0,1fr) minmax(0,1fr);align-items:center;column-gap:14px;padding:12px 16px; }
.market-tile .market-icon { width:34px;height:34px;border-radius:8px;background:var(--pink);color:var(--red);display:grid;place-items:center;flex:none;font-size:19px; }
.market-tile .market-icon svg { display:block;width:21px;height:21px;stroke:currentColor;flex:none; }
@media(max-width:640px) { .market-tile .market-icon svg { width:19px;height:19px; } }
.market-tile .market-heading { font-weight:700;line-height:1.25;font-size:14px;white-space:normal; }
.market-tile .market-quote { min-width:0;display:flex;flex-direction:column;gap:1px; }
.market-tile .market-caption { color:var(--muted);font-size:12.5px;white-space:nowrap; }
.market-tile .market-quote strong { color:var(--fg);font-size:16px;font-weight:700;white-space:nowrap; }
.market-tile--weather { display:flex;gap:12px;align-items:center;justify-content:center;font-size:20px;font-weight:700;padding:12px; }
.market-tile--weather strong { font-size:20px;font-weight:700; }
.weather-icon { color:#E8A400;font-size:27px; }
.news-ticker { margin-top:14px;margin-bottom:0;min-height:48px;border:0;border-radius:10px;background:var(--pink);display:flex;align-items:stretch;overflow:hidden; }
.news-ticker .ticker-label { flex:0 0 auto;display:flex;align-items:center;gap:8px;padding:0 18px;background:var(--red);font-size:14px;font-weight:800;letter-spacing:.04em;color:#fff; }
.news-ticker .ticker-label span { font-size:16px; }
.news-ticker .ticker-items { padding:10px 18px;display:flex;align-items:center;gap:14px;font-size:15px;font-weight:500;white-space:normal;overflow:hidden; }
.ticker-items time { color:var(--red-t);font-size:15px;font-weight:800;white-space:nowrap; }
.ticker-items > a,.ticker-items > span { font-size:15px;font-weight:500;line-height:1.3;color:var(--fg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.hero-section { display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:14px;align-items:stretch;margin:18px 0 0;border:1px solid var(--red);border-radius:16px;padding:12px;background:transparent; }
.hero-primary { min-width:0; }
.story-card--hero { position:relative;display:flex;align-items:flex-end;min-height:420px;height:100%;border-radius:12px;overflow:hidden;background:var(--bg2); }
.story-card--hero .story-image { position:absolute;inset:0;width:100%;height:100%;overflow:hidden;aspect-ratio:auto; }
.story-card--hero .story-image img { height:100%;width:100%;object-fit:cover;object-position:center; }
.story-card--hero .story-image::after { position:absolute;content:"";inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(0,0,0,.78) 100%); }
.story-card--hero .story-body { position:relative;inset:auto;bottom:auto;left:auto;right:auto;z-index:1;pointer-events:none;padding:28px 28px 24px; }
.story-card--hero .story-title { font-family:var(--display);font-weight:800;font-size:clamp(26px,3.2vw,38px);line-height:1.15;letter-spacing:0;margin:0 0 12px;max-width:none; }
.story-card--hero .story-title a { color:#fff;pointer-events:auto; }
.story-card--hero .story-meta { color:rgba(255,255,255,.88);font-size:13px; }
.hero-secondary { background:var(--card);border:1px solid var(--line);border-radius:12px;padding:6px 16px;display:flex;flex-direction:column;gap:0;min-width:0; }
.story-card--side,.story-card--side + .story-card--side { position:relative;flex:1;display:flex;align-items:center;gap:16px;min-height:0;padding:12px 0;border:0;border-bottom:1px solid var(--line);grid-template-columns:none;background:transparent; }
.story-card--side:last-child { border-bottom:0; }
.story-card--side .story-image { width:140px;height:auto;aspect-ratio:4/3;min-height:0;flex-shrink:0;border-radius:8px;overflow:hidden; }
.story-card--side .story-body { padding:0;flex:1;align-self:center; }
.story-card--side .story-title { font-family:var(--sans);font-size:16px;font-weight:600;line-height:1.3;letter-spacing:0;margin:0 0 8px; }
.story-card--side .story-title a { color:var(--fg); }
.story-card--side .story-title a:hover { color:var(--red-t); }
.story-card--side .story-meta { font-size:13px;color:var(--muted); }
.story-card--side .story-category { display:none; }
.content-layout.home-content-layout { display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:start;padding:0;margin-top:22px; }
.home-sections { min-width:0; }
.topic-section { border:0;margin:0 0 22px;padding:0; }
.topic-section .section-heading { display:flex;justify-content:space-between;align-items:baseline;gap:12px;border:0;margin:0 0 10px;padding:0; }
.topic-section .section-heading h2 { font-family:var(--display);font-weight:800;color:var(--red-t);font-size:26px;line-height:1.2;letter-spacing:0;margin:0; }
.topic-section .section-more { font:700 14px/1.35 var(--sans);text-transform:none;letter-spacing:0;color:var(--red-t);min-height:44px;display:inline-flex;align-items:center;gap:6px;padding:6px 0;white-space:nowrap; }
.topic-section .section-more:hover { color:var(--red); }
.topic-section .section-more span { font-size:18px;color:inherit; }
.home-sections .cards-grid--three { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }
.home-sections .story-card--standard { background:var(--card);border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-width:0; }
.home-sections .story-card--standard .story-image { aspect-ratio:16/9;display:block;width:100%;height:auto;flex:0 0 auto;border-radius:0; }
.home-sections .story-card--standard .story-image img { height:100%;width:100%;object-fit:cover; }
.home-sections .story-card--standard .story-body { padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px;flex:1; }
.home-sections .story-card--standard .story-title { color:var(--fg);font-size:15.5px;font-weight:600;line-height:1.32;letter-spacing:0;font-family:var(--sans);margin:0; }
.home-sections .story-card--standard .story-title a:hover { color:var(--red-t); }
.home-sections .story-card--standard .story-meta { font-size:13px;color:var(--muted);margin-top:auto; }
.story-meta { display:flex;gap:7px;align-items:center;font-size:13px;flex-wrap:wrap; }
.story-meta .meta-dot { font-size:13px; }
.home-sidebar { min-width:0; }
.home-sidebar .sidebar-section { margin:0 0 22px;padding:16px 18px;background:var(--card);border:1px solid var(--line);border-radius:12px; }
.home-sidebar .sidebar-section h2 { font-family:var(--display);color:var(--red-t);font-size:22px;line-height:1.2;font-weight:800;margin:0 0 10px;padding:0;letter-spacing:0; }
.home-sidebar .ranked-list { list-style:none;margin:0;padding:0;counter-reset:ranking; }
.home-sidebar .ranked-list li { position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:60px;padding:12px 0 12px 50px;margin:0;border:0;border-bottom:1px solid var(--line); }
.home-sidebar .ranked-list li:last-child { border-bottom:0; }
.home-sidebar .ranked-list li::before { position:absolute;left:0;top:12px;counter-increment:ranking;content:counter(ranking);width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--pink);color:var(--red-t);font:800 17px var(--display);border-radius:50%; }
.home-sidebar .ranked-list a { font-family:var(--sans);font-weight:500;font-size:14.5px;line-height:1.35;color:var(--fg); }
.home-sidebar .ranked-list a:hover { color:var(--red-t); }
.home-sidebar .ranked-list time { color:var(--muted);font-size:12.5px;line-height:1.4; }
.currency-converter { padding:16px 18px!important; }
.currency-converter .converter-field { display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:8px;margin:0;border:0;background:transparent;min-height:44px; }
.converter-field .converter-input,.converter-field .converter-output { min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--fg);padding:10px 12px;width:100%;min-width:0;font-size:15px;font-weight:400; }
.converter-field .converter-currency { width:100%;max-width:none;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--fg);padding:10px 12px;font-size:15px;font-weight:400; }
.currency-converter .converter-swap { display:flex;align-items:center;justify-content:center;justify-self:center;margin:6px auto;width:44px;height:44px;border-radius:50%;background:var(--card);border:1px solid var(--line);color:var(--red);font-size:22px; }
.currency-converter .converter-summary { margin:12px 0 0;border-radius:8px;padding:12px 14px;background:var(--pink);color:var(--red-t);font-size:15px; }
.currency-converter .converter-rate { line-height:1.45;font-size:13px; }
.site-footer { background:var(--red-d);color:#fff;margin-top:24px; }
.site-footer .footer-main { display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px;padding-top:30px;padding-bottom:26px; }
.site-footer .footer-wordmark { font-family:'Russo One','Exo 2',sans-serif;font-weight:400;font-size:40px;letter-spacing:.01em;line-height:.9;color:#fff;text-shadow:-1px 1px 0 var(--red-d),-2px 2px 0 var(--red-d),-3px 3px 0 #FF8A8A,-4px 4px 0 #FF8A8A,-5px 5px 0 #FF8A8A,-6px 6px 0 #FF8A8A,-7px 7px 0 #FF8A8A;text-transform:lowercase; }
.site-footer .footer-brand p { font-size:13px;font-weight:600;color:#fff;text-transform:none;letter-spacing:0;margin:10px 0; }
.site-footer .footer-column h2 { font:700 13px/1.3 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:#fff;opacity:.85;margin:0 0 10px; }
.site-footer .footer-column li { font-size:14px;line-height:1.35;margin:0 0 6px; }
.site-footer .footer-column li a { color:#fff; }
.site-footer .footer-bottom { border-top:1px solid rgba(255,255,255,.18);padding:14px 20px 16px;font-size:13px;gap:16px;color:#fff; }
.site-footer .footer-bottom a { color:#fff; }
.site-footer .social-links { margin:12px 0;font-size:14px;gap:10px; }
.site-footer .social-links a { width:auto;min-width:36px;height:36px;padding:0 10px;border:1px solid rgba(255,255,255,.35);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff; }
.site-main:not(.homepage-main) .page-intro h1,.article-page .article-header h1 { font-family:var(--display);font-weight:800; }
.article-page .entry-content { font-family:var(--sans);font-size:19px;line-height:1.72; }
.article-page .entry-content p { font-family:var(--sans); }
.article-page .article-deck { font-family:var(--sans);font-size:21px;line-height:1.55; }
.listing-page .cards-grid .story-card .story-title { font-family:var(--sans);font-weight:600; }
.listing-page .cards-grid .story-card .story-meta { color:var(--muted); }
.missing-page { color:var(--fg); }
.empty-state { color:var(--muted);background:var(--card); }
.homepage-custom-content { margin:18px 0; }

body.is-light {
  --red:#C8161D;--red-d:#8F1117;--red-t:#B3141A;--pink:#FDECED;
  --bg:#FFFFFF;--bg2:#F5F2EF;--card:#FFFFFF;--fg:#121212;--muted:#5A5A5A;
  --line:#E7E1DB;--logo-face:#000;--up:#157A33;--down:#B3141A;
  --paper:var(--bg);--surface:var(--card);--ink:var(--fg);--hairline:var(--line);
}
body.is-light .site-header,body.is-light .nav-bar { background:var(--bg); }
body.is-light .market-tile,body.is-light .hero-secondary,body.is-light .home-sidebar .sidebar-section { background:var(--card); }
body.is-light .hero-section { background:transparent; }
body.is-light .story-card--side .story-title a { color:var(--fg); }
body.is-light .news-ticker { background:var(--pink); }
body.is-light .news-ticker .ticker-items > a,body.is-light .news-ticker .ticker-items > span { color:var(--fg); }
body.is-light .converter-field .converter-input,body.is-light .converter-field .converter-currency,body.is-light .converter-field .converter-output { background:var(--card);color:var(--fg); }
body.is-light .converter-summary { background:var(--pink); }
body.is-light .masthead-side .theme-toggle span { transform:translateX(26px); }
body.is-light .site-footer { background:var(--red-d); }
body.is-light .footer-wordmark,body.is-light .site-footer .footer-column h2 { color:#fff; }

/* The reference switches to a stacked main grid at 1000px and uses 640/420px mobile breakpoints. */
@media(max-width:1100px) {
  .site-nav-list { gap:0; }
  .site-nav-list > li > a { font-size:15px;padding:16px 9px; }
  .market-tile { column-gap:10px;grid-template-columns:34px 86px minmax(0,1fr) minmax(0,1fr);padding:10px; }
  .story-card--side .story-image { width:116px; }
}
@media(max-width:1000px) {
  .hero-section,.content-layout.home-content-layout { grid-template-columns:1fr; }
  .market-bar { grid-template-columns:1fr 1fr; }
  .market-bar .market-tile--weather { grid-column:span 2; }
  .hero-section .story-card--hero { min-height:420px; }
  .hero-secondary { display:flex;flex-direction:column; }
  .story-card--side,.story-card--side + .story-card--side { display:flex;gap:16px;padding:12px 0; }
  .story-card--side .story-image { width:140px;aspect-ratio:4/3; }
  .home-sidebar { display:grid;grid-template-columns:1fr 1fr;gap:18px; }
  .home-sidebar .sidebar-section { margin:0 0 18px; }
  .site-footer .footer-main { grid-template-columns:1fr 1fr; }
}
@media(max-width:850px) {
  /* Allow swipe on full-width navigation, rather than collapsing the original menu into a hamburger. */
  .mobile-menu-toggle { display:none; }
  .nav-inner { min-height:55px;justify-content:center; }
  .primary-menu { display:block!important;position:static!important;background:transparent;border:0;box-shadow:none;padding:0;overflow:hidden; }
  .site-nav-list { display:flex!important;justify-content:flex-start;gap:0;overflow-x:auto;scrollbar-width:none; }
  .site-nav-list > li > a { font-size:16px;padding:14px 12px; }
  .site-nav-list .sub-menu { display:none; }
  .site-nav-list li:hover .sub-menu,.site-nav-list li:focus-within .sub-menu { display:block;position:absolute; }
}
@media(max-width:640px) {
  .container { width:100%;padding:0 20px; }
  .header-utility .utility-labels,.header-utility .utility-links { display:none; }
  .header-utility .utility-inner { justify-content:flex-end; }
  .masthead { position:relative;display:flex;justify-content:space-between;min-height:80px;gap:12px;width:100%;min-width:0; }
  .masthead-spacer { display:none; }
  .masthead-side { position:absolute;right:20px;top:50%;transform:translateY(-50%);flex:0 0 auto;margin:0; }
  .brand-lockup { align-items:flex-start;gap:0;justify-self:auto; }
  .brand-lockup .wordmark { font-size:40px;padding:0 0 5px 6px;text-shadow:-1px 1px 0 var(--bg),-2px 2px 0 var(--bg),-3px 3px 0 var(--red),-4px 4px 0 var(--red),-5px 5px 0 var(--red),-6px 6px 0 var(--red); }
  .brand-lockup .brand-description { display:none; }
  .masthead-side { gap:8px; }
  .masthead-side .icon-button { width:38px;height:38px; }
  .masthead-side .theme-toggle { width:48px;height:28px; }
  .masthead-side .theme-toggle span { width:20px;height:20px; }
  .market-bar { grid-template-columns:1fr; }
  .market-tile { grid-template-columns:34px 86px minmax(0,1fr) minmax(0,1fr);column-gap:10px;min-height:66px;padding:12px 16px;justify-content:stretch; }
  .market-bar .market-tile--weather { grid-column:auto;min-height:58px; }
  .news-ticker .ticker-label { font-size:13px;padding:0 12px; }
  .news-ticker .ticker-items { font-size:13px;padding:10px 12px;gap:10px; }
  .news-ticker .ticker-items > a,.news-ticker .ticker-items > span { font-size:13px; }
  .hero-section { grid-template-columns:1fr;padding:12px; }
  .hero-section .story-card--hero { min-height:300px; }
  .story-card--hero .story-body { padding:24px 20px 18px; }
  .story-card--hero .story-title { font-size:clamp(26px,6vw,33px); }
  .hero-secondary { display:flex;flex-direction:column; }
  .story-card--side,.story-card--side + .story-card--side { display:flex;padding:12px 0;gap:12px; }
  .story-card--side .story-image { width:110px;aspect-ratio:4/3; }
  .story-card--side .story-title { font-size:15px; }
  .home-sections .cards-grid--three { grid-template-columns:1fr 1fr; }
  .home-sidebar { display:block; }
  .topic-section .section-heading h2 { font-size:24px; }
  .site-footer .footer-main { grid-template-columns:1fr; }
}
@media(max-width:420px) {
  .container { padding:0 16px; }
  .masthead-side { right:16px; }
  .home-sections .cards-grid--three { grid-template-columns:1fr; }
  .market-tile { column-gap:8px;padding:10px;grid-template-columns:32px 78px minmax(0,1fr) minmax(0,1fr); }
  .market-tile .market-quote strong { font-size:14px; }
  .story-card--hero .story-title { font-size:25px; }
}
/* Compact weather card and two aligned, link-free source captions. */
.market-bar .market-tile--weather { min-width:0;gap:10px;padding:8px 12px; }
.market-tile--weather .weather-details { min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px; }
.market-tile--weather .weather-details strong { font-size:20px;line-height:1.1; }
.market-tile--weather .weather-forecast { font:600 12px/1.3 var(--sans);color:var(--muted);white-space:nowrap; }
/* Also suppress legacy text while CDN-cached HTML expires. */
.market-tile--weather .weather-condition { display:none; }
.market-notes {
  display:grid;
  grid-template-columns:1.25fr 1.25fr .6fr;
  column-gap:14px;
  align-items:center;
  margin-top:8px;
  min-height:19px;
}
.market-notes .fx-source-note,
.market-notes .fuel-source-note,
.market-notes .weather-source-note {
  margin:0;
  min-width:0;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:4px;
  color:var(--muted);
  font:500 12px/1.4 var(--sans);
  white-space:nowrap;
}
.market-notes .fx-source-note { grid-column:1;justify-content:flex-start; }
.market-notes .fuel-source-note { grid-column:2;justify-content:flex-start; }
.market-notes .weather-source-note { grid-column:3;justify-content:center; }
.market-notes a, .fx-source-note > a, .weather-source-note > a { display:none; }
.fx-source-note--stale { color:#f5b365!important; }
@media(max-width:1000px) {
  .market-notes { grid-template-columns:1.15fr 1fr 1fr;gap:8px; }
  .market-notes .weather-source-note { grid-column:3;justify-content:flex-start; }
}
@media(max-width:640px) {
  .market-notes { grid-template-columns:1.15fr 1fr 1fr;gap:6px;margin-top:8px; }
  .market-notes .fx-source-note,
  .market-notes .fuel-source-note,
  .market-notes .weather-source-note { font-size:10px;letter-spacing:-.02em; }
  .market-bar .market-tile--weather { justify-content:center;gap:12px; }
}
@media(max-width:375px) {
  .market-notes .fx-source-note,
  .market-notes .fuel-source-note,
  .market-notes .weather-source-note { font-size:9px; }
}
.fx-converter-source {
  margin:10px 0 0;
  color:var(--muted);
  font:500 12px/1.5 var(--sans);
}
@media(max-width:640px) {
  .fx-source-note { font-size:11px;gap:4px; }
}
/*
 * Appearance control: recognizable sun = switch to light / moon = switch to dark.
 * The page uses the system theme until the visitor explicitly chooses another.
 */
html { color-scheme:dark; }
html.is-light { color-scheme:light; }
.masthead-side .theme-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  padding:0;
  margin:0;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--card);
  color:var(--fg);
  cursor:pointer;
  box-shadow:none;
  position:relative;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.masthead-side .theme-toggle:hover { color:var(--red-t);border-color:var(--red);background:var(--bg2); }
.masthead-side .theme-toggle:active { transform:scale(.94); }
.masthead-side .theme-toggle:focus-visible { outline:3px solid var(--red);outline-offset:3px; }
.masthead-side .theme-toggle .theme-icon { width:21px;height:21px;stroke:currentColor;flex:0 0 auto; }
.masthead-side .theme-toggle .theme-icon-sun { display:block; }
.masthead-side .theme-toggle .theme-icon-moon { display:none; }
body.is-light .masthead-side .theme-toggle { background:var(--card);color:var(--fg);border-color:var(--line); }
body.is-light .masthead-side .theme-toggle:hover { color:var(--red-t);border-color:var(--red);background:var(--bg2); }
body.is-light .masthead-side .theme-toggle .theme-icon-sun { display:none; }
body.is-light .masthead-side .theme-toggle .theme-icon-moon { display:block; }
@media(max-width:640px) {
  .masthead-side .theme-toggle { width:38px;height:38px;flex-basis:38px;border-radius:9px; }
  .masthead-side .theme-toggle .theme-icon { width:20px;height:20px; }
}
/* Editorial status cards remain an aligned 3-column grid on desktop. */
.header-city { display:inline-flex;align-items:center;gap:0; }
.header-city-temp:not(:empty)::before { content:"·";display:inline-block;margin:0 6px;opacity:.7; }
.weather-city-label,.market-inline-note,.market-scroll-controls { display:none; }

/*
 * On phones, keep the three data sources in ONE short, swipeable row.
 * Peek of the next card plus accessible dots communicates scrollability.
 * Source dates travel with their cards rather than remaining detached.
 */
@media(max-width:640px) {
  .header-utility .utility-inner { justify-content:space-between; min-height:38px; }
  .header-utility .utility-inner > nav { display:none; }
  .header-utility .header-meta, .utility-inner .header-meta {
    width:100%; min-width:0;display:flex;align-items:center;
    justify-content:space-between;gap:12px;margin:0;
  }
  .header-city {
    display:inline-flex;flex-direction:row-reverse;align-items:center;
    gap:6px;min-width:0;font-size:12px;font-weight:650;white-space:nowrap;
  }
  .header-city-temp:not(:empty)::before { content:none; }
  .header-city-name::before { content:"·";margin-right:6px;opacity:.75; }
  .header-city:has(.header-city-temp:empty) .header-city-name::before { display:none; }
  .header-meta .language-links,.header-meta .language-placeholder { margin:0 0 0 auto;display:flex;gap:13px;align-items:center;font-size:12px;flex:none; }
  .header-meta .language-placeholder strong { padding:6px 2px; }
  .header-meta .language-links a { display:block;padding:7px 0; }

  .market-bar {
    display:flex!important;flex-wrap:nowrap;align-items:stretch;gap:10px;
    width:calc(100% + 20px);max-width:none;
    margin:12px 0 0;padding:0 20px 3px 0;
    overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x mandatory;scroll-padding-inline:0 20px;
    -webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
    scrollbar-width:none;
  }
  .market-bar::-webkit-scrollbar { display:none; }
  .market-bar:focus-visible { outline:2px solid var(--red);outline-offset:-2px; }
  .market-bar .market-tile,
  .market-bar .market-tile--weather {
    display:grid;position:relative;
    grid-template-columns:30px minmax(65px,.95fr) minmax(60px,1fr) minmax(54px,1fr);
    align-items:center;column-gap:7px;row-gap:0;
    flex:0 0 clamp(270px,78vw,324px);
    width:clamp(270px,78vw,324px);max-width:none;
    height:90px;min-height:90px;grid-column:auto;
    padding:10px 11px 29px;margin:0;
    border-radius:12px;scroll-snap-align:start;scroll-snap-stop:always;
    justify-content:initial;
  }
  .market-bar .market-icon { width:30px;height:30px;border-radius:9px;font-size:18px; }
  .market-bar .market-heading { font-size:13px;line-height:1.2;font-weight:750;letter-spacing:-.015em; }
  .market-bar .market-quote { min-width:0;gap:3px; }
  .market-bar .market-caption { font-size:10.5px;line-height:1.25;letter-spacing:-.03em; }
  .market-bar .market-quote strong { font-size:16px;line-height:1.2;font-weight:800; }
  .market-bar .market-tile--fuel .fuel-caption-full { display:none; }
  .market-bar .weather-icon { font-size:25px;line-height:1;justify-self:center; }
  .market-bar .weather-city-label { display:block;font-size:13px;font-weight:750;white-space:nowrap; }
  .market-bar .market-tile--weather .weather-details { display:contents; }
  .market-bar .market-tile--weather .weather-details strong { font-size:19px;justify-self:center;white-space:nowrap; }
  .market-bar .market-tile--weather .weather-forecast { font-size:11px;line-height:1.2;justify-self:start;white-space:nowrap;color:var(--muted); }
  .market-bar .market-inline-note {
    display:block!important;position:absolute;bottom:9px;left:11px;right:11px;
    padding:0;margin:0;min-height:0;height:auto;width:auto;
    color:var(--muted);font:500 10.5px/1.25 var(--sans);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    text-align:left;justify-content:initial;
  }
  .market-notes { display:none!important; }
  .market-scroll-controls {
    display:flex;align-items:center;justify-content:center;
    gap:2px;margin:2px 0 3px;min-height:28px;
  }
  .market-scroll-dot {
    display:grid;place-items:center;padding:0;margin:0;
    width:30px;height:28px;min-width:30px;border:0;background:transparent;
    cursor:pointer;touch-action:manipulation;
  }
  .market-scroll-dot::before {
    content:"";display:block;width:7px;height:7px;border-radius:9px;
    background:var(--muted);opacity:.55;
    transition:width .2s ease,background .2s ease,opacity .2s ease;
  }
  .market-scroll-dot.is-active::before { width:21px;background:var(--red);opacity:1; }
  .market-scroll-dot:focus-visible { outline:2px solid var(--red);outline-offset:-2px;border-radius:8px; }
  .news-ticker { margin-top:10px; }
}
@media(max-width:420px) {
  .market-bar { width:calc(100% + 16px);padding-right:16px; }
}
@media(max-width:360px) {
  /* Keep the leading story readable on the narrowest supported phones. */
  .hero-section .story-card--hero { min-height:290px; }
  .story-card--hero .story-body { padding:16px 14px 15px; }
  .story-card--hero .story-title { font-size:22px;line-height:1.18; }
  .hero-secondary { padding:4px 10px; }
  .story-card--side .story-image { width:88px;flex-shrink:0; }
  .story-card--side .story-title { font-size:13px;line-height:1.25; }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after { transition:none!important; }
}

/* Social profiles: compact outlined icon chips in the editorial design. */
.veridic-social-links {
  display:flex;align-items:center;justify-content:flex-start;
  flex-wrap:wrap;gap:9px;margin:16px 0 8px;
}
.veridic-social-links .veridic-social-link {
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 42px;width:42px;height:42px;min-width:42px;
  border-radius:11px;border:1px solid rgba(255,255,255,.27);
  background:rgba(255,255,255,.07);color:#fff;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.veridic-social-links .veridic-social-link svg {
  width:20px;height:20px;display:block;flex:none;
}
.veridic-social-links .veridic-social-link:hover {
  border-color:#ff858d;background:rgba(255,255,255,.19);
  color:#fff;transform:translateY(-2px);
}
.veridic-social-links .veridic-social-link:focus-visible {
  outline:2px solid #ff858d;outline-offset:3px;
}
.veridic-social-links--contacts .veridic-social-link {
  background:var(--card);color:var(--fg);border-color:var(--line);
}
.veridic-social-links--contacts .veridic-social-link:hover {
  background:var(--pink);color:var(--red-t);border-color:var(--red);
}
.veridic-contact-social {
  margin:36px 0 0;padding:24px 25px;
  border:1px solid var(--line);border-radius:14px;background:var(--bg2);
}
.veridic-contact-social h2 {
  color:var(--fg);font:800 clamp(20px,2.5vw,24px)/1.2 var(--display);
  margin:0 0 14px;
}
.veridic-contact-social .veridic-social-links { margin:0; }
@media(max-width:640px) {
  .veridic-social-links { gap:8px; }
  .veridic-contact-social { padding:19px 16px;margin-top:26px; }
  .veridic-social-links .veridic-social-link { width:42px;height:42px; }
}
@media(prefers-reduced-motion:reduce) {
  .veridic-social-links .veridic-social-link { transition:none; }
  .veridic-social-links .veridic-social-link:hover { transform:none; }
}
/* Admin-only helper until actual social profile URLs are configured. */
.veridic-social-admin-hint {
  display:inline-flex;align-items:center;min-height:36px;
  margin:8px 0 0;font:650 13px/1.4 var(--sans);
  color:var(--red-t);text-decoration:underline;text-underline-offset:3px;
}
.site-footer .veridic-social-admin-hint { color:#ffb2b5; }
.veridic-social-admin-hint:hover { color:var(--red); }

/* 0.18.2 — edge-to-edge swipeable rubric navigation, like market carousel. */
@media (max-width:850px) {
  .nav-bar .nav-inner {
    width:100%;
    max-width:none;
    padding-right:0;
    padding-left:0;
    justify-content:flex-start;
  }
  .nav-bar .primary-menu {
    display:block!important;
    position:static!important;
    flex:1 1 100%;
    width:100%;
    min-width:0;
    max-width:100%;
    margin:0;
    padding:0;
    overflow:hidden;
    box-shadow:none;
    border:0;
  }
  .nav-bar .site-nav-list {
    width:100%;
    max-width:100%;
    justify-content:flex-start;
    display:flex!important;
    gap:0;
    margin:0;
    padding:0;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  .nav-bar .site-nav-list::-webkit-scrollbar { display:none; }
  .nav-bar .site-nav-list > li { flex:0 0 auto;scroll-snap-align:start; }
  .nav-bar .site-nav-list > li > a {
    font-size:15px;
    line-height:1.35;
    padding:15px 12px;
    white-space:nowrap;
  }
}
@media (max-width:420px) {
  .nav-bar .site-nav-list > li > a { font-size:14px;padding:14px 11px; }
}
/* ===== assets/css/inner-pages.css ===== */
/*
 * Reference inner views — faithful translation of supplied article & category
 * HTML/CSS samples. Only selectors scoped to .ref-inner-page.
 * Font families, colors, masthead and navigation are inherited from reference-match.css.
 */
.ref-inner-page { padding-top:0; padding-bottom:55px; min-height:52vh; }
.ref-inner-page .ref-back-row { margin:20px 0 12px; display:flex; align-items:center; gap:12px; }
.ref-inner-page .ref-back-link {
 display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 12px;
 border-radius:8px;border:1px solid var(--line);background:var(--card);
 color:var(--fg);font-size:15px;font-weight:700;line-height:1.25;
}
.ref-inner-page .ref-back-link:hover { border-color:var(--red);color:var(--red-t); }
.ref-inner-page .ref-two-columns {
 display:grid;grid-template-columns:minmax(0,1fr) 340px;
 gap:40px;align-items:start;
}
.ref-inner-page .ref-two-columns > * { min-width:0; }

/* Category landing: red heading, one horizontal lead, then 3-column news tiles */
.ref-inner-page .ref-category-header { margin:0; padding:0; border:0; }
.ref-inner-page .ref-category-header h1 {
 margin:0 0 18px;color:var(--red-t);font-family:var(--display);
 font-weight:800;font-size:clamp(30px,4vw,44px);line-height:1.15;letter-spacing:0;
}
.ref-category-description { color:var(--muted);font-family:var(--sans);font-size:17px;margin:-4px 0 20px;max-width:740px; }
.ref-category-description > :last-child { margin-bottom:0; }
.ref-inner-page .ref-category-hero {
 display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
 background:var(--card);border:1px solid var(--line);
 border-radius:12px;overflow:hidden;margin-bottom:16px;
 min-width:0;
}
.ref-inner-page .ref-category-hero-image {
 min-width:0;min-height:280px;display:block;overflow:hidden;
 position:relative;background:var(--bg2);aspect-ratio:auto;
}
.ref-inner-page .ref-category-hero-image img {
 width:100%;height:100%;position:absolute;inset:0;display:block;object-fit:cover;
 transition:transform .72s cubic-bezier(.22,.68,.2,1);
}
.ref-inner-page .ref-category-hero:hover img { transform:scale(1.025); }
.ref-inner-page .ref-category-hero-body {
 display:flex;flex-direction:column;justify-content:center;gap:12px;
 min-width:0;padding:24px;
}
.ref-inner-page .ref-category-hero-body h2 {
 font-family:var(--display);font-size:clamp(22px,2.6vw,30px);
 font-weight:800;line-height:1.2;letter-spacing:0;margin:0;overflow-wrap:anywhere;
}
.ref-inner-page .ref-category-hero-body h2 a:hover { color:var(--red-t); }
.ref-inner-page .ref-category-hero-body p {
 font-family:var(--sans);font-size:17px;line-height:1.5;color:var(--muted);
 margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;
}
.ref-inner-page .ref-category-hero-body .story-meta { margin-top:0;font-size:13px;color:var(--muted); }
.ref-image-placeholder { display:grid;place-items:center;width:100%;height:100%;min-height:280px;color:var(--muted);background:var(--bg2);font:700 65px var(--display); }
.ref-category-cards { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }
.ref-category-cards .story-card,
.ref-related-grid .story-card {
 display:flex;flex-direction:column;min-width:0;overflow:hidden;
 border:1px solid var(--line);border-radius:10px;background:var(--card);
}
.ref-category-cards .story-card .story-image,
.ref-related-grid .story-card .story-image {
 display:block;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden;border-radius:0;
}
.ref-category-cards .story-card .story-image img,
.ref-related-grid .story-card .story-image img { width:100%;height:100%;object-fit:cover; }
.ref-category-cards .story-card .story-body,
.ref-related-grid .story-card .story-body { padding:12px 14px 14px;display:flex;flex-direction:column;gap:8px;flex:1; }
.ref-category-cards .story-card .story-category,
.ref-related-grid .story-card .story-category { display:none; }
.ref-category-cards .story-card .story-title,
.ref-related-grid .story-card .story-title {
 font-family:var(--sans);font-weight:600;font-size:15.5px;
 line-height:1.32;letter-spacing:0;margin:0 0 auto;overflow-wrap:anywhere;
}
.ref-category-cards .story-card .story-meta,
.ref-related-grid .story-card .story-meta { margin-top:auto;font-size:13px;color:var(--muted); }
.ref-category-cards .story-card .story-title a:hover,
.ref-related-grid .story-card .story-title a:hover { color:var(--red-t); }

/* Sidebar: "Latest" and ranked stories as in reference archives */
.ref-inner-page .ref-sidebar { display:flex;flex-direction:column;gap:0;min-width:0; }
.ref-sidebar-panel {
 background:var(--card);border:1px solid var(--line);
 border-radius:12px;padding:16px 18px;margin:0 0 22px;
}
.ref-sidebar-panel > h2 {
 margin:0 0 10px;font-family:var(--display);
 font-size:26px;line-height:1.2;font-weight:800;color:var(--red-t);
}
.ref-latest-list,.ref-popular-list { list-style:none;margin:0;padding:0; }
.ref-latest-list li { padding:12px 0;border-bottom:1px solid var(--line);min-width:0; }
.ref-latest-list li:last-child,.ref-popular-list li:last-child { border-bottom:0; }
.ref-latest-list li > a { color:var(--fg);font-size:14.5px;font-weight:500;line-height:1.36;display:block; }
.ref-latest-list li > a:hover,.ref-popular-list li > a:hover { color:var(--red-t); }
.ref-inner-page .ref-small-meta {
 color:var(--muted);font-family:var(--sans);font-size:13px;font-weight:400;
 line-height:1.45;display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;
}
.ref-popular-list { counter-reset:ref-popular; }
.ref-popular-list li { position:relative;min-height:61px;padding:12px 0 12px 50px;border-bottom:1px solid var(--line);counter-increment:ref-popular; }
.ref-popular-list li::before {
 position:absolute;content:counter(ref-popular);top:12px;left:0;
 width:36px;height:36px;border-radius:50%;background:var(--pink);
 color:var(--red-t);display:flex;align-items:center;justify-content:center;
 font:800 17px var(--display);
}
.ref-popular-list li > a { color:var(--fg);display:block;font-size:14.5px;font-weight:500;line-height:1.35; }
.ref-sidebar-widgets .widget { border:1px solid var(--line);background:var(--card);border-radius:12px;padding:16px 18px; }
.ref-sidebar-widgets .widget-title { color:var(--red-t);border:0;font-family:var(--display);font-size:23px; }

/* Article heading, lead, cover and long-form text */
.ref-inner-page .ref-article { min-width:0; }
.ref-inner-page .ref-article-category { font-size:14px;letter-spacing:.02em;font-weight:800;color:var(--red-t); }
.ref-inner-page .ref-article-header { max-width:none;margin:0; }
.ref-inner-page .ref-article-header h1 {
 font-family:var(--display);font-size:clamp(28px,3.6vw,44px);
 line-height:1.12;font-weight:800;letter-spacing:-.01em;
 text-wrap:balance;overflow-wrap:anywhere;margin:10px 0 14px;color:var(--fg);
}
.ref-inner-page .ref-article-meta {
 display:flex;flex-wrap:wrap;gap:6px 14px;
 font-size:14px;color:var(--muted);
 padding-bottom:16px;border-bottom:1px solid var(--line);
}
.ref-inner-page .ref-article-lead {
 font-family:var(--sans);font-size:21px;line-height:1.55;
 color:var(--fg);margin:20px 0;
}
.ref-inner-page .ref-article-cover { margin:0 0 24px; }
.ref-inner-page .ref-article-cover img {
 display:block;width:100%;height:auto;aspect-ratio:16/9;
 border-radius:10px;object-fit:cover;
}
.ref-inner-page .ref-article-cover figcaption {
 font-family:var(--sans);font-size:14px;line-height:1.45;
 color:var(--muted);margin-top:8px;
}
.ref-inner-page .ref-article-content { max-width:700px;overflow-wrap:anywhere; }
.ref-inner-page .ref-article-content p,
.ref-inner-page .ref-article-content li {
 font-family:var(--sans);font-size:18px;line-height:1.7;
 color:var(--fg);
}
.ref-inner-page .ref-article-content p { margin:0 0 20px; }
.ref-inner-page .ref-article-content h2 {
 font-family:var(--display);font-size:25px;font-weight:800;
 line-height:1.25;margin:32px 0 12px;letter-spacing:0;color:var(--fg);
}
.ref-inner-page .ref-article-content h3 {
 font-family:var(--display);font-size:21px;line-height:1.3;font-weight:800;
 margin:28px 0 12px;letter-spacing:0;
}
.ref-inner-page .ref-article-content blockquote {
 margin:28px 0;padding:4px 0 4px 22px;border-left:4px solid var(--red);
 font-family:var(--sans);font-size:21px;font-weight:700;line-height:1.48;
}
.ref-inner-page .ref-article-content figure { max-width:100%; }
.ref-inner-page .ref-article-content figure img { border-radius:10px; }
.ref-inner-page .ref-article-content > :first-child { margin-top:0; }

/* Subscription and sharing surfaces */
.ref-telegram-banner {
 max-width:700px;display:flex;align-items:center;gap:16px;
 margin:28px 0 4px;padding:16px 18px;
 border:1px solid var(--red);border-radius:12px;
 background:var(--pink);
}
.ref-tg-icon { width:44px;height:44px;flex-shrink:0;border-radius:50%;
 background:var(--red);color:#fff;display:grid;place-items:center; }
.ref-tg-copy { flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:14.5px;line-height:1.4; }
.ref-tg-copy strong { font-size:16px; }
.ref-tg-subscribe {
 min-height:44px;display:inline-flex;align-items:center;justify-content:center;
 background:var(--red);color:white;border-radius:8px;
 padding:0 18px;font-size:14px;font-weight:700;white-space:nowrap;
}
.ref-tg-subscribe:hover { filter:brightness(1.07);color:white; }
.ref-article-share {
 display:flex;gap:10px;align-items:center;flex-wrap:wrap;
 margin:28px 0 8px;padding-top:18px;
 border-top:1px solid var(--line);font-size:14px;font-weight:700;
}
.ref-article-share a,.ref-article-share button {
 min-height:44px;padding:0 16px;border-radius:8px;border:1px solid var(--line);
 background:var(--card);color:var(--fg);
 display:inline-flex;align-items:center;gap:8px;
 font-size:14px;font-weight:700;cursor:pointer;
}
.ref-article-share a:hover,.ref-article-share button:hover { color:var(--red-t);border-color:var(--red); }
.ref-copy-notice:not(:empty) { font-weight:500;font-size:13px;color:var(--muted); }
.ref-related { margin:40px 0 0; }
.ref-next-divider {
 display:flex;align-items:center;gap:14px;
 margin:48px 0 28px;color:var(--red-t);
 font-family:var(--sans);font-size:13px;font-weight:800;
 letter-spacing:.06em;text-transform:uppercase;
}
.ref-next-divider::before,.ref-next-divider::after {
 content:"";height:2px;flex:1;background:var(--red);opacity:.35;
}
.ref-related-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px; }

/* Tablet/mobile breakpoints from the original templates */
@media(max-width:1000px) {
 .ref-inner-page .ref-two-columns { grid-template-columns:1fr;gap:24px; }
 .ref-inner-page .ref-sidebar { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start; }
 .ref-sidebar-panel { margin-bottom:0; }
 .ref-sidebar-widgets { grid-column:1 / -1; }
 .ref-inner-page .ref-article-content { max-width:100%; }
}
@media(max-width:640px) {
 .ref-inner-page { padding-bottom:36px; }
 .ref-inner-page .ref-back-row { margin:14px 0 18px; }
 .ref-inner-page .ref-back-link { min-height:40px;font-size:14px; }
 .ref-inner-page .ref-category-header h1 { font-size:32px; }
 .ref-inner-page .ref-category-hero { display:block; }
 .ref-inner-page .ref-category-hero-image { min-height:0;aspect-ratio:16/9; }
 .ref-inner-page .ref-category-hero-image img { position:static; }
 .ref-inner-page .ref-category-hero-body { padding:18px; }
 .ref-inner-page .ref-category-hero-body h2 { font-size:25px; }
 .ref-inner-page .ref-category-hero-body p { font-size:16px; }
 .ref-category-cards,.ref-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ref-inner-page .ref-article-header h1 { font-size:clamp(28px,7vw,36px); }
 .ref-inner-page .ref-article-lead { font-size:19px; }
 .ref-inner-page .ref-article-content p,.ref-inner-page .ref-article-content li { font-size:18px; }
 .ref-inner-page .ref-sidebar { display:block; }
 .ref-sidebar-panel { margin-bottom:18px; }
 .ref-telegram-banner { flex-wrap:wrap; }
 .ref-tg-subscribe { margin-left:auto; }
}
@media(max-width:420px) {
 .ref-category-cards,.ref-related-grid { grid-template-columns:1fr; }
 .ref-telegram-banner { gap:12px; }
 .ref-tg-icon { width:40px;height:40px; }
 .ref-tg-subscribe { width:100%;margin:0; }
 .ref-inner-page .ref-article-header h1 { font-size:29px; }
 .ref-article-share { gap:8px; }
}
@media(prefers-reduced-motion:reduce) {
 .ref-inner-page .ref-category-hero-image img { transition:none; }
}

/* Veridic: editable static information pages, styled as editorial articles. */
.veridic-info-layout .ref-two-columns { gap:38px; }
.veridic-info-layout .veridic-info-main { min-width:0; }
.veridic-info-layout .veridic-info-article { width:100%; }
.veridic-info-layout .ref-article-header { margin:0 0 28px; }
.veridic-info-layout .ref-article-header h1 { max-width:770px; }
.veridic-info-layout .veridic-info-lead {
 font-family:var(--sans);color:var(--fg);font-size:clamp(17px,2vw,20px);
 line-height:1.65;max-width:720px;margin:14px 0 22px;
}
.veridic-info-layout .ref-article-meta { border-bottom:1px solid var(--line);padding-bottom:20px; }
.veridic-info-layout .veridic-info-edit-link { margin-left:auto;color:var(--red-t);font-weight:700;text-decoration:underline;text-underline-offset:3px; }
.veridic-info-layout .ref-article-cover { margin-bottom:28px; }
.veridic-info-layout .veridic-info-content { max-width:740px; }
.veridic-info-layout .veridic-info-content h2 { font-size:clamp(23px,2.6vw,28px);margin-top:38px; }
.veridic-info-layout .veridic-info-content h3 { color:var(--fg);font-size:clamp(19px,2.2vw,22px); }
.veridic-info-layout .veridic-info-content p,
.veridic-info-layout .veridic-info-content li { line-height:1.78; }
.veridic-info-layout .veridic-info-content li { padding-left:4px;margin-bottom:10px; }
.veridic-info-layout .veridic-info-content ul,
.veridic-info-layout .veridic-info-content ol { padding-left:26px;margin:0 0 23px; }
.veridic-info-layout .veridic-info-content a:not(.wp-block-button__link) {
 color:var(--red-t);font-weight:650;text-decoration:underline;text-underline-offset:3px;
}
.veridic-info-layout .veridic-info-content a:not(.wp-block-button__link):hover { text-decoration-thickness:2px; }
.veridic-info-layout .veridic-info-content .wp-block-quote {
 margin:30px 0;padding:12px 18px 12px 22px;background:var(--bg2);
 border-left:4px solid var(--red);border-radius:0 9px 9px 0;
}
.veridic-info-layout .veridic-info-content .wp-block-quote p { margin:0;font-weight:700; }
.veridic-info-layout .veridic-demo-notice {
 font-family:var(--sans)!important;font-size:14px!important;line-height:1.6!important;
 padding:17px 19px;margin:0 0 30px!important;border:1px solid var(--red);
 border-left:4px solid var(--red);border-radius:10px;
 background:var(--pink);color:var(--fg)!important;
}
.veridic-info-layout .veridic-demo-notice strong { color:var(--red-t); }
.veridic-info-layout .veridic-info-panel > h2,
.veridic-info-layout .veridic-info-help > h2 { font-size:24px; }
.veridic-info-layout .veridic-info-links { list-style:none;padding:0;margin:4px 0 0; }
.veridic-info-layout .veridic-info-links li + li { border-top:1px solid var(--line); }
.veridic-info-layout .veridic-info-links a {
 display:flex;justify-content:space-between;align-items:center;gap:10px;
 padding:14px 2px;font-size:14px;line-height:1.4;font-weight:700;color:var(--fg);
 transition:color .2s ease;
}
.veridic-info-layout .veridic-info-links a span { color:var(--muted);font-size:16px; }
.veridic-info-layout .veridic-info-links a:hover,
.veridic-info-layout .veridic-info-links a[aria-current="page"] { color:var(--red-t); }
.veridic-info-layout .veridic-info-links a[aria-current="page"] span { color:var(--red); }
.veridic-info-layout .veridic-info-help { background:var(--bg2); }
.veridic-info-layout .veridic-info-help-icon {
 display:grid;place-items:center;width:39px;height:39px;
 border-radius:10px;background:var(--pink);color:var(--red-t);
 font-size:20px;margin:0 0 14px;
}
.veridic-info-layout .veridic-info-help > h2 { color:var(--fg);margin:0 0 10px; }
.veridic-info-layout .veridic-info-help p { color:var(--muted);font-size:14px;line-height:1.65;margin:0 0 19px; }
.veridic-info-layout .veridic-info-cta {
 display:inline-flex;align-items:center;justify-content:center;gap:12px;
 padding:11px 15px;min-height:44px;border-radius:8px;
 background:var(--red);color:#fff;font:700 13px var(--sans);
}
.veridic-info-layout .veridic-info-cta:hover { color:#fff;filter:brightness(1.1); }
@media(max-width:1000px) {
 .veridic-info-layout .ref-two-columns { grid-template-columns:minmax(0,1fr) 270px;gap:24px; }
 .veridic-info-layout .veridic-info-sidebar { display:block; }
 .veridic-info-layout .veridic-info-sidebar .ref-sidebar-panel { margin-bottom:18px; }
}
@media(max-width:760px) {
 .veridic-info-layout .ref-two-columns { grid-template-columns:minmax(0,1fr);gap:24px; }
 .veridic-info-layout .veridic-info-sidebar { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px; }
 .veridic-info-layout .veridic-info-sidebar .ref-sidebar-panel { margin:0; }
 .veridic-info-layout .veridic-info-content { max-width:100%; }
}
@media(max-width:640px) {
 .veridic-info-layout .ref-back-row { margin:13px 0 20px; }
 .veridic-info-layout .ref-article-header { margin-bottom:23px; }
 .veridic-info-layout .ref-article-header h1 { font-size:clamp(28px,7vw,35px);line-height:1.14; }
 .veridic-info-layout .veridic-info-lead { font-size:18px;line-height:1.58; }
 .veridic-info-layout .veridic-info-content h2 { font-size:23px;margin-top:28px; }
 .veridic-info-layout .veridic-info-content p,
 .veridic-info-layout .veridic-info-content li { font-size:17px;line-height:1.7; }
 .veridic-info-layout .veridic-info-sidebar { display:block; }
 .veridic-info-layout .veridic-info-sidebar .ref-sidebar-panel { margin:0 0 16px; }
 .veridic-info-layout .veridic-demo-notice { padding:14px 15px;font-size:13px!important; }
}
/* ===== assets/css/search-experience.css ===== */
/* Veridic: editorial search and matched masthead actions. Loaded last. */
.site-header { position:relative;z-index:110; }
.search-backdrop[hidden],.search-drawer[hidden],.veridic-search-clear[hidden] { display:none!important; }
.search-backdrop { position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.6);backdrop-filter:blur(3px); }
body.search-is-open { overflow:hidden; }
.masthead-side .search-toggle,.masthead-side .theme-toggle {
 display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;margin:0;
 border:1px solid var(--line);border-radius:11px;background:var(--card);
 color:var(--fg);box-shadow:none;cursor:pointer;
 transition:background-color .18s,border-color .18s,color .18s,transform .18s;
}
.masthead-side .search-toggle:hover,.masthead-side .theme-toggle:hover,
body.is-light .masthead-side .search-toggle:hover,body.is-light .masthead-side .theme-toggle:hover,
.masthead-side .search-toggle.is-active {
 background:var(--pink);border-color:var(--red);color:var(--red-t);
}
.masthead-side .search-toggle:active,.masthead-side .theme-toggle:active { transform:scale(.95); }
.masthead-side .search-toggle:focus-visible,.masthead-side .theme-toggle:focus-visible {
 outline:2px solid var(--red-t);outline-offset:3px;
}
.masthead-side .search-toggle svg,.masthead-side .theme-toggle svg { width:21px;height:21px;stroke:currentColor;flex:none; }
.masthead-side .search-toggle svg { display:block; }
body.is-light .masthead-side .search-toggle,body.is-light .masthead-side .theme-toggle { background:var(--card);color:var(--fg);border-color:var(--line); }
body.is-light .masthead-side .search-toggle.is-active { background:var(--pink);border-color:var(--red);color:var(--red-t); }
.masthead-side { gap:10px; }
.site-header .search-drawer {
 position:absolute;top:calc(100% - 3px);right:max(20px,calc((100vw - 1240px)/2 + 20px));
 z-index:125;width:min(570px,calc(100vw - 40px));padding:0;margin:0;
 max-height:calc(100dvh - 170px);overflow-y:auto;overscroll-behavior:contain;
 background:var(--card);color:var(--fg);border:1px solid var(--line);
 border-radius:16px;box-shadow:0 18px 64px rgba(0,0,0,.42);
}
.veridic-search-panel { padding:26px 28px 19px; }
.veridic-search-panel-top { display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 22px; }
.veridic-search-panel-kicker,.veridic-search-eyebrow { color:var(--red-t);font:800 11px/1.3 var(--sans);letter-spacing:.12em;text-transform:uppercase; }
.veridic-search-panel-top h2 { color:var(--fg);margin:9px 0 0;font:800 clamp(24px,2.6vw,29px)/1.1 var(--display); }
.veridic-search-panel .search-panel-close {
 display:grid;place-items:center;flex:none;width:38px;height:38px;
 border:1px solid var(--line);border-radius:9px;background:var(--bg2);color:var(--muted);cursor:pointer;
}
.veridic-search-panel .search-panel-close:hover { background:var(--pink);border-color:var(--red);color:var(--red-t); }
.veridic-search-panel .search-panel-close:focus-visible { outline:2px solid var(--red-t);outline-offset:3px; }
.veridic-search-panel-bottom { margin:23px 0 0;padding-top:20px;border-top:1px solid var(--line); }
.veridic-search-panel-bottom > span { display:block;margin:0 0 11px;font-size:12px;font-weight:750;color:var(--muted); }
.veridic-search-quick-links { display:flex;flex-wrap:wrap;gap:8px; }
.veridic-search-quick-links a {
 display:inline-flex;align-items:center;gap:9px;padding:9px 11px;min-height:38px;
 background:var(--bg2);border:1px solid var(--line);border-radius:8px;
 font:650 12px/1.2 var(--sans);color:var(--fg);
}
.veridic-search-quick-links a span { color:var(--red-t); }
.veridic-search-quick-links a:hover { color:var(--red-t);border-color:var(--red);background:var(--pink); }
.veridic-search-shortcut { display:block;margin:17px 0 0;color:var(--muted);text-align:right;font-size:11px; }
.veridic-search-form.search-form { display:flex;align-items:stretch;gap:9px;width:100%;margin:0; }
.veridic-search-field-wrap {
 position:relative;display:flex;align-items:center;flex:1 1 auto;min-width:0;
 min-height:54px;border:1px solid var(--line);border-radius:11px;background:var(--bg2);
 transition:border-color .2s,box-shadow .2s;
}
.veridic-search-field-wrap:focus-within { border-color:var(--red);box-shadow:0 0 0 3px var(--pink); }
.veridic-search-field-icon { position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none; }
.veridic-search-form .search-field,.search-drawer .veridic-search-form .search-field {
 display:block;flex:1;width:100%;min-width:0;min-height:52px;padding:0 41px 0 48px;margin:0;
 border:0;border-radius:11px;background:transparent!important;color:var(--fg);
 font:500 15px/1.4 var(--sans);outline:0;box-shadow:none;appearance:none;
}
.veridic-search-form .search-field::placeholder { color:var(--muted);opacity:.85; }
.veridic-search-form .search-field::-webkit-search-cancel-button { display:none; }
.veridic-search-form .veridic-search-clear {
 position:absolute;right:9px;top:50%;transform:translateY(-50%);
 width:30px;height:30px;min-width:30px;padding:0;display:grid;place-items:center;
 border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;
}
.veridic-search-form .veridic-search-clear:hover { background:var(--pink);color:var(--red-t); }
.veridic-search-form .veridic-search-submit {
 display:inline-flex;align-items:center;justify-content:center;gap:11px;
 flex:none;min-height:54px;margin:0;padding:0 20px;border:1px solid var(--red);
 border-radius:11px;background:var(--red);color:#fff;font:750 14px/1.25 var(--sans);
 cursor:pointer;transition:filter .2s,transform .2s;
}
.veridic-search-form .veridic-search-submit:hover { filter:brightness(1.12);color:#fff; }
.veridic-search-form .veridic-search-submit:active { transform:scale(.98); }
.veridic-search-form .veridic-search-submit:focus-visible { outline:2px solid var(--red-t);outline-offset:3px; }
.veridic-search-form .veridic-search-submit svg { flex:none; }
/* Editorial search page: one column of readable stories with a news sidebar. */
.veridic-search-page { padding-bottom:65px; }
.veridic-search-page .ref-back-row { margin-bottom:22px; }
.veridic-search-header {
 position:relative;padding:30px 32px 32px;background:var(--card);
 border:1px solid var(--line);border-radius:15px;overflow:hidden;
}
.veridic-search-header::before { position:absolute;content:"";top:0;left:0;width:120px;height:4px;background:var(--red); }
.veridic-search-eyebrow { display:inline-flex;align-items:center;gap:9px; }
.veridic-search-header h1 { margin:11px 0 6px;color:var(--fg);font:800 clamp(29px,4vw,44px)/1.15 var(--display);letter-spacing:-.025em; }
.veridic-search-header-description { color:var(--muted);font:450 15px/1.5 var(--sans);margin:0 0 24px; }
.veridic-search-page-form { max-width:770px; }
.veridic-search-filters { display:flex;align-items:flex-start;gap:18px;padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:26px; }
.veridic-search-filters-label { font-size:12px;font-weight:750;color:var(--muted);min-width:65px;padding:9px 0;white-space:nowrap; }
.veridic-search-filter-list { display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0; }
.veridic-search-filter {
 display:inline-flex;align-items:center;justify-content:center;
 min-height:36px;padding:8px 12px;white-space:nowrap;
 border:1px solid var(--line);border-radius:8px;background:var(--card);
 color:var(--muted);font:650 12px/1.3 var(--sans);
 transition:color .15s,border-color .15s,background .15s;
}
.veridic-search-filter:hover { border-color:var(--red);background:var(--pink);color:var(--red-t); }
.veridic-search-filter.is-active { background:var(--pink);color:var(--red-t);border-color:var(--red); }
.veridic-search-page .veridic-search-layout { grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start; }
.veridic-search-results { min-width:0; }
.veridic-search-results-toolbar { display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 15px; }
.veridic-search-results-toolbar h2 { color:var(--fg);margin:0;font:800 clamp(19px,2.4vw,24px)/1.2 var(--display); }
.veridic-search-count {
 display:inline-flex;align-items:center;flex:none;padding:7px 11px;
 border:1px solid var(--line);border-radius:8px;background:var(--bg2);
 color:var(--muted);font:650 12px var(--sans);
}
.veridic-search-result-list { display:flex;flex-direction:column;gap:12px; }
.veridic-search-result {
 display:grid;grid-template-columns:210px minmax(0,1fr);gap:20px;min-height:164px;
 padding:13px;background:var(--card);border:1px solid var(--line);border-radius:12px;
 transition:border-color .2s,background .2s;
}
.veridic-search-result:hover { border-color:var(--red); }
.veridic-search-result-image { display:block;min-width:0;min-height:138px;overflow:hidden;border-radius:8px;background:var(--bg2); }
.veridic-search-result-image img { display:block;width:100%;height:100%;object-fit:cover;transition:transform .72s cubic-bezier(.22,.68,.2,1); }
.veridic-search-result:hover .veridic-search-result-image img { transform:scale(1.03); }
.veridic-search-image-empty {
 display:grid;place-items:center;width:100%;height:100%;min-height:140px;
 background:linear-gradient(135deg,var(--bg2),var(--card));color:var(--red-t);
 font:700 62px/1 'Russo One',var(--display);
}
.veridic-search-result-content { min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:5px 5px 5px 0; }
.veridic-search-result-meta { display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0; }
.veridic-search-result-type { color:var(--red-t);font:750 12px/1.4 var(--sans); }
.veridic-search-result-meta time,.veridic-search-meta-dot { color:var(--muted);font-size:12px; }
.veridic-search-result-content h3 { color:var(--fg);font:750 clamp(17px,2.2vw,21px)/1.27 var(--display);margin:9px 0 8px;overflow-wrap:anywhere; }
.veridic-search-result-content h3 a:hover { color:var(--red-t); }
.veridic-search-result-content p {
 color:var(--muted);margin:0 0 11px;font:450 13px/1.55 var(--sans);
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
.veridic-search-result-more { display:inline-flex;align-items:center;gap:9px;margin-top:auto;color:var(--red-t);font:750 12px/1.4 var(--sans); }
.veridic-search-result-more span { font-size:16px;transition:transform .2s; }
.veridic-search-result-more:hover span { transform:translateX(3px); }
.veridic-search-page .ref-sidebar-panel { margin-bottom:16px; }
.veridic-search-page .pagination { margin-top:24px; }
.veridic-search-page .pagination a,.veridic-search-page .pagination .current { background:var(--card);border-color:var(--line);border-radius:8px;color:var(--fg); }
.veridic-search-page .pagination a:hover,.veridic-search-page .pagination .current { background:var(--red);border-color:var(--red);color:#fff; }
.veridic-search-empty { padding:43px 28px 42px;text-align:center;border:1px dashed var(--line);border-radius:13px;background:var(--card); }
.veridic-search-empty-icon { display:inline-grid;place-items:center;width:64px;height:64px;background:var(--pink);color:var(--red-t);border-radius:15px; }
.veridic-search-empty h3 { font:800 24px/1.2 var(--display);margin:20px 0 8px; }
.veridic-search-empty p { max-width:410px;margin:0 auto 20px;color:var(--muted);font:14px/1.6 var(--sans); }
.veridic-search-empty a { display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:750;color:var(--red-t); }
.veridic-search-empty a:hover { text-decoration:underline;text-underline-offset:3px; }
body.is-light .site-header .search-drawer { background:var(--card); }
@media(max-width:1000px) {
 .veridic-search-page .veridic-search-layout { grid-template-columns:minmax(0,1fr); }
 .veridic-search-page .ref-sidebar { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px; }
 .veridic-search-page .ref-sidebar-panel { margin:0; }
}
@media(max-width:640px) {
 .masthead-side .search-toggle,.masthead-side .theme-toggle { width:40px;height:40px;min-width:40px;flex-basis:40px;border-radius:10px; }
 .masthead-side .search-toggle svg,.masthead-side .theme-toggle svg { width:20px;height:20px; }
 .masthead-side { gap:8px; }
 .site-header .search-drawer { right:12px;top:calc(100% - 4px);width:calc(100vw - 24px);max-height:calc(100dvh - 125px);border-radius:13px; }
 .veridic-search-panel { padding:20px 16px 16px; }
 .veridic-search-panel-top { margin-bottom:17px; }
 .veridic-search-panel-top h2 { font-size:24px; }
 .veridic-search-panel-bottom { margin-top:17px;padding-top:16px; }
 .veridic-search-quick-links { gap:6px; }
 .veridic-search-quick-links a { font-size:12px;padding:8px 9px;min-height:36px; }
 .veridic-search-shortcut { margin-top:12px; }
 .veridic-search-field-wrap { min-height:50px; }
 .veridic-search-form .search-field { min-height:48px;font-size:14px;padding-left:41px;padding-right:34px; }
 .veridic-search-field-icon { left:12px;width:18px;height:18px; }
 .veridic-search-form .veridic-search-submit { min-height:50px;padding:0 13px;font-size:13px;gap:6px; }
 .veridic-search-form .veridic-search-submit svg { width:15px; }
 .veridic-search-page { padding-bottom:42px; }
 .veridic-search-page .ref-back-row { margin-bottom:14px; }
 .veridic-search-header { padding:22px 18px 24px; }
 .veridic-search-header h1 { font-size:30px; }
 .veridic-search-header-description { font-size:14px;margin-bottom:19px; }
 .veridic-search-filters { padding:17px 0 15px;display:block;margin-bottom:20px; }
 .veridic-search-filters-label { display:block;margin-bottom:8px;padding:0; }
 .veridic-search-filter-list { display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:0 0 4px;scroll-snap-type:x proximity; }
 .veridic-search-filter { flex:none;scroll-snap-align:start;font-size:12px; }
 .veridic-search-filter-list::-webkit-scrollbar { display:none; }
 .veridic-search-result { grid-template-columns:116px minmax(0,1fr);gap:12px;padding:10px;min-height:134px; }
 .veridic-search-result-image { min-height:112px; }
 .veridic-search-image-empty { min-height:112px;font-size:41px; }
 .veridic-search-result-content { padding:1px 0; }
 .veridic-search-result-content h3 { font-size:15px;line-height:1.28;margin:6px 0 7px; }
 .veridic-search-result-content p { font-size:12px;-webkit-line-clamp:2; }
 .veridic-search-result-type,.veridic-search-result-meta time { font-size:11px; }
 .veridic-search-count { padding:6px 8px;font-size:11px; }
 .veridic-search-result-more { font-size:11px; }
 .veridic-search-results-toolbar h2 { font-size:20px; }
 .veridic-search-page .ref-sidebar { display:block; }
 .veridic-search-page .ref-sidebar-panel { margin-bottom:16px; }
 .veridic-search-empty { padding:35px 16px; }
}
@media(max-width:370px) {
 .veridic-search-panel { padding:17px 12px 14px; }
 .veridic-search-form.search-form { gap:6px; }
 .veridic-search-form .veridic-search-submit { padding:0 10px; }
 .veridic-search-result { grid-template-columns:98px minmax(0,1fr);gap:10px; }
 .veridic-search-result-content p { display:none; }
 .veridic-search-result-content h3 { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) {
 .masthead-side .search-toggle,.masthead-side .theme-toggle,
 .veridic-search-result-image img,.veridic-search-result-more span { transition:none; }
}
/* Landscape phones / small-height windows: the dialog remains fully reachable. */
@media(max-height:520px) {
 .site-header .search-drawer { position:fixed;top:12px;right:12px;max-height:calc(100dvh - 24px); }
}

/* Shared image motion and accessibility rules are in card-interactions.css. */
@media (prefers-reduced-motion:reduce) {
 .story-card .story-image img,
 .ref-inner-page .ref-category-hero-image img,
 .veridic-search-result .veridic-search-result-image img {
  transition:none!important;
  transform:none!important;
 }
}
/* ===== assets/css/card-categories.css ===== */
/*
 * Veridic news category labels.
 * Loaded after all legacy styles so labels appear on homepage/related cards.
 * One typography system; prominent overlay badge only on the lead story.
 */

/* Shared linked rubric label: readable without crowding the headline. */
.story-card .story-body .story-category,
.ref-inner-page .ref-category-hero-body .story-category,
.ref-sidebar .ref-sidebar-category,
.home-sidebar .ranked-list .ranked-category {
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  width:fit-content;
  max-width:100%;
  margin:0 0 3px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--red-t);
  font:800 11px/1.35 var(--sans);
  letter-spacing:.055em;
  text-transform:uppercase;
  text-decoration:none;
  overflow-wrap:anywhere;
  transition:color .2s ease;
}
.story-card .story-body .story-category:hover,
.ref-inner-page .ref-category-hero-body .story-category:hover,
.ref-sidebar .ref-sidebar-category:hover,
.home-sidebar .ranked-list .ranked-category:hover {
  color:var(--red);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.story-card .story-body .story-category:focus-visible,
.ref-inner-page .ref-category-hero-body .story-category:focus-visible,
.ref-sidebar .ref-sidebar-category:focus-visible,
.home-sidebar .ranked-list .ranked-category:focus-visible {
  outline:2px solid var(--red-t);
  outline-offset:3px;
  border-radius:2px;
}

/* Hero has a small bold tab, superimposed on the photo, above the title. */
.story-card--hero .story-body .story-category {
  display:inline-flex;
  pointer-events:auto;
  padding:6px 10px;
  margin:0 0 13px;
  color:#fff;
  background:#c71924;
  border:1px solid rgba(255,255,255,.14);
  border-radius:5px;
  font:800 11px/1.25 var(--sans);
  letter-spacing:.075em;
  text-transform:uppercase;
  box-shadow:0 2px 9px rgba(0,0,0,.17);
}
.story-card--hero .story-body .story-category:hover {
  color:#fff;
  background:#a9121c;
  text-decoration:none;
}

/* Homepage editorial sections: retain a steady three-card baseline. */
.home-sections .story-card--standard .story-body .story-category,
.ref-category-cards .story-card .story-body .story-category,
.ref-related-grid .story-card .story-body .story-category,
.listing-page .story-card .story-body .story-category {
  display:inline-flex;
  font-size:10.5px;
  line-height:1.35;
  margin:0 0 1px;
}
.home-sections .story-card--standard .story-body,
.ref-category-cards .story-card .story-body,
.ref-related-grid .story-card .story-body {
  gap:7px;
}

/* Compact three-story strip beside hero: label above headline. */
.story-card--side .story-body .story-category {
  display:inline-flex;
  font-size:10px;
  letter-spacing:.055em;
  margin:0 0 5px;
}

/* Ranked sidebar and article sidebars: keep number, category, headline, date. */
.home-sidebar .ranked-list .ranked-category {
  font-size:10px;
  line-height:1.25;
  margin:0 0 2px;
}
.ref-sidebar .ref-sidebar-category {
  font-size:10px;
  line-height:1.3;
  margin:0 0 5px;
}
.ref-inner-page .ref-category-hero-body .story-category {
  margin:0 0 1px;
  font-size:11px;
}

/* Search was already tagging categories; use the same small-label style. */
.veridic-search-result .veridic-search-result-type {
  color:var(--red-t);
  font:800 11px/1.35 var(--sans);
  letter-spacing:.05em;
  text-transform:uppercase;
}

/* Dense mobile layouts must never hide the label or squash the card. */
@media (max-width:640px) {
  .story-card--hero .story-body .story-category {
    padding:5px 9px;
    margin-bottom:9px;
    font-size:10px;
  }
  .story-card--side .story-body .story-category,
  .home-sidebar .ranked-list .ranked-category,
  .ref-sidebar .ref-sidebar-category {
    font-size:9.5px;
    margin-bottom:4px;
  }
  .home-sections .story-card--standard .story-body .story-category,
  .ref-category-cards .story-card .story-body .story-category,
  .ref-related-grid .story-card .story-body .story-category {
    font-size:10px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .story-card .story-body .story-category,
  .ref-sidebar .ref-sidebar-category,
  .home-sidebar .ranked-list .ranked-category { transition:none; }
}

/* 0.18.1: Section heading already identifies every story's category.
 * Scope precisely to category-only grids; do not hide badges in mixed feeds,
 * related stories, popular lists, or the main homepage hero.
 * CSS also protects against delayed PHP template refresh in server OPcache. */
.home-sections .topic-section .story-card .story-body .story-category,
.ref-category-cards .story-card .story-body .story-category,
.ref-inner-page .ref-category-hero-body .ref-category-hero-label {
  display:none!important;
}
/* ===== assets/css/card-interactions.css ===== */
/*
 * Veridic 0.18.5 — genuinely smooth, whole-card interactions.
 * The invisible stretched link makes blank areas native-clickable (including
 * browser open-in-new-tab). Existing heading / category links stay accessible.
 */

/* Whole-card native link, separate from meaningful headline/category links. */
.story-card,
.ref-inner-page .ref-category-hero,
.veridic-search-result {
  position: relative;
  cursor: pointer;
}
.story-card > .veridic-card-hitarea,
.ref-inner-page .ref-category-hero > .veridic-card-hitarea,
.veridic-search-result > .veridic-card-hitarea {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  cursor: pointer;
}

/*
 * Raise actual editorial links above the stretched link while leaving
 * noninteractive whitespace and excerpt areas clickable through it.
 */
.story-card .story-body,
.ref-inner-page .ref-category-hero-body,
.veridic-search-result .veridic-search-result-content {
  position: relative;
  z-index: 3;
  pointer-events: none;
}
.story-card .story-body a,
.ref-inner-page .ref-category-hero-body a,
.veridic-search-result .veridic-search-result-content a {
  pointer-events: auto;
}
.story-card .story-body .story-category,
.story-card .story-body .story-title a,
.ref-inner-page .ref-category-hero-body h2 a,
.veridic-search-result .veridic-search-result-content h3 a {
  position: relative;
  z-index: 4;
}

/* Photo stays clipped; only the image transforms, never the entire card. */
.story-card .story-image,
.ref-inner-page .ref-category-hero-image,
.veridic-search-result .veridic-search-result-image {
  overflow: hidden;
}
.story-card .story-image img,
.ref-inner-page .ref-category-hero-image img,
.veridic-search-result .veridic-search-result-image img {
  transform: scale(1);
  transition: transform 780ms cubic-bezier(.2, .8, .2, 1);
  transform-origin: center center;
}
.story-card:hover .story-image img,
.story-card:focus-within .story-image img {
  transform: scale(1.055);
}
.ref-inner-page .ref-category-hero:hover .ref-category-hero-image img,
.ref-inner-page .ref-category-hero:focus-within .ref-category-hero-image img {
  transform: scale(1.045);
}
.veridic-search-result:hover .veridic-search-result-image img,
.veridic-search-result:focus-within .veridic-search-result-image img {
  transform: scale(1.055);
}

/* Section headings and standalone page titles are editorial text,
 * not clickable story headlines. Neutral in both light and dark themes. */
.topic-section .section-heading h2,
.home-sections .section-heading h2,
.home-sidebar .sidebar-section h2,
.ref-sidebar-panel > h2,
.ref-sidebar-widgets .widget-title,
.ref-inner-page .ref-category-header h1,
.ref-inner-page .ref-article-header h1,
.veridic-search-header h1,
.veridic-search-results-toolbar h2,
.veridic-info-layout .veridic-contact-social h2 {
  color: var(--fg);
}

/* Story headlines are neutral at rest and turn accent red whenever any
 * portion of the news card is hovered or keyboard-focused. */
.story-card .story-body .story-title a,
.ref-inner-page .ref-category-hero-body h2 a,
.veridic-search-result .veridic-search-result-content h3 a {
  color: var(--fg);
  opacity: 1;
  transition: color 240ms ease;
}
.story-card:hover .story-body .story-title a,
.story-card:focus-within .story-body .story-title a,
.ref-inner-page .ref-category-hero:hover .ref-category-hero-body h2 a,
.ref-inner-page .ref-category-hero:focus-within .ref-category-hero-body h2 a,
.veridic-search-result:hover .veridic-search-result-content h3 a,
.veridic-search-result:focus-within .veridic-search-result-content h3 a {
  color: var(--red-t);
}
/* On the photographic lead story a dark red title loses contrast.
 * Keep it white at rest and use a very light warm rose on hover. */
.story-card--hero .story-body .story-title a {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
.story-card--hero:hover .story-body .story-title a,
.story-card--hero:focus-within .story-body .story-title a {
  color: #ffe1e4;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}

/* For ranked stories, moving anywhere within a list item highlights its title,
 * while their own category links keep the accent-category styling. */
.home-sidebar .ranked-list li:hover > a:not(.ranked-category),
.home-sidebar .ranked-list li:focus-within > a:not(.ranked-category),
.ref-sidebar .ref-latest-list li:hover > a:not(.ref-sidebar-category),
.ref-sidebar .ref-latest-list li:focus-within > a:not(.ref-sidebar-category),
.ref-sidebar .ref-popular-list li:hover > a:not(.ref-sidebar-category),
.ref-sidebar .ref-popular-list li:focus-within > a:not(.ref-sidebar-category) {
  color: var(--red-t);
}

/* Keyboard navigation retains an obvious, unobstructed link focus ring. */
.story-card .story-title a:focus-visible,
.story-card .story-category:focus-visible,
.ref-inner-page .ref-category-hero-body h2 a:focus-visible,
.veridic-search-result .veridic-search-result-content a:focus-visible {
  outline: 2px solid var(--red-t);
  outline-offset: 3px;
  border-radius: 2px;
}
.story-card--hero .story-title a:focus-visible {
  outline-color: #fff;
}

/* The newsroom's image-hover effect is intentionally retained even when
 * an OS requests reduced motion. Override older theme-wide motion rules,
 * including *{ transition-duration:.01ms!important } and legacy image
 * transform:none!important declarations. */
@media (prefers-reduced-motion: reduce) {
  .story-card .story-image img,
  .ref-inner-page .ref-category-hero-image img,
  .veridic-search-result .veridic-search-result-image img {
    transform: scale(1) !important;
    transition: transform 780ms cubic-bezier(.2, .8, .2, 1) !important;
  }
  .story-card:hover .story-image img,
  .story-card:focus-within .story-image img,
  .veridic-search-result:hover .veridic-search-result-image img,
  .veridic-search-result:focus-within .veridic-search-result-image img {
    transform: scale(1.055) !important;
  }
  .ref-inner-page .ref-category-hero:hover .ref-category-hero-image img,
  .ref-inner-page .ref-category-hero:focus-within .ref-category-hero-image img {
    transform: scale(1.045) !important;
  }
  .story-card .story-body .story-title a,
  .ref-inner-page .ref-category-hero-body h2 a,
  .veridic-search-result .veridic-search-result-content h3 a {
    transition: color 240ms ease !important;
  }
}
/* ===== assets/css/typography-sans.css ===== */
/*
 * Veridic 0.18.9 — consistent sans-serif editorial typography.
 *
 * Titles retain the geometric Exo 2 display family, article copy and
 * captions use Onest, and the Russo One branded wordmark is untouched.
 * Match previously saved WordPress block markup, including inline
 * font-family styles originating in the old block editor.
 */
:root {
  --serif: var(--sans);
}
.ref-category-description,
.ref-category-description *,
.ref-inner-page .ref-category-hero-body p,
.ref-inner-page .ref-article-lead,
.ref-inner-page .ref-article-cover figcaption,
.veridic-info-layout .veridic-info-lead,
.article-page .article-deck,
.article-page .entry-content,
.article-page .entry-content :is(p,li,blockquote,figcaption,cite,q),
.ref-inner-page .ref-article-content :is(p,li,blockquote,blockquote p,figcaption,cite,q),
.veridic-info-layout .veridic-info-content :is(p,li,blockquote,blockquote p,figcaption,cite,q) {
  font-family: var(--sans) !important;
}
.ref-inner-page .ref-article-content :is(p,li),
.veridic-info-layout .veridic-info-content :is(p,li) {
  line-height: 1.7;
}
.ref-inner-page .ref-article-content blockquote,
.veridic-info-layout .veridic-info-content blockquote {
  line-height: 1.48;
}
/* Generic legacy pages and editorial widgets: sans even when old CSS loads. */
.page-intro p,
.page-intro .taxonomy-description,
.entry-content :is(p,li,blockquote,figcaption),
.ref-sidebar-panel p,
.ref-sidebar-panel li,
.site-footer .footer-column,
.widget,
.search-page .search-summary {
  font-family: var(--sans);
}
/* Titles remain display-sans instead of accidentally inheriting paragraph copy. */
.ref-inner-page .ref-article-content :is(h1,h2,h3,h4,h5,h6),
.veridic-info-layout .veridic-info-content :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--display) !important;
}
/* Converter: no grey panels behind "Ввод" and "Результат". Keep inputs and rate card styled. */
body .currency-converter .converter-field,
body.is-light .currency-converter .converter-field,
body .currency-converter .converter-controls,
body.is-light .currency-converter .converter-controls {
  background: transparent !important;
  border-color: transparent;
  box-shadow: none;
}
body.is-light .currency-converter .converter-controls .converter-input,
body.is-light .currency-converter .converter-controls .converter-currency {
  background: #fff;
}

/* ===== assets/css/converter-bidirectional.css ===== */
/*
 * Veridic 0.19.1: two-way currency calculator.
 * The edited amount is accented; both amounts remain native text inputs.
 */
.currency-converter .converter-hint {
  margin: -2px 0 15px;
  color: var(--muted);
  font: 500 12px/1.4 var(--sans);
}
.currency-converter .converter-field {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.currency-converter .converter-field-label {
  display: block;
  margin: 0 0 7px;
  font: 750 11px/1.3 var(--sans);
  letter-spacing: .015em;
  color: var(--muted);
  transition: color .15s ease;
}
.currency-converter .converter-field.is-source .converter-field-label {
  color: var(--red-t);
}
.currency-converter .converter-controls {
  display: grid;
  grid-template-columns: minmax(0,1fr) 86px;
  gap: 9px;
  align-items: stretch;
}
.currency-converter .converter-controls .converter-input,
.currency-converter .converter-controls .converter-currency {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 49px;
  height: 49px;
  margin: 0;
  padding: 0 12px;
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
  outline: 0;
  font-family: var(--sans);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.currency-converter .converter-controls .converter-input {
  font-size: 17px;
  font-weight: 550;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  -webkit-appearance: none;
  appearance: none;
  caret-color: var(--red-t);
}
.currency-converter .converter-controls .converter-currency {
  font-size: 15px;
  font-weight: 600;
  padding: 0 8px;
  cursor: pointer;
  -webkit-appearance: auto;
  appearance: auto;
}
.currency-converter .converter-controls .converter-input:hover,
.currency-converter .converter-controls .converter-currency:hover {
  border-color: var(--red-t);
}
.currency-converter .converter-field.is-source .converter-controls .converter-input {
  border-color: var(--red);
  background: var(--card);
}
.currency-converter .converter-controls :is(.converter-input,.converter-currency):focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--pink);
}
.currency-converter .converter-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  margin: 9px auto 10px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--red-t);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.currency-converter .converter-swap:hover {
  border-color: var(--red);
  background: var(--pink);
  transform: rotate(180deg);
}
.currency-converter .converter-swap:focus-visible {
  outline: 2px solid var(--red-t);
  outline-offset: 3px;
}
.currency-converter .converter-summary {
  margin: 14px 0 0;
  border-radius: 10px;
  padding: 13px 14px;
}
.currency-converter .converter-rate {
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 380px) {
  .currency-converter .converter-controls { grid-template-columns: minmax(0,1fr) 76px; gap: 7px; }
  .currency-converter .converter-controls .converter-input { font-size: 16px; padding: 0 9px; }
  .currency-converter .converter-controls .converter-currency { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .currency-converter .converter-swap,
  .currency-converter .converter-controls :is(.converter-input,.converter-currency) {
    transition: none;
  }
}
/* ===== assets/css/breaking-slider.css ===== */
/* Breaking ticker with compact, accessible manual controls. */
.news-ticker.veridic-breaking-slider {display:flex;align-items:stretch;}
.veridic-breaking-slider .veridic-breaking-viewport {flex:1 1 auto;min-width:0;display:flex;align-items:center;overflow:hidden;}
.veridic-breaking-slide {width:100%;min-width:0;animation:veridic-breaking-reveal .27s ease both;}
.veridic-breaking-slide[hidden] {display:none!important;}
.veridic-breaking-slide a {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fg);font:600 14px/1.4 var(--sans);}
.veridic-breaking-slide a:hover {color:var(--red-t);text-decoration:underline;text-underline-offset:3px;}
.veridic-breaking-slide a:focus-visible {outline:2px solid var(--red-t);outline-offset:2px;border-radius:3px;}
.veridic-breaking-controls {display:flex;align-items:center;flex:none;gap:4px;padding:0 9px;border-left:1px solid var(--line);color:var(--muted);}
.veridic-breaking-controls button {display:grid;place-items:center;width:28px;height:30px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--fg);font:600 25px/1 var(--sans);cursor:pointer;}
.veridic-breaking-controls button:hover {background:var(--card);border-color:var(--line);color:var(--red-t);}
.veridic-breaking-controls button:focus-visible {outline:2px solid var(--red-t);outline-offset:2px;}
.veridic-breaking-counter {min-width:27px;text-align:center;font:700 11px/1.2 var(--sans);font-variant-numeric:tabular-nums;}
@keyframes veridic-breaking-reveal {from{opacity:.35;transform:translateY(3px);}to{opacity:1;transform:translateY(0);}}
@media(max-width:600px){
  .news-ticker.veridic-breaking-slider {touch-action:pan-y;}
  /* Keep the label accessible in the ticker's aria-label, but show only its icon. */
  .news-ticker.veridic-breaking-slider .ticker-label {
    padding:0 10px;min-width:37px;justify-content:center;gap:0;
  }
  .news-ticker.veridic-breaking-slider .ticker-label-text {display:none;}
  .news-ticker.veridic-breaking-slider .ticker-label-icon {font-size:19px;}
  .veridic-breaking-slider .veridic-breaking-viewport {
    padding:7px 8px;min-width:0;touch-action:pan-y;
  }
  .veridic-breaking-slide a {font-size:12px;}
  .veridic-breaking-controls {padding:0 9px;gap:0;}
  .veridic-breaking-controls button[data-breaking-prev],
  .veridic-breaking-controls button[data-breaking-next] {display:none;}
  .veridic-breaking-counter {min-width:25px;font-size:11px;}
}
@media(prefers-reduced-motion:reduce){.veridic-breaking-slide{animation:none;}}
/* Editor-managed footer partners. */
.site-footer .veridic-footer-partners {display:flex;flex-direction:column;gap:9px;list-style:none;margin:0;padding:0;}
.site-footer .veridic-footer-partners li {margin:0;line-height:1.4;}
.site-footer .veridic-footer-partners a {display:inline-flex;align-items:baseline;gap:6px;max-width:100%;color:inherit;text-decoration:none;overflow-wrap:anywhere;}
.site-footer .veridic-footer-partners a:hover {color:#ffced2;text-decoration:underline;text-underline-offset:3px;}
.site-footer .veridic-footer-partners a span {font-size:13px;opacity:.68;flex:none;}
.site-footer .veridic-footer-partners a:focus-visible {outline:2px solid #ffced2;outline-offset:3px;border-radius:2px;}
/* ===== assets/css/category-infinite.css ===== */
/* Veridic category archive — guarded infinite loading. */
.veridic-category.veridic-infinite-enabled .ref-category-results > .pagination {
  display:none;
}
.veridic-category.veridic-infinite-enabled .ref-category-results > .pagination:not([hidden]) {
  display:flex;
}
.veridic-infinite-more[hidden],.veridic-infinite-spinner[hidden],
.veridic-infinite-retry[hidden] {display:none!important;}
.veridic-infinite-more {
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  gap:11px;
  min-height:75px;
  margin:22px auto 8px;
  padding:12px;
  color:var(--muted);
  text-align:center;
}
.veridic-infinite-spinner {
  width:28px;
  height:28px;
  border-radius:50%;
  border:3px solid var(--line);
  border-top-color:var(--red-t);
  animation:veridic-infinite-turn .85s linear infinite;
}
.veridic-infinite-message {
  margin:0;
  color:var(--muted);
  font:600 13px/1.4 var(--sans);
}
.veridic-infinite-more[data-state="ready"] {
  min-height:20px;
  padding:0;
  margin:0;
  opacity:0;
}
.veridic-infinite-more.is-complete {
  min-height:auto;
  margin:28px auto 8px;
  border-top:1px solid var(--line);
  padding:17px 0 2px;
}
.veridic-infinite-retry {
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--card);
  color:var(--fg);
  font:700 13px/1.4 var(--sans);
  padding:10px 16px;
  cursor:pointer;
}
.veridic-infinite-retry:hover,.veridic-infinite-retry:focus-visible {
  border-color:var(--red-t);
  color:var(--red-t);
}
@keyframes veridic-infinite-turn {to {transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce) {
  .veridic-infinite-spinner {animation:none;border-top-color:var(--red-t);border-bottom-color:var(--red-t);}
}
/* ===== assets/css/page-404.css ===== */
/*
 * Veridic 0.23.1 · compact 404 editorial state.
 * Theme tokens preserve white/black contrast in both appearance modes.
 * Only the 404 template gets these rules.
 */
.missing-page.veridic-404 {
  width: min(calc(100% - 44px), 940px);
  min-height: clamp(470px, calc(100svh - 320px), 700px);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 68px) 0 clamp(44px, 6vw, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  text-align: center;
}
.veridic-404 .veridic-404-panel {
  position: relative;
  width: 100%;
  max-width: 780px;
  padding: clamp(32px, 5.5vw, 68px) clamp(20px, 5vw, 66px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 12px 36px rgb(0 0 0 / 2%);
  overflow: hidden;
}
.veridic-404 .veridic-404-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 86px;
  height: 4px;
  background: var(--red);
  border-radius: 0 0 6px 6px;
  transform: translateX(-50%);
}
.veridic-404 .veridic-404-eyebrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--muted);
  font: 750 12px/1.4 var(--sans);
  letter-spacing: .065em;
  text-transform: uppercase;
}
.veridic-404 .veridic-404-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}
.veridic-404 .veridic-404-number {
  display: block;
  margin: 0 0 8px;
  color: var(--red-t);
  font-family: var(--display);
  font-size: clamp(94px, 15vw, 150px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.065em;
}
.veridic-404 #veridic-404-heading {
  margin: 8px auto 14px;
  color: var(--fg);
  font-family: var(--display);
  font-size: clamp(29px, 4.3vw, 46px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.veridic-404 .veridic-404-description {
  max-width: 490px;
  margin: 0 auto 26px;
  color: var(--muted);
  font: 450 clamp(15px, 1.65vw, 17px)/1.55 var(--sans);
  text-wrap: pretty;
}
.veridic-404 .veridic-404-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}
.veridic-404 .veridic-404-home,
.veridic-404 .veridic-404-back {
  min-height: 47px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 19px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  font: 750 14px/1.35 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.veridic-404 .veridic-404-home {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.veridic-404 .veridic-404-home:hover {
  background: var(--red-d);
  border-color: var(--red-d);
  color: #fff;
  transform: translateY(-1px);
}
.veridic-404 .veridic-404-back:hover {
  border-color: var(--red);
  color: var(--red-t);
}
.veridic-404 :is(.veridic-404-home, .veridic-404-back):focus-visible {
  outline: 2px solid var(--red-t);
  outline-offset: 3px;
}
.veridic-404 .veridic-404-back[hidden] { display: none !important; }
@media (max-width: 600px) {
  .missing-page.veridic-404 {
    width: min(calc(100% - 28px), 520px);
    min-height: min(530px, calc(100svh - 210px));
    padding: 25px 0 44px;
  }
  .veridic-404 .veridic-404-panel {
    padding: 38px 18px 42px;
    border-radius: 14px;
  }
  .veridic-404 .veridic-404-eyebrow { font-size: 10px; }
  .veridic-404 .veridic-404-number { font-size: clamp(88px, 25vw, 116px); }
  .veridic-404 #veridic-404-heading { font-size: clamp(26px, 7vw, 34px); }
  .veridic-404 .veridic-404-description { margin-bottom: 24px; font-size: 15px; }
  .veridic-404 .veridic-404-actions { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .veridic-404 :is(.veridic-404-home, .veridic-404-back) { transition: none; }
}

/* Veridic footer refinements — same hierarchy and interaction on RU/RO/EN. */
.site-footer .footer-brand > .footer-tagline {
  margin: 12px 0 15px -7px;
  max-width: calc(100% + 7px);
}
.site-footer .footer-brand > .veridic-social-links {
  margin-left: -2px;
}
.site-footer .footer-column h2,
body.is-light .site-footer .footer-column h2 {
  color: #ffd1d5;
  opacity: 1;
  font: 800 12px/1.3 var(--sans);
  letter-spacing: .115em;
  text-transform: uppercase;
  margin: 0 0 19px;
}
.site-footer .footer-column h2::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 11px;
  border-radius: 2px;
  background: #ffb4bc;
}
.site-footer .footer-column a {
  display: inline-flex;
  max-width: 100%;
  color: #fff;
  text-decoration: none;
  text-decoration-color: transparent;
  transition: color .18s ease, transform .18s ease, text-decoration-color .18s ease;
}
.site-footer .footer-column a:hover,
.site-footer .footer-column a:focus-visible {
  color: #ffe0e3;
  transform: translateX(4px);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}
.site-footer .footer-column a:focus-visible,
.site-footer .footer-bottom .footer-to-top:focus-visible {
  outline: 2px solid #ffd0d5;
  outline-offset: 4px;
  border-radius: 2px;
}
.site-footer .footer-bottom {
  padding: 15px 0 17px;
}
.site-footer .footer-bottom .footer-to-top {
  color: #fff;
  white-space: nowrap;
  transition: color .18s ease, transform .18s ease;
}
.site-footer .footer-bottom .footer-to-top:hover,
.site-footer .footer-bottom .footer-to-top:focus-visible {
  color: #ffe0e3;
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .site-footer .footer-bottom {
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 10px;
  }
  .site-footer .footer-bottom .footer-to-top {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-column a,
  .site-footer .footer-bottom .footer-to-top { transition: none; }
  .site-footer .footer-column a:hover,
  .site-footer .footer-column a:focus-visible,
  .site-footer .footer-bottom .footer-to-top:hover,
  .site-footer .footer-bottom .footer-to-top:focus-visible { transform: none; }
}

/* Mobile footer: a compact two-column directory instead of a long stack. */
@media (max-width: 640px) {
  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(14px, 4vw, 24px);
    row-gap: 28px;
    padding-top: 28px;
    padding-bottom: 24px;
  }
  .site-footer .footer-brand {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .site-footer .footer-brand > .veridic-social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    margin: 16px 0 0 -2px;
  }
  .site-footer .veridic-social-links--footer .veridic-social-link {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    min-width: 46px;
  }
  .site-footer .footer-column { min-width: 0; }
  .site-footer .footer-column h2,
  body.is-light .site-footer .footer-column h2 {
    font-size: 11px;
    letter-spacing: .09em;
    line-height: 1.4;
    margin-bottom: 14px;
  }
  .site-footer .footer-column h2::after { margin-top: 9px; }
  .site-footer .footer-column li {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 9px;
  }
  .site-footer .footer-column li a { overflow-wrap: anywhere; }
  .site-footer .footer-column:last-child { grid-column: 1 / -1; }
  .site-footer .footer-column:last-child .veridic-footer-partners {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 8px;
  }
  .site-footer .footer-bottom {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
    font-size: 12px;
  }
  .site-footer .footer-bottom .footer-copyright { min-width: 0; }
  .site-footer .footer-bottom .footer-to-top {
    margin-left: auto;
    flex: 0 0 auto;
  }
}
@media (max-width: 380px) {
  .site-footer .footer-main { column-gap: 12px; row-gap: 24px; }
  .site-footer .footer-column li { font-size: 12.5px; }
  .site-footer .footer-bottom { font-size: 11px; column-gap: 8px; }
}


