/* ==========================================================================
   HANDBOLS24 — dizaina sistēma
   Papīrs, tinte, grafīts un viens akcents: Latvijas karmīns.
   ========================================================================== */
:root {
  --paper: #F3F0EA;
  --paper-2: #EAE5DC;
  --paper-3: #E0DACF;
  --ink: #0F0F0E;
  --graphite: #1B1B1A;
  --graphite-2: #2A2A28;
  --grey: #6B6760;
  --grey-2: #9A958C;
  --line: rgba(15, 15, 14, .13);
  --line-strong: rgba(15, 15, 14, .28);
  --accent: #9E3039;
  --accent-2: #B8434C;
  --win: #2F6B46;
  --loss: #9E3039;
  --draw: #8A857C;

  --f-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --hdr: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .25s;
  --t: .6s;
  --t-slow: 1.1s;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 56px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--f-body); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; line-height: 1; margin: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; transition: top .2s; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--grey); }
.note { font-size: 14px; margin-top: 18px; }
.flag { width: 21px; height: 14px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- tipogrāfijas palīgi ---------- */
.kicker {
  font: 600 12px/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey); margin: 0; display: flex; align-items: center; gap: 8px;
}
.kicker .flag { width: 16px; height: 11px; }
.kicker-light { color: rgba(243, 240, 234, .6); }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--grey); margin: 0 0 14px; }
.meta .cat { color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; opacity: .6; }
.lbl { font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-right: 8px; }

/* ---------- pogas un saites ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px 16px 24px; background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--f-body); letter-spacing: -.01em; overflow: hidden; isolation: isolate;
  transition: color var(--t-fast) var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--accent); z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-light { --bg: var(--paper); --fg: var(--ink); }
.btn-light:hover { color: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { color: #fff; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--f-body);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease), color .2s;
}
.tlink:hover { background-size: 100% 1px; color: var(--accent); }
.tlink .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.tlink:hover .ico { transform: translateX(3px); }

.plink { font-weight: 600; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.plink:hover { color: var(--accent); background-size: 100% 1px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px;
  font: 500 14px/1 var(--f-body); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .25s, color .25s, box-shadow .25s;
}
.chip sup { font-size: 10px; color: var(--grey); transition: color .25s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on sup { color: var(--grey-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.round { width: 46px; height: 46px; display: inline-grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 18px; transition: background .25s, color .25s; }
.round:hover { background: var(--ink); color: var(--paper); }

/* ---------- galvene ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: rgba(243, 240, 234, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, transform .45s var(--ease);
}
.hdr.is-scrolled { border-bottom-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; font: 700 22px/1 var(--f-display); letter-spacing: -.045em; text-transform: uppercase; }
.brand-num { color: var(--accent); margin-left: 1px; }
.nav { position: relative; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; font: 500 15px/1 var(--f-body); color: var(--grey); transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-ind {
  position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; background: var(--accent);
  transform: translateX(var(--x, 0)); width: var(--w, 0); opacity: var(--o, 0);
  transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s;
}
.hdr-end { display: flex; align-items: center; gap: 8px; }
.hdr-ig { width: 40px; height: 40px; display: grid; place-items: center; transition: color .2s, transform .3s var(--ease); }
.hdr-ig:hover { color: var(--accent); transform: rotate(-8deg); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mmenu {
  position: fixed; inset: var(--hdr) 0 0 0; z-index: 49; background: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io); visibility: hidden;
}
.mmenu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mmenu ul { list-style: none; margin: 0; padding: 0; }
.mmenu li { border-bottom: 1px solid var(--line); overflow: hidden; }
.mmenu li a {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 0;
  font: 600 clamp(34px, 10vw, 54px)/1 var(--f-display); letter-spacing: -.04em;
  transform: translateY(110%); transition: transform .7s var(--ease), color .2s;
}
.mmenu.is-open li a { transform: none; }
.mmenu.is-open li:nth-child(2) a { transition-delay: .05s; }
.mmenu.is-open li:nth-child(3) a { transition-delay: .1s; }
.mmenu.is-open li:nth-child(4) a { transition-delay: .15s; }
.mmenu li a[aria-current="page"] { color: var(--accent); }
.mnum { font: 500 13px var(--f-body); color: var(--grey); letter-spacing: 0; }
.mmenu-foot a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ---------- lapas pārejas ---------- */
.main { min-height: 60vh; }
.main.is-leaving { opacity: 0; transform: translateY(-14px); transition: opacity .28s var(--ease-io), transform .28s var(--ease-io); }
.main.is-entering { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); opacity: 0; }
.progress.is-on { opacity: 1; transform: scaleX(.7); transition: transform 1.6s cubic-bezier(.1, .6, .2, 1); }
.progress.is-done { opacity: 0; transform: scaleX(1); transition: transform .2s, opacity .4s .15s; }

/* ---------- parādīšanās animācijas ---------- */
.js [data-reveal]:not([data-reveal="img"]) { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in:not([data-reveal="img"]) { opacity: 1; transform: none; }
.js [data-reveal="img"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal="img"] img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.js [data-reveal="img"].in { clip-path: inset(0 0 0 0); }
.js [data-reveal="img"].in img { transform: scale(1); }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + .05s); }
.js [data-split].in .w > span { transform: none; }

