/**
 * Maironis — Components
 * Author: Tobalt — https://tobalt.lt (built for MLLM)
 * Grows one Figma component at a time. Loads after base.css.
 */

/* ═══════════════════════════════════════════════════════════════════════
 * Buttons — Figma: BTN_full (Property 1 = Žalias · Purpurinis · Juodas ·
 * Linijinis). Sharp corners, padding 12px 32px, Myriad Pro Semibold 16px.
 * ═══════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-7);       /* 12px 32px */
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);                     /* 16px */
  line-height: var(--lh-tight);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: var(--border-width) solid transparent; /* keeps outlined + filled same box */
  border-radius: var(--radius-0);                /* sharp */
  color: var(--mllm-on-accent);
  background: var(--mllm-accent);
  cursor: pointer;
  transition: filter var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover        { filter: brightness(0.92); color: var(--mllm-on-accent); }
.btn:active       { filter: brightness(0.85); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--c-juoda-300);
  color: var(--c-juoda-600);
  cursor: not-allowed;
  filter: none;
}

/* Branch-aware workhorse: inherits whatever --mllm-accent the scope sets */
.btn--primary { background: var(--mllm-accent); color: var(--mllm-on-accent); }

/* Fixed-colour variants (Figma named tones). Ink text on light accents
   (WCAG AA); pale text only on the dark Juodas button. */
.btn--zalias     { background: var(--c-zalia);     color: var(--c-juoda-900); }
.btn--purpurinis { background: var(--c-purpurine);  color: var(--c-juoda-900); }
.btn--juodas     { background: var(--c-juoda-900);  color: var(--c-juoda-100); }

/* Linijinis (outlined) — transparent fill, accent border. Text is ink for
   AA (accent-as-text on white fails AA); hover fills with the accent.
   Themes with the branch scope; Figma reference sample used purpurinė. */
.btn--linijinis {
  background: transparent;
  border-color: var(--mllm-accent);
  /* Justina 2026-09-07 (ruttl x3): "Isvalyti filtra mygtukas juodas - nesimato, jei
     neuzvedi peles". Buvo `var(--color-text)` = tamsus rasalas, todel ant TAMSIU sekciju
     (parodos, renginiai) likdavo tuscias remelis. `inherit` paima sekcijos teksto spalva,
     tad veikia ir ant balto, ir ant tamsaus - ta pati pamoka kaip .mllm-tipai__btn v1.55.2. */
  color: inherit;
}
.btn--linijinis:hover {
  background: var(--mllm-accent);
  color: var(--mllm-on-accent);
  filter: none;
}

/* Full-width in tight containers */
.btn--block { display: flex; width: 100%; }

/* Outlined nav/read-more button — Figma BTN_outlined: Courier 20 + arrow,
   ink border, padding 12/40, gap 24. Hover fills with the branch accent. */
.btn--outlined {
  gap: var(--space-6);
  padding: var(--space-3) var(--space-8);      /* 12px 40px */
  background: transparent;
  /* Justina 2026-09-07 (ruttl, erdviu nuoma): "Mygtukai juodi, tai neuzvedus
     kursoriaus - nesimato". Buvo kietai `--color-text` (tamsus rasalas) IR remeliui,
     IR tekstui, todel ant tamsiu sekciju mygtukas dingdavo. Trecias komponentas su ta
     pacia yda (po .mllm-tipai__btn v1.55.2 ir .btn--linijinis v1.56.0) - paveldim. */
  border-color: currentColor;
  color: inherit;
  font-family: var(--font-accent);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body-big-accent);        /* 20px */
  line-height: var(--lh-body);
  white-space: normal;
}
.btn--outlined:hover {
  background: var(--mllm-accent);
  border-color: var(--mllm-accent);
  color: var(--mllm-on-accent);
  filter: none;
}
.mllm-icon { display: block; flex: 0 0 auto; }

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/hero — full-bleed image + overlaid title (H1 accent, pale).
 * Bottom scrim guarantees title contrast over any photo (WCAG AA).
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(694px, 68vh);
  width: 100%;
  overflow: hidden;
  background: var(--c-juoda-900);
}
.mllm-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mllm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,21,28,0.72) 0%, rgba(20,21,28,0.25) 34%, rgba(20,21,28,0) 62%);
  pointer-events: none;
}
.mllm-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--space-8);
}
.mllm-hero__title {
  font-family: var(--font-accent);
  font-weight: var(--fw-bold);
  font-size: clamp(1.75rem, 4.5vw, 3rem);      /* 28 → 48px */
  line-height: var(--lh-heading);
  color: var(--c-juoda-100);
  max-width: 20ch;
}
.mllm-hero__placeholder {
  position: relative; z-index: 1;
  margin: var(--space-8); color: var(--c-juoda-100);
  font-family: var(--font-accent);
}
.mllm-hero__badge {
  display: inline-block; align-self: flex-start;
  margin-bottom: var(--space-4);
  padding: var(--space-1) var(--space-4);
  background: var(--mllm-accent); color: var(--mllm-on-accent);
  font-family: var(--font-condensed); font-weight: var(--fw-semibold);
  font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.05em;
}
.mllm-hero__subtitle {
  margin-top: var(--space-4); max-width: 60ch;
  color: var(--c-juoda-100); font-family: var(--font-accent); font-size: var(--fs-body);
}

/* Hero as a carousel: horizontal scroll-snap track, one slide per view. */
.mllm-hero--carousel { display: block; }
.mllm-hero--carousel::after { content: none; }        /* gradient moves onto each slide */
.mllm-hero__track {
  display: flex; margin: 0; padding: 0; list-style: none;
  height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.mllm-hero__track::-webkit-scrollbar { display: none; }
.mllm-hero__slide {
  position: relative; flex: 0 0 100%; width: 100%;
  min-height: min(694px, 68vh);
  display: flex; align-items: flex-end;
  overflow: hidden; scroll-snap-align: start;
}
.mllm-hero__slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(20,21,28,0.72) 0%, rgba(20,21,28,0.25) 34%, rgba(20,21,28,0) 62%);
}
.mllm-hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: rgba(20, 21, 28, 0.4); border: 1.5px solid var(--c-juoda-100); color: var(--c-juoda-100);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mllm-hero__arrow svg { width: 22px; height: 22px; }
.mllm-hero__arrow--prev { left: var(--gutter); }
.mllm-hero__arrow--next { right: var(--gutter); }
.mllm-hero__arrow:hover { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-hero__dots {
  position: absolute; z-index: 2; right: var(--gutter); bottom: var(--space-5);
  display: flex; gap: 12px;
}
.mllm-hero__dot {
  width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%;
  background: var(--c-juoda-100); opacity: 0.5; cursor: pointer;
  transition: opacity var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.mllm-hero__dot:hover { opacity: 0.8; }
.mllm-hero__dot.is-active { opacity: 1; background: var(--mllm-accent); }
@media (max-width: 600px) {
  .mllm-hero__arrow { width: 40px; height: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/tekstas-foto — heading + text column + framed portrait + btn.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-tekstas-foto__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
/* Keep the read-more button at its natural width, left-aligned (Figma). */
.mllm-tekstas-foto__inner > .btn { align-self: flex-start; }
.mllm-tekstas-foto__title {
  font-family: var(--font-accent);
  font-weight: var(--fw-regular);
  font-size: var(--fs-h1);                      /* Courier 32 */
  line-height: var(--lh-heading);
  color: var(--color-text);
}
.mllm-tekstas-foto__cols {
  display: flex;
  gap: clamp(var(--space-8), 6vw, 108px);
  align-items: flex-start;
}
.mllm-tekstas-foto.is-image-left .mllm-tekstas-foto__cols { flex-direction: row-reverse; }
.mllm-tekstas-foto__body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 760px;
}
.mllm-tekstas-foto__body > :first-child { margin-top: 0; }
.mllm-tekstas-foto__body p { margin: 0 0 var(--space-3); max-width: none; }
.mllm-tekstas-foto__body p:last-child { margin-bottom: 0; }
.mllm-tekstas-foto__aside {
  flex: 0 0 413px;
  max-width: 413px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Rėmelis — archival image frame (Figma: bg #14151C, 40px padding). */
.mllm-ramelis {
  display: flex;
  padding: var(--space-8);                      /* 40px */
  background: var(--c-juoda-900);
}
.mllm-ramelis--akcentas { background: var(--mllm-accent); }
.mllm-ramelis--be { padding: 0; background: transparent; }
.mllm-ramelis img { width: 100%; height: auto; object-fit: cover; }
.mllm-ramelis__placeholder {
  display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5;
  color: var(--c-juoda-100); font-family: var(--font-condensed);
}
.mllm-caption {
  font-family: var(--font-condensed);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* ─── Responsive: stack the text/photo columns on narrow viewports ─── */
@media (max-width: 900px) {
  .mllm-tekstas-foto__cols { flex-direction: column; }
  .mllm-tekstas-foto.is-image-left .mllm-tekstas-foto__cols { flex-direction: column; }
  .mllm-tekstas-foto__aside { flex-basis: auto; max-width: 100%; align-self: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/citata — quote + author beside a cut-out figure over blobs.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-citata { background: var(--color-surface); padding-block: var(--space-10); overflow: hidden; }
.mllm-citata__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-9);
  align-items: center;
}
.mllm-citata__figure {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Organic blobs — SVG shape as a mask so the colour is a CSS custom property
   (Eglė's presets pair two accent colours per author). */
.mllm-citata__blob { position: absolute; z-index: 0; }
.mllm-citata__blob--a {
  width: 100%; height: 62%; left: 0; top: 22%;
  background: var(--citata-blob-a, var(--c-raudona));
  -webkit-mask: url("../img/citata-blob-red.svg") left center / contain no-repeat;
          mask: url("../img/citata-blob-red.svg") left center / contain no-repeat;
}
.mllm-citata__blob--b {
  width: 46%; height: 84%; left: 27%; top: 6%;
  background: var(--citata-blob-b, var(--c-purpurine));
  -webkit-mask: url("../img/citata-blob-purple.svg") center / contain no-repeat;
          mask: url("../img/citata-blob-purple.svg") center / contain no-repeat;
}
/* Full cut-out figure, bottom-aligned so it sits ON the blob (Eglė presets).
   Client cut-outs vary: some are clean full figures (transparent bottoms),
   others are bust crops with a hard bottom edge. A subtle fade of the last
   ~18% dissolves that edge so the figure emerges from the blob instead of
   floating as a rectangle; clean cut-outs are unaffected (already transparent). */
.mllm-citata__img {
  position: relative; z-index: 1; max-height: 380px; width: auto; align-self: end;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
.mllm-citata__quote { margin: 0; }
.mllm-citata__text {
  margin: 0;
  font-family: var(--font-accent);
  font-size: var(--fs-body-big-accent);          /* Courier 20 */
  line-height: var(--lh-body);
  color: var(--color-text);
  max-width: 34ch;
}
.mllm-citata__author {
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
}
/* Egles presetai (Justina 2026-09-07): visa kompozicija - SVG demes is Figma
   (assets/img/citatos), figura ir tekstas idedami procentais nuo formos remelio
   (--foto-*, --tekstas-*, render.php). Remelio aukstis = plotis / --forma-ratio. */
.mllm-citata__inner--forma { display: block; }
.mllm-citata__scena {
  position: relative; width: 100%; max-width: 1100px; margin-inline: auto; aspect-ratio: var(--forma-ratio, 3);
  /* virsutine parašte = figuros iskilimas virs remelio (proc. nuo aukscio -> nuo plocio per ratio) */
  margin-top: calc(var(--foto-virsus, 0) / var(--forma-ratio, 3) * 1%);
}
/* Demes lieka savo proporcijos virsuje (height: auto). Jei citata ilgesne nei
   makete, remelis (aspect-ratio dezute AUGA su turiniu) pailgeja, o tekstas
   nusileidzia zemiau demes - bet niekada nenukerpamas ir neuzlipa ant nieko. */
.mllm-citata__forma { position: absolute; inset: 0 0 auto 0; z-index: 0; width: 100%; height: auto; display: block; }
.mllm-citata__img--forma {
  position: absolute; z-index: 1; left: var(--foto-l, 4%); top: var(--foto-t, 0%); width: var(--foto-w, 22%); height: var(--foto-h, 100%);
  max-height: none; align-self: auto; object-fit: contain; object-position: bottom center;
}
/* Tekstas SRAUTE, ne absoliutus: padding-top procentais skaiciuojamas nuo PLOCIO
   (CSS taisykle), todel --tekstas-t (proc. nuo auksčio) dalinamas is --forma-ratio. */
.mllm-citata__quote--forma {
  position: relative; z-index: 2; margin-left: var(--tekstas-l, 36%); width: var(--tekstas-w, 55%);
  padding-top: calc(var(--tekstas-t, 45) / var(--forma-ratio, 3) * 1%); padding-bottom: var(--space-4);
}
.mllm-citata__quote--forma .mllm-citata__text { max-width: none; font-size: clamp(13px, 1.45vw, var(--fs-body-big-accent)); }
.mllm-citata__quote--forma .mllm-citata__author { margin-top: var(--space-2); font-size: clamp(12px, 1.1vw, var(--fs-body)); }
/* Siaurame lange kompozicija nebetelpa - demes lieka fonu, figura ir tekstas srautu. */
@media (max-width: 700px) {
  .mllm-citata__scena { aspect-ratio: auto; min-height: 320px; padding: var(--space-6) var(--space-5); }
  .mllm-citata__forma { object-fit: cover; }
  .mllm-citata__img--forma { position: static; display: block; width: auto; height: 200px; max-width: 60%; }
  .mllm-citata__quote--forma { position: static; width: auto; margin-left: 0; padding-top: 0; margin-top: var(--space-4); }
  .mllm-citata__quote--forma .mllm-citata__text { font-size: var(--fs-body); }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/korteliu-karusele — header + horizontal card track + arrows.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-karusele { padding-block: var(--space-10); }
.mllm-karusele--tamsi { background: var(--c-juoda-900); --karusele-fg: var(--c-juoda-100); }
.mllm-karusele--sviesi { background: var(--color-surface); --karusele-fg: var(--color-text); }
/* Figma padalinio puslapis (4089:1276) duoda trims karuselėms TRIS skirtingus
   fonus — Ekspozicijos ant padalinio spalvos, Edukacijos tamsios, Renginiai
   pilki. Būtent to trūko: „kai nėra bent foninio suskaidymo, tai sunku
   struktūrą suvokti, kai trys blokai sujungti" (Eglė). Rašalas — tamsus ant
   abiejų (akcentas 5–11:1, pilka 10,7:1), pagal 2026-07-24 sprendimą. */
.mllm-karusele--akcentas { background: var(--mllm-accent); --karusele-fg: var(--mllm-on-accent); }
.mllm-karusele--pilka { background: var(--c-juoda-300); --karusele-fg: var(--c-juoda-900); }
/* 🪤 Ant akcentinio fono `.btn--primary` piešia akcentą ant akcento ir mygtukas
   dingsta — ta pati klaidos forma kaip meniu „E. parduotuvė" piliulė. Figmoje
   ant to fono viskas yra TAMSU (kortelių žymos — tamsūs kontūrai), tad CTA
   verčiam tamsiu. */
.mllm-karusele--akcentas .btn--primary { background: var(--c-juoda-900); color: var(--c-juoda-100); }
/* 🪤 Ant akcentinio/pilko paviršiaus akcentu dažyti elementai dingsta: kortelės
   žyma buvo 1.00:1 (akcentas ant akcento), rodyklės hover'as — tas pats.
   Ant tų juostų viskas piešiama rašalu. */
.mllm-karusele--akcentas .mllm-kortele__chip,
.mllm-karusele--pilka .mllm-kortele__chip { color: var(--c-juoda-900); border-color: var(--c-juoda-900); }
.mllm-karusele--akcentas .mllm-karusele__arrow:hover,
.mllm-karusele--pilka .mllm-karusele__arrow:hover { background: var(--c-juoda-900); color: var(--c-juoda-100); border-color: var(--c-juoda-900); }
.mllm-karusele--akcentas .btn--primary:hover { background: var(--c-juoda-900); opacity: 0.88; }
.mllm-karusele__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); margin-bottom: var(--space-8);
}
.mllm-karusele__title {
  font-family: var(--font-accent);
  font-weight: var(--fw-regular);
  font-size: var(--fs-h1);                        /* Courier 32 */
  line-height: var(--lh-heading);
  color: var(--karusele-fg);
}
/* Indicator dots (Figma Karuselės indikatorius) — replace prev/next arrows. */
.mllm-karusele__dots { display: flex; justify-content: flex-end; gap: 12px; margin-top: var(--space-7); }
.mllm-karusele__dots:empty { display: none; }
.mllm-karusele__dot {
  width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%;
  background: var(--karusele-fg); opacity: 0.4; cursor: pointer;
  transition: opacity var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.mllm-karusele__dot:hover { opacity: 0.7; }
.mllm-karusele__dot.is-active { opacity: 1; background: var(--mllm-accent); }
/* Prev/next arrows (designer request — clickable paging alongside dots). */
.mllm-karusele__arrows { display: flex; gap: var(--space-3); flex: 0 0 auto; }
.mllm-karusele__arrows[hidden] { display: none; }
.mllm-karusele__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  background: transparent; border: 1.5px solid var(--karusele-fg); color: var(--karusele-fg);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mllm-karusele__arrow svg { width: 20px; height: 20px; }
.mllm-karusele__arrow:hover:not(:disabled) { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-karusele__arrow:disabled { opacity: 0.3; cursor: default; }

.mllm-karusele__track {
  display: flex; gap: var(--space-4);
  margin: 0; padding: 0 0 var(--space-3);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Justina 2026-09-07: slinkties juosta po kortelemis - salin; lieka rodykles. */
  scrollbar-width: none;
}
.mllm-karusele__track::-webkit-scrollbar { display: none; }
.mllm-kortele {
  flex: 0 0 clamp(260px, 80vw, 416px);
  scroll-snap-align: start;
}
.mllm-kortele__link {
  display: flex; flex-direction: column; gap: var(--space-4);
  height: 100%; text-decoration: none; color: var(--karusele-fg);
}
.mllm-kortele__media {
  display: block; aspect-ratio: 416 / 295; overflow: hidden;
  background: var(--c-juoda-600);
}
.mllm-kortele__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.mllm-kortele__link:hover .mllm-kortele__img { transform: scale(1.04); }
.mllm-kortele__ph { display: block; width: 100%; height: 100%; background: var(--mllm-accent); opacity: 0.28; }
.mllm-kortele__body { display: flex; flex-direction: column; gap: var(--space-4); }
.mllm-kortele__heading {
  font-family: var(--font-condensed);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h3);                        /* 24 */
  line-height: var(--lh-heading);
  color: var(--karusele-fg);
}
/* Hover feedback via accent underline, NOT accent-coloured text — raw accent
   fails contrast on light backgrounds (green 1.99, yellow 1.46 on white) so the
   heading would "disappear" on light-accent branches (Eglė ruttl). Underline is
   readable on any bg + accent. */
.mllm-kortele__link:hover .mllm-kortele__heading {
  text-decoration: underline;
  text-decoration-color: var(--mllm-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.mllm-kortele__chip {
  align-self: flex-start;
  font-family: var(--font-condensed);
  font-size: var(--fs-small);                     /* 14 */
  color: var(--mllm-accent);
  border: 1px solid var(--mllm-accent);
  padding: var(--space-1) var(--space-4);
}
.mllm-karusele__footer { margin-top: var(--space-8); }

/* ═══════════════════════════════════════════════════════════════════════
 * Asmenybės — per-branch personality cards (Figma Kortelė_asmenybė).
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-asmenybes { background: var(--c-juoda-900); color: var(--c-juoda-100); padding-block: var(--space-10); }
.mllm-asmenybes__title { margin-bottom: var(--space-7); font-family: var(--font-accent); font-weight: var(--fw-regular); font-size: var(--fs-h1); line-height: var(--lh-heading); color: var(--c-juoda-100); }
.mllm-asmenybes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.mllm-asmenybe { display: grid; grid-template-columns: minmax(150px, 200px) 1fr; min-height: 340px; background: var(--c-juoda-900); }
.mllm-asmenybe__media { position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--mllm-accent); }
.mllm-asmenybe__fig { position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; object-fit: contain; object-position: bottom center; }
/* Gulscia nuotrauka `contain` rezimu virsta siaura juostele kadro apacioje.
   Jai vienai — uzpildom kadra ir kadruojam nuo virsaus (veidas islieka). */
.mllm-asmenybe__fig.is-landscape { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top center; }
.mllm-asmenybe__body { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6) var(--space-4); }
.mllm-asmenybe__name { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: 1.4; color: var(--c-balta); }
.mllm-asmenybe__metai { font-family: var(--font-body); font-size: var(--fs-body); color: var(--mllm-accent); margin-bottom: var(--space-2); }
.mllm-asmenybe__desc { font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--c-juoda-100); }
/* „Suzinok daugiau" (Justina 2026-09-07): nuoroda arba <details> su pilnu aprasymu. */
.mllm-asmenybe__more { align-self: flex-start; margin-top: var(--space-3); padding: var(--space-2) var(--space-5); font-size: var(--fs-body); gap: var(--space-3); }
.mllm-asmenybe__details { margin-top: var(--space-2); }
.mllm-asmenybe__details > summary { list-style: none; cursor: pointer; }
.mllm-asmenybe__details > summary::-webkit-details-marker { display: none; }
.mllm-asmenybe__details > summary::marker { content: ""; }
.mllm-asmenybe__details[open] > summary { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-asmenybe__full { margin-top: var(--space-3); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--c-juoda-100); }
.mllm-asmenybe__full p { margin: 0 0 var(--space-3); max-width: none; }
.mllm-asmenybe__full p:last-child { margin-bottom: 0; }
.mllm-asmenybe:has(.mllm-asmenybe__details[open]) { grid-column: 1 / -1; }
@media (max-width: 480px) { .mllm-asmenybe { grid-template-columns: 1fr; } .mllm-asmenybe__media { min-height: 260px; } }

/* Lankymas / kontaktai (padalinys page, Figma Frame 364). */
/* 🔑 Figma (padalinio kadras 4089:1276, y 2384–3424) šią juostą piešia ŠVIESIĄ
   `#F2F2FC` = Juoda 100, ne tamsią. Naudojama TIK padalinio puslapyje. */
.mllm-lankymas { background: var(--c-juoda-100); color: var(--color-text); padding-block: var(--space-10); }
.mllm-lankymas__title { margin-bottom: var(--space-7); font-family: var(--font-accent); font-weight: var(--fw-regular); font-size: var(--fs-h1); line-height: var(--lh-heading); color: var(--color-text); }
/* Justina 2026-09-07: kortele (adresas / soc. / darbo laikas / kontaktai) matoma is karto,
   4 isskleidziami laukeliai salia - VISIEMS padaliniams vienodai. Kortele eina PIRMA
   ir DOM'e, ir tinklelyje (mobiliame sustoja virs akordeonu). */
.mllm-lankymas__cols { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: var(--space-9); align-items: start; }
@media (max-width: 900px) { .mllm-lankymas__cols { grid-template-columns: 1fr; } }
.mllm-lankymas__card { display: flex; flex-direction: column; gap: var(--space-6); }
.mllm-lankymas__h4 { margin: var(--space-4) 0 var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); color: var(--color-text); }
.mllm-lankymas__h4:first-child { margin-top: 0; }
.mllm-lankymas__duk .mllm-kainos-wrap { margin-bottom: var(--space-3); }
.mllm-lankymas__duk .mllm-kainos { font-size: var(--fs-small); }
.mllm-lankymas__duk .mllm-duk__a ul { margin: 0 0 var(--space-3); padding-left: 1.2em; }
.mllm-lankymas__duk .mllm-duk__a li { margin-bottom: var(--space-1); }
.mllm-lankymas__more { margin: var(--space-4) 0 0; }
.mllm-lankymas__more .btn--outlined { font-size: var(--fs-body); padding: var(--space-2) var(--space-5); }
.mllm-lankymas__map img { display: block; width: 100%; height: auto; }
/* DUK ant šviesios Lankymo juostos — tamsus rašalas, pilkos linijos. */
.mllm-lankymas__duk .mllm-duk__item { border-bottom-color: var(--c-juoda-300); }
.mllm-lankymas__duk .mllm-duk__q, .mllm-lankymas__duk .mllm-duk__chevron, .mllm-lankymas__duk .mllm-duk__a { color: var(--color-text); }
.mllm-lankymas__row { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0; font-size: var(--fs-body-big); }
.mllm-lankymas__row svg, .mllm-lankymas__contacts svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--color-text); }
.mllm-lankymas__social { display: flex; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.mllm-lankymas__social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--color-text); border: 1px solid var(--c-juoda-300); border-radius: 50%; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.mllm-lankymas__social a:hover { color: var(--mllm-on-accent); background: var(--mllm-accent); border-color: var(--mllm-accent); }
.mllm-lankymas__social svg { width: 22px; height: 22px; }
.mllm-lankymas__h { margin-bottom: var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--color-text); }
.mllm-lankymas__block p { margin: 0; line-height: 1.6; }
.mllm-lankymas__contacts { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.mllm-lankymas__contacts li { display: flex; gap: var(--space-3); align-items: center; }
.mllm-lankymas__contacts a { color: var(--color-text); text-decoration: none; }
.mllm-lankymas__contacts a:hover { color: var(--mllm-accent); }
@media (max-width: 820px) { .mllm-lankymas__cols { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════════
 * Erdvių nuoma (archive-mllm_erdve.php, Figma 4229-3381).
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-erdve-intro { background: var(--color-surface); padding-block: var(--space-9); }
.mllm-erdve-intro__cols { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: var(--space-9); align-items: stretch; }
/* Be purpurines korteles (Justina 2026-09-07) - lieka tik aprasymas su kontaktais. */
.mllm-erdve-intro__cols--be-korteles { grid-template-columns: minmax(0, 72ch); }
.mllm-erdve-intro__panel { background: var(--c-purpurine); color: var(--c-juoda-900); padding: var(--space-8); }
.mllm-erdve-intro__title { margin-bottom: var(--space-6); font-family: var(--font-accent); font-weight: var(--fw-regular); font-size: var(--fs-h1-accent); line-height: var(--lh-heading); color: var(--c-juoda-900); }
.mllm-erdve-intro__services { display: flex; flex-direction: column; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.mllm-erdve-intro__services a, .mllm-erdve-intro__services span { font-family: var(--font-body); font-size: var(--fs-body-big); color: var(--c-juoda-900); text-decoration: none; }
.mllm-erdve-intro__services a:hover { text-decoration: underline; }
.mllm-erdve-intro__body { display: flex; flex-direction: column; gap: var(--space-6); align-items: flex-start; }
.mllm-erdve-intro__text { max-width: 62ch; font-size: var(--fs-body); line-height: 1.6; }
.mllm-erdve-intro__text > :first-child { margin-top: 0; }
.mllm-erdve-intro__contacts { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.mllm-erdve-intro__contacts li { display: flex; gap: var(--space-3); align-items: center; }
.mllm-erdve-intro__contacts svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--c-purpurine); }
.mllm-erdve-intro__contacts a { color: var(--color-text); text-decoration: none; }

.mllm-erdves { background: var(--c-juoda-900); color: var(--c-juoda-100); padding-block: var(--space-10); }
.mllm-erdves__title { margin-bottom: var(--space-7); font-family: var(--font-accent); font-weight: var(--fw-regular); font-size: var(--fs-h1); line-height: var(--lh-heading); color: var(--c-juoda-100); }
.mllm-erdves__list { display: flex; flex-direction: column; gap: var(--space-6); }
.mllm-erdve { display: grid; grid-template-columns: minmax(0, 627px) 1fr; gap: var(--space-8); padding: var(--space-6); border: 1px solid var(--c-purpurine); }
.mllm-erdve__gallery { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-2); align-items: start; }
.mllm-erdve__main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mllm-erdve__thumbs { display: flex; flex-direction: column; gap: var(--space-3); }
.mllm-erdve__thumbs img { display: block; width: 100%; height: auto; object-fit: cover; filter: brightness(0.7); }
.mllm-erdve__body { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); }
.mllm-erdve__name { margin-bottom: var(--space-4); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--c-juoda-100); }
.mllm-erdve__price { margin-bottom: var(--space-5); font-family: var(--font-accent); font-size: var(--fs-body-big-accent); color: var(--c-purpurine); }
.mllm-erdve__tags { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0 0 var(--space-5); padding: 0; list-style: none; }
.mllm-erdve__tags li { padding: var(--space-1) var(--space-3); border: 1px solid var(--c-juoda-300); font-family: var(--font-condensed); font-size: var(--fs-small); color: var(--c-juoda-300); }
.mllm-erdve__desc { font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--c-juoda-300); }
.mllm-erdve__desc p { max-width: none; margin: 0 0 var(--space-3); }
.mllm-erdve__desc p:last-child { margin-bottom: 0; }
.mllm-erdve__btn { align-self: flex-start; display: inline-flex; padding: var(--space-3) var(--space-7); border: 1px solid var(--c-purpurine); font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--fs-body); color: var(--c-juoda-100); text-decoration: none; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.mllm-erdve__btn:hover { background: var(--c-purpurine); color: var(--c-juoda-900); }
.mllm-erdves__empty { color: var(--c-juoda-300); }
@media (max-width: 900px) { .mllm-erdve-intro__cols { grid-template-columns: 1fr; } .mllm-erdve { grid-template-columns: 1fr; } }

/* Price tables (Įkainiai page). */
.mllm-kainos-wrap { overflow-x: auto; margin-bottom: var(--space-7); }
.mllm-kainos { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.mllm-kainos th, .mllm-kainos td { padding: var(--space-3) var(--space-4); border: 1px solid var(--c-juoda-300); text-align: left; vertical-align: top; line-height: 1.5; }
.mllm-kainos th { background: var(--color-surface-alt); font-family: var(--font-condensed); font-weight: var(--fw-semibold); white-space: nowrap; }
.mllm-kainos tr > td:only-child { background: var(--c-juoda-900); color: var(--c-juoda-100); font-family: var(--font-condensed); font-weight: var(--fw-semibold); }

/* PDF download button block. */
.mllm-pdf { padding-block: var(--space-6); }
.mllm-pdf__desc { margin-bottom: var(--space-4); font-size: var(--fs-body-big); }
.mllm-pdf__btn { display: inline-flex; align-items: center; gap: var(--space-3); }
.mllm-pdf__btn svg { width: 20px; height: 20px; }
.mllm-pdf__size { font-weight: var(--fw-regular); opacity: 0.85; }
.mllm-pdf__placeholder { color: var(--color-text-muted); }

/* Svetainės medis (dynamic site tree) — balanced columns of menu link lists. */
.mllm-medis { padding-block: var(--space-10); background: var(--color-surface); }
.mllm-medis--tamsi { background: var(--c-juoda-900); color: var(--c-juoda-100); }
.mllm-medis__grid { columns: var(--mllm-medis-cols, 2); column-gap: var(--space-9); }
@media (max-width: 900px) { .mllm-medis__grid { columns: 1; } }
.mllm-medis__group { break-inside: avoid; margin-bottom: var(--space-8); }
.mllm-medis__heading {
  font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h3);
  margin-bottom: var(--space-4); padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--mllm-accent, var(--c-zalia));
}
.mllm-medis__list, .mllm-medis .sub-menu { list-style: none; margin: 0; padding: 0; }
.mllm-medis__list li { margin: 0; }
.mllm-medis__list a {
  display: inline-block; padding: var(--space-2) 0; text-decoration: none;
  color: inherit; border-bottom: 1px solid transparent;
}
.mllm-medis__list a:hover, .mllm-medis__list a:focus-visible {
  border-bottom-color: var(--mllm-accent, var(--c-zalia));
}
/* Nested menu items keep their hierarchy — indent + a marker. */
.mllm-medis .sub-menu { margin-left: var(--space-4); border-left: 1px solid var(--c-juoda-300); padding-left: var(--space-4); }
.mllm-medis--tamsi .mllm-medis .sub-menu,
.mllm-medis--tamsi .sub-menu { border-left-color: var(--c-juoda-600); }
/* Neutralise the main-menu shop accent inside the plain site-tree list. */
.mllm-medis .mllm-menu__shop > a, .mllm-medis__list .mllm-menu__shop > a { background: none; color: inherit; padding: var(--space-2) 0; }
.mllm-medis__placeholder { color: var(--color-text-muted); }

/* Kontaktų kortelė — visiting/contact info card (icon-headed cells). */
.mllm-kk { padding-block: var(--space-10); background: var(--color-surface); }
.mllm-kk__head { position: relative; margin-bottom: var(--space-8); }
.mllm-kk__blob {
  position: absolute; left: -24px; top: -32px; width: 200px; height: 200px; z-index: 0; opacity: 0.16;
  background: var(--mllm-accent, var(--c-zalia));
  -webkit-mask: url("../img/citata-blob-purple.svg") center / contain no-repeat;
          mask: url("../img/citata-blob-purple.svg") center / contain no-repeat;
}
.mllm-kk__name { position: relative; z-index: 1; margin: 0; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); }
.mllm-kk__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-7) var(--space-8); }
.mllm-kk__cell { border-top: 3px solid var(--mllm-accent, var(--c-zalia)); padding-top: var(--space-4); }
.mllm-kk__ico { display: inline-flex; color: var(--mllm-accent, var(--c-zalia)); }
.mllm-kk__ico svg { width: 26px; height: 26px; }
.mllm-kk__label { margin: var(--space-3) 0 var(--space-3); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); text-transform: uppercase; letter-spacing: 0.04em; }
.mllm-kk__body { font-size: var(--fs-body); line-height: 1.6; color: var(--color-text); }
.mllm-kk__body p { margin: 0 0 var(--space-2); }
.mllm-kk__body p:last-child { margin-bottom: 0; }
.mllm-kk__tel { list-style: none; margin: 0; padding: 0; }
.mllm-kk__tel li { margin-bottom: var(--space-1); }
.mllm-kk__tel a, .mllm-kk__email a { color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--mllm-accent, var(--c-zalia)); }
.mllm-kk__tel-lab { color: var(--color-text-muted); font-size: var(--fs-small); }
.mllm-kk__email { margin: var(--space-2) 0 0; }
.mllm-kk__placeholder { color: var(--color-text-muted); }

