/* libraries.css — «Библиотеки» on expato: the catalogue (/libraries) and one page for every library (libraries/_entry.html).
   The page's own words: a shelf of cloth bindings — navy, bottle green, oxblood, dark ochre — with gilt titles and a
   call-number sticker for the city; the visit itself is a library catalogue card. Over the site's paper, ink and type.
   Mobile first; 700 and 1000 are the two steps. The map is the site's one map (map.css). */

.lb { --ox: #6B1F2B; --ox-ink: #6B1F2B; --ox-line: rgba(107, 31, 43, .35); --navy: #233554; --bottle: #23493B; --ochre: #5F481C; --gilt: #DDBE73;
  --wood: #6B4A2F; --wood2: #57391F; --o-txt: #F6EEE6; --o-mut: rgba(246, 238, 230, .74); --o-line: rgba(246, 238, 230, .18);
  --card: #FBF6EA; --card-ink: #2B2724; --card-mut: rgba(43, 39, 36, .7); --rule-red: #C2463E; --rule-blue: rgba(70, 110, 170, .2);
  --line: rgba(var(--ink), .1); }
/* Dark: the band and the cloth go deeper, the words that were oxblood on paper turn to a rose that reads on the night ground;
   the catalogue card stays paper under a lamp. */
:root.dark .lb { --ox: #4E1620; --ox-ink: #E59AA3; --ox-line: rgba(229, 154, 163, .4); --wood: #4F3622; --wood2: #3E2A1A; --card: #ECE2CD; }
:where(.lb) :is(h1, h2, h3, p, ul, ol, figure, dl, dd) { margin: 0; padding: 0; }
:where(.lb) :is(ul, ol) { list-style: none; }
.lb a:hover { color: inherit; }
.lb-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.lb-h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
/* The site's column (.wrap in styles.css): bands run edge to edge, their content stops at 1600px like every page's. */
.lb-pad { max-width: 1600px; margin-left: auto; margin-right: auto; padding-left: 18px; padding-right: 18px; }

/* ── First screen: the title, the sentence that chooses, the shelf ── */
.lb-hero { padding-top: 36px; }
.lb-top { display: grid; row-gap: 24px; }
.lb-hero .lb-kick { color: var(--ox-ink); }
.lb-hero .lb-kick i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lb-hero h1 { margin-top: 16px; font-size: clamp(50px, 8.6vw, 104px); font-weight: 500; line-height: .94; letter-spacing: -.058em; color: var(--ox-ink); text-wrap: balance; }
.lb-say { font-size: clamp(24px, 3vw, 34px); line-height: 1.34; letter-spacing: -.025em; color: var(--txt); }
.lb-say [data-gally-choose] { font-weight: 500; color: var(--ox-ink); border-bottom: 2px dashed var(--ox-line); }
.lb-say [data-gally-choose]:hover { border-bottom-style: solid; }
.lb-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 18px; font-size: 15px; color: var(--txt2); }
.lb-count b { font: 500 15px var(--mono); color: var(--ox-ink); }
.lb-count .gally-reset, .lb-count [data-gally-reset] { margin-left: auto; font-size: 15px; font-weight: 500; color: var(--ox-ink); border-bottom: 1px solid var(--ox-line); }

/* The shelf: every library a binding, its colour the group, its sticker the city. Heights and widths vary as real
   bindings do — by place on the shelf, not by data. On a phone the shelf scrolls sideways under the thumb. */
.lb-shelf { --sh: 206px; margin-top: 36px; overflow-x: auto; scrollbar-width: none; scroll-padding-inline: 18px; }
.lb-shelf::-webkit-scrollbar { display: none; }
.lb-shelf-in { position: relative; display: flex; align-items: flex-start; width: max-content; min-width: 100%; padding: 0 18px; }
.lb-shelf-in::after { content: ""; position: absolute; left: 0; right: 0; top: var(--sh); height: 14px; background: linear-gradient(var(--wood), var(--wood2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .14); }
.lb-grp { flex: none; display: flex; flex-direction: column; padding-right: 18px; }
.lb-grp:last-child { padding-right: 0; }
.lb-spines { display: flex; align-items: flex-end; gap: 2px; height: var(--sh); }
.lb-sp { --h: 168px; --w: 26px; position: relative; flex: none; width: var(--w); height: var(--h); display: flex; flex-direction: column; align-items: center; padding: 12px 0 8px; border-radius: 3px 3px 1px 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(255, 255, 255, .07) 22%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .18)), var(--c, var(--navy));
  box-shadow: inset 0 9px 0 -6px var(--gilt), inset 0 16px 0 -14px var(--gilt); transition: transform .25s ease, opacity .25s ease, filter .25s ease; }