/* ---------- mediji ---------- */
.media { position: relative; overflow: hidden; background: var(--paper-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.cap { font-size: 12px; color: var(--grey); margin-top: 10px; letter-spacing: .02em; }
.parallax { will-change: transform; }

/* ---------- sadaļu galvas ---------- */
.sec { padding-top: clamp(64px, 9vw, 128px); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--ink); }
.sh-l { display: grid; gap: 14px; }
.sh-num { font: 500 13px var(--f-body); color: var(--accent); }
.sh-t { font-size: clamp(36px, 5.2vw, 76px); letter-spacing: -.05em; }
.sh-t a { color: var(--accent); }
.sh-r { display: flex; align-items: center; gap: 12px; }

/* ==========================================================================
   JAUNUMI
   ========================================================================== */
.hero { padding-top: clamp(20px, 3vw, 40px); }
.hero-top { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; }
.hero-txt { grid-column: 1 / 8; padding-bottom: 8px; }
.hero-t { font-size: clamp(48px, 7.4vw, 124px); line-height: .9; letter-spacing: -.055em; margin: 0 0 28px; text-wrap: balance; }
.hero-t a { background: linear-gradient(var(--accent), var(--accent)) 0 92% / 0 .06em no-repeat; transition: background-size .8s var(--ease); }
.hero-t a:hover { background-size: 100% .06em; }
.hero-x { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--graphite-2); max-width: 36ch; margin-bottom: 32px; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-score { display: inline-flex; align-items: center; gap: 10px; font: 500 14px var(--f-body); color: var(--grey); }
.hero-fig { grid-column: 8 / 13; margin: 0; position: relative; }
.hero-media { aspect-ratio: 4 / 5; }
.sticker {
  position: absolute; left: -48px; bottom: 64px; background: var(--paper); padding: 18px 22px 16px;
  display: flex; align-items: center; gap: 14px; box-shadow: 0 0 0 1px var(--line);
}
.sk-v { font: 700 64px/1 var(--f-display); letter-spacing: -.06em; color: var(--accent); }
.sk-l { font: 600 12px/1.25 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }

/* ticker */
.ticker { margin-top: clamp(48px, 6vw, 88px); background: var(--graphite); color: var(--paper); display: flex; align-items: stretch; overflow: hidden; }
.tk-label { flex: none; display: flex; align-items: center; padding: 0 22px; background: var(--accent); font: 600 12px var(--f-body); letter-spacing: .16em; text-transform: uppercase; position: relative; z-index: 1; }
.tk-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-move { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker:hover .tk-move { animation-play-state: paused; }
.tk-dup { display: contents; }
.tk { display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; white-space: nowrap; font: 500 15px var(--f-display); border-right: 1px solid rgba(243, 240, 234, .14); }
.tk b { font-weight: 600; }
.tk em { font: 500 11px var(--f-body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 240, 234, .5); margin-left: 6px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* rezultāta zīme */
.badge { display: inline-grid; place-items: center; width: 24px; height: 24px; font: 700 12px/1 var(--f-display); color: #fff; flex: none; }
.badge-u { background: var(--win); }
.badge-z { background: var(--loss); }
.badge-n { background: var(--draw); }
.badge-tbd { background: transparent; color: var(--grey); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* ziņu režģis */
.news { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 48px) 24px; }
.news-lead { grid-column: 1 / 8; }
.news-side { grid-column: 8 / 13; display: grid; gap: 28px; align-content: start; }
.news-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.news .empty, .agrid .empty { grid-column: 1 / -1; color: var(--grey); padding: 40px 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }

.card { position: relative; }
.card.is-out { display: none; }
.card-a { display: grid; gap: 18px; height: 100%; }
.card-cover { position: relative; overflow: hidden; }
.card-cover .media, .card-cover .tcover { aspect-ratio: 3 / 2; }
.card-cover .media img { transition: transform 1.1s var(--ease), filter .6s; }
.card-a:hover .card-cover .media img { transform: scale(1.045); }
.card-t { font-size: clamp(22px, 2vw, 28px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 10px; text-wrap: balance; transition: color .3s; }
.card-a:hover .card-t { color: var(--accent); }
.card-x { color: var(--grey); font-size: 15px; line-height: 1.55; margin-bottom: 14px; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--f-body); }
.more .ico { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.card-a:hover .more .ico { transform: translateX(5px); }
.card-lead .card-cover .media, .card-lead .card-cover .tcover { aspect-ratio: 16 / 11; }
.card-lead .card-t { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; letter-spacing: -.045em; }
.card-lead .card-x { font-size: 17px; max-width: 52ch; }
.card-row .card-a { grid-template-columns: 42% 1fr; gap: 20px; align-items: start; }
.card-row .card-cover .media, .card-row .card-cover .tcover { aspect-ratio: 4 / 5; }
.card-row .card-x { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-row + .card-row { padding-top: 28px; border-top: 1px solid var(--line); }

/* tipogrāfiskais vāks */
.tcover {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--graphite); color: var(--paper); padding: clamp(18px, 2vw, 28px); overflow: hidden; height: 100%;
}
.tc-main { font: 700 clamp(44px, 6vw, 96px)/.88 var(--f-display); letter-spacing: -.06em; transition: transform 1s var(--ease); }
.tc-main small { font-size: .45em; color: var(--accent-2); letter-spacing: -.03em; }
.tc-sub { font: 600 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 240, 234, .6); }
.tcover-quote { background: var(--accent); }
.tcover-quote .tc-main { font-size: clamp(120px, 14vw, 220px); line-height: .7; }
.tcover-quote .tc-sub { color: rgba(255, 255, 255, .8); }
.card-a:hover .tc-main { transform: translateY(-6px); }

/* skaitļu josla */
.band { background: var(--graphite); color: var(--paper); margin-top: clamp(64px, 9vw, 128px); padding: clamp(48px, 6vw, 88px) 0; }
.band-in { display: grid; gap: 40px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(243, 240, 234, .18); }
.kpi { display: grid; gap: 12px; padding: 28px 24px 0 0; }
.kpi + .kpi { padding-left: 24px; border-left: 1px solid rgba(243, 240, 234, .18); }
.kpi-v { font: 600 clamp(64px, 9vw, 148px)/.85 var(--f-display); letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.kpi:first-child .kpi-v { color: var(--accent-2); }
.kpi-l { font-size: 14px; color: rgba(243, 240, 234, .65); }

/* balsis */
.voices { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.voice { margin: 0; padding: clamp(24px, 3vw, 44px); display: grid; align-content: space-between; gap: 32px; min-height: 420px; }
.voice blockquote { margin: 0; }
.voice blockquote p { font: 500 clamp(22px, 2.2vw, 32px)/1.2 var(--f-display); letter-spacing: -.03em; margin: 0; text-wrap: pretty; }
.voice figcaption { display: grid; gap: 4px; font-size: 14px; }
.voice figcaption a { font-weight: 600; font-size: 16px; }
.voice figcaption span { color: var(--grey); }
.voice-a { background: var(--paper-2); grid-template-columns: 140px 1fr; grid-template-rows: auto 1fr auto; column-gap: 32px; }
.voice-a .voice-img { grid-row: 1 / 4; }
.voice-a .voice-img .media { aspect-ratio: 1; }
.voice-a blockquote, .voice-a figcaption { grid-column: 2; }
.voice-b { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.voice-b figcaption span { color: rgba(243, 240, 234, .55); }
.voice-b figcaption a:hover, .voice-a figcaption a:hover { color: var(--accent-2); }
.voice-mark { position: absolute; right: 20px; bottom: -150px; font: 700 300px/1 var(--f-display); color: var(--accent); pointer-events: none; }
.voice-b blockquote, .voice-b figcaption { position: relative; z-index: 1; }

/* spēļu saraksts */
.mlist { border-top: 1px solid var(--line); }
.mrow { border-bottom: 1px solid var(--line); }
.mrow summary {
  list-style: none; cursor: pointer; display: grid; align-items: center; gap: 18px;
  grid-template-columns: 110px minmax(150px, 210px) 1fr 40px 28px; padding: 20px 4px;
  transition: background .3s, padding .3s var(--ease);
}
.mrow summary::-webkit-details-marker { display: none; }
.mrow summary:hover { background: var(--paper-2); padding-left: 14px; padding-right: 14px; }
.m-date { font: 500 13px var(--f-body); color: var(--grey); font-variant-numeric: tabular-nums; }
.m-league { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--grey); min-width: 0; }
.m-league span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; font: 500 clamp(16px, 1.4vw, 19px)/1.2 var(--f-display); letter-spacing: -.02em; min-width: 0; }
.m-team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-team-r { text-align: right; }
.m-team.is-lv { font-weight: 700; }
.m-team.is-lv::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.m-team-r.is-lv::before { display: none; }
.m-team-r.is-lv::after { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); margin-left: 8px; vertical-align: middle; }
.m-score { display: inline-flex; align-items: center; gap: 4px; font: 600 clamp(20px, 2vw, 26px)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; min-width: 92px; justify-content: center; }
.m-score i { font-style: normal; color: var(--grey-2); }
.m-time { color: var(--accent); font-size: 18px; box-shadow: inset 0 0 0 1px var(--line-strong); padding: 8px 10px; }
.m-res { display: flex; justify-content: center; }
.m-plus { display: grid; place-items: center; transition: transform .45s var(--ease); color: var(--grey); }
.mrow[open] .m-plus { transform: rotate(45deg); color: var(--accent); }
.m-detail { padding: 4px 4px 28px; display: grid; grid-template-columns: 110px 1fr; gap: 14px 18px; overflow: hidden; }
.m-detail > * { grid-column: 2; }
.mrow[open] .m-detail { animation: detIn .5s var(--ease); }
@keyframes detIn { from { opacity: 0; transform: translateY(-8px); } }
.m-lat { margin: 0; font-size: 15px; }
.m-lat em { font-style: normal; color: var(--grey); }
.m-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 24px; margin: 0; }
.m-dl dt { font: 600 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.m-dl dd { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.m-links { display: flex; gap: 22px; flex-wrap: wrap; }
.mlist-tight .mrow summary { grid-template-columns: 96px minmax(120px, 170px) 1fr 32px 24px; }

/* instagram */
.sec-ig .sh { margin-bottom: 32px; }
.ig-ctrl { display: flex; gap: 8px; }
.ig-track {
  list-style: none; margin: 0; padding: 0 var(--gutter) 8px; display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 22vw, 320px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.ig-track::-webkit-scrollbar { display: none; }
.ig-track li { scroll-snap-align: start; }
.ig-track .media { aspect-ratio: 4 / 5; }
.ig-track a { display: block; overflow: hidden; }
.ig-track img { transition: transform .9s var(--ease); }
.ig-track a:hover img { transform: scale(1.04); }
.ig-track .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-post { position: relative; }
.ig-post.is-video::after { content: ""; position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(15,15,14,.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23fff'/%3E%3C/svg%3E") center / 18px no-repeat; }
@media (min-width: 1441px) { .ig-track { padding-left: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }

/* ==========================================================================
   RAKSTS
   ========================================================================== */
.art-head { padding-top: clamp(28px, 4vw, 56px); max-width: 1180px; margin-left: 0; }
@media (min-width: 1441px) { .art-head { margin-left: calc((100vw - var(--maxw)) / 2); } }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--grey); margin-bottom: 28px; }
.crumbs a:hover { color: var(--accent); }
.art-t { font-size: clamp(42px, 6.4vw, 104px); line-height: .92; letter-spacing: -.055em; margin-bottom: 28px; text-wrap: balance; }
.art-lead { font: 400 clamp(19px, 1.7vw, 25px)/1.45 var(--f-body); color: var(--graphite-2); max-width: 46ch; }
.art-fig { margin-top: clamp(28px, 4vw, 56px); margin-bottom: 0; }
.art-media { aspect-ratio: 21 / 10; max-height: 78vh; }
.art-media img { object-position: 50% 28%; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 112px); padding-top: clamp(40px, 5vw, 72px); }
.art-body { max-width: 720px; font-size: 19px; line-height: 1.7; }
.art-body > p:first-child::first-letter { float: left; font: 700 4.2em/.82 var(--f-display); margin: .06em .1em 0 0; color: var(--accent); }
.art-body h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 48px 0 18px; }
.art-aside { display: grid; gap: 20px; align-content: start; position: sticky; top: calc(var(--hdr) + 24px); height: max-content; }
.aside-box { padding-top: 18px; border-top: 1px solid var(--ink); display: grid; gap: 14px; }
.scorebox { background: var(--graphite); color: var(--paper); padding: 22px; display: grid; gap: 16px; }
.scorebox .kicker { color: rgba(243, 240, 234, .6); }
.sb-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; font: 500 15px/1.2 var(--f-display); }
.sb-row span:last-child { text-align: right; }
.sb-row b { font: 600 36px/1 var(--f-display); letter-spacing: -.04em; }
.sb-meta { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(243, 240, 234, .7); }
.people { list-style: none; margin: 0; padding: 0; }
.people a { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.people a:hover { padding-left: 6px; color: var(--accent); }
.people span { display: grid; }
.people b { font-weight: 600; font-size: 15px; }
.people i { font-style: normal; font-size: 13px; color: var(--grey); }

.pull { margin: 40px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent); }
.pull blockquote { margin: 0; }
.pull p { font: 500 clamp(21px, 2vw, 27px)/1.3 var(--f-display); letter-spacing: -.025em; margin: 0 0 14px; }
.pull figcaption { font: 600 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.pull-xl { margin: 0; padding-left: clamp(20px, 4vw, 56px); }
.pull-xl p { font-size: clamp(28px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -.04em; max-width: 24ch; }

.stats { margin: 40px 0; padding: 24px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.st-h { font: 600 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 18px; }
.st-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 20px; }
.st { display: grid; gap: 6px; }
.st-v { font: 600 clamp(40px, 4.4vw, 64px)/.9 var(--f-display); letter-spacing: -.05em; }
.st:first-child .st-v { color: var(--accent); }
.st-l { font-size: 13px; color: var(--grey); }

/* sezonas grafiks */
.chart { margin: 40px 0 0; padding: clamp(22px, 3vw, 40px); background: var(--paper-2); }
.chart-h { display: grid; gap: 10px; margin-bottom: 28px; }
.chart-t { font: 600 clamp(26px, 3vw, 40px)/1 var(--f-display); letter-spacing: -.04em; }
.chart-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.chart-kpi div { display: grid; gap: 6px; border-top: 1px solid var(--line-strong); padding-top: 14px; }
.k-v { font: 600 clamp(32px, 4vw, 56px)/.9 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.k-l { font-size: 13px; color: var(--grey); }
.bars { position: relative; list-style: none; margin: 0; padding: 0; height: 240px; display: flex; align-items: flex-end; gap: clamp(4px, 1vw, 12px); border-bottom: 1px solid var(--ink); }
.bar { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar-f { width: 100%; background: var(--graphite); height: calc(var(--h) * 82%); transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1s var(--ease), background .3s; transition-delay: calc(var(--i, 0) * 50ms); }
.bar.is-max .bar-f { background: var(--accent); }
.bar:hover .bar-f { background: var(--accent-2); }
.bar-v { font: 600 14px var(--f-display); margin-bottom: 6px; opacity: 0; transition: opacity .6s; transition-delay: calc(var(--i, 0) * 50ms + .4s); }
.bar-l { position: absolute; bottom: -26px; font: 600 10px var(--f-body); letter-spacing: .06em; color: var(--grey); white-space: nowrap; }
.chart.in .bar-f, .no-js .bar-f { transform: scaleY(1); }
.chart.in .bar-v, .no-js .bar-v { opacity: 1; }
.avg-line { position: absolute; left: 0; right: 0; bottom: calc(var(--avg) * 82%); border-top: 1px dashed var(--accent); pointer-events: none; }
.avg-line span { position: absolute; right: 0; top: -22px; font: 600 11px var(--f-body); color: var(--accent); letter-spacing: .06em; background: var(--paper-2); padding-left: 6px; }
.chart-note { margin: 44px 0 0; font-size: 13px; color: var(--grey); }

/* ==========================================================================
   LAPU GALVAS (Sacensības / Latvieši / Kontakti)
   ========================================================================== */
.phead { padding-top: clamp(32px, 5vw, 72px); }
.phead .kicker { margin-bottom: clamp(20px, 3vw, 36px); }
.phead-t { font-size: clamp(56px, 11vw, 188px); line-height: .86; letter-spacing: -.065em; margin-bottom: clamp(28px, 4vw, 48px); }
.phead-huge { font-size: clamp(60px, 13vw, 220px); }
@media (max-width: 400px) { .phead-huge { font-size: clamp(44px, 13.2vw, 60px); overflow-wrap: anywhere; } }
.ital { color: var(--accent); }
.phead-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--ink); }
.phead-x { max-width: 48ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--graphite-2); margin: 0; }
.phead-kpi { display: flex; gap: clamp(20px, 3vw, 44px); font-size: 14px; color: var(--grey); }
.phead-kpi span { display: grid; gap: 4px; }
.phead-kpi b { font: 600 clamp(36px, 4vw, 56px)/.9 var(--f-display); letter-spacing: -.05em; color: var(--ink); }

/* apakšnavigācija */
.subnav { position: sticky; top: var(--hdr); z-index: 40; background: rgba(243, 240, 234, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 5vw, 64px); transition: transform .45s var(--ease); }
.hdr.is-hidden ~ .main .subnav { transform: translateY(calc(var(--hdr) * -1)); }
.subnav .wrap { position: relative; }
.subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 14px; font: 500 15px var(--f-body); color: var(--grey); white-space: nowrap; transition: color .25s; }
.subnav a.is-on, .subnav a:hover { color: var(--ink); }
.sub-ind { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--ink); transform: translateX(var(--x, 0)); width: var(--w, 0); transition: transform .5s var(--ease), width .5s var(--ease); }

/* kalendārs */
.cal { display: grid; gap: 40px; }
.day { display: grid; grid-template-columns: 180px 1fr; gap: 24px; }
.day .mrow summary { grid-template-columns: minmax(150px, 210px) 1fr 40px 28px; }
.day .m-date:empty { display: none; }
.day .m-detail { grid-template-columns: 1fr; }
.day .m-detail > * { grid-column: 1; }
.day-l { display: flex; gap: 12px; align-items: flex-start; position: sticky; top: calc(var(--hdr) + 80px); height: max-content; }
.day-n { font: 600 72px/.8 var(--f-display); letter-spacing: -.06em; }
.day-q { color: var(--grey-2); }
.day-m { font: 500 13px/1.35 var(--f-body); color: var(--grey); padding-top: 4px; }
.day .mrow summary .m-date { display: none; }
.day:has(.day-q) .mrow summary { grid-template-columns: 120px minmax(150px, 210px) 1fr 40px 28px; }
.day:has(.day-q) .mrow summary .m-date { display: block; }

/* tabula */
.table-card { background: var(--paper-2); padding: clamp(20px, 3vw, 40px); }
.tc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.tc-t { font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.045em; margin-top: 10px; }
.tscroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 640px; }
.tbl th, .tbl td { padding: 13px 10px; text-align: center; font-size: 15px; border-bottom: 1px solid var(--line); }
.tbl thead th { font: 600 11px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); border-bottom: 1px solid var(--ink); }
.tbl .t-team { text-align: left; font: 500 16px var(--f-display); letter-spacing: -.02em; }
.tbl .t-pos { text-align: left; width: 56px; white-space: nowrap; color: var(--grey); }
.tbl .t-pts { font: 700 18px var(--f-display); }
.tbl tbody tr { transition: background .25s; }
.tbl tbody tr:hover { background: var(--paper-3); }
.tbl tr.is-hi { background: var(--ink); color: var(--paper); }
.tbl tr.is-hi:hover { background: var(--graphite-2); }
.tbl tr.is-hi td, .tbl tr.is-hi th { border-bottom-color: transparent; }
.tbl tr.is-hi .t-pos { color: var(--grey-2); }
.lv-tag { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font: 600 11px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); }
.lv-tag .flag { width: 15px; height: 10px; }
.zone { display: inline-block; width: 4px; height: 18px; margin-right: 10px; vertical-align: middle; background: transparent; }
.z-cl { background: #2F6B46; } .z-el { background: #3D6FB6; } .z-po { background: #C9A13B; } .z-iz { background: var(--accent); }
.t-form { white-space: nowrap; }
.f { display: inline-grid; place-items: center; width: 20px; height: 20px; margin: 0 1px; font: 700 10px var(--f-display); font-style: normal; color: #fff; }
.f-u { background: var(--win); } .f-z { background: var(--loss); } .f-n { background: var(--draw); }
.legend { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--grey); }
.legend li { display: flex; align-items: center; }
.season-wrap .chart { margin-top: 24px; }

/* līgas */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.lg { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: background .3s; }
.lg:hover { background: var(--paper-2); }
.lg-c { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--grey); margin: 0; }
.lg-t { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.04em; }
.lg-o { font-size: 14px; color: var(--grey); margin: 0; }
.lg-p { font-size: 15px; margin: 4px 0 8px; }
.lg-note { font-size: 13px; color: var(--accent); margin: 0; }