/* Skin the tobalt-staff-directory accordion to the museum identity
   (green accent, sharp corners, Courier/condensed headings). The shortcode is
   wrapped in .mllm-staff so these custom props cascade into it. */
.mllm-staff {
  --tbt-primary: var(--c-zalia);
  --tbt-primary-dark: #6f9e2e;
  --tbt-primary-light: rgba(143, 189, 58, 0.12);
  --tbt-accent: var(--c-zalia);
  --tbt-gold: var(--c-zalia);
  --tbt-heading: var(--color-text);
  --tbt-body: var(--c-juoda-600);
  --tbt-body-dark: var(--color-text);
  --tbt-bg: var(--color-surface);
  --tbt-bg-cool: var(--c-juoda-100);
  --tbt-border: var(--c-juoda-300);
  --tbt-border-light: var(--c-juoda-100);
  --tbt-radius: 0; --tbt-radius-lg: 0;
  --tbt-search-radius: 0;
  --tbt-search-focus-border: var(--c-zalia);
  --tbt-acc-skyrius-size: 20px;
  --tobalt-font-family: var(--font-body);
  /* Share the page's content measure so the accordion lines up with the title
     and the contact card (it renders as a bare div, so constrain it here). */
  max-width: var(--content-max); margin: var(--space-6) auto 0; padding-inline: var(--gutter);
}
.mllm-staff .tbt-staff-acc-title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); letter-spacing: 0.02em; font-size: var(--fs-body-big); }
.mllm-staff .tbt-staff-acc-name { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body); }
/* Restore the row inset (the theme's list reset zeroes the plugin's padding, so
   names collide with the accent border) + match the theme's type sizes. */
.mllm-staff .tbt-staff-acc-list { padding-inline: var(--space-6); }
.mllm-staff .tbt-staff-acc-position { font-size: var(--fs-small); }
.mllm-staff .tbt-staff-acc-email, .mllm-staff .tbt-staff-acc-phone { font-size: var(--fs-body); }

/* ═══════════════════════════════════════════════════════════════════════
 * Archive / listing — card grid (reuses .mllm-kortele), header, pagination.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-archive { padding-block: var(--space-10); --karusele-fg: var(--color-text); }
.mllm-archive__head { margin-bottom: var(--space-8); }
.mllm-archive__title {
  font-family: var(--font-accent); font-weight: var(--fw-bold);
  font-size: var(--fs-h1-accent); line-height: var(--lh-heading); color: var(--color-text);
}
.mllm-archive__desc { max-width: 70ch; margin-top: var(--space-4); color: var(--color-text-muted); }
.mllm-archive__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-4);
  list-style: none; margin: 0; padding: 0;
}
.mllm-archive__grid .mllm-kortele { flex: initial; } /* reset carousel flex-basis in grid */
.mllm-archive__empty { color: var(--color-text-muted); }
/* Naujienos — card date (above title) + single-article body. */
.mllm-kortele__date { font-family: var(--font-condensed); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-text-muted); }
.mllm-article { padding-block: var(--space-9); }
/* Article column: left-aligned inside the standard 1200 px container, like page titles
   and page content — not a centred island (Tomas 2026-09-15: „alignments to other pages"). */
.mllm-article__col { max-width: 780px; }
.mllm-article__date { font-family: var(--font-condensed); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-text-muted); margin-bottom: var(--space-5); }
.mllm-article__back { margin-top: var(--space-8); }
/* Naujiena: date + section chip live in the hero, above the title. */
.mllm-hero__meta {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-4); font-family: var(--font-condensed); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-juoda-100);
}
.mllm-hero__meta .mllm-chip { text-decoration: none; }
.mllm-hero__meta .mllm-chip:hover { background: var(--c-juoda-100); color: var(--c-juoda-900); }
/* Article body: one measure, one voice. Legacy inline fonts/justify are stripped
   in PHP (inc/naujienos.php); the rules below own every element that remains. */
.mllm-article__content { font-size: var(--fs-body-big); line-height: var(--lh-body); color: var(--color-text); }
.mllm-article__content > * + * { margin-top: var(--space-4); }
.mllm-article__content p { max-width: none; }
.mllm-article__content h2, .mllm-article__content h3, .mllm-article__content h4 {
  font-family: var(--font-condensed); font-weight: var(--fw-semibold); line-height: var(--lh-heading); margin-top: var(--space-7);
}
.mllm-article__content h2 { font-size: var(--fs-h3); }
.mllm-article__content h3, .mllm-article__content h4 { font-size: var(--fs-body-big); }
.mllm-article__content img { max-width: 100%; height: auto; }
.mllm-article__content .mllm-img--full { display: block; width: 100%; margin-block: var(--space-6); background: var(--color-surface-alt); }
.mllm-article__content p > .mllm-img--full:only-child { margin-block: 0; }
.mllm-article__content p:has(> .mllm-img--full:only-child) { margin-block: var(--space-6); }
.mllm-article__content .mllm-img--inline { display: inline-block; vertical-align: middle; margin: 0 var(--space-2) 0 0; }
.mllm-article__content td > p:has(> .mllm-img--inline:only-child) { margin: 0; }
.mllm-article__content a { color: inherit; text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.mllm-article__content a:hover { text-decoration-color: currentColor; }
.mllm-article__content ul, .mllm-article__content ol { padding-left: 1.25em; }
.mllm-article__content li + li { margin-top: var(--space-2); }
.mllm-article__content hr { border: 0; border-top: 1px solid var(--color-border); margin-block: var(--space-7); }
.mllm-article__content blockquote { margin: var(--space-6) 0; padding-left: var(--space-5); border-left: 3px solid var(--mllm-accent); font-style: italic; }
.mllm-article__content table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.mllm-article__content th, .mllm-article__content td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.mllm-article__content .alignleft, .mllm-article__content .alignright { float: none; margin-inline: 0; }
/* Old-site „Kaina / Trukmė / Rezervuokite" tables with 59 px pictograms → a plain facts list. */
.mllm-article__content table:has(.mllm-img--inline) { display: block; border: 0; }
.mllm-article__content table:has(.mllm-img--inline) tbody, .mllm-article__content table:has(.mllm-img--inline) tr { display: block; }
.mllm-article__content table:has(.mllm-img--inline) tr { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
.mllm-article__content table:has(.mllm-img--inline) td { display: block; padding: 0; border: 0; font-size: var(--fs-body); }
.mllm-article__content table:has(.mllm-img--inline) td:has(> p > .mllm-img--inline:only-child), .mllm-article__content table:has(.mllm-img--inline) td:has(> .mllm-img--inline:only-child) { flex: 0 0 40px; }
.mllm-article__content table:has(.mllm-img--inline) .mllm-img--inline { width: 32px; height: 32px; margin: 0; }
.mllm-article__content table:has(.mllm-img--inline) td p { margin: 0; }
/* Long article fold: 900 px window + fade, button below; JS removes the class when the text is short. */
.mllm-article__content--sutraukiamas.is-sutrauktas { position: relative; max-height: 900px; overflow: hidden; }
.mllm-article__content--sutraukiamas.is-sutrauktas::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-surface) 85%); pointer-events: none; }
.mllm-article__daugiau { margin: var(--space-4) 0 0; }
/* Desktop-only widget sidebar next to a news article (Išvaizda → Valdikliai → „Naujienos — šoninė juosta"). */
.mllm-article__inner--su-juosta { display: grid; grid-template-columns: minmax(0, 780px) minmax(240px, 320px); gap: var(--space-10); align-items: start; }
.mllm-sidebar { position: sticky; top: var(--space-6); display: grid; gap: var(--space-6); }
.mllm-sidebar__widget { padding: var(--space-5); background: var(--color-surface-alt); border-top: 4px solid var(--mllm-accent); font-size: var(--fs-body); }
.mllm-sidebar__title, .mllm-sidebar__widget h2, .mllm-sidebar__widget h3 { margin: 0 0 var(--space-3); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); color: var(--color-text); }
.mllm-sidebar__widget ul { list-style: none; margin: 0; padding: 0; }
.mllm-sidebar__widget li { padding: var(--space-2) 0; border-top: 1px solid var(--color-border); }
.mllm-sidebar__widget li:first-child { border-top: 0; padding-top: 0; }
.mllm-sidebar__widget a { color: var(--color-text); text-decoration: none; font-family: var(--font-condensed); font-weight: var(--fw-semibold); }
.mllm-sidebar__widget a:hover { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-sidebar__widget .wp-block-latest-posts__post-date { display: block; font-family: var(--font-condensed); font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-sidebar__widget p { max-width: none; margin: 0 0 var(--space-3); }
.mllm-sidebar__widget > :last-child { margin-bottom: 0; }
@media (max-width: 900px) { .mllm-article__inner--su-juosta { grid-template-columns: minmax(0, 1fr); } .mllm-sidebar { display: none; } }
/* Ankstesnė / kita naujiena */
.mllm-article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-9); padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
.mllm-article__nav-link { display: flex; flex-direction: column; gap: var(--space-2); text-decoration: none; color: var(--color-text); }
.mllm-article__nav-link--next { grid-column: 2; align-items: flex-end; text-align: right; }
.mllm-article__nav-label { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-condensed); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-article__nav-label svg { width: 18px; height: 18px; }
.mllm-article__nav-title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); }
.mllm-article__nav-link:hover .mllm-article__nav-title { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 560px) { .mllm-article__nav { grid-template-columns: 1fr; } .mllm-article__nav-link--next { grid-column: auto; } }
/* Kitos naujienos — same cards as /naujienos/, on the alt surface. */
.mllm-kitos-naujienos { padding-block: var(--space-9); background: var(--color-surface-alt); }
.mllm-kitos-naujienos__title { margin-bottom: var(--space-6); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--color-text); }
.mllm-kitos-naujienos .mllm-kortele__heading { display: block; }
@media (max-width: 900px) { .mllm-archive__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mllm-archive__grid { grid-template-columns: 1fr; } }

/* ── Dark archive surface (Eglė, ruttl /parodos/: „laisvai ir tamsiame fone
 *    gali būti, nes nėra teksto blokų"). Same ink as the Rinkiniai A–Ž index
 *    and the Edukacija archive, so the image-led listings read as one family. ── */
.mllm-archive--tamsi {
  background: var(--c-juoda-900); color: var(--c-juoda-100);
  --karusele-fg: var(--c-juoda-100);
}
.mllm-archive--tamsi .mllm-archive__title { color: var(--c-juoda-100); }
.mllm-archive--tamsi .mllm-archive__desc,
.mllm-archive--tamsi .mllm-archive__empty { color: var(--c-juoda-300); }
.mllm-archive--tamsi .mllm-pagination .page-numbers { color: var(--c-juoda-100); border-color: var(--c-juoda-600); }
.mllm-archive--tamsi .mllm-pagination .page-numbers.current { background: var(--mllm-accent); color: var(--mllm-on-accent); border-color: var(--mllm-accent); }

/* ── Rinkiniai — alphabetical A–Ž index on a dark surface (Justina 2026-07-30) ── */
.mllm-rinkiniai-az { background: var(--c-juoda-900); color: var(--c-juoda-100); --karusele-fg: var(--c-juoda-100); padding-block: var(--space-9); }
.mllm-rinkiniai-az .mllm-archive__title { color: var(--c-juoda-100); }
.mllm-rinkiniai-az .mllm-archive__desc { color: var(--c-juoda-300); }
/* Surname search — my call on Eglė's „gal ir filtrų juosta atsirastų, arba
   paieškos opcija": search, not categories (Justina replaced the four periods
   with this A–Ž index). JS-only, so it stays hidden until `js-az` is set. */
.mllm-rinkiniai-az__search { display: none; position: relative; align-items: center; margin-top: var(--space-7); max-width: 420px; }
.mllm-rinkiniai-az.js-az .mllm-rinkiniai-az__search { display: flex; }
.mllm-rinkiniai-az__search input {
  width: 100%; min-width: 0; padding: var(--space-3) var(--space-8) var(--space-3) 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--mllm-accent);
  color: var(--c-juoda-100); font-family: var(--font-body); font-size: var(--fs-body-big);
}
.mllm-rinkiniai-az__search input::placeholder { color: var(--c-juoda-600); opacity: 1; }
/* Chrome draws its own blue ✕ inside search inputs — off-palette on the dark
   band. Removed; the field clears with Esc or by picking any letter tab. */
.mllm-rinkiniai-az__search input::-webkit-search-cancel-button,
.mllm-header__search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.mllm-rinkiniai-az__search svg { position: absolute; right: 0; width: 20px; height: 20px; color: var(--mllm-accent); pointer-events: none; }
.mllm-rinkiniai-az__count { margin: var(--space-3) 0 0; color: var(--c-juoda-300); font-size: var(--fs-small); }
/* While searching every letter group is open; empty ones drop out. The rule
   order matters — `.is-empty` must come AFTER the reveal to win. */