.lb-sp:nth-child(7n+2) { --h: 152px; --w: 24px; } .lb-sp:nth-child(7n+3) { --h: 184px; --w: 28px; } .lb-sp:nth-child(7n+4) { --h: 140px; --w: 25px; }
.lb-sp:nth-child(7n+5) { --h: 176px; --w: 29px; } .lb-sp:nth-child(7n+6) { --h: 158px; --w: 26px; } .lb-sp:nth-child(7n+7) { --h: 190px; --w: 27px; }
.lb-sp:hover, .lb-sp:focus-visible { transform: translateY(-8px); opacity: 1; filter: none; }
.lb-sp:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.lb-sp b { flex: 1 1 auto; min-height: 0; overflow: hidden; writing-mode: vertical-rl; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--gilt); }
.lb-sp i { flex: none; margin-top: 6px; width: calc(100% - 6px); padding: 2px 0; border-radius: 2px; background: #FBF8F1; color: #2B2724; font: 500 8px var(--mono); font-style: normal; letter-spacing: .02em; text-align: center; }
.lb-new { --c: var(--navy); } .lb-re { --c: var(--bottle); } .lb-old { --c: var(--ox); } .lb-arc { --c: var(--ochre); }
:root.dark .lb-old { --c: #6B1F2B; }
/* A choice made: the bindings it keeps stand out, the rest stay on the shelf, dimmed — the shelf never loses a book. */
.lb-shelf.is-picking .lb-sp:not(.is-on) { opacity: .4; filter: saturate(.75); }
.lb-grp-name { align-self: flex-start; display: inline-flex; align-items: baseline; gap: 6px; margin-top: 26px; padding: 4px 0; font-size: 15px; color: var(--txt2); white-space: nowrap; cursor: pointer; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.lb-grp-name i { font: 500 12px var(--mono); font-style: normal; color: var(--mut); }
.lb-grp-name:hover { color: var(--ox-ink); border-bottom-color: var(--ox-line); }
.lb-grp-name[aria-pressed="true"] { font-weight: 600; color: var(--ox-ink); }
.lb-grp-name[aria-pressed="true"] i { color: var(--ox-ink); opacity: .75; }
.lb-grp-name:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 4px; }

/* ── What is closed now: the year with «сейчас», then what the libraries announce, each with its date ── */
.lb-now { margin-top: 48px; background: var(--ox); color: var(--o-txt); }
/* Nothing closed and no season on the calendar: the band is not shown at all, rather than an empty year. */
.lb-now:not(:has([data-gally-entry])) { display: none; }
.lb-now-in { padding-top: 56px; padding-bottom: 64px; }
.lb-now .lb-kick { color: var(--o-mut); }
.lb-now-head { display: grid; gap: 16px; }
.lb-now h2 { margin-top: 14px; font-size: clamp(34px, 5vw, 56px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.lb-now-head > p { max-width: 420px; font-size: 16px; line-height: 1.5; color: var(--o-mut); }
.lb-year { position: relative; display: grid; row-gap: 18px; margin-top: 44px; --now: .75; }
.lb-yrs { display: grid; row-gap: 18px; }
.lb-yr { display: grid; row-gap: 8px; }
.lb-yr .lab { font-size: 15px; color: var(--o-txt); }
.lb-yr .lab small { display: block; font-size: 13px; color: var(--o-mut); }
.lb-yr a.lab:hover { color: #FFF; text-decoration: underline; text-underline-offset: 3px; }
.lb-trk { position: relative; height: 12px; border-radius: 6px; background: rgba(246, 238, 230, .08); }
.lb-trk i { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - 1) / 12 * 100%); width: calc((var(--b) - var(--a) + 1) / 12 * 100%); border-radius: 6px; background: var(--gilt); }
/* Shut: hatched, so a ремонт never reads as an open season. */
.lb-yr[data-kind="shut"] .lb-trk i { background: repeating-linear-gradient(-45deg, rgba(246, 238, 230, .55) 0 4px, transparent 4px 9px); box-shadow: inset 0 0 0 1px rgba(246, 238, 230, .55); }
.lb-yr.is-head .lb-mo { display: grid; grid-template-columns: repeat(12, 1fr); padding-bottom: 10px; border-bottom: 1px solid var(--o-line); }
.lb-mo span { font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--o-mut); }
.lb-mo span.is-now { color: #FFF; }
.lb-mo i { font-style: normal; }
.lb-mo .w { display: none; }
.lb-now-line { position: absolute; top: 0; bottom: -6px; left: calc(var(--now) * 100%); width: 2px; background: #FFF; pointer-events: none; }
.lb-now-line b { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 10px; background: #FFF; color: #6B1F2B; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.lb-news { display: grid; gap: 28px; margin-top: 48px; }
.lb-news article + article { padding-top: 28px; border-top: 1px solid var(--o-line); }
.lb-news time { font: 500 13px var(--mono); letter-spacing: .04em; color: var(--gilt); }
.lb-news h3 { margin-top: 12px; font-size: 22px; font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.lb-news p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--o-mut); }
.lb-news a { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 500; color: #FFF; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.lb-news a:hover { color: #FFF; border-bottom-color: #FFF; }

/* ── The list beside the map ── */
.lb-list { padding-top: 72px; }
.lb-list-head { display: grid; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.lb-list-head h2 .of { color: var(--mut); }
.lb-tgl { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-tgl > button { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); font-size: 15px; color: var(--txt); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.lb-tgl > button:hover { border-color: var(--ox-line); color: var(--ox-ink); }
.lb-tgl > button[aria-pressed="true"] { background: var(--txt); border-color: var(--txt); color: var(--bg); }
.lb-tgl > button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.lb-body { display: grid; row-gap: 48px; padding-top: 28px; }

.lb-card { --pt: 0px; position: relative; padding-top: var(--pt); padding-bottom: 32px; }
.lb-card + .lb-card { --pt: 32px; border-top: 1px solid var(--line); }
.lb-card > a { display: grid; row-gap: 16px; }
.lb-pic { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--s2); }
.lb-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lb-card > a:hover .lb-pic img { transform: scale(1.03); }
.lb-credit { position: absolute; left: 12px; bottom: 10px; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.lb-card .x-fav.is-corner { top: calc(var(--pt) + 12px); right: 12px; }
.lb-meta { display: block; font: 500 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--mut); }
.lb-card h3 { margin-top: 8px; font-size: clamp(22px, 2.4vw, 26px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; transition: color .2s; }
.lb-card > a:hover h3 { color: var(--ox-ink); }
.lb-card p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--txt2); max-width: 560px; }
.lb-why { display: block; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--ox-ink); }
.lb-rec { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(var(--ink), .05); font-size: 14px; line-height: 1.4; color: var(--txt2); }
.lb-rec b { font-weight: 600; color: var(--txt); }
.lb-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.lb-facts > span { display: grid; gap: 3px; font-size: 12px; color: var(--mut); }
.lb-facts b { font: 500 16px var(--mono); letter-spacing: -.02em; color: var(--txt); }
.lb-facts em { font-style: normal; }
.lb-today.is-closed b, .lb-shut { color: var(--ox-ink); }

.lb-others { margin-top: 8px; padding-top: 24px; border-top: 2px solid var(--txt); }
.lb-others[hidden], .lb-row[hidden] { display: none; }
.lb-others h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.lb-others > p { margin-top: 6px; font-size: 15px; color: var(--mut); }
.lb-row > a { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lb-row .lb-pic { width: 64px; height: 64px; aspect-ratio: auto; border-radius: 12px; }
.lb-row strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.01em; transition: color .2s; }
.lb-row > a:hover strong { color: var(--ox-ink); }
.lb-row em { display: block; margin-top: 3px; font-size: 14px; font-style: normal; color: var(--mut); }
.lb-row small { display: block; margin-top: 4px; font: 500 13px var(--mono); color: var(--txt2); }
.lb-row small.lb-shut { color: var(--ox-ink); }
.lb-none { padding: 32px 0; font-size: 17px; color: var(--txt2); }

/* The site's map, in the library's colours: paper land, oxblood dots. */
.lb .nl-map { --nl-dot: var(--ox-ink); --nl-halo: rgba(107, 31, 43, .22); }
.lb .nl-map-land .land { fill: #F7F3EC; }
:root.dark .lb .nl-map-land .land { fill: #1D1B19; }
.lb-map { padding: 18px; border-radius: 24px; background: var(--s1); border: 1px solid var(--line); }
.lb-map-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.lb-map-head h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.lb-map-head a { font-size: 14px; color: var(--mut); }
.lb-map-head a:hover { color: var(--ox-ink); }

/* ── Words at the door ── */
.lb-words { margin-top: 88px; }
.lb-words-head { display: grid; gap: 12px; }
.lb-words-head p { max-width: 400px; font-size: 16px; line-height: 1.5; color: var(--txt2); }
.lb-dict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); }
.lb-dict div { padding: 18px 12px 20px 0; border-bottom: 1px solid var(--line); }
.lb-dict div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
.lb-dict b { display: block; font-size: clamp(19px, 3vw, 32px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: var(--ox-ink); overflow-wrap: anywhere; hyphens: manual; }
.lb-dict span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--txt2); }
.lb-src { margin-top: 56px; margin-bottom: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--txt2); }
.lb-src a { color: var(--ox-ink); font-weight: 500; }

/* ════════ One library's page ════════ */
.lp-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; }
.lp-back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--txt2); }
.lp-back:hover { color: var(--ox-ink); }
.lp-fav { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 20px; border: 1px solid var(--line); background: var(--s1); font-size: 15px; color: var(--txt); cursor: pointer; transition: border-color .2s, color .2s; }
.lp-fav:hover { border-color: var(--ox-line); }
.lp-fav[aria-pressed="true"] { color: var(--ox-ink); border-color: var(--ox-line); }
.lp-fav[aria-pressed="true"] .lb-ic { fill: currentColor; }
.lp-fav .on, .lp-fav[aria-pressed="true"] .off { display: none; }
.lp-fav[aria-pressed="true"] .on { display: inline; }

