/**
 * 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);
  color: var(--color-text);
}
.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;
  border-color: var(--color-text);
  color: var(--color-text);
  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);
}

/* ═══════════════════════════════════════════════════════════════════════
 * 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;
  scrollbar-width: thin;
}
.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; }
.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); }
@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); }
.mllm-lankymas__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); gap: var(--space-9); align-items: start; }
.mllm-lankymas__card { display: flex; flex-direction: column; gap: var(--space-6); }
.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; }
.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); }
.mllm-article__inner { 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__content { font-size: var(--fs-body-big); }
.mllm-article__back { margin-top: var(--space-8); }
@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); }
/* 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__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; }
@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%; }
/* 🪤 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; }
/* 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 { --mllm-accent: var(--c-zalia); --mllm-on-accent: var(--c-juoda-900); position: fixed; inset: 0; z-index: 1000; display: flex; padding: var(--space-6); overflow-y: auto; }
.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-5); right: var(--space-5); color: var(--color-text); }
.mllm-modal__close svg { width: 24px; height: 24px; }

.mllm-steps { display: flex; align-items: center; list-style: none; margin: 0 0 var(--space-7); 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__summary { list-style: none; margin: 0 0 var(--space-6); padding: var(--space-5) 0; border-top: 2px solid var(--mllm-accent); 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-7); 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); }
.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; }
.mllm-product__media .button, .mllm-product__media .added_to_cart {
  position: absolute; bottom: var(--space-3); right: var(--space-3); z-index: 2;
  display: inline-grid; place-items: center; width: 40px; height: 40px; min-width: 0; padding: 0;
  background: var(--color-surface); color: var(--c-juoda-900); border: 0; border-radius: 0; font-size: 0;
}
.mllm-product__media .button:hover { background: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-product__media .button svg { width: 22px; height: 22px; }
@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 div.product .woocommerce-product-gallery { float: none; width: 100%; margin: 0; }
/* 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); }
}
.woocommerce div.product .summary { float: none; width: 100%; margin: 0; }
.woocommerce div.product .product_title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-body-big); color: var(--color-text); }
.woocommerce div.product .summary { line-height: var(--lh-body); }
.woocommerce div.product .summary p { margin-bottom: var(--space-4); }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body-big); color: var(--mllm-accent); }
.woocommerce div.product form.cart { margin-top: var(--space-5); }
.woocommerce div.product form.cart .quantity input.qty { width: 64px; padding: var(--space-2); border: 1px solid var(--color-border); }
.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); padding: var(--space-3) var(--space-8);
}
.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); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mllm-accent); }
.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; } }

.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; }
}

@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); }
.mllm-newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-9); align-items: center; }
.mllm-newsletter__quote { position: relative; margin: 0; padding: var(--space-8) var(--space-6); }
.mllm-newsletter__blob {
  position: absolute; inset: 6% -6% 6% -6%; z-index: 0;
  background: var(--c-juoda-100); border-radius: 48% 52% 60% 40% / 55% 50% 50% 45%;
}
.mllm-newsletter__quote-text {
  position: relative; z-index: 1; margin: 0; max-width: 32ch;
  font-family: var(--font-accent); font-size: var(--fs-body-big-accent); line-height: var(--lh-body); color: var(--color-text);
}
.mllm-newsletter__quote-author { position: relative; z-index: 1; margin-top: var(--space-4); color: var(--color-text); }
.mllm-newsletter__title { font-family: var(--font-condensed); font-weight: var(--fw-semibold); font-size: var(--fs-h3); color: var(--color-text); margin-bottom: var(--space-4); }
.mllm-newsletter__desc { margin-bottom: var(--space-5); }
.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 .tnp form {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4) var(--space-6); align-items: end;
}
.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 / 2; justify-self: end; 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(--mllm-accent); 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,
.mllm-newsletter--tamsi .mllm-newsletter__consent a { color: var(--mllm-accent); }
@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, 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.is-today { background: var(--mllm-accent); color: var(--mllm-on-accent); }
.mllm-renginiai__cell.has-event { outline: 1px solid var(--mllm-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); }
.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: 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/…).
 * ═══════════════════════════════════════════════════════════════════════ */
.mllm-branch-nav { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.mllm-branch-nav__list { display: flex; flex-wrap: wrap; gap: var(--space-6); list-style: none; margin: 0; padding: var(--space-4) var(--gutter); }
.mllm-branch-nav__link {
  font-family: var(--font-accent); font-weight: var(--fw-bold); font-size: var(--fs-body);
  color: var(--color-text); text-decoration: none; white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.mllm-branch-nav__link:hover, .mllm-branch-nav__link:focus-visible { 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: var(--space-6); }

.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); }
}

/* ── 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); }