.mllm-rinkiniai-az.js-az.is-searching .mllm-rinkiniai-az__group { display: block; }
.mllm-rinkiniai-az.js-az.is-searching .mllm-rinkiniai-az__group + .mllm-rinkiniai-az__group { margin-top: var(--space-8); }
.mllm-rinkiniai-az.js-az.is-searching .mllm-rinkiniai-az__letter { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.mllm-rinkiniai-az.js-az.is-searching .mllm-rinkiniai-az__group.is-empty { display: none; }
.mllm-rinkiniai-az__tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-7) 0 var(--space-8); }
.mllm-rinkiniai-az__tab {
  font-family: var(--font-accent); font-size: var(--fs-body-big); line-height: 1;
  color: var(--c-juoda-100); background: transparent;
  border: 1px solid rgba(242, 242, 253, 0.25); padding: var(--space-2) var(--space-4); cursor: pointer;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mllm-rinkiniai-az__tab:hover { border-color: var(--mllm-accent); color: var(--mllm-accent); }
.mllm-rinkiniai-az__tab.is-active { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-rinkiniai-az__group + .mllm-rinkiniai-az__group { margin-top: var(--space-9); }
.mllm-rinkiniai-az__letter { font-family: var(--font-accent); font-size: var(--fs-h1); color: var(--mllm-accent); margin-bottom: var(--space-5); }
/* JS mode: tabs replace the letter headings; only the active group shows. */
.mllm-rinkiniai-az.js-az .mllm-rinkiniai-az__group { display: none; }
.mllm-rinkiniai-az.js-az .mllm-rinkiniai-az__group.is-active { display: block; }
.mllm-rinkiniai-az.js-az .mllm-rinkiniai-az__group + .mllm-rinkiniai-az__group { margin-top: 0; }
.mllm-rinkiniai-az.js-az .mllm-rinkiniai-az__letter { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.mllm-pagination { margin-top: var(--space-9); }
.mllm-pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; justify-content: center; }
.mllm-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 var(--space-3);
  font-family: var(--font-accent); color: var(--color-text); text-decoration: none; border: 1px solid var(--color-border);
}
.mllm-pagination .page-numbers.current { background: var(--mllm-accent); color: var(--mllm-on-accent); border-color: var(--mllm-accent); }
.mllm-pagination a.page-numbers:hover { border-color: var(--mllm-accent); color: var(--mllm-accent); }
.mllm-pagination .page-numbers svg { width: 20px; height: 20px; }

/* ═══════════════════════════════════════════════════════════════════════
 * Single edukacija (single-mllm_edukacija.php) — hero chips, 2-col + meta.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-hero--single { min-height: min(520px, 56vh); }
/* Tomas 2026-09-15: a single-page hero crops from the bottom, never the top (heads and titles live up there). */
.mllm-hero--single:not(.mllm-hero--plakatas) .mllm-hero__img { object-position: center top; }
/* Text/prose page title (no featured image) — Courier display in dark ink,
   sits in the .mllm-flow measure like the body copy. */
.mllm-page-title {
  font-family: var(--font-accent);
  font-weight: var(--fw-bold);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: var(--lh-heading);
  color: var(--color-text);
  margin-top: var(--space-9);
  margin-bottom: var(--space-7);
}
.mllm-chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.mllm-chip {
  font-family: var(--font-condensed); font-size: var(--fs-small);
  padding: var(--space-1) var(--space-4); border: 1px solid currentColor;
}
.mllm-chip--light { color: var(--c-juoda-100); }

.mllm-edu { padding-block: var(--space-10); }
.mllm-breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); font-size: var(--fs-small); color: var(--color-text-muted); }
.mllm-breadcrumb a { color: inherit; text-decoration: none; }
.mllm-breadcrumb a:hover { color: var(--mllm-accent); }
.mllm-edu__cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-9); align-items: start; }
.mllm-edu__content { font-size: var(--fs-body); line-height: var(--lh-body); }
.mllm-edu__content > :first-child { margin-top: 0; }
.mllm-edu__content p { margin: 0 0 var(--space-4); }
.mllm-edu__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-7); }
.mllm-edu__rez-off { flex: 1 1 100%; margin: 0; padding: var(--space-4) var(--space-5); border-left: 3px solid var(--c-zalia); background: var(--c-juoda-100, #f2f2fd); }
.mllm-edu__meta { display: flex; flex-direction: column; gap: var(--space-5); }
.mllm-edu__meta-row { display: flex; gap: var(--space-3); align-items: center; font-size: var(--fs-body); color: var(--color-text); }
.mllm-edu__meta-ico { flex: 0 0 auto; display: inline-flex; color: var(--mllm-accent); }
.mllm-edu__meta-ico svg { width: 28px; height: 28px; }
/* Renginys: meta panel gets a heading + card surface; past-event flag in the hero. */
.mllm-edu--renginys .mllm-edu__meta { padding: var(--space-6); background: var(--color-surface-alt); }
.mllm-edu__meta-title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--color-text); margin: 0 0 var(--space-2); }
.mllm-edu__meta-row a { color: inherit; text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-hero__past { padding: var(--space-1) var(--space-3); background: var(--c-juoda-100); color: var(--c-juoda-900); }
.mllm-edu--renginys .mllm-edu__content { font-size: var(--fs-body-big); }
.mllm-hero--plakatas .mllm-hero__img { filter: blur(22px) brightness(0.55); transform: scale(1.12); }
.mllm-edu__plakatas { margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-4); }
.mllm-edu__plakatas-img { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .mllm-edu__cols { grid-template-columns: 1fr; } }

/* "Jums gali patikti" related tags (light band). */
.mllm-related { padding-block: var(--space-9); background: var(--color-surface-alt); }
.mllm-related__title { margin-bottom: var(--space-6); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--color-text); }
.mllm-related__tags { display: flex; flex-wrap: wrap; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.mllm-tag {
  display: inline-block; padding: var(--space-2) var(--space-5);
  font-family: var(--font-accent); font-size: var(--fs-body);
  border: 1px solid var(--color-text); color: var(--color-text); text-decoration: none;
}
.mllm-tag:hover { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }

/* ═══════════════════════════════════════════════════════════════════════
 * Edukacijos archive (archive-mllm_edukacija.php) — intro, filters, grid.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-eduarch-intro { padding-block: var(--space-9); }
.mllm-eduarch-intro__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-9); align-items: start; }
.mllm-eduarch-intro__text { max-width: 65ch; font-size: var(--fs-body); line-height: var(--lh-body); }
.mllm-eduarch-intro__text > :first-child { margin-top: 0; }
.mllm-eduarch-intro__btns { display: flex; flex-direction: column; gap: var(--space-3); min-width: 300px; }
.mllm-eduarch-intro__btns .btn--outlined { justify-content: space-between; }
@media (max-width: 820px) { .mllm-eduarch-intro__inner { grid-template-columns: 1fr; } }

.mllm-eduarch { background: var(--c-juoda-900); color: var(--c-juoda-100); --karusele-fg: var(--c-juoda-100); padding-block: var(--space-9); }
.mllm-eduarch__filters { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-bottom: var(--space-9); max-width: 100%; }
/* Renginiu filtras neturejo JOKIU stiliu - forma lipdavo prie "Praeje renginiai" antrastes
   (Justina 2026-09-07, ruttl: "Padaryti tarpeli tarp filto ir Artimiausi renginiai"). */
.mllm-renginiai__filters { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-bottom: var(--space-7); max-width: 100%; }
/* 🪤 A <select>'s intrinsic width is set by its LONGEST <option>, and with
   `appearance:none` it will not shrink — on a 390px phone the padalinys filter
   pushed the document to 461px (WCAG 2.1 1.4.10 Reflow fails at 320px). Cap it. */
.mllm-select { position: relative; display: inline-flex; max-width: 100%; }
.mllm-select select { max-width: 100%; }
.mllm-select select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  min-width: 220px; padding: var(--space-3) var(--space-8) var(--space-3) var(--space-4);
  background: transparent; color: var(--c-juoda-100); border: 1px solid var(--c-juoda-600);
  font-family: var(--font-body); font-size: var(--fs-body);
}
.mllm-select::after {
  content: ""; position: absolute; right: var(--space-4); top: 50%;
  width: 8px; height: 8px; border-right: 2px solid var(--c-juoda-300); border-bottom: 2px solid var(--c-juoda-300);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
/* Open dropdown keeps the dark skin (Eglė, ruttl /edukacija/: „išskleidus gal
 * irgi stilius būtų išlaikomas, tamsiame fone, ne taip suspaustos opcijos").
 * `color-scheme` is what actually repaints the NATIVE popup — option colours
 * alone are ignored by several engines. Option padding is honoured by Gecko;
 * Blink/WebKit cap the row height, so the popup stays denser there. */
.mllm-select select { color-scheme: dark; }
.mllm-select select option { background: var(--c-juoda-900); color: var(--c-juoda-100); padding-block: var(--space-2); }
/* The light archive bar (Parodos/Rinkiniai) keeps a light popup. */
.mllm-archive:not(.mllm-archive--tamsi) .mllm-select select { color-scheme: light; }
.mllm-archive:not(.mllm-archive--tamsi) .mllm-select select option { background: var(--color-surface); color: var(--color-text); }
/* Enlarge filter dropdowns for readability — VSSA a11y (client review 07-21: "naudoti … Myriad ir viską didinti"). */
.mllm-eduarch__filters .mllm-select select { font-size: var(--fs-body-big); padding-block: var(--space-4); }
/* Selects + button share one height so the filter row lines up (designer). */
.mllm-eduarch__filters .mllm-select select,
.mllm-eduarch__filters .btn { min-height: 3.5rem; display: inline-flex; align-items: center; }
.mllm-eduarch__reset { white-space: nowrap; }
/* Justina: mygtukas „Isvalyti filtrus" neuzvedus kursoriaus nesimato.
   Ismatuota narsykleje: color rgb(20,21,28) ant fono rgb(20,21,28) = 1,00:1 —
   matesi TIK remelis. `.btn--linijinis` ima `--color-text` (juoda 900), o edukaciju
   archyvas yra tamsus. Sviesus tekstas ant juoda-900 duoda 15,9:1. */
.mllm-eduarch .btn--linijinis { color: var(--c-juoda-100); }
/* Parodos filter bar renders on a LIGHT archive (archive.php), but the select
   is styled pale for the DARK edukacija bar → invisible text. Force readable
   ink + darker chevron/border in the light-archive context. */
.mllm-archive:not(.mllm-archive--tamsi) .mllm-archive__filters .mllm-select select { color: var(--color-text); border-color: var(--c-juoda-600); }
.mllm-archive:not(.mllm-archive--tamsi) .mllm-archive__filters .mllm-select::after { border-color: var(--color-text); }
/* JS turns on auto-filter → the apply button is redundant; hide it. */
.js-edu-auto .mllm-eduarch__apply { display: none; }
.mllm-eduarch__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0 0 var(--space-8); padding: 0; }
/* Dark filter chips: regular Myriad (not Courier) at body size for legibility — VSSA a11y (client review 07-21). */
.mllm-tag--dark { padding: var(--space-2) var(--space-4); font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--fs-body); border-color: var(--c-juoda-600); color: var(--c-juoda-100); }
.mllm-tag--dark:hover, .mllm-tag--dark.is-active { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-eduarch__grid { margin-bottom: var(--space-8); }
.mllm-eduarch__empty { color: var(--c-juoda-300); }
.mllm-eduarch .mllm-pagination .page-numbers { color: var(--c-juoda-100); border-color: var(--c-juoda-600); }
.mllm-eduarch .mllm-pagination .page-numbers.current { background: var(--mllm-accent); color: var(--mllm-on-accent); border-color: var(--mllm-accent); }

/* ═══════════════════════════════════════════════════════════════════════
 * Registration modal — 3-step booking wizard (Figma 4156-2462 … 4158-3497).
 * ═══════════════════════════════════════════════════════════════════════ */
/* Modal is a museum-level action → always the main green, not the page branch. */
.mllm-modal.is-renginys [data-edu-only] { display: none; }
.mllm-modal { --mllm-accent: var(--c-zalia); --mllm-on-accent: var(--c-juoda-900); position: fixed; inset: 0; z-index: 2147483001; display: flex; padding: var(--space-6); overflow-y: auto; }
/* Above the mllm-accessibility floating button (2147483000), which otherwise sits on the form at 390 px. */
.mllm-modal[hidden] { display: none; }
.mllm-modal__overlay { position: fixed; inset: 0; background: rgba(20, 21, 28, 0.6); }
.mllm-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 560px; margin: auto;
  background: var(--color-surface); padding: var(--space-8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.mllm-modal__close { position: absolute; top: var(--space-4); right: var(--space-4); padding: var(--space-2); color: var(--color-text); }
@media (max-width: 560px) { .mllm-modal { padding: var(--space-4); } .mllm-modal__dialog { padding: var(--space-6) var(--space-5); } }
.mllm-modal__close svg { width: 24px; height: 24px; }

/* base.css ol[class]/ul[class] (0,1,1) beats a lone class: steps and summary lost their margins, title sat on the dots. */
.mllm-modal .mllm-steps { display: flex; align-items: center; list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.mllm-steps__i { display: flex; align-items: center; }
.mllm-steps__i:not(:first-child)::before { content: ""; width: 44px; height: 1px; background: var(--c-juoda-300); }
.mllm-steps__i span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--c-juoda-300); font-size: var(--fs-small); color: var(--color-text-muted); background: var(--color-surface);
}
.mllm-steps__i.is-active span { border-color: var(--mllm-accent); color: var(--mllm-accent); }
.mllm-steps__i.is-done span { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }

.mllm-modal .mllm-modal__summary { list-style: none; margin: 0 0 var(--space-6); padding: var(--space-5) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); display: flex; flex-direction: column; gap: var(--space-3); }
.mllm-modal__summary li { display: flex; gap: var(--space-3); align-items: center; font-size: var(--fs-body); color: var(--color-text); }
.mllm-modal__ico { flex: 0 0 auto; display: inline-flex; color: var(--mllm-accent); }
.mllm-modal__ico svg { width: 20px; height: 20px; }

.mllm-modal__h { margin-bottom: var(--space-5); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--mllm-accent); }
.mllm-modal__h--center { text-align: center; }
.mllm-modal__sub { margin-bottom: var(--space-5); font-weight: var(--fw-bold); }

.mllm-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.mllm-cal__nav { display: inline-flex; color: var(--color-text); }
.mllm-cal__nav svg { width: 20px; height: 20px; }
.mllm-cal__label { font-family: var(--font-condensed); font-weight: var(--fw-semibold); }
.mllm-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--space-1); }
.mllm-cal__wd { padding-bottom: var(--space-2); text-align: center; font-family: var(--font-accent); font-size: var(--fs-small-accent); color: var(--color-text-muted); }
.mllm-cal__cell { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: var(--space-2) 0; border: 1px solid transparent; background: var(--color-surface-alt); font-family: var(--font-body); cursor: pointer; }
.mllm-cal__cell.is-empty { visibility: hidden; background: none; }
.mllm-cal__d { font-size: var(--fs-small); }
.mllm-cal__s { font-size: 10px; color: var(--color-text-muted); }
.mllm-cal__cell:hover:not(:disabled) { border-color: var(--mllm-accent); }
.mllm-cal__cell.is-sel { background: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-cal__cell.is-sel .mllm-cal__s { color: var(--mllm-on-accent); }
.mllm-cal__cell.is-busy { opacity: 0.45; cursor: not-allowed; }
.mllm-cal__cell.is-na { opacity: 0.3; cursor: default; background: none; }
.mllm-cal__cell:disabled { cursor: not-allowed; }
.mllm-modal__error { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); background: rgba(255, 87, 87, 0.12); border-left: 3px solid var(--c-raudona); color: var(--color-text); font-size: var(--fs-small); }

.mllm-slots { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.mllm-slot { padding: var(--space-2) var(--space-4); border: 1px solid var(--color-border); background: var(--color-surface); font-family: var(--font-body); cursor: pointer; }
.mllm-slot:hover { border-color: var(--mllm-accent); }
.mllm-slot.is-sel { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }

.mllm-field { margin-bottom: var(--space-4); }
.mllm-field label, .mllm-field__label { display: block; margin-bottom: var(--space-2); font-size: var(--fs-small); }
.mllm-field input, .mllm-field textarea { width: 100%; padding: var(--space-3); border: 1px solid var(--color-border); background: var(--color-surface); font: inherit; }
.mllm-field input:focus, .mllm-field textarea:focus { outline: 2px solid var(--mllm-accent); outline-offset: 0; border-color: var(--mllm-accent); }
.mllm-chipset { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.mllm-chip-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mllm-chip-radio span { display: inline-block; padding: var(--space-1) var(--space-4); border: 1px solid var(--color-border); font-size: var(--fs-small); cursor: pointer; }
.mllm-chip-radio input:checked + span { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-chip-radio input:focus-visible + span { outline: 2px solid var(--mllm-accent); outline-offset: 2px; }
.mllm-consent { display: flex; gap: var(--space-2); align-items: flex-start; margin-top: var(--space-4); font-size: var(--fs-small); }

.mllm-modal__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.mllm-modal__done-text { margin-bottom: var(--space-6); text-align: center; color: var(--color-text); }

/* ═══════════════════════════════════════════════════════════════════════
 * WooCommerce — shop archive (light grid) + single product skin.
 * ═══════════════════════════════════════════════════════════════════════ */
/* Shop intro (Figma „Parduotuvė" block: heading + rich text + green blob). */
.mllm-shop-intro { background: var(--color-surface); padding-block: var(--space-9) var(--space-7); overflow: hidden; } /* the blob bleeds 4 % past the container edge; without this the page scrolls sideways (1331 px @ 1280). */
.mllm-shop-intro__inner { position: relative; }
.mllm-shop-intro__body { position: relative; z-index: 1; max-width: 50%; }   /* reserve ~½ width (Eglė); blob sits in the other half */
.mllm-shop-intro__title { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--color-text); margin-bottom: var(--space-5); }
.mllm-shop-intro__text { font-size: var(--fs-body); line-height: 1.6; color: var(--color-text); }   /* body-copy size (was body-big) per Eglė */
.mllm-shop-intro__text > :last-child { margin-bottom: 0; }
.mllm-shop-intro__text p { margin-bottom: var(--space-3); }
.mllm-shop-intro__text ul { margin: 0 0 var(--space-3) 1.1em; }
.mllm-shop-intro__text ul li { margin-bottom: var(--space-1); }
.mllm-shop-intro__text a { color: inherit; text-decoration: underline; }
.mllm-shop-intro__blob { position: absolute; top: 50%; right: -4%; transform: translateY(-50%); width: 360px; height: 300px; background: var(--c-zalia); border-radius: 62% 38% 55% 45% / 55% 52% 48% 45%; z-index: 0; pointer-events: none; }
@media (max-width: 1000px) { .mllm-shop-intro__blob { display: none; } .mllm-shop-intro__body { max-width: none; } }

/* Featured products band (Figma purple „Populiariausios prekės"). */
.mllm-featured { background: var(--c-purpurine); padding-block: var(--space-9); }
.mllm-featured__title { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--c-juoda-900); margin-bottom: var(--space-6); }
.mllm-featured .products { --karusele-fg: var(--c-juoda-900); }
/* Featured band as a carousel — override WC's product grid into a flex track. */
.woocommerce .mllm-featured ul.products.mllm-karusele__track,
.mllm-featured ul.products.mllm-karusele__track {
  display: flex; gap: var(--space-4); margin: 0; padding: 0 0 var(--space-3);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
}
.mllm-featured ul.products.mllm-karusele__track::-webkit-scrollbar { display: none; }
.woocommerce .mllm-featured ul.products.mllm-karusele__track li.product,
.mllm-featured ul.products.mllm-karusele__track li.product {
  flex: 0 0 clamp(220px, 30%, 300px); width: auto; margin: 0; scroll-snap-align: start; float: none;
}
.mllm-featured .mllm-karusele__dots { justify-content: flex-end; margin-top: var(--space-6); }
.mllm-featured .mllm-karusele__dot { background: var(--c-juoda-900); }
/* Beat WC core `.woocommerce ul.products li.product .price{color:#958e09}` (0,4,2) — olive fails contrast on purpurinė. */
.woocommerce .mllm-featured ul.products li.product .price { color: var(--c-juoda-900); }

.mllm-shop { background: var(--color-surface); color: var(--color-text); --karusele-fg: var(--color-text); padding-block: var(--space-9); }
/* Dark listing surface — the product grid only (Eglė, ruttl /parduotuve/).
   The single product page re-lights below (`.single-product .mllm-shop`). */
.mllm-shop--tamsi { background: var(--c-juoda-900); color: var(--c-juoda-100); --karusele-fg: var(--c-juoda-100); }
.mllm-shop--tamsi .woocommerce-breadcrumb,
.mllm-shop--tamsi .woocommerce-result-count { color: var(--c-juoda-300); }
.mllm-shop--tamsi .mllm-product .price del { color: var(--c-juoda-600); }
/* WC core paints the loop price olive (#958e09) — unreadable on juoda-900. */
.woocommerce .mllm-shop--tamsi ul.products li.product .price { color: var(--mllm-accent); }
/* Filter row on dark: the category select (the WC ordering select is painted
   further down, after WC's own light rule — equal specificity, order wins). */
.mllm-shop--tamsi .mllm-shop__filters .mllm-select select {
  background: transparent; color: var(--c-juoda-100); border-color: var(--c-juoda-600);
}
.mllm-shop__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); padding: 0; list-style: none; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { color: var(--color-text-muted); }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8) var(--space-4); margin: 0 0 var(--space-8); padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; display: none; }
/* 🪤 WooCommerce ships the SAME selector with `width:30.75%`, and its stylesheet
   loads after the theme's → the card shrank to 30.75% of its own grid cell
   (140px in a 456px column). The `.mllm-product` class (added by the card
   template) lifts specificity above it without !important. */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product.mllm-product { width: auto; margin: 0; padding: 0; float: none; }
.mllm-product { position: relative; }
.mllm-product__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-juoda-600); }
.mllm-product__media > a { display: block; width: 100%; height: 100%; }
/* 🪤 `wc-blocks.css` loads AFTER the theme and carries
   `ul.products li.product img { height:auto }` (0,2,3) — the card image kept
   its own aspect and left the media box's grey backing showing. Match its
   specificity through the li + class. */
.mllm-product__img,
.woocommerce ul.products li.product img.mllm-product__img { width: 100%; height: 100%; object-fit: cover; }
.mllm-product__sale { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2; padding: 2px var(--space-3); background: var(--mllm-accent); color: var(--mllm-on-accent); font-family: var(--font-condensed); font-size: var(--fs-small); }
.mllm-product__body { display: block; padding-top: var(--space-3); color: var(--karusele-fg, var(--color-text)); text-decoration: none; }
.mllm-product__title { margin-bottom: var(--space-1); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); color: var(--karusele-fg, var(--color-text)); }
.mllm-product__link:hover .mllm-product__title, .mllm-product__body:hover .mllm-product__title { color: var(--mllm-accent); }
.mllm-product .price { display: block; font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body); color: var(--mllm-accent); }
.mllm-product .price del { margin-right: var(--space-2); color: var(--c-juoda-300); font-weight: var(--fw-regular); }
.mllm-product .price ins { text-decoration: none; }
/* „I krepseli" po kaina, su tekstu (Justina 2026-09-07). Fonas/spalva paveldimi is
   bendros `.woocommerce a.button` taisykles (akcentas + on-accent) — cia tik forma. */
.mllm-product__cart { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-3); }
.woocommerce ul.products li.product.mllm-product .mllm-product__cart a.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; margin: 0; padding: var(--space-2) var(--space-4);
  font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body); line-height: 1.2;
}
.mllm-product__cart .button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.mllm-product__cart .added_to_cart { font-size: var(--fs-small); color: var(--karusele-fg, var(--color-text)); }
@media (max-width: 900px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .woocommerce ul.products { grid-template-columns: 1fr; } }

.woocommerce nav.woocommerce-pagination ul { border: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  min-width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  border: 1px solid var(--c-juoda-600); color: var(--c-juoda-100); background: transparent; font-family: var(--font-accent);
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--mllm-accent); color: var(--mllm-on-accent); border-color: var(--mllm-accent); }

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb { margin-bottom: var(--space-6); font-size: var(--fs-small); color: var(--color-text-muted); }
.woocommerce .woocommerce-breadcrumb a { color: inherit; text-decoration: none; }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--mllm-accent); }

/* ── Single product (light) ── */
.single-product .mllm-shop { background: var(--color-surface); color: var(--color-text); --karusele-fg: var(--color-text); }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-9); align-items: start; }
/* 🪤 WooCommerce layout.css `.woocommerce-page div.product div.images` is (0,3,2):
   one ELEMENT more than `.woocommerce div.product .woocommerce-product-gallery`
   (0,3,1), so its `float:left; width:48%` won and both columns rendered at
   286 px inside a 596 px grid cell (measured 2026-09-15). Match its depth. */
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none; width: 100%; margin: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__image { background: var(--color-surface-alt); }
.woocommerce div.product div.images img { width: 100%; height: auto; }
/* Thumbnail strip — WooCommerce ships it as floated 25%-wide list items with no
   gap and no active state, so a product with several photos looked like loose
   cut-outs (Eglė, ruttl prekės puslapis: „Ir kaip su daugiau foto atrodys"). */
