  :root{
    --blue:#1A6FC4; --blue-700:#124F8C; --blue-900:#0B2C4A;
    --blue-50:#EAF3FC; --blue-100:#D3E6F8;
    --ink:#101826; --gray:#4B5563; --gray-soft:#5F6B7A;
    --on-dark-muted:#C9D6E3;
    --white:#FFFFFF; --surface:#F5F8FC; --ad-bg:#F1F3F6; --ad-border:#D6DCE5;
    --border:#E4EAF2; --green:#157A50; --red:#C7362C;
    --display:'Plus Jakarta Sans', sans-serif; --sans:'Inter', -apple-system, sans-serif;
    --r-lg:18px; --r-md:14px; --r-sm:9px;
    --shadow:0 14px 34px -14px rgba(11,44,74,0.16); --shadow-sm:0 6px 16px -8px rgba(11,44,74,0.14);
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;height:100%;}
  body{background:var(--white);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;min-height:100%;display:flex;flex-direction:column;}
  main{flex:1 0 auto;}
  a{color:inherit;text-decoration:none;}
  img{max-width:100%;height:auto;display:block;border-radius:var(--r-lg);}
  /* {% picture %}/{% picture_preload %} template tags wrap <img> in a
     <picture> element (webp <source> + fallback <img>) — make it fill its
     container the same way a bare <img> would inside these fixed
     aspect-ratio boxes. */
  picture{display:block;width:100%;height:100%;}
  a:focus-visible, button:focus-visible, input:focus-visible{outline:2px solid var(--blue);outline-offset:2px;}
  ::selection{background:var(--blue-100);}
  .wrap{max-width:1280px;margin:0 auto;padding:0 28px;}
  .num{color:var(--blue);font-weight:700;}
  @media (prefers-reduced-motion:reduce){*{animation-duration:0.001ms !important;transition-duration:0.001ms !important;}}

  .skip-link{position:absolute;left:-9999px;top:0;background:var(--blue);color:#fff;padding:10px 16px;border-radius:0 0 8px 0;z-index:100;font-weight:600;font-size:14px;}
  .skip-link:focus{left:0;}

  header.site{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50;}
  .header-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:14px;padding-bottom:14px;}
  .brand{display:flex;align-items:center;flex-shrink:0;}
  .logo-img{height:23px;width:auto;display:block;border-radius:0;}
  @media (max-width:480px){.logo-img{height:16px;}}
  nav.primary{display:flex;gap:0;flex:1;justify-content:flex-start;overflow-x:auto;min-width:0;}
  nav.primary a{font-family:var(--sans);font-weight:600;font-size:14px;color:var(--gray);padding:12px 9px;border-radius:var(--r-sm);white-space:nowrap;transition:background .15s,color .15s;}
  nav.primary a:hover{background:var(--surface);color:var(--ink);}
  nav.primary a[aria-current="true"]{background:var(--blue-50);color:var(--blue);}
  .header-actions{display:flex;align-items:center;gap:10px;}
  .icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:var(--white);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--gray);flex-shrink:0;}
  .icon-btn:hover{border-color:var(--blue);color:var(--blue);}

  /* language pill — hidden on desktop, shown only inside the opened mobile nav */
  nav.primary .lang-pill{display:none;}
  .lang-pill{background:var(--surface);border-radius:var(--r-sm);padding:3px;gap:2px;}
  .lang-pill a{font-family:var(--sans);font-size:12.5px;font-weight:600;color:var(--gray-soft);padding:8px 10px;border-radius:8px;}
  nav.primary .lang-pill a[aria-current="true"]{background:var(--blue);color:#fff;box-shadow:var(--shadow-sm);}

  /* language dropdown — desktop only */
  .lang-dropdown{position:relative;flex-shrink:0;}
  .lang-dropdown summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;font-family:var(--sans);font-size:13px;font-weight:600;color:var(--gray);background:var(--white);border:1px solid var(--border);border-radius:var(--r-sm);padding:11px 14px;height:44px;box-sizing:border-box;}
  .lang-dropdown summary::-webkit-details-marker{display:none;}
  .lang-dropdown summary:hover{border-color:var(--blue);color:var(--blue);}
  .lang-dropdown[open] summary{border-color:var(--blue);color:var(--blue);}
  .lang-dropdown summary svg{transition:transform .15s;}
  .lang-dropdown[open] summary svg{transform:rotate(180deg);}
  .lang-menu{position:absolute;top:calc(100% + 8px);right:0;background:var(--white);border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--shadow);min-width:150px;overflow:hidden;z-index:60;}
  .lang-menu a{display:block;padding:12px 16px;font-family:var(--sans);font-size:13.5px;font-weight:600;color:var(--ink);}
  .lang-menu a:hover{background:var(--surface);color:var(--blue);}

  .menu-toggle{display:none;}
  @media (max-width:920px){
    nav.primary{display:none;}
    .menu-toggle{display:flex;}
    .lang-dropdown{display:none;}
    nav.primary.open{display:flex;position:absolute;top:100%;left:0;right:0;background:var(--white);flex-direction:column;padding:12px 28px 20px;border-bottom:1px solid var(--border);box-shadow:var(--shadow);}
    nav.primary.open > a{width:100%;padding:12px 14px;}
    nav.primary.open .lang-pill{display:flex;margin-top:10px;padding-top:14px;border-top:1px solid var(--border);border-radius:0;}
  }

  /* ===== Breaking bar (headlines only — no rates, no auto-scroll) ===== */
  .breaking{background:var(--surface);border-bottom:1px solid var(--border);padding:11px 0;min-height:43px;}
  .breaking .wrap{display:flex;align-items:center;gap:14px;}
  .breaking-label{flex-shrink:0;font-family:var(--sans);font-weight:700;font-size:12px;color:#fff;background:var(--blue);padding:5px 11px;border-radius:999px;}
  .breaking-viewport{overflow:hidden;flex:1;}
  .breaking-items{display:flex;gap:12px;width:max-content;animation:breaking-scroll 26s linear infinite;}
  .breaking-items:hover,.breaking-items:focus-within{animation-play-state:paused;}
  .breaking-items a{white-space:nowrap;font-size:13.5px;color:var(--ink);font-weight:500;position:relative;padding-right:12px;}
  .breaking-items a:hover{color:var(--blue);}
  .breaking-items a::after{content:'\00b7';position:absolute;right:-4px;top:0;color:var(--gray-soft);font-weight:700;}
  .breaking-items a:last-child::after{content:'';}
  .breaking-items time{color:var(--gray-soft);margin-right:6px;font-size:12px;}
  @keyframes breaking-scroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}

  /* ===== Hero: lead + stacked secondary stories (no rate widgets here) ===== */
  .cell-lead{border-radius:var(--r-lg);padding:34px;color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:1280/853;}
  .cell-lead picture.bg{position:absolute;inset:0;width:100%;height:100%;z-index:0;}
  .cell-lead picture.bg img{width:100%;height:100%;object-fit:cover;}
  .cell-lead::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg, rgba(11,44,74,0.25) 0%, rgba(11,44,74,0.55) 55%, rgba(11,44,74,0.94) 100%);z-index:1;pointer-events:none;}
  .cell-lead .content{position:relative;z-index:2;}
  .chip{display:inline-flex;align-items:center;font-family:var(--sans);font-size:12.5px;font-weight:700;padding:6px 13px;border-radius:var(--r-sm);}
  .chip-onlight{background:var(--blue-50);color:var(--blue);}
  .chip-ondark{background:rgba(255,255,255,0.14);color:#fff;}
  .cell-lead h1{font-family:var(--display);font-weight:800;font-size:32px;line-height:1.16;margin:14px 0 12px;letter-spacing:-0.01em;max-width:38ch;}
  @media (max-width:480px){
    .cell-lead{padding:18px;}
    .cell-lead h1{font-size:19px;line-height:1.25;margin:8px 0 6px;max-width:100%;}
    .cell-lead .chip{font-size:10.5px;padding:4px 9px;}
    .lead-time{font-size:11px;}
  }
  .lead-time{font-size:13px;color:var(--on-dark-muted);font-weight:500;}

  .hero-stack{border-radius:var(--r-lg);border:1px solid var(--border);background:var(--white);box-shadow:var(--shadow-sm);overflow:hidden;display:flex;flex-direction:column;}

  .below-lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:36px;}
  .below-story{border-radius:var(--r-lg);border:1px solid var(--border);overflow:hidden;box-shadow:var(--shadow-sm);background:var(--white);display:block;transition:transform .18s, box-shadow .18s;}
  .below-story:hover{transform:translateY(-3px);box-shadow:var(--shadow);}
  .below-story-body{padding:16px 18px;}
  .below-story-body .chip{margin-bottom:8px;}
  .below-story-body h2{font-family:var(--display);font-size:15.5px;font-weight:700;line-height:1.32;}
  .below-story-body time{display:block;margin-top:8px;font-size:12px;color:var(--gray-soft);}
  @media (max-width:640px){.below-lead-grid{grid-template-columns:1fr;}}
  .hero-stack .side-head{padding:16px 20px;}
  .stack-row{display:block;padding:13px 20px;border-bottom:1px solid var(--border);transition:background .15s;}
  .stack-row:last-child{border-bottom:none;}
  .stack-row:hover{background:var(--surface);}
  .stack-row h4{font-family:var(--display);font-size:14px;font-weight:700;line-height:1.35;margin:0 0 5px;}
  .stack-row time{font-size:11.5px;color:var(--gray-soft);}

  /* ===== Ad slots ===== */
  .ad-band{padding:26px 0;}
  .ad-slot{border:1.5px dashed var(--ad-border);background:var(--ad-bg);border-radius:var(--r-md);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;width:100%;margin:0 auto;overflow:hidden;}
  .ad-slot.leaderboard-lg{aspect-ratio:970/250;max-width:970px;max-height:250px;}
  .ad-slot.leaderboard-sm{aspect-ratio:728/90;max-width:728px;max-height:90px;}
  .ad-slot.rectangle{aspect-ratio:300/250;max-width:300px;}
  .ad-slot.skyscraper{aspect-ratio:300/600;max-width:300px;}
  .ad-tag{font-size:11.5px;color:var(--gray-soft);font-weight:600;}
  .ad-dim{font-size:13px;color:var(--gray);font-weight:600;}
  .ad-note{font-size:11.5px;color:var(--gray-soft);}

  /* ===== Two-column layout: main content + sidebar ===== */
  .layout{display:grid;grid-template-columns:1fr 300px;gap:36px;align-items:start;padding-top:28px;}
  .main-col{min-width:0;}
  .sidebar{display:flex;flex-direction:column;gap:20px;margin-bottom:40px;}
  @media (max-width:980px){
    .layout{grid-template-columns:1fr;}
  }

  .side-card{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--white);box-shadow:var(--shadow-sm);overflow:hidden;}
  .side-head{display:flex;justify-content:space-between;align-items:baseline;padding:14px 18px;border-bottom:1px solid var(--border);}
  .side-head h3{font-family:var(--display);font-size:14.5px;font-weight:700;}
  .side-head a{font-size:12px;color:var(--blue);font-weight:600;}
  .side-body{padding:16px 18px;}
  .fx-figure{font-family:var(--display);font-size:26px;font-weight:800;color:var(--blue-900);}
  .fx-delta{font-size:12.5px;color:var(--green);font-weight:600;margin-top:2px;}
  .fx-chart{margin-top:10px;}

  /* currency tabs — radio-driven, no JS */
  .fx-radio{position:absolute;opacity:0;width:0;height:0;pointer-events:none;}
  .fx-date{font-size:11.5px;color:var(--gray-soft);padding:10px 18px 0;}
  .fx-tabs{display:flex;gap:6px;padding:12px 18px 0;}
  .fx-tab{flex:1;text-align:center;font-family:var(--sans);font-size:12.5px;font-weight:700;color:var(--gray);padding:8px 0;border-radius:var(--r-sm);cursor:pointer;background:var(--surface);transition:background .15s,color .15s;}
  .fx-tab:hover{color:var(--blue);}
  .fx-panel{display:none;}
  #fx-usd:checked ~ .fx-tabs label[for="fx-usd"],
  #fx-eur:checked ~ .fx-tabs label[for="fx-eur"],
  #fx-rub:checked ~ .fx-tabs label[for="fx-rub"]{background:var(--blue);color:#fff;}
  #fx-usd:checked ~ #fx-panel-usd,
  #fx-eur:checked ~ #fx-panel-eur,
  #fx-rub:checked ~ #fx-panel-rub{display:block;}
  .fx-radio:focus-visible ~ .fx-tabs label{outline:2px solid var(--blue);outline-offset:2px;}
  .fx-history{display:block;text-align:center;font-size:12.5px;font-weight:600;color:var(--blue);padding:10px 0 14px;border-top:1px solid var(--border);margin-top:4px;}
  .fx-history:hover{color:var(--blue-700);}

  .side-key{background:var(--blue-900);color:#fff;padding:18px;border-radius:var(--r-lg);}
  .side-key-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;}
  .side-key .lbl{font-size:12.5px;color:var(--on-dark-muted);}
  .side-key-top a{font-size:12px;color:var(--on-dark-muted);font-weight:600;white-space:nowrap;}
  .side-key-top a:hover{color:#fff;}
  .side-key .big{font-family:var(--display);font-size:28px;font-weight:800;margin-top:6px;}
  .side-pop{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--white);box-shadow:var(--shadow-sm);padding:6px 18px;}
  .side-pop li{list-style:none;display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--border);align-items:baseline;}
  .side-pop li:last-child{border-bottom:none;}
  .side-pop .rank{font-family:var(--display);font-weight:800;font-size:15px;color:var(--blue-700);flex-shrink:0;}
  .side-pop a{font-family:var(--display);font-size:13.5px;font-weight:700;line-height:1.35;color:var(--ink);}
  .side-pop a:hover{color:var(--blue);}

  /* ===== Section band ===== */
  .sband{padding:36px 0;border-bottom:1px solid var(--border);}
  .section-head{margin-bottom:20px;}
  .section-head h2{font-family:var(--display);font-size:21px;font-weight:800;}
  .section-link{color:var(--ink);}
  .section-link:hover{color:var(--blue);}

  .feature-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;}
  .story-card{border-radius:var(--r-lg);border:1px solid var(--border);overflow:hidden;box-shadow:var(--shadow-sm);background:var(--white);transition:transform .18s, box-shadow .18s;}
  .story-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);}
  .story-media{aspect-ratio:1280/853;background:var(--blue-50);overflow:hidden;}
  .story-media img{width:100%;height:100%;object-fit:cover;display:block;border-radius:0;}
  .story-media svg{width:100%;height:100%;}
  .story-body{padding:20px;}
  .story-body .chip{margin-bottom:10px;}
  .story-body h3{font-family:var(--display);font-size:18px;font-weight:700;line-height:1.28;}
  .story-body p{margin-top:8px;font-size:14px;color:var(--gray);line-height:1.55;}
  .story-body time{display:block;margin-top:12px;font-size:12px;color:var(--gray-soft);}
  .list-card{border-radius:var(--r-lg);border:1px solid var(--border);padding:6px 20px;box-shadow:var(--shadow-sm);background:var(--white);}
  .list-card li{list-style:none;padding:14px 0;border-bottom:1px solid var(--border);}
  .list-card li:last-child{border-bottom:none;}
  .list-card a{font-family:var(--display);font-size:14px;font-weight:700;line-height:1.4;color:var(--ink);}
  .list-card a:hover{color:var(--blue);}
  .list-card time{display:block;margin-top:4px;font-size:11.5px;color:var(--gray-soft);}
  @media (max-width:700px){.feature-grid{grid-template-columns:1fr;}}

  .plain-list{border-radius:var(--r-lg);border:1px solid var(--border);background:var(--white);padding:4px 20px;box-shadow:var(--shadow-sm);}
  .plain-list li{list-style:none;padding:14px 0;border-bottom:1px solid var(--border);}
  .plain-list li:last-child{border-bottom:none;}
  .plain-list a{font-family:var(--display);font-size:14.5px;font-weight:700;line-height:1.4;color:var(--ink);}
  .plain-list a:hover{color:var(--blue);}
  .plain-list time{display:block;margin-top:4px;font-size:11.5px;color:var(--gray-soft);}


  .callout{padding:44px 0;}
  .callout-panel{background:var(--blue-900);border-radius:var(--r-lg);padding:44px;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;overflow:hidden;}
  .callout-panel .blob{position:absolute;border-radius:50%;background:rgba(255,255,255,0.06);}
  .callout-panel .blob.b1{width:220px;height:220px;top:-70px;right:60px;}
  .callout-panel .blob.b2{width:140px;height:140px;bottom:-50px;right:220px;background:rgba(255,255,255,0.05);}
  .callout-text{position:relative;z-index:1;color:#fff;}
  .callout-text h2{font-family:var(--display);font-size:26px;font-weight:800;max-width:20ch;}
  .callout-text p{margin-top:10px;font-size:14.5px;color:var(--on-dark-muted);max-width:48ch;}
  .callout-btn{position:relative;z-index:1;background:#fff;color:var(--blue-900);font-family:var(--sans);font-weight:700;font-size:14px;padding:14px 24px;border-radius:var(--r-sm);white-space:nowrap;}
  .callout-btn:hover{background:var(--blue-50);}
  @media (max-width:700px){.callout-panel{flex-direction:column;align-items:flex-start;}}

  .special{padding:0 0 44px;}
  .special-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
  .special-card{border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-sm);background:var(--white);display:flex;flex-direction:column;transition:transform .18s, box-shadow .18s;}
  .special-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);}
  .special-media{aspect-ratio:16/10;}
  .special-media svg{width:100%;height:100%;}
  .special-body{padding:20px;}
  .special-body .chip{margin-bottom:10px;}
  .special-body h3{font-family:var(--display);font-size:16.5px;font-weight:700;line-height:1.3;}
  .special-body p{margin-top:8px;color:var(--gray);font-size:13.5px;line-height:1.5;}
  @media (max-width:900px){.special-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:600px){.special-grid{grid-template-columns:1fr;}}

  .newsletter{padding:8px 0 44px;}
  .newsletter-panel{border:1px solid var(--border);border-radius:var(--r-lg);padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--surface);}
  .newsletter-text h2{font-family:var(--display);font-size:20px;font-weight:800;}
  .newsletter-text p{margin-top:6px;font-size:13.5px;color:var(--gray);max-width:46ch;}
  .newsletter-form{display:flex;gap:8px;flex-shrink:0;}
  .newsletter-form input{border:1px solid var(--border);border-radius:var(--r-sm);padding:12px 16px;font-family:var(--sans);font-size:14px;width:220px;}
  .newsletter-form input:focus{border-color:var(--blue);}
  .newsletter-form button{background:var(--blue);color:#fff;border:none;border-radius:var(--r-sm);padding:12px 20px;font-family:var(--sans);font-weight:700;font-size:14px;cursor:pointer;}
  .newsletter-form button:hover{background:var(--blue-700);}
  @media (max-width:760px){.newsletter-panel{flex-direction:column;align-items:flex-start;}.newsletter-form{width:100%;}.newsletter-form input{flex:1;width:auto;}}

  footer{background:var(--blue-900);color:var(--on-dark-muted);padding:52px 0 26px;font-size:13.5px;}
  .footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,0.1);}
  .footer-grid h3{font-family:var(--display);font-size:13px;font-weight:700;color:#fff;margin-bottom:14px;}
  .footer-grid ul{list-style:none;display:flex;flex-direction:column;gap:9px;}
  .footer-grid a:hover{color:#fff;}
  .footer-brand{margin-bottom:14px;}
  .logo-chip{display:inline-flex;}
  .logo-chip img{filter:brightness(0) invert(1);height:26px;width:auto;display:block;border-radius:0;}
  .footer-about p{max-width:32ch;color:var(--on-dark-muted);line-height:1.55;}
  .social-row{display:flex;gap:10px;margin-top:16px;}
  .social-row a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;}
  .social-row a:hover{background:#fff;color:var(--blue-900);}
  .footer-legal{padding-top:22px;color:#A9BDD0;line-height:1.6;max-width:82ch;}
  @media (max-width:800px){.footer-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:480px){.footer-grid{grid-template-columns:1fr;}}

  .back-to-top{position:fixed;bottom:24px;right:24px;width:44px;height:44px;border-radius:50%;background:var(--blue-900);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);z-index:40;opacity:0;pointer-events:none;transition:opacity .2s;border:none;cursor:pointer;}
  .back-to-top.show{opacity:1;pointer-events:auto;}

/* ===== Shared internal-page components ===== */
.breadcrumb{font-size:12.5px;color:var(--gray-soft);margin-bottom:16px;display:flex;gap:6px;flex-wrap:wrap;}
.breadcrumb a{color:var(--gray-soft);}
.breadcrumb a:hover{color:var(--blue);}
.breadcrumb .sep{color:var(--border);}
.breadcrumb .current{color:var(--ink);font-weight:600;}

.page-head{margin-bottom:28px;}
.page-head h1{font-family:var(--display);font-weight:800;font-size:28px;line-height:1.2;letter-spacing:-0.01em;}
@media (max-width:600px){.page-head h1{font-size:22px;}}
.page-head p.lead{margin-top:10px;font-size:16px;color:var(--gray);max-width:70ch;}

/* Article body */
.article-lead{aspect-ratio:1280/853;margin-bottom:8px;overflow:hidden;border-radius:var(--r-lg);}
.article-lead img{width:100%;height:100%;object-fit:cover;border-radius:0;}
.lead-caption{font-size:13px;color:var(--gray-soft);margin-bottom:20px;line-height:1.5;}
.article-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--gray-soft);margin:14px 0 24px;}
.article-meta a{color:var(--blue);font-weight:600;}
.article-body{font-family:var(--display);font-size:19px;line-height:1.35;font-weight:700;color:var(--ink);margin-bottom:18px;}
.article-body.lead-para{font-size:19px;}
.prose{font-size:17px;line-height:1.7;color:var(--ink);}
/* !important: article/infographic/card/page body HTML is rich text pasted
   by editors (Word/Docs/CKEditor), which often carries inline color:#... on
   individual <p>/<span> tags — that beats a plain .prose{color} rule since
   inline styles win the cascade. Force it black site-wide, then re-exempt
   the few elements that intentionally use a different color below. */
