/* ================================================================
   THE TELEGRAPH MIDDLE EAST
   UI: Hague / Fox withemes inspired — clean newspaper grid
   Palette: Pure white · Deep black · Accent red · Warm grey
   Fonts: Libre Baskerville headlines + Source Sans UI + Merriweather body
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
  --black:    #0d0d0d;
  --ink:      #1a1a1a;
  --dark:     #2c2c2c;
  --mid:      #555555;
  --grey:     #888888;
  --light:    #b0b0b0;
  --border:   #e0e0e0;
  --bg-light: #f5f5f5;
  --bg-warm:  #fafaf8;
  --white:    #ffffff;
  --red:      #c0392b;
  --red-dark: #962d22;
  --gold:     #b8952a;

  --f-head:   'Libre Baskerville', Georgia, serif;
  --f-body:   'Merriweather', Georgia, serif;
  --f-ui:     'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --max:      1200px;
  --ease:     cubic-bezier(.25,.46,.45,.94);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; scroll-behavior:smooth; }
body { font-family:var(--f-ui); color:var(--ink); background:var(--white); -webkit-font-smoothing:antialiased; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; }
ul,ol { list-style:none; }
button,input,select,textarea { font-family:inherit; }
button { cursor:pointer; border:none; background:none; }

.wrap { max-width:var(--max); margin:0 auto; padding:0 20px; }

/* ── TOP BAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--black);
  padding: 7px 0;
  border-bottom: 1px solid #2a2a2a;
}
.topbar__inner {
  max-width:var(--max); margin:0 auto; padding:0 20px;
  display:flex; align-items:center; justify-content:space-between;
}
.topbar__date { font-family:var(--f-ui); font-size:11px; color:rgba(255,255,255,.45); letter-spacing:.3px; }
.topbar__right { display:flex; align-items:center; gap:18px; }
.topbar__link { font-size:11px; color:rgba(255,255,255,.45); transition:color .15s; }
.topbar__link:hover { color:rgba(255,255,255,.85); }
.topbar__socials { display:flex; gap:11px; align-items:center; }
.topbar__soc { color:rgba(255,255,255,.35); transition:color .2s; display:flex; align-items:center; }
.topbar__soc:hover { color:#fff; }
.topbar__sub {
  background:var(--red); color:#fff !important;
  font-size:10px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  padding:4px 12px; transition:background .15s;
}
.topbar__sub:hover { background:var(--red-dark); }

/* ── MASTHEAD ────────────────────────────────────────────── */
.masthead {
  background: var(--white);
  padding: 18px 0 16px;
  border-bottom: 3px solid var(--black);
}
.masthead__inner {
  max-width:var(--max); margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px;
}
.masthead__meta { font-family:var(--f-head); font-style:italic; font-size:11.5px; color:var(--light); }
.masthead__logo { display:flex; justify-content:center; }
.masthead__logo img { height:54px; width:auto; }
.masthead__logo img:hover { opacity:.85; }
.masthead__right { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.masthead__search {
  display:flex; align-items:stretch;
  border:1px solid var(--border); background:var(--bg-light);
}
.masthead__search:focus-within { border-color:var(--black); }
.masthead__search input {
  background:transparent; border:none; outline:none;
  padding:7px 11px; font-size:13px; color:var(--ink); width:180px;
}
.masthead__search input::placeholder { color:var(--light); }
.masthead__search button { padding:0 11px; color:var(--grey); display:flex; align-items:center; transition:color .15s; }
.masthead__search button:hover { color:var(--black); }
.masthead__nl {
  display:inline-flex; align-items:center; gap:5px;
  background:var(--black); color:#fff !important;
  font-size:11px; font-weight:700; letter-spacing:.6px; text-transform:uppercase;
  padding:8px 15px; transition:background .15s;
}
.masthead__nl:hover { background:var(--red); }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  background:var(--white);
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:900;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.nav__inner {
  max-width:var(--max); margin:0 auto; padding:0 20px;
  display:flex; align-items:stretch; position:relative;
}
.nav__list { display:flex; gap:0; }
.nav__link {
  display:flex; align-items:center; padding:0 13px; height:42px;
  font-family:var(--f-ui); font-size:12px; font-weight:600; letter-spacing:.4px; text-transform:uppercase;
  color:var(--dark) !important; white-space:nowrap; position:relative;
  transition:color .15s;
  border-bottom:2px solid transparent;
}
.nav__link:hover { color:var(--red) !important; border-bottom-color:var(--red); }
.nav__link--active { color:var(--red) !important; border-bottom-color:var(--red); }
.nav__link--accent { color:var(--red) !important; }
.nav__burger { display:none; flex-direction:column; gap:5px; padding:0 4px; margin-left:auto; height:42px; justify-content:center; }
.nav__burger span { display:block; width:20px; height:1.5px; background:var(--ink); transition:all .2s; }
.nav__search-trigger {
  margin-left:auto; display:flex; align-items:center; padding:0 12px;
  color:var(--grey); font-size:13px; transition:color .15s;
}
.nav__search-trigger:hover { color:var(--black); }

/* ── TICKER ──────────────────────────────────────────────── */
.ticker {
  background:var(--red); height:32px; display:flex; align-items:center; overflow:hidden;
}
.ticker__label {
  display:flex; align-items:center; gap:6px; padding:0 16px;
  flex-shrink:0; height:100%;
  font-family:var(--f-ui); font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:rgba(255,255,255,.9); background:rgba(0,0,0,.18); border-right:1px solid rgba(255,255,255,.12);
}
.ticker__dot { width:5px; height:5px; border-radius:50%; background:#fff; animation:blink 1.3s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.ticker__wrap { flex:1; overflow:hidden; display:flex; align-items:center; }
.ticker__track { display:inline-flex; white-space:nowrap; animation:scroll-x 65s linear infinite; }
.ticker__item { font-family:var(--f-ui); font-size:12px; color:rgba(255,255,255,.9); padding:0 32px; position:relative; }
.ticker__item::before { content:'◆'; position:absolute; left:12px; font-size:5px; opacity:.5; top:50%; transform:translateY(-50%); }
.ticker__item:hover { color:#fff; text-decoration:underline; }
@keyframes scroll-x { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SHARED ──────────────────────────────────────────────── */
.sec-label {
  font-family:var(--f-ui); font-size:9.5px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:var(--red); display:inline-block; margin-bottom:2px;
}
.sec-label:hover { color:var(--red-dark) !important; }

.cat-label {
  font-family:var(--f-ui); font-size:9.5px; font-weight:700; letter-spacing:1.8px; text-transform:uppercase;
  color:var(--red) !important; display:inline-block; transition:color .15s;
}
.cat-label:hover { color:var(--red-dark) !important; }

.kicker { font-family:var(--f-ui); font-size:9px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--grey); }

.byline { font-family:var(--f-ui); font-size:11.5px; color:var(--grey); display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.byline__author { font-weight:600; color:var(--mid); }
.byline__dot { color:var(--border); font-size:8px; }

/* Headline scale — Baskerville */
.h1  { font-family:var(--f-head); font-weight:700; line-height:1.15; color:var(--black); letter-spacing:-.02em; font-size:48px; }
.h2  { font-family:var(--f-head); font-weight:700; line-height:1.18; color:var(--black); letter-spacing:-.02em; font-size:32px; }
.h3  { font-family:var(--f-head); font-weight:700; line-height:1.2;  color:var(--black); letter-spacing:-.015em; font-size:22px; }
.h4  { font-family:var(--f-head); font-weight:700; line-height:1.25; color:var(--black); letter-spacing:-.01em; font-size:17px; }
.h5  { font-family:var(--f-head); font-weight:700; line-height:1.3;  color:var(--black); letter-spacing:-.01em; font-size:14px; }
.h-xl { font-family:var(--f-head); font-weight:700; line-height:1.08; color:var(--black); letter-spacing:-.03em; font-size:58px; }
.italic { font-style:italic; }
.hl { font-family:var(--f-head); font-weight:700; line-height:1.2; color:var(--black); }

a:hover .h1, a:hover .h2, a:hover .h3, a:hover .h4, a:hover .h5, a:hover .h-xl, a:hover .hl { color:var(--red); }

.dek { font-family:var(--f-ui); font-size:13.5px; line-height:1.65; color:var(--mid); }

/* Image */
.img { overflow:hidden; background:var(--bg-light); display:block; }
.img img { width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); display:block; }
a:hover .img img { transform:scale(1.04); }
.r16-9 { aspect-ratio:16/9; }
.r3-2  { aspect-ratio:3/2; }
.r4-3  { aspect-ratio:4/3; }
.r1-1  { aspect-ratio:1/1; }
.r21-9 { aspect-ratio:21/9; }
.r5-3  { aspect-ratio:5/3; }

/* Section header — newspaper style */
.sec-head {
  display:flex; align-items:center; gap:12px;
  margin-bottom:18px; padding-bottom:9px;
  border-bottom:2px solid var(--black);
}
.sec-head__name {
  font-family:var(--f-head); font-size:13px; font-weight:700; letter-spacing:-.01em; color:var(--black);
  text-transform:none;
}
.sec-head__name a { color:var(--black) !important; }
.sec-head__name a:hover { color:var(--red) !important; }
.sec-head__line { flex:1; height:1px; background:var(--border); }
.sec-head__more {
  font-family:var(--f-ui); font-size:10.5px; font-weight:700; letter-spacing:.5px; text-transform:uppercase;
  color:var(--grey) !important; display:flex; align-items:center; gap:3px; transition:color .15s;
}
.sec-head__more::after { content:'→'; }
.sec-head__more:hover { color:var(--red) !important; }

/* ── HOMEPAGE ─────────────────────────────────────────────── */

/* Hero — full-bleed featured + side stack */
.home-hero {
  background:var(--white);
  padding:24px 0 0;
  border-bottom:1px solid var(--border);
}
.home-hero__grid {
  display:grid;
  grid-template-columns:1fr 300px;
  gap:0;
  border:1px solid var(--border);
  border-bottom:none;
}

/* Lead article */
.hero-lead { display:block; position:relative; overflow:hidden; }
.hero-lead__img { position:relative; }
.hero-lead__img .img img { transition:transform .7s var(--ease); }
.hero-lead:hover .hero-lead__img .img img { transform:scale(1.03); }
.hero-lead__body {
  padding:20px 24px 24px;
  border-top:1px solid var(--border);
}
.hero-lead__cat { margin-bottom:8px; }
.hero-lead__title {
  font-family:var(--f-head); font-size:clamp(26px,3.2vw,40px);
  font-weight:700; line-height:1.12; color:var(--black);
  letter-spacing:-.025em; margin-bottom:10px;
  transition:color .15s;
}
.hero-lead:hover .hero-lead__title { color:var(--red); }
.hero-lead__dek { font-family:var(--f-ui); font-size:14px; line-height:1.65; color:var(--mid); margin-bottom:10px; }
.hero-lead__meta { }

/* Side stack */
.hero-side {
  border-left:1px solid var(--border);
  display:flex; flex-direction:column;
}
.hero-side__item {
  display:block; padding:14px 16px;
  border-bottom:1px solid var(--border);
  transition:background .15s;
  flex:1;
}
.hero-side__item:last-child { border-bottom:none; }
.hero-side__item:hover { background:var(--bg-warm); }
.hero-side__img { height:80px; margin-bottom:10px; }
.hero-side__hl {
  font-family:var(--f-head); font-size:13.5px; font-weight:700;
  line-height:1.3; color:var(--black); letter-spacing:-.01em;
  margin-bottom:5px; transition:color .15s;
}
.hero-side__item:hover .hero-side__hl { color:var(--red); }

/* Second row — 4 equal cards */
.home-row2 {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:0; border:1px solid var(--border); border-top:none;
  margin-bottom:28px;
}
.row2-card {
  padding:16px; border-right:1px solid var(--border);
  display:block; transition:background .15s;
}
.row2-card:last-child { border-right:none; }
.row2-card:hover { background:var(--bg-warm); }
.row2-card .img { margin-bottom:10px; }
.row2-card .hl { font-size:14px; margin:7px 0 6px; }

/* Main content grid */
.home-main {
  max-width:var(--max); margin:0 auto; padding:0 20px 60px;
  display:grid; grid-template-columns:1fr 280px;
  gap:32px; align-items:start;
}
.home-content { min-width:0; }

.s-block { margin-bottom:28px; padding-bottom:28px; border-bottom:1px solid var(--border); }
.s-block:last-child { border-bottom:none; margin-bottom:0; padding-bottom:0; }

/* Grid layouts */
.g3 { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.g2 { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.g-fl { display:grid; grid-template-columns:2fr 1fr; gap:22px; }

/* Feature card */
.feat { display:block; }
.feat .img { margin-bottom:12px; }
.feat .hl { font-size:22px; margin:8px 0 7px; }
.feat .dek { font-size:13px; margin-top:4px; }

/* List column items */
.list-item { display:block; padding:11px 0; border-bottom:1px solid var(--border); }
.list-item:first-child { padding-top:0; }
.list-item:last-child { border-bottom:none; padding-bottom:0; }
.list-item .hl { font-size:14px; margin:5px 0 4px; }

/* Horizontal mini card */
.mini-card { display:grid; grid-template-columns:80px 1fr; gap:10px; padding:10px 0; border-bottom:1px solid var(--border); }
.mini-card:last-child { border-bottom:none; }
.mini-card .img { height:58px; }
.mini-card .hl { font-size:13.5px; margin:4px 0 4px; }

/* Opinion items — numbered */
.opinion-item { display:grid; grid-template-columns:28px 1fr; gap:10px; padding:12px 0; border-bottom:1px solid var(--border); align-items:start; }
.opinion-item:last-child { border-bottom:none; }
.opinion-num { font-family:var(--f-head); font-size:32px; font-weight:700; font-style:italic; color:var(--border); line-height:1; padding-top:2px; }
.opinion-item .hl { font-size:16px; margin:4px 0 5px; }
.opinion-item .dek { font-size:12.5px; }

/* Dark insights strip */
.insights-strip {
  background:var(--black); padding:22px 24px;
  margin:0 -20px; position:relative;
}
.insights-strip .sec-head { border-bottom-color:rgba(255,255,255,.12); }
.insights-strip .sec-head__name { color:rgba(255,255,255,.5); }
.insights-strip .sec-head__name a { color:rgba(255,255,255,.5) !important; }
.insights-strip .sec-head__line { background:rgba(255,255,255,.07); }
.insights-strip .sec-head__more { color:rgba(255,255,255,.4) !important; }
.insights-strip .sec-head__more:hover { color:var(--red) !important; }
.insights-strip .hl { color:rgba(255,255,255,.88); }
.insights-strip a:hover .hl { color:var(--red) !important; }
.insights-strip .cat-label { color:var(--red) !important; }
.insights-strip .dek { color:rgba(255,255,255,.45); }
.insights-strip .byline { color:rgba(255,255,255,.3); }
.insights-strip .byline__author { color:rgba(255,255,255,.45); }
.insights-strip .img { background:rgba(255,255,255,.05); }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.sidebar { position:sticky; top:50px; display:flex; flex-direction:column; gap:22px; }
.widget { border:1px solid var(--border); padding:16px; background:var(--white); }
.widget__head {
  font-family:var(--f-head); font-size:12px; font-weight:700; color:var(--black);
  margin-bottom:13px; padding-bottom:9px;
  border-bottom:2px solid var(--black);
}

/* Trending */
.trend-item { display:grid; grid-template-columns:22px 1fr; gap:8px; padding:9px 0; border-bottom:1px solid var(--border); align-items:start; }
.trend-item:last-child { border-bottom:none; }
.trend-n { font-family:var(--f-head); font-size:20px; font-weight:700; font-style:italic; color:var(--border); line-height:1; }
.trend-item .hl { font-size:13px; margin-bottom:3px; }
.trend-item a:hover .hl { color:var(--red) !important; }

/* Newsletter widget */
.widget--nl { background:var(--black); border:none; padding:18px; }
.widget--nl .widget__head { color:rgba(255,255,255,.45); border-bottom-color:rgba(255,255,255,.1); }
.nl-title { font-family:var(--f-head); font-size:18px; font-style:italic; color:#fff; margin-bottom:6px; line-height:1.3; }
.nl-desc { font-size:12px; color:rgba(255,255,255,.45); line-height:1.6; margin-bottom:13px; }
.nl-email { width:100%; padding:8px 11px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12); color:#fff; font-size:13px; outline:none; margin-bottom:7px; transition:border-color .2s; }
.nl-email::placeholder { color:rgba(255,255,255,.28); }
.nl-email:focus { border-color:var(--red); }
.nl-btn { width:100%; padding:9px; background:var(--red); color:#fff; font-family:var(--f-ui); font-size:11px; font-weight:700; letter-spacing:.8px; text-transform:uppercase; transition:background .15s; border:none; cursor:pointer; }
.nl-btn:hover { background:var(--red-dark); }

/* Topics */
.topics { display:flex; flex-wrap:wrap; gap:5px; }
.topic { font-family:var(--f-ui); font-size:10.5px; color:var(--mid) !important; background:var(--bg-light); border:1px solid var(--border); padding:3px 9px; transition:all .15s; }
.topic:hover { background:var(--black); color:#fff !important; border-color:var(--black); }
.topic small { color:var(--light); margin-left:2px; font-size:9.5px; }

/* About widget */
.widget--about { background:var(--bg-warm); }
.widget--about p { font-family:var(--f-body); font-style:italic; font-size:13px; color:var(--mid); line-height:1.75; margin-bottom:10px; }
.widget--about .more { font-size:10.5px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--red) !important; display:flex; align-items:center; gap:4px; }
.widget--about .more::after { content:'→'; }
.widget--about .more:hover { color:var(--red-dark) !important; }

/* ── ARTICLE ─────────────────────────────────────────────── */
#prog { position:fixed; top:0; left:0; height:2px; width:0; background:var(--red); z-index:9999; transition:width .1s linear; pointer-events:none; }

.art-wrap { background:var(--white); }
.art-banner { width:100%; overflow:hidden; position:relative; background:var(--bg-light); }
.art-banner img { width:100%; height:100%; object-fit:cover; }

.art-layout {
  max-width:var(--max); margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns:1fr 268px; gap:40px; align-items:start;
}
.art-main { min-width:0; padding:28px 0 0; }

.breadcrumb { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--light); margin-bottom:14px; flex-wrap:wrap; }
.breadcrumb a { color:var(--grey) !important; }
.breadcrumb a:hover { color:var(--red) !important; }
.breadcrumb__sep { color:var(--border); }

.art-cats { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:10px; }
.art-title { font-family:var(--f-head); font-size:clamp(26px,3.8vw,42px); font-weight:700; line-height:1.1; color:var(--black); letter-spacing:-.025em; margin-bottom:14px; }
.art-deck { font-family:var(--f-body); font-size:17px; font-style:italic; font-weight:300; color:var(--mid); line-height:1.7; border-left:3px solid var(--red); padding-left:14px; margin-bottom:18px; }

.art-meta {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:10px;
  padding:12px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); margin-bottom:24px;
}
.art-author { display:flex; align-items:center; gap:10px; }
.art-avatar { width:36px; height:36px; border-radius:50%; background:var(--black); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--f-head); font-size:14px; font-weight:700; flex-shrink:0; }
.art-author__name { font-size:13px; font-weight:600; color:var(--dark); display:block; }
.art-author__org { font-size:11px; color:var(--grey); display:block; }
.art-meta-r { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.art-date { font-size:11.5px; color:var(--grey); }
.art-badge { font-size:10px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--red); background:#fef0ee; border:1px solid rgba(192,57,43,.2); padding:2px 8px; }
.share-row { display:flex; gap:5px; }
.share-btn { display:inline-flex; align-items:center; gap:4px; font-size:10.5px; font-weight:600; padding:5px 10px; border:1px solid; transition:all .15s; }
.share-x   { border-color:var(--dark); color:var(--dark) !important; }
.share-x:hover   { background:var(--dark); color:#fff !important; }
.share-li  { border-color:#0077b5; color:#0077b5 !important; }
.share-li:hover  { background:#0077b5; color:#fff !important; }
.share-copy { border-color:var(--border); color:var(--grey) !important; }
.share-copy:hover { background:var(--bg-light); }

.art-body { font-family:var(--f-body); font-size:17px; line-height:1.9; color:var(--dark); max-width:680px; }
.art-body p { margin-bottom:22px; }
.art-body h2 { font-family:var(--f-head); font-size:24px; font-weight:700; color:var(--black); margin:36px 0 14px; padding-bottom:8px; border-bottom:2px solid var(--border); }
.art-body h3 { font-family:var(--f-head); font-size:20px; font-weight:700; color:var(--black); margin:26px 0 11px; }
.art-body ul,.art-body ol { margin:0 0 22px 18px; }
.art-body li { list-style:disc; margin-bottom:7px; }
.art-body ol li { list-style:decimal; }
.art-body blockquote { margin:28px 0; padding:16px 20px 16px 20px; border-left:3px solid var(--red); background:#fef0ee; font-family:var(--f-body); font-style:italic; font-size:18px; font-weight:300; line-height:1.7; color:var(--dark); }
.art-body strong { font-weight:700; color:var(--black); }
.art-body a { color:var(--red); text-decoration:underline; text-decoration-color:rgba(192,57,43,.3); }

.art-tags { display:flex; flex-wrap:wrap; gap:6px; margin:22px 0; align-items:center; }
.art-tags__lbl { font-size:9.5px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--light); margin-right:3px; }
.art-tag { font-size:11px; color:var(--mid) !important; background:var(--bg-light); border:1px solid var(--border); padding:3px 9px; transition:all .15s; }
.art-tag:hover { background:var(--black); color:#fff !important; border-color:var(--black); }

.related { padding-top:24px; border-top:2px solid var(--black); margin-top:12px; }
.related__title { font-family:var(--f-head); font-size:13px; font-weight:700; color:var(--black); margin-bottom:16px; }
.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.related-grid .img { aspect-ratio:5/3; margin-bottom:10px; }
.related-grid .hl { font-size:13.5px; margin:5px 0 4px; }

.art-sidebar { padding-top:28px; }

/* ── CATEGORY ─────────────────────────────────────────────── */
.cat-banner {
  background:var(--black); padding:28px 0 22px;
  border-bottom:3px solid var(--red);
}
.cat-banner .breadcrumb { color:rgba(255,255,255,.3); margin-bottom:6px; }
.cat-banner .breadcrumb a { color:rgba(255,255,255,.5) !important; }
.cat-banner h1 { font-family:var(--f-head); font-size:36px; font-weight:700; color:#fff; letter-spacing:-.02em; }
.cat-banner__count { font-size:11.5px; color:rgba(255,255,255,.3); margin-top:4px; }

.cat-page { padding:26px 0 56px; }
.cat-layout { display:grid; grid-template-columns:1fr 268px; gap:32px; }

.cat-feat { display:grid; grid-template-columns:2fr 1fr; gap:1px; background:var(--border); margin-bottom:22px; }
.cat-main { background:var(--white); display:block; }
.cat-main .img { aspect-ratio:4/3; }
.cat-main .body { padding:14px; }
.cat-main .hl { font-size:20px; margin:7px 0; }
.cat-subs { display:flex; flex-direction:column; gap:1px; background:var(--border); }
.cat-sub { background:var(--white); padding:12px; display:block; transition:background .15s; flex:1; }
.cat-sub:hover { background:var(--bg-warm); }
.cat-sub .img { aspect-ratio:5/3; margin-bottom:8px; }
.cat-sub .hl { font-size:13px; margin:4px 0; }

.cat-list { display:flex; flex-direction:column; }
.cat-row { display:grid; grid-template-columns:160px 1fr; gap:14px; padding:14px 0; border-bottom:1px solid var(--border); }
.cat-row:last-child { border-bottom:none; }
.cat-row .img { height:105px; }
.cat-row .hl { font-size:17px; margin:6px 0 7px; }
.cat-row .dek { font-size:13px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ── SEARCH ──────────────────────────────────────────────── */
.search-pg { padding:32px 0 56px; }
.search-hero { background:var(--black); padding:28px 0 22px; border-bottom:3px solid var(--red); margin-bottom:26px; }
.search-hero h1 { font-family:var(--f-head); font-size:30px; font-style:italic; font-weight:700; color:#fff; }
.search-hero p { font-size:12px; color:rgba(255,255,255,.38); margin-top:4px; }
.search-form { display:flex; max-width:560px; margin-bottom:20px; border:2px solid var(--black); background:var(--white); }
.search-form input { flex:1; padding:11px 14px; font-size:14px; border:none; outline:none; color:var(--ink); }
.search-form input::placeholder { color:var(--light); }
.search-form button { padding:11px 18px; background:var(--black); color:#fff; font-size:12px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; transition:background .15s; }
.search-form button:hover { background:var(--red); }

/* ── STATIC PAGES ────────────────────────────────────────── */
.static-wrap { background:var(--white); }
.page-hero { background:var(--black); padding:32px 0 26px; border-bottom:3px solid var(--red); }
.page-hero h1 { font-family:var(--f-head); font-size:38px; font-weight:700; color:#fff; letter-spacing:-.02em; }
.page-hero p { font-size:13px; color:rgba(255,255,255,.4); margin-top:6px; }

.page-body { max-width:740px; padding:30px 0 56px; }
.page-body h2 { font-family:var(--f-head); font-size:22px; font-weight:700; color:var(--black); margin:28px 0 10px; padding-bottom:8px; border-bottom:2px solid var(--border); }
.page-body p { font-family:var(--f-body); font-size:15.5px; line-height:1.85; color:var(--mid); margin-bottom:16px; }
.page-body ul { margin:0 0 16px 16px; }
.page-body li { list-style:disc; font-family:var(--f-body); font-size:15.5px; line-height:1.8; color:var(--mid); margin-bottom:7px; }
.page-body a { color:var(--red); text-decoration:underline; }
.page-body strong { font-weight:700; color:var(--dark); }

.stats-row { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); margin:20px 0 26px; }
.stat-box { background:var(--white); padding:24px 16px; text-align:center; }
.stat-box strong { display:block; font-family:var(--f-head); font-size:40px; font-weight:700; font-style:italic; color:var(--red); line-height:1; margin-bottom:4px; }
.stat-box span { font-size:10.5px; letter-spacing:.5px; text-transform:uppercase; color:var(--grey); }

.adtypes-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--border); margin:16px 0; }
.adtype-box { background:var(--white); padding:18px; }
.adtype-box h3 { font-family:var(--f-head); font-size:15px; font-weight:700; color:var(--black); margin-bottom:5px; }
.adtype-box p { font-size:12.5px; color:var(--mid); line-height:1.6; }

.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--border); margin:18px 0; }
.team-box { background:var(--white); padding:20px 16px; text-align:center; }
.team-av { width:46px; height:46px; border-radius:50%; background:var(--black); color:#fff; font-family:var(--f-head); font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; margin:0 auto 10px; }
.team-box h3 { font-family:var(--f-head); font-size:15px; font-weight:700; color:var(--black); margin-bottom:2px; }
.team-box .role { font-size:9.5px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:var(--red); display:block; margin-bottom:6px; }
.team-box p { font-size:12px; color:var(--grey); line-height:1.55; }

.toc { background:var(--bg-warm); border:1px solid var(--border); border-left:3px solid var(--red); padding:16px 18px; margin:20px 0; }
.toc h3 { font-family:var(--f-head); font-size:13px; font-weight:700; color:var(--black); margin-bottom:10px; }
.toc ol { margin:0 0 0 14px; }
.toc li { list-style:decimal; margin-bottom:5px; font-size:13px; color:var(--mid); }
.toc li a { color:var(--red) !important; }

.contact-grid { display:grid; grid-template-columns:2fr 1fr; gap:28px; margin-top:20px; }
.contact-form input,.contact-form textarea {
  width:100%; padding:10px 13px; border:1px solid var(--border); font-size:13.5px;
  color:var(--ink); background:var(--white); outline:none; margin-bottom:10px;
  transition:border-color .2s; font-family:var(--f-ui);
}
.contact-form input:focus,.contact-form textarea:focus { border-color:var(--black); }
.contact-form textarea { height:120px; resize:vertical; }
.contact-form button {
  background:var(--black); color:#fff; padding:11px 24px;
  font-weight:700; font-size:12px; letter-spacing:.8px; text-transform:uppercase; transition:background .15s;
}
.contact-form button:hover { background:var(--red); }
.contact-info { }
.contact-card { border:1px solid var(--border); padding:16px; margin-bottom:14px; }
.contact-card h3 { font-family:var(--f-head); font-size:14px; font-weight:700; color:var(--black); margin-bottom:7px; }
.contact-card p,.contact-card a { font-size:13px; color:var(--mid); line-height:1.7; display:block; }
.contact-card a { color:var(--red) !important; }

.faq-item { border-bottom:1px solid var(--border); padding:14px 0; }
.faq-item:last-child { border-bottom:none; }
.faq-item h3 { font-family:var(--f-head); font-size:15px; font-weight:700; color:var(--black); margin-bottom:6px; }
.faq-item p { font-size:13.5px; color:var(--mid); line-height:1.7; }

.btn { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:9px 18px; border:1px solid; transition:all .2s; cursor:pointer; }
.btn--red { background:var(--red); color:#fff !important; border-color:var(--red); }
.btn--red:hover { background:var(--red-dark); border-color:var(--red-dark); }
.btn--black { background:var(--black); color:#fff !important; border-color:var(--black); }
.btn--black:hover { background:var(--dark); }
.btn--outline { background:transparent; color:var(--ink) !important; border-color:var(--border); }
.btn--outline:hover { background:var(--bg-light); }

/* 404 */
.e404 { text-align:center; padding:80px 20px; }
.e404__num { font-family:var(--f-head); font-size:100px; font-weight:700; font-style:italic; color:var(--border); line-height:1; }
.e404 h2 { font-family:var(--f-head); font-size:24px; font-weight:700; color:var(--black); margin:8px 0 10px; }
.e404 p { font-size:14px; color:var(--grey); margin-bottom:20px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer-nl { background:var(--red); padding:16px 0; }
.footer-nl__inner { max-width:var(--max); margin:0 auto; padding:0 20px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-nl__text strong { font-size:13px; font-weight:700; color:#fff; display:block; }
.footer-nl__text span { font-size:11.5px; color:rgba(255,255,255,.7); }
.footer-nl__form { display:flex; }
.footer-nl__form input { padding:9px 14px; font-size:13px; border:none; background:rgba(255,255,255,.15); color:#fff; width:230px; outline:none; }
.footer-nl__form input::placeholder { color:rgba(255,255,255,.55); }
.footer-nl__form input:focus { background:rgba(255,255,255,.2); }
.footer-nl__form button { padding:9px 18px; background:var(--black); color:#fff; font-size:11px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; transition:background .15s; }
.footer-nl__form button:hover { background:var(--dark); }

.footer-main { background:var(--black); padding:36px 0 28px; }
.footer-main__inner { max-width:var(--max); margin:0 auto; padding:0 20px; display:grid; grid-template-columns:1.8fr 1fr 1fr 1fr; gap:32px; }
.footer-brand img { height:34px; width:auto; filter:brightness(0) invert(1); opacity:.7; margin-bottom:12px; }
.footer-brand img:hover { opacity:1; }
.footer-brand p { font-family:var(--f-body); font-style:italic; font-size:12px; color:rgba(255,255,255,.3); line-height:1.7; margin-bottom:14px; }
.footer-socials { display:flex; gap:8px; }
.footer-soc { width:28px; height:28px; border:1px solid rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.3); transition:all .15s; }
.footer-soc:hover { border-color:var(--red); color:var(--red); }
.footer-col h4 { font-family:var(--f-ui); font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.3); margin-bottom:12px; padding-bottom:8px; border-bottom:1px solid rgba(255,255,255,.06); }
.footer-col li { margin-bottom:7px; }
.footer-col a { font-size:12.5px; color:rgba(255,255,255,.45); transition:color .15s; display:block; }
.footer-col a:hover { color:#fff; }

/* Bottom legal bar — like Telegraph */
.footer-legal { background:#000; border-top:1px solid rgba(255,255,255,.06); padding:10px 0; }
.footer-legal__inner { max-width:var(--max); margin:0 auto; padding:0 20px; }
.footer-legal__links { display:flex; flex-wrap:wrap; gap:0; align-items:center; padding-bottom:7px; border-bottom:1px solid rgba(255,255,255,.06); margin-bottom:8px; }
.footer-legal__links a { font-size:10.5px; color:rgba(255,255,255,.35); padding:3px 10px 3px 0; transition:color .15s; }
.footer-legal__links a:hover { color:#fff; }
.footer-legal__links span { color:rgba(255,255,255,.12); font-size:10px; padding-right:10px; }
.footer-legal__copy { font-size:10.5px; color:rgba(255,255,255,.25); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px; }
.footer-legal__owner { color:rgba(255,255,255,.35); }

/* Cookie */
#cookie { position:fixed; bottom:0; left:0; right:0; background:rgba(10,10,10,.97); backdrop-filter:blur(10px); border-top:1px solid rgba(255,255,255,.08); padding:11px 20px; display:flex; align-items:center; justify-content:space-between; gap:14px; z-index:8888; font-size:12px; color:rgba(255,255,255,.5); }
#cookie a { color:var(--red) !important; }
#cookie button { background:var(--red); color:#fff; padding:6px 14px; font-size:10.5px; font-weight:700; border:none; cursor:pointer; flex-shrink:0; }
#cookie button:hover { background:var(--red-dark); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:1060px){
  .footer-main__inner{grid-template-columns:1fr 1fr 1fr}
  .footer-brand{grid-column:1/-1}
  .home-hero__grid{grid-template-columns:1fr 260px}
}
@media(max-width:900px){
  .masthead__inner{grid-template-columns:auto 1fr}
  .masthead__meta{display:none}
  .masthead__logo{justify-content:flex-start}
  .home-hero__grid{grid-template-columns:1fr}
  .hero-side{display:none}
  .home-row2{grid-template-columns:repeat(2,1fr)}
  .home-main{grid-template-columns:1fr}
  .sidebar{position:static}
  .g3{grid-template-columns:repeat(2,1fr)}
  .g-fl{grid-template-columns:1fr}
  .art-layout{grid-template-columns:1fr}
  .art-sidebar{display:none}
  .cat-layout{grid-template-columns:1fr}
  .cat-layout aside{display:none}
  .cat-feat{grid-template-columns:1fr}
  .related-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
  .stats-row{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .adtypes-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .topbar__left{display:none}
  .masthead__search{display:none}
  .masthead__inner{grid-template-columns:1fr auto}
  .nav__list{display:none;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--black);z-index:999;box-shadow:0 8px 24px rgba(0,0,0,.3)}
  .nav__list.open{display:flex}
  .nav__link{height:40px;border-bottom:1px solid rgba(255,255,255,.07);border-bottom-color:rgba(255,255,255,.07)!important;color:rgba(255,255,255,.7)!important}
  .nav__link:hover{color:#fff!important}
  .nav__burger{display:flex}
  .home-row2{grid-template-columns:1fr}
  .g3,.g2{grid-template-columns:1fr}
  .art-title{font-size:clamp(24px,7vw,34px)}
  .related-grid{grid-template-columns:1fr}
  .footer-main__inner{grid-template-columns:1fr 1fr}
  .footer-nl__inner{flex-direction:column;align-items:flex-start}
  .footer-nl__form{width:100%}
  .footer-nl__form input{flex:1;width:auto;min-width:0}
  .cat-row{grid-template-columns:1fr}
  .cat-row .img{height:200px;width:100%}
  .footer-legal__links{display:flex;flex-wrap:wrap}
  .team-grid{grid-template-columns:1fr}
}
@media(max-width:420px){
  .footer-main__inner{grid-template-columns:1fr}
  .stats-row{grid-template-columns:1fr}
}