.woocommerce div.product .flex-control-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2);
  margin: var(--space-3) 0 0; padding: 0; list-style: none; float: none;
}
.woocommerce div.product .flex-control-thumbs::after { content: none; }
/* 🪤 WooCommerce's own `…__gallery .flex-control-thumbs li { width: 25% }` has
   FOUR classes (0,4,2) and out-specifies a three-class rule — the percentage
   then resolves against the grid CELL, collapsing each thumb to 19px. Match
   its depth (0,5,2) instead of reaching for !important. */
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {
  width: auto; margin: 0; float: none; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--c-juoda-100);
}
.woocommerce div.product .flex-control-thumbs img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.65; cursor: pointer;
  transition: opacity var(--dur) var(--ease);
}
.woocommerce div.product .flex-control-thumbs img:hover,
.woocommerce div.product .flex-control-thumbs img.flex-active { opacity: 1; }
.woocommerce div.product .flex-control-thumbs img.flex-active { outline: 2px solid var(--mllm-accent); outline-offset: -2px; }
@media (max-width: 560px) {
  .woocommerce div.product .flex-control-thumbs { grid-template-columns: repeat(3, 1fr); }
}
/* Summary column: one vertical rhythm, every WC default margin reset. */
.woocommerce div.product div.summary { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); line-height: var(--lh-body); }
.woocommerce div.product div.summary > * { margin: 0; }
.woocommerce div.product div.summary form.cart { width: 100%; }
.mllm-produktas__kategorija { text-decoration: none; }
.mllm-produktas__kategorija:hover { background: var(--mllm-accent); color: var(--mllm-on-accent); }
.woocommerce div.product .product_title { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); line-height: var(--lh-heading); color: var(--color-text); letter-spacing: 0; }
/* Price in ink: the green accent on white is 1.99:1, fails AA even at 22 px bold. */
.woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce div.product .woocommerce-variation-price .price { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h3); color: var(--color-text); }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { color: var(--color-text-muted); font-weight: var(--fw-regular); }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: var(--fs-body-big); }
.woocommerce div.product .woocommerce-product-details__short-description p { margin-bottom: var(--space-3); }
/* Variation pickers: label above a full-width select (WC ships a 2-col table). */
.woocommerce div.product form.cart table.variations { display: block; width: 100%; margin: 0 0 var(--space-5); border: 0; }
.woocommerce div.product form.cart table.variations tbody { display: grid; gap: var(--space-4); }
.woocommerce div.product form.cart table.variations tr { display: flex; flex-direction: column; gap: var(--space-2); }
.woocommerce div.product form.cart table.variations th, .woocommerce div.product form.cart table.variations td { display: block; padding: 0; border: 0; text-align: left; line-height: inherit; }
.woocommerce div.product form.cart table.variations th label { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.woocommerce div.product form.cart table.variations select {
  display: block; width: 100%; max-width: 100%; min-width: 0; margin: 0;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: var(--space-3) var(--space-8) var(--space-3) var(--space-4);
  border: 1px solid var(--color-border); background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%2314151C' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat right var(--space-3) center / 16px;
  color: var(--color-text); font-family: var(--font-body); font-size: var(--fs-body);
}
.woocommerce div.product form.cart table.variations select:hover { border-color: var(--color-text-muted); }
.woocommerce div.product form.cart .reset_variations { display: inline-block; margin-top: var(--space-2); font-size: var(--fs-small); color: var(--color-text-muted); }
.woocommerce div.product form.cart .woocommerce-variation { margin-bottom: var(--space-4); }
.woocommerce div.product form.cart .woocommerce-variation-availability p { margin: 0; font-size: var(--fs-small); }
/* Quantity stepper + button on one row. */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: var(--space-3); }
.woocommerce div.product form.cart div.quantity { display: inline-flex; align-items: stretch; float: none; margin: 0; border: 1px solid var(--color-border); }
.woocommerce div.product form.cart div.quantity input.qty {
  width: 56px; min-height: 46px; padding: var(--space-2) var(--space-1); border: 0; text-align: center;
  font-family: var(--font-body); font-size: var(--fs-body); color: var(--color-text); background: var(--color-surface); -moz-appearance: textfield;
}
.woocommerce div.product form.cart div.quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart div.quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mllm-qty__btn { width: 44px; border: 0; background: transparent; color: var(--color-text); font-family: var(--font-body); font-size: var(--fs-body-big); line-height: 1; cursor: pointer; }
.mllm-qty__btn:hover { background: var(--color-surface-alt); }
.woocommerce div.product .single_add_to_cart_button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button.alt {
  background: var(--mllm-accent); color: var(--mllm-on-accent); border: 0; border-radius: 0;
  font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--fs-body); padding: var(--space-3) var(--space-8);
}
.woocommerce div.product form.cart .single_add_to_cart_button { min-height: 48px; }
.woocommerce div.product .single_add_to_cart_button:hover, .woocommerce a.button:hover, .woocommerce button.button.alt:hover { filter: brightness(0.92); background: var(--mllm-accent); color: var(--mllm-on-accent); }
/* WC's `.woocommerce button.button.alt.disabled` (0,4,1) paints #7f54b3 purple — match depth, keep the accent. */
.woocommerce div.product .single_add_to_cart_button.disabled, .woocommerce div.product .single_add_to_cart_button:disabled,
.woocommerce div.product .single_add_to_cart_button.disabled:hover { background: var(--mllm-accent); color: var(--mllm-on-accent); opacity: 0.45; cursor: not-allowed; filter: none; }
/* Portrait product photos (600×900) would otherwise run 900 px tall; letterbox on the alt surface. */
.woocommerce div.product div.images .woocommerce-product-gallery__image img { max-height: 720px; object-fit: contain; }
/* Running total + pickup / payment facts */
.mllm-produktas__suma { font-family: var(--font-accent); font-size: var(--fs-body); color: var(--color-text); }
.mllm-produktas__suma strong { font-size: var(--fs-body-big-accent); }
.mllm-produktas__faktai { list-style: none; width: 100%; margin: var(--space-2) 0 0; padding: var(--space-4) 0 0; border-top: 1px solid var(--color-border); display: grid; gap: var(--space-2); font-size: var(--fs-small); color: var(--color-text-muted); }
.mllm-produktas__faktai li { display: flex; gap: var(--space-2); align-items: flex-start; }
.mllm-produktas__faktai svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; }
/* Description + attributes below both columns (Figma: inline, not tabs). */
.mllm-produktas__aprasymas { grid-column: 1 / -1; max-width: 780px; margin-top: var(--space-4); }
.mllm-produktas__h2 { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--color-text); margin: 0 0 var(--space-4); }
.mllm-produktas__tekstas { font-size: var(--fs-body-big); line-height: var(--lh-body); margin-bottom: var(--space-8); }
.mllm-produktas__tekstas p { max-width: none; margin: 0 0 var(--space-4); }
.mllm-produktas__tekstas > :last-child { margin-bottom: 0; }
.mllm-produktas__tekstas a { color: inherit; text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.mllm-produktas__tekstas ul, .mllm-produktas__tekstas ol { padding-left: 1.25em; margin-bottom: var(--space-4); }
.woocommerce div.product .mllm-produktas__aprasymas table.shop_attributes { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: var(--fs-body); }
.woocommerce div.product .mllm-produktas__aprasymas table.shop_attributes th,
.woocommerce div.product .mllm-produktas__aprasymas table.shop_attributes td { padding: var(--space-3) 0; border: 0; border-bottom: 1px solid var(--color-border); background: transparent; font-style: normal; line-height: var(--lh-body); }
.woocommerce div.product .mllm-produktas__aprasymas table.shop_attributes th { width: 34%; padding-right: var(--space-4); font-family: var(--font-condensed); font-weight: var(--fw-semibold); color: var(--color-text-muted); }
.woocommerce div.product .mllm-produktas__aprasymas table.shop_attributes td p { margin: 0; padding: 0; }
.woocommerce div.product .related.products, .woocommerce div.product .upsells.products { grid-column: 1 / -1; margin-top: var(--space-10); background: var(--c-purpurine); padding: var(--space-9); }
.woocommerce div.product .related.products > h2 { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--c-juoda-900); margin-bottom: var(--space-6); }
/* Related-band cards sit on purpurinė: pin card text + price to dark ink (green price fails contrast on purple). */
.woocommerce div.product .related.products .mllm-product__title,
.woocommerce div.product .related.products .mllm-product__body,
.woocommerce div.product .related.products .mllm-product .price { color: var(--c-juoda-900); }
@media (max-width: 820px) {
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce div.product .related.products, .woocommerce div.product .upsells.products { padding: var(--space-6) var(--space-4); }
}

.mllm-citata--tamsi { background: var(--c-juoda-900); border-top: 1px solid rgba(242, 242, 253, 0.08); }
.mllm-citata--tamsi .mllm-citata__text,
.mllm-citata--tamsi .mllm-citata__author { color: var(--c-juoda-100); }

@media (max-width: 640px) {
  .mllm-citata__inner { grid-template-columns: 1fr; }
  .mllm-citata__figure { min-height: 220px; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/branch-grid — full-width 6 branch colour panels.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-branch-grid { display: flex; width: 100%; }
.mllm-branch-grid__panel {
  position: relative; flex: 1 1 0; min-width: 0; min-height: min(705px, 68vh);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end;
  padding: var(--space-6); text-align: right; text-decoration: none; overflow: hidden;
  background: var(--mllm-accent); color: var(--mllm-on-accent);
  box-shadow: 12px 0 17.3px rgba(0, 0, 0, 0.25);           /* Figma: rightward depth */
  transition: flex-grow var(--dur) var(--ease);
}
/* Overlap panels, left over right, so each casts its shadow onto the next. */
.mllm-branch-grid__panel + .mllm-branch-grid__panel { margin-left: -3%; }
.mllm-branch-grid__panel:nth-child(1) { z-index: 6; }
.mllm-branch-grid__panel:nth-child(2) { z-index: 5; }
.mllm-branch-grid__panel:nth-child(3) { z-index: 4; }
.mllm-branch-grid__panel:nth-child(4) { z-index: 3; }
.mllm-branch-grid__panel:nth-child(5) { z-index: 2; }
.mllm-branch-grid__panel:nth-child(6) { z-index: 1; }
.mllm-branch-grid__panel:hover, .mllm-branch-grid__panel:focus-visible { flex-grow: 1.5; z-index: 10; }
/* Photo stays hidden — the solid accent panel is the resting state (Figma).
   The museum photo + scrim reveal only on hover/focus of that panel. */
.mllm-branch-grid__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.mllm-branch-grid__panel::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 78%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.mllm-branch-grid__panel.has-photo:hover .mllm-branch-grid__img,
.mllm-branch-grid__panel.has-photo:focus-within .mllm-branch-grid__img { opacity: 1; }
.mllm-branch-grid__panel.has-photo:hover::after,
.mllm-branch-grid__panel.has-photo:focus-within::after { opacity: 1; }
.mllm-branch-grid__name {
  position: relative; z-index: 1; max-width: 12ch;
  font-family: var(--font-condensed); font-weight: var(--fw-semibold);
  font-size: var(--fs-h3); line-height: var(--lh-heading);
  color: var(--mllm-on-accent);              /* ink on the solid accent */
}
.mllm-branch-grid__panel.has-photo:hover .mllm-branch-grid__name,
.mllm-branch-grid__panel.has-photo:focus-within .mllm-branch-grid__name { color: var(--c-juoda-100); }
.mllm-branch-grid__arrow {
  position: relative; z-index: 1; margin-top: var(--space-4);
  display: inline-flex; padding: var(--space-1); border: 1px solid currentColor;
  color: inherit; opacity: 0; transition: opacity var(--dur) var(--ease);
}
.mllm-branch-grid__panel:hover .mllm-branch-grid__arrow,
.mllm-branch-grid__panel:focus-visible .mllm-branch-grid__arrow { opacity: 1; }
@media (max-width: 900px) {
  .mllm-branch-grid { flex-wrap: wrap; }
  .mllm-branch-grid__panel { flex: 1 1 50%; min-height: 260px; }
  .mllm-branch-grid__panel:hover, .mllm-branch-grid__panel:focus-visible { flex-grow: 1; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/greitieji-skirtukai — audience quick-link cards (3×2).
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-skirtukai { padding-block: var(--space-10); background: var(--c-juoda-900); border-top: 1px solid rgba(242, 242, 253, 0.08); }
.mllm-skirtukai__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
  list-style: none; margin: 0; padding: 0;
}
.mllm-skirtukai__card { --card-bg: var(--c-zalia); }
.mllm-skirtukai__link {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 469 / 531;
  padding: 40px 32px; overflow: hidden; text-decoration: none;
  background: var(--card-bg); color: var(--c-juoda-900);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
}
/* Visible hover (designer: „hover funkcija neatsiranda") — lift + shadow + illustration nudge. */
.mllm-skirtukai__link:hover, .mllm-skirtukai__link:focus-visible {
  transform: translateY(-6px); box-shadow: 0 14px 30px rgba(20, 21, 28, 0.28); filter: brightness(1.03);
}
.mllm-skirtukai__link:hover .mllm-skirtukai__img, .mllm-skirtukai__link:focus-visible .mllm-skirtukai__img { transform: scale(1.06); }
.mllm-skirtukai__title {
  position: relative; z-index: 1; max-width: 15ch;
  font-family: var(--font-accent); font-weight: var(--fw-regular);
  font-size: var(--fs-h1); line-height: var(--lh-heading); color: var(--c-juoda-900);
}
/* Illustration sits bottom-left. 🔑 Išmatuota Figmoje (4025:635): kortelių piešiniai
   NĖRA vienodo dydžio — 62–84 % pločio, 39–73 % aukščio, su 32–78 px įtrauka nuo
   kairės. Vienos taisyklės visiems nėra, tad dydis renkamas kortelės lauke
   („Iliustracijos dydis"), o numatytasis atitinka vidutinę kortelę. */
.mllm-skirtukai__link { --skirt-img-w: 70%; --skirt-img-h: 50%; --skirt-img-inset: 6%; }
.mllm-skirtukai__link--img-l { --skirt-img-w: 84%; --skirt-img-h: 73%; --skirt-img-inset: 8%; }
.mllm-skirtukai__link--img-s { --skirt-img-w: 62%; --skirt-img-h: 40%; --skirt-img-inset: 7%; }
/* Vektorinis piešinys: jo viewBox sutampa su kortelės proporcija (469×531),
   tad guli per visą kortelę ir pats atsistoja į Figmos vietą. */
.mllm-skirtukai__art { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; transition: transform var(--dur) var(--ease); }
.mllm-skirtukai__link:hover .mllm-skirtukai__art, .mllm-skirtukai__link:focus-visible .mllm-skirtukai__art { transform: scale(1.04); }
.mllm-skirtukai__img {
  position: absolute; left: var(--skirt-img-inset); bottom: var(--space-5); z-index: 0;
  width: var(--skirt-img-w); max-height: var(--skirt-img-h);
  object-fit: contain; object-position: left bottom;
  transition: transform var(--dur) var(--ease);
}
/* Shop filter bar: category dropdown (theme) + WC ordering, styled to match. */
.mllm-shop__filters { justify-content: flex-start; }
.mllm-shop__filters .woocommerce-result-count { margin: 0 auto 0 0; order: -1; }
.mllm-shop__filters .woocommerce-ordering { margin: 0; }
.mllm-shop__filters .mllm-select select,
.mllm-shop__filters .woocommerce-ordering select { min-height: 3.5rem; font-size: var(--fs-body-big); }
.mllm-shop__catfilter { margin: 0; }
.woocommerce .mllm-shop .woocommerce-ordering select,
.woocommerce .mllm-shop select.orderby {
  font-family: var(--font-body); font-size: var(--fs-body); padding: var(--space-3) var(--space-8) var(--space-3) var(--space-4);
  border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text);
}
/* A native select paints its OWN control chrome and ignores `background`
   until `appearance:none` — so the ordering dropdown stayed white on the dark
   bar even with the colours set. Strip the chrome and re-draw the chevron on
   the wrapping form, exactly like .mllm-select does. */
.woocommerce .mllm-shop .woocommerce-ordering select,
.woocommerce .mllm-shop select.orderby { appearance: none; -webkit-appearance: none; cursor: pointer; }
.mllm-shop__filters .woocommerce-ordering { position: relative; display: inline-flex; }
.mllm-shop__filters .woocommerce-ordering::after {
  content: ""; position: absolute; right: var(--space-4); top: 50%;
  width: 8px; height: 8px; border-right: 2px solid var(--c-juoda-300); border-bottom: 2px solid var(--c-juoda-300);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
/* Dark listing: this must sit AFTER the light rule above — equal specificity,
   so source order is what decides which one paints. */
.woocommerce .mllm-shop--tamsi .woocommerce-ordering select,
.woocommerce .mllm-shop--tamsi select.orderby {
  background: var(--c-juoda-900); color: var(--c-juoda-100); border-color: var(--c-juoda-600); color-scheme: dark;
}
.woocommerce .mllm-shop--tamsi .woocommerce-ordering select option { background: var(--c-juoda-900); color: var(--c-juoda-100); }

/* Kortelės meniu, matomas užvedus (Eglė: „neatsiranda kortelių meniu su hover funkcija").
   Figmoje (4025:635) sąrašai yra opacity-0 — turinys nupieštas, būsena ne.
   Teksto spalva NE Figmos #C3C4D0: ant visų 6 akcentų jis duoda 1,07–2,08:1 ir krenta AA.
   var(--c-juoda-900) duoda 5,05–11,21:1 ir sutampa su kortelės antrašte. */
.mllm-skirtukai__card.has-menu .mllm-skirtukai__link { justify-content: flex-start; }
.mllm-skirtukai__title--link { color: inherit; text-decoration: none; position: relative; z-index: 2; }
.mllm-skirtukai__title--link:hover, .mllm-skirtukai__title--link:focus-visible { text-decoration: underline; }
.mllm-skirtukai__menu {
	list-style: none; margin: var(--space-4) 0 0; padding: 0;
	display: flex; flex-direction: column; gap: var(--space-2);
	position: relative; z-index: 2;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.mllm-skirtukai__card.has-menu:hover .mllm-skirtukai__menu,
.mllm-skirtukai__card.has-menu:focus-within .mllm-skirtukai__menu {
	opacity: 1; visibility: visible; transform: none;
}
.mllm-skirtukai__menu a {
	color: var(--c-juoda-900); text-decoration: none;
	font-size: var(--fs-big-body, 1.375rem); line-height: 1.3;
}
.mllm-skirtukai__menu a:hover, .mllm-skirtukai__menu a:focus-visible { text-decoration: underline; }
/* Piešinys prigesinamas, kad sąrašas liktų įskaitomas. */
.mllm-skirtukai__card.has-menu:hover .mllm-skirtukai__art,
.mllm-skirtukai__card.has-menu:focus-within .mllm-skirtukai__art { opacity: .12; }
/* Lietimo ekranuose hover nėra — sąrašas rodomas visada. */
@media (hover: none) {
	.mllm-skirtukai__menu { opacity: 1; visibility: visible; transform: none; }
	.mllm-skirtukai__card.has-menu .mllm-skirtukai__art { opacity: .12; }
}
@media (prefers-reduced-motion: reduce) {
	.mllm-skirtukai__menu { transition: opacity var(--dur) var(--ease), visibility var(--dur); transform: none; }
}


/* Dokumentu centras (tobalt-documents) — Justina: „ši dokumentu talpykla tokia vizualiai
   isskirtine is likusio e. svetaines dizaino, galbut galetu buti zalsvas skilciu / mygtuku
   atspalvis, o ne melsvas".
   Iskiepis savo akcenta laiko CSS kintamuosiuose, tad UZTENKA juos perrasyti — plugino
   NEREDAGUOJAM (jis naudojamas visoje flotileje).
   :root:root — dviguba specifika, kad nesvarbu, kuri CSS uzsikrauna veliau.
   Teksto spalva NE balta: baltas ant zalio duoda 2,21:1 (o dabartinis baltas ant melyno —
   3,05:1, t. y. IR DABAR krenta AA). var(--c-juoda-900) ant zalio = 8,24:1. */
:root:root {
	--tobalt-primary: #8FBD3A;
	--tobalt-primary-dark: #0DAB77;
	--tobalt-primary-light: #E4F1CE;
}
.tobalt-button-primary,
.tobalt-button-primary:hover,
.tobalt-button-primary:focus-visible {
	color: var(--c-juoda-900);
}
/* „Rodyti daugiau" buvo VIENINTELIS likes melynas elementas (#0069A3, 16 vnt).
   Zalia/zalsva 600 kaip TEKSTAS ant balto krenta (2,21 / 2,95:1), todel tamsesnis atspalvis. */
/* Iskiepis visa „Rodyti daugiau" cipa piesia melynai IR su !important:
   `.tbt-docs-wrapper .tbt-docs-showmore { color:#0069a3 !important; background:#eaf3fa;
   border:#cfe6f5 }` (documents.css:187). Temos CSS uzsikrauna ANKSCIAU uz iskiepio,
   tad reikia ir didesnes specifikos, ir !important — kitaip taisykle tyliai pralaimi.
   Specifika (0,3,0) > plugino (0,2,0) per pakartota klase.
   Kontrastas ismatuotas: #0A7A55 ant #EDF6E4 = 4,81:1 (buves melynas — 5,27:1). */
.tbt-docs-wrapper .tbt-docs-showmore.tbt-docs-showmore {
	color: var(--c-zalsva-tamsi) !important;
	background: #EDF6E4 !important;
	border-color: #D3E7B8 !important;
}

@media (max-width: 900px) { .mllm-skirtukai__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mllm-skirtukai__grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/marquee — scrolling text strip.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-marquee { position: relative; overflow: hidden; padding-block: var(--space-3); white-space: nowrap; }
/* Hover/focus sustabdo bėgimą (Eglė: „Ar bus koks hover efektas?") — ir kartu
   leidžia perskaityti tekstą, kuris kitaip nubėga. */
/* 🪤 Hover'as taikomas ir pačiam pauzės mygtukui: paspaudus „groti" juosta likdavo
   sustojusi, kol pelė nuo mygtuko nepasitraukdavo — valdiklis atrodė sugedęs.
   Todėl hover skaičiuojamas tik nuo TAKELIO, ne nuo visos juostos. */
.mllm-marquee__track:hover,
.mllm-marquee:focus-within .mllm-marquee__track,
.mllm-marquee[data-paused] .mllm-marquee__track { animation-play-state: paused; }
/* WCAG 2.2.2 — tikras mechanizmas sustabdyti (hover nepasiekiamas klaviatūra). */
.mllm-marquee__pause {
  position: absolute; right: var(--space-5); top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; padding: 0; display: grid; place-items: center;
  /* `inherit` paima juostos varianto foną (akcentas/tamsi/šviesi), tad mygtukas
     uždengia po juo bėgantį tekstą ir neatrodo susiliejęs. */
  background: inherit; border: 1px solid currentColor; color: inherit; cursor: pointer; opacity: 0.75;
  transition: opacity var(--dur) var(--ease);
}
.mllm-marquee__pause:hover, .mllm-marquee__pause:focus-visible { opacity: 1; }
/* Pauzės ženklas — dvi juostelės; paspaudus virsta trikampiu (groti). */
.mllm-marquee__pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.mllm-marquee__pause[aria-pressed="true"] .mllm-marquee__pause-icon {
  width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0;
}
.mllm-marquee--tamsi { background: var(--c-juoda-900); color: var(--c-juoda-100); }
.mllm-marquee--sviesi { background: var(--color-surface); color: var(--color-text); }
.mllm-marquee--akcentas { background: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-marquee__track { display: inline-flex; animation: mllm-marquee 24s linear infinite; }
.mllm-marquee__group { display: inline-flex; }
.mllm-marquee__item {
  padding-inline: var(--space-6);
  font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3);
}
/* Condensed titles that aren't <h2>/<h3> elements — same Bold-Condensed tightness
   fix as base.css (Eglė "liejasi raidės"). */
.mllm-marquee__item, .mllm-kortele__heading, .mllm-product__title,
.mllm-asmenybe__name, .mllm-newsletter__title, .mllm-kontaktai__h,
.mllm-lankymas__h, .mllm-erdve__name, .mllm-perjungiklis__title,
.mllm-renginiai__ev-title, .woocommerce div.product .product_title { letter-spacing: 0.02em; }
@keyframes mllm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mllm-marquee__track { animation: none; }
  .mllm-marquee__group:nth-child(2) { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/newsletter — quote + subscription form.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-newsletter { padding-block: var(--space-10); overflow: hidden; }
/* Two equal columns on ONE baseline: the quote figure and the signup share
   `align-items: start` and identical top padding, so headline and quote line
   up (measured 2026-09-15: quote sat 29 px lower, blob overhung the page edge
   by 16 px, form was indented 48 px from its own title). */
.mllm-newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-10); align-items: center; }
.mllm-newsletter__quote { position: relative; margin: 0; padding: var(--space-9) 14%; min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
/* The light „island" is drawn with the same organic masks as every citata band:
   a big light shape and a smaller accent shape peeking out behind it. */
.mllm-newsletter__blob {
  position: absolute; z-index: 0; inset: -8% 4%;
  background: var(--c-juoda-100);
  -webkit-mask: url("../img/citata-blob-purple.svg") center / 100% 100% no-repeat;
          mask: url("../img/citata-blob-purple.svg") center / 100% 100% no-repeat;
}
.mllm-newsletter__quote::before {
  content: ""; position: absolute; z-index: 0; left: -4%; right: -4%; bottom: 4%; height: 46%;
  background: var(--mllm-accent);
  -webkit-mask: url("../img/citata-blob-red.svg") center / 100% 100% no-repeat;
          mask: url("../img/citata-blob-red.svg") center / 100% 100% no-repeat;
}
.mllm-newsletter__quote-text {
  position: relative; z-index: 1; margin: 0; max-width: 26ch;
  font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body-big-accent); line-height: var(--lh-body); color: var(--c-juoda-900);
}
.mllm-newsletter__quote-author { position: relative; z-index: 1; margin-top: var(--space-4); font-size: var(--fs-body); color: var(--c-juoda-900); }
.mllm-newsletter__signup { display: flex; flex-direction: column; }
.mllm-newsletter__title { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); line-height: var(--lh-heading); color: var(--color-text); margin-bottom: var(--space-3); }
.mllm-newsletter__desc { margin-bottom: var(--space-6); font-size: var(--fs-body-big); max-width: 40ch; }
.mllm-newsletter__form { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.mllm-newsletter__form input[type="email"] {
  flex: 1 1 240px; padding: var(--space-3); background: transparent;
  border: 0; border-bottom: 1px solid var(--color-border); font-size: var(--fs-body);
}
.mllm-newsletter__hint { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--color-text-muted); }
@media (max-width: 820px) { .mllm-newsletter__inner { grid-template-columns: 1fr; } }
/* Dark variant (Figma default): the quote keeps its light blob island. */
/* Figma (titulinis 4025:635, y≈3898–4360) paints this band PURE BLACK and the
   footer below it Juoda 900 — the footer is the LIGHTER of the two. We had the
   pair inverted (850 above, 900 below), so the footer never separated.
   Eglė (ruttl titulinis): „Footer kiek atsiskiria spalva, Figmos faile". */
.mllm-newsletter--tamsi { background: var(--c-juoda-1000); }
.mllm-newsletter--tamsi .mllm-newsletter__title,
.mllm-newsletter--tamsi .mllm-newsletter__desc { color: var(--c-juoda-100); }
.mllm-newsletter--tamsi .mllm-newsletter__form input[type="email"],
.mllm-newsletter--tamsi .tnp .tnp-email { color: var(--c-juoda-100); }

/* ── Signup form, per Figma (titulinis 4025:635, y≈4060–4210) ──────────────
 * One row: an UNDERLINED email field (no box) + the accent button; the consent
 * checkbox sits on a second row, aligned under the button. The Newsletter
 * plugin's own markup (.tnp / .tnp-field) is only re-laid-out here — the
 * plugin is never edited.
 * 🎯 Figma draws the button label in near-white on Žalia 600 = 2.2:1, which
 * fails AA. Tomas's 2026-07-24 ruling stands: ink on ALL accents. 8.4:1.
 * ──────────────────────────────────────────────────────────────────────── */
.mllm-newsletter__form { width: 100%; }
.mllm-newsletter__form .tnp, .mllm-newsletter__form .tnp-subscription { width: 100%; max-width: none; margin: 0; } /* plugin default: max-width 500px, margin auto → 44 px offset from the title */
.mllm-newsletter__form .tnp form {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4) var(--space-4); align-items: end; margin: 0; padding: 0;
}
.mllm-newsletter__form .tnp-field-email  { grid-area: 1 / 1; margin: 0; }
.mllm-newsletter__form .tnp-field-button { grid-area: 1 / 2; margin: 0; }
.mllm-newsletter__form .mllm-newsletter__consent { grid-area: 2 / 1 / 2 / 3; justify-self: start; margin: 0; align-items: center; }
/* The label stays for assistive tech; Figma shows the hint inside the field. */
.mllm-newsletter__form .tnp-field-email label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mllm-newsletter__form .tnp .tnp-email {
  width: 100%; padding: var(--space-2) 0 var(--space-3);
  background: transparent; border: 0; border-bottom: 1px solid var(--mllm-accent);
  font-family: var(--font-body); font-size: var(--fs-body-big);
}
.mllm-newsletter__form .tnp .tnp-email::placeholder { color: var(--c-juoda-300); opacity: 1; }
.mllm-newsletter__form .tnp .tnp-submit {
  min-height: 46px; padding-inline: var(--space-7); border: 0; cursor: pointer;
  border-radius: var(--radius-0); background: var(--mllm-accent); color: var(--mllm-on-accent);
  font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big);
}
.mllm-newsletter__form .tnp .tnp-submit:hover { opacity: 0.88; }
.mllm-newsletter__consent { gap: var(--space-3); }
.mllm-newsletter__consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto;
  width: 22px; height: 22px; margin: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--mllm-accent); border-radius: var(--radius-0);
}
.mllm-newsletter__consent input[type="checkbox"]:checked {
  background: var(--mllm-accent); box-shadow: inset 0 0 0 3px var(--c-juoda-1000);
}
.mllm-newsletter--tamsi .mllm-newsletter__consent { color: var(--c-juoda-300); }
.mllm-newsletter--tamsi .mllm-newsletter__consent a { color: var(--c-juoda-100); text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .mllm-newsletter__inner { gap: var(--space-8); }
  .mllm-newsletter__quote { padding: var(--space-8) 12%; min-height: 240px; }
  .mllm-newsletter__quote::before { display: none; }
  .mllm-newsletter__blob { inset: -4% 0; }
}
@media (max-width: 640px) {
  .mllm-newsletter__form .tnp form { grid-template-columns: 1fr; }
  .mllm-newsletter__form .tnp-field-button { grid-area: auto; }
  .mllm-newsletter__form .tnp .tnp-submit { width: 100%; }
  .mllm-newsletter__form .mllm-newsletter__consent { grid-area: auto; justify-self: start; }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/renginiai — month calendar + events list (dark section).
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-renginiai { background: var(--c-juoda-900); color: var(--c-juoda-100); padding-block: var(--space-10); border-top: 1px solid rgba(242, 242, 253, 0.08); }
.mllm-renginiai__inner { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: var(--space-9); align-items: start; }
.mllm-renginiai__calendar { position: relative; }
.mllm-renginiai__blob {
  position: absolute; left: -8%; top: -12%; width: 70%; height: 60%; z-index: 0; opacity: 0.85;
  background: var(--c-purpurine); border-radius: 52% 48% 46% 54% / 60% 55% 45% 40%;
}
.mllm-renginiai__cal-head { position: relative; z-index: 1; margin-bottom: var(--space-5); display: flex; align-items: center; gap: var(--space-3); }
.mllm-renginiai__cal-label { font-family: var(--font-condensed); font-weight: var(--fw-regular); font-size: var(--fs-body-big); color: var(--c-juoda-300); }
.mllm-renginiai__cal-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0; cursor: pointer; line-height: 1;
  font-size: 20px; background: transparent; border: 1px solid var(--c-juoda-300);
  color: var(--c-juoda-100); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mllm-renginiai__cal-nav:hover { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-renginiai__cal-nav[data-reng-next] { margin-left: auto; }
.mllm-renginiai__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2); text-align: center; }
.mllm-renginiai__wd { padding-bottom: var(--space-2); font-family: var(--font-accent); font-size: var(--fs-small); color: var(--c-juoda-300); }
.mllm-renginiai__cell { aspect-ratio: 1; display: grid; place-items: center; font-family: var(--font-accent); font-size: var(--fs-small); color: var(--c-juoda-100); }
.mllm-renginiai__cell.is-empty { visibility: hidden; }
.mllm-renginiai__cell.has-event { text-decoration: none; color: inherit; outline: 1px solid var(--mllm-accent); }
.mllm-renginiai__cell.has-event:hover, .mllm-renginiai__cell.has-event:focus-visible { background: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-renginiai__cell.is-today { background: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-renginiai__title { margin-bottom: var(--space-6); font-family: var(--font-accent); font-weight: var(--fw-regular); font-size: var(--fs-h1); color: var(--c-juoda-100); }
.mllm-renginiai__list { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.mllm-renginiai__item { display: flex; align-items: flex-start; gap: var(--space-5); padding: var(--space-3) 0; }
.mllm-renginiai__date { flex: 0 0 auto; font-family: var(--font-accent); font-weight: var(--fw-bold); color: var(--mllm-accent); }
.mllm-renginiai__meta { display: flex; flex-direction: column; gap: var(--space-1); }
.mllm-renginiai__ev-title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); color: var(--c-juoda-100); text-decoration: none; }
.mllm-renginiai__ev-title:hover { color: var(--mllm-accent); }
.mllm-renginiai__ev-pad { font-size: var(--fs-small); color: var(--c-juoda-300); }
.mllm-renginiai__ev-when { font-size: var(--fs-small); color: var(--c-juoda-600); }
/* Event poster thumbnail in the archive list rows. */
.mllm-renginiai__thumb { flex: 0 0 auto; display: block; width: 84px; height: 108px; overflow: hidden; background: var(--c-juoda-850, #1e1f2b); }
.mllm-renginiai__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mllm-renginiai__thumb.is-empty { background: var(--mllm-accent, var(--c-zalia)); opacity: 0.35; }
.mllm-renginiai--archive .mllm-renginiai__item { align-items: flex-start; gap: var(--space-4); }
.mllm-renginiai--archive .mllm-renginiai__date { padding-top: var(--space-1); }
@media (max-width: 520px) { .mllm-renginiai__thumb { width: 64px; height: 82px; } }
.mllm-renginiai__subhead { margin: var(--space-7) 0 var(--space-4); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); color: var(--c-juoda-100); }
.mllm-renginiai__body > .mllm-renginiai__subhead:first-of-type { margin-top: 0; }
.mllm-renginiai__pagination { margin-top: var(--space-7); }
/* Dark events section: the generic .page-numbers colour is the ink colour — invisible on juoda-900 (Tomas 2026-09-16). */
.mllm-renginiai .mllm-pagination .page-numbers { color: var(--c-juoda-100); border-color: var(--c-juoda-600); }
.mllm-renginiai .mllm-pagination .page-numbers.current { background: var(--mllm-accent); color: var(--mllm-on-accent); border-color: var(--mllm-accent); }
.mllm-renginiai .mllm-pagination a.page-numbers:hover { color: var(--mllm-accent); border-color: var(--mllm-accent); }
.mllm-renginiai__item.is-past { opacity: 0.55; }
/* On the events archive the list is the main content, not a sidebar column. */
.mllm-renginiai--archive .mllm-renginiai__inner { align-items: start; }
.mllm-renginiai__empty { color: var(--c-juoda-300); }
.mllm-renginiai__btn { margin-top: var(--space-7); }
@media (max-width: 820px) { .mllm-renginiai__inner { grid-template-columns: minmax(0, 1fr); } }

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/duk — Q&A accordion (native <details>).
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-duk { padding-block: var(--space-10); }
.mllm-duk__title { margin-bottom: var(--space-7); }
.mllm-duk__list { max-width: 760px; }
.mllm-duk__item { border-bottom: 1.5px solid var(--c-juoda-900); }
.mllm-duk__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-3) var(--space-4) var(--space-3) 0;
  cursor: pointer; list-style: none;
  font-family: var(--font-condensed); font-weight: var(--fw-semibold);
  font-size: var(--fs-h3); line-height: var(--lh-heading); color: var(--color-text);
}
.mllm-duk__q::-webkit-details-marker { display: none; }
.mllm-duk__q::marker { content: ""; }
.mllm-duk__chevron { flex: 0 0 auto; color: var(--color-text); transition: transform var(--dur) var(--ease); }
.mllm-duk__item[open] .mllm-duk__chevron { transform: rotate(180deg); }
.mllm-duk__a {
  padding: 0 var(--space-4) var(--space-5) 0;
  font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text);
}
.mllm-duk__a p { max-width: none; margin: 0 0 var(--space-3); }
.mllm-duk__a p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/kontaktai — map + address + social + hours + contacts card.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-kontaktai { padding-block: var(--space-8); }
.mllm-kontaktai__inner {
  width: 100%; max-width: 480px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.mllm-kontaktai__inner img { width: 100%; aspect-ratio: 2500 / 1515; object-fit: cover; }
.mllm-kontaktai__map { display: block; }
.mllm-kontaktai__body { display: flex; flex-direction: column; gap: var(--space-7); padding-top: var(--space-2); }
.mllm-kontaktai__top { display: flex; flex-direction: column; gap: var(--space-2); }
.mllm-kontaktai__address {
  display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; max-width: none;
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text);
}
.mllm-kontaktai__ico { flex: 0 0 auto; display: inline-flex; color: var(--color-text); }
.mllm-kontaktai__address .mllm-kontaktai__ico svg,
.mllm-kontaktai__line .mllm-kontaktai__ico svg { width: 18px; height: 18px; }
.mllm-kontaktai__social { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.mllm-kontaktai__social a { display: inline-flex; color: var(--color-text); }
.mllm-kontaktai__social a:hover { color: var(--mllm-accent); }
.mllm-kontaktai__social svg { width: 24px; height: 24px; }
.mllm-kontaktai__group { display: flex; flex-direction: column; gap: var(--space-4); }
.mllm-kontaktai__h { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--color-text); }
.mllm-kontaktai__hours p { margin: 0 0 var(--space-3); max-width: none; }
.mllm-kontaktai__hours p:last-child { margin-bottom: 0; }
.mllm-kontaktai__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.mllm-kontaktai__line { display: flex; gap: var(--space-2); align-items: center; font-size: var(--fs-body); color: var(--color-text); }
.mllm-kontaktai__line a { color: var(--color-text); text-decoration: none; }
.mllm-kontaktai__line a:hover { color: var(--mllm-accent); }
.mllm-kontaktai__label { color: var(--color-text-muted); }

