:root{
  /* Neutral ink & paper base */
  --ink:#111317; --ink-2:#191c22; --ink-3:#23272f;
  --paper:#f4f2ed; --paper-2:#e9e6df; --paper-ink:#1c1e22;
  /* Iranian-flag red: reserved for the regime, IRGC, Hezbollah, terror, espionage and repression */
  --red:#DA0000; --red-ink:#A30000; --red-2:#5e0606; --red-glow:#FF6A5C; --red-tint:#fbe3e1; --red-tint-ink:#8A0A0A;
  /* Sparing secondary accent: Iranian-flag green for the Iranian people and diaspora only */
  --star:#f1eee8; --green:#239F40; --green-ink:#17692b; --green-tint:#e1f1e5;
  /* Neutral slate replaces any secondary hue: links, diplomacy, official findings */
  --slate:#3f4652; --slate-glow:#d9d4c7; --slate-tint:#e6e5e1; --slate-tint-ink:#33373f;
  --ivory:#eeeae2; --stone:#a3a29d; --stone-ink:#5f6066; --link:#2c3340; --rule:#30343c;
  --muted:#85868c;
  --f-display:"Playfair Display", Georgia, serif;
  --f-serif:"Source Serif 4", Georgia, serif;
  --f-sans:"Inter", system-ui, -apple-system, sans-serif;
}
html{scroll-behavior:smooth}
body{background:var(--ink);color:#e6e5e1;font-family:var(--f-serif);font-size:1.06rem;line-height:1.7}
section{scroll-margin-top:68px}
.font-display,h1,h2,h3,.section-title,.modal-title{font-family:var(--f-display)}
.text-stone{color:var(--stone)!important}.text-red{color:var(--red-ink)!important}
.text-redthread{color:var(--red)!important}
.link-ivory{color:var(--ivory);text-decoration:none}.link-ivory:hover{color:#fff;text-decoration:underline}
.kicker{font-family:var(--f-sans);text-transform:uppercase;letter-spacing:.18em;font-size:.75rem;font-weight:700;margin-bottom:.5rem}
.section{padding:6rem 0}
.section-title{font-size:clamp(2rem,3.6vw,3rem);font-weight:700;line-height:1.1;margin-bottom:1rem}
.lede{font-size:1.2rem;color:inherit;opacity:.9}
.paper{background:var(--paper);color:var(--paper-ink)}
.paper-alt{background:var(--paper-2);color:var(--paper-ink)}
.ink{background:radial-gradient(1200px 500px at 10% 0%,#1b2433 0%,transparent 60%),var(--ink)}
.paper .text-body-secondary,.paper-alt .text-body-secondary{color:#5f6066!important}

/* Nav */
.site-nav{background:rgba(17,19,23,.72);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08);transition:background .3s}
.site-nav.scrolled{background:rgba(17,19,23,.95)}
.site-nav .nav-link{font-family:var(--f-sans);font-size:.85rem;font-weight:500;color:#c9c9c6;letter-spacing:.02em}
.site-nav .nav-link:hover{color:#fff}
.site-nav .nav-link.active{color:#fff;box-shadow:inset 0 -2px 0 var(--red)}
.brand{font-family:var(--f-display);font-weight:700;color:#eeeae2!important;letter-spacing:.01em}
.brand-seal{display:inline-flex;align-items:center;justify-content:center;width:1.9rem;height:1.9rem;background:var(--red);color:#fff;border-radius:.3rem;font-family:serif;font-size:1rem;margin-right:.4rem;box-shadow:inset 0 0 0 2px rgba(255,255,255,.15)}
.brand-seal.sm{width:1.4rem;height:1.4rem;font-size:.8rem}

/* Hero */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;color:#fff}
.hero-bg{position:absolute;inset:-4%;background-size:cover;background-position:center 35%;transform:scale(1.05);animation:slowzoom 30s ease-in-out infinite alternate;filter:saturate(.85) contrast(1.05)}
@keyframes slowzoom{to{transform:scale(1.14) translateY(-1%)}}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,13,16,.94) 0%,rgba(12,13,16,.78) 45%,rgba(2,79,162,.30) 100%),linear-gradient(0deg,rgba(17,19,23,1) 0%,transparent 30%)}
.hero-inner{position:relative;z-index:2;padding-top:6rem;padding-bottom:4rem}
.hero-title{font-size:clamp(3rem,8vw,6.5rem);font-weight:900;line-height:.95;letter-spacing:-.01em;margin-bottom:1.2rem}
.hero-sub{font-size:clamp(1.1rem,1.6vw,1.35rem);max-width:44rem;color:#e3e2de;margin-bottom:2rem}
.hero-stats{display:flex;flex-wrap:wrap;gap:2.5rem;margin-top:3rem;font-family:var(--f-sans)}
.hero-stats .n{font-family:var(--f-display);font-size:2.4rem;color:var(--ivory);line-height:1}
.hero-stats .l{font-size:.75rem;text-transform:uppercase;letter-spacing:.14em;color:#b3b3b0}
.hero-credit{position:absolute;right:1rem;bottom:.8rem;z-index:2;font-family:var(--f-sans);font-size:.7rem;color:#9d9d9a;max-width:40rem;text-align:right}
.hero-credit a{color:#c4c4c0}
.btn-ivory{background:var(--ivory);border-color:var(--ivory);color:#111317;font-family:var(--f-sans);font-weight:600}
.btn-ivory:hover,.btn-ivory:focus-visible{background:#fff;border-color:#fff;color:#111317}
.btn-outline-ivory{border-color:rgba(238,234,226,.55);color:var(--ivory)}.btn-outline-ivory:hover{background:var(--ivory);border-color:var(--ivory);color:#111317}
.btn-lg{font-family:var(--f-sans);font-size:1rem}

/* Intro */
.dropcap p:first-child::first-letter{float:left;font-family:var(--f-display);font-size:4.6rem;line-height:.8;padding:.35rem .6rem 0 0;color:var(--paper-ink);font-weight:900}
.legend{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
.take-chip{display:inline-flex;align-items:center;gap:.3rem;font-family:var(--f-sans);font-size:.78rem;font-weight:600;background:var(--red-ink);color:#fff;padding:.1rem .5rem;border-radius:2rem;white-space:nowrap}

/* Status badges */
.st{font-family:var(--f-sans);font-size:.68rem;font-weight:600;letter-spacing:.03em;padding:.25rem .55rem;border-radius:2rem;display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap;border:1px solid transparent}
.st::before{content:"";width:.5rem;height:.5rem;border-radius:50%;background:currentColor}
.st-history{background:#e7e4dd;color:#4d4a44;border-color:#c8c4ba}
.st-official{background:#dfe7f1;color:#22446e;border-color:#b9cbe0}
.st-convicted{background:#f6dcdc;color:#8b1518;border-color:#e7b2b2}
.st-mixed{background:#f4e6cf;color:#7a4e10;border-color:#e3c897}
.st-cleared{background:#dcefe2;color:#1d6a3a;border-color:#b4dbc1}
.st-alleged{background:#ece3f3;color:#5c2f80;border-color:#d4c0e5}
.st-pending{background:#fff1c9;color:#7a5a00;border-color:#efd88a}
.st-debated{background:#e7e4df;color:#4e4740;border-color:#cfc8bf}

/* Central theme section */
.central{background:linear-gradient(135deg,#1c0d0b 0%,#111317 60%,#15171b 100%);position:relative;overflow:hidden}
.central::before{content:"◆";position:absolute;right:-1rem;top:-4rem;font-size:22rem;font-family:serif;color:rgba(218,0,0,.08);line-height:1;pointer-events:none}
.lm-portraits{display:grid;grid-template-columns:1.2fr 1fr;grid-template-rows:1fr 1fr;gap:.75rem;height:460px}
.lm-portraits figure{margin:0;position:relative;overflow:hidden;border-radius:.4rem;cursor:pointer}
.lm-portraits figure:first-child{grid-row:span 2}
.lm-portraits img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05);transition:filter .4s,transform .6s}
.lm-portraits figure:hover img{filter:grayscale(0);transform:scale(1.04)}
.lm-portraits figcaption{position:absolute;left:0;right:0;bottom:0;padding:.5rem .7rem;background:linear-gradient(0deg,rgba(0,0,0,.85),transparent);font-family:var(--f-sans);font-size:.75rem;color:#eee}
.lm-origin{font-style:italic;color:#d0cfca;border-left:3px solid var(--red);padding-left:1rem}
.lm-chip{font-family:var(--f-sans);font-size:.8rem;border:1px solid rgba(218,0,0,.6);color:#f6eaea;background:rgba(218,0,0,.08);border-radius:2rem;padding:.3rem .8rem;transition:all .2s}
.lm-chip:hover,.lm-chip:focus-visible{background:var(--red);border-color:var(--red);color:#fff}

/* Take boxes */
.take-box{border-left:4px solid var(--red);background:#faf6f4;color:#1f2126;padding:1rem 1.2rem;border-radius:0 .4rem .4rem 0;position:relative}
.take-box p:last-child{margin-bottom:0}
.take-dark{background:rgba(218,0,0,.10);color:#eadfcd;border-left-color:var(--red)}
.take-label{font-family:var(--f-sans);text-transform:uppercase;letter-spacing:.14em;font-size:.68rem;font-weight:700;color:var(--red-ink);margin-bottom:.4rem}
.take-dark .take-label{color:var(--red-glow)}
.record-label{font-family:var(--f-sans);text-transform:uppercase;letter-spacing:.14em;font-size:.68rem;font-weight:700;color:#6b7c8f;margin-bottom:.4rem;display:flex;align-items:center;gap:.4rem}

/* Timeline */
.tl-wrap{position:relative;margin-bottom:2.5rem}
.tl-line{position:absolute;left:0;right:0;top:45px;height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,var(--red) 5%,var(--red) 95%,transparent);opacity:.9;box-shadow:0 0 10px rgba(218,0,0,.35)}
.tl-track{list-style:none;padding:0 0 1rem;margin:0;display:flex;gap:.5rem;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--red) transparent}
.tl-track li{flex:1 0 128px;scroll-snap-align:center}
.tl-node{background:none;border:0;width:100%;color:#c6c6c3;text-align:center;padding:0;cursor:pointer}
.tl-node .dot{width:92px;height:92px;border-radius:50%;margin:0 auto .6rem;background-size:cover;background-position:center;border:3px solid #353a44;box-shadow:0 0 0 4px var(--ink);filter:grayscale(.85) brightness(.75);transition:all .35s cubic-bezier(.2,.8,.2,1)}
.tl-node .yr{font-family:var(--f-sans);font-size:.72rem;letter-spacing:.08em;color:var(--stone)}
.tl-node .nm{font-family:var(--f-display);font-size:.98rem;line-height:1.2;display:block;margin-top:.15rem}
.tl-node:hover .dot{filter:none;transform:translateY(-3px)}
.tl-node[aria-selected="true"] .dot{filter:none;border-color:var(--red);transform:scale(1.12);box-shadow:0 0 0 4px var(--ink),0 0 28px rgba(218,0,0,.55)}
.tl-node[aria-selected="true"] .yr{color:var(--red-glow)}
.tl-node[aria-selected="true"] .nm{color:#fff}
.tl-node:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:.5rem}

.era-panel{animation:fadeUp .5s ease both}
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.era-hero{position:relative;border-radius:.6rem;overflow:hidden;min-height:300px;display:flex;align-items:flex-end;margin-bottom:2rem;background:#000}
.era-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55;filter:sepia(.25)}
.era-hero .ov{position:relative;padding:2rem;background:linear-gradient(0deg,rgba(8,9,12,.95),rgba(8,9,12,.2) 80%,transparent);width:100%}
.era-hero h3{font-size:clamp(1.8rem,3.5vw,2.8rem);color:#fff;margin:0}
.era-hero .yrs{font-family:var(--f-sans);letter-spacing:.2em;color:#d0d0cc;font-size:.8rem;text-transform:uppercase}
.era-hero p{max-width:52rem;color:#dddcd7;margin:.6rem 0 0}
.era-hero .credit{position:absolute;top:.6rem;right:.8rem;font-family:var(--f-sans);font-size:.65rem;color:#bbb;background:rgba(0,0,0,.5);padding:.1rem .45rem;border-radius:.3rem}
.group-title{font-family:var(--f-sans);text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;color:var(--stone);border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:.5rem;margin:1.6rem 0 1rem;display:flex;align-items:center;gap:.5rem}
.group-title .cnt{color:#86878c}

/* Entry cards */
.ecard{display:flex;flex-direction:column;height:100%;background:var(--ink-2);border:1px solid #2a2e36;border-radius:.5rem;overflow:hidden;cursor:pointer;transition:transform .25s,box-shadow .25s,border-color .25s;text-align:left;color:inherit;padding:0;width:100%}
.ecard:hover,.ecard:focus-visible{transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,0,0,.45);border-color:#85868c}
.ecard .thumb{aspect-ratio:16/10;background:#000;overflow:hidden;position:relative}
.ecard .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s;filter:sepia(.15)}
.ecard:hover .thumb img{transform:scale(1.06)}
.ecard .thumb .typ{position:absolute;left:.5rem;top:.5rem;font-family:var(--f-sans);font-size:.65rem;background:rgba(0,0,0,.7);color:#eceae5;padding:.15rem .5rem;border-radius:2rem}
.ecard .thumb .typ[data-type="scandal"]{background:var(--red-ink);color:#fff}
.ecard .body{padding:.9rem 1rem 1rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.ecard h4{font-family:var(--f-display);font-size:1.12rem;line-height:1.25;margin:0;color:#eeebe4}
.ecard .dt{font-family:var(--f-sans);font-size:.72rem;color:var(--stone)}
.ecard .sm{font-size:.9rem;color:#b3b3b0;line-height:1.5;margin:0}
.ecard .foot{margin-top:auto;padding-top:.4rem}
.paper .ecard,.paper-alt .ecard{background:#fcfbf8;border-color:#dcd9d1}
.paper .ecard h4,.paper-alt .ecard h4{color:var(--paper-ink)}
.paper-alt .ecard .sm{color:#55575d}
.paper-alt .ecard .dt{color:var(--stone-ink)}

/* Themes */
.tcard{height:100%;background:#fcfbf8;border:1px solid #dcd9d1;border-radius:.5rem;padding:1.3rem;cursor:pointer;transition:all .25s;text-align:left;width:100%;color:inherit}
.tcard:hover,.tcard:focus-visible{border-color:#85868c;transform:translateY(-3px);box-shadow:0 10px 24px rgba(20,24,32,.12)}
.tcard i.ic{font-size:1.6rem;color:var(--paper-ink)}
.tcard h3{font-size:1.2rem;margin:.6rem 0 .3rem}
.tcard p{font-size:.92rem;color:#55575d;margin:0 0 .6rem}
.tcard .cnt{font-family:var(--f-sans);font-size:.75rem;color:var(--stone-ink);font-weight:600}
.tcard.featured{background:linear-gradient(135deg,#5e0606,#A30000);color:#fff;border-color:#5e0606}
.tcard.featured i.ic,.tcard.featured .cnt{color:#fff}
.tcard.featured p{color:#f6dcdc}

/* Filter */
.filter-bar{background:#fcfbf8;border:1px solid #dcd9d1;border-radius:.6rem;padding:1rem;position:sticky;top:64px;z-index:5;box-shadow:0 6px 18px rgba(20,24,32,.06)}
.filter-bar .form-control,.filter-bar .form-select,.filter-bar .input-group-text{background:#fff;color:#222;border-color:#cfcbc2}
mark{background:#ffe08a;padding:0 .1em;color:inherit}

/* Sources */
.method-text{color:#cfcfcb}
.source-list{list-style:none;padding:0}
.source-list li{padding:.45rem 0;border-bottom:1px dashed rgba(255,255,255,.12)}
.source-list a{color:#d9e6f5;text-decoration:none;border-bottom:1px solid rgba(232,220,200,.3)}.source-list a:hover{text-decoration:underline}

/* Credits */
.ccard{display:flex;gap:.8rem;background:#fcfbf8;border:1px solid #dcd9d1;border-radius:.45rem;padding:.6rem;height:100%;font-family:var(--f-sans);font-size:.75rem;color:#45474d}
.ccard img{width:72px;height:72px;object-fit:cover;border-radius:.3rem;flex-shrink:0;background:#ddd}
.ccard a{color:var(--link)}

/* Modal */
.entry-modal{background:#f6f4ef;color:var(--paper-ink);border:0}
.entry-modal .modal-header{border-bottom:1px solid #d7d3ca;align-items:flex-start}
.entry-modal .modal-title{font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.15}
.entry-modal .modal-footer{border-top:1px solid #d7d3ca}
.entry-modal .btn-close{filter:none}
.m-figure{margin:0 0 1rem;background:#111;border-radius:.4rem;overflow:hidden}
.m-figure img{width:100%;max-height:440px;object-fit:contain;background:#111;display:block}
.m-figure figcaption{background:#191b20;color:#d0d0cc;font-family:var(--f-sans);font-size:.75rem;padding:.55rem .8rem}
.m-figure figcaption a{color:#d9e6f5}
.carousel-indicators [data-bs-target]{background-color:#fff}
.m-body p{font-size:1.07rem}
.m-side{background:#fcfbf8;border:1px solid #dcd9d1;border-radius:.45rem;padding:1rem}
.m-side h6{font-family:var(--f-sans);text-transform:uppercase;letter-spacing:.14em;font-size:.7rem;color:var(--stone-ink);font-weight:700}
.kd{list-style:none;padding:0;margin:0;border-left:2px solid #c8c4ba;padding-left:.9rem}
.kd li{position:relative;margin-bottom:.6rem;font-size:.9rem;line-height:1.4}
.kd li::before{content:"";position:absolute;left:-1.27rem;top:.35rem;width:.6rem;height:.6rem;border-radius:50%;background:#85868c;border:2px solid #fcfbf8}
.kd b{font-family:var(--f-sans);font-size:.75rem;display:block;color:#4a4c52}
.srcs{padding-left:1.1rem;font-size:.9rem}
.srcs a{color:var(--link);word-break:break-word}
.chip{font-family:var(--f-sans);font-size:.7rem;background:#e8e5de;color:#4a4c52;padding:.2rem .55rem;border-radius:2rem;border:0;cursor:pointer}
.chip:hover{background:#dad6cd}

/* Footer */
.site-footer{background:#0b0c0f;color:#8f9095;font-family:var(--f-sans);font-size:.8rem;padding:2rem 0;border-top:1px solid #23262d}

/* Reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .8s ease,transform .8s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}.hero-bg{animation:none}html{scroll-behavior:auto}}
@media (max-width:991px){.section{padding:4rem 0}.lm-portraits{height:340px}.filter-bar{position:static}}
.paper,.paper-alt,.entry-modal{--bs-body-color:#1c1e22;--bs-secondary-color:#5f6066;--bs-emphasis-color:#000;--bs-border-color:#cfcbc2;--bs-body-bg:#fcfbf8;--bs-secondary-bg:#e9e6df;--bs-tertiary-bg:#eeeae2}
.paper .btn-outline-secondary,.paper-alt .btn-outline-secondary,.entry-modal .btn-outline-secondary{--bs-btn-color:#4a4c52;--bs-btn-border-color:#b5b2aa;--bs-btn-hover-bg:#4a4c52;--bs-btn-hover-color:#fff;--bs-btn-hover-border-color:#4a4c52}
.legend-dark .st{opacity:.95}
.tl-node .dot{display:block;flex-shrink:0}
.tl-node .yr{display:block}
.m-figure + .carousel-indicators,.carousel .carousel-indicators{bottom:auto;top:.4rem;margin-bottom:0}
.carousel-control-prev,.carousel-control-next{width:10%}
.rel-link{background:none;border:0;padding:.2rem 0;text-align:left;color:var(--link);font-size:.88rem;line-height:1.35;cursor:pointer}
.rel-link:hover{text-decoration:underline}
/* Named Spies */
.tcard.featured[data-theme="spies"]{background:linear-gradient(135deg,#111317,#241c1a);border-color:#353a44;box-shadow:inset 4px 0 0 var(--red)}
.tgroups{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 .8rem}
.tgroup{font-family:var(--f-sans);font-size:.72rem;letter-spacing:.02em;padding:.25rem .55rem;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(218,0,0,.55);color:#ebeae6}
.tgroup b{color:var(--red-glow);margin-left:.2rem}
.tcard:not(.featured) .tgroup{background:#eeebe4;color:#55575d}
.sg-tag{display:inline-block;font-family:var(--f-sans);font-size:.68rem;padding:.15rem .45rem;border-radius:.25rem;background:var(--red-tint);color:var(--red-tint-ink);margin-left:.25rem;vertical-align:middle}

/* ---- Semantic color (The Shadow War) ---- */
/* Hero: "Shadow" in flag red with a red rule ending in a small ivory diamond */
.red-word{color:var(--red);position:relative;display:inline-block;text-shadow:0 2px 18px rgba(0,0,0,.45)}
.red-word::after{content:"";position:absolute;left:.06em;bottom:-.16em;width:100vw;height:5px;border-radius:4px;background:linear-gradient(90deg,var(--red) 0%,var(--red) 55%,rgba(218,0,0,0) 100%);box-shadow:0 0 12px rgba(218,0,0,.40);pointer-events:none}
.red-word::before{content:"◆";position:absolute;left:-.02em;bottom:-.62em;font-size:.32em;line-height:1;color:var(--star);text-shadow:0 0 8px rgba(255,255,255,.25);pointer-events:none}
.hero-title{position:relative;margin-bottom:2rem}
.brand-seal{background:var(--red);color:#fff!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.14)}
.kicker.text-stone{color:var(--stone)!important}
.paper .kicker.text-red,.paper-alt .kicker.text-red{color:var(--stone-ink)!important}
.kicker.text-redthread{color:var(--red-glow)!important}
.feat-chip{background:rgba(255,255,255,.92)!important;color:#111317!important}
.tcard.featured[data-theme="spies"] .feat-chip{background:var(--red-ink)!important;color:#fff!important}
/* Hyperlinks: neutral ink-slate on paper, warm ivory on ink (underlined) */
.paper a:not(.btn),.paper-alt a:not(.btn){color:var(--link)}
.method-text a,.ink a:not(.btn):not(.nav-link){color:var(--slate-glow);text-decoration:underline;text-decoration-color:rgba(217,212,199,.45)}
.paper a:not(.btn),.paper-alt a:not(.btn){text-decoration:underline;text-decoration-color:rgba(44,51,64,.35)}
/* Timeline years in ivory-stone, selected era in red */
.tl-node .yr{color:var(--slate-glow)}
/* Semantic red: regime, IRGC/Quds, Hezbollah, terror, espionage, hacking, repression, scandals */
.tcard[data-theme="spies"] i.ic,.tcard[data-theme="terror"] i.ic,.tcard[data-theme="tnr"] i.ic,.tcard[data-theme="cyber"] i.ic,.tcard[data-theme="hezmoney"] i.ic,.tcard[data-theme="hostages"] i.ic,.tcard[data-theme="scandals"] i.ic,.tcard[data-theme="export"] i.ic{color:var(--red-ink)}
.tcard[data-theme="terror"],.tcard[data-theme="tnr"],.tcard[data-theme="cyber"],.tcard[data-theme="hezmoney"],.tcard[data-theme="hostages"],.tcard[data-theme="scandals"]{box-shadow:inset 0 3px 0 var(--red)}
.tcard[data-theme="terror"] .cnt,.tcard[data-theme="tnr"] .cnt,.tcard[data-theme="cyber"] .cnt,.tcard[data-theme="hezmoney"] .cnt,.tcard[data-theme="hostages"] .cnt,.tcard[data-theme="scandals"] .cnt{color:var(--red-ink)}
.chip[data-goto-theme="spies"],.chip[data-goto-theme="terror"],.chip[data-goto-theme="tnr"],.chip[data-goto-theme="cyber"],.chip[data-goto-theme="hezmoney"],.chip[data-goto-theme="hostages"],.chip[data-goto-theme="scandals"],.chip[data-goto-theme="export"],.chip[data-type="scandal"]{background:var(--red-tint);color:var(--red-tint-ink);box-shadow:inset 0 0 0 1px #efbdb9}
/* Sparing green: the Iranian people and diaspora */
.tcard[data-theme="diaspora"] i.ic,.tcard[data-theme="diaspora"] .cnt{color:var(--green-ink)}
.tcard[data-theme="diaspora"]{box-shadow:inset 0 3px 0 var(--green)}
.chip[data-goto-theme="diaspora"]{background:var(--green-tint);color:var(--green-ink);box-shadow:inset 0 0 0 1px #b9dcc2}
.chip[data-goto-theme]:hover{filter:brightness(.96)}
.st-convicted{background:var(--red-tint);color:var(--red-tint-ink);border-color:#efbdb9}
.st-official{background:var(--slate-tint);color:var(--slate-tint-ink);border-color:#c9c6bf}
.tcard.featured{background:linear-gradient(135deg,#5e0606,#A30000);border-color:#5e0606}
@media (max-width:575px){.hero-title{line-height:1.08}.red-word::after{height:3px;bottom:-.04em;width:calc(100vw - 2rem)}.red-word::before{bottom:-.5em}}

/* Publication fix: keep large Bootstrap gutters inside narrow viewports. */
@media(max-width:1199.98px){.row.g-5{--bs-gutter-x:1.5rem}.srcs a{overflow-wrap:anywhere}}

.aif-privacy-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 24px;padding:18px 20px 70px;border-top:1px solid #8a9a8155;font:10px/1.8 Arial,sans-serif;text-align:center}.aif-privacy-footer a{text-decoration:underline;color:inherit}.aif-privacy-footer span{opacity:.8}@media print{.aif-privacy-footer{display:none}}