/* ==========================================================================
   LATVIEŠI ĀRZEMĒS
   ========================================================================== */
.clist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.clist li { display: grid; grid-template-columns: 90px 260px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .3s; }
.clist li:hover { padding-left: 14px; background: var(--paper-2); }
.cl-n { font: 600 44px/1 var(--f-display); letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.cl-c { display: flex; align-items: center; gap: 12px; font: 600 clamp(22px, 2.4vw, 32px)/1 var(--f-display); letter-spacing: -.035em; }
.cl-c .flag { width: 30px; height: 20px; }
.cl-clubs { color: var(--grey); font-size: 15px; }

.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.search { position: relative; display: flex; align-items: center; min-width: min(320px, 100%); }
.search .ico { position: absolute; left: 14px; color: var(--grey); }
.search input { width: 100%; padding: 12px 14px 12px 42px; background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; border-radius: 0; transition: box-shadow .25s; -webkit-appearance: none; appearance: none; }
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.count { font-size: 14px; margin-bottom: 24px; min-height: 1.4em; }

.agrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.acard.is-out { display: none; }
.acard.is-pop { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.acard-a { display: grid; gap: 16px; }
.acover { position: relative; overflow: hidden; }
.acover .media, .acover-t { aspect-ratio: 4 / 5; }
.acover .media img { transition: transform 1.1s var(--ease), filter .6s; filter: grayscale(.25) contrast(1.02); }
.acard-a:hover .acover .media img { transform: scale(1.05); filter: none; }
.acover-t { background: var(--graphite); display: grid; place-items: center; position: relative; overflow: hidden; }
.at-in { font: 700 clamp(80px, 9vw, 150px)/1 var(--f-display); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 240, 234, .35); transition: transform 1s var(--ease), -webkit-text-stroke-color .4s; }
.acard-a:hover .at-in { transform: scale(1.06); -webkit-text-stroke-color: var(--accent-2); }
.at-note { position: absolute; bottom: 18px; left: 20px; font: 600 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 240, 234, .5); }
.a-status { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 9px 4px; background: var(--accent); color: #fff; font: 700 11px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; }
.a-status-in { position: static; display: inline-block; margin-left: 8px; vertical-align: middle; }
.a-num { position: absolute; right: 14px; top: 10px; font: 700 52px/1 var(--f-display); letter-spacing: -.05em; color: var(--paper); mix-blend-mode: difference; }
.a-country { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--grey); margin: 0; }
.a-name { font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.04em; line-height: 1.02; transition: color .3s; }
.a-name span { font-weight: 400; }
.acard-a:hover .a-name { color: var(--accent); }
.a-club { font-size: 14px; margin: 0; }
.a-club span { color: var(--grey); }
.agrid-4 { grid-template-columns: repeat(4, 1fr); }