/* ═══════════════════════════════════════════════════════════════════════
 * Block: mllm/padaliniu-perjungiklis — branch switcher chips (Courier 20).
 * Each chip tinted by its own branch accent (data-padalinys → --mllm-accent).
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-perjungiklis { padding-block: var(--space-5); }
.mllm-perjungiklis__inner { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.mllm-perjungiklis__title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--color-text); }
.mllm-perjungiklis__list { display: flex; gap: var(--space-3); flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.mllm-perjungiklis__item {
  display: inline-flex; align-items: center;
  padding: var(--space-3) var(--space-8);            /* 12px 40px */
  font-family: var(--font-accent); font-size: var(--fs-body-big-accent); line-height: var(--lh-tight);
  text-decoration: none;
  background: var(--mllm-accent); color: var(--mllm-on-accent);
  transition: filter var(--dur) var(--ease);
}
.mllm-perjungiklis__item:hover { filter: brightness(0.92); }
.mllm-perjungiklis__item.is-active { background: var(--c-juoda-900); color: var(--c-juoda-100); }

@media (max-width: 560px) {
  .mllm-perjungiklis__item { padding: var(--space-2) var(--space-5); }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Site header — dark bar (logo + tools) + main nav.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-header { background: var(--c-juoda-900); color: var(--c-juoda-100); }
.mllm-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-6); padding-block: var(--space-4);
}
.mllm-header__logo { flex: 0 0 auto; display: block; }
.mllm-header__logo img { width: auto; height: 56px; }
.mllm-header__tools { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.mllm-header__search { display: flex; align-items: center; border-bottom: 1px solid var(--c-juoda-300); }
.mllm-header__search input { background: transparent; border: 0; color: var(--c-juoda-100); padding: var(--space-2); min-width: 160px; }
.mllm-header__search input::placeholder { color: var(--c-juoda-300); }
.mllm-header__search input:focus-visible { outline: none; }
.mllm-header__search button { color: var(--c-juoda-100); display: inline-flex; padding: var(--space-1); }
.mllm-header__search svg { width: 18px; height: 18px; }
.mllm-header__cart { position: relative; color: var(--c-juoda-100); display: inline-flex; }
.mllm-header__cart svg { width: 24px; height: 24px; }
.mllm-header__cart-count {
  position: absolute; top: -8px; right: -8px;
  min-width: 16px; height: 16px; padding: 0 3px;
  display: grid; place-items: center;
  background: var(--mllm-accent); color: var(--mllm-on-accent);
  font-family: var(--font-body); font-size: 11px; border-radius: 50%;
}
.mllm-header__duk { color: var(--c-juoda-300); text-decoration: none; font-size: var(--fs-body); }
.mllm-header__duk:hover { color: var(--mllm-accent); }
.mllm-header__sitemap { color: var(--c-juoda-300); text-decoration: none; font-size: var(--fs-small); }
.mllm-header__sitemap:hover { color: var(--mllm-accent); }
.mllm-header__lang { display: flex; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.mllm-header__lang a { color: var(--c-juoda-300); text-decoration: none; text-transform: uppercase; font-size: var(--fs-small); font-weight: var(--fw-bold); }
.mllm-header__lang a:hover, .mllm-header__lang .current-lang a { color: var(--mllm-accent); }
.mllm-header__search-toggle {
  display: none; width: 44px; height: 44px; padding: 0; color: var(--c-juoda-100);
  align-items: center; justify-content: center;
}
.mllm-header__search-toggle svg { width: 22px; height: 22px; }
.mllm-header__search-toggle:hover,
.mllm-header__search-toggle[aria-expanded="true"] { color: var(--mllm-accent); }
/* D.U.K. + Svetainės medis live in the bar on desktop and inside the menu panel
   on phones — one copy is always display:none, so AT sees a single link. */
.mllm-header__utility { display: none; list-style: none; margin: 0; padding: var(--space-3) 0 var(--space-4); gap: var(--space-7); border-top: 1px solid rgba(242, 242, 253, 0.08); }
.mllm-header__utility a { color: var(--c-juoda-300); text-decoration: none; font-size: var(--fs-body); }
.mllm-header__utility a:hover { color: var(--mllm-accent); }
.mllm-header__a11y { display: flex; gap: var(--space-4); }
.mllm-header__a11y-btn { color: var(--c-juoda-100); display: inline-flex; }
.mllm-header__a11y-btn:hover { color: var(--mllm-accent); }
.mllm-header__a11y-btn svg { width: 24px; height: 24px; }

/* Narrow phones: tighten the tools row so logo + tools fit within the viewport
   (no horizontal page scroll). Nothing is hidden — spacing + search width shrink. */
@media (max-width: 600px) {
  .mllm-header__bar { gap: var(--space-3); }
  .mllm-header__tools { gap: var(--space-3); }
  .mllm-header__logo img { height: 44px; }
  .mllm-header__search input { min-width: 96px; }
}

/* Tablets/phones (≤820px): logo + tools + burger no longer fit on one line
   (they need ≈820px), so the tools drop to their own full-width line and the
   burger stays up beside the logo where a thumb expects it. Without this the
   burger wrapped to a THIRD line and the header grew to 219px tall. */
@media (max-width: 820px) {
  .mllm-header__tools { order: 3; flex: 1 1 100%; margin-left: 0; }
}

/* ── Phones (≤480px): logo + burger on the first line, tools on their own ──
 * 🪤 `min-width` above is a FLOOR, not a cap: `input[type="search"]` carries an
 * intrinsic width from its default `size` (~20 chars ≈ 215px here), which is
 * what actually set the tools row's min-content width and pushed the document
 * to 379px at a 320px viewport — WCAG 2.1 1.4.10 Reflow. `min-width: 0` +
 * `width: 100%` is what lets it shrink; `flex-wrap` alone never could.
 * ──────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Two rows instead of four:
   *   1 · logotipas ........................ paieškos mygtukas · meniu
   *   2 · krepšelis · LT ......... prieinamumo įrankiai (VSSA — lieka matomi)
   *   (+ paieškos laukas per visą plotį, kai jis išskleistas)
   * D.U.K. ir „Svetainės medis" — navigacinės nuorodos — keliauja į meniu.
   * Lietimo taikiniai pakelti iki 44px (WCAG 2.5.8 riba yra 24px). */
  .mllm-header__search-toggle { display: inline-flex; }
  .mllm-header__tools {
    order: 3; flex: 1 1 100%; margin-left: 0;
    justify-content: flex-start; gap: var(--space-2);
  }
  .mllm-header__search { order: -1; display: none; flex: 1 1 100%; }
  .mllm-header[data-search-open] .mllm-header__search { display: flex; }
  .mllm-header__search input { min-width: 0; width: 100%; }
  .mllm-header__duk, .mllm-header__sitemap { display: none; }
  .mllm-header__utility { display: flex; }
  .mllm-header__logo img { height: 40px; }
  .mllm-header__a11y { gap: 0; margin-left: auto; }
  .mllm-header__cart,
  .mllm-header__a11y-btn,
  .mllm-nav-toggle {
    min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
  }
}
.mllm-header__nav { border-top: 1px solid rgba(242, 242, 253, 0.08); }
.mllm-menu { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-7); list-style: none; margin: 0; padding: var(--space-3) 0; }
.mllm-menu a {
  display: inline-block;
  font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body);
  color: var(--c-juoda-100); text-decoration: none; white-space: nowrap;
}
.mllm-menu a:hover, .mllm-menu .current-menu-item > a, .mllm-menu .current-menu-parent > a { color: var(--mllm-accent); }
/* Shop item accented out of the bar (designer request). */
.mllm-menu__shop > a { background: var(--c-zalia); color: var(--c-juoda-900); padding: var(--space-2) var(--space-4); }
.mllm-menu__shop > a:hover { background: var(--c-zalia); color: var(--c-juoda-900); opacity: 0.85; }
/* On the shop page itself the current-item rule above (0,2,1) out-specifies the
   pill (0,1,1) and paints the label accent-on-accent = invisible. Keep the ink. */
.mllm-menu .mllm-menu__shop.current-menu-item > a,
.mllm-menu .mllm-menu__shop.current-menu-parent > a,
.mllm-menu .mllm-menu__shop.current-menu-ancestor > a { color: var(--c-juoda-900); }

/* Hamburger toggle — mobile only. */
.mllm-nav-toggle { display: none; width: 40px; height: 40px; padding: 0; color: var(--c-juoda-100); }
.mllm-nav-toggle__bars, .mllm-nav-toggle__bars::before, .mllm-nav-toggle__bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; margin-inline: auto; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mllm-nav-toggle__bars { position: relative; }
.mllm-nav-toggle__bars::before, .mllm-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.mllm-nav-toggle__bars::before { top: -7px; }
.mllm-nav-toggle__bars::after { top: 7px; }
.mllm-nav-toggle[aria-expanded="true"] .mllm-nav-toggle__bars { background: transparent; }
.mllm-nav-toggle[aria-expanded="true"] .mllm-nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.mllm-nav-toggle[aria-expanded="true"] .mllm-nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* Submenus — desktop dropdown (default). */
.mllm-menu .menu-item-has-children { position: relative; }
.mllm-menu .sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 60; min-width: 260px;
  display: none; flex-direction: column; gap: 0;
  margin: 0; padding: var(--space-2) 0; list-style: none;
  background: var(--c-juoda-900); border: 1px solid rgba(242, 242, 253, 0.12);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
/* Desktop: flat menu (Figma) — submenus exist only for the mobile drill-down,
   never revealed on hover/focus, so the header stays the flat 8 items. */
.mllm-menu .sub-menu a { display: block; padding: var(--space-2) var(--space-5); font-weight: var(--fw-regular); white-space: normal; }
.mllm-submenu-toggle { display: none; }   /* desktop: flat, no submenu chevrons */

