/* jazzin.lt design E v2: shared styles for the homepage, event, venue and saved-gigs pages.
   Starts from v1 (e-sviesus.html) and adds the v2 pieces at the end. */
:root {
  --paper: #FFFFFF;
  --ink: #121212;
  --muted: #5C5C5C;
  --faint: #A3A3A3;
  --band: #EFEFEF;
  --rule: #121212;
  --accent: #6C8EEF;
  --accent-dark: color-mix(in srgb, var(--accent) 84%, #000);
  --accent-text: color-mix(in srgb, var(--accent) 72%, #000); /* blue that stays readable as small text */
  --display: "Anton", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Archivo", Arial, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.draftbar { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px var(--pad); background: var(--ink); color: #fff; font-size: 13px; }
.draftbar a { text-decoration: none; opacity: .7; }
.draftbar a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.draftbar > span { margin-right: auto; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.top { display: flex; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
/* The logo (design/logo.html, C1): the bookmark beside JAZZIN.lt, its top on the letters' top, ending a little below them */
.logo { font-family: var(--display); font-size: 30px; text-decoration: none; line-height: 1; display: inline-flex; align-items: flex-start; gap: .24em; }
.logo-mark { display: block; flex: none; height: 1.18em; width: .715em; margin-top: .06em; }
.logo i { font-family: var(--serif); font-size: 28px; color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.nav { display: flex; gap: 22px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  padding: 10px 20px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.lang { display: flex; font-weight: 700; font-size: 14px; }
.lang a { text-decoration: none; padding: 4px 6px; color: var(--muted); }
.lang a[aria-current] { color: var(--ink); }

/* Hero: "DŽIAZAS / visoje Lietuvoje" + tonight's gigs beside it */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; padding-top: clamp(28px, 4.5vw, 64px); padding-bottom: clamp(32px, 4.5vw, 56px); }
.hero h1 { position: relative; font-family: var(--display); font-weight: 400; font-size: clamp(72px, 11vw, 168px); line-height: .84; margin-left: -.02em; }
/* Hover easter egg: the Lithuanian flag wipes into the letters (yellow / green / red stripes) */
.hero h1::after {
  content: attr(data-text); position: absolute; inset: -.35em 0 0 0; padding-top: .35em; /* taller box so the Ž caron gets coloured too */
  background: linear-gradient(to bottom, #FDB913 0 51%, #006A44 51% 75.5%, #C1272D 75.5% 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(0 100% 0 0); transition: clip-path .5s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.hero h1:hover::after { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .hero h1::after { transition: none; } }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 4.6vw, 66px); line-height: .95; margin-top: 6px; }

/* "Šįvakar": tonight's gigs with a live countdown */
.tonight { min-width: 0; border-top: 2px solid var(--rule); padding-top: 12px; }
.tonight-label { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; margin-bottom: 4px; }
.tn { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 clamp(14px, 1.8vw, 24px); align-items: center; text-decoration: none; padding: 10px 0; }
.tn-time { font-family: var(--display); font-size: clamp(48px, 5.4vw, 80px); line-height: .9; }
.tn-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.05; }
.tn-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-top: 10px; font-size: 16px; }
.tn-meta b { font-weight: 600; }
.tn-free { color: var(--accent-text); font-weight: 700; }
.tn-when { color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.tn:hover .tn-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tonight-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.tn-count { color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
/* Tonight's gigs as equal slides, sliding one after another */
.tn-viewport { overflow: hidden; touch-action: pan-y; }
.tn-track { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.tn-track > .tn { flex: 0 0 100%; min-width: 0; }
.tn-dots { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.tn-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--accent) 32%, var(--paper)); cursor: pointer; transition: width .3s, background-color .3s; }
.tn-dots button[aria-current="true"] { width: 24px; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .tn-track, .tn-dots button { transition: none; } }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 4px 0 18px; }

/* Site-styled dropdowns (event type, city) */
.dd { position: relative; }
.dd-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--paper);
  padding: 8px 14px 8px 18px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.dd-btn svg { transition: transform .2s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd-btn:hover { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); }
.dd.is-set .dd-btn { background: var(--accent); }
.dd-list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 210px;
  list-style: none; background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; padding: 6px;
}
.dd-list button {
  display: block; width: 100%; text-align: left; border: 0; background: none; border-radius: 10px;
  padding: 9px 12px; font-size: 15px; cursor: pointer;
}
.dd-list button:hover, .dd-list button:focus-visible { background: color-mix(in srgb, var(--accent) 16%, var(--paper)); outline: none; }
.dd-list button[aria-selected="true"] { background: var(--accent); font-weight: 600; }
@media (max-width: 760px) { .dd + .dd .dd-list { left: auto; right: 0; } }

/* Board: week list + month calendar beside it */
.board { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 48px; align-items: start; }
.side { position: sticky; top: calc(16px + var(--abh, 0px)); }        /* --abh: the admin bar's height, only while Karolis is signed in */

.period-head { display: flex; align-items: center; gap: 10px; border-top: 2px solid var(--rule); padding: 14px 0; }
.period-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.8vw, 48px); line-height: 1; margin-right: auto; }
.period-head h2 em { font-family: var(--serif); font-weight: 400; font-size: 1.04em; margin-right: .16em; }
.arrow { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; }
.arrow:hover { background: color-mix(in srgb, var(--accent) 22%, var(--paper)); }
.arrow[disabled] { opacity: .3; cursor: default; background: var(--paper); color: var(--ink); }

/* Week list */
.day { display: grid; grid-template-columns: 120px 1fr; gap: 0 20px; border-top: 2px solid var(--rule); padding: 14px 0 18px; scroll-margin-top: calc(12px + var(--abh, 0px)); }
.day-head {
  align-self: start; position: sticky; top: calc(14px + var(--abh, 0px)); font-weight: 400;
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n tag" "name name"; justify-items: start; column-gap: 6px;
}
.day-n { grid-area: n; font-family: var(--display); font-size: 76px; line-height: .85; }
.day-name { grid-area: name; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; margin-top: 6px; }
.day-n { color: var(--accent); }
.is-past .day-n, .is-past .ev { opacity: .45; }
/* Today: no label, the whole day block gets a light tint of the accent */
.day.is-today { background: color-mix(in srgb, var(--accent) 12%, var(--paper)); margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
.day.is-today .ev + .ev { border-top-color: color-mix(in srgb, var(--accent) 35%, var(--paper)); }


.ev { display: grid; grid-template-columns: 78px minmax(0, 1fr) 148px 200px; gap: 0 16px; align-items: center; padding: 14px 0; }
.ev + .ev { border-top: 1px solid #D6D6D6; }
.ev-time { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.ev-main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.ev-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.1; }
/* Category box under the time, on every gig */
.ev-tag { color: var(--accent-text); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; line-height: 1.3; white-space: nowrap; }
.ev-where b { display: block; font-size: 15px; font-weight: 600; }
.ev-where span { font-size: 14px; color: var(--muted); }
.ev-act { justify-self: stretch; display: grid; grid-template-columns: 1fr 104px; align-items: center; justify-items: end; gap: 12px; }
.ev-price { font-size: 15px; white-space: nowrap; }
.ev-act .btn, .pill { min-width: 104px; padding: 6px 14px; font-size: 14px; font-weight: 700; border: 1.5px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--ink); text-align: center; display: inline-flex; justify-content: center; }
.ev-act .btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.pill.free { background: none; border-color: transparent; color: var(--accent-text); }
.pill.soldout { background: var(--paper); border-color: #C9C9C9; color: var(--muted); font-weight: 600; }
/* Mid-size screens (list column too narrow for 4 columns): venue goes under the title */
@media (min-width: 761px) and (max-width: 1240px) {
  .ev { grid-template-columns: 76px minmax(0, 1fr) 200px; grid-template-areas: "time main act" "time where act"; row-gap: 3px; }
  .ev-time { grid-area: time; align-self: start; padding-top: 6px; }
  .ev-main { grid-area: main; } .ev-where { grid-area: where; }
  .ev-act { grid-area: act; align-self: center; }
  .ev-where b, .ev-where span { display: inline; }
  .ev-where b::after { content: ", "; font-weight: 400; }
  form.nl { grid-template-columns: minmax(0, 1fr); }
  .nl-form .nl-input { flex: 1; width: auto; min-width: 0; }
}

/* Newsletter: a blue card so it never reads as another gig.
   A slightly deeper blue than the accent keeps the white text readable. */
.nl {
  --nl-blue: color-mix(in srgb, var(--accent) 78%, #000);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  background: var(--nl-blue); color: #fff; border-radius: 16px; padding: 24px 26px; margin: 10px 0 20px;
}
.nl-text { font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1.15; }
.nl-form { display: flex; gap: 8px; }
.nl-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* 16px text: iPhones zoom into a field with smaller text */
.nl-input { width: 260px; border: 2px solid #fff; border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.nl-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
/* "Prenumeruoti →" like the band's "Pridėkite koncertą →" (Karolis 2026-10-23): black, larger, the → arrow; hover shows the card */
.nl .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); font-size: 17px; padding: 12px 26px; }
.nl .btn:hover { background: transparent; color: var(--ink); }
.nl-note { grid-column: 1 / -1; font-size: 13px; color: rgba(255, 255, 255, .85); }
.nl-note a { color: #fff; }
.nl-note.is-error { color: #fff; font-weight: 700; }
@media (max-width: 760px) {
  .nl { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .nl-text { font-size: 23px; }
  .nl-form .nl-input { flex: 1; width: auto; min-width: 0; }
}
@media (max-width: 520px) {             /* phones: the address gets the whole width, the button under it like the band's */
  .nl-form { flex-wrap: wrap; gap: 10px; }
  .nl-form .nl-input { flex: 1 1 100%; }
}
.empty { border-top: 2px solid var(--rule); padding: 32px 0 48px; font-family: var(--serif); font-style: italic; font-size: 28px; max-width: 30ch; }
.past-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0 0 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.past-toggle:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.past-toggle svg { transition: transform .2s; }
.past-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Month calendar (desktop sidebar) */
.mini { border-top: 2px solid var(--rule); padding-top: 14px; }
.mini-head { margin-bottom: 12px; }
.mini-head h2 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; margin-right: auto; }
.mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.mini-wd { text-align: center; font-size: 12px; font-weight: 700; padding-bottom: 6px; }
.mini-day {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  border: 0; background: none; padding: 6px 0 5px; cursor: pointer; min-height: 46px;
}
.mini-day b { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1; }
.mini-day:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.mini-day.is-out b, .mini-day.is-past b { color: var(--faint); }
.mini-day.is-today, .mini-day.in-week.is-today { background: var(--accent); }
.mini-day.in-week .dots i, .mini-day.is-today .dots i { background: var(--ink); }
.mini-day.in-week { background: color-mix(in srgb, var(--accent) 28%, var(--paper)); }
.mini-day.in-week.wk-start { border-radius: 999px 0 0 999px; }
.mini-day.in-week.wk-end { border-radius: 0 999px 999px 0; }
.mini-day[disabled] { cursor: default; }
.dots { display: flex; gap: 3px; height: 5px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.is-past .dots i, .is-out .dots i { background: var(--faint); }

/* Day strip (phone) */
.strip { display: none; }

/* Blue band with a slow, always-moving gradient (stays within the blue family) */
.band {
  color: var(--ink); margin-top: 40px;
  background: linear-gradient(115deg,
    var(--accent) 0%,
    color-mix(in srgb, var(--accent) 70%, #fff) 30%,
    color-mix(in srgb, var(--accent) 82%, #3d3fd8) 60%,
    var(--accent) 100%);
  background-size: 300% 300%;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
.band .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8vw, 112px); line-height: 1.1; }   /* room for Ė, Ū above and Ų's tail below (was .86: the lines collided) */
.band p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; margin-top: 12px; }
.band p span { display: block; white-space: nowrap; }
.band .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); font-size: 17px; padding: 14px 26px; }
.band .btn:hover { background: transparent; color: var(--ink); }

footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; padding-bottom: 40px; font-size: 14px; }
footer .social { display: flex; gap: 14px; margin: 0; font-weight: 400; }
footer .social a { display: flex; color: var(--ink); }
footer .social a:hover { color: var(--accent-text); }
footer .wrap > span:first-child { margin-right: auto; font-weight: 600; }


@media (max-width: 1000px) {
  .board { grid-template-columns: 1fr; }
  .side { display: none; }
  .period-head .arrow { display: none; }
  .strip { display: grid; grid-template-columns: 36px repeat(7, minmax(0, 1fr)) 36px; align-items: center; gap: 2px; padding-bottom: 10px; }
  .strip .arrow { width: 34px; height: 34px; font-size: 16px; }
  .strip-day { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; padding: 6px 0; cursor: pointer; border-radius: 10px; }
  .strip-day small { font-size: 12px; font-weight: 700; }
  .strip-day b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }
  .strip-day.is-today b { color: var(--accent); }
  .strip-day.is-past b, .strip-day.is-out b { color: var(--faint); }
  .strip-day.is-empty { cursor: default; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .band p span { white-space: normal; }
  .top { gap: 12px; }
  .top .btn { padding: 8px 14px; font-size: 14px; }
  .day { grid-template-columns: 1fr; }
  .day-head { position: static; grid-template-columns: auto auto 1fr; grid-template-areas: "n tag name"; align-items: end; padding-bottom: 6px; }
  .day-n { font-size: 60px; }
  .day-name { font-size: 24px; margin: 0 0 2px 8px; }
  .ev { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "time main" "time where" "time act"; grid-template-rows: auto auto 1fr; gap: 4px 12px; }
  .ev-time { align-self: start; padding-top: 6px; }
  .ev-time { grid-area: time; }
  .ev-main { grid-area: main; } .ev-where { grid-area: where; }
  .ev-title { font-size: 24px; }
  .ev-act { grid-area: act; display: flex; justify-content: space-between; justify-self: stretch; margin-top: 4px; }
  .ev-where b, .ev-where span { display: inline; }
  .ev-where b::after { content: ", "; font-weight: 400; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band { animation: none; }
}

/* ===================== v2 additions ===================== */

/* Links inside gig rows: title -> event page, venue -> venue page */
.ev-title a, .ev-where a, .tn { color: inherit; text-decoration: none; }
.ev-title a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.ev-where a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* Save (heart): an outline heart; red fills it from the bottom on hover, and stays once saved */
:root { --love: #E5484D; }
.save {
  display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; flex: none;
  border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer;
}
.heart { position: relative; display: inline-block; width: 20px; height: 20px; flex: none; }
.heart svg { display: block; width: 100%; height: 100%; }
.heart-line path { fill: none; stroke: currentColor; stroke-width: 1.8; }
.heart-fill { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path .4s cubic-bezier(.4, 0, .2, 1); }
.heart-fill path { fill: var(--love); stroke: var(--love); stroke-width: 1.8; }
[aria-pressed="true"] .heart-fill { clip-path: inset(0 0 0 0); }
.save[aria-pressed="true"] { color: var(--love); }
@media (hover: hover) {
  .save:hover .heart-fill, .btn:hover .heart-fill { clip-path: inset(0 0 0 0); }
}
.save:focus-visible .heart-fill { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .heart-fill { transition: none; } }

/* Action slot: heart + one action; the price sits in (or under) the ticket button */
.ev-act { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.buy { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.buy-in { font-weight: 500; margin-left: 8px; }
.door-price { display: inline-block; text-align: center; font-size: 15px; }
/* Same width for every action so the hearts line up from row to row */
.ev-act > .buy, .ev-act > .pill, .ev-act > .door-price { width: 156px; flex: none; }
.ev-act .buy .btn { width: 100%; }

/* Header link to the saved list */
.saved-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; font-size: 15px; }
/* Same heart as the rows: red fills it from the bottom on hover, and it stays red once
   something is saved */
.saved-link.has-items .heart-fill { clip-path: inset(0 0 0 0); }
.saved-link.has-items .heart-line { color: var(--love); }
@media (hover: hover) { .saved-link:hover .heart-fill { clip-path: inset(0 0 0 0); } }
.saved-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.saved-link:hover .saved-label { text-decoration: underline; text-underline-offset: 4px; }

/* Week heading + trust line */
.period-title { margin-right: auto; }
.period-head h2 { margin-right: 0; }
.period-meta { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* Inner pages: event, venue, saved list */
.page { padding-top: clamp(20px, 3vw, 40px); padding-bottom: 56px; }
.back { display: inline-block; font-weight: 600; font-size: 15px; text-decoration: none; margin-bottom: 18px; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-kicker { color: var(--accent-text); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.page-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 6.4vw, 88px); line-height: 1; margin-top: 8px; }
.page-title.display { font-family: var(--display); font-style: normal; text-transform: uppercase; line-height: .9; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px 56px; margin-top: 28px; align-items: start; }
.facts { border-top: 2px solid var(--rule); }
.fact { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #D6D6D6; }
.fact dt { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 3px; }
.fact dd { font-size: 17px; }
.fact dd b { font-weight: 600; }
.fact dd a { text-underline-offset: 3px; }
.big-time { font-family: var(--display); font-size: 40px; line-height: 1; }
.prose { font-family: var(--serif); font-size: 22px; line-height: 1.45; max-width: 36em; }
.prose + .prose { margin-top: 12px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.side-card { border-top: 2px solid var(--rule); padding-top: 16px; display: grid; gap: 12px; }
.side-card .btn { justify-content: center; }
.btn.ghost { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); }
.btn.ghost[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 22%, var(--paper)); border-color: var(--accent-dark); }
.btn .heart { width: 18px; height: 18px; margin-right: 8px; }
.section-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.1; border-top: 2px solid var(--rule); padding-top: 14px; margin-top: 44px; }
.plain-list .ev:first-child { border-top: 0; }
.empty-box { border-top: 2px solid var(--rule); padding: 28px 0 8px; }
.empty-box p { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.2; max-width: 26ch; }
.empty-box .btn { margin-top: 18px; }
@media (max-width: 900px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .saved-label { display: none; }
  .fact { grid-template-columns: 96px minmax(0, 1fr); }
  .prose { font-size: 20px; }
}

/* Phone: keep the header on one line; heart + action sit together under the venue */
@media (max-width: 760px) {
  .ev-act { justify-content: flex-start; }  /* phone: heart + action sit under the venue, left-aligned */
  .ev-act .save { margin-left: -8px; }
}
@media (max-width: 440px) {
  .top { gap: 10px; }
  .logo { font-size: 26px; }
  .logo i { font-size: 24px; }
  .top-right { gap: 10px; }
  .top .btn { padding: 7px 12px; font-size: 13px; }
  .lang a[aria-current] { display: none; }  /* only the other language, e.g. "EN" */
  .saved-count { min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
}
/* Phone/tablet: the ticket + save buttons come before the details */
@media (max-width: 900px) { .page-grid > aside { order: -1; } }


/* Event page with real content: photo, side card with when/price/tickets, lineup list */
.ev-photo { margin: 0 0 22px; }
.ev-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--band); }
.ev-photo figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.event-side { position: sticky; top: calc(16px + var(--abh, 0px)); gap: 10px; }
.side-when { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.1; }
.side-time { font-family: var(--display); font-size: 64px; line-height: .9; }
.side-small { font-size: 14px; color: var(--muted); }
.side-price { font-size: 18px; font-weight: 600; margin: 4px 0 6px; }
.side-free { color: var(--accent-text); font-weight: 700; font-size: 18px; }
.event-side .btn { width: 100%; }
.lineup { list-style: none; }
.lineup li + li { margin-top: 4px; }
.lineup b { font-weight: 600; }
.lineup span { color: var(--muted); }
@media (max-width: 900px) {
  .event-side { position: static; }
  .side-time { font-size: 52px; }
}

/* "Šiandien" details: more air, parts separated by a middle dot */
.tn-meta { margin-top: 14px; gap: 6px 12px; }
.tn-dot { color: var(--faint); font-weight: 700; }

/* Link hover in the accent: a blue underline, text stays black.
   Covers the menu, gig titles and venues, the "Šiandien" titles, back links, footer and
   event-page links. Text on the blue newsletter card keeps its own white style. */
.nav a:hover, .ev-title a:hover, .back:hover, footer .wrap > a:hover, .fact dd a:hover, .note a:hover {
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.ev-where a:hover b, .tn:hover .tn-title, .saved-link:hover .saved-label {
  text-decoration-line: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px;
}

/* Event description: our short brief as the lead, then a link to the full text on the venue's site */
.prose.lead { font-size: 24px; line-height: 1.4; }
.more-link a {
  display: inline-block; margin-top: 12px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 15px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.more-link a:hover { text-decoration-color: var(--accent-dark); }
@media (max-width: 760px) { .prose.lead { font-size: 21px; } }

/* Event-page table: thin blue line icon before each label */
.fact { align-items: start; }
.fact dt { display: flex; align-items: center; gap: 8px; padding-top: 1px; }
.fact-ic { width: 20px; height: 20px; flex: none; color: var(--accent-text); }


/* "Žiūrėti žemėlapyje": small outline pill with a ↗ arrow (opens Google Maps) */
.map-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 12px 5px 14px;
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
}
.map-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.map-btn:hover { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); text-decoration: none; }
.map-btn:hover svg { transform: translate(1px, -1px); }
.fact dd a.map-btn:hover { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .map-btn svg { transition: none; } }

/* Button arrows (same thin style as the map pill): ↗ = leaves the site, → = stays on jazzin.lt */
.btn .arr { width: 15px; height: 15px; margin-left: 8px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover .arr-out { transform: translate(1px, -1px); }
.btn:hover .arr-on { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn .arr { transition: none; } }

/* Venue page: photo first on phones too; roomier gig list without the (repeated) venue column */
@media (max-width: 900px) { .venue-grid > aside { order: 0; } }
.venue-gigs { margin-top: 22px; }
.venue-gigs .day { padding-top: 22px; padding-bottom: 28px; }
.venue-gigs .ev { padding-top: 18px; padding-bottom: 18px; }
.venue-gigs .ev-where { display: none; }
@media (min-width: 1241px) { .venue-gigs .ev { grid-template-columns: 78px minmax(0, 1fr) auto; } }
.venue-grid .ev-photo { margin-bottom: 0; }
.venue-facts .fact { grid-template-columns: 112px minmax(0, 1fr); }
.venue-solo { max-width: 640px; margin-top: 28px; }
/* The month before each new month in the lists that run over weeks (days_html(): gig page, venue page, search, Mano sąrašas):
   serif month like the week heading's, its year in blue Anton only when it is another year */
.month-head { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.1; margin: 40px 0 12px; }
.month-head:first-child { margin-top: 4px; }
.month-head span { font-family: var(--display); font-style: normal; font-size: .93em; color: var(--accent); margin-left: .12em; }

/* Header: current page underlined; phone menu ("Meniu" button opens the nav under the header) */
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.menu-btn { display: none; align-items: center; gap: 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); padding: 6px 13px; font-weight: 700; font-size: 14px; cursor: pointer; }
.menu-ic { position: relative; width: 16px; height: 10px; }
.menu-ic i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s, top .2s; }
.menu-ic i:first-child { top: 0; }
.menu-ic i:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-ic i:first-child { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ic i:last-child { top: 4px; transform: rotate(-45deg); }
.phone-menu { border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.phone-menu a { display: block; padding: 14px 0; font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1.1; text-decoration: none; }
.phone-menu a + a { border-top: 1px solid #D6D6D6; }
.phone-menu a[aria-current="page"] { color: var(--accent-text); }
@media (max-width: 760px) { .menu-btn { display: inline-flex; } }
@media (min-width: 761px) { .phone-menu { display: none !important; } }
@media (max-width: 340px) { .menu-btn [data-menu-label] { display: none; } .menu-btn { padding: 9px 10px; } }
@media (prefers-reduced-motion: reduce) { .menu-ic i { transition: none; } }

/* More pages: shared intro line under the page title */
.page-lead { font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.35; max-width: 34em; margin-top: 14px; }


/* Pridėkite koncertą: form on the left, "Kaip tai veikia" on the right (under the form on phones) */
.form-grid { margin-top: 32px; }
@media (max-width: 900px) { .form-grid > aside { order: 0; } }
.form { display: grid; gap: 22px; border-top: 2px solid var(--rule); padding-top: 22px; }
fieldset.field { border: 0; min-width: 0; }
.field { display: grid; gap: 7px; align-content: start; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.field-row.three { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.label { font-weight: 700; font-size: 14px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.input, .textarea { width: 100%; min-width: 0; border: 1.5px solid var(--ink); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent-dark); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.45; }
.textarea.short { min-height: 88px; }
.hint { font-size: 13px; color: var(--muted); }
.field.is-error .input, .field.is-error .textarea { border-color: #B3261E; }
.field.is-error.check span { color: #B3261E; }
.err { font-size: 14px; color: #B3261E; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; padding: 7px 15px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; }
.chip span:hover { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.file-btn { position: relative; display: inline-flex; align-self: start; justify-self: start; max-width: 100%; border: 1.5px dashed var(--ink); border-radius: 12px; padding: 11px 16px; font-weight: 600; font-size: 15px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-btn:hover { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); }
.file-btn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-btn:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent-dark); margin-top: 0; flex: none; }
.check a { text-underline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions .btn { font-size: 16px; padding: 13px 26px; }
.side-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.1; }
.form-side { position: sticky; top: calc(16px + var(--abh, 0px)); }
.thanks { border-top: 2px solid var(--rule); padding-top: 24px; }
.thanks-big { font-family: var(--serif); font-style: italic; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.thanks .prose { margin-top: 12px; }
@media (max-width: 900px) { .form-side { position: static; } }
@media (max-width: 560px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .field-row.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row.three > :first-child { grid-column: 1 / -1; }
}

/* Numbered steps (Apie, Pridėkite koncertą): blue Anton number, serif title, short text */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; margin-top: 20px; }
.steps li { display: grid; gap: 6px; align-content: start; }
.step-n { font-family: var(--display); color: var(--accent); font-size: 60px; line-height: .85; }
.step-t { font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1.1; margin-top: 4px; }
.step-p { font-size: 15px; max-width: 34ch; }
.steps.stacked { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 14px; }
.steps.stacked li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
.steps.stacked .step-n { grid-row: span 2; font-size: 44px; }
.steps.stacked .step-t { margin-top: 0; font-size: 23px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
  .steps .step-n { grid-row: span 2; font-size: 44px; }
  .steps .step-t { margin-top: 0; font-size: 23px; }
}

/* Message pages (newsletter states, 404) */
.msg { padding-top: clamp(16px, 4vw, 48px); padding-bottom: clamp(32px, 6vw, 80px); }
.msg > * { max-width: 820px; }
.msg-big { display: block; font-family: var(--display); font-weight: 400; color: var(--accent); font-size: clamp(120px, 22vw, 260px); line-height: .8; }
.msg .page-title { margin-top: 12px; }
.msg .prose { margin-top: 16px; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.msg .nl { margin-top: 28px; }
.state-switch { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 56px; border-top: 1px dashed #BDBDBD; padding-top: 12px; font-size: 13px; color: var(--muted); }
.state-switch a[aria-current] { color: var(--ink); font-weight: 700; }

/* Apie: the paragraph uses the event description style (.prose.lead); Kontaktai page: contacts */
.about-text { max-width: 36em; margin-top: 22px; }
.contact-facts { max-width: 640px; margin-top: 32px; }
.contact-facts .fact dd { font-size: 18px; }

/* Privatumo politika: plain readable text, not the serif prose */
.draft-note { background: color-mix(in srgb, var(--accent) 12%, var(--paper)); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-top: 20px; max-width: 46em; }
.legal { max-width: 46em; margin-top: 28px; border-top: 2px solid var(--rule); padding-top: 4px; }
.legal-lead { font-family: var(--serif); font-size: 23px !important; line-height: 1.35 !important; }
.legal h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1.15; border-top: 1px solid #D6D6D6; padding-top: 16px; margin-top: 30px; }
.legal p, .legal li { font-size: 16px; line-height: 1.6; margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal b { font-weight: 600; }
.legal a { text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Footer on phones: the tagline with the icons on its right, then the links on their own row (2026-10-23: with "Prisijungti"
   the links and icons no longer fit one row and the icons dropped alone onto a third line) */
@media (max-width: 760px) {
  footer .wrap { gap: 14px 22px; }
  footer .wrap > span:first-child { flex: 1 0 calc(100% - 92px); margin-right: 0; }      /* fills the row beside the icons, so the links wrap */
  footer .social { order: 1; margin-left: auto; }
  footer .wrap > a { order: 2; }
}

/* "Kalendorius atnaujintas ...": one quiet line with a thin blue icon (Apie, end of the week list) */
.updated { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 18px; }
.updated svg { width: 18px; height: 18px; flex: none; color: var(--accent-text); }
.updated.list-end { border-top: 2px solid var(--rule); padding-top: 14px; margin-top: 0; }

/* Apie: FAQ as an accordion (site-styled, no browser marker) */
.faq { margin-top: 8px; }
.faq-item { border-bottom: 1px solid #D6D6D6; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.2; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq-ic { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent-text); stroke-width: 1.6; stroke-linecap: round; transition: transform .2s; }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; font-size: 16px; line-height: 1.6; max-width: 44em; }
.faq-a p + p { margin-top: 8px; }
.faq-a a { text-underline-offset: 3px; }
.faq-a a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
@media (max-width: 760px) { .faq-item summary { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .faq-ic { transition: none; } }

/* Vietos: a table grouped by city (city on the left like the homepage's day blocks), one row per venue */
.venue-table { margin-top: 32px; border-bottom: 2px solid var(--rule); }
.city-group { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 20px; border-top: 2px solid var(--rule); padding: 8px 0 10px; }
.city-name { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 36px; line-height: 1.1; padding-top: 10px; }
.venue-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 190px 24px; gap: 0 16px; align-items: center; padding: 16px 0; text-decoration: none; }
.venue-row + .venue-row { border-top: 1px solid #D6D6D6; }
.vr-name { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.1; }
.vr-addr { font-size: 15px; color: var(--muted); }
/* date on top, blue label under it (like time + category in the gig list) */
.vr-next .vr-date { display: block; font-size: 15px; font-weight: 600; }
.vr-next b { display: block; color: var(--accent-text); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-top: 3px; }
.vr-next .none { display: block; font-size: 14px; color: var(--muted); }
.vr-arr { display: flex; justify-content: flex-end; }
.vr-arr .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.venue-row:hover .vr-name { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.venue-row:hover .vr-arr .arr { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .vr-arr .arr { transition: none; } }
@media (max-width: 1000px) { .city-group { grid-template-columns: 150px minmax(0, 1fr); } .city-name { font-size: 30px; } }
@media (max-width: 760px) {
  .city-group { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .city-name { padding-top: 0; }
  .venue-row { grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "name arr" "addr arr" "next arr"; gap: 3px 12px; }
  .vr-name { grid-area: name; font-size: 24px; } .vr-addr { grid-area: addr; } .vr-next { grid-area: next; margin-top: 6px; } .vr-arr { grid-area: arr; }
  .vr-addr:empty { display: none; }
}

/* Phones: "DŽIAZAS visoje Lietuvoje" on one line, both sized from the screen width so the pair always fits
   (Anton word ≈ 2.97em wide, serif phrase ≈ 5.42em; the serif is half the Anton size) */
@media (max-width: 760px) {
  .hero-title { display: flex; align-items: baseline; gap: 0 10px; }
  .hero-title h1 { flex: none; font-size: calc((100vw - 2 * var(--pad) - 24px) / 5.8); }
  .hero-title .hero-sub { flex: none; white-space: nowrap; margin-top: 0; font-size: calc((100vw - 2 * var(--pad) - 24px) / 11.6); }
}

/* ---- Real site (built from the mockup above): week arrows, calendar days and strip days are links ---- */
a.arrow { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); }
a.mini-day, a.strip-day { text-decoration: none; color: inherit; }
span.mini-day { cursor: default; }
.day[hidden], .ev[hidden], .nl[hidden], .empty[hidden] { display: none !important; }
.form-note { margin-top: 14px; }
.form-ok { border-top: 2px solid var(--rule); padding-top: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Pridėkite koncertą: the photo field */
.check.small { font-size: 13px; }
.check.small input { width: 18px; height: 18px; }
.field.is-error .file-btn { border-color: #B3261E; }
.file-btn span { overflow: hidden; text-overflow: ellipsis; }
[data-photo-field] .err[hidden] { display: none; }

/* The admin bar (only for Karolis, signed in): what this page offers to edit */
.admin-bar { position: sticky; top: 0; z-index: 70; background: var(--ink); color: #fff; font-size: 13px; }      /* stays on top while scrolling */
.admin-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-top: 8px; padding-bottom: 8px; }
.admin-bar a, .admin-bar button { color: #fff; font: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.admin-bar a:hover, .admin-bar button:hover { text-decoration-color: var(--accent); }
.admin-bar form { display: inline; margin: 0; }
.admin-bar button { border: 0; background: none; padding: 0; cursor: pointer; color: #FFB4B0; }
.admin-bar-home { opacity: .75; font-weight: 400 !important; }
.admin-bar-wait { margin-left: auto; }
.admin-bar .admin-bar-out { color: #fff; font-weight: 400; opacity: .8; }
.admin-bar .admin-bar-out:hover { opacity: 1; }
.admin-bar-n { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--ink); text-align: center; font-size: 12px; }
/* The "Išparduota" switch (Karolis only, sold_out.php): in the bar of a gig's page, and site.js puts one under the title of every
   coming gig in the lists; dark like the bar, so it never looks like part of the site */
.admin-sold { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 3px 4px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 12px/1.4 var(--sans); white-space: nowrap; cursor: pointer; }
.admin-sold-track { position: relative; flex: none; width: 28px; height: 16px; border-radius: 999px; background: #6B6B6B; transition: background-color .15s; }
.admin-sold-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .15s; }
.admin-sold[aria-pressed="true"] .admin-sold-track { background: var(--accent); }
.admin-sold[aria-pressed="true"] .admin-sold-track::after { transform: translateX(12px); }
.admin-sold:hover .admin-sold-track { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.admin-sold:disabled { opacity: .6; cursor: progress; }
.admin-bar .admin-sold { padding: 0; color: #fff; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .admin-sold-track, .admin-sold-track::after { transition: none; } }

/* Polish pass (point 5 of Karolis's list, approved 2026-10-21): links, nav line, week arrows, row hover, buttons, dropdowns,
   month calendar, the "Šiandien" dot that fills, photos, footer, tabular times. Placed last so it refines the rules above. */

/* 1. Links: a quiet underline that turns into the 2px blue one on hover; keyboard focus always visible */
a { text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .15s, color .15s; }
a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 40%, var(--paper)); }

/* 2. Header nav: the blue line slides in under a link (and stays under the current page) */
.nav a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) left 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .22s ease; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: none; background-size: 100% 2px; }

/* 3. Week arrows: bigger, thin drawn chevrons like the site's icons, blue on hover, the chevron nudges the way it goes */
.arrow { width: 46px; height: 46px; border-width: 1.5px; font-size: 0; position: relative; transition: background-color .18s, border-color .18s, transform .12s; }
.arrow::before { content: ""; width: 9px; height: 9px; border-left: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transition: transform .18s; }
.arrow[aria-label*="Ankstesn"]::before, .arrow[aria-label*="Previous"]::before { transform: translateX(2px) rotate(45deg); }
.arrow[aria-label*="Kita"]::before, .arrow[aria-label*="Next"]::before { transform: translateX(-2px) rotate(-135deg); }
.arrow:hover { background: var(--accent); border-color: var(--accent); }
.arrow[aria-label*="Ankstesn"]:hover::before, .arrow[aria-label*="Previous"]:hover::before { transform: translateX(-1px) rotate(45deg); }
.arrow[aria-label*="Kita"]:hover::before, .arrow[aria-label*="Next"]:hover::before { transform: translateX(1px) rotate(-135deg); }
.arrow:active { transform: scale(.94); }
@media (max-width: 760px) { .strip .arrow { width: 38px; height: 38px; font-size: 0; } .strip .arrow::before { width: 8px; height: 8px; } }

/* 4. Gig rows: a soft tint behind the whole row on hover and the title underlined, without moving anything */
.ev { position: relative; isolation: isolate; }
.ev::before { content: ""; position: absolute; inset: 2px -12px; z-index: -1; border-radius: 12px; background: color-mix(in srgb, var(--accent) 9%, var(--paper)); opacity: 0; transition: opacity .18s; }
.day.is-today .ev::before { background: color-mix(in srgb, var(--accent) 20%, var(--paper)); }
.ev:hover::before { opacity: 1; }
.ev:hover .ev-title a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.day.is-past .ev::before { display: none; }

/* 5. Buttons: smooth colour, a 1px lift on hover, a press on click; hearts grow a little */
.btn { transition: background-color .15s, border-color .15s, color .15s, transform .12s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.save { transition: transform .15s; }
.save:hover { transform: scale(1.1); }

/* 6. Dropdowns: the list opens with a short fade and slide, rounder items */
.dd-btn { transition: background-color .15s; }
.dd-list:not([hidden]) { animation: dd-in .16s ease-out; }
@keyframes dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 7. Month calendar: today a round blue dot, the shown week a calm band, lighter gig dots, a ring on hover */
.mini-day { transition: background-color .15s; }
.mini-day b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: box-shadow .15s; font-variant-numeric: tabular-nums; }
.mini-day:hover b { text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.mini-day.is-today, .mini-day.in-week.is-today { background: color-mix(in srgb, var(--accent) 28%, var(--paper)); }
.mini-day.is-today b { background: var(--accent); color: var(--ink); }
.mini-day.in-week.is-today.wk-start { border-radius: 999px 0 0 999px; }
.mini-day.in-week.is-today.wk-end { border-radius: 0 999px 999px 0; }
.mini-day:not(.in-week):not(.is-today) { border-radius: 12px; }
.dots { gap: 3px; height: 4px; }
.dots i { width: 4px; height: 4px; }
.mini-day.in-week .dots i, .mini-day.is-today .dots i { background: color-mix(in srgb, var(--ink) 75%, transparent); }

/* 8. "Šiandien": the current dot fills up while its gig is shown (4 s), so the slider's rhythm is visible */
.tn-dots button { position: relative; overflow: hidden; transition: width .3s ease, background-color .3s; }
.tn-dots button[aria-current="true"] { background: color-mix(in srgb, var(--accent) 35%, var(--paper)); }
.tn-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: tn-fill 4s linear forwards; }
.tonight:hover .tn-dots button::after, .tonight:focus-within .tn-dots button::after { animation-play-state: paused; }
@keyframes tn-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 760px) {
  .tn-meta { flex-direction: column; align-items: flex-start; gap: 2px; }   /* "Venue, City" and the price on their own lines, no lonely dot */
  .tn-meta .tn-dot { display: none; }
}

/* 9. Photos: the same rounded corners as cards and pills */
.ev-photo img { border-radius: 14px; }
.ev-photo figcaption { margin-top: 6px; }

/* 10. Footer: links plain until hovered, icons turn blue */
footer .wrap a:not(.social a) { text-decoration: none; }
footer .wrap a:not(.social a):hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
footer .social a { transition: color .15s, transform .15s; }
footer .social a:hover { transform: translateY(-1px); }

/* 11. Numbers line up: times in rows, the big "Šiandien" time */
.ev-time, .tn-time, .side-time { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .tn-dots button[aria-current="true"]::after { animation: none; transform: none; }
  .dd-list:not([hidden]) { animation: none; }
  .btn:hover, .save:hover, footer .social a:hover { transform: none; }
}


/* The maintenance notice (Nustatymai → "Techninė priežiūra") */
.maint { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-top: 40px; padding-bottom: 40px; }
.maint .logo { font-size: 30px; margin-bottom: 18px; }
.maint-title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 8vw, 96px); line-height: 1; border-top: 2px solid var(--rule); padding-top: 18px; }
.maint-en { font-size: 16px; color: var(--muted); }
.admin-bar .admin-bar-maint { background: #B3261E; color: #fff; padding: 2px 10px; border-radius: 999px; text-decoration: none; }

/* Week heading: the numbers blue like the day numbers below (and the admin's Kalendorius), the month stays black (2026-10-21) */
.period-head h2 { color: var(--accent); }
.period-head h2 em { color: var(--ink); }

/* Search (point 9, 2026-10-21): the field in the header (it also lands in the phone menu) and the results page */
.nav { align-items: center; }
.nav-search { position: relative; display: flex; align-items: center; margin-left: 6px; }
.nav-search .search-ic { position: absolute; left: 12px; width: 17px; height: 17px; color: var(--ink); pointer-events: none; }
.nav-search input { width: 210px; padding: 7px 14px 7px 36px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink);
  font: inherit; font-size: 14px; transition: width .2s ease, border-color .15s, box-shadow .15s; }
.nav-search input::placeholder { color: var(--muted); }
.nav-search input:focus { outline: none; width: 260px; border-color: var(--accent-dark); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.nav-search input::-webkit-search-cancel-button { cursor: pointer; }
.phone-menu .nav-search { margin: 6px 0 14px; }
.phone-menu .nav-search input, .phone-menu .nav-search input:focus { width: 100%; font-size: 17px; padding: 12px 16px 12px 42px; }
.phone-menu .nav-search .search-ic { left: 15px; width: 19px; height: 19px; }
@media (max-width: 1100px) { .nav-search input { width: 170px; } .nav-search input:focus { width: 210px; } }
.search-big { position: relative; display: flex; gap: 10px; align-items: center; margin-top: 22px; max-width: 680px; }
.search-big .search-ic { position: absolute; left: 16px; width: 20px; height: 20px; pointer-events: none; }
.search-big input { flex: 1; min-width: 0; padding: 12px 16px 12px 46px; border: 1.5px solid var(--ink); border-radius: 999px; font: inherit; font-size: 17px; background: var(--paper); color: var(--ink); }
.search-big input:focus { outline: none; border-color: var(--accent-dark); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.search-none { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; max-width: 34ch; }
.search-venues { border-top: 1px solid #D6D6D6; margin-top: 8px; }
.search-gigs { margin-top: 8px; }
@media (max-width: 760px) { .search-big .btn { display: none; } }

/* ---------- Pridėkite koncertą v2 (design/pridek-v2.html, version B, 2026-10-21): text + link, then "Ar teisingai supratome?" ---------- */
.add-text { min-height: 210px; }
.add-notice { display: grid; gap: 12px; justify-items: start; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, var(--paper)); font-size: 15px; }
.add-notice .btn { font-size: 14px; padding: 8px 16px; }
.check-q { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.15; }
.check-n { margin-top: 4px; color: var(--muted); font-size: 15px; }
.understood { border: 1.5px solid var(--ink); border-radius: 16px; padding: 16px 18px; display: grid; gap: 6px; margin-top: 14px; }
.understood .u-when { font-weight: 600; font-size: 15px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.understood .u-title { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; overflow-wrap: anywhere; }
.understood .u-meta { font-size: 15px; color: var(--muted); }
.understood .u-meta b { color: var(--ink); font-weight: 600; }
.understood .u-meta .tn-dot { margin: 0 6px; }
.understood .u-miss { font-size: 13px; color: #B3261E; }
.check-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.check-actions .btn { font-size: 16px; padding: 13px 26px; }
.understood-wrap > .hint { margin-top: 12px; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy::before { content: ""; width: 14px; height: 14px; margin-right: 10px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--paper) 45%, transparent); border-top-color: var(--paper); animation: add-spin .8s linear infinite; }
.btn.is-busy .arr { display: none; }
@keyframes add-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-busy::before { animation: none; } }

/* Vietos: a venue with no address (the map styles are in venue-map.css, loaded on Vietos only) */
.vr-noaddr { font-size: 12px; color: var(--faint); }

/* Who runs a gig (design/rengejas.html, 2026-10-21): a festival gig's label under the time says "Festivalis" (since 2026-11-17; the
   name on hover); on the gig page the "Festivalis" / "Rengia" line links to our venue page → or its own site ↗ */
.facts .on-link, .facts .out-link { white-space: nowrap; }
.facts .on-link .arr, .facts .out-link .arr { width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.facts .on-link:hover .arr { transform: translateX(3px); }
.facts .out-link:hover .arr { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .facts .on-link .arr, .facts .out-link .arr { transition: none; } }

/* Search suggestions while typing (site.js; the list from /api/paieska.json): a white card under the field, the site's look */
.sg { position: absolute; top: calc(100% + 8px); left: 0; z-index: 90; width: min(400px, calc(100vw - 2 * var(--pad))); max-height: min(70vh, 520px); overflow-y: auto;
  padding: 6px; border: 1.5px solid var(--ink); border-radius: 16px; background: var(--paper); text-align: left; }
.search-big .sg, .phone-menu .sg { width: 100%; }
.sg-item { display: grid; gap: 1px; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sg-item:hover, .sg-item[aria-selected="true"], .sg-all:hover, .sg-all[aria-selected="true"] { background: color-mix(in srgb, var(--accent) 13%, var(--paper)); }
.sg-kind { color: var(--accent-text); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.sg-t { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.15; overflow-wrap: anywhere; }
.sg-w { font-size: 13px; color: var(--muted); }
.sg-none { padding: 10px 12px 6px; font-size: 14px; color: var(--muted); }
.sg-all { display: block; margin-top: 4px; padding: 10px 12px; border-top: 1px solid #E3E3E3; border-radius: 0 0 10px 10px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink); }

/* Gig page, 2026-10-29 (Karolis, design/renginys-v3.html): the place in the side card leads down to "Kur" (address and map),
   the venue's own photo lower (a gig's own keeps 16:10), the newsletter card after the gig */
.side-where { font-size: 17px; line-height: 1.3; }
.side-where a { color: inherit; text-decoration: none; }
.side-where a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
#kur { scroll-margin-top: calc(16px + var(--abh, 0px)); }
#kur:target { animation: kur-flash 1.8s ease-out; }          /* shows where the click went */
@keyframes kur-flash { from { background: color-mix(in srgb, var(--accent) 22%, var(--paper)); } to { background: transparent; } }
.ev-photo.is-venue img { aspect-ratio: 21 / 9; }
.page-grid + .nl { margin: 44px 0 0; }
@media (prefers-reduced-motion: reduce) { #kur:target { animation: none; } }

/* "Į kalendorių", 2026-10-30 (Karolis, design/kalendorius.html): under "Išsaugoti" in the gig's side card, a small list like the
   filters' dropdowns; "Visus į kalendorių" above the gigs on Mano sąrašas */
.cal { position: relative; }
.cal .btn { width: 100%; }
.cal-ic { width: 24px; height: 24px; margin-right: 8px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* "Žyma": the logo's bookmark drops into the page on hover and while the list is open, the flag's colours only for that moment */
.cal-rib { stroke: none; transform: translateY(-15px); transition: transform .45s cubic-bezier(.3, 1.2, .5, 1); }
.cal-btn[aria-expanded="true"] .cal-rib, .cal-btn:focus-visible .cal-rib, .cal-all .map-btn:active .cal-rib, .cal-all .map-btn:focus-visible .cal-rib { transform: none; }
@media (hover: hover) { .cal-btn:hover .cal-rib, .cal-all .map-btn:hover .cal-rib { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cal-rib { transition: none; } }
.cal-list { right: auto; width: max-content; min-width: 100%; }
.cal-list a { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 10px; font-size: 15px; color: var(--ink); text-decoration: none; }
.cal-list a:hover, .cal-list a:focus-visible { background: color-mix(in srgb, var(--accent) 16%, var(--paper)); outline: none; }
.cal-list small { color: var(--muted); font-size: 13px; }
.cal-list .arr { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cal-all { margin: 0 0 6px; }
.cal-all .map-btn { margin-top: 0; }
.map-btn .cal-ic { width: 19px; height: 19px; margin-right: 2px; stroke: var(--accent); }
.map-btn:hover .cal-ic { transform: none; }

/* Svingas, 2026-10-31 (Karolis, design/paspaudimas.html): a click answered in swing rhythm. Saving a gig: the heart beats twice, long
   then short. "Į kalendorių": the bookmark drops in and swings on its top edge (the class holds it in, also on the pill, which has no
   list), then goes away as before. Only on clicks, never on removing a heart or closing the list; started by swing() in site.js */
.heart.is-swung { animation: heart-swing .78s cubic-bezier(.3, .6, .4, 1); }
@keyframes heart-swing {
  0% { transform: scale(1) rotate(0); }
  36% { transform: scale(1.46) rotate(-10deg); }
  60% { transform: scale(.94) rotate(2deg); }
  78% { transform: scale(1.22) rotate(7deg); }
  100% { transform: scale(1) rotate(0); }
}
.cal-rib-in { transform-origin: 15.2px 5px; }
.cal-ic.is-swung { animation: cal-press .28s ease-out; }
.cal-ic.is-swung .cal-rib { transform: none; }
.cal-ic.is-swung .cal-rib-in { animation: rib-swing 1.05s ease-out; }
@keyframes cal-press { 0%, 100% { transform: scale(1); } 40% { transform: scale(.88); } }
@keyframes rib-swing {
  0%, 22% { transform: rotate(0); }
  40% { transform: rotate(20deg); }
  58% { transform: rotate(-14deg); }
  74% { transform: rotate(8deg); }
  88% { transform: rotate(-3deg); }
  100% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .heart.is-swung, .cal-ic.is-swung, .cal-ic.is-swung .cal-rib-in { animation: none; } }

/* The month calendar's arrows, 2026-11-02 (Karolis, design/menuo.html): ‹ › beside the month turn the small calendar from this month to the
   last with gigs, the list stays; on phones and narrow screens (no sidebar) the pill "Kalendorius" beside the filters opens it under them */
.mini-head { display: flex; align-items: center; gap: 8px; }
.mini-head .arrow { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.mini-head .arrow::before { width: 8px; height: 8px; }
.mini-head .arrow[disabled]:hover { background: var(--paper); border-color: var(--ink); }
.mini-head .arrow[data-month-step="-1"][disabled]::before { transform: translateX(2px) rotate(45deg); }
.mini-head .arrow[data-month-step="1"][disabled]::before { transform: translateX(-2px) rotate(-135deg); }
.mini-grid[hidden] { display: none; }
.mini-grid.is-new { animation: dd-in .16s ease-out; }
.month-btn { display: none; }
.month-slot { padding: 0 0 18px; }
.month-slot .mini { max-width: 420px; }
@media (max-width: 1000px) {
  .month-btn { display: inline-flex; }
  .month-btn[aria-expanded="true"] { background: var(--accent); }
}
@media (min-width: 1001px) { .month-slot { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mini-grid.is-new { animation: none; } }