.prose *{color:var(--ink) !important;}
.prose p{margin-bottom:20px;}
.prose h2{font-family:var(--display);font-size:22px;font-weight:800;margin:36px 0 14px;}
.prose h3{font-family:var(--display);font-size:18px;font-weight:700;margin:28px 0 10px;}
.prose blockquote,.prose blockquote *{border-left:3px solid var(--blue);padding:4px 20px;margin:28px 0;font-family:var(--display);font-size:20px;font-weight:700;color:var(--blue-900) !important;}
.prose ul, .prose ol{margin:0 0 20px 20px;}
.prose li{margin-bottom:8px;}
.prose figure{margin:28px 0;}
.prose figure img{width:100%;}
.prose figcaption,.prose figcaption *{font-size:13px;color:var(--gray-soft) !important;margin-top:8px;}
.prose a,.prose a *{color:var(--blue) !important;text-decoration:underline;text-decoration-color:var(--blue-100);}
.tag-list{display:flex;gap:8px;flex-wrap:wrap;margin:28px 0;}
.tag-list a{font-size:12.5px;font-weight:600;color:var(--blue);background:var(--blue-50);padding:6px 12px;border-radius:999px;}
.tag-list a:hover{background:var(--blue-100);}
.share-row{display:flex;align-items:center;gap:10px;margin:20px 0;padding:16px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.share-row span{font-size:13px;color:var(--gray-soft);font-weight:600;}
.share-row a{width:36px;height:36px;border-radius:50%;background:var(--surface);display:flex;align-items:center;justify-content:center;color:var(--gray);}
.share-row a:hover{background:var(--blue);color:#fff;}

.author-box{display:flex;gap:14px;padding:20px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--surface);margin:28px 0;}
.author-box img{width:56px;height:56px;border-radius:50%;flex-shrink:0;object-fit:cover;}
.author-box .name{font-family:var(--display);font-weight:700;font-size:15px;}
.author-box .role{font-size:12.5px;color:var(--gray-soft);margin-bottom:6px;}
.author-box p{font-size:13.5px;color:var(--gray);line-height:1.5;margin:0;}
.author-box a.name-link:hover{color:var(--blue);}

/* Author profile page */
.author-hero{display:flex;gap:22px;align-items:center;padding:28px;border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);margin-bottom:32px;}
.author-hero img{width:96px;height:96px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.author-hero h1{font-size:24px;}
.author-hero .role{color:var(--blue);font-weight:600;font-size:14px;margin:4px 0 10px;}
.author-hero p{color:var(--gray);font-size:14.5px;line-height:1.55;max-width:60ch;}
.author-stats{display:flex;gap:26px;margin-top:14px;}
.author-stats div{font-family:var(--display);font-weight:800;font-size:20px;color:var(--blue-900);}
.author-stats span{display:block;font-family:var(--sans);font-weight:500;font-size:12px;color:var(--gray-soft);}

/* Data tables (currency / key rate) */
.data-table{width:100%;border-collapse:collapse;font-size:14px;}
.data-table th{text-align:left;font-family:var(--display);font-weight:700;font-size:12.5px;color:var(--gray-soft);text-transform:none;padding:10px 14px;border-bottom:2px solid var(--blue);}
.data-table td{padding:12px 14px;border-bottom:1px solid var(--border);}
.data-table tr:hover td{background:var(--surface);}
.data-table .amt{font-family:var(--display);font-weight:700;}
.table-wrap{border:2px solid var(--blue);border-radius:var(--r-lg);overflow-x:auto;box-shadow:var(--shadow-sm);width:100%;}
.table-wrap .data-table{width:100%;min-width:480px;}
.prose .table-wrap{margin:24px 0;}
.table-wrap .data-table th, .table-wrap .data-table td{padding:14px 18px;}

.big-rate-card{background:var(--blue-900);color:#fff;border-radius:var(--r-lg);padding:32px;margin-bottom:24px;}
.big-rate-card .lbl{color:var(--on-dark-muted);font-size:13px;font-weight:600;}
.big-rate-card .big{font-family:var(--display);font-weight:800;font-size:44px;margin:8px 0;}
.big-rate-card .delta{font-size:14px;font-weight:600;}
.period-tabs{display:flex;gap:6px;margin:20px 0 16px;}
.period-tabs .fx-radio{position:absolute;opacity:0;width:0;height:0;}
.period-tabs label{font-size:12.5px;font-weight:700;padding:8px 16px;border-radius:999px;background:var(--surface);color:var(--gray);cursor:pointer;}
.big-chart{border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;box-shadow:var(--shadow-sm);}
.qa-block{background:var(--surface);border-radius:var(--r-lg);padding:22px;margin:24px 0;}
.qa-block h3{font-family:var(--display);font-size:15.5px;font-weight:700;margin-bottom:8px;}
.qa-block p{font-size:14.5px;color:var(--gray);margin:0;}

/* Filter chips (section / search pages) */
.filter-row{display:flex;gap:8px;overflow-x:auto;margin-bottom:24px;}
.filter-chip{flex-shrink:0;font-size:13.5px;font-weight:600;padding:9px 16px;border-radius:999px;border:1px solid var(--border);color:var(--gray);white-space:nowrap;}
.filter-chip.active{background:var(--blue);border-color:var(--blue);color:#fff;}
.filter-chip:hover:not(.active){border-color:var(--blue);color:var(--blue);}

/* Search bar */
.search-bar{display:flex;gap:10px;margin-bottom:24px;}
.search-bar input{flex:1;border:1px solid var(--border);border-radius:var(--r-sm);padding:14px 18px;font-family:var(--sans);font-size:15px;}
.search-bar input:focus{border-color:var(--blue);}
.search-bar button{background:var(--blue);color:#fff;border:none;border-radius:var(--r-sm);padding:14px 22px;font-weight:700;font-size:14px;cursor:pointer;}

/* List item row (section archive) */
.article-row{display:grid;grid-template-columns:240px 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--border);}
@media (max-width:600px){
  .article-row{grid-template-columns:1fr;gap:12px;}
  .article-row .thumb{aspect-ratio:16/9;}
}
.article-row .thumb{aspect-ratio:4/3;border-radius:var(--r-md);overflow:hidden;}
.article-row .thumb img{width:100%;height:100%;object-fit:cover;border-radius:0;}
.article-row h3{font-family:var(--display);font-size:16.5px;font-weight:700;line-height:1.3;}
.article-row p{font-size:13.5px;color:var(--gray);margin-top:6px;}
.article-row time{font-size:12px;color:var(--gray-soft);display:block;margin-top:8px;}
@media (max-width:560px){.article-row{grid-template-columns:140px 1fr;}}

.pagination{display:flex;justify-content:center;gap:8px;margin-top:32px;}
.pagination a, .pagination span{width:38px;height:38px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;font-size:13.5px;font-weight:600;color:var(--gray);border:1px solid var(--border);}
.pagination a:hover{border-color:var(--blue);color:var(--blue);}
.pagination .active{background:var(--blue);border-color:var(--blue);color:#fff;}

/* Infographics / special-projects grid card (reuse special-card look, generalized) */
.tile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.tile-card{border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-sm);background:var(--white);display:flex;flex-direction:column;transition:transform .18s, box-shadow .18s;}
.tile-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);}
.tile-media{aspect-ratio:4/3;}
.tile-media img{width:100%;height:100%;object-fit:cover;border-radius:0;}
.tile-body{padding:18px;}
.tile-body h3{font-family:var(--display);font-size:15.5px;font-weight:700;line-height:1.32;}
.tile-body p{font-size:13px;color:var(--gray);margin-top:8px;}
.tile-body time{display:block;margin-top:6px;font-size:12px;color:var(--gray-soft);}
@media (max-width:900px){.tile-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.tile-grid{grid-template-columns:1fr;}}

/* Cards page (Разбираем вместе) */
.explainer-card{border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);padding:22px;background:var(--white);transition:transform .18s, box-shadow .18s;}
.explainer-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);}
.explainer-card .q-num{font-family:var(--display);font-weight:800;font-size:13px;color:var(--blue);}
.explainer-card h3{font-family:var(--display);font-size:16.5px;font-weight:700;margin:8px 0 8px;line-height:1.32;}
.explainer-card p{font-size:13.5px;color:var(--gray);}