/* ── Mobile: hamburger panel + accordion deep-nav (≤ 900px) ── */
@media (max-width: 900px) {
  .mllm-nav-toggle { display: grid; place-items: center; }
  .mllm-header__nav { display: none; border-top: 0; }
  .mllm-header__nav[data-open] { display: block; border-top: 1px solid rgba(242, 242, 253, 0.12); }
  .mllm-header__nav[data-open] .container { padding-inline: 0; }

  .mllm-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .mllm-menu > li { border-bottom: 1px solid rgba(242, 242, 253, 0.1); }
  .mllm-menu .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
  .mllm-menu a { flex: 1 1 auto; padding: var(--space-4) var(--gutter); white-space: normal; }

  .mllm-submenu-toggle {
    display: grid; place-items: center; flex: 0 0 auto;
    width: 52px; align-self: stretch; color: var(--c-juoda-100);
    border-left: 1px solid rgba(242, 242, 253, 0.1);
  }
  .mllm-submenu-toggle__chev {
    width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--dur) var(--ease);
  }
  .menu-item-has-children[data-open] > .mllm-submenu-toggle .mllm-submenu-toggle__chev { transform: rotate(-135deg); }

  /* Accordion: submenu is static + hidden until the parent is expanded. */
  .mllm-menu .sub-menu {
    position: static; display: none; flex-basis: 100%; width: 100%;
    min-width: 0; border: 0; box-shadow: none; padding: 0;
    background: rgba(0, 0, 0, 0.25);
  }
  .mllm-menu .menu-item-has-children[data-open] > .sub-menu { display: block; }
  .mllm-menu .sub-menu a { padding: var(--space-3) var(--gutter) var(--space-3) var(--space-9); }
  /* 3rd level (e.g. Padaliniai ▸ branches): indent deeper + slightly darker band. */
  .mllm-menu .sub-menu .sub-menu { background: rgba(0, 0, 0, 0.4); }
  .mllm-menu .sub-menu .sub-menu a { padding-left: calc(var(--space-9) + var(--space-6)); }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Site footer — dark, white logo + requisites + two link columns + blob.
 * ═══════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════════════
 * Branch in-page section nav (Figma „Padalinys" — Istorija/Lankymas/…).
 * ═══════════════════════════════════════════════════════════════════════ */
/* Justina 2026-09-07 (ruttl): „Nesimato labai aiskiai juostos" - buvo balta juosta su
   1 px apacios linija, nuorodos prie pat kairio krasto. Dabar tamsi juosta su
   akcento apatine linija, lipni virsuje, kad skiltys butu pasiekiamos slenkant. */
.mllm-branch-nav { position: sticky; top: 0; z-index: 30; background: var(--c-juoda-900); border-bottom: 3px solid var(--mllm-accent); }
/* 🪤 base.css `ul[class]` (0,1,1) nurungia `.mllm-branch-nav__list` (0,1,0) ir nuima
   padding — nuorodos lipdavo prie kairio krasto. Dvieju klasiu selektorius laimi. */
.mllm-branch-nav .mllm-branch-nav__list { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-7); list-style: none; margin: 0 auto; padding: var(--space-3) var(--gutter); }
.mllm-branch-nav__link {
  display: inline-block; padding: var(--space-2) 0;
  font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body);
  color: var(--c-juoda-100); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mllm-branch-nav__link:hover, .mllm-branch-nav__link:focus-visible { color: var(--mllm-accent); border-bottom-color: var(--mllm-accent); }
/* Anchor targets land below the on-screen nav, not flush to the viewport top. */
#istorija, #lankymas, #asmenybes, #ekspozicijos, #edukacijos, #renginiai { scroll-margin-top: 72px; } /* po lipnia skilciu juosta */

.mllm-footer { position: relative; overflow: hidden; background: var(--c-juoda-900); color: var(--c-juoda-100); padding-block: var(--space-10); }
.mllm-footer__blob {
  position: absolute; left: 22%; bottom: -70px; z-index: 0;
  width: 360px; height: 230px; opacity: 0.92;
  background: var(--c-zalia);
  border-radius: 52% 48% 46% 54% / 62% 55% 45% 38%;
}
.mllm-footer__inner { position: relative; z-index: 1; display: flex; gap: clamp(var(--space-8), 8vw, 120px); flex-wrap: wrap; }
.mllm-footer__brand { flex: 1 1 340px; max-width: 406px; display: flex; flex-direction: column; gap: var(--space-6); }
.mllm-footer__logo { width: 168px; height: auto; }
.mllm-footer__org, .mllm-footer__kont { margin: 0; max-width: none; font-size: var(--fs-small); line-height: 28px; color: var(--c-juoda-100); }
.mllm-footer__cols { display: flex; gap: clamp(var(--space-7), 5vw, 57px); flex: 2 1 460px; flex-wrap: wrap; }
.mllm-footer__col { display: flex; flex-direction: column; gap: var(--space-6); min-width: 160px; }
.mllm-footer__h { font-family: var(--font-body); font-weight: var(--fw-regular); font-size: var(--fs-body-big); color: var(--c-juoda-100); }
.mllm-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mllm-footer__menu a { font-size: var(--fs-small); line-height: 28px; color: var(--c-juoda-100); text-decoration: none; }
.mllm-footer__menu a:hover { color: var(--mllm-accent); text-decoration: underline; }
.mllm-footer__social { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.mllm-footer__social a { display: inline-flex; color: var(--c-juoda-100); }
.mllm-footer__social a:hover { color: var(--mllm-accent); }
.mllm-footer__social svg { width: 24px; height: 24px; }

/* ═══════════════════════════════════════════════════════════════════════
 * Krepšelis / Atsiskaitymas — WooCommerce BLOCKS skin.
 * These pages are block-rendered by WooCommerce (not the classic templates
 * the shop uses), so they arrive with Woo's own defaults: no page gutter,
 * rounded controls, foreign type. Eglė (ruttl /cart/): „tarpavimas, lt kalba".
 * Below: the theme measure + gutter, theme type, sharp edges, accent CTA.
 * ═══════════════════════════════════════════════════════════════════════ */
.woocommerce-cart .mllm-page-title,
.woocommerce-checkout .mllm-page-title,
.woocommerce-account .mllm-page-title,
/* Puslapis, kurio turinys prasideda per visą plotį (pvz. „Padaliniai") —
   antraštė lygiuojama su tuo turiniu, ne su siaura prozos kolona. */
.mllm-page-title--wide { max-width: var(--container-max); }

.woocommerce-cart .mllm-flow > .wp-block-woocommerce-cart,
.woocommerce-checkout .mllm-flow > .wp-block-woocommerce-checkout,
.woocommerce-account .mllm-flow > .woocommerce {
  max-width: var(--container-max); margin-inline: auto;
  padding-inline: var(--gutter); padding-bottom: var(--space-10);
}
/* Woo's own wide-alignment margins fight the measure above — neutralise. */
.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide { margin-inline: auto; }

/* Column gap between line items and the totals sidebar.
   🪤 A flex `gap` here WRAPS the sidebar underneath: Woo sizes the two columns
   in percentages that already total 100%. Add the breathing room as padding
   INSIDE the sidebar instead, so the row keeps its two columns. */
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar { padding-left: var(--space-8); }

/* Line-item table — breathing room per row (the „tarpavimas" ask). */
.wc-block-cart-items__header {
  font-family: var(--font-condensed); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted);
}
.wc-block-cart-items__header th { padding-bottom: var(--space-4); }
.wc-block-cart-items__row td { padding-block: var(--space-6); }
.wc-block-cart-items__row .wc-block-cart-item__image img { width: 96px; max-width: none; }
.wc-block-components-product-name {
  font-family: var(--font-condensed); font-weight: var(--fw-semibold);
  font-size: var(--fs-body-big); color: var(--color-text); text-decoration: none;
}
.wc-block-components-product-name:hover { color: var(--mllm-accent); text-decoration: none; }
.wc-block-components-product-metadata { color: var(--color-text-muted); }

/* Prices + totals speak the typewriter voice, like the rest of the site. */
.wc-block-components-product-price,
.wc-block-components-totals-item__value,
.wc-block-formatted-money-amount { font-family: var(--font-accent); }
.wc-block-cart__totals-title {
  font-family: var(--font-condensed); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted);
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--font-condensed); font-weight: var(--fw-semibold); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--mllm-accent); font-weight: var(--fw-bold); }

/* Controls: the system is sharp-edged — no rounded corners anywhere. */
.wc-block-components-button,
.wc-block-components-quantity-selector,
.wc-block-components-text-input input,
.wc-block-components-panel,
.wc-block-components-totals-coupon input { border-radius: var(--radius-0) !important; }
.wc-block-components-quantity-selector { border: 1px solid var(--color-border); }

/* Primary CTA („Apmokėti" / „Pateikti užsakymą") on the museum accent. */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: var(--mllm-accent) !important; color: var(--mllm-on-accent) !important;
  min-height: 3.5rem; font-family: var(--font-condensed); font-weight: var(--fw-semibold);
  font-size: var(--fs-body-big); letter-spacing: 0.02em;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { opacity: 0.88; }

@media (max-width: 900px) {
  .wc-block-cart-items__row .wc-block-cart-item__image img { width: 72px; }
  .wc-block-components-sidebar-layout { gap: var(--space-7); }
}

/* ═══════════════════════════════════════════════════════════════════════
 * Mini galerija (padalinio puslapis) — didelė nuotrauka + miniatiūros.
 * Figmoje jos nėra (4089:1276 Istorijos sekcijoje viena įrėminta nuotrauka),
 * tad forma paimta iš temoje jau esančio erdvių komponento, o ne sugalvota.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-galerija { padding-block: var(--space-9); background: var(--color-surface); }
.mllm-galerija__title {
  margin-bottom: var(--space-6); font-family: var(--font-condensed);
  font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--color-text);
}
.mllm-galerija__stage { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-4); align-items: start; }
.mllm-galerija__main { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-juoda-300); }
.mllm-galerija__main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mllm-galerija__thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.mllm-galerija__thumb {
  padding: 0; border: 0; cursor: pointer; background: none;
  aspect-ratio: 1 / 1; overflow: hidden; line-height: 0;
}
.mllm-galerija__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.72; transition: opacity var(--dur) var(--ease); }
.mllm-galerija__thumb:hover img, .mllm-galerija__thumb:focus-visible img { opacity: 1; }
.mllm-galerija__thumb[aria-pressed="true"] img { opacity: 1; }
.mllm-galerija__thumb[aria-pressed="true"] { outline: 2px solid var(--mllm-accent); outline-offset: -2px; }
@media (max-width: 820px) {
  .mllm-galerija__stage { grid-template-columns: 1fr; }
  .mllm-galerija__thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ── Galerijos etiketazas + lightbox ─────────────────────────────────────
 * Justina (ruttl): „Nuotraukos galerijose yra kaip eksponatai - turi buti ne
 * tik vaizdas bet ir etikete" + „pasididintu konkreti nuotrauka NE VIRSUJE".
 * Parasai imami is attachment `post_excerpt` (surinkta is kliento figcaption).
 * Lightbox — vietinis <dialog>, be isorines bibliotekos.
 * ───────────────────────────────────────────────────────────────────── */
.mllm-galerija__mainbtn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; line-height: 0; }
.mllm-galerija__parasas {
  margin-top: var(--space-2); font-size: var(--fs-small); line-height: 1.5;
  color: var(--color-text-muted); text-align: left;
}
.mllm-galerija__thumb { cursor: zoom-in; }

.mllm-lb { width: min(96vw, 1400px); max-width: none; max-height: 94vh; padding: 0; border: 0; background: var(--c-juoda-900, #14151C); color: #fff; }
.mllm-lb::backdrop { background: rgb(0 0 0 / 0.86); }
.mllm-lb__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.mllm-lb__skaitiklis { font-family: var(--font-accent); font-size: var(--fs-small); color: #fff; opacity: 0.8; }
.mllm-lb__uzdaryti, .mllm-lb__nav {
  padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
  font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; /* WCAG 2.5.8 */
}
.mllm-lb__uzdaryti:focus-visible, .mllm-lb__nav:focus-visible { outline: 2px solid var(--mllm-accent); outline-offset: 2px; }
.mllm-lb__img { display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #000; }
.mllm-lb__parasas { margin: 0; padding: var(--space-3) var(--space-4) var(--space-4); font-size: var(--fs-small); line-height: 1.55; color: #fff; }
.mllm-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; padding-inline: var(--space-3); text-shadow: 0 1px 4px rgb(0 0 0 / 0.8); }
.mllm-lb__nav--pr { left: 0; }
.mllm-lb__nav--kt { right: 0; }
.mllm-lb[open] { display: block; }
@media (max-width: 520px) {
  .mllm-lb { width: 100vw; max-height: 100vh; }
  .mllm-lb__img { max-height: 62vh; }
}
@media (prefers-reduced-motion: reduce) { .mllm-lb, .mllm-lb__img { transition: none; } }

/* ── Padalinio bilietų kainos (Lankymo blokas) ───────────────────────────
 * Eglė: „Lankymo ne toks pat principas kaip MLLM - su kainynu ir dropdown?"
 * Kainos per padalinius — iš senos svetainės /kainos/ puslapio.
 * ───────────────────────────────────────────────────────────────────── */
.mllm-kainos { width: 100%; border-collapse: collapse; margin-top: var(--space-3); font-size: var(--fs-small); }
.mllm-kainos th, .mllm-kainos td { padding: var(--space-2) 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-juoda-300); }
.mllm-kainos thead th {
  font-family: var(--font-condensed); font-weight: var(--fw-semibold);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted);
}
.mllm-kainos tbody th { font-weight: var(--fw-regular); padding-right: var(--space-4); }
.mllm-kainos td { font-family: var(--font-accent); white-space: nowrap; text-align: right; }
/* 🪤 Ant šviesios Lankymo juostos (#F2F2FD) akcentas duoda 1.99:1 — neatitinka AA.
   Rašalas duoda 15:1, o nuoroda lieka atpažįstama dėl pabraukimo. */
.mllm-kainos td:last-child { color: var(--color-text); font-weight: var(--fw-semibold); }
.mllm-lankymas__more { margin-top: var(--space-3); font-size: var(--fs-small); }
.mllm-lankymas__more a { color: var(--color-text); text-decoration: underline; }
@media (max-width: 520px) { .mllm-kainos { font-size: var(--fs-small); } .mllm-kainos thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Darbuotojo puslapis be hero — kortelė pradeda turinį, tad reikia viršutinio tarpo. */
.mllm-article--staff { padding-top: var(--space-9); }


/* „Jums gali patikti" erdviu nuomos gale (Justina 2026-08-27). */
/* 🪤 Sekcija dazo TAMSU FONA, bet nenustato teksto spalvos - todel `color: inherit`
   mygtukuose paveldi kuno rasala ir jie dingsta. Kaimynine `.mllm-erdves` nustato
   IR fona, IR spalva; cia to truko (Justina: mygtukai nesimato). */
.mllm-related--erdves { padding-block: var(--space-9); background: var(--c-juoda-900); color: var(--c-juoda-100); }
.mllm-related--erdves .mllm-related__title { margin-bottom: var(--space-6); font-family: var(--font-accent); font-size: var(--fs-h1); color: var(--c-juoda-100); }
.mllm-related--erdves .mllm-related__list { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }

/* „Kultūros pasas" filtras edukaciju saraše (Tomo sprendimas 2026-09-01). */
/* Rasytoju kambariai (2026-09-08): keturi mygtukai i Unity WebGL zaidimus (/writers_rooms/). */
.mllm-kambariai { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); max-width: none; }

.mllm-eduarch__kp { display: inline-flex; align-items: center; gap: var(--space-2); cursor: pointer; color: var(--c-juoda-100); }
.mllm-eduarch__kp input { width: 18px; height: 18px; accent-color: var(--c-zalia); }


/* ═══ Justinos ruttl pastabos 2026-09-01 ═══════════════════════════════════
 * Keturios pataisos, kiekviena su IŠMATUOTA priežastimi (ne „atrodo blogai").
 * ═══════════════════════════════════════════════════════════════════════ */

/* 1) „Ar galima padaryto teksto bloko atitraukimą / tarpą (tiek čia, tiek
 *    kituose puslapiuose)? Jog tekstas būtų šiek tiek labiau atitrauktas nuo
 *    juodo pabaigos bloko".
 *    IŠMATUOTA: main apačia ir footerio viršus sutampa — tarpas 0 px.
 *    🪤 Bet pagrindinio puslapio PASKUTINIS vaikas yra `--tamsi` sekcija
 *    (rgb(0,0,0)); tarpas ten įterptų BALTĄ juostą tarp dviejų tamsių blokų.
 *    Todėl tarpas nuimamas, kai uodega jau tamsi. */
main.mllm-flow { padding-bottom: var(--space-9); }
main.mllm-flow:has( > *:last-child[class*="--tamsi"] ) { padding-bottom: 0; }

/* 2) „Išvalyti filtrus - juoda teksto spalva".
 *    IŠMATUOTA ties /parodos/?padalinys=sruogu: color rgb(20,21,28) ant fono
 *    rgb(20,21,28) ⇒ kontrastas 1.0 (nematoma). Priežastis: 803 eil. pataisa
 *    apribota `.mllm-eduarch`, o parodų/rinkinių archyvai NĖRA jo viduje.
 *    Taikom pačiai klasei — visos trys juostos yra tamsios. */
.mllm-eduarch__reset { color: var(--c-juoda-100); }

/* 3) „Skirtingi dydžiai filtrų" (parduotuvė).
 *    IŠMATUOTA: 64 px vs 56 px. 1157 eil. taisyklė `.woocommerce-ordering
 *    select` NEPRALAIMI specifiškumu — `.orderby` lieka 16 px, o temos select
 *    20.29 px. Pakeliam specifiškumą (`select.orderby`) ir sulyginam paddingą. */
.mllm-shop__filters .mllm-select select,
.mllm-shop__filters .woocommerce-ordering select.orderby {
  min-height: 4rem;
  font-size: var(--fs-body-big);
  padding: var(--space-3) var(--space-8) var(--space-3) var(--space-4);
}

/* Justina 2026-09-03: „gal nereiktu tos pirmosios galerijos nuotraukos iskeltos
 * sone (dabar nebera logikos buti isskirtai, kai didinasi individualiai /
 * karuseleje)". Parodu/rinkiniu galerijos -> tinklelis be didelio kadro;
 * padaliniu puslapiai (Figma maketas) hero islaiko. */
.mllm-galerija__stage--tinklelis { grid-template-columns: 1fr; }
.mllm-galerija__stage--tinklelis .mllm-galerija__thumbs { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .mllm-galerija__stage--tinklelis .mllm-galerija__thumbs { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px)  { .mllm-galerija__stage--tinklelis .mllm-galerija__thumbs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  { .mllm-galerija__stage--tinklelis .mllm-galerija__thumbs { grid-template-columns: repeat(2, 1fr); } }

/* Parodu kategoriju mygtukai (Justina 2026-09-03: „filtru kvadratiniai mygtukai
 * visoms 4 kategorijoms"). Kvadratiniai = staciakampiai be uzapvalinimo. */
/* Justina 2026-09-07 (ruttl): "Padaryti tarpa tarp filtu ir parodu irasu". */
.mllm-tipai { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); margin-bottom: var(--space-7); }
.mllm-tipai__btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); min-height: 44px; /* WCAG 2.5.8 */
  border: 1px solid var(--c-juoda-600); border-radius: 0;
  font-family: var(--font-condensed); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--c-juoda-900); text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mllm-tipai__btn:hover, .mllm-tipai__btn:focus-visible { background: var(--c-juoda-100); color: var(--c-juoda-900); }
/* Tamsi versija — TIK ten, kur sekcija tikrai tamsi (parodų archyvas .mllm-archive--tamsi).
   Numatytoji būsena yra ŠVIESI, nes balta yra svetainės numatytasis fonas: taip komponentą
   perpanaudojus naujoje vietoje blogiausiu atveju gauni per silpną, o ne NEMATOMĄ tekstą. */
.mllm-tipai--tamsi .mllm-tipai__btn { color: var(--c-juoda-100); }
.mllm-tipai--tamsi .mllm-tipai__btn:hover,
.mllm-tipai--tamsi .mllm-tipai__btn:focus-visible { background: var(--c-juoda-850); color: var(--c-juoda-100); }
.mllm-tipai__btn:focus-visible { outline: 2px solid var(--mllm-accent); outline-offset: 2px; }
.mllm-tipai__btn.is-aktyvus { background: var(--mllm-accent); color: var(--c-juoda-900); border-color: var(--mllm-accent); }
.mllm-tipai__sk { font-family: var(--font-accent); opacity: 0.7; font-size: 0.85em; }
.mllm-tipai__btn.is-aktyvus .mllm-tipai__sk { opacity: 0.75; }
@media (max-width: 520px) { .mllm-tipai__btn { padding-inline: var(--space-3); } }

/* ── Padalinių žemėlapis (blocks/zemelapis) ──
   Dark surface like the branch grid; rivers a deep blue, main roads a hair
   lighter than the ground; every pin and card takes its branch accent via
   [data-padalinys]. The card („pop") is CSS-only on hover / focus-within and
   is-open (tap) — no library, no tiles, nothing for the cookie gate to block. */
/* Tomas 2026-09-16: „map should have grey color background" — light grey ground, mid-grey streets, muted river. */
.mllm-zem { --zem-fonas: var(--c-juoda-200); --zem-gatves: var(--c-juoda-400); --zem-upes: color-mix(in srgb, var(--c-melyna) 32%, var(--c-juoda-200)); margin-block: var(--space-10); }
.mllm-zem__map { position: relative; background: var(--zem-fonas); overflow: visible; }
.mllm-zem__base { display: block; width: 100%; height: auto; }
.mllm-zem__pins { position: absolute; inset: 0; }
.mllm-zem__pin { position: absolute; width: 0; height: 0; }
.mllm-zem__pin-btn {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 50%;
}
.mllm-zem__pin-dot {
  position: absolute; inset: 50% auto auto 50%; width: 18px; height: 18px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--mllm-accent); border: 3px solid var(--color-surface);
  box-shadow: 0 0 0 2px var(--mllm-accent), 0 0 0 10px color-mix(in srgb, var(--mllm-accent) 22%, transparent);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mllm-zem__pin:hover .mllm-zem__pin-dot, .mllm-zem__pin:focus-within .mllm-zem__pin-dot,
.mllm-zem__pin.is-active .mllm-zem__pin-dot, .mllm-zem__pin.is-open .mllm-zem__pin-dot {
  transform: translate(-50%, -50%) scale(1.35);
  box-shadow: 0 0 0 2px var(--mllm-accent), 0 0 0 16px color-mix(in srgb, var(--mllm-accent) 30%, transparent);
}
.mllm-zem__pin:hover, .mllm-zem__pin:focus-within, .mllm-zem__pin.is-active, .mllm-zem__pin.is-open { z-index: 3; }
.mllm-zem__pop {
  position: absolute; left: 18px; top: 0; transform: translateY(-50%); width: 280px; max-width: 70vw;
  background: var(--c-juoda-100); color: var(--c-juoda-900); border-top: 4px solid var(--mllm-accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.mllm-zem__pin--kaire .mllm-zem__pop { left: auto; right: 18px; }
.mllm-zem__pin:hover .mllm-zem__pop, .mllm-zem__pin:focus-within .mllm-zem__pop,
.mllm-zem__pin.is-active .mllm-zem__pop, .mllm-zem__pin.is-open .mllm-zem__pop { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mllm-zem__pop-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mllm-zem__pop-body { display: grid; gap: var(--space-2); padding: var(--space-4); }
.mllm-zem__pop-title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); }
.mllm-zem__pop-adresas { font-size: var(--fs-small); color: var(--c-juoda-600); }
.mllm-zem__pop-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-1); font-family: var(--font-accent); font-size: var(--fs-small); }
.mllm-zem__pop-links a { color: inherit; text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* Branch cards under the map: accent bar, name, address. Hover lights the pin (JS). */
.mllm-zem__vietos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); list-style: none; margin: var(--space-6) 0 0; padding: 0; }
.mllm-zem__vieta {
  display: flex; gap: var(--space-4); align-items: flex-start; height: 100%; padding: var(--space-4) var(--space-5) var(--space-4) 0;
  border: 1px solid var(--color-border); border-left: 0; background: var(--color-surface); color: var(--color-text); text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mllm-zem__vieta-zyme { flex: 0 0 6px; align-self: stretch; background: var(--mllm-accent); }
.mllm-zem__vieta-tekstas { display: grid; gap: var(--space-1); }
.mllm-zem__vieta-tekstas strong { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); }
.mllm-zem__vieta-tekstas span { font-size: var(--fs-small); color: var(--color-text-muted); }
.mllm-zem__vieta:hover, .mllm-zem__vieta:focus-visible, .mllm-zem__vieta.is-active { border-color: var(--mllm-accent); transform: translateY(-2px); }
.mllm-zem__vieta:hover strong { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 900px) { .mllm-zem__vietos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .mllm-zem__vietos { grid-template-columns: 1fr; }
  .mllm-zem__pop { width: 220px; }
  .mllm-zem__pop-img { display: none; }
  .mllm-zem__map { overflow: hidden; }
  .mllm-zem__pin:hover, .mllm-zem__pin:focus-within, .mllm-zem__pin.is-active, .mllm-zem__pin.is-open { overflow: visible; }
}
@media (hover: none) { .mllm-zem__pin:hover:not(.is-open) .mllm-zem__pop { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ── „Informacija" puslapiai (inc/informacija.php) ──
   Title + prose in a reading measure, family navigation in a sticky sidebar
   with the current page's own sections indented under it. */
.mllm-info { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-10); align-items: start; padding-block: var(--space-9) var(--space-12); }
.mllm-info__nav { position: sticky; top: var(--space-6); }
.mllm-info__nav-title { margin: 0 0 var(--space-3); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body); letter-spacing: 0.02em; }
.mllm-info__list, .mllm-info__anchors { list-style: none; margin: 0; padding: 0; }
.mllm-info__list { border-top: 1px solid var(--color-border); }
.mllm-info__item { border-bottom: 1px solid var(--color-border); }
.mllm-info__item > a { display: block; padding: var(--space-3) var(--space-3); color: var(--color-text); text-decoration: none; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body); border-left: 3px solid transparent; }
.mllm-info__item > a:hover { border-left-color: var(--color-border); background: var(--color-surface-alt); }
.mllm-info__item.is-current > a { border-left-color: var(--mllm-accent); background: var(--color-surface-alt); }
.mllm-info__anchors { padding: 0 0 var(--space-2) var(--space-6); background: var(--color-surface-alt); }
.mllm-info__anchors a { display: block; padding: var(--space-1) var(--space-3) var(--space-1) 0; font-size: var(--fs-small); color: var(--color-text-muted); text-decoration: none; }
.mllm-info__anchors a:hover { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-info__title { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: clamp(1.75rem, 4.5vw, 3rem); line-height: var(--lh-heading); color: var(--color-text); margin: 0 0 var(--space-7); }
.mllm-info__content { max-width: 780px; }
.mllm-info__content h2 { padding-top: var(--space-3); border-top: 3px solid var(--mllm-accent); scroll-margin-top: var(--space-6); }
.mllm-info__content h3 { scroll-margin-top: var(--space-6); }
/* Document and external-source links read as rows, not as shouting bold sentences. */
.mllm-info__content a[href$=".pdf"]:not(.tbt-docs-section *), .mllm-info__content a[href$=".docx"]:not(.tbt-docs-section *), .mllm-info__content a[href$=".doc"]:not(.tbt-docs-section *), .mllm-info__content a[href$=".xlsx"]:not(.tbt-docs-section *) {
  display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); margin-block: var(--space-2);
  border: 1px solid var(--color-border); border-left: 4px solid var(--mllm-accent); background: var(--color-surface);
  font-family: var(--font-body); font-weight: var(--fw-regular); font-size: var(--fs-body); text-transform: none; text-decoration: none; letter-spacing: 0; line-height: var(--lh-body);
}
.mllm-info__content a[href$=".pdf"]:not(.tbt-docs-section *)::before, .mllm-info__content a[href$=".docx"]:not(.tbt-docs-section *)::before, .mllm-info__content a[href$=".doc"]:not(.tbt-docs-section *)::before, .mllm-info__content a[href$=".xlsx"]:not(.tbt-docs-section *)::before {
  content: "PDF"; flex: 0 0 auto; padding: 2px 6px; font-family: var(--font-accent); font-size: var(--fs-small-accent); font-weight: var(--fw-bold); background: var(--c-juoda-900); color: var(--c-juoda-100);
}
.mllm-info__content a[href$=".docx"]:not(.tbt-docs-section *)::before, .mllm-info__content a[href$=".doc"]:not(.tbt-docs-section *)::before { content: "DOC"; }
.mllm-info__content a[href$=".xlsx"]:not(.tbt-docs-section *)::before { content: "XLS"; }
.mllm-info__content a[href$=".pdf"]:not(.tbt-docs-section *):hover, .mllm-info__content a[href$=".docx"]:not(.tbt-docs-section *):hover { border-color: var(--mllm-accent); background: var(--color-surface-alt); }
.mllm-info__content strong > a[href$=".pdf"], .mllm-info__content strong > a[href$=".docx"] { font-weight: var(--fw-regular); }
.mllm-info__content a[target="_blank"]:not(.tbt-docs-section *):not([href$=".pdf"]):not([href$=".docx"])::after { content: " \2197"; font-size: 0.8em; text-decoration: none; }
.mllm-info__content p { margin: 0; }
.mllm-info__content p + p, .mllm-info__content ul + p, .mllm-info__content p + ul { margin-top: var(--space-4); }
.mllm-info__content hr { margin-block: var(--space-7); }
/* Link cards (Veiklos sritys): title + one line + arrow; a grid, not an accordion of links. */
.mllm-nuorodos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); list-style: none; margin: var(--space-6) 0; padding: 0; }
.mllm-nuorodos__karta { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; padding: var(--space-5); border: 1px solid var(--color-border); border-top: 4px solid var(--mllm-accent); color: var(--color-text); text-decoration: none; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.mllm-nuorodos__karta:hover, .mllm-nuorodos__karta:focus-visible { transform: translateY(-3px); border-color: var(--mllm-accent); }
.mllm-nuorodos__karta strong { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: var(--lh-heading); }
.mllm-nuorodos__karta span { font-size: var(--fs-body); color: var(--color-text-muted); }
.mllm-nuorodos__karta em { margin-top: auto; padding-top: var(--space-3); font-style: normal; font-family: var(--font-accent); font-size: var(--fs-small); }
.mllm-nuorodos__karta:hover em { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-nuorodos__karta--neaktyvi { opacity: 0.6; pointer-events: none; }
.mllm-info__content a.mllm-nuorodos__karta { text-decoration: none; }
@media (max-width: 900px) {
  .mllm-info { grid-template-columns: 1fr; gap: var(--space-7); }
  .mllm-info__nav { position: static; }
  .mllm-info__anchors { display: none; }
}
@media (max-width: 560px) { .mllm-nuorodos { grid-template-columns: minmax(0, 1fr); } }

/* ── Projektai pagal metus (blocks/projektai) ── */
.mllm-projektai { margin-block: var(--space-7) var(--space-10); }
.mllm-projektai__metai { border-top: 1px solid var(--color-border); }
.mllm-projektai__metai:last-child { border-bottom: 1px solid var(--color-border); }
.mllm-projektai__santrauka { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; cursor: pointer; list-style: none; }
.mllm-projektai__santrauka::-webkit-details-marker { display: none; }
.mllm-projektai__metai-nr { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--color-text); }
.mllm-projektai__kiekis { font-family: var(--font-condensed); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-projektai__rodykle { margin-left: auto; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: 50%; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.mllm-projektai__rodykle svg { width: 18px; height: 18px; }
.mllm-projektai__metai[open] > .mllm-projektai__santrauka .mllm-projektai__rodykle { transform: rotate(180deg); background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-projektai__santrauka:hover .mllm-projektai__rodykle { border-color: var(--color-text); }
.mllm-projektai__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); list-style: none; margin: 0 0 var(--space-7); padding: 0; }
.mllm-projektai__korta { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); background: var(--color-surface-alt); border-top: 3px solid var(--mllm-accent); }
.mllm-projektai__pavadinimas { margin: 0; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); color: var(--color-text); letter-spacing: 0.02em; }
.mllm-projektai__aprasas { margin: 0; font-size: var(--fs-small); line-height: var(--lh-body); color: var(--color-text-muted); }
.mllm-projektai__meta { display: grid; gap: var(--space-2); margin: auto 0 0; padding-top: var(--space-3); border-top: 1px solid var(--color-border); font-size: var(--fs-small); }
.mllm-projektai__meta div { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-2); }
.mllm-projektai__meta dt { font-family: var(--font-condensed); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--fs-small-accent); color: var(--color-text-muted); }
.mllm-projektai__meta dd { margin: 0; color: var(--color-text); }
.mllm-projektai__daugiau { display: inline-flex; align-items: center; gap: var(--space-2); align-self: flex-start; margin-top: var(--space-2); font-family: var(--font-accent); font-size: var(--fs-small); color: var(--color-text); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-projektai__daugiau svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .mllm-projektai__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mllm-projektai__grid { grid-template-columns: 1fr; } .mllm-projektai__meta div { grid-template-columns: 1fr; gap: 0; } }

