/* WVMonitor site styles. Phone-first: the base rules are for a phone, wider screens are added below.
   To change the color option, change the class on <body>: pal-pine (A), pal-terra (B) or pal-plum (C). */

.wv{--bg:#FAF7F1;--surface:#FFFDF9;--ink:#1E2421;--ink2:#4A524D;--muted:#6B716C;--line:#E6DFD3;--accent:#2F5D50;--tint:#EAF0EA;--band:#233F37;--band-ink:#F4EFE6}
.wv.pal-terra{--bg:#FBF6EF;--surface:#FFFDFA;--ink:#2A211D;--ink2:#55483F;--muted:#76685E;--line:#EADFD2;--accent:#A8492A;--tint:#F6E7DC;--band:#3A2A22;--band-ink:#F7EEE4}
.wv.pal-plum{--bg:#F9F5F0;--surface:#FFFDFB;--ink:#241C22;--ink2:#4F434B;--muted:#716570;--line:#E7DDD9;--accent:#7A2E3A;--tint:#F3E4E3;--band:#3B1E28;--band-ink:#F6ECE8}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.wv{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.5;color:var(--ink);background:var(--bg)}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
button,select,input{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
h1,h2,h3,p{margin:0}
[hidden]{display:none !important}
section[id]{scroll-margin-top:12px}

.serif{font-family:Newsreader,Georgia,"Times New Roman",serif}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.meta{font-size:13px;color:var(--muted)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:10px}
.wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ph{color:var(--muted);font-style:italic}
.h-page{font-family:Newsreader,Georgia,serif;font-size:30px;font-weight:600;line-height:1.15}
.h-section{font-family:Newsreader,Georgia,serif;font-size:26px;font-weight:600;line-height:1.2}
.lede{margin-top:6px;color:var(--ink2);max-width:640px}
.link-inline{color:var(--accent);font-weight:600;white-space:nowrap}
.band-tint{background:var(--tint);padding:40px 0}
.pad{padding-top:36px;padding-bottom:40px}

/* Header */
.site-header{background:var(--surface);border-bottom:1px solid var(--line)}
.header-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;padding-top:16px;padding-bottom:12px}
.brand{display:flex;flex-direction:column;gap:2px}
.brand:hover{text-decoration:none}
.brand-name{font-family:Newsreader,Georgia,serif;font-size:28px;font-weight:600;line-height:1.1}
.brand-name span,.dot{color:var(--accent)}
.header-tools{display:flex;align-items:center;gap:10px;flex:1 1 280px;min-width:0;justify-content:flex-end}
.search{flex:1 1 0;width:0;min-width:0;max-width:360px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:8px;border:1px solid var(--accent);background:var(--accent);color:#fff;font-weight:600;white-space:nowrap}
.btn:hover{text-decoration:none;filter:brightness(1.08)}
.btn-quiet{background:transparent;border-color:var(--line);color:var(--ink);font-weight:500;font-size:14px;padding:0 14px}
.site-nav{display:flex;gap:4px 20px;padding-bottom:8px;font-size:15px;font-weight:500;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
.site-nav a{padding:10px 0;flex:none}
.site-nav .nav-accent{color:var(--accent)}

/* Filters */
.latest-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 24px}
.filters{margin-top:16px;padding:14px;display:flex;flex-direction:column;gap:12px}
.filter-label{font-size:14px;font-weight:600}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
.chip{flex:none;min-height:44px;padding:0 14px;border-radius:22px;border:1px solid var(--line);background:var(--bg);font-size:14px;font-weight:500;white-space:nowrap}
.chip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
.filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.select{min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);max-width:100%}

/* Headlines */
.grid-headlines{margin-top:20px;display:grid;grid-template-columns:1fr;gap:16px}
.story{padding:18px;display:flex;flex-direction:column;gap:10px}
.story h2{font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:600;line-height:1.25}
.story-excerpt{font-size:15px;color:var(--ink2)}
.story-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.tag-official{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:10px;background:var(--tint);color:var(--accent);font-size:11px;font-weight:600;letter-spacing:.02em;text-transform:none}
.tag-view{background:transparent;border:1px dashed var(--muted);color:var(--ink2)}
.icon-btn{width:44px;height:44px;flex:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:transparent}
.icon-btn:hover,.btn-quiet:hover{background:var(--tint)}
.more-row{margin-top:20px;display:flex;justify-content:center}
.empty{margin-top:20px;padding:22px;color:var(--ink2)}

/* Sections */
.grid-sections{margin-top:18px;display:grid;grid-template-columns:1fr;gap:14px}
.section-card{padding:18px;display:flex;flex-direction:column;gap:12px}
.section-card h3{font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:600}
.section-card li{font-size:15px}
.section-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.link-accent{color:var(--accent);font-weight:600;font-size:14px;padding:10px 0;background:none;border:0;text-align:left}
.section-card .link-accent{margin-top:auto}

/* Data */
.grid-stats{margin-top:20px;display:grid;grid-template-columns:1fr;gap:14px}
.stat{padding:18px}
.stat-num{font-size:38px;font-weight:600;line-height:1.1}
.stat-text{margin-top:6px;font-size:15px;color:var(--ink2)}
.chart-card{margin-top:18px;padding:18px}
.chart-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}
.chart-head h3{font-family:Newsreader,Georgia,serif;font-size:23px;font-weight:600;margin-top:4px}
.chart-head p{margin-top:4px;font-size:15px;color:var(--ink2)}
.toggles{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.toggle{min-height:44px;padding:0 12px;display:inline-flex;align-items:center;gap:8px;border-radius:8px;border:1px solid var(--line);background:var(--bg);font-size:14px;font-weight:500;color:var(--muted)}
.toggle[aria-pressed="true"]{border-color:var(--ink2);background:var(--surface);color:var(--ink)}
.swatch{width:18px;height:0;flex:none;border-top:3px solid var(--line)}
.chart-body{margin-top:18px;display:flex;flex-wrap:wrap;gap:20px}
.chart-plot{flex:999 1 300px;min-width:0}
.plot-row{display:flex}
.y-axis{position:relative;width:30px;height:260px;flex:none;font-size:12px;color:var(--muted)}
.y-axis span{position:absolute;right:6px;transform:translateY(-50%)}
.plot{position:relative;flex:1;height:260px;min-width:0}
.plot svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}
.plot-note{position:absolute;left:6px;font-size:12px;color:var(--muted);transform:translateY(-110%);pointer-events:none}
.guide{position:absolute;top:0;bottom:0;width:1px;background:var(--muted);pointer-events:none}
.dot-mark{position:absolute;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;box-shadow:0 0 0 2px var(--surface);pointer-events:none}
.plot-hit{position:absolute;left:-8px;right:-8px;top:0;bottom:0;cursor:crosshair;touch-action:pan-y}
.x-axis{margin-left:30px;margin-top:8px;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.readout{flex:1 1 200px;min-width:200px}
.readout-year{font-size:30px;font-weight:600;line-height:1.1}
.readout-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:15px}
.readout-row span:nth-child(2){flex:1}
.readout-row strong{font-weight:600;font-variant-numeric:tabular-nums}
.chart-source{margin-top:18px}
.chart-source a{color:var(--accent);font-weight:600}
.table-view{margin-top:14px}
.table-view summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--accent);padding:10px 0}
.table-scroll{overflow-x:auto}
.table-view table{border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.table-view th,.table-view td{padding:6px 10px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.table-view th:first-child,.table-view td:first-child{text-align:left;position:sticky;left:0;background:var(--surface)}
/* Hate-crime chart: one small chart per country, each on its own scale */
.compare-note{margin-top:14px;padding:12px 14px;border-left:3px solid var(--accent);background:var(--tint);font-size:14px;color:var(--ink2);border-radius:0 8px 8px 0}
.legend{margin-top:14px;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:14px}
.legend span{display:inline-flex;align-items:center;gap:8px}
.grid-mini{margin-top:18px;display:grid;grid-template-columns:1fr;gap:28px 32px}
.mini h4{margin:0;font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:600}
.mini .measure{margin-top:2px}
.mini .plot-row{margin-top:12px}
.mini .y-axis{width:46px;height:200px}
.mini .plot{height:200px}
.mini .x-axis{margin-left:46px;position:relative;display:block;height:18px}
.mini .x-axis span{position:absolute;top:0}
.mini-readout{margin-top:12px}
.mini-readout .readout-year{font-size:22px}
.mini-readout .readout-row{padding:6px 0;font-size:14px}
.mini-context{margin-top:8px}
.mini-notes{margin:10px 0 0;padding-left:18px;font-size:13px;color:var(--muted)}
.mini-notes li{margin-top:4px}
.mini .chart-source{margin-top:12px}
/* Bar tiles: a table whose middle cell draws the value as a thin bar */
.bar-table{width:100%;margin-top:12px;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.bar-table th,.bar-table td{padding:7px 0;border-top:1px solid var(--line);text-align:left;font-weight:400;vertical-align:middle}
.bar-table thead th{border-top:0;font-size:12px;font-weight:600;color:var(--muted);padding-bottom:4px}
.bar-table tbody th{white-space:nowrap;padding-right:12px;width:1%}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.pt-label{position:absolute;transform:translate(-50%,-150%);font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink);white-space:nowrap;pointer-events:none}
.pt-label.first{transform:translate(8px,-150%)}
.pt-label.last{transform:translate(calc(-100% - 8px),-150%)}
.bar-cell{display:flex;align-items:center;gap:10px}
.bar-track{display:block;flex:1;height:10px;min-width:36px}
.bar-fill{display:block;height:10px;border-radius:0 4px 4px 0;min-width:2px}
.bar-val{width:38px;text-align:right;font-weight:600}
.bar-table .num{text-align:right;padding-left:10px;width:1%;white-space:nowrap;color:var(--ink2)}
.bar-table .num.strong{font-weight:600;color:var(--ink)}
.bar-table .bar-col{width:auto;padding-right:2px}
.state-table tbody th{white-space:normal}
.state-more{margin-top:12px}
.dot-mark.lone{width:8px;height:8px;margin:-4px 0 0 -4px}
.proj-label{position:absolute;top:2px;margin-left:5px;font-size:11px;color:var(--muted);pointer-events:none;white-space:nowrap}
.proj-tag{display:inline-block;vertical-align:middle;margin-left:6px;padding:2px 8px;border:1px dashed var(--muted);border-radius:10px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.break-mark{position:absolute;top:0;bottom:0;width:0;border-left:1px dashed var(--muted);pointer-events:none}

.grid-next{margin-top:18px;display:grid;grid-template-columns:1fr;gap:14px}
.next{padding:20px;border:1px dashed var(--muted);border-radius:10px}
.next p{margin-top:8px}

/* Countries */
.grid-countries{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.country{padding:14px;display:flex;flex-direction:column;gap:4px;min-height:92px;text-align:left}
.country strong{font-weight:600}
.country:hover{text-decoration:none;border-color:var(--accent)}

/* Videos and stories */
.grid-three{margin-top:18px;display:grid;grid-template-columns:1fr;gap:18px}
.video{display:flex;flex-direction:column;gap:10px}
.video-frame{aspect-ratio:16/9;border-radius:10px;background:var(--band);color:var(--band-ink);display:flex;align-items:center;justify-content:center}
.feature{padding:20px;display:flex;flex-direction:column;gap:10px;border-top:3px solid var(--accent)}

/* Newsletter */
.newsletter{background:var(--band);color:var(--band-ink);padding:44px 0}
.newsletter-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 48px}
.newsletter-inner>div{flex:1 1 300px}
.newsletter h2{font-family:Newsreader,Georgia,serif;font-size:30px;font-weight:600;line-height:1.2}
.newsletter p{margin-top:10px;max-width:480px}
.signup{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.signup-field{flex:1 1 200px;display:flex;flex-direction:column;gap:6px}
.signup-field label{font-size:14px;font-weight:600}
.signup input{min-height:48px;padding:0 14px;border:1px solid var(--band-ink);border-radius:8px;background:var(--surface);color:var(--ink)}
.signup button{min-height:48px;padding:0 22px;border:0;border-radius:8px;background:var(--band-ink);color:var(--band);font-weight:700}
.signup-note{flex-basis:100%;font-size:14px;margin:0}

/* Footer */
.site-footer{background:var(--surface);border-top:1px solid var(--line);padding:28px 0}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px}
.footer-nav{display:flex;flex-wrap:wrap;gap:4px 22px;font-size:15px}
.footer-nav a{padding:10px 0}

/* Text pages (Methods & Sources and similar) */
.prose{max-width:860px}
.prose section{margin-top:40px}
.prose section[id]{scroll-margin-top:16px}
.prose h2{margin-bottom:10px}
.prose h3{margin:22px 0 8px;font-size:18px;font-weight:600}
.prose h4{margin:0 0 8px;font-family:Newsreader,Georgia,serif;font-size:20px;font-weight:600}
.prose p{margin-top:10px;color:var(--ink2)}
.prose p.lede{font-size:18px;max-width:none}
.prose ul,.prose ol{margin:10px 0 0;padding-left:22px;color:var(--ink2)}
.prose li{margin-top:8px}
.prose li strong,.prose p strong{color:var(--ink)}
.prose a{color:var(--accent);font-weight:600}
.prose .brand,.prose .btn{color:inherit}
.toc{margin-top:22px;padding:16px 18px}
.toc ol{margin-top:6px}
.toc li{margin-top:2px}
.toc a{display:inline-block;padding:6px 0;font-weight:500}
.doc-table{width:100%;border-collapse:collapse;font-size:14px;margin-top:14px}
.doc-table th,.doc-table td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.doc-table thead th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--muted)}
.doc-table tbody th{font-weight:600;color:var(--ink);white-space:nowrap}
.doc-table td a{white-space:nowrap}
.kw-topic{border-bottom:1px solid var(--line)}
.kw-topic:first-child{border-top:1px solid var(--line);margin-top:14px}
.kw-topic summary{cursor:pointer;padding:12px 0;min-height:44px}
.kw-topic .doc-facts{margin:0 0 14px}
.kw-list{line-height:2}
.kw{display:inline-block;padding:1px 8px;margin:0 2px 2px 0;border:1px solid var(--line);border-radius:6px;background:var(--surface);font-size:13px;line-height:1.5;color:var(--ink);white-space:nowrap}
.doc-card{margin-top:16px;padding:20px}
.doc-card>h3{margin:0;font-family:Newsreader,Georgia,serif;font-size:23px}
.doc-country{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.doc-facts{margin:10px 0 0;display:grid;grid-template-columns:1fr;gap:2px 16px;font-size:15px}
.doc-facts dt{font-weight:600;color:var(--ink);margin-top:8px}
.doc-facts dd{margin:0;color:var(--ink2)}
@media (min-width:640px){
  .doc-facts{grid-template-columns:190px 1fr}
  .doc-facts dt,.doc-facts dd{margin-top:8px}
}

.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);padding:12px 18px;border-radius:8px;background:var(--ink);color:var(--bg);font-size:14px;font-weight:500;z-index:10;max-width:calc(100% - 32px)}