.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); background: var(--ink); color: var(--paper); }
.cta-box .kicker { color: rgba(243, 240, 234, .55); margin-bottom: 14px; }
.cta-t { font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.045em; max-width: 18ch; }
.cta-box .btn { --bg: var(--paper); --fg: var(--ink); }
.cta-box .btn:hover { color: #fff; }

/* profils */
.ath { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-top: clamp(24px, 4vw, 56px); align-items: end; }
.ath-txt { grid-column: 1 / 7; }
.ath-t { font-size: clamp(56px, 8.6vw, 150px); line-height: .86; letter-spacing: -.065em; margin: 20px 0 28px; }
.ath-t span { display: block; font-weight: 400; }
.ath-x { font-size: clamp(17px, 1.4vw, 20px); color: var(--graphite-2); max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin: 32px 0 0; border-top: 1px solid var(--ink); }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.facts dd { margin: 0; font: 500 18px var(--f-display); letter-spacing: -.02em; }
.ath-fig { grid-column: 7 / 13; margin: 0; position: relative; }
.ath-media, .acover-hero { aspect-ratio: 4 / 5; }
.ath-num { position: absolute; right: -10px; top: -70px; font: 700 clamp(140px, 18vw, 280px)/1 var(--f-display); letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); z-index: 1; pointer-events: none; }