/* Static "Pages" template (About/Privacy) TOC */
.toc{border:1px solid var(--border);border-radius:var(--r-lg);padding:18px 20px;background:var(--surface);margin-bottom:28px;}
.toc h2{font-family:var(--display);font-size:13px;font-weight:700;margin-bottom:10px;}
.toc ol{margin:0;padding-left:18px;font-size:13.5px;}
.toc li{margin-bottom:6px;}
.toc a{color:var(--blue);}

/* 404 */
.error-page{text-align:center;padding:64px 0 80px;}
.error-page .num-404{font-family:var(--display);font-size:110px;font-weight:800;color:var(--blue-100);line-height:1;}
.error-page h1{font-family:var(--display);font-size:26px;font-weight:800;margin:16px 0 18px;}
.error-page p{font-size:16px;color:var(--gray);max-width:56ch;margin:0 auto 14px;line-height:1.6;}
.error-actions{display:flex;gap:12px;justify-content:center;margin-top:26px;flex-wrap:wrap;}
.error-actions .btn{font-weight:700;font-size:14.5px;padding:14px 24px;border-radius:var(--r-sm);}
.error-actions .btn-primary{background:var(--blue);color:#fff;}
.error-actions .btn-primary:hover{background:var(--blue-700);}
.error-actions .btn-outline{border:1px solid var(--border);color:var(--ink);}
.error-actions .btn-outline:hover{border-color:var(--blue);color:var(--blue);}
.error-meta{margin-top:34px;padding-top:22px;border-top:1px solid var(--border);font-size:12.5px;color:var(--gray-soft);}

/* ===== Gallery / slider (no JS — native scroll-snap) ===== */
.gallery{position:relative;margin-bottom:8px;}
.gallery-main{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:var(--r-lg);scrollbar-width:none;}
.gallery-main::-webkit-scrollbar{display:none;}
.gallery-main .slide{scroll-snap-align:start;flex:0 0 100%;aspect-ratio:1280/853;}
.gallery-main .slide img{width:100%;height:100%;object-fit:cover;border-radius:0;}
.gallery-counter{position:absolute;top:14px;right:14px;background:rgba(11,44,74,.8);color:#fff;font-size:12px;font-weight:700;padding:5px 11px;border-radius:999px;}
.gallery-caption{padding:10px 2px 0;font-size:13px;color:var(--gray-soft);}
.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;margin-top:10px;}
.gallery-thumbs a{flex-shrink:0;width:76px;height:56px;border-radius:var(--r-sm);overflow:hidden;display:block;border:2px solid transparent;transition:border-color .15s;}
.gallery-thumbs a:hover{border-color:var(--blue);}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:0;}

