/* “Esi kustībā!” kopīgie stili (index.html un 2025.html) */

/* ---------- Fonti (glabājas mapē fonts/, nav jāielādē no Google) ---------- */
@font-face { font-family: "Anton"; src: url(../fonts/Anton-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(../fonts/Poppins-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Zīmola krāsas (no prezentācijas) ---------- */
:root {
  --oranzs: #FFA500;
  --zils: #0504AA;
  --zils-tumss: #03037A;
  --melns: #000;
  --balts: #fff;
  --teksts: #111;
  --virsraksts: "Anton", Impact, "Arial Narrow", sans-serif;
  --pamata: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --plats: 1200px;
  --stura: 18px;       /* bildes, kartītes, bloki */
  --stura-mazs: 12px;  /* mazi elementi: logo lodziņi, nosaukumu pogas */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--pamata); color: var(--teksts); background: var(--balts); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--zils); outline-offset: 3px; }
.ietvars { max-width: var(--plats); margin: 0 auto; padding: 0 24px; }
.izlaist { position: absolute; left: -999px; top: 8px; background: var(--melns); color: var(--balts); padding: 8px 14px; z-index: 100; }
.izlaist:focus { left: 8px; }

h1, h2, h3 { font-family: var(--virsraksts); font-weight: 400; text-transform: uppercase; line-height: 1.1; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--zils); }

/* Punktu režģis, kā prezentācijā */
.punkti { position: absolute; width: 176px; height: 104px; pointer-events: none;
  background-image: radial-gradient(circle, var(--melns) 7px, transparent 7.6px); background-size: 36px 36px; }

/* Pogas */
.poga { display: inline-block; font-family: var(--pamata); font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--melns); background: var(--oranzs); color: var(--melns);
  transition: transform .15s ease, box-shadow .15s ease; }
.poga:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--melns); }
.poga--zila { background: var(--zils); border-color: var(--zils); color: var(--balts); }
.poga--zila:hover { box-shadow: 4px 4px 0 var(--melns); }
.poga--balta { background: var(--balts); }

/* ---------- Galvene ---------- */
.galvene { position: sticky; top: 0; z-index: 50; background: var(--balts); border-bottom: 2px solid var(--melns); }
.galvene .ietvars { display: flex; align-items: center; gap: 20px 28px; height: 72px; }
.galvene .izvelne { margin-left: auto; }
.logo img { height: 48px; width: auto; }
.izvelne { display: flex; align-items: center; gap: 22px; white-space: nowrap; font-size: .98rem; }
.izvelne a:not(.poga) { text-decoration: none; font-weight: 500; }
.izvelne a:not(.poga):hover { color: var(--zils); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.galvene-poga { padding: 10px 20px; white-space: nowrap; }
.kajenes-saites { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin: 0 0 32px; font-weight: 600; }
.kajenes-saites a { text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #333 url(../img/hero-drifts.jpg) 70% 50% / cover no-repeat; }
.hero-panelis { position: relative; background: var(--oranzs); clip-path: polygon(0 0, 60% 0, 76% 100%, 0 100%);
  padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); }
.hero-saturs { max-width: var(--plats); margin: 0 auto; padding: 0 24px; }
.hero-virs { font-weight: 700; font-size: clamp(.95rem, 1.6vw, 1.2rem); text-transform: uppercase; margin: 0 0 14px; }
.hero h1 { color: var(--zils); font-size: clamp(4.6rem, 12vw, 10.5rem); line-height: .88; margin-bottom: 28px; }
.hero h1 span { display: block; }
.hero-apraksts { max-width: 30rem; font-size: 1.15rem; margin: 0 0 32px; }
.hero-pogas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .punkti { top: 28px; right: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-panelis { animation: slaucit .8s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes slaucit { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); } to { clip-path: polygon(0 0, 60% 0, 76% 100%, 0 100%); } }
}

/* Datuma josla */
.josla { background: var(--zils); color: var(--balts); }
.josla .ietvars { display: grid; grid-template-columns: repeat(3, auto) 1fr; align-items: center; gap: 12px 44px; padding-top: 22px; padding-bottom: 22px; }
.josla strong { font-family: var(--virsraksts); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); text-transform: uppercase; line-height: 1.1; display: block; }
.josla small { display: block; font-size: .9rem; opacity: .85; }
.josla .bezmaksas { justify-self: end; text-align: right; }
.josla .bezmaksas strong { color: var(--oranzs); }

/* ---------- Visa diena vienuviet ---------- */
.diena { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1.5fr); min-height: 640px; }
.diena-foto { position: relative; }
.diena-foto .rinda { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); }
.diena-foto img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.diena-datums { background: var(--oranzs); display: flex; align-items: center; justify-content: center; }
.diena-datums span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--virsraksts); color: var(--zils);
  font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.diena-saturs { position: relative; padding: 72px clamp(24px, 5vw, 72px); overflow: hidden; }
.diena-saturs::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--oranzs); opacity: .85; top: -150px; right: -120px; }
.diena-saturs h2 { position: relative; margin-bottom: 36px; }
.virzieni { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; position: relative; }
.virzieni h3 { color: var(--zils); font-size: 2rem; font-style: italic; }
.virzieni p { margin: 6px 0 0; font-size: 1.1rem; }

/* ---------- Kas būs klāt ---------- */
.klat { padding: 96px 0 104px; position: relative; overflow: hidden; }
.klat--oranza { background: var(--oranzs); color: var(--teksts); }
.klat--zila { background: var(--zils); color: var(--balts); }
.klat .muzika { margin-bottom: 0; }
.klat-sportisti { padding: 88px 0 104px; }
.klat h2 { margin-bottom: 12px; }
.klat--oranza h2 { color: var(--zils); }
.klat--zila h2, .klat--zila h3 { color: var(--balts); }
.klat .ievads { max-width: 36rem; margin: 0 0 56px; }
.klat h3, .klat-sportisti h3 { font-family: var(--virsraksts); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; color: var(--zils); margin: 0 0 32px; display: flex; align-items: center; gap: 24px; }
.klat h3::after, .klat-sportisti h3::after { content: ""; flex: 1; height: 3px; background: rgba(0, 0, 0, .2); }
.klat--zila h3::after, .klat-sportisti.klat--zila h3::after { background: rgba(255, 255, 255, .3); }
.klat-sportisti.klat--zila h3 { color: var(--balts); }

