/*
 * Libertate 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; }
}

/* Libertate 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; }
}