/* ===== Video embed ===== */
.video-embed{position:relative;aspect-ratio:16/9;border-radius:var(--r-lg);overflow:hidden;background:#000;margin-bottom:8px;}
.video-embed video{width:100%;height:100%;object-fit:cover;display:block;}
.video-caption{margin:12px 2px 20px;font-size:13px;color:var(--gray-soft);line-height:1.5;}

/* ===== Auto-advancing gallery (replaces manual scroll-snap) ===== */
.carousel{position:relative;border-radius:var(--r-lg);overflow:hidden;aspect-ratio:1280/853;background:#000;}
.carousel-track{display:flex;height:100%;transition:transform .6s ease;}
.carousel-track .slide{flex:0 0 100%;height:100%;}
.carousel-track .slide img{width:100%;height:100%;object-fit:cover;border-radius:0;}
.carousel-counter{position:absolute;top:14px;right:14px;background:rgba(11,44,74,.8);color:#fff;font-size:12px;font-weight:700;padding:5px 11px;border-radius:999px;}
.carousel-dots{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:6px;}
.carousel-dots span{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.45);transition:background .2s,transform .2s;}
.carousel-dots span.active{background:#fff;transform:scale(1.3);}
.carousel-caption{margin:12px 2px 20px;font-size:13px;color:var(--gray-soft);line-height:1.5;min-height:20px;}

/* ===== Related articles (6-up grid) ===== */
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
@media (max-width:820px){.related-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.related-grid{grid-template-columns:1fr;}}

/* ===== Cards (Разбираем вместе) — real-site patterns ===== */
.cards-subtitle{font-size:15px;color:var(--gray);margin-top:6px;}
.card-toc{border:2px solid var(--blue);border-radius:var(--r-lg);padding:20px 22px;background:var(--blue-50);margin:24px 0;}
.card-toc h2{font-family:var(--display);font-size:14px;font-weight:800;margin-bottom:10px;color:var(--blue-900);}
.card-toc ol{margin:0;padding-left:20px;}
.card-toc li{margin-bottom:7px;font-size:14px;}
.card-toc a{color:var(--blue);font-weight:600;}
.card-source-list{list-style:none;margin:14px 0 0;padding:0;}
.card-source-list li{font-size:13px;margin-bottom:6px;}
.card-source-list a{color:var(--blue);}
.newsletter-inline{background:var(--blue-900);color:#fff;border-radius:var(--r-lg);padding:24px;margin:32px 0;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;}
.newsletter-inline-icon{color:#fff;flex-shrink:0;display:flex;}
.newsletter-inline-text{flex:1;min-width:180px;}
.newsletter-inline h2{font-family:var(--display);font-size:16px;font-weight:800;}
.newsletter-inline p{font-size:13px;color:var(--on-dark-muted);margin-top:4px;}
.newsletter-inline .btn{background:#fff;color:var(--blue-900);font-weight:700;font-size:13.5px;padding:11px 18px;border-radius:var(--r-sm);flex-shrink:0;}
.explainer-block{border:1px solid var(--border);border-top:2px solid var(--blue);border-radius:var(--r-lg);padding:26px 28px;margin-bottom:22px;background:var(--white);}
.explainer-block h2{margin-top:0 !important;}
.explainer-block:last-of-type{margin-bottom:0;}

/* ===== Rich share row (branded buttons, matches real site) ===== */
.share-row-rich{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:24px 0;padding:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.share-row-rich .lbl{font-size:13px;color:var(--gray-soft);font-weight:600;margin-right:2px;}
.share-btn{display:inline-flex;align-items:center;gap:7px;padding:10px 16px;border-radius:var(--r-sm);font-size:13.5px;font-weight:700;border:1px solid var(--border);color:var(--ink);background:#fff;cursor:pointer;transition:opacity .15s;font-family:var(--sans);}
.share-btn:hover{opacity:.85;}
.share-btn svg{flex-shrink:0;}
@media (max-width:480px){
  .share-row-rich{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 0;}
  .share-row-rich .lbl{grid-column:1 / -1;margin:0 0 2px;}
  .share-btn{width:100%;justify-content:center;padding:12px 8px;font-size:12.5px;}
}
.share-telegram{background:#29A9EA;color:#fff;border-color:#29A9EA;}
.share-x{background:#0A0A0A;color:#fff;border-color:#0A0A0A;}
.share-fb{background:#1877F2;color:#fff;border-color:#1877F2;}
.share-copy{background:#fff;color:var(--ink);}

/* ===== Topic-related news box ("Новости по теме") ===== */
.topic-news-box{border:1px solid var(--blue-100);background:var(--blue-50);border-radius:var(--r-lg);padding:0 22px;margin:28px 0;}
.topic-news-box h2{display:flex;align-items:center;gap:8px;font-family:var(--display);font-size:13px;font-weight:800;color:var(--blue);text-transform:uppercase;letter-spacing:.03em;padding:16px 0;border-bottom:2px solid var(--blue-100);margin:0;}
.topic-news-box ul{list-style:none;margin:0;padding:0;}
.topic-news-box li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--blue-100);}
.topic-news-box li:last-child{border-bottom:none;}
.topic-news-box a{font-family:var(--display);font-weight:700;font-size:14.5px;color:var(--ink);position:relative;padding-left:16px;}
.topic-news-box a::before{content:'\203A';position:absolute;left:0;color:var(--blue);font-weight:800;}
.topic-news-box a:hover{color:var(--blue);}
.topic-news-box .date{font-size:12.5px;color:var(--gray-soft);white-space:nowrap;flex-shrink:0;}

/* ===== Masonry photo grid (photo reports) ===== */
.photo-grid{columns:2;column-gap:14px;margin:24px 0;}
.photo-item{break-inside:avoid;margin-bottom:14px;border-radius:var(--r-md);overflow:hidden;background:var(--surface);position:relative;box-shadow:var(--shadow-sm);transition:box-shadow .18s;}
.photo-item:hover{box-shadow:var(--shadow);}
.photo-item img{width:100%;object-fit:cover;display:block;border-radius:0;}
.photo-num{position:absolute;top:10px;left:10px;background:rgba(11,44,74,.75);color:#fff;font-size:11.5px;font-weight:700;padding:3px 10px;border-radius:999px;}
.photo-item .photo-caption{padding:10px 12px 12px;font-size:12.5px;color:var(--gray-soft);line-height:1.5;background:#fff;margin:0;}
.photo-count-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:13.5px;color:var(--gray-soft);font-weight:600;}
.photo-count-bar span{color:var(--blue);}
@media (max-width:560px){.photo-grid{columns:1;}}

/* ===== Infographic detail: action bar, zoom viewer, key stats =====
   design/v2/infographic-detail.html references these classes but never
   defines them in its own assets/style.css (the mockup ships this part
   unstyled) — added here, matching the existing --blue/--surface/--r-*
   token system, so the ported markup isn't bare/broken. */
.infographic-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 22px;}
.btn-primary-sm,.btn-outline-sm{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;padding:9px 16px;border-radius:var(--r-sm);}
.btn-primary-sm{background:var(--blue);color:#fff;}
.btn-primary-sm:hover{background:var(--blue-700);}
.btn-outline-sm{border:1px solid var(--border);color:var(--ink);background:#fff;}
.btn-outline-sm:hover{border-color:var(--blue);color:var(--blue);}
.infographic-frame{border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-sm);margin-bottom:8px;}
.infographic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--border);}
.zoom-controls{display:flex;gap:6px;}
.zoom-controls button{width:30px;height:30px;border-radius:var(--r-sm);border:1px solid var(--border);background:#fff;font-size:16px;line-height:1;cursor:pointer;color:var(--gray);}
.zoom-controls button:hover{border-color:var(--blue);color:var(--blue);}
.infographic-viewport{overflow:auto;background:var(--surface);padding:16px;text-align:center;}
.infographic-scale{display:inline-block;transition:transform .15s ease;transform-origin:top center;}
.infographic-scale img{max-width:100%;height:auto;}
.infographic-fullscreen-overlay{display:none;position:fixed;inset:0;background:rgba(11,44,74,.94);z-index:5000;align-items:center;justify-content:center;padding:20px;overflow:auto;}
.infographic-fullscreen-overlay.open{display:flex;}
.infographic-fullscreen-close{position:fixed;top:20px;right:24px;width:40px;height:40px;background:rgba(255,255,255,.15);border:none;border-radius:50%;cursor:pointer;font-size:22px;color:#fff;}
.infographic-fullscreen-img{max-width:min(900px,92vw);max-height:92vh;object-fit:contain;border-radius:8px;}
.key-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0 28px;}
.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);padding:16px;text-align:center;}
.stat-card .stat-val{font-family:var(--display);font-size:24px;font-weight:800;color:var(--blue-900);}
.stat-card .stat-label{font-size:12.5px;color:var(--gray-soft);margin-top:4px;}
@media (max-width:560px){.key-stats{grid-template-columns:1fr;}}

/* Search popup overlay (header.html) — hidden by default, shown via .open */
.search-popup{display:none;position:fixed;inset:0;background:rgba(11,44,74,.5);z-index:4000;align-items:flex-start;justify-content:center;padding:80px 20px;}
.search-popup.open{display:flex;}
.search-popup-box{background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow);padding:20px;width:100%;max-width:560px;}
.search-popup-box form{display:flex;gap:10px;align-items:center;}
.search-popup-box input[type="search"]{flex:1;border:1px solid var(--border);border-radius:var(--r-sm);padding:12px 14px;font-family:var(--sans);font-size:15px;color:var(--ink);}
.search-popup-box input[type="search"]:focus{outline:2px solid var(--blue);outline-offset:1px;}
.search-popup-box button[type="submit"]{background:var(--blue);color:#fff;border:none;border-radius:var(--r-sm);padding:12px 18px;font-family:var(--sans);font-weight:600;font-size:14px;cursor:pointer;flex-shrink:0;}
.search-popup-box button[type="submit"]:hover{background:var(--blue-700);}
.search-popup-close{background:none;border:none;font-size:24px;line-height:1;color:var(--gray-soft);cursor:pointer;padding:4px 8px;flex-shrink:0;}
.search-popup-close:hover{color:var(--ink);}

/* Currency / key-rate history chart (currency_detail.html, key_rate.html) */
.ccy-chart-card{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:20px;margin:20px 0 28px;}
.ccy-range-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.ccy-range-buttons{display:flex;gap:6px;}
.ccy-range-buttons button{border:1px solid var(--border);background:#fff;color:var(--gray);font-family:var(--sans);font-size:13px;font-weight:600;padding:7px 12px;border-radius:var(--r-sm);cursor:pointer;}
.ccy-range-buttons button:hover{border-color:var(--blue);color:var(--blue);}
.ccy-range-buttons button.active{background:var(--blue);border-color:var(--blue);color:#fff;}
.ccy-date-inputs{display:flex;align-items:center;gap:8px;color:var(--gray-soft);font-size:13px;}
.ccy-date-inputs input[type="date"]{border:1px solid var(--border);border-radius:var(--r-sm);padding:6px 8px;font-family:var(--sans);font-size:13px;color:var(--ink);}
#ccy-chart{width:100%;height:auto;display:block;}
.ccy-chart-area{fill:var(--blue-50);stroke:none;}
.ccy-chart-line{fill:none;stroke:var(--blue);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round;}
.ccy-chart-axis{font-family:var(--sans);font-size:11px;fill:var(--gray-soft);}
.ccy-chart-labels{display:flex;justify-content:space-between;font-size:12px;color:var(--gray-soft);margin-top:6px;}
.ccy-history-title{font-family:var(--display);font-size:20px;font-weight:800;margin:28px 0 14px;}

/* Sticky bottom ad bar (base.html, ads.is_bottom_fixed) */
.sticky-bar{position:fixed;left:0;right:0;bottom:0;z-index:3000;background:#fff;border-top:1px solid var(--border);box-shadow:0 -4px 16px rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;padding:8px 44px 8px 12px;}
.sticky-inner{overflow:hidden;display:flex;align-items:center;justify-content:center;margin:0 auto;}
.sticky-inner.ad-slot.sticky-970x90{aspect-ratio:970/90;width:100%;max-width:970px;max-height:90px;}
.sticky-close{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;font-size:20px;line-height:1;color:var(--gray-soft);cursor:pointer;padding:4px 8px;}
.sticky-close:hover{color:var(--ink);}

/* Mobile banner ad popup (base.html, ads.is_mobile_banner) */
.mobile-banner-popup{display:none;position:fixed;inset:0;background:rgba(11,44,74,.5);z-index:4500;align-items:center;justify-content:center;padding:20px;}
.mobile-banner-box{position:relative;background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow);padding:16px;max-width:92vw;max-height:85vh;overflow:auto;}
.mobile-banner-close{position:absolute;top:-14px;right:-14px;width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm);font-size:18px;line-height:1;color:var(--gray);cursor:pointer;}
@media (min-width:921px){.mobile-banner-popup{display:none !important;}}

/* Carousel manual controls (article_gallery_body.html, article_video_body.html) */
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;border:none;background:rgba(11,44,74,.55);color:#fff;font-size:22px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.carousel-arrow:hover{background:rgba(11,44,74,.8);}
.carousel-arrow.prev{left:12px;}
.carousel-arrow.next{right:12px;}
.carousel-dots span{cursor:pointer;}

/* Secondary nav bar (header.html) — Infographics/Special projects/Cards */
.nav-secondary{background:var(--blue);}
.nav-secondary-row{display:flex;justify-content:flex-end;gap:0;overflow-x:auto;}
.nav-secondary-row a{color:#fff;font-family:var(--sans);font-weight:600;font-size:12.5px;padding:6px 10px;white-space:nowrap;opacity:.92;}
.nav-secondary-row a:hover{opacity:1;background:rgba(255,255,255,.12);}

/* News timeline (latest_news.html) */
.news-timeline{list-style:none;margin:0;padding:0;position:relative;}
.news-timeline::before{content:'';position:absolute;left:88px;top:6px;bottom:6px;width:1px;background:var(--border);}
.news-timeline li{position:relative;display:flex;align-items:baseline;gap:20px;padding:12px 0;}
.news-timeline li::before{content:'';position:absolute;left:84px;top:19px;width:9px;height:9px;border-radius:50%;background:var(--blue);border:2px solid #fff;box-shadow:0 0 0 1px var(--border);}
.news-timeline time{flex:0 0 68px;font-family:var(--sans);font-size:13px;font-weight:700;color:var(--ink);text-align:right;line-height:1.3;}
.news-timeline-date{display:block;font-size:11px;font-weight:500;color:var(--gray-soft);margin-top:2px;}
.news-timeline a{flex:1;padding-left:28px;font-family:var(--sans);font-size:15px;font-weight:600;color:var(--ink);line-height:1.4;}
.news-timeline a:hover{color:var(--blue);}
@media (max-width:600px){
  .news-timeline::before{left:58px;}
  .news-timeline li::before{left:54px;}
  .news-timeline time{flex-basis:40px;font-size:12px;}
  .news-timeline-date{display:none;}
}

/* Ad badge (latest_news.html timeline) */
.ad-badge{display:inline-block;background:#FFD54A;color:#6B4E00;font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;text-transform:uppercase;letter-spacing:.03em;vertical-align:middle;}

/* Article/content detail headline (detail.html, card_detail.html,
   photo_report_detail.html, infographic_detail.html) — was unsized,
   falling back to the browser's default (oversized) h1 rendering,
   especially cramped on mobile. */
article h1[itemprop="headline"]{font-family:var(--display);font-weight:800;font-size:30px;line-height:1.2;letter-spacing:-0.01em;}
@media (max-width:900px){article h1[itemprop="headline"]{font-size:25px;}}
@media (max-width:600px){article h1[itemprop="headline"]{font-size:21px;line-height:1.28;}}
