/* long.css — «Идёт не один день» (её выбор 14.11.2026, направление А «Сейчас идёт»). Момент стоит в дне ленты;
   то, что идёт много дней (фестиваль, курс, выставка, серия показов), — на полке рядом с днями. Полку рисует
   платформа (data-gally-running): на компьютере — колонка справа от ленты, идёт за днём, который читают; на телефоне —
   тёмная полоса под заголовком каждого дня, по нажатию та же полка листом снизу. Все классы с приставкой ll-. */
.ll-two { --ll-line: var(--hline, #DAD6CD); --ll-pic: var(--hpic, #E6E2D8); --ll-chip: var(--hchip, #DAD6CD); --ll-sheet: var(--hsheet, #FFFFFF); }
.ll-two { display: block; }
.ll-feed { min-width: 0; }
.ll-shelf { display: none; }
@media (min-width: 1101px) {
  .ll-two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .ll-shelf { display: block; position: sticky; top: 132px; max-height: calc(100vh - 148px); overflow-y: auto; scrollbar-width: thin; padding: 32px 0 24px 32px; border-left: 1px solid var(--ll-line); min-width: 0; }
  .ll-band { display: none !important; }
}
.ll-shelf[aria-busy] { opacity: .5; transition: opacity .15s; }
.ll-sh { padding-bottom: 4px; }
.ll-k { font-size: 14px; color: var(--mut); }
.ll-sh h2 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-top: 2px; }
.ll-g { padding: 20px 0 18px; border-bottom: 1px solid var(--ll-line); }
.ll-g > h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 500; color: var(--mut); margin: 0 0 12px; }
.ll-g > h3 small { font-size: 13px; font-variant-numeric: tabular-nums; }
.ll-p { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 6px 0 12px; color: inherit; text-decoration: none; }
.ll-p + .ll-p, .hc-it + .hc-it > .ll-p { border-top: 1px solid var(--ll-line); padding-top: 14px; }
.ll-pt { position: relative; width: 88px; height: 112px; overflow: hidden; background: var(--ll-pic); border-radius: 4px; }
.ll-pt img { width: 100%; height: 100%; object-fit: cover; }
.ll-pt .ll-ini { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 200; color: var(--mut); }
/* 18.11.2026 (V1 P0-4): no picture — a date tile, as .a2-dtile on /festivals, never an empty beige box */
.ll-pt:not(:has(img)) { background: var(--s1); box-shadow: inset 0 0 0 1px var(--ll-line); }
.ll-tw { position: absolute; inset: 0 0 auto; padding: 10px 10px 0; font-size: 17px; font-weight: 300; line-height: 1.15; letter-spacing: -.01em; color: var(--txt); font-variant-numeric: tabular-nums; }
.ll-pl { position: absolute; left: 5px; right: 5px; bottom: 5px; background: var(--txt); color: var(--bg); font-size: 11px; font-weight: 600; line-height: 1.15; padding: 4px 6px; border-radius: 10px; text-align: center; }
.ll-px { min-width: 0; }
.ll-px > span, .ll-px > i { display: block; }
.ll-dn { font-size: 13px; color: var(--mut); }
.ll-dn b { font-size: 28px; font-weight: 200; letter-spacing: -.03em; color: var(--txt); margin-right: 2px; }
.ll-bar { display: block; height: 2px; background: var(--ll-line); margin: 6px 0 8px; max-width: 200px; }
.ll-bar > i { display: block; height: 100%; background: var(--txt); }
.ll-px h4 { font-size: 16px; font-weight: 500; line-height: 1.25; margin: 0; }
.ll-m { font-size: 13px; color: var(--mut); line-height: 1.4; margin-top: 2px; }
.ll-st { font-size: 13px; line-height: 1.4; margin-top: 4px; }
.ll-st b { font-weight: 600; }
.ll-cr { font-size: 11px; color: var(--mut); opacity: .8; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* exhibitions: one typographic tile — how many, in how many museums, the three that close first */
.ll-exn { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.ll-exn > b { font-size: 52px; font-weight: 200; letter-spacing: -.04em; line-height: .9; }
.ll-exn span { font-size: 14px; color: var(--mut); line-height: 1.35; }
.ll-exn span b { color: var(--txt); font-weight: 600; }
.ll-exn span b + b::before { content: " · "; font-weight: 400; color: var(--mut); }
.ll-exn + .ll-lab { margin-top: 18px; }
.ll-lab { font-size: 12px; color: var(--mut); margin: 14px 0 2px; }
.ll-ex { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--ll-line); color: inherit; text-decoration: none; }
.ll-ex:first-of-type { border-top: 0; }
/* each thing on the shelf sits in its host with the card on hover (hovercard.css): the lines between them stay */
.hc-it > .ll-ex:first-of-type { border-top: 1px solid var(--ll-line); }
.ll-lab + .hc-it > .ll-ex:first-of-type { border-top: 0; }
.ll-exd { font-size: 13px; color: var(--mut); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ll-ex b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.ll-ex small { display: block; font-size: 12px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-all { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 500; }
/* «Сроки» in the shelf (mockup «Все события · Список»): a date tile, what, its theme and how soon — as on /holidays */
.ll-dls { margin: 0; padding: 0; list-style: none; }
.ll-dlr { display: flex; align-items: center; gap: 12px; padding: 6px 0; color: inherit; text-decoration: none; }
.ll-dl .a2-dt { flex: none; width: 56px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8px; background: var(--s1); line-height: 1; }
.ll-dl .a2-dt b { font-size: 21px; font-weight: 500; }
.ll-dl .a2-dt small { margin-top: 3px; font-size: 12px; color: var(--mut); }
.ll-dlr > span:last-child { min-width: 0; }
.ll-dlr > span:last-child b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.ll-dlr > span:last-child small { display: block; font-size: 12px; color: var(--mut); }
.ll-dl:not(:has(.ll-dls:not([hidden]) > li)), .ll-dl[data-hc-dock]:not(.hc-docked) { display: none; }
.ll-s { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 10px; padding: 6px 0; color: inherit; text-decoration: none; }
.ll-s span { font-size: 13px; color: var(--mut); grid-row: 1 / 3; }
.ll-s b { font-size: 14px; font-weight: 500; line-height: 1.3; }
.ll-s small { font-size: 12px; color: var(--mut); grid-column: 2; }
.ll-cat { display: block; margin-top: 16px; padding-top: 12px; border-top: 1.5px solid var(--txt); font-weight: 500; }
.ll-x { display: none; }

/* phone and tablet: a dark band under each day's head — what runs that day as pictures, its one mark in words */
.ll-band, .hm .ll-band { box-sizing: border-box; position: relative; display: block; width: 100%; margin: 4px 0 10px; padding: 14px 16px 40px; border: 0; border-radius: 16px; background: var(--hint-bg, #121211); color: var(--hint-fg, #F2F0EB); text-align: left; cursor: pointer; font: inherit; }
.ll-band[hidden] { display: none; }
.ll-bh { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 600; }
.ll-bh small { font-size: 13px; font-weight: 400; opacity: .6; }
.ll-bh em { margin-left: auto; font-style: normal; font-size: 18px; opacity: .7; }
.ll-bt { display: flex; align-items: center; gap: 8px; margin-top: 10px; overflow: hidden; }
.ll-bt > i { flex: none; width: 46px; height: 58px; overflow: hidden; border-radius: 23px 23px 4px 4px; background: rgba(255, 255, 255, .12); }
.ll-bt > i img { width: 100%; height: 100%; object-fit: cover; }
.ll-bt > b { flex: none; font-size: 30px; font-weight: 200; letter-spacing: -.03em; padding: 0 4px; }
/* 18.11.2026 (V1 P0-3): one number on the band, the one in its head — the exhibitions' count beside the pictures was
   cut off at 390 («36…»); an arch with no picture is not drawn, its words («… открывается») stay (they sit on the band). */
.ll-bt > b { display: none; }
.ll-bt > i:not(:has(img)) { width: 0; margin-left: -8px; background: none; }
.ll-bl { font-style: normal; position: absolute; left: 16px; right: 16px; bottom: 12px; font-size: 13px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ll-bt .ll-bl ~ .ll-bl, .ll-band i:has(.ll-bl) ~ i .ll-bl { display: none; }
/* the sheet: the same shelf from below, over a dimmed page */
@media (max-width: 1100px) {
  .ll-shelf.ll-open { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; background: var(--ll-sheet); border-radius: 20px 20px 0 0; padding: 22px var(--hp, 20px) 28px; box-shadow: 0 -20px 50px rgba(0, 0, 0, .22); }
  .ll-shelf.ll-open .ll-x { display: block; position: absolute; top: 18px; right: var(--hp, 20px); font-size: 15px; color: var(--mut); background: none; border: 0; cursor: pointer; }
  html.ll-locked { overflow: hidden; }
  html.ll-locked body::after { content: ""; position: fixed; inset: 0; background: rgba(18, 18, 17, .38); z-index: 59; }
}
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .ll-shelf:not(.ll-open),
body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .ll-band { display: none; }
@media (min-width: 1101px) { body:has(.views button[data-gally-view="calendar"][aria-pressed="true"]) .ll-two { display: block; } }

/* Until the platform draws them (data-gally-ready), shelves are not shown at all: the page stays as it was. */
[data-gally-running]:not([data-gally-ready]) { display: none !important; }
.ll-two:has(> .ll-shelf:not([data-gally-ready])) { display: block; }
/* the band stands under the day's head on a phone and a tablet (it comes after the rows in the markup) */
@media (max-width: 1100px) {
  .hm .day:has(> .ll-band[data-gally-ready]) { display: flex; flex-direction: column; }
  .hm .day > .dh { order: 0; }
  .hm .day > .ll-band { order: 1; }
  .hm .day > .rows { order: 2; }
}
.hm .days[data-gally-view="posters"] .ll-band { display: none; }
/* a tablet (mockup «Все события · постеры и календарь · планшет»): the shelf's blocks also stand under the list, in two
   columns — the band in each day still opens the same shelf as a sheet */
@media (min-width: 761px) and (max-width: 1100px) {
  .ll-shelf[data-gally-ready]:not(.ll-open) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ll-line); }
  .ll-shelf:not(.ll-open) > .ll-sh { grid-column: 1 / -1; }
  .ll-shelf:not(.ll-open) > .ll-x { display: none; }
}
.ll-dim { display: none; }
@media (max-width: 1100px) { html.ll-locked .ll-dim { display: block; position: fixed; inset: 0; z-index: 59; background: rgba(18, 18, 17, .38); } html.ll-locked body::after { content: none; } }
/* the calendar of moments: «старт» and «финал» of what runs for days, in words on the day's tile */
.hm .cal .gally-cal-marks { display: block; margin-top: 4px; }
.hm .cal .gally-cal-mark { display: block; font-size: 11px; line-height: 1.3; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm .cal .gally-cal-mark i { font-style: normal; font-weight: 600; color: var(--txt); }
/* the words need the tile (styles.css, from 900px): in the small cell of a phone or a tablet they ran over the
   neighbouring days, so there the cell keeps only its dots */
@media (max-width: 899px) { .hm .cal .gally-cal-marks { display: none; } }
@media (min-width: 900px) { .hm .cal .gally-cal-marks { width: 100%; min-width: 0; overflow: hidden; } }
/* 18.11.2026 night repair: «открывается» / «последний день» stay inside the 88px tile, photo or date tile alike. */
.ll-pt .ll-pl { left: 4px; right: 4px; bottom: 4px; padding: 4px 2px; font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