.muzika { list-style: none; margin: 0 0 72px; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .5em; font-size: clamp(3rem, 8vw, 6.4rem); }
.muzika li { font-family: var(--virsraksts); text-transform: uppercase; line-height: 1.08; }
.klat--oranza .muzika li { color: var(--zils); }
.klat--oranza .muzika li:nth-child(even) { color: var(--teksts); }
/* Mūziķi ar foto */
.muzika--foto { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 32px 24px; font-size: clamp(2rem, 3.4vw, 3rem); }
.muzika--foto .foto { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 12px; background: #e6e8ef; border-radius: var(--stura); }
.muzika--foto li { min-width: 0; }
.muzika--foto span { display: block; line-height: 1.1; overflow-wrap: anywhere; }
.sportisti { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.sportisti li { border-top: 3px solid var(--oranzs); padding-top: 14px; }
.sportisti .vards { font-family: var(--virsraksts); text-transform: uppercase; color: var(--balts); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.2; display: block; }
.sportisti .veids { display: block; margin-top: 6px; color: var(--oranzs); font-weight: 600; }
.klat .punkti { right: 24px; bottom: 28px; background-image: radial-gradient(circle, var(--zils) 7px, transparent 7.6px); }

/* ---------- Programma ---------- */
.programma { padding: 96px 0; }
.programma h2 { margin-bottom: 40px; }
.grafiks { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--melns); max-width: 900px; }
.grafiks li { display: grid; grid-template-columns: 11rem 1fr; gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid #cfcfd6; align-items: baseline; }
.grafiks .laiks { font-family: var(--virsraksts); font-size: 1.7rem; color: var(--zils); text-transform: uppercase; line-height: 1.1; }
.grafiks strong { font-size: 1.2rem; display: block; }
.grafiks p { margin: 2px 0 0; }
.precizes { display: inline-block; margin-top: 6px; font-size: .85rem; font-weight: 600; background: var(--oranzs); padding: 2px 10px; border-radius: 999px; }

/* ---------- Stāsts un 2025 ---------- */
.stasts { padding: 104px 0 96px; position: relative; overflow: hidden; }
.stasts::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--oranzs); top: -190px; left: -150px; }
.stasts .ietvars { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.stasts h2 { margin-bottom: 24px; }
.stasts p { margin: 0 0 16px; max-width: 34rem; font-size: 1.1rem; }
.stasts .akcents { font-style: italic; font-size: 1.3rem; }
.stasts img { border-radius: var(--stura); width: 100%; height: auto; }

.gads { background: var(--oranzs); padding: 96px 0 104px; position: relative; overflow: hidden; }
.gads h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.gads h2 span { display: block; }
.gads-info { font-size: 1.15rem; margin: 20px 0 48px; max-width: 40rem; }
.skaitli { list-style: none; margin: 0 0 56px; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 64px; }
.skaitli b { display: block; font-family: var(--virsraksts); font-weight: 400; font-size: clamp(3.6rem, 7vw, 5.4rem); color: var(--zils); line-height: 1; }
.skaitli span { font-weight: 600; }
.video { position: relative; border-radius: var(--stura); overflow: hidden; background: var(--melns); aspect-ratio: 16 / 9; margin-bottom: 40px; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video button { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); cursor: pointer; font-style: italic; text-decoration: underline; text-underline-offset: 3px; }
.video button:hover { transform: translate(calc(-50% - 2px), -2px); }
.galerija { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 40px; padding: 0; list-style: none; }
.galerija img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--stura); background: var(--zils-tumss); }
.gads-beigas { font-size: 1.3rem; font-weight: 600; margin: 0 0 64px; }
.gads-poga { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 48px; }
.gads-poga span { font-weight: 500; }
.verbi { list-style: none; margin: 0; padding: 40px 0 0; border-top: 3px solid var(--melns); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.verbi b { display: block; font-family: var(--virsraksts); font-weight: 400; text-transform: uppercase; color: var(--zils); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.15; margin-bottom: 6px; }
.verbi span { font-size: 1.15rem; }

/* ---------- Praktiskā informācija ---------- */
.info { padding: 96px 0; background: var(--oranzs); }
.info .ietvars:first-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.info h2 { margin-bottom: 32px; }
.fakti { margin: 0; }
.fakti div { padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, .22); display: grid; grid-template-columns: 9rem 1fr; gap: 16px; }
.fakti dt { font-weight: 700; }
.fakti dd { margin: 0; }
.karte { border: 2px solid var(--melns); border-radius: var(--stura); overflow: hidden; min-height: 380px; background: var(--balts); }
.karte iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Atbalstītājiem ---------- */
.atbalsts { background: var(--zils); color: var(--balts); padding: 96px 0; }
.atbalsts h2 { color: var(--balts); margin-bottom: 16px; }
.atbalsts .ievads { max-width: 40rem; font-size: 1.15rem; margin: 0 0 48px; }
.ieguvumi { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.ieguvumi strong { display: block; font-size: 1.15rem; color: var(--oranzs); }
.budzets { font-size: 1.15rem; margin: 0 0 64px; max-width: 44rem; }
.budzets b { color: var(--oranzs); }
.ziedot { background: var(--balts); color: var(--teksts); border-radius: var(--stura); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.ziedot h3 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--zils); margin-bottom: 20px; }
.rekviziti { margin: 0 0 28px; }
.rekviziti div { display: grid; grid-template-columns: 11rem 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px solid #e2e2e8; }
.rekviziti dt { color: #555; }
.rekviziti dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.qr { text-align: center; }
.qr img { width: 200px; height: 200px; margin: 0 auto 10px; }
.qr small { font-size: .9rem; color: #555; }

[hidden] { display: none !important; }

/* Atbalstītāji pa kategorijām: jo augstāka kategorija, jo lielāks logo */
.partneri { padding: 96px 0 56px; }
.partneri h2 { margin-bottom: 40px; }
.grupa { margin-bottom: 48px; }
.grupa h3 { font-family: var(--pamata); font-weight: 700; text-transform: none; font-size: 1.05rem; color: #555; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid #cfcfd6; }
.grupa ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.grupa ul + ul { margin-top: 16px; }
.grupu-rinda { display: flex; flex-wrap: wrap; gap: 0 56px; }
.grupu-rinda .grupa { flex: 0 1 auto; min-width: 220px; }

/* Logo rāmītis (atbalstītāji un ēdinātāji) */
.flize { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 3 / 2; padding: 14px; background: var(--balts); border: 1px solid #dcdce4; border-radius: var(--stura-mazs); text-decoration: none; color: var(--teksts); }
.flize img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.flize .bez-logo { font-weight: 700; text-align: center; line-height: 1.25; overflow-wrap: anywhere; }
/* Rāmīšu platums pēc kategorijas */
.grupa li { width: var(--flize, 150px); }
ul[data-limenis="gen"]  { --flize: 300px; }
ul[data-limenis="rik"], ul[data-limenis="sad"] { --flize: 200px; }
ul[data-limenis="liel"] { --flize: 200px; }
ul[data-limenis="atb"]  { --flize: 150px; }
ul[data-limenis="info"] { --flize: 150px; }
ul[data-limenis="gen"] .bez-logo { font-family: var(--virsraksts); font-weight: 400; font-size: 2rem; text-transform: uppercase; color: var(--zils); }
ul[data-limenis="rik"] .bez-logo, ul[data-limenis="sad"] .bez-logo, ul[data-limenis="liel"] .bez-logo { font-size: 1.05rem; }
ul[data-limenis="atb"] .bez-logo, ul[data-limenis="info"] .bez-logo { font-size: .9rem; }

/* Ēdinātāji: rāmītī logo, zem tā nosaukums un ko piedāvā */
.edinataji { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; }
.edinataji .flize { border-color: rgba(0, 0, 0, .15); margin-bottom: 14px; }
.edinataji .flize .bez-logo { font-family: var(--virsraksts); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; color: var(--zils); }
.edinataji strong { display: block; font-family: var(--virsraksts); font-weight: 400; font-size: 1.45rem; text-transform: uppercase; color: var(--zils); line-height: 1.15; overflow-wrap: anywhere; }
.edinataji p { margin: 6px 0 0; font-size: .95rem; line-height: 1.45; }

/* Ģenerālsponsors hero sadaļā */
.hero-sponsors { margin-top: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.hero-sponsors span { font-size: .9rem; font-weight: 600; }
.hero-sponsors img { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.hero-sponsors b { font-family: var(--virsraksts); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; color: var(--zils); }

/* Ēdināšana */
.edinasana { margin-top: 72px; }
.edinasana::before { content: ""; display: block; border-top: 3px solid var(--melns); margin-bottom: 48px; }
.edinasana h3 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); color: var(--zils); margin: 0 0 8px; }
.edinasana .ievads { margin: 0 0 32px; font-size: 1.1rem; }

/* Sportists ar foto (ja tabulā norādīts) */
.sportisti .foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; margin-bottom: 14px; background: #e6e8ef; border-radius: var(--stura); }
.sportisti a { text-decoration: none; }
.sportisti a:hover .vards { text-decoration: underline; text-decoration-color: var(--oranzs); text-underline-offset: 6px; }

/* ---------- Kontakti un kājene ---------- */
.kontakti { padding: 96px 0; }
.kontakti h2 { margin-bottom: 32px; }
.personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.personas div { border-top: 3px solid var(--oranzs); padding-top: 16px; }
.personas strong { font-family: var(--virsraksts); font-weight: 400; font-size: 2rem; text-transform: uppercase; color: var(--zils); display: block; line-height: 1.1; }
.personas span { display: block; color: #555; margin-bottom: 6px; }
.personas a { font-weight: 600; font-size: 1.15rem; text-underline-offset: 4px; }
.socialie { display: flex; gap: 20px; flex-wrap: wrap; }
.soc-bloks:not(:has(a)) { display: none; }

.kajene { background: var(--oranzs); padding: 164px 0 40px; position: relative; overflow: hidden; text-align: center; }
.kajene .uz-tiksanos { font-family: var(--virsraksts); text-transform: uppercase; color: var(--zils); font-size: clamp(3rem, 9vw, 7.5rem); line-height: .95; margin: 0 0 28px; }
.kajene .logo-k { height: 88px; width: auto; margin: 0 auto 40px; }
.kajene .apaksa { border-top: 2px solid var(--melns); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .95rem; text-align: left; }
.kajene .punkti { left: 24px; top: 28px; }

/* ---------- Pielāgošana ekrāniem ---------- */
@media (max-width: 1200px) {
  /* Telefonā un planšetē izvēlni atver ar pogu */
  .galvene .izvelnes-poga { display: flex; }
  .galvene-poga { margin-left: auto; }
  .galvene .izvelne { position: fixed; inset: 72px 0 auto; display: block; background: var(--balts); border-bottom: 2px solid var(--melns); padding: 8px 24px 20px; max-height: calc(100dvh - 72px); overflow-y: auto; transform: translateY(-120%); visibility: hidden; transition: transform .22s ease, visibility .22s; }
  .izvelne-atverta .galvene .izvelne { transform: none; visibility: visible; }
  .galvene .izvelne a { display: block; padding: 14px 0; font-size: 1.15rem; text-align: right; border-bottom: 1px solid #e2e2e8; }
  .galvene .izvelne a:last-child { border-bottom: 0; }
  .izvelne-atverta { overflow: hidden; }
  .sportisti { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edinataji { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .josla .ietvars { grid-template-columns: repeat(3, auto); }
  .josla .bezmaksas { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 860px) {
  .hero { background-image: none; background-color: var(--oranzs); }
  .hero::before { content: ""; display: block; aspect-ratio: 16 / 10; background: url(../img/hero-drifts.jpg) 65% 50% / cover no-repeat; }
  .hero-panelis { clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); margin-top: -32px; padding-top: 60px; animation: none; }
  .hero .punkti, .klat .punkti { display: none; }
  .josla .ietvars { grid-template-columns: 1fr; gap: 14px; }
  .diena { grid-template-columns: 1fr; min-height: 0; }
  .diena-foto { height: 180px; }
  .diena-foto .rinda { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .diena-datums { padding: 18px; }
  .diena-datums span { writing-mode: horizontal-tb; transform: none; font-size: 2.4rem; }
  .stasts .ietvars, .info .ietvars:first-child, .ziedot { grid-template-columns: 1fr; }
  .galerija { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verbi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ieguvumi, .personas { grid-template-columns: 1fr; }
  .muzika--foto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; font-size: clamp(1.2rem, 5.6vw, 2.2rem); }
  .edinataji { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .edinataji strong { font-size: 1.2rem; }
  .grupa li { width: calc(50% - 8px); }
  ul[data-limenis="gen"] li { width: min(100%, 300px); }
  ul[data-limenis="atb"] li, ul[data-limenis="info"] li { width: calc(33.333% - 11px); }
  .grupu-rinda { display: block; }
  .grafiks li { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  :root { --stura: 14px; }
  .logo img { height: 40px; }
  .sportisti { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .sportisti .vards { font-size: 1.3rem; }
  .sportisti .veids { font-size: .9rem; }
  .fakti div, .rekviziti div { grid-template-columns: 1fr; gap: 2px; }
  .klat, .klat-sportisti, .programma, .stasts, .gads, .info, .atbalsts, .kontakti { padding-top: 64px; padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .poga { transition: none; } }


/* =====================================================================
   2025. GADA LAPA (2025.html)
   ===================================================================== */
.arhivs-hero { background: var(--oranzs); position: relative; overflow: hidden; }
.arhivs-hero .ietvars { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.arhivs-hero .hero-virs { margin-bottom: 18px; }
.arhivs-hero h1 { color: var(--zils); font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1.16; margin-bottom: 24px; }
.arhivs-hero p { font-size: 1.15rem; margin: 0 0 12px; max-width: 32rem; }
.arhivs-hero img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--stura); }
.arhivs-hero .punkti { right: 24px; bottom: 24px; }

.arhivs-sadala { padding: 96px 0; }
.arhivs-sadala h2 { margin-bottom: 16px; }
.arhivs-sadala .ievads { max-width: 40rem; font-size: 1.1rem; margin: 0 0 40px; }
.arhivs-sadala--zila { background: var(--zils); color: var(--balts); }
.arhivs-sadala--zila h2 { color: var(--balts); }
.arhivs-sadala--oranza { background: var(--oranzs); }

.rezultati .skaitli { margin-bottom: 48px; }

.galerija--pilna { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.galerija a { display: block; }

/* Sportisti ar foto no 2025. gada lapas */
.sportisti-2025 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 20px; }
.sportisti-2025 img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--zils-tumss); margin-bottom: 12px; border-radius: var(--stura); }
.sportisti-2025 span { display: block; font-family: var(--virsraksts); text-transform: uppercase; font-size: 1.35rem; line-height: 1.2; }

/* Mūziķi */
.muziki-2025 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.muziki-2025 img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #e9e9ef; border-radius: var(--stura); margin-bottom: 16px; }
.muziki-2025 strong { display: block; font-family: var(--virsraksts); font-weight: 400; text-transform: uppercase; color: var(--zils); font-size: 2.2rem; line-height: 1.1; }
.muziki-2025 p { margin: 4px 0 0; }

/* Programma un balva */
.divas-kolonnas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.divas-kolonnas h2 { margin-bottom: 20px; }
.divas-kolonnas img { width: 100%; height: auto; border-radius: var(--stura); background: var(--balts); }
.divas-kolonnas p { font-size: 1.1rem; margin: 0 0 24px; }
.divas-kolonnas small { display: block; margin-top: 10px; }

/* Atbalstītāji 2025 */
.generalsponsori { list-style: none; margin: 0 0 56px; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.generalsponsori a { font-family: var(--virsraksts); text-transform: uppercase; color: var(--zils); font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-decoration: none; }
.generalsponsori a:hover { text-decoration: underline; text-underline-offset: 6px; }
.logo-rezgis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.logo-rezgis li { background: var(--balts); border: 1px solid #dcdce4; border-radius: var(--stura-mazs); aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 14px; }
.logo-rezgis img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* Aicinājums uz 2026 */
.aicinajums { background: var(--zils); color: var(--balts); padding: 88px 0; text-align: center; }
.aicinajums h2 { color: var(--balts); margin-bottom: 16px; }
.aicinajums p { font-size: 1.2rem; margin: 0 0 32px; }
.aicinajums .hero-pogas { justify-content: center; }

@media (max-width: 1060px) {
  .sportisti-2025 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logo-rezgis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .arhivs-hero .ietvars, .divas-kolonnas { grid-template-columns: 1fr; }
  .arhivs-hero .punkti { display: none; }
  .sportisti-2025 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .muziki-2025 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerija--pilna { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-rezgis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .sportisti-2025 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .muziki-2025 { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .muziki-2025 strong { font-size: 1.6rem; }
  .logo-rezgis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arhivs-sadala { padding: 64px 0; }
}
.arhivs-sadala .grupa { margin-bottom: 0; }


/* =====================================================================
   PAR MUMS (par-mums.html)
   ===================================================================== */
.par-teksts { max-width: 44rem; }
.par-teksts p { font-size: 1.15rem; margin: 0 0 18px; }
.par-teksts .akcents { font-style: italic; font-size: 1.4rem; color: var(--zils); }
.festivali { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.festivals { display: block; text-decoration: none; background: var(--balts); border: 2px solid var(--melns); border-radius: var(--stura); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.festivals:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--melns); }
.festivals img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.festivals div { padding: 22px 26px 26px; }
.festivals small { display: block; font-weight: 600; color: #555; }
.festivals strong { display: block; font-family: var(--virsraksts); font-weight: 400; text-transform: uppercase; color: var(--zils); font-size: 2rem; line-height: 1.15; margin: 4px 0 6px; }
.jautajumi { max-width: 52rem; border-top: 3px solid var(--melns); }
.jautajumi details { border-bottom: 1px solid #cfcfd6; padding: 18px 0; }
.jautajumi summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.jautajumi summary::-webkit-details-marker { display: none; }
.jautajumi summary::after { content: "+"; font-family: var(--pamata); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--zils); flex-shrink: 0; }
.jautajumi details[open] summary::after { content: "–"; }
.jautajumi p { margin: 10px 0 0; max-width: 44rem; }
@media (max-width: 860px) { .festivali { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .festivals { transition: none; } }


/* =====================================================================
   NOTEIKUMI (noteikumi.html)
   ===================================================================== */
.noteikumi-hero { background: var(--oranzs); padding: 64px 0 56px; }
.noteikumi-hero h1 { color: var(--zils); font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1.1; margin: 0 0 14px; }
.noteikumi-hero p:not(.hero-virs) { font-size: 1.1rem; margin: 0 0 24px; }
.noteikumi-hero .poga { cursor: pointer; }

.noteikumi { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-top: 64px; padding-bottom: 96px; align-items: start; }
.noteikumi-saturs { position: sticky; top: 96px; }
.noteikumi-saturs p { font-weight: 700; margin: 0 0 10px; }
.noteikumi-saturs ol { margin: 0; padding-left: 1.4em; display: grid; gap: 6px; }
.noteikumi-saturs a { text-decoration: none; }
.noteikumi-saturs a:hover { color: var(--zils); text-decoration: underline; text-underline-offset: 4px; }

.noteikumi-teksts { max-width: 46rem; }
.noteikumi-teksts section { padding-top: 36px; }
.noteikumi-teksts h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 3px solid var(--oranzs); }
.noteikumi-teksts h2 span { color: var(--oranzs); }
.noteikumi-teksts p { margin: 0 0 12px; }
.noteikumi-teksts p b { color: var(--zils); margin-right: .2em; }

.isuma { background: #FFF3DC; border: 2px solid var(--melns); border-radius: var(--stura); padding: 28px 32px; }
.isuma h2 { font-size: 2rem; border: 0; padding: 0; margin-bottom: 12px; }
.isuma ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }

@media (max-width: 860px) {
  .noteikumi { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .noteikumi-saturs { position: static; border: 1px solid #cfcfd6; border-radius: var(--stura-mazs); padding: 18px 20px; }
  .isuma { padding: 22px 20px; }
}

@media print {
  .galvene, .kajene, .noteikumi-saturs, .noteikumi-hero .poga, .izlaist { display: none !important; }
  .noteikumi-hero { background: none; padding: 0 0 12px; }
  .noteikumi { display: block; padding: 0; }
  .isuma { background: none; }
  body { font-size: 11pt; }
  a { text-decoration: none; }
}


/* =====================================================================
   PROGRAMMAS ZONAS
   ===================================================================== */
.zonas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; max-width: 900px; }
.zonas button { font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; background: var(--balts); color: var(--zc, var(--teksts)); border: 2px solid var(--zc, var(--melns)); padding: 8px 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.zonas button:hover { box-shadow: 3px 3px 0 var(--zc, var(--melns)); }
.zonas .cik { font-size: .8rem; background: color-mix(in srgb, var(--zc, #111) 14%, #fff); border-radius: 999px; padding: 1px 8px; }
.zonas button[aria-pressed="true"] { background: var(--zc, var(--zils)); border-color: var(--zc, var(--zils)); color: var(--balts); }
.zonas button[aria-pressed="true"] .cik { background: rgba(255, 255, 255, .25); color: var(--balts); }
.zonas-tuksa { font-weight: 600; margin: 0 0 16px; }
.zonu-birkas { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
/* Telefonā filtrs ir nolaižamā izvēlne, nevis pogu rinda */
@media (max-width: 700px) {
  .zonas { display: none !important; }
  .zonas-izvele:not([hidden]) { display: flex; }
}
.zona { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--zc, var(--zils)); border: 1.5px solid currentColor; border-radius: 999px; padding: 1px 10px; }
.zona--visur { color: #6B7280; }
.zonas-izvele { display: none; align-items: center; gap: 12px; margin: 0 0 28px; font-weight: 600; }
.zonas-izvele select { font: inherit; font-weight: 600; padding: 12px 14px; border: 2px solid var(--melns); border-radius: var(--stura-mazs); background: var(--balts); color: var(--teksts); flex: 1; max-width: 420px; }

/* =====================================================================
   ANIMĀCIJA, UZBRAUCOT AR PELI UZ BILDĒM UN LOGO
   (tikai ierīcēs ar peli; izslēgta, ja lietotājs vēlas mazāk kustību)
   ===================================================================== */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .muzika--foto .foto, .sportisti .foto, .galerija img, .sportisti-2025 img, .muziki-2025 img, .flize, .logo-rezgis li, .stasts img, .divas-kolonnas img {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .muzika--foto li:hover .foto { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--zils); }
  .sportisti li:hover .foto, .sportisti-2025 li:hover img { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--oranzs); }
  .galerija li:hover img, .muziki-2025 li:hover img, .divas-kolonnas a:hover img { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--zils); }
  .flize:hover, .logo-rezgis li:hover { transform: translateY(-3px); border-color: var(--zils); box-shadow: 4px 4px 0 var(--zils); }
}

/* =====================================================================
   BALVA
   ===================================================================== */
.balva { background: var(--zils); color: var(--balts); padding: 80px 0; }
.balva .ietvars { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.balva h2 { color: var(--oranzs); margin-bottom: 18px; }
.balva p { font-size: 1.15rem; margin: 0 0 28px; max-width: 34rem; }
.balva .hero-pogas { margin: 0; }
.balva .poga { border-color: var(--balts); }
.balva .poga:hover { box-shadow: 4px 4px 0 var(--balts); }
.balva b { color: var(--oranzs); }
.balva img { width: 100%; height: auto; border-radius: var(--stura); background: rgba(255, 255, 255, .08); }

/* =====================================================================
   PASĀKUMA KARTE
   ===================================================================== */
.pasakuma-karte { margin-top: 72px; }
.pasakuma-karte::before { content: ""; display: block; border-top: 3px solid var(--melns); margin-bottom: 48px; }
.pasakuma-karte h3 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); color: var(--zils); margin: 0 0 8px; }
.pasakuma-karte .ievads { margin: 0 0 28px; font-size: 1.1rem; }
.pasakuma-karte img { width: 100%; height: auto; border-radius: var(--stura); background: var(--balts); }

/* =====================================================================
   SOCIĀLIE TĪKLI
   ===================================================================== */
.socialie { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.socialie .soc { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid currentColor; border-radius: 50%; color: var(--zils); }
.socialie .soc svg { width: 22px; height: 22px; fill: currentColor; }
.socialie--kajene { justify-content: center; margin: 0 0 32px; }
.socialie--kajene .soc { color: var(--zils); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .socialie .soc { transition: transform .15s ease, background-color .15s ease, color .15s ease; }
  .socialie .soc:hover { transform: translateY(-3px); background: var(--zils); color: var(--balts); }
  .socialie--kajene .soc:hover { background: var(--zils); color: var(--oranzs); }
}

@media (max-width: 860px) {
  .balva .ietvars { grid-template-columns: 1fr; gap: 32px; }
  .balva img { order: -1; }
}
@media (max-width: 520px) {
}


/* =====================================================================
   MOBILĀ IZVĒLNE (poga ar svītriņām)
   ===================================================================== */
.izvelnes-poga { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; background: transparent; border: 2px solid var(--melns); border-radius: var(--stura-mazs); cursor: pointer; flex-shrink: 0; }
.svitras, .svitras::before, .svitras::after { display: block; width: 22px; height: 2.5px; background: var(--melns); border-radius: 2px; }
.svitras { position: relative; }
.svitras::before, .svitras::after { content: ""; position: absolute; left: 0; }
.svitras::before { top: -7px; }
.svitras::after { top: 7px; }
[aria-expanded="true"] .svitras { background: transparent; }
[aria-expanded="true"] .svitras::before { top: 0; transform: rotate(45deg); }
[aria-expanded="true"] .svitras::after { top: 0; transform: rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) {
  .svitras, .svitras::before, .svitras::after { transition: transform .2s ease, top .2s ease, background-color .2s ease; }
}

/* Balvas rindiņa hero blokā */
.hero-balva { margin: 20px 0 0; font-weight: 600; }
.hero-balva a { color: var(--zils); text-underline-offset: 4px; text-decoration-thickness: 2px; }



/* =====================================================================
   DIENAS PLĀNS KĀ BILDE (zem programmas)
   ===================================================================== */
.dienas-plans { margin-top: 64px; }
.dienas-plans::before { content: ""; display: block; border-top: 3px solid var(--melns); margin-bottom: 40px; }
.dienas-plans h3 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--zils); margin: 0 0 8px; }
.dienas-plans .ievads { margin: 0 0 24px; }
.dienas-plans img { width: 100%; max-width: 760px; height: auto; border-radius: var(--stura); background: #e6e8ef; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .dienas-plans img { transition: transform .2s ease, box-shadow .2s ease; }
  .dienas-plans a:hover img { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--zils); }
}


/* Sociālie tīkli mobilās izvēlnes apakšā */
.izvelnes-soc { display: none; }
@media (max-width: 1200px) {
  .galvene .izvelne .izvelnes-soc { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; padding-top: 18px; margin-top: 8px; border-top: 1px solid #e2e2e8; }
  .galvene .izvelne .izvelnes-soc .soc { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid var(--zils); border-radius: 50%; color: var(--zils); padding: 0; }
  .galvene .izvelne .izvelnes-soc .soc svg { width: 22px; height: 22px; fill: currentColor; }
}

/* =====================================================================
   PROGRAMMAS SKATI: NOTIEK TAGAD / VISA DIENA
   ===================================================================== */
.dienas-plans .zem-bildes { margin: 12px 0 0; color: #555; font-size: .95rem; }
.dienas-plans { margin-bottom: 56px; }

.skats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.skats button { font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; background: var(--balts); color: var(--teksts); border: 2px solid var(--melns); padding: 12px 22px; border-radius: 999px; }
.skats button[aria-pressed="true"] { background: var(--zils); border-color: var(--zils); color: var(--balts); }
.skats button:hover { box-shadow: 3px 3px 0 var(--melns); }
.skats button[aria-pressed="true"]:hover { box-shadow: 3px 3px 0 var(--melns); }

.filtra-virsraksts { font-family: var(--virsraksts); text-transform: uppercase; font-size: 1.3rem; color: var(--zils); margin: 0 0 14px; }
.laiku-piezime { margin: 0 0 20px; color: #555; font-size: .95rem; }

.tagad-v { font-family: var(--virsraksts); text-transform: uppercase; font-size: 1.6rem; color: var(--zils); margin: 32px 0 14px; }
.tagad-v:first-child { margin-top: 0; }
#tagad-saraksts .grafiks { margin-bottom: 8px; }
.pec { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; background: var(--oranzs); border-radius: 999px; padding: 2px 12px; }
.visu-dienu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; }
.visu-dienu li { display: flex; align-items: center; gap: 8px; font-weight: 600; background: #f3f3f6; border-radius: 999px; padding: 8px 16px; }

/* Visas dienas skats festivāla dienā */
.grafiks li.pagajis { opacity: .45; }
.grafiks li.nakamais strong::after { content: "Tālāk"; display: inline-block; margin-left: 10px; font-family: var(--pamata); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--oranzs); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }

@media (max-width: 520px) {
  .skats { gap: 8px; }
  .skats button { flex: 1; padding: 12px 10px; font-size: .95rem; }
  .tagad-v { font-size: 1.35rem; }
}

/* =====================================================================
   PĒC FESTIVĀLA: ATSKATS, APTAUJA, JAUNUMI
   ===================================================================== */
.atskats { padding: 88px 0; background: var(--balts); }
.atskats h2 { margin-bottom: 12px; }
.atskats .ievads { max-width: 40rem; font-size: 1.1rem; margin: 0 0 24px; }

/* Formas kopīgie elementi */
.forma { display: grid; gap: 22px; }
.forma fieldset { border: 0; margin: 0; padding: 0; }
.forma legend, .lauks { font-weight: 700; }
.forma legend { margin-bottom: 10px; }
.lauks { display: grid; gap: 8px; }
.lauks input, .lauks select, .lauks textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 2px solid var(--melns); border-radius: var(--stura-mazs); background: var(--balts); color: var(--teksts); width: 100%; }
.lauks textarea { resize: vertical; min-height: 96px; }
.lauks input:focus, .lauks select:focus, .lauks textarea:focus { outline: 3px solid var(--zils); outline-offset: 1px; }
.neobl { font-weight: 400; color: #666; font-size: .9rem; }
.atzime { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.atzime input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--zils); }
.forma .poga { justify-self: start; border: 2px solid var(--melns); cursor: pointer; font-size: 1.05rem; }
.forma .poga:disabled { opacity: .6; cursor: wait; }
.formas-zina { margin: 0; font-weight: 600; min-height: 1.5em; }
.formas-zina--ok { color: #0a7a2f; }
.formas-zina--kluda { color: #b00020; }
.privatums { margin: 0; font-size: .85rem; color: #555; max-width: 44rem; }
.slazds { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Aptauja */
.aptauja { padding: 96px 0; background: var(--oranzs); }
.aptauja h2 { margin-bottom: 12px; }
.aptauja .ievads { max-width: 40rem; font-size: 1.1rem; margin: 0 0 36px; }
.aptauja .forma { max-width: 760px; background: var(--balts); border: 2px solid var(--melns); border-radius: var(--stura); padding: clamp(22px, 4vw, 40px); }
.formas-saturs { display: grid; gap: 22px; }
.formas-saturs[hidden] { display: none; }
.lomas { display: flex; flex-wrap: wrap; gap: 10px; }
.lomas legend { width: 100%; font-family: var(--virsraksts); font-weight: 400; text-transform: uppercase; color: var(--zils); font-size: 1.5rem; }
.lomas label { cursor: pointer; }
.lomas input { position: absolute; opacity: 0; pointer-events: none; }
.lomas label > span { display: inline-block; font-weight: 600; padding: 10px 18px; border: 2px solid var(--melns); border-radius: 999px; background: var(--balts); }
.lomas input:checked + span { background: var(--zils); border-color: var(--zils); color: var(--balts); }
.lomas input:focus-visible + span { outline: 3px solid var(--zils); outline-offset: 2px; }
.lomas-jautajumi { display: grid; gap: 22px; }
.lomas-jautajumi[hidden] { display: none; }

.zvaigznes { display: inline-flex; flex-direction: row-reverse; gap: 8px; }
.zvaigznes input { position: absolute; opacity: 0; pointer-events: none; }
.zvaigznes label { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 2px solid var(--melns); border-radius: var(--stura-mazs); font-family: var(--virsraksts); font-size: 1.5rem; cursor: pointer; background: var(--balts); }
.zvaigznes input:checked ~ label, .zvaigznes label:hover, .zvaigznes label:hover ~ label { background: var(--oranzs); }
.zvaigznes input:focus-visible + label { outline: 3px solid var(--zils); outline-offset: 2px; }
.skala { display: flex; justify-content: space-between; max-width: 300px; margin: 6px 0 0; font-size: .85rem; color: #555; }

.izveles { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.izveles legend { width: 100%; }
.izveles label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.izveles input { width: 18px; height: 18px; accent-color: var(--zils); }
.divi-lauki { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Jaunumi */
.jaunumi { padding: 96px 0; background: var(--zils); color: var(--balts); }
.jaunumi .ietvars { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.jaunumi h2 { color: var(--oranzs); margin-bottom: 16px; }
.jaunumi p { font-size: 1.15rem; margin: 0; max-width: 32rem; }
.jaunumu-forma .lauks { color: var(--balts); }
.jaunumu-forma .lauks input { border-color: var(--balts); }
.jaunumu-forma .neobl { color: rgba(255, 255, 255, .75); }
.jaunumu-forma .atzime { font-size: .9rem; }
.jaunumu-forma .poga { border-color: var(--balts); }
.jaunumu-forma .formas-zina--ok { color: var(--oranzs); }
.jaunumu-forma .formas-zina--kluda { color: #ffd0d8; }

/* Ēdinātāji paldies sadaļā */
.edinasana--paldies { margin-top: 24px; }
.edinasana--paldies::before { border-top-color: #cfcfd6; border-top-width: 1px; margin-bottom: 32px; }
.edinasana--paldies h3 { font-family: var(--pamata); font-weight: 700; text-transform: none; font-size: 1.05rem; color: #555; margin: 0 0 18px; }
.edinasana--paldies .edinataji .flize { border-color: #dcdce4; }

@media (max-width: 860px) {
  .jaunumi .ietvars { grid-template-columns: 1fr; gap: 28px; }
  .divi-lauki { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .atskats, .aptauja, .jaunumi { padding: 64px 0; }
  .zvaigznes label { width: 46px; height: 46px; }
  .lomas label > span { padding: 9px 14px; font-size: .95rem; }
}

/* Garāks virsraksts pēc festivāla */
.hero h1.h1-paldies { font-size: clamp(3.6rem, 8.4vw, 7.4rem); }

/* Divas aptaujas */
.obl { color: #b00020; font-family: var(--pamata); }
.aptauja-saite { margin: 28px 0 0; font-weight: 600; max-width: 760px; }
.aptauja-saite a { color: var(--zils); text-underline-offset: 4px; }
.aptauja--lapa { padding-top: 64px; }
.aptauja-virsraksts { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--zils); margin: 0 0 14px; }
.kajene .apaksa a { color: inherit; }

/* =====================================================================
   v20
   ===================================================================== */
/* Pateicības bloks pēc hero */
.paldies { background: var(--balts); padding: 88px 0; text-align: center; }
.paldies h2 { font-size: clamp(3rem, 9vw, 7rem); line-height: 1.02; margin: 0 0 20px; }
.paldies p { max-width: 44rem; margin: 0 auto; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }

/* Ģenerālsponsors hero blokā: lielāks, ar saiti */
.hero-sponsors { margin-top: 32px; gap: 12px 20px; }
.hero-sponsors img { height: 76px; max-width: 280px; }
.hero-sponsors a { display: inline-flex; background: var(--balts); border-radius: var(--stura-mazs); padding: 10px 16px; }
.hero-sponsors b { font-size: 2rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-sponsors a { transition: transform .15s ease, box-shadow .15s ease; }
  .hero-sponsors a:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--zils); }
}

.atskats-poga { margin: 0 0 24px; }

/* Ziedošanas summas */
.summas-v { font-weight: 700; margin: 0 0 10px; }
.summas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.summa { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; padding: 10px 14px; border: 2px solid var(--zils); border-radius: 999px; font-weight: 700; color: var(--zils); text-decoration: none; }
.summa:hover { background: var(--zils); color: var(--balts); }
.ziedot-pogas { display: flex; flex-wrap: wrap; gap: 10px; }
.ziedot-pogas .poga--balta { border-color: var(--melns); }

/* Vienkāršie kontakti: e-pasts + sociālie tīkli */
.kontakti-vienkarsi { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.kontakti-vienkarsi h2 { margin-bottom: 16px; }
.kontakti-epasts { margin: 0 0 8px; font-family: var(--virsraksts); text-transform: none; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; }
.kontakti-epasts a { color: var(--zils); text-decoration: none; overflow-wrap: anywhere; }
.kontakti-epasts a:hover { text-decoration: underline; text-underline-offset: 6px; }
.kontakti-vienkarsi p { margin: 0; }
.kontakti-soc-v { font-weight: 700; margin: 0 0 10px !important; }

/* Karte programmā (2026) */
.programmas-karte { margin: 8px 0 32px; }
.programmas-karte img { width: 100%; height: auto; border-radius: var(--stura); background: #e6e8ef; }
.programmas-karte .zem-bildes { margin: 10px 0 0; color: #555; font-size: .95rem; }
.zona--galv { color: var(--teksts); background: var(--oranzs); border-color: var(--oranzs); }

@media (max-width: 860px) {
  .kontakti-vienkarsi { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 520px) {
  .paldies { padding: 64px 0; }
  .hero-sponsors img { height: 58px; max-width: 220px; }
}

/* Galvenes pogas teksts: uz datora garāks, telefonā īsāks */
.galvene-poga .iss { display: none; }
@media (max-width: 1200px) {
  .galvene-poga .pilns { display: none; }
  .galvene-poga .iss { display: inline; }
}

/* ---------- Foto galerija (galerija.php un izlases režģis) ---------- */
.gal-lapa { padding: 72px 0 96px; }
.gal-lapa .hero-virs { margin-bottom: 12px; }
.gal-lapa h1 { color: var(--zils); font-size: clamp(3rem, 7vw, 5.6rem); margin-bottom: 24px; }
.gal-gadi { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.gal-ievads { max-width: 44rem; font-size: 1.1rem; margin: 0 0 32px; }
.gal-ievads a, .gal-nonemt a, .gal-autors a { color: var(--zils); font-weight: 600; }
.gal-kuras { font-size: .95rem; font-weight: 600; margin: 0 0 14px; }
.gal-rezgis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.gal-rezgis a, .gal-izlase a { display: block; border-radius: var(--stura-mazs); overflow: hidden; background: var(--zils-tumss); }
.gal-rezgis img, .gal-izlase img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s ease, opacity .25s ease; }
.gal-rezgis a:hover img, .gal-izlase a:hover img { transform: scale(1.04); opacity: .92; }
.gal-rezgis li:target a { outline: 4px solid var(--oranzs); outline-offset: 3px; }
.gal-lapas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 0 0 28px; }
.gal-lapas__nr { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gal-lapas__nr a, .gal-lapas__nr span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px;
  border: 2px solid var(--melns); border-radius: 999px; font-weight: 600; text-decoration: none; }
.gal-lapas__nr a:hover { background: var(--oranzs); }
.gal-lapas__nr [aria-current] { background: var(--zils); border-color: var(--zils); color: var(--balts); }
.gal-lapas__bulta { font-weight: 600; color: var(--zils); text-decoration: none; }
.gal-lapas__bulta:hover { text-decoration: underline; }
.gal-nonemt { max-width: 44rem; font-size: .95rem; margin: 40px 0 0; padding-top: 20px; border-top: 2px solid #eee; }

/* Izlase sākumlapā un gada lapās */
.gal-izlase img { aspect-ratio: 4 / 3 !important; }
.gal-izlase { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.gal-pogas { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 16px; }
.gal-autors { font-size: .95rem; margin: 0; }
.arhivs-sadala--oranza .gal-autors a, .klat--oranza .gal-autors a { color: var(--zils); }

/* Lielais skats */
body.gal-atverts { overflow: hidden; }
.gal-skats { position: fixed; inset: 0; z-index: 200; background: #0b0b0b; color: var(--balts);
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: auto minmax(0, 1fr); }
.gal-skats[hidden] { display: none; }
.gal-skats__augsa { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.gal-skats__nr { font-weight: 600; margin-right: auto; }
.gal-skats__lejup { color: var(--melns); background: var(--oranzs); border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: .95rem; text-decoration: none; }
.gal-skats__aizv, .gal-skats__bulta { background: none; border: 0; color: var(--balts); cursor: pointer; font-family: var(--pamata); line-height: 1; }
.gal-skats__aizv { font-size: 1.6rem; width: 44px; height: 44px; }
.gal-skats__bulta { font-size: 3.4rem; align-self: center; height: 100%; }
.gal-skats__bulta:hover, .gal-skats__aizv:hover { color: var(--oranzs); }
.gal-skats__bulta--iepr { grid-column: 1; grid-row: 2; }
.gal-skats__bulta--nak { grid-column: 3; grid-row: 2; }
.gal-skats__bilde { grid-column: 2; grid-row: 2; margin: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 16px; }
.gal-skats__bilde img { max-width: 100%; max-height: calc(100% - 32px); object-fit: contain; transition: opacity .15s; }
.gal-skats.ielade img { opacity: .35; }
.gal-skats figcaption { font-size: .85rem; opacity: .7; margin-top: 8px; }

@media (max-width: 1060px) { .gal-rezgis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .gal-rezgis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .gal-izlase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .gal-lapa { padding: 48px 0 64px; }
  .gal-rezgis { gap: 4px; }
  .gal-rezgis a { border-radius: 6px; }
  .gal-skats { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .gal-skats__bulta { display: none; }   /* telefonā šķir ar pirkstu */
  .gal-skats__lejup { padding: 7px 14px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .gal-rezgis img, .gal-izlase img { transition: none; } }

/* Pieprasījums noņemt bildi (galerijas lielajā skatā) */
.gal-skats__zinot { background: none; border: 2px solid rgba(255, 255, 255, .6); color: var(--balts); border-radius: 999px; padding: 6px 16px;
  font: 600 .95rem var(--pamata); cursor: pointer; }
.gal-skats__zinot:hover { border-color: var(--oranzs); color: var(--oranzs); }
.gal-zinot { position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .7); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.gal-zinot[hidden] { display: none; }
.gal-zinot__forma { width: min(560px, 100%); max-height: 100%; overflow-y: auto; background: var(--balts); color: var(--teksts);
  border: 2px solid var(--melns); border-radius: var(--stura); padding: clamp(20px, 4vw, 32px); gap: 16px; }
.gal-zinot__forma h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.gal-zinot__bilde { margin: -8px 0 0; font-weight: 600; }
.gal-zinot__izv { display: flex; align-items: center; gap: 10px; font-weight: 500; padding: 4px 0; cursor: pointer; }
.gal-zinot__izv input { width: 20px; height: 20px; accent-color: var(--zils); }
.gal-zinot__info { margin: 0; font-size: .88rem; line-height: 1.5; background: #f3f3f7; border-radius: var(--stura-mazs); padding: 12px 14px; }
.gal-zinot__pogas { display: flex; flex-wrap: wrap; gap: 12px; }
.gal-zinot small { font-weight: 400; }
.gal-iss { display: none; }
.gal-rezgis li.gal-zinots a { pointer-events: none; }
.gal-rezgis li.gal-zinots img { opacity: .08; filter: blur(8px); }
@media (max-width: 520px) {
  .gal-skats__augsa { gap: 8px; padding: 10px; }
  .gal-skats__zinot { padding: 6px 10px; font-size: .8rem; }
  .gal-gars { display: none; }
  .gal-iss { display: inline; }
}

/* Filtri pēc birkām: grupu rinda, birkas izvēršas pa vienai grupai */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gal-filtri { margin: 0 0 28px; }
.gal-filtri__rinda { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gal-grupa { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.gal-filtri__grupa { flex-basis: 100%; margin: 4px 0 0; font-family: inherit; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #666; }
.gal-filtrs { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 2px solid var(--melns); border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--balts); color: var(--melns); }
.gal-filtrs span { font-weight: 500; font-size: .8rem; opacity: .65; }
.gal-filtrs:hover { background: var(--oranzs); }
.gal-filtrs--akt { background: var(--zils); border-color: var(--zils); color: var(--balts); }
.gal-filtrs--akt:hover { background: var(--zils); }
.gal-filtrs--nonemt b { font-size: .85rem; margin-left: 2px; }
.gal-filtrs--nonemt:hover { background: #1d1cc4; }
.gal-filtrs[hidden] { display: none; }
.gal-grupa-poga { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 2px solid #c9c9d6; border-radius: 999px; background: var(--balts);
  font: inherit; font-weight: 600; font-size: .92rem; color: var(--melns); cursor: pointer; }
.gal-grupa-poga span { font-size: .75rem; transition: transform .15s; }
.gal-grupa-poga:hover { border-color: var(--melns); }
.gal-grupa-poga[aria-expanded="true"] { border-color: var(--melns); background: var(--oranzs); }
.gal-grupa-poga[aria-expanded="true"] span { transform: rotate(180deg); }
.gal-grupa-poga--akt { border-color: var(--zils); color: var(--zils); }
.gal-meklet { flex: 1 1 220px; max-width: 320px; padding: 8px 14px; border: 2px solid #c9c9d6; border-radius: 999px; font: inherit; font-size: .92rem; background: var(--balts); }
.gal-meklet:focus { outline: none; border-color: var(--zils); }
.gal-meklet-nav { margin: 12px 0 0; color: #666; }
/* Ar JavaScript: redzama tikai atvērtā grupa (vai meklēšanas rezultāti) */
.gal-filtri--js .gal-grupa { display: none; padding: 14px; border-radius: 16px; background: #f4f4f8; }
.gal-filtri--js .gal-grupa--atv { display: flex; }
.gal-filtri--js .gal-grupa--atv .gal-filtri__grupa { display: none; }
.gal-filtri--mekle .gal-grupa { display: flex; background: none; padding: 0; }
.gal-filtri--mekle .gal-grupa--tuksa { display: none; }
@media (max-width: 520px) {
  .gal-filtri__rinda { gap: 6px; }
  .gal-filtri__rinda > * { white-space: nowrap; }
  .gal-meklet { order: -1; flex: 1 1 100%; max-width: none; }
  .gal-grupa-poga, .gal-filtri__rinda .gal-filtrs { padding: 6px 12px; font-size: .88rem; }
  .gal-filtri--js .gal-grupa { margin-inline: -8px; padding: 12px; }
}

/* ---------- Rotējošas bildes (HERO un festivālu kartītes, birkas adminā) ---------- */
.hero-foni, .festivals-foto { position: relative; overflow: hidden; }
.hero-foni img, .festivals-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-foni img.aktiva, .festivals-foto img.aktiva { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-foni img, .festivals-foto img { transition: opacity 1.2s ease; }
}
.hero--foto { background-image: none; }
.hero-foni { position: absolute; inset: 0; }
.festivals-foto { aspect-ratio: 16 / 9; background: #333; }
.festivals .festivals-foto img { aspect-ratio: auto; height: 100%; }
@media (max-width: 860px) {
  .hero--foto::before { display: none; }
  .hero-foni { position: relative; inset: auto; aspect-ratio: 16 / 10; }
}

/* Gada pogas ar bilžu skaitu izvēlētajai birkai */
.gal-gads__sk { display: inline-block; min-width: 1.8em; padding: 1px 8px; margin-left: 6px; border-radius: 999px; font-size: .85em; line-height: 1.5; text-align: center; background: var(--oranzs); color: var(--melns); }
.gal-gads--tukss { opacity: .55; }

/* Birkas lapa: virsraksts ir birkas nosaukums */
.hero-virs a { color: inherit; text-decoration: none; }
.hero-virs a:hover { text-decoration: underline; }
.gal-h--birka { overflow-wrap: anywhere; }