/* ==========================================================================
   KONTAKTI
   ========================================================================== */
.socs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--ink); }
.soc { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line); transition: background .3s, padding .4s var(--ease); }
.soc > .ico:first-child { grid-row: 1 / 3; width: 30px; height: 30px; }
.soc-n { font: 600 clamp(26px, 2.6vw, 38px)/1 var(--f-display); letter-spacing: -.04em; }
.soc-u { grid-column: 2; color: var(--grey); font-size: 14px; }
.soc > .ico:last-child { grid-row: 1 / 3; grid-column: 3; transition: transform .45s var(--ease); }
a.soc:hover { background: var(--paper-2); padding-left: 20px; }
a.soc:hover > .ico:last-child { transform: translate(4px, -4px); color: var(--accent); }
.soc-off { color: var(--grey); }
.socs .soc + .soc { border-left: 1px solid var(--line); padding-left: 28px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.coops { display: grid; }
.coop { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.coop-n { grid-row: 1 / 3; font: 600 14px var(--f-body); color: var(--accent); padding-top: 6px; }
.coop h3 { font-size: 24px; letter-spacing: -.035em; }
.coop p { margin: 0; color: var(--grey); }
.form, .form-done { background: var(--paper-2); padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 22px; }
.form-t { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.045em; }
.field { display: grid; gap: 8px; position: relative; }
.field label { font: 600 12px var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 10px 0 12px; font-size: 18px; border-radius: 0; transition: border-color .25s; -webkit-appearance: none; appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230F0F0E' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 28px; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-bottom-color: var(--accent); }
.err { margin: 0; font-size: 13px; color: var(--accent); min-height: 0; }
.err:empty { display: none; }
.hint { margin: 0; font-size: 12px; color: var(--grey); text-align: right; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--graphite-2); cursor: pointer; align-items: start; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.btn-submit { justify-self: start; }
.btn-submit[disabled] { opacity: .6; pointer-events: none; }
.form-status { margin: 0; font-size: 14px; }
.form-status.is-err { color: var(--accent); }
.form-done { justify-items: start; }
.done-ico { width: 64px; height: 64px; display: grid; place-items: center; background: var(--win); color: #fff; }
.done-ico .ico { width: 30px; height: 30px; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done:not([hidden]) { animation: pageIn .7s var(--ease) both; }

.nf { padding-bottom: 40px; }

/* ==========================================================================
   KĀJENE
   ========================================================================== */
.ftr { background: var(--ink); color: var(--paper); margin-top: clamp(80px, 10vw, 160px); padding-top: clamp(48px, 6vw, 88px); overflow: hidden; }
.ftr-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(243, 240, 234, .16); }
.ftr-claim { font: 500 clamp(28px, 3.6vw, 52px)/1.02 var(--f-display); letter-spacing: -.045em; margin: 0; max-width: 18ch; }
.ftr-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 32px; padding: 40px 0; }
.ftr-h { font: 600 12px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 240, 234, .5); margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr ul a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.ftr ul a:hover { color: var(--accent-2); }
.ftr ul .ico { width: 14px; height: 14px; }
.soon { color: rgba(243, 240, 234, .45); }
.ftr-p { color: rgba(243, 240, 234, .65); font-size: 15px; max-width: 40ch; margin: 0; }
.ftr-word { font: 700 clamp(60px, 16vw, 262px)/.8 var(--f-display); letter-spacing: -.075em; white-space: nowrap; margin: 12px 0 0 -.04em; color: var(--paper); user-select: none; }
.ftr-word span { color: var(--accent); }
.ftr-bot { display: flex; justify-content: space-between; padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); font-size: 13px; color: rgba(243, 240, 234, .5); border-top: 1px solid rgba(243, 240, 234, .16); margin-top: 20px; }
.totop:hover { color: var(--paper); }

/* ==========================================================================
   ADAPTĪVAIS DIZAINS
   ========================================================================== */
@media (max-width: 1180px) {
  .agrid, .agrid-4 { grid-template-columns: repeat(3, 1fr); }
  .art-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .sticker { left: -24px; }
}
@media (max-width: 960px) {
  :root { --hdr: 64px; }
  .nav { display: none; }
  .burger { display: block; }
  .hero-grid, .ath { grid-template-columns: 1fr; }
  .hero-txt, .hero-fig, .ath-txt, .ath-fig { grid-column: 1 / -1; }
  .hero-fig { margin-top: 36px; }
  .hero-media { aspect-ratio: 4 / 3.4; }
  .hero-media img { object-position: 50% 25%; }
  .sticker { left: 16px; bottom: 16px; padding: 14px 16px 12px; }
  .sk-v { font-size: 48px; }
  .news-lead, .news-side { grid-column: 1 / -1; }
  .news-more, .grid3 { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(n+3) { margin-top: 28px; border-top: 1px solid rgba(243, 240, 234, .18); }
  .voices { grid-template-columns: 1fr; }
  .voice { min-height: 0; }
  .art-grid { grid-template-columns: 1fr; }
  .art-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .art-media { aspect-ratio: 4 / 3; }
  .lgrid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .ath-fig { order: -1; }
  .ath-media, .acover-hero { aspect-ratio: 4 / 3.6; }
  .ath-num { top: 8px; right: 12px; font-size: 120px; }
  .day { grid-template-columns: 1fr; gap: 12px; }
  .day-l { position: static; }
  .day-n { font-size: 56px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-grid > div:last-child { grid-column: 1 / -1; }
  .clist li { grid-template-columns: 64px 1fr; }
  .cl-clubs { grid-column: 2; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero-top .kicker-r { display: none; }
  .mrow summary, .mlist-tight .mrow summary, .day .mrow summary, .day:has(.day-q) .mrow summary {
    grid-template-columns: 1fr auto 24px; grid-template-areas: "league res plus" "teams teams teams" "date date date";
    gap: 10px 12px; padding: 18px 0;
  }
  .mrow summary:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .m-date { grid-area: date; }
  .m-date:empty { display: none; }
  .day:has(.day-q) .mrow summary .m-date { display: block; }
  .m-league { grid-area: league; }
  .m-teams { grid-area: teams; gap: 10px; font-size: 16px; }
  .m-score { min-width: 72px; font-size: 22px; }
  .m-res { grid-area: res; }
  .m-plus { grid-area: plus; }
  .m-detail, .day .m-detail { grid-template-columns: 1fr; padding: 0 0 22px; }
  .m-detail > * { grid-column: 1; }
  .news-more, .grid3, .lgrid { grid-template-columns: 1fr; }
  .card-row .card-a { grid-template-columns: 38% 1fr; gap: 16px; }
  .card-row .card-t { font-size: 20px; }
  .card-row .card-x { display: none; }
  .agrid, .agrid-4 { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
  .a-num { font-size: 36px; right: 10px; }
  .a-name { font-size: 20px; }
  .a-club span { display: block; }
  .voice-a { grid-template-columns: 88px 1fr; column-gap: 18px; }
  .voice-mark { font-size: 200px; bottom: -100px; }
  .chart-kpi { grid-template-columns: repeat(2, 1fr); }
  .bars { height: 200px; }
  .bar-l { font-size: 9px; transform: rotate(-50deg); transform-origin: 50% 0; bottom: -30px; }
  .chart-note { margin-top: 52px; }
  .facts { grid-template-columns: 1fr; }
  .socs .soc + .soc { border-left: 0; padding-left: 8px; }
  .filters { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .filters .chips, .filters .search { min-width: 0; max-width: none; }
  .filters .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .sh-r .chips { flex-wrap: nowrap; overflow-x: auto; max-width: calc(100vw - var(--gutter) * 2); scrollbar-width: none; }
  .sh-r .chips::-webkit-scrollbar { display: none; }
  .sh-r { width: 100%; }
  .ftr-grid { grid-template-columns: 1fr; }
  .tk { padding: 14px 20px; font-size: 14px; }
  .ath-num { font-size: 96px; }
  .phead-kpi { width: 100%; justify-content: space-between; }
  .pull { padding-left: 18px; }
}
@media (max-width: 420px) {
  .agrid, .agrid-4 { grid-template-columns: 1fr 1fr; }
  .m-team.is-lv::before, .m-team-r.is-lv::after { display: none; }
}

/* ---------- samazināta kustība ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="img"], .js [data-reveal="img"] img, .js [data-split] .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .tk-move { animation: none; flex-wrap: wrap; width: auto; }
  .tk-dup { display: none; }
  .bar-f { transform: none !important; }
  .bar-v { opacity: 1 !important; }
}

/* ziņu filtrēšana: vienkāršs režģis */
.news.is-filtered { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.news.is-filtered > .news-lead, .news.is-filtered > .news-side, .news.is-filtered > .news-more { display: contents; }
.news.is-filtered .card-row .card-a { grid-template-columns: 1fr; gap: 18px; }
.news.is-filtered .card-row + .card-row { padding-top: 0; border-top: 0; }
.news.is-filtered .card-cover .media, .news.is-filtered .card-cover .tcover { aspect-ratio: 3 / 2; }
.news.is-filtered .card-lead .card-t { font-size: clamp(22px, 2vw, 28px); line-height: 1.08; }
.news.is-filtered .card-row .card-x { display: block; }
@media (max-width: 960px) { .news.is-filtered { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .news.is-filtered { grid-template-columns: 1fr; } }

/* automātiskā statistika */
.acards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 24px; }
.ac { padding: 22px 24px; background: var(--paper-2); display: grid; gap: 18px; }
.ac-total { background: var(--ink); color: var(--paper); }
.ac-total .kicker { color: rgba(243, 240, 234, .55); }
.ac-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ac-row div { display: grid; gap: 4px; }
.ac-row b { font: 600 clamp(28px, 3vw, 44px)/.9 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ac-row span { font-size: 12px; color: var(--grey); }
.ac-total .ac-row span { color: rgba(243, 240, 234, .6); }
.glog .upd { font-size: 13px; margin: 0; }
.glog .tbl { min-width: 720px; }
.glog .g-d { white-space: nowrap; color: var(--grey); text-align: left; }
.glog .g-l { text-align: left; color: var(--grey); white-space: nowrap; }
.glog .g-m span.is-lv { font-weight: 700; }
.glog .g-s { white-space: nowrap; font: 600 16px var(--f-display); }
.glog .g-s .badge { width: 20px; height: 20px; font-size: 11px; margin-right: 6px; vertical-align: -4px; display: inline-grid; }
.glog thead th:first-child, .glog thead th:nth-child(2) { text-align: left; }

/* Latvijas sacensības */
.ltabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 1px solid var(--line-strong); margin-bottom: 32px; }
.ltab { display: grid; gap: 6px; text-align: left; padding: 18px 22px; transition: background .3s, color .3s; position: relative; }
.ltab + .ltab { border-left: 1px solid var(--line-strong); }
.ltab span { font: 600 clamp(18px, 1.6vw, 22px)/1.1 var(--f-display); letter-spacing: -.03em; }
.ltab small { font-size: 13px; color: var(--grey); }
.ltab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.ltab:hover { background: var(--paper-2); }
.ltab.is-on { background: var(--ink); color: var(--paper); }
.ltab.is-on small { color: var(--grey-2); }
.ltab.is-on::after { transform: scaleX(1); }
.lpanel[data-hidden] { display: none; }
.lpanel.is-in { animation: pageIn .6s var(--ease) both; }
.lgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-bottom: 32px; }
.lh { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.035em; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.lday { margin-top: 18px; }
.lday-h { font-size: 13px; color: var(--grey); margin: 0 0 6px; }
.lday-h b { font: 600 15px var(--f-display); color: var(--ink); margin-right: 6px; }
.llist { border-top: 1px solid var(--line); }
.lrow { display: grid; grid-template-columns: 72px 1fr 22px; grid-template-areas: "when meta go" "when teams go" "when venue go"; gap: 4px 14px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); transition: background .3s, padding .3s var(--ease); }
.lrow:hover { background: var(--paper-2); padding-left: 12px; padding-right: 12px; }
.l-when { grid-area: when; align-self: center; font: 500 14px var(--f-body); color: var(--grey); display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.l-when .w-d { font: 600 17px var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.l-when .w-w { font-size: 12px; color: var(--grey-2); margin-top: -4px; white-space: nowrap; }
.l-meta { grid-area: meta; display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--grey); letter-spacing: .02em; }
.l-comp { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.lrow .m-teams { grid-area: teams; font-size: clamp(15px, 1.2vw, 17px); gap: 12px; }
.lrow .m-score { min-width: 76px; font-size: clamp(18px, 1.6vw, 22px); }
.lrow .m-time { font-size: 15px; padding: 6px 8px; }
.m-team.is-w { font-weight: 700; }
.l-venue { grid-area: venue; font-size: 12px; color: var(--grey-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-go { grid-area: go; color: var(--grey-2); transition: transform .35s var(--ease), color .2s; }
.lrow:hover .l-go { color: var(--accent); transform: translate(3px, -3px); }
.live { display: inline-block; width: max-content; padding: 3px 6px; background: var(--accent); color: #fff; font: 700 10px var(--f-body); letter-spacing: .1em; text-transform: uppercase; animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: .55; } }
.ltable { margin-top: 20px; }
.ltable .tbl { min-width: 560px; }
.lfoot { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 28px; font-size: 14px; }
.lv-others { margin-top: 24px; }
@media (max-width: 860px) { .lgrid2 { grid-template-columns: 1fr; } .ltab + .ltab { border-left: 0; border-top: 1px solid var(--line-strong); } }
@media (max-width: 760px) { .lrow { grid-template-columns: 60px 1fr 18px; } .lrow:hover { padding-left: 4px; padding-right: 4px; } .lrow .m-score { min-width: 60px; } }

/* komandas kalendārs */
.team-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); margin-bottom: 28px; align-items: start; }
.acards-1 { grid-template-columns: 1fr; }
.tlog .g-l small { color: var(--grey-2); font-size: 11px; }
.tlog .g-m a:hover { color: var(--accent); }
.tlog tr.is-next { background: var(--paper-3); box-shadow: inset 3px 0 0 var(--accent); }
.tlog .tbl { min-width: 820px; }
@media (max-width: 960px) { .team-top { grid-template-columns: 1fr; } }

/* izgriezti studijas foto (PNG ar caurspīdīgu fonu) */
.media img[src$=".png"] { object-fit: cover; object-position: 50% 0; background: linear-gradient(180deg, var(--paper-2), var(--paper-3)); }

/* šīs nedēļas spēles */
.week { display: grid; gap: 28px; }
.wday-h { font-size: 13px; color: var(--grey); margin: 0 0 8px; letter-spacing: .02em; }
.wday-h b { font: 600 17px var(--f-display); color: var(--ink); letter-spacing: -.02em; margin-right: 6px; }
.wday.is-today .wday-h b { color: var(--accent); }
.wday.is-today .wlist { box-shadow: inset 3px 0 0 var(--accent); }
.wlist { border-top: 1px solid var(--ink); }
.wrow { display: grid; grid-template-columns: 70px minmax(150px, 230px) 1fr minmax(0, 220px); grid-template-areas: "time comp teams odds" ". . lat lat"; gap: 6px 18px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); transition: background .3s; }
.wrow.is-out { display: none; }
.wrow:hover { background: var(--paper-2); }
.w-time { grid-area: time; display: grid; gap: 4px; font: 600 15px var(--f-display); font-variant-numeric: tabular-nums; }
.w-comp { grid-area: comp; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--grey); min-width: 0; }
.w-comp span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-teams { grid-area: teams; font-size: clamp(15px, 1.2vw, 17px); gap: 12px; }
.w-teams:hover .m-team { color: var(--accent); }
.w-teams .m-score { min-width: 76px; font-size: clamp(18px, 1.6vw, 22px); }
.w-teams .m-time { font-size: 14px; padding: 5px 8px; }
.w-odds { grid-area: odds; display: flex; justify-content: flex-end; }
.odds { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.od { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 8px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font: 600 13px var(--f-display); font-variant-numeric: tabular-nums; }
.od i { font: 600 10px var(--f-body); font-style: normal; color: var(--grey); letter-spacing: .06em; }
.od-h { background: var(--ink); color: var(--paper); box-shadow: none; }
.od-h i { color: var(--grey-2); }
.w-lat { grid-area: lat; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.w-lat .flag { width: 15px; height: 10px; }
.w-lat a { font-weight: 600; }
.w-lat a:hover { color: var(--accent); }
.w-lat em { font-style: normal; color: var(--grey); }
.w-note { margin-top: 18px; font-size: 12px; color: var(--grey); }
@media (max-width: 860px) {
  .wrow { grid-template-columns: 52px 1fr; grid-template-areas: "time comp" "teams teams" "odds odds" "lat lat"; padding: 14px 0; }
  .w-odds { justify-content: flex-start; }
  .odds { justify-content: flex-start; }
  .wrow:hover { background: transparent; }
}

/* tabulu lapas */
.tbgroup + .tbgroup { margin-top: 48px; }
.tbgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.tbcard { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--paper-2); transition: background .3s, transform .4s var(--ease); }
.tbcard:hover { background: var(--paper-3); transform: translateY(-3px); }
.tbcard h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.035em; }
.tbcard .tb-hl { font-size: 14px; margin: 0; display: flex; gap: 8px; align-items: center; }
.tbcard .tb-hl .flag { width: 16px; height: 11px; }
.tbcard:hover h3 { color: var(--accent); }
.tb-legend { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--grey); margin: 0 0 16px; }
.tb-legend .sw { width: 18px; height: 12px; background: var(--ink); }
.wday.is-today .wrow { padding-left: 14px; }
.no-odds .wrow { grid-template-columns: 70px minmax(150px, 230px) 1fr; grid-template-areas: "time comp teams" ". . lat"; }
@media (max-width: 860px) { .no-odds .wrow { grid-template-columns: 52px 1fr; grid-template-areas: "time comp" "teams teams" "lat lat"; } }
.ac-row b.nowrap { white-space: nowrap; font-size: clamp(22px, 2.2vw, 34px); }

/* ---------- Reklāmas josla (klusa, rotējoša) ---------- */
.adbar { padding: 28px 0 32px; border-top: 1px solid var(--line); background: var(--paper); }
.adbar-in { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.adbar-lbl { font: 500 10px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-2); }
.adbar-frame { position: relative; width: 728px; height: 90px; max-width: 100%; opacity: .92; transition: opacity .4s; }
.adbar-frame:hover { opacity: 1; }
.adbar-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .8s var(--ease); }
.adbar-frame iframe.on { opacity: 1; }
@media (max-width: 759px) { .adbar { padding: 20px 0 24px; } .adbar-frame { width: 320px; height: 50px; } }
@media (prefers-reduced-motion: reduce) { .adbar-frame iframe { transition: none; } }
.adslot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 0; margin: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.adslot-box { padding: 16px 0 0; margin: 0; border: 0; }
.adslot-box .adbar-frame { width: 300px; height: 250px; }
@media (max-width: 759px) { .adslot-wide .adbar-frame { width: 320px; height: 50px; } }
.adslot-big .adbar-frame { width: 970px; height: 250px; }
@media (max-width: 1019px) { .adslot-big .adbar-frame { width: 728px; height: 90px; } }
@media (max-width: 759px) { .adslot-big .adbar-frame { width: 320px; height: 100px; } }
.adslot-tall { padding: 16px 0 0; margin: 0; border: 0; }
.adslot-tall .adbar-frame { width: 300px; height: 600px; }
@media (max-width: 959px) { .aside-tall { display: none; } }
.art-ad { display: flex; justify-content: center; margin: 32px 0; }
.art-ad .adslot { margin: 0; padding: 14px 0; }

/* ---------- Sīkdatņu izvēle, privātums, kājenes saites ---------- */
html:not([data-consent="yes"]) .adbar, html:not([data-consent="yes"]) .adslot { display: none; }
html.consent-lock { overflow: hidden; }
.consent-bg { position: fixed; inset: 0; z-index: 200; background: rgba(15,15,14,.66); display: grid; place-items: center; padding: 18px; overflow-y: auto; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.consent { width: min(520px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; background: var(--paper); color: var(--ink); padding: clamp(22px, 4vw, 32px); display: grid; gap: 14px; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.consent-brand { font: 700 18px var(--f-display); letter-spacing: .04em; }
.consent-brand b { color: var(--accent); }
.consent h2 { margin: 0; font: 700 clamp(24px, 3.4vw, 30px)/1.12 var(--f-display); letter-spacing: -.01em; }
.consent p { margin: 0; font-size: 15px; line-height: 1.55; }
.consent a { color: inherit; text-decoration: underline; }
.consent details summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.consent details[open] summary { margin-bottom: 8px; }
.consent .consent-more { font-size: 13.5px; color: var(--grey); }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.consent .btn { width: 100%; justify-content: center; padding: 14px 16px; font-size: 14px; }
.consent .btn-ghost { --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 420px) { .consent-btns { grid-template-columns: 1fr; } }
.ftr-legal { display: inline-flex; gap: 18px; align-items: center; }
.ftr-legal a, .linkbtn { color: inherit; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ftr-legal a:hover, .linkbtn:hover { color: var(--paper); }
@media (max-width: 600px) { .ftr-bot { flex-wrap: wrap; gap: 10px 18px; } }
.prose { max-width: 760px; }
.prose h2 { font: 600 clamp(22px, 3vw, 30px)/1.15 var(--f-display); margin: 36px 0 12px; letter-spacing: -.02em; }
.prose p { margin: 0 0 14px; line-height: 1.7; color: var(--graphite); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* galvenā ziņa bez foto: tipogrāfisks vāks tādā pašā izmērā kā foto */
.hero-fig .tcover-big { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .hero-fig .tcover-big { aspect-ratio: 4 / 3.4; } }