.lp-hero { display: grid; row-gap: 28px; padding-top: 28px; }
.lp-hero .lb-kick { color: var(--ox-ink); }
.lp-hero .lb-kick a { border-bottom: 1px solid var(--ox-line); }
.lp-hero .lb-kick a:hover { color: inherit; border-bottom-color: currentColor; }
/* The name is sized by its own column, not the window: «Bibliotheca» at 10vw broke mid-word beside the photo.
   A word longer still is fitted by libraries.js. */
.lp-hero > div:first-child { min-width: 0; container-type: inline-size; }
.lp-hero h1 { margin-top: 18px; font-size: min(clamp(56px, 10vw, 148px), 20cqi); font-weight: 500; line-height: .88; letter-spacing: -.062em; color: var(--ox-ink); overflow-wrap: anywhere; text-wrap: balance; }
.lp-say { margin-top: 22px; max-width: 26ch; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.28; letter-spacing: -.025em; text-wrap: balance; }
.lp-nl { margin-top: 14px; font: 500 13px var(--mono); letter-spacing: .02em; color: var(--mut); }
.lp-photo { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 20px; overflow: hidden; background: var(--s2); }
.lp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.lp-credit { position: absolute; left: 0; bottom: 0; right: 0; padding: 40px 14px 12px; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  /* The caption says what is on the photo, so it must read on a white sky or a pale archive print too: a soft dark foot. */
  background: linear-gradient(to top, rgba(0, 0, 0, .58), rgba(0, 0, 0, .28) 55%, transparent); }