/* ── Lankymo informacija: shortcode components (inc/lankymas.php) ──
   Sections on the page are plain h2 + shortcode; each component spans the
   wide container so the page reads as a set of panels, not one column. */
/* Same measure as .mllm-page-title (content-max + gutter) so every section edge lines up with the title. */
.mllm-flow > .mllm-dl, .mllm-flow > .mllm-kainos-kortos, .mllm-flow > .mllm-kainos-bendros, .mllm-flow > .mllm-lengvatos, .mllm-flow > .mllm-nuorodos, .mllm-flow > .mllm-lankymas-ivadas { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.mllm-flow > .mllm-lankymas-h2 { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); margin-top: var(--space-10); margin-bottom: var(--space-5); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--color-text); }
.mllm-flow > .mllm-lankymas-ivadas { font-size: var(--fs-body-big); }
.mllm-lankymas-ivadas p { max-width: 70ch; }
/* Visitor notes under the branch cards: one bordered note, not two loose paragraphs. */
.mllm-flow > .mllm-lankymas-ivadas--pastaba { max-width: var(--content-max); margin-top: var(--space-6); }
.mllm-lankymas-ivadas--pastaba .mllm-lankymas-pastaba { padding: var(--space-5); background: var(--color-surface-alt); border-left: 4px solid var(--mllm-accent); font-size: var(--fs-body); }
.mllm-lankymas-pastaba p { max-width: none; margin-bottom: var(--space-3); }
.mllm-lankymas-pastaba p:last-child { margin-bottom: 0; }
/* Tickets intro: buy-online CTA left, gift-voucher card right — both in one row. */
.mllm-lankymas-veiksmai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); align-items: stretch; margin-bottom: var(--space-6); }
.mllm-lankymas-veiksmai__cta, .mllm-lankymas-veiksmai__kuponas { display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); padding: var(--space-5); border: 1px solid var(--color-border); }
.mllm-lankymas-veiksmai__cta { border-top: 4px solid var(--mllm-accent); }
.mllm-lankymas-veiksmai__cta p, .mllm-lankymas-veiksmai__kuponas p { margin: 0; max-width: none; font-size: var(--fs-body); }
.mllm-lankymas-veiksmai__cta .btn { align-self: flex-start; }
.mllm-lankymas-veiksmai__h { margin: 0; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: var(--lh-heading); }
.mllm-lankymas-veiksmai__dok { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-left: 4px solid var(--mllm-accent); color: var(--color-text); font-size: var(--fs-body); text-decoration: none; }
.mllm-lankymas-veiksmai__dok::before { content: "PDF"; flex: 0 0 auto; padding: 2px 6px; font-family: var(--font-accent); font-size: var(--fs-small-accent); font-weight: var(--fw-bold); background: var(--c-juoda-900); color: var(--c-juoda-100); }
.mllm-lankymas-veiksmai__dok:hover { background: var(--color-surface-alt); }
/* Darbo laikas: six cards, clock icon, branch accent bar. */
.mllm-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); list-style: none; margin: 0 auto; padding-block: 0; }
.mllm-dl__korta { display: flex; gap: var(--space-4); padding: var(--space-5); background: var(--color-surface-alt); border-left: 4px solid var(--mllm-accent); }
.mllm-dl__ico { flex: 0 0 auto; display: inline-flex; color: var(--mllm-accent); }
.mllm-dl__ico svg { width: 28px; height: 28px; }
.mllm-dl__body { display: grid; gap: var(--space-2); }
.mllm-dl__pav { margin: 0; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); }
.mllm-dl__pav a { color: inherit; text-decoration: none; }
.mllm-dl__pav a:hover { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-dl__laikas { margin: 0; font-family: var(--font-accent); font-size: var(--fs-body); line-height: 1.6; color: var(--color-text); }
.mllm-dl__adresas { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; font-size: var(--fs-small); color: var(--color-text-muted); }
.mllm-dl__adresas svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; }
/* Bilietų kainos: one card per branch (accent bar), shared tables, lengvatos in two columns. */
.mllm-kainos-kortos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); list-style: none; margin: 0 auto; }
.mllm-kainos-korta { padding: var(--space-5); border: 1px solid var(--color-border); border-top: 4px solid var(--mllm-accent); }
.mllm-kainos-korta__pav { margin: 0 0 var(--space-4); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: var(--lh-heading); }
.mllm-kainos-korta__pav a { color: inherit; text-decoration: none; }
.mllm-kainos-korta__pav a:hover { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* Price rows: name left, labelled price pills right — no table. */
.mllm-kainu-sarasas { list-style: none; margin: 0; padding: 0; }
.mllm-kaina { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.mllm-kaina:first-child { border-top: 0; }
.mllm-kaina__pav { flex: 1 1 auto; font-size: var(--fs-body); line-height: var(--lh-body); }
.mllm-kaina__kainos { flex: 0 0 auto; display: flex; gap: var(--space-2); }
.mllm-kaina__k { display: inline-flex; flex-direction: column; align-items: flex-end; min-width: 92px; padding: var(--space-1) var(--space-3); background: var(--color-surface-alt); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body); white-space: nowrap; }
.mllm-kaina__k small { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-kaina__k--nuolaida { background: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-kaina__k--nuolaida small { color: var(--mllm-on-accent); opacity: 0.8; }
/* Shared tables: service name, then the same labelled pills as branch cards, then one muted note (parsed in PHP). */
.mllm-kainos-bendros .mllm-kaina { flex-direction: column; align-items: stretch; gap: var(--space-2); }
.mllm-kainos-bendros .mllm-kaina__kainos { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.mllm-kainos-bendros .mllm-kaina__k { align-items: flex-start; text-align: left; }
.mllm-kaina__k small { white-space: normal; }
.mllm-kaina__k--tekstas { font-family: var(--font-body); font-weight: var(--fw-regular); white-space: normal; }
.mllm-kaina__pastaba { display: block; font-size: var(--fs-small); line-height: var(--lh-body); color: var(--color-text-muted); }
.mllm-kaina__kainos { min-width: 0; }
.mllm-kainos-bendros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-8); margin-top: var(--space-6); }
.mllm-kainos-blokas__h3 { margin: 0 0 var(--space-3); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); }
/* Row headers are service names, not labels — they must wrap (base rule says nowrap for column heads). */
.mllm-kainos tbody th { white-space: normal; font-weight: var(--fw-regular); background: transparent; }
.mllm-lengvatos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-6); font-size: var(--fs-body); }
.mllm-lengvatos__blokas { padding: var(--space-5); background: var(--color-surface-alt); border-left: 4px solid var(--mllm-accent); }
.mllm-lengvatos__blokas > :last-child { margin-bottom: 0; }
.mllm-lengvatos p { max-width: none; }
.mllm-lengvatos p > strong:only-child, .mllm-lengvatos p strong:first-child { display: block; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: var(--lh-heading); margin-bottom: var(--space-2); }
.mllm-lengvatos ul { padding-left: 1.1em; margin-bottom: var(--space-4); }
.mllm-lengvatos li { margin-bottom: var(--space-2); }
.mllm-lengvatos li::marker { color: var(--mllm-accent); }
@media (max-width: 900px) { .mllm-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mllm-kainos-kortos, .mllm-kainos-bendros, .mllm-lengvatos, .mllm-lankymas-veiksmai { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .mllm-dl { grid-template-columns: minmax(0, 1fr); } .mllm-kaina { flex-direction: column; align-items: stretch; } .mllm-kaina__kainos { justify-content: flex-start; } .mllm-kaina__k { align-items: flex-start; } }
.mllm-nuorodos--trys { grid-template-columns: repeat(3, 1fr); }
.mllm-nuorodos--keturios { grid-template-columns: repeat(4, 1fr); }
.mllm-nuorodos__karta b { font-weight: var(--fw-semibold); color: var(--color-text); }
.mllm-nuorodos__karta > span > span { display: block; }
@media (max-width: 900px) { .mllm-nuorodos--trys, .mllm-nuorodos--keturios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mllm-nuorodos--trys, .mllm-nuorodos--keturios { grid-template-columns: minmax(0, 1fr); } }

/* ── Cart toast (single product, after AJAX add) ── */
.mllm-krepselis-toast { position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: 1200; width: min(420px, calc(100vw - 2 * var(--space-5))); background: var(--c-juoda-900); color: var(--c-juoda-100); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); border-top: 4px solid var(--mllm-accent); }
.mllm-krepselis-toast__inner { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-5) var(--space-5) var(--space-3); }
.mllm-krepselis-toast__ico { flex: 0 0 auto; color: var(--mllm-accent); }
.mllm-krepselis-toast__ico svg { width: 28px; height: 28px; }
.mllm-krepselis-toast__body { display: grid; gap: 2px; flex: 1 1 auto; }
.mllm-krepselis-toast__title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); }
.mllm-krepselis-toast__preke { font-size: var(--fs-body); }
.mllm-krepselis-toast__kiekis { font-family: var(--font-accent); font-size: var(--fs-small); color: var(--c-juoda-300); }
.mllm-krepselis-toast__close { flex: 0 0 auto; width: 32px; height: 32px; border: 0; background: transparent; color: var(--c-juoda-300); font-size: 24px; line-height: 1; cursor: pointer; }
.mllm-krepselis-toast__close:hover { color: var(--c-juoda-100); }
.mllm-krepselis-toast__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0 var(--space-5) var(--space-5); }
.mllm-krepselis-toast__actions .btn { font-size: var(--fs-small); padding: var(--space-2) var(--space-4); }
.mllm-krepselis-toast__actions .btn--outlined, .mllm-krepselis-toast__actions .btn--linijinis { color: var(--c-juoda-100); border-color: var(--c-juoda-300); }
.mllm-header__cart-count.is-pulse { animation: mllm-pulse 0.7s var(--ease); }
@keyframes mllm-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.5); } 100% { transform: scale(1); } }
.single_add_to_cart_button.is-loading { opacity: 0.6; cursor: progress; }
@media (max-width: 560px) { .mllm-krepselis-toast { right: var(--space-3); left: var(--space-3); bottom: var(--space-3); width: auto; } }

/* ── Paieškos rezultatai (search.php + tobalt-search mu-plugin) ── */
.mllm-paieska { padding-block: var(--space-6) var(--space-12); }
.mllm-paieska__title { margin-top: var(--space-6); }
.mllm-paieska__form { display: flex; gap: var(--space-3); max-width: 640px; margin-bottom: var(--space-4); }
.mllm-paieska__form input[type="search"] { flex: 1 1 auto; min-width: 0; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); font-family: var(--font-body); font-size: var(--fs-body); }
.mllm-paieska__count { margin: 0 0 var(--space-3); font-family: var(--font-condensed); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
/* Mu-plugin chips, re-skinned to the museum palette (its own CSS sets claret defaults via custom properties). */
.mllm-paieska .tobalt-search-chips { --tobalt-chip-bg: var(--color-surface); --tobalt-chip-fg: var(--color-text); --tobalt-chip-border: var(--color-border); --tobalt-chip-active-bg: var(--c-juoda-900); --tobalt-chip-active-fg: var(--c-juoda-100); margin: 0 0 var(--space-7); }
html body .mllm-paieska .tobalt-search-chip { border-radius: 0 !important; font-family: var(--font-condensed) !important; font-weight: var(--fw-semibold) !important; }
html body .mllm-paieska .tobalt-search-chip.is-active:hover { background: var(--c-juoda-850) !important; border-color: var(--c-juoda-850) !important; }
.mllm-paieska__list { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.mllm-paieska__item { padding: var(--space-5) 0; border-top: 1px solid var(--color-border); }
.mllm-paieska__item:last-child { border-bottom: 1px solid var(--color-border); }
.mllm-paieska__tipas { display: inline-block; margin-bottom: var(--space-2); padding: 2px var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.04em; background: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-paieska__h2 { margin: 0 0 var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: var(--lh-heading); }
.mllm-paieska__h2 a { color: var(--color-text); text-decoration: none; }
.mllm-paieska__h2 a:hover { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-paieska__istrauka { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text); }
.mllm-paieska__istrauka p { margin: 0; max-width: none; }
.mllm-paieska__istrauka strong, .mllm-paieska__istrauka mark { background: color-mix(in srgb, var(--mllm-accent) 35%, transparent); font-weight: var(--fw-semibold); }
.mllm-paieska__meta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-2) 0 0; font-family: var(--font-condensed); font-size: var(--fs-small); color: var(--color-text-muted); }
/* Empty state (mu-plugin markup). Its own CSS is scoped to body.search-results, which
   WordPress never sets on a zero-hit search (that body class is search-no-results). */
.mllm-paieska .tobalt-search-empty { max-width: 820px; margin: 0; padding: var(--space-8); background: var(--color-surface-alt); border-left: 4px solid var(--mllm-accent); }
.mllm-paieska .tobalt-search-empty__msg { margin: 0 0 var(--space-4); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: var(--lh-heading); color: var(--color-text); max-width: none; }
.mllm-paieska .tobalt-search-empty__msg strong { font-weight: var(--fw-bold); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.mllm-paieska .tobalt-search-empty__hint { margin: 0 0 var(--space-5); }
.mllm-paieska .tobalt-search-empty__hint a { display: inline-block; padding: var(--space-2) var(--space-5); border: 1.5px solid var(--color-text); color: var(--color-text); font-family: var(--font-accent); font-size: var(--fs-small); text-decoration: none; }
.mllm-paieska .tobalt-search-empty__hint a:hover { background: var(--color-text); color: var(--c-juoda-100); }
.mllm-paieska .tobalt-search-empty__heading { margin: var(--space-6) 0 var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-paieska .tobalt-search-empty__list { list-style: none; margin: 0; padding: 0; }
.mllm-paieska .tobalt-search-empty__list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.mllm-paieska .tobalt-search-empty__list a { flex: 1 1 auto; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); color: var(--color-text); text-decoration: none; }
.mllm-paieska .tobalt-search-empty__list a:hover { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-paieska .tobalt-search-empty__type { flex: 0 0 auto; padding: 2px var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.04em; background: var(--c-juoda-900); color: var(--c-juoda-100); }
@media (max-width: 560px) { .mllm-paieska .tobalt-search-empty { padding: var(--space-5); } .mllm-paieska .tobalt-search-empty__list li { flex-direction: column; align-items: flex-start; gap: var(--space-1); } }
html body .mllm-paieska .mllm-pagination .page-numbers.current { background: var(--mllm-accent) !important; border-color: var(--mllm-accent) !important; color: var(--mllm-on-accent) !important; }

/* ── Rėmėjai ir partneriai: uniform logo wall ── */
.mllm-flow > .mllm-partneriai { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.mllm-partneriai { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); list-style: none; margin: 0 auto var(--space-10); padding: 0; }
.mllm-partneriai__karta { display: flex; align-items: center; justify-content: center; height: 150px; padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); text-decoration: none; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.mllm-partneriai__karta img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.mllm-partneriai__karta--tekstas span { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h3); color: var(--color-text); text-align: center; }
.mllm-partneriai__karta:hover, .mllm-partneriai__karta:focus-visible { border-color: var(--mllm-accent); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 21, 28, 0.10); }
@media (max-width: 900px) { .mllm-partneriai { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mllm-partneriai { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mllm-partneriai__karta { height: 110px; padding: var(--space-3); } }

/* ── Savanorystė ir praktika ── */
.mllm-flow > .mllm-savanoryste__ivadas { margin-top: var(--space-9); margin-bottom: var(--space-6); }
.mllm-savanoryste__lead { font-family: var(--font-accent); font-size: var(--fs-body-big-accent); line-height: var(--lh-body); max-width: 60ch; }
.mllm-savanoryste__kortos .mllm-nuorodos__karta { padding: var(--space-6); }
.mllm-savanoryste__kortos .mllm-nuorodos__karta strong { font-size: var(--fs-h1); font-family: var(--font-accent); font-weight: var(--fw-bold); }
.mllm-savanoryste__kortos .mllm-nuorodos__karta > span > span { color: var(--color-text); font-size: var(--fs-body-big); }
.mllm-flow > .mllm-savanoryste__cta { max-width: var(--content-max); margin: var(--space-9) auto var(--space-12); padding-inline: var(--gutter); }
.mllm-savanoryste__cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-8); padding: var(--space-8); background: var(--c-juoda-900); color: var(--c-juoda-100); border-left: 6px solid var(--mllm-accent); }
.mllm-savanoryste__cta-text { margin: 0; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); }
.mllm-savanoryste__cta-btn { font-size: var(--fs-body-big); max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.mllm-savanoryste__cta-inner > * { min-width: 0; }

/* ── Susisiekite: form band under the contact card, above the map ── */
.mllm-forma { padding-block: var(--space-10); background: var(--color-surface-alt); }
.mllm-forma__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-10); align-items: start; }
.mllm-forma__title { margin: 0 0 var(--space-4); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--color-text); }
.mllm-forma__intro p { font-size: var(--fs-body-big); max-width: 40ch; }
.mllm-forma .wpcf7 form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4) var(--space-5); }
.mllm-forma .wpcf7 form > p { margin: 0; max-width: none; }
.mllm-forma .wpcf7 form > p:nth-of-type(n+3) { grid-column: 1 / -1; } /* CF7 puts a hidden div first, so count paragraphs, not children */
.mllm-forma .wpcf7 label { display: block; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-forma .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: var(--space-2); }
.mllm-forma .wpcf7 input[type="text"], .mllm-forma .wpcf7 input[type="email"], .mllm-forma .wpcf7 textarea { width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); background: var(--color-surface); font-family: var(--font-body); font-size: var(--fs-body); color: var(--color-text); }
.mllm-forma .wpcf7 textarea { min-height: 180px; resize: vertical; }
.mllm-forma .wpcf7 input:focus-visible, .mllm-forma .wpcf7 textarea:focus-visible { border-color: var(--color-text); outline: var(--focus-ring); outline-offset: var(--focus-offset); }
.mllm-forma .wpcf7 .wpcf7-acceptance label { display: flex; gap: var(--space-3); align-items: flex-start; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: var(--fw-regular); font-size: var(--fs-body); color: var(--color-text); }
.mllm-forma .wpcf7 .wpcf7-acceptance input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--mllm-accent); }
.mllm-forma .wpcf7 input[type="submit"] { min-height: 48px; padding: var(--space-3) var(--space-8); border: 0; background: var(--mllm-accent); color: var(--mllm-on-accent); font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--fs-body); cursor: pointer; }
.mllm-forma .wpcf7 input[type="submit"]:hover { filter: brightness(0.92); }
.mllm-forma .wpcf7 .wpcf7-spinner { margin-left: var(--space-3); }
.mllm-forma .wpcf7 .wpcf7-not-valid-tip { display: block; margin-top: var(--space-1); font-size: var(--fs-small); color: var(--c-raudona); }
.mllm-forma .wpcf7 .wpcf7-response-output { grid-column: 1 / -1; margin: 0; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); }
@media (max-width: 900px) { .mllm-forma__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .mllm-forma .wpcf7 form { grid-template-columns: minmax(0, 1fr); } .mllm-forma .wpcf7 form > p { grid-column: auto; } }

