/*
Theme Name: SnusKitchen News
Description: Independent news portal on nicotine pouches: news, regulation tracker, guides and reviews.
Author: Komanda Studio
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: snuskitchen-news
*/

/* ==========================================================================
   Fonts. Druk is the brand display face; Source Serif 4 (OFL) is the reading
   face. UI text uses the system stack: Pragmatica has no accented glyphs.
   ========================================================================== */
@font-face { font-family: Druk; src: url(assets/fonts/DrukText-Medium.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: DrukWide; src: url(assets/fonts/DrukTextWide-Medium.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(assets/fonts/SourceSerif4-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(assets/fonts/SourceSerif4-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(assets/fonts/SourceSerif4-Italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC; }

:root {
  --orange: #F8883A;          /* brand: fills, rules, marks */
  --orange-ink: #B9520F;      /* brand orange that passes 4.5:1 as text on white */
  --orange-wash: #FEF1E7;
  --ink: #1F1A18;
  --ink-2: #4E4440;
  --muted: #73675F;
  --rule: #E7E0DB;
  --sand: #F7F3F0;
  --paper: #FFFFFF;
  --night: #1F1A18;

  --legal: #2E7D57; --restricted: #A45F00; --banned: #C0352B; --unclear: #6B6F80;

  --f-display: Druk, 'Arial Narrow', Impact, sans-serif;
  --f-label: DrukWide, 'Arial Black', sans-serif;
  --f-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --f-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--f-ui); }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover .hl, a.hl:hover, .card a:hover h2, .card a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.screen-reader-text, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 14px; z-index: 100; }

/* ---------- type primitives ---------- */
.kicker { font: 11px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); display: inline-flex; align-items: center; gap: 8px; }
.kicker::before { content: ''; width: 8px; height: 8px; background: var(--orange); flex: none; }
.kicker.plain::before { display: none; }
.kicker.sponsored { color: var(--ink-2); }
.kicker.sponsored::before { background: var(--muted); }
.hl { font-family: var(--f-display); font-weight: normal; text-transform: uppercase; line-height: .98; letter-spacing: .003em; margin: 0; overflow-wrap: break-word; }
.dek { font: 17px/1.45 var(--f-serif); color: var(--ink-2); margin: 0; }
.meta { font: 13px/1.35 var(--f-ui); color: var(--muted); margin: 0; }
.meta b { color: var(--ink-2); font-weight: 600; }

/* ---------- header ---------- */
.utility { background: var(--night); color: #CFC5BF; font: 12px/1 var(--f-ui); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; min-width: 0; }
.utility a:hover { color: #fff; }
.utility .langs { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.utility .langs a { text-transform: uppercase; }
.utility .langs a[aria-current] { color: var(--orange); }
.utility .tracker-link { display: inline-flex; align-items: center; gap: 6px; }
.utility .tracker-link::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 16px; }
.masthead .logo { color: var(--orange); display: block; }
.masthead .logo svg { width: 190px; display: block; }
.masthead .tag { font: 12px/1.35 var(--f-ui); color: var(--muted); max-width: 220px; margin: 0; }
.masthead .tools { justify-self: end; display: flex; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; background: #fff; cursor: pointer; color: var(--ink); padding: 0; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.search-panel { border-bottom: 1px solid var(--rule); background: var(--sand); padding: 18px 0; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.search-form input[type=search] { flex: 1; min-width: 0; font: 17px var(--f-ui); padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 0; background: #fff; }

.sections { border-bottom: 3px solid var(--ink); position: sticky; top: 0; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 20; }
.admin-bar .sections { top: 32px; }
.sections ul { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--wrap); display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.sections ul::-webkit-scrollbar { display: none; }
.sections a { display: block; padding: 15px 0 13px; font: 12.5px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.sections a:hover, .sections a[aria-current] { border-color: var(--orange); }
.sections .laws a { color: var(--orange-ink); }

.ticker { border-bottom: 1px solid var(--rule); }
.ticker .wrap { display: flex; align-items: center; gap: 14px; height: 44px; overflow: hidden; white-space: nowrap; font-size: 14px; }
.ticker .label { font: 10.5px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; background: var(--orange); color: var(--ink); padding: 6px 8px; flex: none; }
.ticker ul { min-width: 0; display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; overflow: hidden; }
.ticker li { color: var(--ink-2); }
.ticker time { color: var(--muted); margin-right: 6px; }

/* ---------- media: photo or data cover ---------- */
.media-link { display: block; }
:root { --media-ratio: 1344 / 472; } /* the featured-image format: wide banners, never cropped */
.media { display: block; aspect-ratio: var(--media-ratio); overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .media img { transform: scale(1.03); }
.cover { aspect-ratio: var(--media-ratio); display: flex; flex-direction: column; justify-content: space-between; padding: 6% 6.5%; background: var(--night); color: #fff; position: relative; overflow: hidden; }
.cover .lbl { font: 11px/1.3 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); max-width: 62%; position: relative; z-index: 1; }
.cover .big { font: clamp(44px, 7vw, 120px)/.86 var(--f-display); text-transform: uppercase; max-width: 74%; position: relative; z-index: 1; overflow-wrap: anywhere; }
.cover .big small { font-size: .42em; margin-left: .12em; }
.cover::after { content: ''; position: absolute; right: -8%; top: -30%; width: 40%; height: 160%; background: var(--orange); transform: rotate(18deg); }
.cover.c-orange { background: var(--orange); color: var(--ink); } .cover.c-orange .lbl { color: rgba(31,26,24,.72); } .cover.c-orange::after { background: var(--ink); }
.cover.c-sand { background: var(--sand); color: var(--ink); } .cover.c-sand .lbl { color: var(--muted); }
.card .cover .big { font-size: clamp(26px, 2.6vw, 40px); }
.card.lead .cover .big { font-size: clamp(44px, 6vw, 84px); }
.card.sm .cover::after { width: 30%; right: -12%; }

/* ---------- cards & lists ---------- */
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card .hl { font-size: 26px; }
.card.sm .hl { font-size: 21px; }
.card .dek { font-size: 15.5px; }
.card.lead .hl { font-size: clamp(38px, 5.2vw, 68px); }
.card.lead .dek { font-size: 19px; max-width: 46ch; }

.river { list-style: none; margin: 0; padding: 0; }
.river li { padding: 14px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.river li:first-child { border-top: 0; padding-top: 0; }
.river time { font: 12px/1.3 var(--f-ui); color: var(--muted); padding-top: 3px; }
.river a { font: 600 16px/1.3 var(--f-serif); }
.river a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.river .k { display: block; font: 10px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 5px; }

.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 22px; }
.block-head h2 { font: 30px/1 var(--f-display); text-transform: uppercase; margin: 0; }
.block-head a { font: 11px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font: 12px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; padding: 15px 20px; border: 0; cursor: pointer; }
.btn:hover { background: var(--orange); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* ---------- home ---------- */
.top { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 48px; }
.side-title { font: 11px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.seconds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.band { background: var(--sand); padding: 56px 0; margin: 8px 0 56px; }
.tracker-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.tracker-band .hl { font-size: clamp(36px, 4.4vw, 56px); margin: 14px 0; }
.tracker-band .dek { margin-bottom: 22px; }
.changes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.changes li { background: #fff; padding: 14px 16px; border-left: 3px solid var(--rule); }
.changes li.banned { border-color: var(--banned); } .changes li.restricted { border-color: var(--restricted); } .changes li.legal { border-color: var(--legal); } .changes li.unclear { border-color: var(--unclear); }
.changes b { display: block; font: 19px/1.05 var(--f-display); text-transform: uppercase; margin: 8px 0 4px; }
.changes .note { font-size: 13.5px; color: var(--ink-2); }
.section-block { margin-bottom: 64px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.start { counter-reset: g; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.start li { counter-increment: g; display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.start li::before { content: counter(g, decimal-leading-zero); font: 40px/0.9 var(--f-display); color: var(--orange); }
.start a { font: 600 18px/1.3 var(--f-serif); }
.start a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.start small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.disclosure { font-size: 14px; line-height: 1.5; color: var(--ink-2); background: var(--orange-wash); padding: 14px 16px; border-left: 3px solid var(--orange); margin: 0; }
.disclosure a { text-decoration: underline; }
.edition-note { font-size: 15px; color: var(--ink-2); }
.edition-note a { text-decoration: underline; text-decoration-color: var(--orange); }

/* ---------- archives ---------- */
.archive-head { padding: 40px 0 28px; border-bottom: 3px solid var(--ink); margin-bottom: 32px; }
.archive-head .hl { font-size: clamp(44px, 7vw, 96px); margin: 14px 0 12px; }
.archive-head .dek { max-width: 60ch; }
.archive-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.archive-list .card.lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px 32px; align-items: start; }
.archive-list .card.lead > .media-link { grid-row: 1 / span 5; }
.archive-list .card.lead > :not(.media-link) { grid-column: 2; }
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin: 48px 0 0; flex-wrap: wrap; }
.page-numbers { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--rule); font-size: 14px; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
a.page-numbers:hover { border-color: var(--ink); }
.empty { padding: 40px 0; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #CFC5BF; margin-top: 72px; padding: 56px 0 28px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: #fff; display: block; width: 170px; }
.site-footer h2 { font: 11px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 4px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a:hover { color: var(--orange); }
.site-footer .about { max-width: 34ch; margin-top: 18px; line-height: 1.55; }
.site-footer .legal { border-top: 1px solid #3A322F; margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #A79C96; }
.site-footer .legal a { text-decoration: underline; }
.age { display: inline-flex; align-items: center; gap: 8px; }
.age b { border: 1.5px solid #A79C96; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font: 11px/1 var(--f-label); color: #fff; flex: none; }

/* ---------- article ---------- */
.article-head { max-width: 900px; margin: 0 auto; padding: 40px var(--gut) 28px; text-align: center; }
.crumbs { font: 12.5px/1.4 var(--f-ui); color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: underline; text-decoration-color: var(--rule); }
.article-head .hl { font-size: clamp(40px, 6.4vw, 82px); margin: 18px 0 20px; }
.article-head .dek { font-size: clamp(18px, 2.1vw, 22px); max-width: 40em; margin: 0 auto; }
.byline { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; flex: none; }
.avatar svg { width: 22px; }
.byline .who { text-align: left; font-size: 14px; line-height: 1.4; }
.byline .who a { font-weight: 600; }
.updated { color: var(--legal); }
.hero-img { max-width: 1120px; margin: 0 auto; padding: 0 var(--gut); }
.hero-img .media, .hero-img .cover { aspect-ratio: var(--media-ratio); }
.hero-img .cover .big { font-size: clamp(48px, 8vw, 112px); }
.hero-img figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.article-grid { max-width: 1040px; margin: 40px auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: 250px minmax(0, 680px); gap: 56px; justify-content: center; }
.aside { position: sticky; top: 72px; align-self: start; font-size: 14px; }
.toc h2 { font: 11px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); line-height: 1.35; }
.toc a:hover, .toc a.on { border-color: var(--orange); color: var(--ink); }
.status-card { margin-top: 28px; border: 1px solid var(--rule); padding: 18px; }
.status-card p { margin: 10px 0 0; }

.prose { font: 19px/1.68 var(--f-serif); color: #2A2321; min-width: 0; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 34px/1 var(--f-display); text-transform: uppercase; margin-top: 1.8em; }
.prose h3 { font: 600 21px/1.3 var(--f-serif); margin-top: 1.6em; }
.prose h4 { font: 600 18px/1.3 var(--f-serif); margin-top: 1.4em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { background: var(--orange-wash); }
.prose a.btn { color: #fff; text-decoration: none; background: var(--ink); }
.prose a.btn:hover { background: var(--orange); color: var(--ink); }
.prose code { font: 0.85em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--sand); padding: 1px 5px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--orange-ink); }
.prose strong, .prose b { font-weight: 600; }
.prose span[style] { font-weight: inherit !important; color: inherit !important; }
.prose img { height: auto; margin-inline: auto; }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-caption-text { font: 13px/1.4 var(--f-ui); color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 4px solid var(--orange); font-size: 24px; line-height: 1.3; font-style: italic; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.4 var(--f-ui); display: block; overflow-x: auto; }
.prose th { text-align: left; font: 10.5px/1.2 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 12px 10px 0; border-bottom: 2px solid var(--ink); }
.prose td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--rule); }
.prose .lead-p { font-size: 1.12em; line-height: 1.6; color: var(--ink); }
.alignleft { float: left; margin: .3em 1.4em 1em 0; } .alignright { float: right; margin: .3em 0 1em 1.4em; } .aligncenter { margin-inline: auto; }
.keyfacts { background: var(--sand); padding: 22px 24px; font: 16px/1.5 var(--f-ui); }
.keyfacts h2 { font: 11px/1 var(--f-label) !important; letter-spacing: .12em; margin: 0 0 12px !important; text-transform: uppercase; }
.keyfacts ul { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { font: 13px/1 var(--f-ui); padding: 8px 12px; border: 1px solid var(--rule); border-radius: 99px; display: inline-flex; gap: 7px; align-items: center; }
.chip:hover { border-color: var(--ink); }
.chip i { width: 8px; height: 8px; border-radius: 50%; }
.author-box { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font: 15px/1.5 var(--f-ui); margin-top: 40px; }
.author-box .avatar { width: 56px; height: 56px; }
.author-box .avatar svg { width: 30px; }
.author-box p { margin: 4px 0 0; color: var(--ink-2); }

/* ---------- plain pages ---------- */
.page-head { max-width: 760px; margin: 0 auto; padding: 44px var(--gut) 8px; }
.page-head .hl { font-size: clamp(40px, 6vw, 76px); margin: 14px 0 0; }
.page-body { max-width: 760px; margin: 32px auto 0; padding: 0 var(--gut); }
.page-body.prose { font-size: 18px; }

/* forms (Contact Form 7) */
.wpcf7 form { display: grid; gap: 16px; font: 16px var(--f-ui); }
.wpcf7 label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.wpcf7 input:not([type=submit]):not([type=checkbox]), .wpcf7 textarea, .wpcf7 select { width: 100%; font: 16px var(--f-ui); padding: 12px 14px; border: 1.5px solid #CFC5BF; border-radius: 0; background: #fff; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--ink); outline: none; }
.wpcf7 input[type=submit] { justify-self: start; background: var(--ink); color: #fff; font: 12px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; padding: 16px 22px; border: 0; cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--orange); color: var(--ink); }
.wpcf7-not-valid-tip { font-size: 13px; color: var(--banned); }
.wpcf7-response-output { margin: 0 !important; font-size: 14px; }

/* ---------- laws tracker ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; font: 11px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px 5px; color: #fff; white-space: nowrap; }
.status::before { font: bold 12px/1 var(--f-ui); }
.status.legal { background: var(--legal); } .status.legal::before { content: '✓'; }
.status.restricted { background: var(--restricted); } .status.restricted::before { content: '!'; }
.status.banned { background: var(--banned); } .status.banned::before { content: '✕'; }
.status.unclear { background: var(--unclear); } .status.unclear::before { content: '?'; }
.pending { display: inline-block; font: 10px/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--restricted); border: 1px dashed currentColor; padding: 5px 7px 4px; margin: 4px 0 0 6px; }
.laws-hero { padding: 40px 0 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: end; }
.laws-hero .hl { font-size: clamp(44px, 6vw, 84px); margin: 16px 0 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; display: inline-block; }
.tilemap { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; }
.tile { aspect-ratio: 1; border-radius: 4px; background: #EFEAE6; color: #9D928C; font: 11px/1 var(--f-label); padding: 7px; display: flex; flex-direction: column; justify-content: space-between; position: relative; min-width: 0; }
.tile b { font: bold 13px/1 var(--f-ui); align-self: flex-end; }
.tile.legal { background: var(--legal); color: #fff; } .tile.restricted { background: var(--restricted); color: #fff; }
.tile.banned { background: var(--banned); color: #fff; } .tile.unclear { background: var(--unclear); color: #fff; }
.tile.has-pending::after { content: ''; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,.25); }
a.tile:hover { outline: 2px solid var(--ink); outline-offset: 2px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters button { font: 13px/1 var(--f-ui); padding: 9px 14px; border: 1px solid var(--rule); background: #fff; border-radius: 99px; cursor: pointer; color: var(--ink); }
.filters button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.laws-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.laws-table th { text-align: left; font: 10.5px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 16px 10px 0; border-bottom: 2px solid var(--ink); }
.laws-table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.laws-table td.c { font: 22px/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.laws-table td.c a:hover { color: var(--orange-ink); }
.laws-table .rule { color: var(--ink-2); max-width: 46ch; }
.laws-table .d { white-space: nowrap; color: var(--ink-2); }
.laws-table .src a { font-size: 13px; text-decoration: underline; color: var(--muted); }
.country-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; background: var(--sand); padding: 28px; margin: 8px 0 40px; }
.country-card .rule { font: 20px/1.45 var(--f-serif); margin: 14px 0 12px; max-width: 52ch; }
.country-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; margin: 0; }
.country-card dt { color: var(--muted); }
.country-card dd { margin: 0; }
.country-card dd a { text-decoration: underline; }

/* ---------- regulation news (CoLabel) ---------- */
.cl-head .hl { margin-bottom: 14px; }
.cl-powered { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 22px; }
.cl-powered-by, .cl-powered a span { font: 13px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
.cl-powered-by { color: var(--muted); }
.cl-powered a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.cl-powered a:hover span { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.cl-powered img { width: 24px; height: 24px; display: block; border-radius: 5px; }
.cl-intro { max-width: 760px; }
.cl-intro .dek p { margin: 0; }
.cl-intro .dek a { text-decoration: underline; text-decoration-color: var(--orange); }
.cl-item { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; padding: 28px 0; border-top: 1px solid var(--rule); align-items: start; }
.cl-item:first-child { border-top: 0; padding-top: 0; }
.cl-img img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--sand); }
.cl-title { font: 600 23px/1.28 var(--f-serif); margin: 6px 0 10px; }
.cl-title a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.cl-desc { font: 16.5px/1.55 var(--f-serif); color: var(--ink-2); margin: 0 0 12px; max-width: 62ch; }
.cl-links { display: flex; gap: 20px; flex-wrap: wrap; margin: 0; font: 11px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.cl-read { color: var(--orange-ink); }
.cl-status { color: var(--ink-2); }
.cl-links a:hover { text-decoration: underline; }
.cl-media { aspect-ratio: 1200 / 630; }
.cl-box { border: 1px solid var(--rule); border-left: 3px solid var(--orange); padding: 20px 22px; margin: 0 0 40px; max-width: 820px; }
.cl-box h2 { font: 11px/1.3 var(--f-label); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.cl-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cl-box a { font: 600 17px/1.35 var(--f-serif); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* ---------- 404 / search ---------- */
.notfound { text-align: center; padding: 72px var(--gut) 24px; max-width: 720px; margin: 0 auto; }
.notfound .hl { font-size: clamp(72px, 14vw, 180px); color: var(--orange); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .aside { position: static; border: 1px solid var(--rule); padding: 18px; }
  .aside .status-card { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .top, .tracker-band, .split, .laws-hero { grid-template-columns: minmax(0, 1fr); }
  .seconds, .grid-3, .archive-list { grid-template-columns: minmax(0, 1fr); }
  .archive-list .card.lead { grid-template-columns: minmax(0, 1fr); }
  .archive-list .card.lead > .media-link { grid-row: auto; }
  .archive-list .card.lead > * { grid-column: auto; }
  .seconds .card, .archive-list .card:not(.lead) { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 6px 14px; align-content: start; }
  .seconds .card > .media-link, .archive-list .card:not(.lead) > .media-link { grid-row: 1 / span 4; grid-column: 1; }
  .seconds .card > :not(.media-link), .archive-list .card:not(.lead) > :not(.media-link) { grid-column: 2; }
  .seconds .card .dek, .archive-list .card:not(.lead) .dek { display: none; }
  .seconds .cover .lbl, .archive-list .card:not(.lead) .cover .lbl { display: none; }
  .seconds .card .cover .big, .archive-list .card:not(.lead) .cover .big { font-size: 26px; max-width: 80%; }
  .start { grid-template-columns: minmax(0, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .masthead .wrap { grid-template-columns: auto 1fr; min-height: 68px; }
  .masthead .tag { display: none; }
  .masthead .logo svg { width: 150px; }
  .sections ul { justify-content: flex-start; gap: 22px; }
  .country-card { grid-template-columns: minmax(0, 1fr); }
  .cl-item { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 782px) { .admin-bar .sections { top: 0; } }
@media (max-width: 560px) {
  .grid-4, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .changes { grid-template-columns: minmax(0, 1fr); }
  .utility .tracker-link { display: none; }
  .card .hl { font-size: 23px; }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  .laws-table thead { display: none; }
  .laws-table tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .laws-table td { border: 0; padding: 0; }
  .laws-table td.rule, .laws-table td.src, .laws-table td.d { grid-column: 1 / -1; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 30px; }
  .hero-img .cover { aspect-ratio: 2 / 1; }
  .hero-img .media { aspect-ratio: var(--media-ratio); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .utility, .sections, .ticker, .site-footer, .aside, .search-panel { display: none !important; } .article-grid { display: block; } }