/* The visit: a catalogue card — cream stock, the red rule under the heading, faint blue lines, the hole for the drawer's
   rod and the «Сверено» stamp. */
.lp-visit { display: grid; row-gap: 56px; padding-top: 64px; padding-bottom: 80px; }
.lp-card { position: relative; padding: 24px 20px 64px; border-radius: 6px; background: var(--card); color: var(--card-ink); transform: rotate(-.4deg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 26px 50px -28px rgba(60, 40, 20, .45), 0 0 0 1px rgba(60, 40, 20, .08); }
.lp-card a { color: #6B1F2B; font-weight: 500; border-bottom: 1px solid rgba(107, 31, 43, .35); }
.lp-card a:hover { color: #6B1F2B; border-bottom-color: currentColor; }
.lp-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font: 500 13px var(--mono); letter-spacing: .04em; color: var(--card-mut); }
.lp-card h2 { margin-top: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--rule-red); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.lp-card dl { display: grid; grid-template-columns: minmax(0, 1fr); }
.lp-card dt { padding-top: 16px; font: 500 12px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--card-mut); }
.lp-card dd { padding: 4px 0 14px; border-bottom: 1px solid var(--rule-blue); font-size: 17px; line-height: 1.5; }
.lp-card dd b { font-weight: 600; color: #6B1F2B; }
.lp-card dd small { display: block; margin-top: 4px; font-size: 15px; color: var(--card-mut); }
.lp-price { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lp-price span { display: grid; font-size: 13px; color: var(--card-mut); }
.lp-price span b { font: 500 20px var(--mono); letter-spacing: -.02em; color: var(--card-ink); }
.lp-hole { position: absolute; left: 50%; bottom: 20px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .25); }
.lp-stamp { position: absolute; right: 16px; bottom: -34px; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; border: 3px double rgba(107, 31, 43, .75); background: rgba(251, 246, 234, .55);
  color: rgba(107, 31, 43, .85); transform: rotate(-11deg); text-align: center; font: 500 10px/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.lp-stamp b { display: block; font-size: 15px; letter-spacing: .02em; }
.lp-side h3 { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.lp-week { margin-top: 14px; border-top: 1px solid var(--line); }
.lp-week li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.lp-week li span:last-child { font: 500 15px var(--mono); }
.lp-week li span:last-child:empty::after { content: "закрыто"; }
.lp-week li:has(span:last-child:empty) { color: var(--mut); }
.lp-week li.is-today { margin: 0 -14px; padding: 12px 14px; border-radius: 10px; border-bottom-color: transparent; background: var(--ox); color: #FFF; }
.lp-week li.is-today span:first-child::after { content: " · сегодня"; opacity: .78; }
.lp-side > p { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--txt2); }
.lp-side .lp-nohours { margin-top: 14px; font-size: 18px; line-height: 1.45; color: var(--txt); }
.lp-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lp-go { height: 48px; display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; border-radius: 24px; background: var(--txt); color: var(--bg); font-size: 16px; font-weight: 500; transition: background .2s, color .2s; }
.lp-go:hover { background: #6B1F2B; color: #FFF !important; }
.lp-go:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* Why people come: the band, then the hall's history as a line of dates. */
.lp-why { background: var(--ox); color: var(--o-txt); }
.lp-why-in { padding-top: 64px; padding-bottom: 72px; }
.lp-why .lb-kick { color: var(--o-mut); }
.lp-why h2 { margin-top: 14px; font-size: clamp(38px, 5.4vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.lp-why-head { display: grid; row-gap: 20px; }
.lp-why-head p { max-width: 60ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(246, 238, 230, .86); }
.lp-time { position: relative; display: grid; row-gap: 22px; margin-top: 48px; padding-left: 30px; }
.lp-time::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: rgba(246, 238, 230, .28); }
.lp-time li { position: relative; }
.lp-time li::before { content: ""; position: absolute; left: -30px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--gilt); box-shadow: 0 0 0 5px var(--ox); }
.lp-time li[data-big="да"]::before { left: -33px; top: 0; width: 22px; height: 22px; }
.lp-time b { display: block; font: 500 15px var(--mono); color: var(--gilt); }
.lp-time span { display: block; margin-top: 6px; max-width: 46ch; font-size: 16px; line-height: 1.45; color: rgba(246, 238, 230, .86); }

.lp-pics { display: grid; gap: 16px; padding-top: 64px; }
.lp-pics figure { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--s2); }
.lp-pics img { width: 100%; height: 100%; object-fit: cover; }

.lp-notes { margin-top: 64px; padding: 28px 22px 32px; border-radius: 22px; background: var(--ox); color: var(--o-txt); }
.lp-notes .lb-kick { color: var(--o-mut); }
.lp-notes .lb-news { margin-top: 20px; }

.lp-src { display: grid; row-gap: 20px; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); }
.lp-src h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 500; letter-spacing: -.035em; }
.lp-src > div > p { margin-top: 10px; max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--mut); }
.lp-src > div > p a { color: var(--ox-ink); font-weight: 500; }
.lp-src ol { border-top: 1px solid var(--line); }
.lp-src li { display: grid; row-gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lp-src time { font: 500 13px var(--mono); color: var(--mut); }
.lp-src li > span { font-size: 16px; line-height: 1.45; color: var(--txt2); }
.lp-src q { color: var(--txt); font-style: italic; quotes: "«" "»"; }
.lp-src li > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13px var(--mono); color: var(--ox-ink); }

.lp-more { margin-top: 88px; margin-bottom: 56px; }
.lp-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; }
.lp-more-head a { font-size: 16px; font-weight: 500; color: var(--ox-ink); border-bottom: 1px solid var(--ox-line); }
.lp-more-row { display: grid; gap: 28px; margin-top: 28px; }
.lp-more-row a { display: block; }
.lp-more-row figure { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--s2); }
.lp-more-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lp-more-row a:hover img { transform: scale(1.03); }
.lp-more-row em { display: block; margin-top: 14px; font: 500 11.5px var(--mono); font-style: normal; letter-spacing: .07em; text-transform: uppercase; color: var(--mut); }
.lp-more-row strong { display: block; margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; transition: color .2s; }
.lp-more-row a:hover strong { color: var(--ox-ink); }
.lp-more-row span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--txt2); }
.lp-more-row small { display: block; margin-top: 8px; font: 500 13px var(--mono); color: var(--ox-ink); }