/* ---------- Polish pass (Nov 24, 2026) ---------- */
.wv{--hero-hi:#E9B872}
.wv.pal-terra{--hero-hi:#F0C27A}
.wv.pal-plum{--hero-hi:#E8B777}
section[id]{scroll-margin-top:84px}

/* Rows that scroll sideways on a narrow screen: no visible scrollbar */
.site-nav,.chips{scrollbar-width:none}
.site-nav::-webkit-scrollbar,.chips::-webkit-scrollbar{display:none}

/* Logo mark */
.brand-row{display:flex;align-items:center;gap:10px}
.brand-mark{width:30px;height:30px;flex:none;border-radius:7px}

/* Header stays at the top and slims down on scroll */
.site-header{position:sticky;top:0;z-index:5;transition:box-shadow .2s ease}
body.scrolled .site-header{box-shadow:0 2px 14px rgba(30,36,33,.09)}
body.scrolled .site-header .brand .meta,body.scrolled .site-nav{display:none}
body.scrolled .header-top{padding-top:10px;padding-bottom:10px;flex-wrap:nowrap}
body.scrolled .brand-name{font-size:22px}
body.scrolled .brand-mark{width:26px;height:26px}
@media (max-width:639px){
  body.scrolled .search{display:none}
  body.scrolled .header-tools{flex:0 0 auto}
}

/* Section headings get a short accent rule */
.h-section::before{content:"";display:block;width:36px;height:3px;border-radius:2px;background:var(--accent);margin-bottom:12px}

/* Lead section */
.hero{background:var(--band);color:var(--band-ink);padding:28px 0 32px}
.hero-inner{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.hero .eyebrow{color:var(--hero-hi)}
.hero :focus-visible{outline-color:var(--hero-hi)}
.hero-title{margin-top:10px;font-family:Newsreader,Georgia,serif;font-size:30px;font-weight:600;line-height:1.12;letter-spacing:-.01em}
.hero-title a:hover{text-decoration-thickness:2px;text-underline-offset:4px}
.hero-excerpt{margin-top:12px;max-width:560px;font-size:17px;opacity:.88}
.hero-meta{margin-top:14px;font-size:13px;opacity:.72}
.hero-actions{margin-top:16px;display:flex;align-items:center;gap:10px}
.hero-cta{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:8px;border:1px solid rgba(255,255,255,.38);font-size:15px;font-weight:600}
.hero-cta:hover{background:rgba(255,255,255,.1);text-decoration:none}
.hero-share{border-color:rgba(255,255,255,.38);color:inherit}
.hero-share:hover{background:rgba(255,255,255,.1)}
.hero-data{border-top:1px solid rgba(255,255,255,.16);padding-top:22px;min-width:0}
.hero-stats{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hero-stat b{display:block;font-size:28px;font-weight:600;line-height:1.05;font-variant-numeric:tabular-nums}
.hero-stat span{display:block;margin-top:5px;font-size:13px;line-height:1.35;opacity:.8}
.hero-chart{position:relative;height:150px;margin-top:22px}
.hero-chart svg{position:absolute;left:0;top:0;width:calc(100% - 132px);height:100%;overflow:visible}
.hero-note{position:absolute;left:0;font-size:11px;opacity:.75;transform:translateY(-125%);pointer-events:none}
.hero-end{position:absolute;left:calc(100% - 124px);transform:translateY(-50%);font-size:12px;font-weight:600;color:var(--hero-hi);white-space:nowrap}
.hero-foot{margin-top:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;font-size:12px}
.hero-foot span{opacity:.72}
.hero-link{display:inline-block;padding:8px 0;font-size:14px;font-weight:600;color:var(--hero-hi)}

/* Headlines: three cards, then a compact list */
.card{box-shadow:0 1px 2px rgba(30,36,33,.04)}
.story{transition:transform .15s ease,box-shadow .15s ease}
.story:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(30,36,33,.09)}
.headline-list{margin-top:22px;display:grid;grid-template-columns:minmax(0,1fr);column-gap:44px}
.headline-list:not(:empty){border-top:1px solid var(--line)}
.story-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.story-row h3{margin-top:4px;font-family:Newsreader,Georgia,serif;font-size:19px;font-weight:600;line-height:1.25}
.story-row .meta{display:block;margin-top:6px}
.story-row .icon-btn{border-color:transparent}
.story-row .icon-btn:hover{border-color:var(--line)}

/* In focus: Islam in the West */
.focus{padding:40px 0;border-top:1px solid var(--line)}
.focus-intro{max-width:760px}
.focus-intro p{margin-top:10px;color:var(--ink2)}
.focus-intro strong{color:var(--ink)}
.focus-cols{margin-top:22px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.focus-col{padding:18px}
.focus-col h3{font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:600;margin-bottom:10px}
.focus-list{list-style:none;margin:0;padding:0}
.focus-list li{padding:12px 0;border-top:1px solid var(--line)}
.focus-list li:first-child{border-top:0;padding-top:0}
.focus-list a{font-family:Newsreader,Georgia,serif;font-size:18px;font-weight:600;line-height:1.25}
.focus-list .meta{display:block;margin-top:4px}
.focus-all{margin-top:18px}
@media (min-width:760px){.focus{padding:52px 0}.focus-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}

/* Country tiles carry a small trend line */
.country{transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.country:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(30,36,33,.09)}
.spark{display:block;width:100%;height:28px;margin:6px 0 2px;overflow:visible}

/* What is planned but not built */
.coming{padding-top:36px;padding-bottom:40px}
.coming-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px 10px}
.coming-list li{padding:8px 14px;border:1px dashed var(--muted);border-radius:20px;font-size:14px;color:var(--muted)}

/* Chart lines draw in from the left the first time a chart is seen */
.reveal-wipe svg{clip-path:inset(0 100% 0 0);transition:clip-path 1.3s cubic-bezier(.2,.7,.2,1)}
.reveal-wipe.in svg{clip-path:inset(-10% -2% -10% 0)}
.reveal-wipe.done svg{clip-path:none;transition:none}
@media (prefers-reduced-motion:reduce){
  .reveal-wipe svg{clip-path:none;transition:none}
  .story,.country{transition:none}
  .story:hover,.country:hover{transform:none}
}
@media print{.reveal-wipe svg{clip-path:none}.site-header{position:static}}

@media (min-width:640px){
  .hero-stat b{font-size:32px}
  .story h2{font-size:22px}
}
@media (min-width:900px){
  .hero{padding:44px 0 48px}
  .hero-inner{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:56px;align-items:start}
  .hero-title{font-size:44px}
  .hero-excerpt{font-size:18px}
  .hero-data{border-top:0;border-left:1px solid rgba(255,255,255,.16);padding:0 0 0 40px}
  .hero-chart{height:190px}
  .headline-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-headlines{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Wider screens */
@media (min-width:640px){
  .wrap{padding:0 24px}
  .h-page{font-size:36px}
  .h-section{font-size:30px}
  .brand-name{font-size:30px}
  .chips{flex-wrap:wrap;overflow:visible;padding-bottom:0}
  .site-nav{flex-wrap:wrap;overflow:visible;white-space:normal;padding-bottom:12px}
  .grid-headlines{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}
  .grid-sections{grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:16px}
  .grid-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .grid-next{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
  .grid-mini{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}
  .grid-countries{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
  .grid-three{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
  .chart-card{padding:24px}
  .y-axis,.plot{height:300px}
  .pad{padding-top:48px;padding-bottom:52px}
  .band-tint{padding:48px 0}
  .newsletter{padding:56px 0}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- Feature card: mosques in the United States (Nov 25, 2026) ---------- */
.chart-card.feature{padding:0;overflow:hidden}
.feature-band{background:var(--band);color:var(--band-ink);padding:22px 18px 22px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "plot" "note"}
.feature-band .chart-head{grid-area:head}
.feature-band #mosque-hero{grid-area:plot;min-width:0}
.feature-band .compare-note{grid-area:note}
.feature-band .eyebrow{color:var(--hero-hi)}
.feature-band .chart-head h3{font-size:27px;line-height:1.15}
.feature-band .chart-head p{color:inherit;opacity:.86;max-width:560px}
.feature-band .btn-quiet{border-color:rgba(255,255,255,.38);color:inherit}
.feature-band .btn-quiet:hover{background:rgba(255,255,255,.1)}
.feature-band :focus-visible{outline-color:var(--hero-hi)}
.feature-band .compare-note{margin-top:18px;background:rgba(255,255,255,.07);border-left-color:var(--hero-hi);color:inherit}
.feature-body{padding:22px 18px 20px}
.feature-body .grid-mini{margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}
.feature-notes{margin-top:26px;padding-top:16px;border-top:1px solid var(--line)}
.fp{margin-top:18px;padding:48px 6px 0}
.fp-plot{position:relative;height:190px}
.fp-plot svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}
.fp-dot{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--hero-hi);box-shadow:0 0 0 3px var(--band)}
.fp-val{position:absolute;transform:translate(-50%,calc(-100% - 12px));font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.fp-val.first{transform:translate(-6px,calc(-100% - 12px))}
.fp-val.last{transform:translate(calc(-100% + 6px),calc(-100% - 12px));font-size:40px;color:var(--hero-hi)}
.fp-rise{position:absolute;transform:translate(-50%,10px);font-size:12px;font-weight:600;opacity:.85;white-space:nowrap}
.fp-years{position:relative;height:20px;margin-top:10px;font-size:13px;opacity:.8}
.fp-years span{position:absolute;top:0;transform:translateX(-50%)}
.fp-years span.first{transform:translateX(-6px)}
.fp-years span.last{transform:translateX(calc(-100% + 6px))}
.fp-caption{margin-top:8px;font-size:13px;opacity:.75}

/* The four counts as a plain table */
.num-table{width:100%;margin-top:12px;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.num-table th,.num-table td{padding:8px 0 8px 12px;border-top:1px solid var(--line);text-align:right;font-weight:400;vertical-align:bottom}
.num-table th:first-child{text-align:left;padding-left:0}
.num-table thead th{border-top:0;font-size:12px;font-weight:600;color:var(--muted);line-height:1.3}
.num-table tbody th,.num-table .strong{font-weight:600}

/* Tile map of the states */
.where-grid{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.where-cap{margin:0}
.where-table .bar-table{margin-top:6px}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.seg button{min-height:42px;padding:0 18px;border:0;border-left:1px solid var(--line);background:var(--surface);font-size:14px;font-weight:600;color:var(--ink2);cursor:pointer}
.seg button:first-child{border-left:0}
.seg button[aria-pressed="true"]{background:var(--accent);color:#fff}
.map-total{margin-top:12px;font-size:15px;color:var(--ink2)}
.map-total strong{font-family:Newsreader,Georgia,serif;font-size:26px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;margin-right:4px}
.tilemap{margin-top:12px;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:3px;max-width:540px}
.tile{aspect-ratio:1;min-width:0;padding:0;border:0;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:9px;line-height:1;color:var(--ink);cursor:pointer;font-variant-numeric:tabular-nums}
.tile .ab{font-weight:600;letter-spacing:.02em}
.tile .ct{display:none}
.b0{background:transparent;box-shadow:inset 0 0 0 1px var(--line)}
.b1{background:#fde9dd}
.b2{background:#f8c9ae}
.b3{background:#f0a27a}
.b4{background:#e2764a}
.b5{background:#a8431c}
.tile.b5{color:#fff}
.tile.on{box-shadow:0 0 0 2px var(--ink);position:relative;z-index:1}
.tile:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.map-legend{margin-top:14px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12px;color:var(--ink2)}
.map-legend span{display:inline-flex;align-items:center;gap:6px}
.map-legend i{display:block;width:14px;height:14px;border-radius:3px}
.map-readout{margin-top:12px;min-height:22px;font-size:14px;color:var(--ink2)}
.map-readout strong{color:var(--ink)}

/* Key figures row under the lead section */
.figures{background:var(--tint);border-bottom:1px solid var(--line);padding:18px 0 14px}
.fig-row{margin-top:6px;display:grid;grid-template-columns:minmax(0,1fr)}
.fig{display:flex;align-items:baseline;gap:14px;padding:10px 0;border-top:1px solid var(--line);color:inherit}
.fig:first-child{border-top:0}
.fig:hover{text-decoration:none}
.fig b{flex:none;min-width:92px;font-family:Newsreader,Georgia,serif;font-size:30px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.fig span{font-size:14px;line-height:1.4;color:var(--ink2)}
.fig em{font-style:normal;font-weight:600;color:var(--accent);white-space:nowrap}
.fig:hover em{text-decoration:underline}

@media (min-width:480px){
  .tile{font-size:10px}
  .tile .ct{display:block}
}
@media (min-width:760px){
  .feature-band{padding:30px 28px 28px}
  .feature-band .chart-head h3{font-size:32px}
  .feature-body{padding:28px}
  .fp{padding-top:66px}
  .fp-plot{height:250px}
  .fp-val{font-size:28px}
  .fp-val.last{font-size:56px}
  .fp-rise{font-size:13px}
  .tile{font-size:11px}
  .figures{padding:22px 0 18px}
  .fig-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 36px}
  .fig{display:block;border-top:0;padding:8px 0}
  .fig b{display:block;font-size:38px;margin-bottom:8px}
}
@media (min-width:1000px){
  .feature-band{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);grid-template-areas:"head plot" "note plot";grid-template-rows:auto 1fr;column-gap:48px}
  .feature-band #mosque-hero{align-self:end}
  .feature-band .compare-note{align-self:start}
  .where-grid{grid-template-columns:minmax(0,540px) minmax(0,1fr);gap:44px;align-items:start}
  .feature-notes{columns:2;column-gap:44px}
  .feature-notes li{break-inside:avoid}
}

/* A highlighted warning about who produced a set of figures */
.source-flag{margin-bottom:26px;padding:14px 16px;border:1px solid var(--accent);border-left-width:5px;border-radius:8px;background:var(--tint);font-size:14px;color:var(--ink2)}
.source-flag strong{display:block;font-size:15px;color:var(--ink)}
.source-flag p{margin-top:6px;max-width:900px}

/* ---------- Islamic law and Western law page (Nov 25, 2026) ---------- */
.txt-page .txt-lede{max-width:760px;font-size:18px;margin-top:10px}
.txt-status{margin-top:20px;max-width:900px}
.txt-status strong{display:inline;color:var(--ink)}
.txt-toc{margin-top:22px;padding:18px}
.txt-toc h2{font-family:Newsreader,Georgia,serif;font-size:20px;font-weight:600}
.txt-toc ol{margin:8px 0 0;padding-left:22px}
.txt-toc li{padding:7px 0;border-top:1px solid var(--line)}
.txt-toc li:first-child{border-top:0}
.txt-toc li a{font-weight:600;margin-right:10px}
.txt-key{margin-top:12px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.tag-src{display:inline-block;padding:3px 10px;border-radius:14px;font-size:12.5px;font-weight:600;line-height:1.4;border:1px solid transparent}
.tag-quran{background:var(--ink);color:var(--bg)}
.tag-mixed{background:var(--tint);color:var(--ink);border-color:var(--accent)}
.tag-later{background:transparent;color:var(--ink);border:1px dashed var(--ink2)}
.txt-court{margin-top:34px;max-width:860px}
.txt-court p{margin-top:12px;color:var(--ink2)}
.court-quote{margin:14px 0 0;padding:14px 18px;border-left:4px solid var(--accent);background:var(--tint);border-radius:0 8px 8px 0;font-family:Newsreader,Georgia,serif;font-size:19px;line-height:1.45;color:var(--ink)}
.txt-entry{margin-top:26px;padding:20px 18px;scroll-margin-top:90px}
.txt-entry h2{margin-top:4px;font-family:Newsreader,Georgia,serif;font-size:26px;font-weight:600;line-height:1.2}
.txt-entry>.tag-src{margin-top:10px}
.txt-cols{margin-top:16px;display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.verse{margin:0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.verse+.verse{margin-top:14px}
.verse-ar{margin-top:12px;font-family:"Amiri","Scheherazade New","Traditional Arabic","Sakkal Majalla","Segoe UI","Noto Naskh Arabic",serif;font-size:25px;line-height:2;color:var(--ink);text-align:right}
.verse-en{margin:12px 0 10px;padding:0 0 0 14px;border-left:3px solid var(--line);font-family:Newsreader,Georgia,serif;font-size:18px;line-height:1.5;color:var(--ink)}
.verse a,.txt-src a{color:var(--accent);font-weight:600}
.txt-blocks section+section{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.txt-blocks h3{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.txt-blocks p{margin-top:8px;color:var(--ink2)}
.txt-blocks .txt-src{margin-top:10px}
.txt-how{margin-top:40px;max-width:860px}
.txt-how ul{margin:12px 0 14px;padding-left:20px;color:var(--ink2)}
.txt-how li{margin-top:8px}
.focus-link{margin-top:18px;padding:18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
.focus-link h3{font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:600}
.focus-link p{margin-top:4px;color:var(--ink2);max-width:680px;font-size:15px}
@media (min-width:900px){
  .txt-entry{padding:28px}
  .txt-cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start}
  .verse-ar{font-size:28px}
}

/* ---------- Extremist attacks by motive (Nov 25, 2026) ---------- */
#attacks-lists{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
#chart-attacks .legend{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.attack-cols{margin-top:6px;display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.attack-cols h5{margin-top:12px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.attack-list th,.attack-list td{text-align:left;vertical-align:top;padding:8px 12px 8px 0}
.attack-list tbody th{font-weight:400;white-space:nowrap}
.attack-list td.strong{text-align:right;padding-right:16px}
.attack-list thead th:nth-child(3){text-align:right;padding-right:16px}
@media (min-width:1000px){.attack-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}}

/* ---------- Jihadist attacks list (Nov 25, 2026) ---------- */
.attack-entries{list-style:none;margin:18px 0 0;padding:0}
.attack-entries li{display:flex;gap:16px;padding:16px 0;border-top:1px solid var(--line)}
.ae-killed{flex:none;width:86px;text-align:right}
.ae-killed b{display:block;font-family:Newsreader,Georgia,serif;font-size:30px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;color:var(--ink)}
.ae-killed span{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
.ae-body{min-width:0}
.ae-body h4{font-family:Newsreader,Georgia,serif;font-size:20px;font-weight:600;line-height:1.25}
.ae-body h4 .meta{font-family:Inter,system-ui,sans-serif;font-weight:400;white-space:nowrap;margin-left:6px}
.ae-body p{margin-top:6px;color:var(--ink2);font-size:15px}
.ae-body .ae-finding{padding-left:12px;border-left:3px solid var(--line)}
.ae-body a{color:var(--accent);font-weight:600}
#jihadist-notes{margin-top:8px;padding-top:14px;border-top:1px solid var(--line)}
@media (min-width:760px){.ae-killed{width:110px}.ae-killed b{font-size:38px}}
.ae-section{margin-top:26px}
.ae-head{font-family:Newsreader,Georgia,serif;font-size:23px;font-weight:600}
.ae-section .attack-entries{margin-top:10px}
.ae-pending{margin-top:8px;padding:14px 16px;border:1px dashed var(--muted);border-radius:8px}
.ae-pending h5{font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.ae-pending ul{margin:8px 0 0;padding-left:18px;font-size:14px;color:var(--ink2)}
.ae-pending li{margin-top:4px}
.ae-pending strong{color:var(--ink)}

/* ---------- Side-by-side summary on the Islamic law page (Nov 25, 2026) ---------- */
.cmp{margin-top:12px}
.cmp-head{display:none}
.cmp-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:16px 0;border-top:1px solid var(--line)}
.cmp-subject{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.cmp-subject a{font-family:Newsreader,Georgia,serif;font-size:19px;font-weight:600;line-height:1.25}
.cmp-cell{padding:10px 12px;border-radius:8px}
.cmp-cell p{font-size:15px;line-height:1.45;color:var(--ink)}
.cmp-label{display:block;margin-bottom:4px;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.cmp-text{background:var(--bg);border:1px solid var(--line)}
.cmp-west{background:var(--tint)}
@media (min-width:860px){
  .cmp-head{display:grid;padding:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
  .cmp-head,.cmp-row{grid-template-columns:210px minmax(0,1fr) minmax(0,1fr);gap:16px}
  .cmp-subject{display:block}
  .cmp-subject .tag-src{margin-top:8px}
  .cmp-label{display:none}
  .cmp-row{align-items:stretch}
}
/* Between phone and desktop widths: the subject on its own line, the two sides in columns beneath it */
@media (min-width:460px) and (max-width:859px){
  .cmp-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 10px}
  .cmp-subject{grid-column:1 / -1}
}

/* ---------- Clearer edges (Nov 25, 2026, from the editor's review) ----------
   A darker border color for boxes and controls, a firmer shadow under cards, and a visible line
   wherever one section of the homepage ends and the next begins. Hairlines inside a box stay light. */
.wv{--edge:#CEC6B7}
.wv.pal-terra{--edge:#D3BFAA}
.wv.pal-plum{--edge:#D2C3BE}
.card{border-color:var(--edge);box-shadow:0 1px 3px rgba(60,40,25,.08)}
.chip,.select,.btn-quiet,.verse,.cmp-text,.seg{border-color:var(--edge)}
.seg button{border-left-color:var(--edge)}
.chip[aria-pressed="true"]{border-color:var(--accent)}
.hero .btn-quiet,.feature-band .btn-quiet{border-color:rgba(255,255,255,.38)}
.story-row .icon-btn{border-color:transparent}
.figures{border-bottom:1px solid var(--edge)}
.focus{background:var(--surface);border-top:2px solid var(--edge);border-bottom:2px solid var(--edge)}
.focus .card{background:var(--bg)}
.focus .chart-card.feature{background:var(--surface)}
.band-tint{border-top:2px solid var(--edge);border-bottom:2px solid var(--edge)}
#coming{border-top:2px solid var(--edge)}
.site-footer{border-top-color:var(--edge)}
.headline-list:not(:empty){border-top-color:var(--edge)}

/* ---------- More color options, for comparison only (Nov 25, 2026) ----------
   The option in use is Terracotta (pal-terra). These five were added when the editor asked what else was possible.
   Each sets the same twelve values. Switch with ?palette=d to h; see the color chooser script, which is not on the public site. */
.wv.pal-slate{--bg:#F6F6F3;--surface:#FFFFFF;--ink:#1F2428;--ink2:#454D55;--muted:#677079;--line:#E2E4E1;--accent:#3D5A73;--tint:#E8EDF1;--band:#22303C;--band-ink:#F1F3F4;--hero-hi:#E9B872;--edge:#C6CBCF}
.wv.pal-char{--bg:#FAF8F5;--surface:#FFFFFF;--ink:#161616;--ink2:#3F3F3F;--muted:#666462;--line:#E5E1DB;--accent:#B4441C;--tint:#F3ECE4;--band:#1C1B1A;--band-ink:#F5F2ED;--hero-hi:#F2B866;--edge:#CDC6BC}
.wv.pal-olive{--bg:#F8F6EE;--surface:#FFFEF9;--ink:#22241C;--ink2:#4B4E40;--muted:#6C6F60;--line:#E5E2D2;--accent:#5B6B2F;--tint:#ECEFDD;--band:#2C3320;--band-ink:#F4F2E6;--hero-hi:#E4C46A;--edge:#CDC9B4}
.wv.pal-teal{--bg:#F7F5EF;--surface:#FFFEFB;--ink:#1B2426;--ink2:#45514F;--muted:#66716F;--line:#E3E1D6;--accent:#1F6F6B;--tint:#E3EFEC;--band:#173A3A;--band-ink:#F2F1EA;--hero-hi:#F0C27A;--edge:#CBC9BB}
.wv.pal-terra2{--bg:#FFFBF6;--surface:#FFFFFF;--ink:#241A16;--ink2:#51423A;--muted:#75665C;--line:#EFE3D6;--accent:#B93A1E;--tint:#FBE9DD;--band:#2E1F19;--band-ink:#FBF1E7;--hero-hi:#F5C06E;--edge:#DBC4AE}

/* The chooser bar shown only when the address carries ?palette= */
.pal-bar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:flex;align-items:center;gap:6px;padding:8px 12px;overflow-x:auto;background:#161616;color:#fff;font-size:13px;white-space:nowrap}
.pal-bar span{flex:none;opacity:.75;margin-right:4px}
.pal-bar button{flex:none;min-height:38px;padding:0 13px;border-radius:19px;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;font-size:13px;font-weight:500;cursor:pointer}
.pal-bar button[aria-pressed="true"]{background:#fff;color:#161616;border-color:#fff}
.pal-bar{scrollbar-width:none}.pal-bar::-webkit-scrollbar{display:none}

/* ---------- Jump menu (Nov 25, 2026, from the editor's review) ----------
   The row under the site name lists the parts of the homepage in order. It stays in view while scrolling,
   on one line that can be swiped sideways on a phone, and marks the part being read. */
.site-nav a{color:var(--ink2);padding:10px 2px;border-bottom:2px solid transparent}
.site-nav a:hover{color:var(--ink);text-decoration:none}
.site-nav a[aria-current="true"]{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}
body.scrolled .site-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;padding-bottom:0;border-top:1px solid var(--line)}
body.scrolled .site-nav a{padding:8px 2px}
section[id],.chart-card[id]{scroll-margin-top:112px}

/* ---------- A shorter homepage (Nov 25, 2026) ----------
   Long blocks open on a tap: each attack is one row, charts with many countries show the first few,
   and the mosque chart's long notes sit behind a line of text. Nothing is removed from the page. */
.attack-entries li{display:block;padding:0}
.attack-entries summary{display:flex;gap:16px;align-items:flex-start;padding:12px 0;cursor:pointer;list-style:none}
.attack-entries summary::-webkit-details-marker{display:none}
.attack-entries .ae-killed b{font-size:26px}
.ae-body{display:block}
.ae-place{display:block;font-family:Newsreader,Georgia,serif;font-size:19px;font-weight:600;line-height:1.25;color:var(--ink)}
.ae-place .meta{font-family:Inter,system-ui,sans-serif;font-weight:400;white-space:nowrap;margin-left:6px}
.ae-what{display:block;margin-top:2px;font-size:14px;color:var(--ink2)}
.ae-toggle{display:block;margin-top:4px;font-size:13px;font-weight:600;color:var(--accent)}
.ae-toggle::after{content:"Show the official finding and source"}
details[open]>summary .ae-toggle::after{content:"Hide the finding"}
.ae-more{padding:0 0 14px 102px}
.ae-more p{margin-top:6px;font-size:15px;color:var(--ink2)}
.ae-more .ae-finding{padding-left:12px;border-left:3px solid var(--edge)}
.ae-more a{color:var(--accent);font-weight:600}
.panels-more{margin-top:18px}
.notes-fold{margin-top:22px;padding-top:6px;border-top:1px solid var(--line)}
.notes-fold .feature-notes{margin-top:6px;padding-top:0;border-top:0}
@media (min-width:760px){.attack-entries .ae-killed b{font-size:30px}.ae-more{padding-left:126px}}
@media (max-width:459px){.ae-more{padding-left:0}}

/* ---------- Summaries on the homepage, full versions on their own pages (Nov 25, 2026) ---------- */
.link-cards{margin-top:18px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.link-card{display:flex;flex-direction:column;gap:6px;padding:18px;color:inherit;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.link-card:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 10px 26px rgba(30,36,33,.09);border-color:var(--accent)}
.link-card h3{font-family:Newsreader,Georgia,serif;font-size:20px;font-weight:600;line-height:1.25}
.link-card p{font-size:14.5px;color:var(--ink2)}
.link-card .link-go{margin-top:auto;padding-top:6px;font-size:14px;font-weight:600;color:var(--accent)}
.h-sub{margin-top:30px;font-family:Newsreader,Georgia,serif;font-size:22px;font-weight:600}
.feature-foot{padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.feature-foot .source-flag{margin-bottom:0}
@media (min-width:760px){.feature-foot{padding:22px 28px}}
@media (prefers-reduced-motion:reduce){.link-card{transition:none}.link-card:hover{transform:none}}
.ae-head{margin:0}.ae-section .measure{margin-top:2px}

/* ---------- Longer introduction to "Islam in the West" (Nov 25, 2026) ---------- */
.focus-intro{max-width:780px}
.focus-intro .focus-lede{font-size:19px;line-height:1.5;color:var(--ink)}
.focus-intro h3{margin-top:26px;font-family:Newsreader,Georgia,serif;font-size:22px;font-weight:600;line-height:1.25}
.focus-intro h3+p{margin-top:8px}
.focus-next{margin:10px 0 0;padding-left:20px;color:var(--ink2)}
.focus-next li{margin-top:8px}
.focus-next a{color:var(--accent);font-weight:600}
.focus-intro+.chart-card{margin-top:30px}

/* ---------- Country switches on the birth-rate chart (Nov 25, 2026) ----------
   The editor read the switched-off buttons as unavailable. Off is now a clear white button with a dark
   outline and a plus sign; on is filled dark with a check mark, so the two states can't be confused. */
.toggle{border-color:var(--edge);background:var(--surface);color:var(--ink2);cursor:pointer}
.toggle::after{content:"+";margin-left:2px;font-weight:600;color:var(--muted)}
.toggle:hover{border-color:var(--ink2);color:var(--ink)}
.toggle[aria-pressed="true"]{border-color:var(--ink);background:var(--ink);color:var(--bg)}
.toggle[aria-pressed="true"]::after{content:"\2713";color:var(--bg)}

/* ---------- Dark by default, light when chosen (Nov 25, 2026, the editor's choice) ----------
   The country filter above the headlines and the year switch on the mosque map now rest dark, like the
   country buttons on the birth-rate chart. The one that is chosen turns light and carries a check mark,
   so the choice never depends on color alone. */
.chip{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.chip:hover{filter:brightness(1.25)}
.chip[aria-pressed="true"]{background:var(--surface);border-color:var(--ink);color:var(--ink);font-weight:600;filter:none}
.chip[aria-pressed="true"]::before{content:"\2713\00a0"}
.seg{border-color:var(--ink)}
.seg button{background:var(--ink);color:var(--bg);border-left-color:rgba(255,255,255,.28)}
.seg button[aria-pressed="true"]{background:var(--surface);color:var(--ink)}
.seg button[aria-pressed="true"]::before{content:"\2713\00a0"}

/* The sign-up button shown once the newsletter's address is set (see NEWSLETTER_URL in site.js) */
.signup-go{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border-radius:8px;background:var(--band-ink);color:var(--band);font-weight:700}
.signup-go:hover{text-decoration:none;filter:brightness(1.06)}

/* ---------- Featured videos (a dark band; the player loads only when a reader presses play) ---------- */
.videos-band{background:var(--band);color:var(--band-ink);padding:44px 0 46px;border-top:2px solid var(--edge)}
.videos-band .h-section{color:var(--band-ink)}
.videos-band .h-section::before{background:var(--hero-hi)}
.videos-band .lede{color:var(--band-ink);opacity:.86}
.video-grid{margin-top:22px;display:grid;grid-template-columns:1fr;gap:28px 18px}
@media(min-width:620px){.video-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:980px){.video-grid{grid-template-columns:repeat(3,1fr)}}
.video-card{display:flex;flex-direction:column;gap:12px;min-width:0}
.video-thumb,.video-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:10px;background:#000;overflow:hidden}
.video-thumb{position:relative;padding:0;cursor:pointer}
.video-thumb img{width:100%;height:100%;object-fit:cover;display:block;opacity:.9;transition:opacity .15s ease,transform .25s ease}
.video-thumb:hover img,.video-thumb:focus-visible img{opacity:1;transform:scale(1.03)}
.video-thumb:focus-visible{outline:3px solid var(--hero-hi);outline-offset:3px}
.video-play{position:absolute;left:50%;top:50%;width:58px;height:58px;margin:-29px 0 0 -29px;border-radius:50%;background:var(--hero-hi);color:#1b1b1b;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 18px rgba(0,0,0,.45)}
.video-play svg{margin-left:3px}
.video-body .eyebrow{color:var(--hero-hi)}
.video-body h3{margin-top:4px;font-family:Newsreader,Georgia,serif;font-size:19px;font-weight:600;line-height:1.25}
.video-body h3 a{color:var(--band-ink)}
.video-body .meta{display:block;margin-top:6px;color:var(--band-ink);opacity:.78}
.wv .videos-band .btn-quiet{background:transparent;color:var(--band-ink);border-color:rgba(255,255,255,.4)}
.video-note{margin-top:20px;color:var(--band-ink);opacity:.75}
.video-note a{color:var(--band-ink);text-decoration:underline}
#videos{scroll-margin-top:112px}
@media (prefers-reduced-motion:reduce){.video-thumb img{transition:none}.video-thumb:hover img,.video-thumb:focus-visible img{transform:none}}

/* ---------- Worth your time (a short hand-picked list of longer pieces) ---------- */
#featured{scroll-margin-top:112px}
.featured-grid{margin-top:20px;display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:680px){.featured-grid{grid-template-columns:repeat(2,1fr)}}
.featured-card{border-left:4px solid var(--accent)}
.featured-card h3{font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:600;line-height:1.25}
.featured-card h3 a{color:var(--ink)}
.featured-card .story-excerpt{font-size:16px}
.featured-note{margin-top:16px}

/* ---------- Country colors on the filter buttons (the same colors as the birth-rate chart) ---------- */
.chip-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:7px;vertical-align:-1px;box-shadow:0 0 0 1.5px rgba(255,255,255,.55)}
.chip-dot.ring{background:transparent;border:3px solid;box-sizing:border-box}
.chip[aria-pressed="true"] .chip-dot{box-shadow:none}

/* ---------- Jump menu as buttons (each with a small picture; the part being read is filled in) ---------- */
.site-nav{gap:7px;padding-bottom:10px}
.site-nav a{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border:1px solid var(--edge);border-radius:20px;background:var(--surface);color:var(--ink2);font-size:14px;font-weight:500;line-height:1.2}
.site-nav a svg{flex:none;color:var(--accent)}
.site-nav a:hover{border-color:var(--accent);color:var(--ink);background:var(--tint)}
.site-nav a.nav-focus{border-color:var(--accent);color:var(--ink);font-weight:600}
.site-nav a[aria-current="true"]{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}
.site-nav a[aria-current="true"] svg{color:#fff}
body.scrolled .site-nav{padding-top:8px;padding-bottom:8px}
body.scrolled .site-nav a{padding:6px 12px}
.site-nav{padding-top:6px}

/* On tablets the eight menu buttons would wrap into three rows; keep them in one row that swipes sideways. */
@media (min-width:640px) and (max-width:899px){.site-nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}}

/* ---------- One-line description of the site, above the top story ---------- */
.site-what{background:var(--tint);border-bottom:1px solid var(--edge);padding:9px 0;font-size:14px;line-height:1.45;color:var(--ink2)}
.site-what .wrap{display:block}
.site-what a{color:var(--accent);font-weight:600;white-space:nowrap}

/* ---------- The Islam in the West introduction folds on phones ---------- */
.focus-toggle{display:none;margin-top:16px}
@media (max-width:639px){
  .focus-toggle{display:inline-flex}
  .focus-intro .focus-more{display:none}
  .focus-intro.open .focus-more{display:block}
}

/* ---------- A shorter homepage on phones: three headlines per column in the Islam section, chart cards without their descriptions ---------- */
@media (max-width:639px){
  #islam .focus-list li:nth-child(n+4){display:none}
  #data .link-card p{display:none}
  #data .link-card{padding-top:14px;padding-bottom:14px}
}

/* ---------- Official actions on political Islam (official-actions.html) ---------- */
.act-sub{margin-top:2px;font-family:Newsreader,Georgia,serif;font-size:20px;color:var(--ink2)}
.act-list{list-style:none;margin:14px 0 0;padding:0}
.act-list li{border-top:1px solid var(--line)}
.act-list summary{display:flex;gap:16px;align-items:flex-start;padding:16px 0;cursor:pointer;list-style:none}
.act-list summary::-webkit-details-marker{display:none}
.act-date{flex:none;width:74px;text-align:right}
.act-date b{display:block;font-family:Newsreader,Georgia,serif;font-size:26px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;color:var(--ink)}
.act-date span{display:block;margin-top:4px;font-size:12px;color:var(--muted)}
.act-body{display:block;min-width:0}
.act-tags{display:flex;flex-wrap:wrap;gap:6px}
.act-tag{padding:2px 9px;border-radius:11px;background:var(--tint);color:var(--accent);font-size:12px;font-weight:600}
.act-tag.kind{background:transparent;border:1px solid var(--edge);color:var(--ink2)}
.act-tag.iran{background:var(--band);color:var(--hero-hi)}
.act-title{display:block;margin-top:7px;font-family:Newsreader,Georgia,serif;font-size:21px;font-weight:600;line-height:1.25;color:var(--ink)}
.act-what{display:block;margin-top:5px;font-size:15px;color:var(--ink2)}
.act-toggle{display:block;margin-top:7px;font-size:13px;font-weight:600;color:var(--accent)}
.act-toggle::after{content:"Show the official wording and source"}
details[open] .act-toggle::after{content:"Hide the official wording"}
.act-more{padding:0 0 18px 90px}
.act-more p{margin-top:8px;font-size:15px;color:var(--ink2)}
.act-label{font-size:12px !important;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted) !important}
.act-quote{margin:8px 0 0;padding:10px 14px;border-left:4px solid var(--accent);background:var(--tint);border-radius:0 8px 8px 0;font-family:Newsreader,Georgia,serif;font-size:18px;line-height:1.4;color:var(--ink)}
.act-original{font-size:14px !important;font-style:italic}
.act-original span{font-style:normal;font-weight:600}
.act-later{padding:10px 12px;border:1px dashed var(--muted);border-radius:8px}
.act-more a{color:var(--accent);font-weight:600}
.act-notes-head{margin-top:26px;font-family:Newsreader,Georgia,serif;font-size:22px;font-weight:600}
.act-pending{margin-top:22px}
.act-pending h2{font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.act-pending p{margin-top:6px;font-size:14px;color:var(--ink2)}
@media (max-width:639px){
  .act-list summary{gap:12px}
  .act-date{width:54px}
  .act-date b{font-size:21px}
  .act-more{padding-left:0}
  .act-title{font-size:19px}
}

/* The line under the title on official-actions.html: bolder, in the accent color, with a rule beneath it,
   so it reads as a subtitle and not as the first line of the paragraph that follows. */
.act-sub{margin:8px 0 16px;padding-bottom:14px;border-bottom:2px solid var(--edge);font-family:Newsreader,Georgia,serif;font-size:23px;font-weight:600;line-height:1.3;color:var(--accent)}
@media (min-width:640px){.act-sub{font-size:26px}}
.wv .chart-head .act-sub{font-size:22px;color:var(--accent)}
@media (min-width:640px){.wv .chart-head .act-sub{font-size:25px}}

/* ---------- Same idea on the other pages: the text right under a page title should not be the smallest on the page ---------- */
/* The opening paragraph under a full-page title (the attacks list and the official-actions record). */
.wv .chart-head h1.h-page ~ p:not(.act-sub){margin-top:10px;font-size:17px;line-height:1.55;color:var(--ink2)}
/* The line under "Every chart, in full" on the data page, to match the other pages' opening lines. */
.wv h1.h-page + .lede{font-size:18px}
/* The reading notes at the foot of the attacks list and the record: these explain scope and limits, so they are not fine print. */
#actions-notes,#jihadist-notes{font-size:15px;line-height:1.55}
#actions-notes li,#jihadist-notes li{margin-top:8px}

/* ---------- Births per woman by religion (data.html#chart-fertility) ---------- */
.feature-band .fert-sub{margin-top:4px;font-family:Newsreader,Georgia,serif;font-size:19px;color:var(--hero-hi);opacity:1}
.fert-figs{margin-top:22px;display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.fert-fig{padding-top:14px;border-top:1px solid rgba(255,255,255,.2)}
.fert-fig b{display:block;font-family:Newsreader,Georgia,serif;font-size:54px;font-weight:600;line-height:1;color:var(--hero-hi);font-variant-numeric:tabular-nums}
.fert-fig span{display:block;margin-top:8px;font-size:15px;line-height:1.45;opacity:.9}
.fert-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:34px}
.fert-panel h4,.fert-trend h4{font-family:Newsreader,Georgia,serif;font-size:22px;font-weight:600}
.fert-rows{--fert-name:112px;--fert-valw:40px;position:relative;margin-top:10px;padding-top:26px}
.fert-row{display:grid;grid-template-columns:var(--fert-name) minmax(0,1fr) var(--fert-valw);align-items:center;min-height:32px}
.fert-name{font-size:14px;color:var(--ink2);padding-right:8px}
.fert-row.is-all .fert-name,.fert-row.is-all .fert-val{font-weight:700;color:var(--ink)}
.fert-track{position:relative;height:20px;background:var(--tint);border-radius:0 4px 4px 0}
.fert-bar{position:absolute;left:0;top:0;height:100%;border-radius:0 4px 4px 0}
.fert-gap{position:absolute;top:0;height:100%;background:repeating-linear-gradient(135deg,var(--muted) 0 2px,transparent 2px 6px);opacity:.6}
.fert-rep{position:absolute;top:-6px;bottom:-6px;width:0;border-left:2px dashed var(--ink)}
.fert-val{text-align:right;font-size:15px;font-variant-numeric:tabular-nums}
.fert-replabel{position:absolute;top:0;transform:translateX(-50%);font-size:12px;font-weight:700;white-space:nowrap;color:var(--ink)}
.fert-trend{margin-top:32px;padding-top:26px;border-top:1px solid var(--line)}
.fert-trend-grid{margin-top:14px;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}
.fert-plot{position:relative;height:260px;margin:0 10px}
.fert-plot svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}
.fert-slope .x-axis{margin:8px 10px 0}
.fert-slope-rep{position:absolute;left:50%;transform:translate(-50%,-135%);font-size:12px;font-weight:700;white-space:nowrap;color:var(--ink);background:var(--surface);padding:0 6px}
.fert-trend-table td:first-child .swatch{margin-right:8px}
#chart-fertility .chart-source{margin-top:22px}
@media (min-width:700px){
  .fert-figs{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
  .fert-trend-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:34px}
}
@media (min-width:1000px){
  .fert-panels{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
  .fert-rows{--fert-name:104px}
}
.fert-trend-table table{width:100%;border-collapse:collapse;font-size:14px}
.fert-trend-table th,.fert-trend-table td{padding:7px 8px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}
.fert-trend-table th{font-size:13px;color:var(--muted);font-weight:600}
.fert-trend-table td:nth-child(n+2){font-variant-numeric:tabular-nums;font-weight:600}
.fert-trend-table .swatch{display:inline-block;width:16px;border-top-width:3px;vertical-align:middle;margin-right:8px}
.fert-panel .measure,.fert-trend .measure{margin-top:2px}

/* ---------- Rotating figures (Nov 28, 2026) ----------
   The panel beside the lead story and the "Key figures" row change every few seconds. Each has a Pause button,
   and readers who ask for reduced motion get no automatic change. */
.rot{transition:opacity .2s ease}
.rot.is-swapping{opacity:0}
.hero-top,.fig-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rot-ctl{display:flex;align-items:center;gap:6px}
.rot-btn{min-width:32px;height:32px;padding:0 10px;border-radius:16px;border:1px solid var(--edge);background:var(--surface);color:var(--ink2);font:600 13px/1 Inter,system-ui,sans-serif;cursor:pointer}
.rot-btn:hover{border-color:var(--accent);color:var(--accent)}
.rot-pause{min-width:58px}
.rot-dot{width:28px;height:28px;padding:0;border:0;background:none;cursor:pointer;position:relative}
.rot-dot::before{content:"";position:absolute;left:8px;top:8px;width:12px;height:12px;border-radius:50%;border:2px solid currentColor;box-sizing:border-box;opacity:.7}
.rot-dot[aria-pressed="true"]::before{background:var(--hero-hi);border-color:var(--hero-hi);opacity:1}
.hero .rot-ctl{color:var(--band-ink)}
.hero .rot-btn{background:transparent;border-color:rgba(255,255,255,.35);color:inherit}
.hero .rot-btn:hover{border-color:var(--hero-hi);color:var(--hero-hi)}
.hero-stats{align-content:start}
.fig{position:relative}
.fig-label{display:block;flex:none;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:6px}
.fig-foot{margin:8px 0 0;font-size:12.5px;color:var(--muted)}
@media (max-width:719px){
  .fig{flex-wrap:wrap;align-content:flex-start}
  .fig-label{flex:0 0 100%;margin-bottom:2px}
}
@media (prefers-reduced-motion:reduce){.rot{transition:none}}

/* ---------- Christians and Muslims in the Middle East and North Africa (Nov 28, 2026) ---------- */
.me-rows{margin-top:14px;--me-name:210px;--me-vals:190px}
.me-row{display:grid;grid-template-columns:var(--me-name) minmax(0,1fr) var(--me-vals);align-items:center;gap:0 16px;padding:7px 0;border-top:1px solid var(--line)}
.me-row.me-head{border-top:0;padding-bottom:2px;font-size:12px;color:var(--muted)}
.me-row.me-head .me-name{font-weight:600;font-size:12px;color:var(--muted)}
.me-row.is-region{background:var(--tint);border-top:2px solid var(--edge);border-bottom:2px solid var(--edge);margin:0 -10px;padding:10px}
.me-row.is-region + .me-row{border-top:0}
.me-name{font-size:14px;font-weight:600;color:var(--ink);line-height:1.25}
.me-tag{display:inline-block;margin-left:4px;padding:1px 6px;border-radius:9px;border:1px solid var(--edge);font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink2);vertical-align:1px}
.me-track{position:relative;height:22px;margin:0 9px;background:linear-gradient(var(--line),var(--line)) left center/100% 1px no-repeat}
.me-axis{height:16px;background:none}
.me-axis span{position:absolute;top:0;transform:translateX(-50%);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.me-line{position:absolute;top:10px;height:2px;opacity:.75}
.me-dot{position:absolute;top:5px;width:12px;height:12px;margin-left:-6px;border-radius:50%;border:2px solid;box-sizing:border-box;background:var(--surface);box-shadow:0 0 0 2px var(--surface)}
.me-row.is-region .me-dot{box-shadow:0 0 0 2px var(--tint)}
.me-row.is-region .me-old{background:var(--tint)}
.me-proj{position:absolute;top:7px;width:8px;height:8px;margin-left:-4px;transform:rotate(45deg);border:1.5px dashed var(--ink2);box-sizing:border-box;background:transparent}
.me-vals{text-align:right;font-variant-numeric:tabular-nums;line-height:1.25}
.me-vals strong{display:block;font-size:14px;color:var(--ink)}
.me-vals small{display:block;font-size:12px;color:var(--muted)}
.me-legend{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:14px;font-size:13px;color:var(--ink2)}
.me-key{display:inline-flex;align-items:center;gap:7px}
.me-key .me-dot,.me-key .me-proj{position:static;margin:0;box-shadow:none;flex:none}
.me-key .me-proj{margin:0 2px}
.me-key .me-tag{margin:0}
#mideast-tables{margin-top:14px}
@media (max-width:719px){
  .me-rows{--me-name:1fr;--me-vals:auto}
  .me-row{grid-template-columns:minmax(0,1fr) auto;gap:2px 12px}
  .me-row .me-track{grid-column:1 / -1;grid-row:2;margin-top:4px}
  .me-row.me-head .me-vals{display:none}
  .me-row.is-region{margin:0 -6px;padding:10px 6px}
}
@media (max-width:719px){
  .fig > span{flex:1 1 0;min-width:0}
  .fig b{min-width:84px}
}

/* ---------- Section bars and page banners (Nov 28, 2026, from the editor's review) ----------
   Every section of the homepage opens with a full-width slate bar: a picture, a one-word kind and the section's
   name. Every other page opens with a dark banner carrying its name and a way back. Both run edge to edge:
   the bar sits inside the page's centered column and its color is carried outward by a clipped shadow. */
.wv .has-bar{padding-top:0}
.sec-bar{display:flex;align-items:center;gap:14px;padding:14px 0;margin-bottom:26px;background:var(--accent);color:#fff;box-shadow:0 0 0 100vmax var(--accent);clip-path:inset(0 -100vmax)}
.sec-ico{flex:none;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center}
.sec-text{min-width:0}
.sec-kicker{display:block;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;opacity:.85}
.sec-title{margin-top:2px;font-family:Newsreader,Georgia,serif;font-size:26px;font-weight:600;line-height:1.15;color:#fff}
.sec-side{margin-left:auto;font-size:13px;line-height:1.35;text-align:right;opacity:.88}
.sec-bar + .lede{margin-top:0}
.focus.has-bar,.band-tint.has-bar,.videos-band.has-bar{border-top:0}
.page-bar{padding:22px 0 24px;margin-bottom:30px;background:var(--band);color:var(--band-ink);box-shadow:0 0 0 100vmax var(--band);clip-path:inset(0 -100vmax)}
.page-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--hero-hi)}
.page-crumb a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.page-crumb span{opacity:.7}
.page-bar .h-page{margin-top:10px;color:#fff;font-size:32px;max-width:900px}
.page-bar :focus-visible{outline-color:var(--hero-hi)}
.wv .page-bar + .lede{font-size:18px}
.wv .chart-head p.page-intro{margin-top:10px;font-size:17px;line-height:1.55;color:var(--ink2)}
@media (min-width:760px){
  .sec-bar{padding:18px 0;margin-bottom:32px;gap:16px}
  .sec-ico{width:50px;height:50px}
  .sec-title{font-size:32px}
  .page-bar{padding:30px 0 32px;margin-bottom:38px}
  .page-bar .h-page{font-size:42px}
}
@media (max-width:479px){
  .sec-bar{flex-wrap:wrap}
  .sec-side{flex:0 0 100%;margin-left:58px;text-align:left}
  .sec-title{font-size:24px}
}
@media print{.sec-bar,.page-bar{box-shadow:none;clip-path:none}}
.wv .page-bar .page-crumb{margin:0;max-width:none;color:var(--hero-hi);font-size:12.5px;line-height:1.4}
.wv .page-bar .h-page{margin-bottom:0}

/* ---------- Filters that cannot dead-end (Nov 28, 2026, from the editor's review) ----------
   Each country button carries the number of headlines it would show. A country with none is grayed out. */
.chip-n{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:10px;background:rgba(255,255,255,.18);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;vertical-align:1px}
.chip[aria-pressed="true"] .chip-n{background:var(--tint);color:var(--ink)}
.chip[disabled]{opacity:.38;cursor:not-allowed;filter:none}
.chip[disabled]:hover{filter:none}

/* ---------- Chart previews on the "More charts" cards (Nov 28, 2026, from the editor's review) ----------
   A small picture across the top of each card, drawn by buildThumbs in site.js from the chart's real figures. */
.link-thumb{display:block;height:68px;margin:-4px -4px 8px;padding:4px 6px;border-radius:8px;background:var(--tint);border:1px solid var(--line)}
.link-thumb svg{display:block;width:100%;height:100%;overflow:visible}
.link-card.has-thumb:hover .link-thumb{border-color:var(--accent)}
@media (max-width:639px){.link-thumb{height:52px;margin-bottom:4px}}

/* ---------- Kind icons on link cards (Nov 28, 2026, from the editor's review) ----------
   A round colored picture beside the word Chart, Record, List or Sources, so the kind of page a card opens can
   be seen at a glance. The word stays beside it, so the meaning never rests on the picture or its color. */
.kind-row{display:flex;align-items:center;gap:10px;margin-bottom:4px}
.kind-ico{flex:none;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}
.kind-chart{background:#2a78d6}
.kind-record{background:#eda100;color:#1f2428}
.kind-list{background:#6250d6}
.kind-sources{background:#1baf7a;color:#10241c}
.link-card:hover .kind-ico{box-shadow:0 0 0 3px var(--tint)}

/* ---------- The two news boxes in "Islam in the West" (Nov 28, 2026, from the editor's review) ----------
   A filled header on each, with a picture, a small label and a gold line under it, so they read as boxes of
   headlines and not as the link cards above them. */
.focus-newshead{margin-top:34px;padding-top:22px;border-top:2px solid var(--edge)}
.focus-newslede{margin-top:4px}
.focus-newslede + .focus-cols{margin-top:16px}
.wv .focus-col{padding:0;overflow:hidden}
.focus-head{display:flex;align-items:center;gap:14px;padding:14px 18px;color:#fff;border-bottom:4px solid var(--hero-hi)}
.is-faith .focus-head{background:var(--accent)}
.is-political .focus-head{background:var(--band)}
.focus-ico{flex:none;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center}
.is-political .focus-ico{color:var(--hero-hi)}
.focus-kicker{display:block;font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;opacity:.88}
.wv .focus-head h3{margin:2px 0 0;color:#fff;font-size:21px;line-height:1.2}
.focus-body{padding:16px 18px 18px}
@media (min-width:760px){.wv .focus-head h3{font-size:23px}}
@media (min-width:760px){.focus-head{min-height:100px}}

/* ---------- The five section boxes in "News by section" (Nov 28, 2026, from the editor's review) ----------
   A filled header on each in its own deep color, with a picture and a gold line under it. */
.wv .section-card{padding:0;gap:0;overflow:hidden}
.sect-head{display:flex;align-items:center;gap:12px;padding:14px 16px;color:#fff;border-bottom:4px solid var(--hero-hi);min-height:96px}
.sect-ico{flex:none;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.17);display:flex;align-items:center;justify-content:center}
.wv .sect-head h3{color:#fff;font-size:19px;line-height:1.2}
.sect-meta{display:block;margin-top:4px;font-size:12.5px;opacity:.9}
.sect-body{flex:1;display:flex;flex-direction:column;gap:12px;padding:14px 16px 16px}
.sect-values .sect-head{background:#5446ad}
.sect-faith .sect-head{background:#1f6f6b}
.sect-society .sect-head{background:#245c9c}
.sect-security .sect-head{background:var(--band)}
.sect-security .sect-ico{color:var(--hero-hi)}
.sect-policy .sect-head{background:#85560f}
.sect-other .sect-head{background:var(--accent)}
@media (max-width:759px){.sect-head{min-height:0}}

/* ---------- What the videos are (Nov 28, 2026, the editor's request) ---------- */
.video-about{margin-top:14px;max-width:820px;padding:14px 16px;border-left:3px solid var(--hero-hi);background:rgba(255,255,255,.06);border-radius:0 8px 8px 0}
.video-about p{margin:0;font-size:15px;line-height:1.55;color:var(--band-ink);opacity:.92}
.video-about p + p{margin-top:8px}
.video-about strong{color:#fff}
.video-about + .video-grid{margin-top:22px}
@media (min-width:760px){.sect-head{min-height:124px}}

/* ---------- Menu buttons: all bold, all with the dark outline (Nov 28, 2026, the editor's request) ----------
   Before, only "Islam in the West" had the bold text and darker outline. Now every button in the jump menu
   (and in the chart menu on the data page) has them. The part of the page being read is still filled. */
.site-nav a{border:1.5px solid var(--accent);color:var(--ink);font-weight:600}
.site-nav a:hover{border-color:var(--ink);background:var(--tint)}
.site-nav a[aria-current="true"]{background:var(--accent);border-color:var(--accent);color:#fff}

/* ---------- A tighter homepage (Nov 29, 2026, from the editor's review) ----------
   The "News by section" boxes are gone: the five sections, and "Islam in the West", are a row of buttons in the
   headline filters. Each button carries its section's picture on a small circle in its section's color (the
   same colors the boxes had). The buttons follow the rule for filter buttons: dark at rest, white when chosen. */
.chip-sec{display:inline-flex;align-items:center;gap:7px}
.chip-ico{flex:none;width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 0 0 1.5px rgba(255,255,255,.6)}
.chip-ico-focus{background:var(--accent)}
.chip-ico-values{background:#5446ad}
.chip-ico-faith{background:#1f6f6b}
.chip-ico-society{background:#245c9c}
.chip-ico-security{background:var(--band);color:var(--hero-hi)}
.chip-ico-policy{background:#85560f}
.chip-ico-other{background:var(--muted)}
.chip[aria-pressed="true"] .chip-ico{box-shadow:none}
.chip-sec[aria-pressed="true"]::before{margin-right:-3px}

/* Each part of the homepage is numbered in its bar and says in one line what it holds. */
.sec-part{display:inline-block;margin-right:9px;padding:2px 8px;border-radius:10px;background:rgba(255,255,255,.2);letter-spacing:.08em}
.sec-def{margin:5px 0 0;max-width:62ch;font-size:14.5px;line-height:1.45;color:#fff;opacity:.92}
.sec-bar{align-items:flex-start}
.sec-bar .sec-side{align-self:center}
@media (min-width:760px){ .sec-def{font-size:15.5px} }
.sec-text{flex:1 1 0;min-width:0}
@media (max-width:639px){ .sec-def{font-size:14px} .sec-part{margin-bottom:3px} }

/* ---------- A smaller top block (Nov 29, 2026, from the editor's review) ----------
   The dark block that holds the top story and the rotating figures took most of a screen. Same contents,
   about half the height: less padding, a smaller headline, a summary cut to two lines, smaller figures and
   a shorter chart. The link to the story and the chart's source line are unchanged. */
.hero{padding:16px 0 18px}
.hero-inner{gap:16px}
.hero-title{margin-top:6px;font-size:24px;line-height:1.15}
.hero-excerpt{margin-top:8px;font-size:15.5px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hero-meta{margin-top:8px}
.hero-actions{margin-top:10px}
.hero-cta{min-height:40px;padding:0 14px;font-size:14px}
.hero-share{width:40px;height:40px;min-height:0}
.hero-data{padding-top:14px}
.hero-stats{margin-top:6px;gap:12px}
.hero-stat b{font-size:22px}
.hero-stat span{margin-top:3px;font-size:12.5px;line-height:1.3}
.hero-chart{height:78px;margin-top:14px}
.hero-foot{margin-top:6px}
.hero-link{padding:4px 0}
@media (min-width:640px){
  .hero-stat b{font-size:24px}
}
@media (min-width:900px){
  .hero{padding:22px 0 22px}
  .hero-inner{gap:44px;align-items:center}
  .hero-title{font-size:32px}
  .hero-excerpt{font-size:16px}
  .hero-data{padding:0 0 0 32px}
  .hero-stat b{font-size:26px}
  .hero-chart{height:92px}
}
.hero-foot{flex-wrap:nowrap;align-items:flex-end}
.hero-foot span{flex:1 1 0;min-width:0}
.hero-link{flex:none;white-space:nowrap}
@media (min-width:900px){
  .hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:40px}
  .hero-stats{gap:16px}
  .hero-chart{margin-top:10px}
}
.hero-foot .cap-chart{opacity:1;flex:none}
.hero-top{flex-wrap:nowrap}
.hero-top .eyebrow{min-width:0}
/* On a phone the three figures stay and the small chart is left out; "Explore the chart" still leads to it. */
@media (max-width:639px){
  .hero-chart,.hero-foot .cap-chart{display:none}
  .hero-foot{align-items:center;margin-top:8px}
}

/* Smaller still (the editor, later the same day). The small chart is left out at every width (the three rotating
   figures, their source and the link to the full chart stay), the story's summary shows only on wide screens and
   on one line, and the source line shares a row with the buttons. */
.hero{padding:12px 0 14px}
.hero-inner{gap:12px}
.hero-title{margin-top:4px;font-size:21px}
.hero-excerpt{display:none}
.hero-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;margin-top:8px}
.hero-row .hero-meta,.hero-row .hero-actions{margin-top:0}
.hero-chart,.hero-foot .cap-chart{display:none}
.hero-data{padding-top:10px}
.hero-stats{margin-top:4px}
.hero-stat b{font-size:20px}
.hero-stat span{font-size:12px}
.hero-foot{margin-top:6px;align-items:center}
@media (min-width:640px){ .hero-stat b{font-size:22px} }
@media (min-width:900px){
  .hero{padding:16px 0}
  .hero-inner{gap:36px}
  .hero-title{font-size:27px}
  .hero-excerpt{display:-webkit-box;-webkit-line-clamp:1;margin-top:6px;font-size:15px}
  .hero-cta{min-height:36px;padding:0 12px;font-size:13.5px}
  .hero-share{width:36px;height:36px}
  .hero-data{padding:0 0 0 28px}
  .hero-stat b{font-size:24px}
}

/* ---------- Key figures: a bolder label and a smaller banner (Nov 29, 2026, from the editor's review) ----------
   The label is larger, heavier and dark, with a bar of the accent color beside it. The banner is about half its
   old height: each number sits beside its sentence instead of above it, the type is a little smaller, and the
   line saying that the figures rotate moved up beside the label. */
.figures{padding:10px 0 8px}
.fig-top{flex-wrap:wrap;gap:4px 14px}
.fig-title{display:inline-flex;align-items:center;gap:9px;font-size:15px;font-weight:800;letter-spacing:.1em;color:var(--ink)}
.fig-title::before{content:"";width:5px;height:19px;border-radius:2px;background:var(--accent)}
.fig-note{flex:1 1 0;min-width:0;font-size:12.5px;line-height:1.35;color:var(--muted)}
.fig-row{margin-top:2px}
.fig{padding:7px 0;gap:2px 12px}
.fig b{font-size:24px}
.fig span{font-size:13px;line-height:1.38}
.fig-label{font-size:10.5px;margin-bottom:0}
.figures .rot-btn{height:30px;min-width:30px}
@media (max-width:759px){
  .fig-note{order:3;flex:0 0 100%}
  .fig b{min-width:70px}
}
@media (min-width:760px){
  .figures{padding:12px 0 10px}
  .fig-title{font-size:16px}
  .fig-row{gap:0 30px}
  .fig{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:start;padding:5px 0 3px}
  .fig-label{grid-column:1 / -1;margin-bottom:2px}
  .fig b{display:block;font-size:28px;margin-bottom:0;min-width:0;line-height:1.05}
  .fig span{font-size:13.5px}
}

/* ---------- The Islam in the West introduction folds at every width (Nov 29, 2026, from the editor's review) ----------
   Only the opening paragraph shows. A filled button under it opens the rest, with a line beside it saying what
   is inside and how long it takes; a quiet button at the end of the text closes it again. */
.focus-fold{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:16px}
.focus-toggle{display:inline-flex;margin-top:0}
.focus-fold-note{font-size:14px;line-height:1.4;color:var(--muted)}
.focus-intro .focus-more{display:none}
.focus-intro.open .focus-more{display:block}
.focus-close{margin-top:20px}
@media print{.focus-intro .focus-more{display:block}.focus-fold,.focus-close{display:none}}

/* ---------- A smaller mosque banner on the homepage (Nov 29, 2026, from the editor's review) ----------
   Only the homepage copy (class "compact") shrinks; the full chart on data.html is unchanged. Same contents:
   the four counts, the rises between them, the caveat, and the note on who made the counts. Less padding, a
   shorter plot, smaller type, and on a wide screen the source note and the button share a row. */
.feature.compact .feature-band{padding:14px 16px 14px}
.feature.compact .chart-head h3{font-size:21px}
.feature.compact .chart-head p{margin-top:4px;font-size:14px;line-height:1.4}
.feature.compact .chart-head .btn-quiet{min-height:36px;padding:0 12px;font-size:13px}
.feature.compact .fp-plot{height:108px}
.feature.compact .fp-val{font-size:17px;transform:translate(-50%,calc(-100% - 9px))}
.feature.compact .fp-val.first{transform:translate(-6px,calc(-100% - 9px))}
.feature.compact .fp-val.last{font-size:30px;transform:translate(calc(-100% + 6px),calc(-100% - 9px))}
.feature.compact .fp-rise{font-size:11.5px;transform:translate(-50%,7px)}
.feature.compact .fp-years{height:17px;margin-top:6px;font-size:12px}
.feature.compact .fp-caption{margin-top:4px;font-size:12px}
.feature.compact .compare-note{margin-top:10px;padding:8px 12px;font-size:13px;line-height:1.4}
.feature.compact .feature-foot{padding:12px 16px;gap:10px}
.feature.compact .source-flag{padding:9px 13px;font-size:13px;line-height:1.4}
.feature.compact .source-flag strong{font-size:14px}
.feature.compact .source-flag p{margin-top:3px}
@media (min-width:760px){
  .feature.compact .feature-band{padding:18px 24px 16px;column-gap:36px}
  .feature.compact .chart-head h3{font-size:25px}
  .feature.compact .fp-plot{height:128px}
  .feature.compact .fp-val{font-size:20px}
  .feature.compact .fp-val.last{font-size:38px}
  .feature.compact .feature-foot{padding:14px 24px}
}
@media (min-width:900px){
  .feature.compact .feature-foot{flex-direction:row;align-items:center;gap:22px}
  .feature.compact .source-flag{flex:1 1 0;min-width:0}
  .feature.compact .feature-foot .btn{flex:none}
}
.feature.compact .fp{margin-top:8px;padding-top:40px}
@media (min-width:760px){ .feature.compact .fp{padding-top:48px} }
@media (min-width:900px){
  .feature.compact .feature-band{position:relative}
  .feature.compact .chart-head .btn-quiet{position:absolute;top:14px;right:24px}
  .feature.compact #mosque-hero{align-self:end}
}
/* The homepage copy drops the line that describes the full chart ("where they are, and when they were founded"),
   since the map and the founding dates are on data.html. On a phone the share button is left to the full chart too. */
.feature.compact .chart-head p{display:none}
.source-flag.is-clamped p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden}
.source-flag.is-clamped p + p{display:none}
.flag-more{margin-top:4px;padding:6px 0;font-size:13px}
@media (max-width:639px){
  .feature.compact .chart-head .btn-quiet{display:none}
  .feature.compact .feature-band{padding:12px 14px 12px}
  .feature.compact .fp-plot{height:92px}
  .feature.compact .compare-note{font-size:12.5px}
}
/* The homepage copy has no share button of its own (it would sit on top of the last count); the full chart on
   data.html keeps its share button. From 820px the heading and caveat sit beside the plot, to save height. */
.feature.compact .chart-head .btn-quiet{display:none}
@media (min-width:820px){
  .feature.compact .feature-band{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);grid-template-areas:"head plot" "note plot";grid-template-rows:auto 1fr;column-gap:32px}
  .feature.compact #mosque-hero{align-self:end}
  .feature.compact .compare-note{align-self:start}
}

/* ---------- Three charts, in turn (Nov 29, 2026, from the editor's review) ----------
   The mosque counts change about once a decade, so their spot in "Islam in the West" takes turns between three
   charts: the mosque counts, the Muslim share in the ten countries (Pew), and each country's own official count.
   All three sit in one grid cell, so the spot is as tall as the tallest and the page below never moves. The
   buttons follow the filter rule: dark at rest, white with a check mark when chosen. */
.spot{margin-top:22px}
.spot-top{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-bottom:10px}
.spot-top[hidden]{display:none}
.spot-label{font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--ink)}
.spot-ctl{flex-wrap:wrap;gap:6px}
.rot-tab{min-height:36px;padding:0 13px;border-radius:18px;border:1px solid var(--ink);background:var(--ink);color:var(--bg);font:600 13px/1 Inter,system-ui,sans-serif;cursor:pointer}
.rot-tab:hover{opacity:.88}
.rot-tab[aria-pressed="true"]{background:var(--surface);color:var(--ink);opacity:1}
.rot-tab[aria-pressed="true"]::before{content:"\2713\00a0"}
.spot-ctl .rot-btn{height:36px}
.spot-stack{display:grid;grid-template-columns:minmax(0,1fr)}
.spot-stack > .spot-slide{grid-area:1/1;min-width:0;margin:0;visibility:hidden}
.spot-stack > .spot-slide.is-on{visibility:visible}
.spot-stack > .spot-slide[hidden]{display:none}
.spot-slide .feature-foot{flex:1 1 auto}
.spot-slide .feature-band{flex:none}
.spot-plot{grid-area:plot;min-width:0;margin-top:10px}
.spot-key{margin-top:6px;font-family:Newsreader,Georgia,serif;font-size:17px;line-height:1.3;color:var(--hero-hi)}
.spot-note{font-size:13px;line-height:1.45;color:var(--ink2)}
.spot-note strong{display:block;font-size:14px;color:var(--ink)}
.spot-note p{margin-top:3px;max-width:900px}
.spot-note .link-inline{white-space:normal}
.sp-legend{display:flex;flex-wrap:wrap;gap:3px 16px;margin-top:8px;font-size:12px;opacity:.8}
.sp-legend span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.sp-legend i{display:inline-block;flex:none}
.k-tick{width:2px;height:12px;background:var(--band-ink)}
.k-bar{width:18px;height:6px;border-radius:0 3px 3px 0;background:var(--hero-hi)}
.k-ring{width:9px;height:9px;border-radius:50%;border:1.5px solid var(--band-ink);box-sizing:border-box}
.k-break{width:0;height:13px;border-left:1.5px dashed var(--band-ink)}

/* Slide 2: one row per country */
.sp-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.2;font-variant-numeric:tabular-nums}
.sp-table th,.sp-table td{padding:3px 0 3px 12px;text-align:right;font-weight:400;white-space:nowrap;vertical-align:middle}
.sp-table th:first-child{padding-left:0;text-align:left}
.sp-table thead th{padding-bottom:5px;font-size:11.5px;font-weight:600;opacity:.75}
.sp-table tbody th{font-weight:600}
.sp-table .sp-tc{width:100%}
.sp-table .sp-now{font-weight:700}
.sp-table .sp-fut{opacity:.82}
.sp-pj{font-weight:400}
.sp-table .chip-dot{width:9px;height:9px;margin-right:6px;vertical-align:0}
.sp-track{position:relative;display:block;height:12px;margin-right:5px}
.sp-track::before{content:"";position:absolute;left:0;right:0;top:5.5px;height:1px;background:rgba(255,255,255,.18)}
.sp-bar{position:absolute;left:0;top:3px;height:6px;border-radius:0 3px 3px 0;background:var(--hero-hi)}
.sp-proj{position:absolute;top:5px;height:0;border-top:1.5px dashed rgba(255,255,255,.62)}
.sp-ring{position:absolute;top:1.5px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;border:1.5px solid var(--band-ink);background:var(--band);box-sizing:border-box}
.sp-tick{position:absolute;top:0;width:2px;height:12px;margin-left:-1px;background:var(--band-ink);box-shadow:0 0 0 1px var(--band)}

/* Slide 3: one small panel per country, drawn like the mosque counts. Each panel has its own years; all share
   one percentage scale. The two figures sit under each panel, so nothing in the plot can collide. */
.sc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 12px}
.sc-panel{display:flex;flex-direction:column;min-width:0}
.sc-name{min-height:31px;display:flex;align-items:flex-end;font-size:12.5px;font-weight:600;line-height:1.2}
.sc-name .chip-dot{width:9px;height:9px;margin-right:6px;vertical-align:0}
.sc-plot{position:relative;height:44px;margin:8px 5px 0;border-bottom:1px solid rgba(255,255,255,.32)}
.sc-plot svg{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}
.sc-dot{position:absolute;width:5px;height:5px;margin:-2.5px 0 0 -2.5px;border-radius:50%;background:var(--hero-hi)}
.sc-dot.end{width:9px;height:9px;margin:-4.5px 0 0 -4.5px;box-shadow:0 0 0 2px var(--band)}
.sc-ends{display:flex;justify-content:space-between;margin-top:5px;line-height:1}
.sc-ends span{display:flex;flex-direction:column;gap:3px}
.sc-ends .last{align-items:flex-end}
.sc-ends i{font-style:normal;font-size:11px;opacity:.75}
.sc-ends b{font-family:Newsreader,Georgia,serif;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.sc-ends .last b{font-size:20px;color:var(--hero-hi)}
.k-dash{width:18px;height:0;border-top:2px dashed var(--hero-hi)}
@media (min-width:640px){
  .sc-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
  .sc-plot{height:104px}
  .sc-name{font-size:13px}
  .sc-ends .last b{font-size:22px}
}
/* Where the heading sits beside the plot and the screen is not yet wide, the panels are narrow: smaller figures. */
@media (min-width:820px) and (max-width:1139px){
  .sc-ends b{font-size:13.5px}
  .sc-ends .last b{font-size:17px}
  .sc-name{font-size:12.5px}
}
@media (min-width:760px){
  .sp-table{font-size:13.5px}
}
@media (min-width:820px){
  .feature.compact .spot-plot{align-self:end;margin-top:0}
}
@media (max-width:639px){
  .rot-tab{padding:0 11px;font-size:12.5px}
  .sp-table th,.sp-table td{padding-left:8px}
  .spot-key{font-size:16px}
}
@media print{
  .spot-top{display:none}
  .spot-stack{display:block}
  .spot-stack > .spot-slide{visibility:visible;margin-bottom:16px}
}
.sc-name .nb{white-space:nowrap}
.sp-axis{display:flex;justify-content:space-between;margin-right:5px;font-weight:400}
.spot-note.is-clamped p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
@media (max-width:639px){
  /* The label and Pause share the first line; the three chart buttons take the second. */
  .spot-top{position:relative;gap:8px}
  .spot-label{width:100%;line-height:32px;padding-right:70px}
  .spot-ctl{position:static;gap:5px}
  .spot-ctl .rot-pause{position:absolute;top:0;right:0;height:32px}
  .rot-tab{padding:0 10px}
  .sp-table{font-size:12.5px}
  .sp-table th,.sp-table td{padding:2px 0 2px 7px}
  .sp-table thead th{vertical-align:bottom;line-height:1.15}
  .sp-pj{display:block}
  .sp-table .chip-dot{margin-right:4px}
}
@media (max-width:639px){
  .rot-tab{padding:0 8px;font-size:12px}
  .spot-ctl{gap:4px}
}
.sp-legend span{white-space:normal}

/* Fix (Nov 29, 2026): on a narrow phone the "Feeds last updated" line in the Latest headlines bar was a full row
   plus its 58px indent, so it ran past the screen edge and let the whole page slide sideways. */
@media (max-width:479px){ .sec-side{flex:0 0 calc(100% - 58px)} }
@media (min-width:820px){ .sc-plot{height:140px} }

/* ---------- Kind icons on "Worth your time" (Nov 29, 2026, from the editor's review) ----------
   Each kind of piece has one round picture and one color, the same every week: a gavel for a court outcome, a
   scroll for a new law, a stamp for an official decision, a clipboard for an official report, a percent sign
   for official figures, a magnifying glass for research, an eye for a monitoring report, layers for in depth.
   The card's left edge takes the same color. No red: a warning color would be the site passing judgment by
   color. The word always stays beside the picture, so the meaning never rests on the picture or its color.
   The pictures are in FEATURED_KIND in site.js; a kind with no line there gets a bookmark in the accent color. */
.featured-card{--kc:var(--accent);border-left-color:var(--kc)}
.featured-card .kind-row{margin-bottom:8px}
.featured-card .kind-ico{background:var(--kc);width:44px;height:44px}
.featured-card .kind-ico svg{width:24px;height:24px}
.featured-card .kind-row .eyebrow{margin:0;font-size:13px;letter-spacing:.09em}
.featured-card:hover .kind-ico{box-shadow:0 0 0 3px var(--tint)}
.sk-court{--kc:#5b3fa8}
.sk-law{--kc:#0f7f86}
.sk-decision{--kc:#a8651a}
.sk-report{--kc:#2f6fb0}
.sk-figures{--kc:#2e8b57}
.sk-research{--kc:#a03a7c}
.sk-monitor{--kc:#6f7d1c}
.sk-depth{--kc:#33383d}
@media print{.featured-card .kind-ico{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* ---------- Topic icons on the three story cards (Nov 29, 2026, from the editor's review) ----------
   Each topic has its own picture (TOPIC_ICON in site.js). The circle takes the color of the topic's section,
   the same colors as the Section buttons above the cards, so the picture says which topic and the color says
   which section. White pictures on every color, the dark Security color included. No red. The word always
   stays beside the picture. A separate set from the kinds of piece under "Worth your time". */
.story .topic-row{margin-bottom:0;align-items:center}
.story .topic-row .eyebrow{line-height:1.35}
.topic-ico{width:40px;height:40px;background:var(--muted)}
.topic-ico-values{background:#5446ad}
.topic-ico-faith{background:#1f6f6b}
.topic-ico-society{background:#245c9c}
.topic-ico-security{background:var(--band)}
.topic-ico-policy{background:#85560f}
.story:hover .topic-ico{box-shadow:0 0 0 3px var(--tint)}
@media print{.topic-ico{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* ---------- The faith and the political movement, side by side (Nov 29, 2026, from the editor's review) ----------
   The three link cards that sat above the two news boxes with no heading are now inside the boxes: each box has
   its subject's latest headlines and, under them on a tinted foot, the charts or records behind them. The foot
   sits at the bottom of each box, so the two feet line up whatever the length of the headlines. */
.wv .focus-col{display:flex;flex-direction:column}
.focus-col .focus-body{flex:1 1 auto}
.wv .focus-part{margin:0 0 10px;font-family:Inter,system-ui,sans-serif;font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.focus-ref{border-top:2px solid var(--edge);background:var(--tint);padding:14px 18px 8px}
.focus-ref .focus-part{margin-bottom:4px}
.ref-link{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line);color:inherit}
.focus-ref .focus-part + .ref-link{border-top:0}
.ref-link:hover{text-decoration:none}
.ref-link .kind-ico{width:40px;height:40px}
.ref-link-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:1px}
.ref-link-text .eyebrow{font-size:11px}
.ref-link-text strong{font-family:Newsreader,Georgia,serif;font-size:18px;font-weight:600;line-height:1.25;color:var(--ink)}
.ref-link:hover strong{color:var(--accent);text-decoration:underline}
.ref-link-desc{font-size:14px;color:var(--ink2);line-height:1.4}
.ref-link-go{flex:none;font-size:26px;line-height:1;color:var(--accent)}
.ref-link:hover .kind-ico{box-shadow:0 0 0 3px #fff}
@media (max-width:639px){.ref-link-desc{display:none}.ref-link-text strong{font-size:17px}}
/* On two columns the header, the headlines and the foot of the two boxes share rows, so they line up exactly. */
@supports (grid-template-rows:subgrid){
  @media (min-width:760px){
    .focus-cols{grid-template-rows:auto 1fr auto}
    .wv .focus-col{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}
  }
}

/* ---------- Black and white, to try (Nov 29, 2026, at the editor's request) ----------
   Three variations, for comparison only: nothing changes on the site unless one is chosen. They are reached with
   ?palette=i, j or k and the chooser bar (the color chooser script). The page, the type, the bars and the bands go black,
   white and gray; the pictures keep their colors (chart lines, country dots, the kind, topic and section icons),
   so they stand out against it.
     I  Ink        white page, black bars and bands, no color at all outside the pictures.
     J  Newsprint  warm off-white paper, white cards, black bands, and the gold kept as the one highlight.
     K  Rules      white page with newspaper-style section heads: black type under a heavy black rule, in place
                   of filled bars. The top block and the banners on the other pages stay black. */
.wv.pal-ink{--bg:#FFFFFF;--surface:#FFFFFF;--ink:#111111;--ink2:#3A3A3A;--muted:#696969;--line:#E3E3E3;--accent:#1F1F1F;--tint:#F3F3F2;--band:#0B0B0B;--band-ink:#F5F5F5;--hero-hi:#FFFFFF;--edge:#BDBDBD}
.wv.pal-news{--bg:#F5F3EE;--surface:#FFFFFF;--ink:#141414;--ink2:#3D3B38;--muted:#6B6863;--line:#E2DED6;--accent:#262524;--tint:#ECE9E2;--band:#0F0F0F;--band-ink:#F4F2ED;--hero-hi:#E9B872;--edge:#C4BFB5}
.wv.pal-rules{--bg:#FFFFFF;--surface:#FFFFFF;--ink:#111111;--ink2:#3A3A3A;--muted:#696969;--line:#E3E3E3;--accent:#1F1F1F;--tint:#F3F3F2;--band:#0B0B0B;--band-ink:#F5F5F5;--hero-hi:#FFFFFF;--edge:#BDBDBD}
/* With a black accent a link in running text no longer stands out by color, so it is underlined. */
.wv.pal-ink .link-inline,.wv.pal-news .link-inline,.wv.pal-rules .link-inline,
.wv.pal-ink .prose a:not(.btn):not(.brand),.wv.pal-news .prose a:not(.btn):not(.brand),.wv.pal-rules .prose a:not(.btn):not(.brand),
.wv.pal-ink .focus-next a,.wv.pal-news .focus-next a,.wv.pal-rules .focus-next a,
.wv.pal-ink .site-what a,.wv.pal-news .site-what a,.wv.pal-rules .site-what a{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
/* The faith box stays a step lighter than the political box, so the two headers still differ without color. */
.wv.pal-ink .is-faith .focus-head,.wv.pal-news .is-faith .focus-head,.wv.pal-rules .is-faith .focus-head{background:#4A4A4A}
/* K, Rules: section heads as black type under a heavy rule. The rule and the hairline run edge to edge the same
   way the filled bar's color did. */
.wv.pal-rules .sec-bar{background:none;box-shadow:none;color:var(--ink);
  border-image:linear-gradient(#111 0 5px,#fff 5px calc(100% - 1px),#111 calc(100% - 1px)) fill 0 / 0 / 0 100vmax}
.wv.pal-rules .sec-title{color:var(--ink)}
.wv.pal-rules .sec-def{color:var(--ink2);opacity:1}
.wv.pal-rules .sec-kicker{opacity:1;color:var(--ink2)}
.wv.pal-rules .sec-side{opacity:1;color:var(--ink2)}
.wv.pal-rules .sec-ico{background:#111;color:#fff}
.wv.pal-rules .sec-part{background:#111;color:#fff}
.wv.pal-rules .sec-bar{padding-top:22px}
@media print{.wv.pal-rules .sec-bar{border-image:none;border-top:4px solid #111}}

/* ---------- Section heads centered (Nov 29, 2026, from the editor's review) ----------
   The part number, the section's name and its one-line description sit in the middle of the page. The picture
   stays at the left edge and any side note (the "Feeds last updated" line) at the right, in equal columns, so
   the words are centered on the page itself and not just in the space left over. On a phone the side note drops
   to a centered line of its own. Applies to all six section heads, so they stay alike. */
.sec-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(0,1fr);align-items:center;column-gap:16px}
.sec-bar .sec-ico{grid-column:1;justify-self:start}
.sec-bar .sec-text{grid-column:2;text-align:center;max-width:660px}
.sec-bar .sec-def{margin-left:auto;margin-right:auto}
.sec-bar .sec-part{margin-right:7px}
.sec-bar .sec-side{grid-column:3;justify-self:end;align-self:center;margin-left:0;text-align:right;flex:none}
@media (max-width:759px){
  .sec-bar{grid-template-columns:44px minmax(0,1fr) 44px;column-gap:8px;align-items:start}
  .sec-bar .sec-side{grid-column:1 / -1;justify-self:center;text-align:center;margin:8px 0 0}
}

/* ---------- Nameplate header (Nov 29, 2026; being tried on the homepage, at the editor's request) ----------
   Switched on by the class brand-plate on <body>. The name sits in the middle of the header between a heavy rule
   and a hairline, with the symbol beside it and the tagline in small capitals under it; the search box moves to
   the left and Subscribe stays on the right, the way a newspaper sets its front page. Once the page is scrolled
   the rules and the tagline go and the name shrinks, so the header stays one slim row. On a phone the name has
   the first row to itself and the search box and Subscribe share the second. The period after the name is not
   shown in this version. The symbol is the letters W and V drawn as one line. */
.brand-plate .header-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px}
.brand-plate .header-tools{display:contents}
.brand-plate .site-header .brand{grid-column:1 / -1;grid-row:1;justify-self:center;align-items:center;gap:0}
.brand-plate .site-header .brand-row{gap:12px;padding:8px 16px 5px;border-top:4px solid var(--ink);border-bottom:1px solid var(--ink)}
.brand-plate .site-header .brand-name{font-size:36px;letter-spacing:-.012em;line-height:1.05}
.brand-plate .brand-name span{display:none}
.brand-plate .site-header .brand-mark{width:32px;height:32px;border-radius:0}
.brand-plate .site-header .brand .meta{padding-top:7px;font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);text-align:center}
.brand-plate .search{grid-column:1;grid-row:2;width:auto;max-width:none}
.brand-plate .header-tools .btn{grid-column:2;grid-row:2}
@media (min-width:900px){
  .brand-plate .header-top{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:20px;padding-top:14px;padding-bottom:12px}
  .brand-plate .site-header .brand{grid-column:2}
  .brand-plate .site-header .brand-name{font-size:46px}
  .brand-plate .site-header .brand-mark{width:40px;height:40px}
  .brand-plate .site-header .brand-row{gap:14px;padding:9px 22px 6px}
  .brand-plate .site-header .brand .meta{font-size:11.5px;letter-spacing:.17em}
  .brand-plate .search{grid-row:1;width:100%;max-width:280px;justify-self:start}
  .brand-plate .header-tools .btn{grid-column:3;grid-row:1;justify-self:end}
}
/* scrolled: one slim row */
body.scrolled.brand-plate .header-top{padding-top:8px;padding-bottom:8px;row-gap:0}
body.scrolled.brand-plate .site-header .brand-row{border:0;padding:0;gap:9px}
body.scrolled.brand-plate .site-header .brand-name{font-size:24px}
body.scrolled.brand-plate .site-header .brand-mark{width:26px;height:26px}
@media (max-width:899px){
  body.scrolled.brand-plate .site-header .brand{grid-column:1;justify-self:start}
  body.scrolled.brand-plate .header-tools .btn{grid-column:2;grid-row:1}
  body.scrolled.brand-plate .search{display:none}
}
/* On the pages that have a "Back to the homepage" button in place of the search box, that one button sits
   centered under the name on narrow screens, and at the right once the page is scrolled or the screen is wide. */
@media (max-width:899px){
  .brand-plate .header-tools .btn:only-child{grid-column:1 / -1;justify-self:center}
}

/* ---------- Color back on the faith and political icons (Nov 29, 2026, from the editor's review) ----------
   In the black-and-white look the two box headers went gray and black and their round pictures went white on
   gray, so they no longer stood out like the other icons. Each gets a colored circle again: teal for the faith
   (the color of the Faith & Places of Worship section) and gold for the political movement (the gold that box
   had before). A thin white ring lifts them off the dark headers. Neither is a warning color. */
.focus-ico{box-shadow:0 0 0 2px rgba(255,255,255,.9)}
.is-faith .focus-ico{background:#23988f;color:#fff}
.is-political .focus-ico{background:#E9B872;color:#111}
@media print{.focus-ico{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* ---------- Key figures at about half the height (Nov 29, 2026, from the editor's review) ----------
   Two figures side by side in place of three. Each is its number with one short paragraph beside it, and the
   place label ("In the West") runs in at the start of that paragraph. The label "Key figures" and the buttons
   share one line above the figures; on a wide screen they move into a narrow column at the left, so the whole
   banner is one short row. On a phone the two figures stack. The sentences were shortened to match. */
.figures-slim{padding:9px 0 8px}
.figures-slim .fig-top{flex-wrap:nowrap}
.figures-slim .fig-row{margin-top:3px;grid-template-columns:minmax(0,1fr);gap:0}
.figures-slim .fig{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:start;align-content:start;padding:6px 0 5px;border-top:1px solid var(--line)}
.figures-slim .fig:first-child{border-top:0}
.figures-slim .fig b{display:block;min-width:0;margin:0;font-size:26px;line-height:1.08}
.figures-slim .fig > span{font-size:13px;line-height:1.38}
.figures-slim .fig-label{display:inline;margin:0 4px 0 0;font-size:10.5px;letter-spacing:.08em;white-space:nowrap}
@media (min-width:600px){
  .figures-slim .fig-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
  .figures-slim .fig{border-top:0}
}
@media (min-width:1000px){
  .figures-slim{padding:11px 0 9px}
  .figures-slim .fig-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:28px;align-items:center}
  .figures-slim .fig-top{flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding-right:24px;border-right:1px solid var(--edge);align-self:stretch}
  .figures-slim .fig-row{margin-top:0;gap:0 30px}
  .figures-slim .fig b{font-size:30px}
  .figures-slim .fig > span{font-size:13.5px}
}
/* Between a phone and a wide screen the side note ("Feeds last updated") was squeezed into a narrow column beside
   the centered title; there it takes a centered line of its own, as on a phone. */
@media (min-width:760px) and (max-width:999px){
  .sec-bar .sec-side{grid-column:1 / -1;justify-self:center;text-align:center;margin:6px 0 0}
}

/* ---------- Filter buttons centered (Nov 29, 2026, from the editor's review) ----------
   Where the Country and Section buttons wrap onto more than one row, each row is centered, so a short last row
   no longer hangs at the left. The labels "Country" and "Section" and the Topic row are centered with them. On
   a phone the buttons stay one swipeable row that starts at the left, so the first choice is never off screen. */
@media (min-width:640px){
  .filters .chips{justify-content:center}
  .filters .filter-label{text-align:center}
  .filters .filter-row{justify-content:center}
}

/* ---------- "More charts": a dividing line and a line of text (Nov 29, 2026, from the editor's review) ----------
   The heading sits under a rule that sets the link cards apart from the birth-rate chart above them, with one
   paragraph saying what the cards are. Same ruled heading as "The faith and the political movement". */
.more-head{margin-top:40px;border-top-color:var(--ink)}
.more-lede{max-width:72ch}
.more-lede + .link-cards{margin-top:18px}

/* ---------- A larger "Birth rates" label on the homepage chart (Nov 29, 2026, from the editor's review) ----------
   The small label above the chart's title is the quickest way to tell what the chart is about, so on the
   homepage it is set large and heavy, with a short black bar under it. The charts page keeps the small labels,
   where every chart has one and they sit in a row of ten. */
#data #chart-birthrate .chart-head .eyebrow{display:inline-block;font-size:22px;font-weight:800;letter-spacing:.07em;line-height:1.15;color:var(--ink);padding-bottom:6px;border-bottom:4px solid var(--ink)}
#data #chart-birthrate .chart-head h3{margin-top:10px}
@media (min-width:760px){#data #chart-birthrate .chart-head .eyebrow{font-size:26px}}

/* ---------- Contact, easier to reach and to use (Nov 30, 2026, from the editor's walk-through) ----------
   "Contact" joins the strip under the header and the top menu on the homepage. On the Contact page two buttons
   sit under the opening line: one opens the reader's email program, one copies the address. */
.site-what .what-sep{margin:0 4px;color:var(--muted)}
.contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:16px}
.wv .contact-actions .btn{color:#fff;text-decoration:none}
.wv .contact-actions .btn-quiet{color:var(--ink);border-color:var(--edge);font-size:15px;font-weight:600}
.contact-actions .meta{flex:1 1 220px;font-size:14px;color:var(--ink2)}

/* ---------- "Islam in the West": text centered under the title (Dec 1, 2026, from the editor's review) ----------
   The opening paragraph, with its button, sits in the middle of the page under the section's name. So do the
   heading "The faith and the political movement, side by side" and the text below it. The long text that opens
   from the button stays left-aligned, in a column that is itself centered, because long centered text is hard
   to read. */
#islam .focus-intro{margin-left:auto;margin-right:auto}
#islam .focus-lede{text-align:center}
#islam .focus-fold{justify-content:center;text-align:center}
#islam .focus-newshead,#islam .focus-newslede{text-align:center}
#islam .focus-newslede{margin-left:auto;margin-right:auto}
/* The same centering for the other headings and introductory lines on the homepage (Dec 1, 2026): "More charts
   to consider" and its text, the line under "Data & charts", the text above and below the videos, and the note
   under "Worth your time". */
#data > .lede,#data .more-head,#data .more-lede,#videos .lede,#videos .video-about,#videos .video-note,#featured .featured-note{text-align:center;margin-left:auto;margin-right:auto}
/* ---------- Tighter headline filters (Dec 1, 2026, at the editor's request) ----------
   "Country" and "Section" are large headings, each with one line saying how the buttons work; the "All" buttons
   are gone. The buttons are smaller and closer together, the counts are plain figures in place of badges, and a
   thin line separates the three rows. */
.wv .filters{gap:0;padding:6px 16px 12px}
.filters > div{padding:10px 0}
.filters > div + div{border-top:1px solid var(--line)}
.filters > div:not(.filter-row) > .filter-label{font-family:Newsreader,Georgia,serif;font-size:22px;font-weight:600;line-height:1.2;color:var(--ink)}
.filter-hint{margin:2px 0 9px;font-size:13.5px;line-height:1.4;color:var(--muted)}
.filters .chips{gap:6px}
.filters .chip{min-height:36px;padding:0 12px;border-radius:18px;font-size:13.5px}
.filters .chip .chip-n,.filters .chip[aria-pressed="true"] .chip-n{margin-left:3px;padding:0;background:none;font-weight:400;font-size:12px;color:inherit;opacity:.7}
.filters .chip-dot{width:9px;height:9px;margin-right:6px}
.filters .chip-sec{gap:6px;padding-left:8px}
.filters .chip-ico{width:20px;height:20px;border-radius:6px}
.filters .filter-row .filter-label{font-family:Newsreader,Georgia,serif;font-size:19px}
@media (min-width:640px){.filters .filter-hint{text-align:center}}
/* On a wide screen the section buttons are trimmed a little further so they sit on one row. */
@media (min-width:1200px){
  .filters #section-chips{gap:4px;margin:0 -6px}
  .filters .chip-sec{gap:4px;padding:0 7px 0 5px;font-size:12.5px}
  .filters .chip-sec .chip-n{margin-left:1px;font-size:11.5px}
  .filters .chip-sec[aria-pressed="true"]::before{margin-right:-2px}
}

/* The headline count, last in the top menu (Dec 1, 2026): a dotted outline and a gray fill set it apart from the
   buttons that jump to a part of the page. */
.site-nav .nav-count{flex:none;display:inline-flex;align-items:center;gap:5px;padding:7px 13px;border:1.5px dashed var(--ink);border-radius:20px;background:var(--tint);color:var(--ink);font-family:inherit;font-size:14px;font-weight:500;line-height:1.2;white-space:nowrap;cursor:pointer;font-variant-numeric:tabular-nums}
.site-nav .nav-count[hidden]{display:none}
.site-nav .nav-count b{font-weight:800}
.site-nav .nav-count:hover{border-style:solid;background:var(--surface)}
body.scrolled .site-nav .nav-count{padding:6px 12px}

/* The box about the videos had its rule down the left side; centered, the rule runs across the top. */
#videos .video-about{border-left:0;border-top:3px solid var(--hero-hi);border-radius:0 0 8px 8px}

/* ---------- One icon family (Dec 1, 2026, at the editor's request) ----------
   Every box icon shares one modern look: a rounded square tile in its own color with a soft light from the top,
   a finer line, and a faint fill inside the closed shapes so each picture has two tones. The colors and pictures
   still differ from box to box. It covers the link cards, the two "side by side" headers, the topic and "Worth
   your time" icons, the small ones on the Section buttons and the pictures in the section heads. */
.wv .kind-ico,.wv .focus-ico,.wv .sec-ico,.wv .chip-ico{border-radius:30%;background-image:linear-gradient(155deg,rgba(255,255,255,.24),rgba(255,255,255,0) 48%,rgba(0,0,0,.16))}
.wv.pal-rules .sec-ico{background-image:linear-gradient(155deg,rgba(255,255,255,.2),rgba(255,255,255,0) 55%)}
.wv .kind-ico,.wv .focus-ico{box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 3px 8px -3px rgba(17,17,17,.4)}
.wv .focus-ico{box-shadow:inset 0 0 0 1px rgba(255,255,255,.35),0 4px 12px -4px rgba(0,0,0,.6)}
.wv .kind-ico svg,.wv .focus-ico svg,.wv .sec-ico svg{stroke-width:1.7}
.wv .chip-ico{border-radius:7px}
.wv .chip-ico svg{stroke-width:2}
/* The second tone: closed shapes get a faint fill. Solid dots drawn with their own fill are left as they are. */
.wv :is(.kind-ico,.focus-ico,.sec-ico,.chip-ico) svg :is(rect,circle,polygon,path[d$="z"],path[d$="Z"]):not([fill]),
.wv :is(.kind-ico,.focus-ico,.sec-ico,.chip-ico) svg .tone{fill:currentColor;fill-opacity:.26}
@media print{.kind-ico,.sec-ico,.chip-ico{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* A way to look before signing up (Dec 2, 2026) */
.wv .signup-sample a{color:#fff;font-weight:600;text-decoration:underline;text-underline-offset:3px;display:inline-block;padding:4px 0}
.wv #signup-form .signup-note{flex:0 0 100%;max-width:none;margin-bottom:0}

/* Country boxes that open a page of their own (Dec 2, 2026) */
.wv a.country{color:inherit;text-decoration:none}
.wv a.country:hover{text-decoration:none}
.wv .country.has-page{border:2px solid #111}
.wv .country .country-go{display:block;margin-top:auto;font-size:13px;font-weight:700;background:#111;color:#fff;border-radius:6px;padding:7px 8px;text-align:center}

/* Headline rows centered (the editor, Dec 4, 2026): in the list under the three story cards in
   "Latest headlines," the topic label, the headline and the source line are centered in each row. */
.headline-list .story-row > div{text-align:center;flex:1 1 auto;min-width:0;padding-left:56px} /* 56px balances the share button, so the words sit on the row's middle */
.headline-list .story-row .eyebrow{display:block;width:fit-content;margin:0 auto 7px;padding:0 12px 6px;border-bottom:1px solid var(--edge)} /* a thin rule between the topic title and the headline; set a little below the words and a little wider than them, so it does not read as a link's underline */

/* "The editor's view" label on the Islam in the West introduction (the editor, Dec 4, 2026): the introduction
   is opinion and observation, and says so before its first line. */
.focus-intro .focus-view{display:inline-block;margin:0 0 4px;padding:6px 12px;border:1px solid var(--edge);border-left:4px solid var(--ink);font-size:14px;line-height:1.4;color:var(--ink2)}
.focus-intro .focus-behind{font-size:14px}

/* The two side-by-side boxes, centered (the editor, Dec 4, 2026): in each box's header the small label and the
   title sit on the middle of the box, with the picture kept at the left edge; "Latest headlines," "The numbers
   behind them" and "The record behind them" are centered too. The 60px on each side of the title balances the
   picture, so the words are centered on the box and never run under it. */
.focus-col .focus-head{position:relative;justify-content:center;text-align:center;padding-left:78px;padding-right:78px;min-height:74px}
.focus-col .focus-head .focus-ico{position:absolute;left:18px;top:50%;transform:translateY(-50%)}
.focus-col .focus-part{text-align:center}
/* "The numbers behind them" and "The record behind them" read as headings (the editor, Dec 4, 2026):
   larger, heavier and in the page's black, with a short rule under them. */
.focus-col .focus-ref .focus-part{font-size:15px;font-weight:800;color:var(--ink);letter-spacing:.06em;padding-bottom:8px;margin-bottom:10px;border-bottom:2px solid var(--ink)}

/* Chart cards centered (the editor, Dec 4, 2026): on the nine cards under "More charts to consider," the topic
   title, the chart's name, its description and "Open the chart" are centered, with the same thin rule under the
   topic title as on the headline rows. */
.link-card.has-thumb{text-align:center}
.link-card.has-thumb .eyebrow{display:block;width:fit-content;margin:0 auto 7px;padding:0 12px 6px;border-bottom:1px solid var(--edge)}
.link-card.has-thumb .link-go{align-self:center}

/* Featured videos: less dark (the editor, Dec 4, 2026). The section's heading and its one line of text now sit
   on the page's own light background, like every other section. Only the videos themselves keep a dark panel,
   because the preview pictures and play buttons read best on black. */
.videos-band{background:transparent;color:inherit;padding:0 0 40px}
.videos-band .video-brief{max-width:720px;margin:14px auto 0;text-align:center;font-size:17px;line-height:1.5;color:var(--ink2)}
.videos-band .video-panel{margin-top:18px;padding:20px 20px 18px;background:var(--band);color:var(--band-ink);border-radius:12px}
.videos-band .video-panel .video-grid{margin-top:0}
@media(max-width:619px){.videos-band .video-panel{padding:14px 12px 14px;border-radius:10px}}

/* "Worth your time" cards centered (the editor, Dec 4, 2026): the kind (picture and word) is centered with the
   same thin rule under it as the headline rows and chart cards; the headline and the one-line note are centered.
   The source line and share button at the foot stay where they were. */
.featured-card .kind-row{justify-content:center;width:fit-content;margin-left:auto;margin-right:auto;padding:0 14px 8px;border-bottom:1px solid var(--edge)}
.featured-card h3,.featured-card .story-excerpt{text-align:center}

/* Topic menu: the chosen topic centered in its box */
#wv-topic{text-align:center;text-align-last:center}


/* Story cards: the topic picture and title centered on the card */
.story .topic-row{justify-content:center}
.story .topic-row .eyebrow{text-align:center}