/* ── Laiko juosta (blocks/laiko-juosta) ──
   Desktop: [date 160px] [line] [text]; hover/focus on an entry lights its date and
   marker. Mobile: line on the left, date above the text. Pure CSS. */
.mllm-lj { padding-block: var(--space-8) var(--space-10); }
.mllm-lj__title { margin: 0 0 var(--space-7); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); color: var(--color-text); }
.mllm-lj__list { --lj-col: 160px; --lj-gap: var(--space-8); position: relative; list-style: none; margin: 0; padding: 0; }
.mllm-lj__list::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--lj-col) + var(--lj-gap)); width: 2px; background: var(--color-border); }
.mllm-lj__item { position: relative; display: grid; grid-template-columns: var(--lj-col) minmax(0, 1fr); gap: 0 calc(var(--lj-gap) * 2 + 2px); padding: var(--space-3) 0 var(--space-7); outline: none; }
.mllm-lj__item:last-child { padding-bottom: var(--space-2); }
.mllm-lj__data { align-self: start; justify-self: end; text-align: right; font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: 1.2; color: var(--color-text-muted); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.mllm-lj__zyme { position: absolute; top: calc(var(--space-3) + 0.45em); left: calc(var(--lj-col) + var(--lj-gap) + 1px); width: 16px; height: 16px; transform: translate(-50%, 0); border-radius: 50%; background: var(--color-surface); border: 3px solid var(--color-border); box-shadow: 0 0 0 0 color-mix(in srgb, var(--mllm-accent) 30%, transparent); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.mllm-lj__body { max-width: 68ch; padding-top: 0.15em; }
.mllm-lj__h3 { margin: 0 0 var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); color: var(--color-text); }
.mllm-lj__tekstas { font-size: var(--fs-body-big); line-height: var(--lh-body); color: var(--color-text); }
.mllm-lj__tekstas p { max-width: none; margin: 0 0 var(--space-3); }
.mllm-lj__tekstas > :last-child { margin-bottom: 0; }
.mllm-lj__item:hover .mllm-lj__data, .mllm-lj__item:focus-visible .mllm-lj__data, .mllm-lj__data:hover { color: var(--color-text); transform: translateX(-4px); }
.mllm-lj__item:hover .mllm-lj__zyme, .mllm-lj__item:focus-visible .mllm-lj__zyme { border-color: var(--mllm-accent); background: var(--mllm-accent); transform: translate(-50%, 0) scale(1.35); box-shadow: 0 0 0 10px color-mix(in srgb, var(--mllm-accent) 25%, transparent); }
.mllm-lj__item:focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); }
@media (max-width: 700px) {
  .mllm-lj__list { --lj-col: 0px; --lj-gap: var(--space-3); }
  .mllm-lj__list::before { left: 7px; }
  .mllm-lj__item { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); padding-left: var(--space-7); }
  .mllm-lj__data { justify-self: start; text-align: left; }
  .mllm-lj__zyme { left: 8px; top: calc(var(--space-3) + 0.35em); }
  .mllm-lj__item:hover .mllm-lj__data { transform: none; }
}

/* ── Padalinių lankymo kortelės ([mllm_padaliniai_lankymas]) ──
   One card per branch; prices and last-Sunday rules fold out INSIDE the card. */
.mllm-flow > .mllm-pl { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.mllm-pl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); list-style: none; margin: 0 auto; }
.mllm-pl__korta { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid var(--color-border); border-top: 5px solid var(--mllm-accent); }
.mllm-pl__head { padding: var(--space-5) var(--space-5) var(--space-3); }
.mllm-pl__pav { margin: 0 0 var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: var(--lh-heading); }
.mllm-pl__pav a { color: inherit; text-decoration: none; }
.mllm-pl__pav a:hover { text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-pl__adresas { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; font-size: var(--fs-small); color: var(--color-text-muted); }
.mllm-pl__adresas svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; }
.mllm-pl__laikas { display: flex; gap: var(--space-3); align-items: flex-start; margin: 0 var(--space-5) var(--space-4); padding: var(--space-4); background: var(--color-surface-alt); }
.mllm-pl__laikas > svg { flex: 0 0 auto; width: 24px; height: 24px; color: var(--mllm-accent); }
.mllm-pl__laikas p { margin: 0; font-family: var(--font-accent); font-size: var(--fs-body); line-height: 1.6; }
.mllm-pl__label { display: block; margin-bottom: 2px; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-pl__skiltis { border-top: 1px solid var(--color-border); }
.mllm-pl__santrauka { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-5); cursor: pointer; list-style: none; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body); color: var(--color-text); }
.mllm-pl__santrauka::-webkit-details-marker { display: none; }
.mllm-pl__santrauka::marker { content: ""; }
.mllm-pl__santrauka:hover { background: var(--color-surface-alt); }
.mllm-pl__rodykle { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: 50%; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.mllm-pl__rodykle svg { width: 14px; height: 14px; }
.mllm-pl__skiltis[open] > .mllm-pl__santrauka .mllm-pl__rodykle { transform: rotate(180deg); background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-pl__skiltis > .mllm-kainu-sarasas, .mllm-pl__skiltis > .mllm-pl__tekstas { padding: 0 var(--space-5) var(--space-4); }
.mllm-pl__skiltis .mllm-kaina { padding: var(--space-2) 0; }
.mllm-pl__skiltis .mllm-kaina__pav { font-size: var(--fs-small); }
.mllm-pl__skiltis .mllm-kaina__k { min-width: 84px; font-size: var(--fs-small); }
.mllm-pl__tekstas { font-size: var(--fs-body); }
.mllm-pl__tekstas p { max-width: none; }
.mllm-pl__tekstas > * + * { margin-top: var(--space-2); }
@media (max-width: 820px) { .mllm-pl { grid-template-columns: minmax(0, 1fr); } }

/* ── Lengvai suprantama kalba: big type, one sentence per line, generous spacing ── */
.mllm-flow > .mllm-lsk { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.mllm-lsk { max-width: 1000px; margin-bottom: var(--space-12); font-family: var(--font-body); font-size: 1.375rem; line-height: 1.7; color: var(--color-text); }
.mllm-lsk__ivadas { max-width: none; margin-bottom: var(--space-6); }
.mllm-lsk__turinys { margin-bottom: var(--space-9); padding: var(--space-5); background: var(--color-surface-alt); border-left: 4px solid var(--mllm-accent); }
.mllm-lsk__turinys ol { margin: 0; padding-left: 1.4em; }
.mllm-lsk__turinys li { margin: var(--space-1) 0; }
.mllm-lsk__turinys a { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mllm-lsk__skyrius { padding-top: var(--space-6); margin-top: var(--space-9); border-top: 3px solid var(--mllm-accent); scroll-margin-top: var(--space-6); }
.mllm-lsk__skyrius h2 { margin: 0 0 var(--space-6); font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 2rem; line-height: 1.3; color: var(--color-text); }
.mllm-lsk__skyrius h3 { margin: var(--space-8) 0 var(--space-4); font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 1.5rem; line-height: 1.35; color: var(--color-text); }
.mllm-lsk__skyrius p { max-width: none; margin: 0 0 var(--space-5); }
.mllm-lsk__skyrius ul { margin: 0 0 var(--space-5); padding-left: 1.4em; }
.mllm-lsk__skyrius li { margin: var(--space-2) 0; }
.mllm-lsk__skyrius li::marker { color: var(--mllm-accent); }
.mllm-lsk__kontaktas { padding: var(--space-3) var(--space-4); background: var(--color-surface-alt); margin-bottom: var(--space-2) !important; }
/* One block = one thought: text left, its picture right (as in the printed version). */
.mllm-lsk__blokas { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding: var(--space-5) 0; border-top: 1px solid var(--color-border); }
.mllm-lsk__blokas:first-of-type { border-top: 0; }
.mllm-lsk__blokas--su-foto { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.mllm-lsk__tekstas > :last-child { margin-bottom: 0 !important; }
.mllm-lsk__foto { display: grid; gap: var(--space-3); }
.mllm-lsk__foto img { display: block; width: 100%; height: auto; border-radius: 4px; }
.mllm-lsk__pdf { margin-top: var(--space-7); font-size: 1.125rem; color: var(--color-text-muted); }
.mllm-lsk__pdf a { color: var(--color-text); }
@media (max-width: 700px) { .mllm-lsk__blokas--su-foto { grid-template-columns: minmax(0, 1fr); } .mllm-lsk__foto { order: -1; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mllm-lsk { font-size: 1.25rem; } .mllm-lsk__skyrius h2 { font-size: 1.6rem; } }

/* ── Paroda: title band + slideshow + text/meta ── */
.mllm-paroda__juosta { background: var(--c-juoda-900); color: var(--c-juoda-100); padding-block: var(--space-8) var(--space-7); }
.mllm-paroda__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); }
.mllm-paroda__chips .mllm-chip { text-decoration: none; }
.mllm-paroda__chips .mllm-chip:hover { background: var(--c-juoda-100); color: var(--c-juoda-900); }
.mllm-paroda__title { margin: 0; font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: clamp(1.75rem, 4.5vw, 3rem); line-height: var(--lh-heading); color: var(--c-juoda-100); max-width: 24ch; }
/* Slideshow: 16:9 stage, snap track, arrows on the stage, counter bottom-right, thumbs below. */
.mllm-slides { background: var(--c-juoda-850); padding-block: var(--space-6) var(--space-7); }
.mllm-slides__stage { position: relative; background: var(--c-juoda-1000); }
.mllm-slides__track { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none; }
.mllm-slides__track::-webkit-scrollbar { display: none; }
.mllm-slides__track:focus-visible { outline: var(--focus-ring); outline-offset: -3px; }
.mllm-slides__slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.mllm-slides__zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.mllm-slides__zoom img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; }
.mllm-slides__parasas { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: var(--space-3) var(--space-8) var(--space-3) var(--space-5); background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0)); color: var(--c-juoda-100); font-size: var(--fs-small); pointer-events: none; }
.mllm-slides__nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--mllm-accent); color: var(--mllm-on-accent); cursor: pointer; transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease); }
.mllm-slides__nav svg { width: 22px; height: 22px; }
.mllm-slides__nav--pr { left: var(--space-4); }
.mllm-slides__nav--kt { right: var(--space-4); }
.mllm-slides__nav:hover { transform: translateY(-50%) scale(1.08); filter: brightness(0.95); }
.mllm-slides__counter { position: absolute; right: var(--space-4); top: var(--space-4); z-index: 2; padding: 2px var(--space-3); background: rgba(20, 21, 28, 0.75); color: var(--c-juoda-100); font-family: var(--font-accent); font-size: var(--fs-small); }
.mllm-slides__thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-3); overflow-x: auto; padding-bottom: var(--space-1); scrollbar-width: thin; }
.mllm-slides__thumb { flex: 0 0 96px; height: 64px; padding: 0; border: 0; background: var(--c-juoda-900); cursor: pointer; opacity: 0.55; outline-offset: 2px; transition: opacity var(--dur) var(--ease); }
.mllm-slides__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mllm-slides__thumb:hover, .mllm-slides__thumb.is-active { opacity: 1; }
.mllm-slides__thumb.is-active { box-shadow: 0 0 0 3px var(--mllm-accent); }
.mllm-paroda__body { padding-block: var(--space-9) var(--space-10); }
.mllm-paroda__body-inner { display: grid; grid-template-columns: minmax(0, 780px) minmax(220px, 300px); gap: var(--space-10); align-items: start; }
.mllm-paroda__meta { position: sticky; top: var(--space-6); display: grid; gap: var(--space-3); padding: var(--space-5); background: var(--color-surface-alt); border-top: 4px solid var(--mllm-accent); }
.mllm-paroda__meta-row { display: grid; gap: 2px; }
.mllm-paroda__meta-row a { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-paroda__meta-label { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-paroda__back { margin-top: var(--space-3); justify-self: start; }
/* Prose pages (classic content without theme markup): one readable column. */
.mllm-prose { padding-block: var(--space-2) var(--space-12); }
.mllm-prose__content { max-width: 780px; }
.mllm-prose__content > p:first-child { font-size: 1.25em; line-height: 1.5; color: var(--color-text); }
@media (max-width: 560px) { .mllm-prose__content > p:first-child { font-size: 1.1em; } }
.mllm-prose__content h2 { padding-top: var(--space-4); border-top: 3px solid var(--mllm-accent); }
.mllm-prose__content h2:first-child { margin-top: 0; }
.mllm-prose__content li::marker { color: var(--mllm-accent); }
.mllm-prose__content > .mllm-asmuo--puslapis { margin-bottom: var(--space-6); }
.mllm-dienos { list-style: none; margin: 0; padding: 0; }
.mllm-dienos__i { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-4); align-items: start; padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.mllm-dienos__i + .mllm-dienos__i { margin-top: 0; }
.mllm-dienos__d { display: inline-block; padding: 2px 0; text-align: center; background: var(--color-surface-alt); border-left: 3px solid var(--mllm-accent); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-small); white-space: nowrap; }
.mllm-dienos__t { font-size: var(--fs-body); line-height: var(--lh-body); }
.mllm-prose__content > .mllm-asmuo--puslapis + p { font-size: inherit; }
.mllm-flow > .mllm-asmenybe-turinys { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter); }
/* Asmenybė card (paroda sidebar + the person's own page). */
.mllm-asmuo { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--space-4); align-items: start; padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-border); }
.mllm-asmuo:not(:has(.mllm-asmuo__media)) { grid-template-columns: minmax(0, 1fr); }
.mllm-asmuo__media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-surface); }
.mllm-asmuo__foto { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.mllm-asmuo__label { display: block; margin-bottom: 2px; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-asmuo__vardas { margin: 0; font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); line-height: var(--lh-heading); }
.mllm-asmuo__vardas a { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-asmuo__metai { margin: 2px 0 0; font-family: var(--font-accent); font-size: var(--fs-small); color: var(--color-text-muted); }
.mllm-asmuo__trumpai { margin: var(--space-2) 0 0; font-size: var(--fs-small); line-height: var(--lh-body); }
.mllm-asmuo--puslapis { grid-template-columns: 160px minmax(0, 1fr); margin: 0 auto var(--space-8); padding-block: var(--space-5); border-bottom: 0; }
.mllm-asmuo--puslapis .mllm-asmuo__body { padding: var(--space-4) var(--space-5); background: var(--color-surface-alt); border-top: 4px solid var(--mllm-accent); align-self: stretch; }
.mllm-asmuo--puslapis .mllm-asmuo__vardas { font-size: var(--fs-h3); }
.mllm-asmuo--puslapis .mllm-asmuo__metai { font-size: var(--fs-body); }
.mllm-asmuo--puslapis .mllm-asmuo__trumpai { font-size: var(--fs-body); }
@media (max-width: 560px) { .mllm-asmuo--puslapis { grid-template-columns: 96px minmax(0, 1fr); } }
/* Date index: chronological year chips; the essay's first mention of each year is the anchor. */
.mllm-datos { padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-border); }
.mllm-datos__label { display: block; margin-bottom: var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-small-accent); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.mllm-datos__sk { color: var(--mllm-accent); }
.mllm-datos__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.mllm-datos__m { display: block; padding: 3px 0; border: 1px solid var(--color-border); background: var(--color-surface); text-align: center; font-family: var(--font-accent); font-size: var(--fs-small); color: var(--color-text); text-decoration: none; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.mllm-datos__m:hover { border-color: var(--mllm-accent); }
.mllm-datos__m.is-active { background: var(--mllm-accent); border-color: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-metai { border-bottom: 2px solid var(--mllm-accent); transition: background-color var(--dur) var(--ease); }
.mllm-metai.is-lit { background: color-mix(in srgb, var(--mllm-accent) 30%, transparent); }
/* Asmenybė page: holdings grouped by type under the text. */
.mllm-asmenybe-turinys { margin-top: var(--space-2); margin-bottom: var(--space-12); }
.mllm-asmenybe-turinys__grupe { margin-bottom: var(--space-9); }
.mllm-asmenybe-turinys__h { margin-bottom: var(--space-5); padding-top: var(--space-3); border-top: 3px solid var(--mllm-accent); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); }
.mllm-asmenybe-turinys__sk { margin-left: var(--space-2); font-family: var(--font-accent); font-size: var(--fs-small); color: var(--color-text-muted); }
.mllm-asmenybe-turinys__more { display: inline-block; margin-top: var(--space-4); font-family: var(--font-accent); font-size: var(--fs-small); color: var(--color-text); }
@media (max-width: 900px) { .mllm-paroda__body-inner .mllm-paroda__meta { order: -1; } }
@media (max-width: 900px) { .mllm-paroda__body-inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } .mllm-paroda__meta { position: static; } }
@media (max-width: 560px) { .mllm-slides__nav { width: 40px; height: 40px; } .mllm-slides__thumb { flex-basis: 72px; height: 48px; } .mllm-slides__zoom img { max-height: 60vh; } }

/* ═══════════════════════════════════════════════════════════════════════
 * English landing page ([mllm_en_pradzia]) — dark title band, EN exhibitions,
 * six branch cards with hours, practical links. Same tokens as the LT site.
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-en-hero { background: var(--c-juoda-900); color: var(--c-juoda-100); padding-block: var(--space-10) var(--space-9); }
.mllm-en-hero__kicker { margin: 0 0 var(--space-3); font-family: var(--font-accent); font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-zalia); }
.mllm-en-hero__title { margin: 0 0 var(--space-5); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); line-height: var(--lh-heading); color: var(--c-juoda-100); }
.mllm-en-hero__lead { max-width: 60ch; margin: 0 0 var(--space-6); font-size: var(--fs-body-big); line-height: var(--lh-body); color: var(--c-juoda-100); }
.mllm-en-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0; }
.mllm-en-hero .btn--outlined { color: var(--c-juoda-100); border-color: var(--c-juoda-100); }
.mllm-en-sec { padding-block: var(--space-9); }
.mllm-en-sec--muziejai { background: var(--color-surface-alt); }
.mllm-en-sec__title { margin: 0 0 var(--space-6); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h2); line-height: var(--lh-heading); color: var(--color-text); }
.mllm-en-sec__sk { margin-left: var(--space-2); font-size: var(--fs-body); color: var(--color-text-muted); }
.mllm-en-sec__more { margin: var(--space-5) 0 0; font-family: var(--font-accent); }
.mllm-en-sec__more a { color: var(--color-text); }
.mllm-en-muziejai { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.mllm-en-muziejus { display: flex; flex-direction: column; background: var(--color-surface); border-top: 4px solid var(--mllm-accent); }
.mllm-en-muziejus__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mllm-en-muziejus__body { padding: var(--space-5); }
.mllm-en-muziejus__h { margin: 0 0 var(--space-2); font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); line-height: var(--lh-heading); }
.mllm-en-muziejus__adr { margin: 0 0 var(--space-3); color: var(--color-text-muted); font-size: var(--fs-small); }
.mllm-en-muziejus__dl { margin: 0 0 var(--space-4); font-family: var(--font-accent); font-size: var(--fs-small); line-height: 1.7; }
.mllm-en-muziejus__link { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-en-muziejus__lt { font-size: var(--fs-small); color: var(--color-text-muted); }
.mllm-en-praktika { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-9); }
.mllm-en-links { margin: 0; padding: 0; list-style: none; }
.mllm-en-links li { padding: var(--space-3) 0; border-top: 1px solid var(--color-border); }
.mllm-en-links a { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mllm-en-kontaktai { margin: 0 0 var(--space-5); font-size: var(--fs-body-big); line-height: 1.7; }
.mllm-en-kontaktai a { color: var(--color-text); }
.mllm-en-note { margin: 0; padding: var(--space-3) var(--space-4); background: var(--color-surface-alt); border-left: 4px solid var(--mllm-accent); font-size: var(--fs-small); }
@media (max-width: 900px) { .mllm-en-muziejai { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mllm-en-praktika { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); } }
@media (max-width: 560px) { .mllm-en-muziejai { grid-template-columns: minmax(0, 1fr); } }

/* 404 */
.mllm-404 { padding-block: var(--space-10) var(--space-12); }
.mllm-404__inner { max-width: 640px; }
.mllm-404__kodas { margin: 0 0 var(--space-2); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: 4rem; line-height: 1; color: var(--mllm-accent); }
.mllm-404__title { margin: 0 0 var(--space-4); font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-h1); line-height: var(--lh-heading); }
.mllm-404__text { margin: 0 0 var(--space-6); font-size: var(--fs-body-big); line-height: var(--lh-body); }
.mllm-404__search { display: flex; gap: var(--space-3); margin-bottom: var(--space-7); }
.mllm-404__search input { flex: 1 1 auto; min-width: 0; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); font: inherit; }
.mllm-404__search input:focus { outline: 2px solid var(--mllm-accent); outline-offset: 0; }
.mllm-404__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin: 0; padding: 0; list-style: none; font-family: var(--font-accent); }
.mllm-404__links a { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--mllm-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 560px) { .mllm-404__search { flex-direction: column; } }

/* Footer bottom row: © left, site credit right (Tomas 2026-09-16). */
.mllm-footer__bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-9); padding-top: var(--space-5); border-top: 1px solid rgba(242, 242, 253, 0.14); font-size: var(--fs-small); color: var(--c-juoda-300); }
.mllm-footer__copy, .mllm-footer__credit { margin: 0; }
.mllm-footer__credit a { color: var(--c-juoda-300); text-decoration: none; }
.mllm-footer__credit a:hover { color: var(--mllm-accent); text-decoration: underline; }