@media (min-width: 700px) {
  .lb-pad { padding-left: 32px; padding-right: 32px; }
  .lb-shelf { --sh: 236px; scroll-padding-inline: 32px; }
  .lb-shelf-in { padding: 0 32px; }
  .lb-sp { --h: 196px; --w: 30px; }
  .lb-sp:nth-child(7n+2) { --h: 176px; --w: 27px; } .lb-sp:nth-child(7n+3) { --h: 214px; --w: 33px; } .lb-sp:nth-child(7n+4) { --h: 164px; --w: 28px; }
  .lb-sp:nth-child(7n+5) { --h: 206px; --w: 34px; } .lb-sp:nth-child(7n+6) { --h: 186px; --w: 29px; } .lb-sp:nth-child(7n+7) { --h: 226px; --w: 31px; }
  .lb-sp b { font-size: 12px; }
  .lb-sp i { font-size: 9px; }
  .lb-yr { grid-template-columns: 220px 1fr; column-gap: 20px; align-items: center; }
  .lb-yr.is-head .lb-mo { grid-column: 2; }
  .lb-mo .w { display: inline; }
  .lb-mo .s { display: none; }
  .lb-now-line { left: calc(240px + (100% - 240px) * var(--now)); }
  .lb-news { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .lb-news article { padding-right: 32px; }
  .lb-news article + article { padding-top: 0; padding-left: 32px; border-top: 0; border-left: 1px solid var(--o-line); }
  .lb-card > a { grid-template-columns: 260px minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .lb-pic { aspect-ratio: 4 / 3; }
  .lb-card .x-fav.is-corner { left: 204px; right: auto; }
  .lb-row > a { grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 20px; }
  .lb-row .lb-pic { width: 72px; height: 72px; }
  .lb-row small { margin-top: 0; text-align: right; }
  .lb-dict div { padding: 22px 28px 24px 0; }
  .lb-dict div:nth-child(even) { padding-left: 28px; }
  .lp-card { padding: 30px 40px 64px; }
  .lp-card dl { grid-template-columns: 170px minmax(0, 1fr); }
  .lp-card dt, .lp-card dd { padding: 16px 0 15px; border-bottom: 1px solid var(--rule-blue); }
  .lp-card dt { padding-top: 20px; }
  .lp-stamp { right: 22px; bottom: -40px; width: 116px; height: 116px; font-size: 10.5px; }
  .lp-stamp b { font-size: 17px; }
  .lp-time { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); column-gap: 28px; padding-left: 0; padding-top: 34px; }
  .lp-time::before { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; }
  .lp-time li::before { left: 0; top: -34px; }
  .lp-time li[data-big="да"]::before { left: -3px; top: -37px; }
  .lp-pics { grid-template-columns: 7fr 5fr; gap: 24px; }
  /* The second photo takes the first one's height, whatever its own shape: one row, one line under both. */
  .lp-pics figure + figure { aspect-ratio: auto; }
  .lp-pics figure:only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .lp-notes { padding: 36px 36px 40px; }
  .lp-more-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .lb-pad { padding-left: 40px; padding-right: 40px; }
  .lb-hero { padding-top: 72px; }
  .lb-top { grid-template-columns: 7fr 5fr; column-gap: 56px; align-items: end; }
  .lb-shelf { --sh: 268px; margin-top: 64px; overflow: visible; }
  .lb-shelf-in { width: auto; max-width: 1600px; margin: 0 auto; padding: 0 40px; }
  .lb-sp { --h: 214px; --w: 30px; }
  .lb-sp:nth-child(7n+2) { --h: 188px; --w: 27px; } .lb-sp:nth-child(7n+3) { --h: 232px; --w: 33px; } .lb-sp:nth-child(7n+4) { --h: 176px; --w: 28px; }
  .lb-sp:nth-child(7n+5) { --h: 224px; --w: 34px; } .lb-sp:nth-child(7n+6) { --h: 200px; --w: 29px; } .lb-sp:nth-child(7n+7) { --h: 244px; --w: 32px; }
  .lb-sp b { font-size: 12.5px; }
  .lb-grp { padding-right: 24px; }
  .lb-grp-name { margin-top: 32px; }
  .lb-now { margin-top: 56px; }
  .lb-now-in { padding-top: 88px; padding-bottom: 96px; }
  .lb-now-head { grid-template-columns: 1fr auto; align-items: end; }
  .lb-yr { grid-template-columns: 240px 1fr; }
  .lb-list { padding-top: 104px; }
  .lb-list-head { grid-template-columns: 1fr auto; align-items: end; }
  .lb-body { grid-template-columns: minmax(0, 1fr) 460px; column-gap: 48px; align-items: start; padding-top: 36px; }
  .lb-map { position: sticky; top: 88px; padding: 24px; }
  .lb-card > a { grid-template-columns: 300px minmax(0, 1fr); column-gap: 32px; }
  .lb-card .x-fav.is-corner { left: 244px; }
  .lb-words { margin-top: 120px; }
  .lb-words-head { grid-template-columns: 1fr auto; align-items: end; }
  .lb-dict { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lb-dict div { padding: 28px 32px 30px 0; }
  .lb-dict div:nth-child(even) { padding-left: 0; border-left: 0; }
  .lb-dict div:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--line); }
  .lb-src { margin-top: 72px; }
  .lp-hero { grid-template-columns: 5fr 7fr; column-gap: 56px; align-items: end; padding-top: 48px; }
  .lp-visit { grid-template-columns: minmax(0, 1fr) 380px; column-gap: 64px; align-items: start; padding-top: 88px; padding-bottom: 104px; }
  .lp-why-in { padding-top: 96px; padding-bottom: 104px; }
  .lp-why-head { grid-template-columns: 6fr 5fr; column-gap: 64px; align-items: end; }
  .lp-time { margin-top: 72px; }
  .lp-pics { padding-top: 88px; }
  .lp-src { grid-template-columns: 300px minmax(0, 1fr); column-gap: 56px; margin-top: 96px; }
  .lp-src li { grid-template-columns: 120px minmax(0, 1fr) 240px; column-gap: 24px; align-items: baseline; }
  .lp-src li > a { text-align: right; }
  .lp-more { margin-top: 104px; }
  .lp-more-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .lb-sp, .lb-pic img, .lb-card h3, .lp-more-row img { transition: none !important; }
  .lb-sp:hover, .lb-sp:focus-visible { transform: none; }
}
