/* «Голландский год» (/holidays, the board's «Голландский год», her «да» 11.10): the year as a colleague would explain
   it — what happens, when, and what to do yourself. The afisha's type and colours (styles.css); dy- is what a year
   adds: the next one large, the year as one line, the public holidays, the months, the moments a newcomer gets wrong.
   The traditions are the festival collection's «Праздники и традиции» and the «Концерты и шоу» rows the venues call a
   tradition; nothing here is typed twice. */

.dy-hero { display: grid; gap: 24px; padding: 28px 0 8px; }
.dy-hero h1 { margin: 14px 0 0; font-size: clamp(52px, 30px + 5.4vw, 104px); font-weight: 500; line-height: .9; letter-spacing: -.055em; }
.dy-lead { margin: 16px 0 0; max-width: 34ch; font-size: clamp(17px, 15px + .5vw, 22px); line-height: 1.42; color: var(--txt2); }

/* The next tradition: how many days, what it is, what to do. */
.dy-next { padding: 22px 20px 20px; border-radius: 6px; background: var(--acc); color: #FFFFFF; }
:root.dark .dy-next { color: #0F0F10; }
.dy-next .eyebrow { color: inherit; opacity: .78; }
.dy-next-in { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 16px; margin-top: 12px; }
.dy-next-n { font-size: clamp(96px, 60px + 8vw, 168px); font-weight: 300; line-height: .76; letter-spacing: -.07em; }
.dy-next-n small { display: block; margin-top: 12px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dy-next-n .is-today { font-size: .42em; letter-spacing: -.04em; }
.dy-next h2 { margin: 0; font-size: clamp(26px, 18px + 1.6vw, 40px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.dy-next h2 a { color: inherit; }
.dy-next h2 small { display: block; margin-top: 8px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.dy-next-text { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .26); font-size: 16px; line-height: 1.5; }
:root.dark .dy-next-text { border-top-color: rgba(15, 15, 16, .2); }
.dy-next-more { display: inline-flex; margin-top: 14px; font-size: 15px; font-weight: 500; color: inherit; border-bottom: 1px solid currentColor; }
.dy-next-more:hover { color: inherit; opacity: .8; }

/* The year as one line, from this month on (holidays.js turns it; without a script it reads January to December). */
.dy-line { display: flex; margin: 28px -18px 0; padding: 0 18px; overflow-x: auto; scrollbar-width: none; }
.dy-line::-webkit-scrollbar { display: none; }
.dy-m { position: relative; flex: 0 0 140px; padding: 14px 12px 4px 0; border-top: 2px solid var(--txt); }
.dy-m b { display: block; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.dy-m > span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.35; color: var(--txt2); overflow-wrap: break-word; hyphens: auto; }
.dy-m > span > span + span::before { content: ", "; }
.dy-m .quiet { color: var(--faint); }
.dy-m.now b { color: var(--acc); }
.dy-m.now::after { content: ""; position: absolute; top: -8px; left: 0; width: 36%; height: 4px; border-radius: 2px; background: var(--acc); }

/* Public holidays: a tile each — the date large, the weekday, the name. holidays.js keeps the next eight. */
.dy-days { padding-top: 48px; }
.dy-head { display: grid; gap: 12px; }
.dy-head h2 { margin: 10px 0 0; font-size: clamp(30px, 20px + 1.8vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.04; }
.dy-head p { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.5; color: var(--mut); }
.dy-all { align-self: end; font-size: 15px; font-weight: 500; color: var(--acc); }
.dy-tiles { display: flex; gap: 10px; margin: 18px -18px 0; padding: 0 18px; overflow-x: auto; scrollbar-width: none; list-style: none; }
.dy-tiles::-webkit-scrollbar { display: none; }
.dy-tile { flex: 0 0 144px; display: flex; flex-direction: column; min-height: 140px; padding: 14px 14px 12px; border-radius: 6px; background: var(--s1); box-shadow: inset 0 0 0 1px rgba(var(--ink), .08); }
.dy-tile[hidden] { display: none; }
.dy-tile b { font-size: 36px; font-weight: 300; line-height: .85; letter-spacing: -.06em; white-space: nowrap; }
.dy-tile small { margin-top: 8px; font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.dy-tile span { margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 500; line-height: 1.25; }
.dy-tile.is-mark { background: var(--txt); color: var(--bg); box-shadow: none; }
.dy-tile.is-mark small { color: inherit; opacity: .7; }

/* The months: the month large, then a row per tradition — its day, its name, one line, where, the heart. */
.dy-months { padding-top: 40px; }
.dy-month { padding-top: 40px; }
.dy-month > header { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--txt); }
.dy-month > header b { font-size: 40px; font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.dy-month > header > span { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.dy-rows { list-style: none; margin: 0; padding: 0; }
.dy-row { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr) 40px; grid-template-areas: "d n h" "d t t"; column-gap: 12px; row-gap: 10px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(var(--ink), .12); }
.dy-d { grid-area: d; }
.dy-d b { display: block; font-size: 34px; font-weight: 300; line-height: .82; letter-spacing: -.06em; }
.dy-d b.dy-later { color: var(--faint); }
.dy-d span { display: flex; flex-direction: column; margin-top: 8px; font: 500 10px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.dy-d i { font-style: normal; }
.dy-name { grid-area: n; min-width: 0; }
.dy-go { display: block; font-size: 21px; font-weight: 500; line-height: 1.12; letter-spacing: -.028em; color: var(--txt); transition: color .2s; }
.dy-go::after { content: ""; position: absolute; inset: 0; }
.dy-go:hover, .dy-row:hover .dy-go { color: var(--acc); }
.dy-go:focus-visible { outline: 0; }
.dy-row:has(.dy-go:focus-visible) { outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 4px; }
.dy-name small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: var(--mut); }
.dy-name p { margin: 8px 0 0; max-width: 60ch; font-size: 15px; line-height: 1.5; color: var(--txt2); }
.dy-tags { grid-area: t; display: flex; flex-wrap: wrap; gap: 6px; }
.dy-tags span { padding: 5px 8px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(var(--ink), .3); font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dy-heart { grid-area: h; position: relative; z-index: 1; align-self: start; width: 40px; height: 40px; margin: -10px -6px 0 0; display: grid; place-items: center; border-radius: 50%; color: var(--mut); transition: color .2s, background .2s; }
.dy-heart:hover, .dy-heart[aria-pressed="true"] { color: var(--acc); }
.dy-heart:hover { background: rgba(var(--accr), .1); }
.dy-heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.dy-heart[aria-pressed="true"] svg { fill: currentColor; }
.dy-heart:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* On stage: the concerts and shows the venues call a yearly tradition — a line each, a tour's stops under it. */
.dy-stage { padding-top: 72px; }
.dy-stage-list { list-style: none; margin: 20px 0 0; padding: 0; border-top: 2px solid var(--txt); }
.dy-stage-group { padding: 16px 0; border-bottom: 1px solid rgba(var(--ink), .12); }
.dy-stop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; color: var(--txt); }
.dy-stop:hover { color: var(--txt); }
.dy-stop:hover .dy-stop-name { color: var(--acc); }
.dy-stop-when { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.dy-stop-name { font-size: 21px; font-weight: 500; line-height: 1.15; letter-spacing: -.028em; transition: color .2s; }
.dy-stop-name small { display: block; margin-top: 6px; font-size: 15px; font-weight: 400; line-height: 1.45; letter-spacing: 0; color: var(--txt2); }
.dy-stop-where { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.dy-stop + .dy-stop { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.dy-stop + .dy-stop .dy-stop-name { display: none; }

/* «Чтобы не попасть впросак»: the page's one dark band. */
.dy-band { margin: 72px calc(50% - 50vw) 0; padding: 48px 0 52px; background: #121211; color: #F2F0EB; }
:root.dark .dy-band { background: var(--s2); }
.dy-band-in { display: grid; gap: 24px; }
.dy-band .eyebrow { color: #A9A59D; }
.dy-band h2 { margin: 14px 0 0; font-size: clamp(36px, 24px + 2.2vw, 52px); font-weight: 400; line-height: 1.03; letter-spacing: -.045em; }
.dy-band h2 b { font-weight: 500; color: #B7AEFF; }
.dy-tips { display: grid; gap: 0 48px; }
.dy-tip { padding: 20px 0; border-top: 1px solid rgba(242, 240, 235, .16); }
.dy-tip b { display: block; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #B7AEFF; }
.dy-tip h3 { margin: 10px 0 0; font-size: 22px; font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.dy-tip p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: #CFCBC3; }
.dy-checked { display: flex; flex-direction: column; gap: 6px; padding: 36px 0 56px; font-size: 14px; line-height: 1.5; color: var(--mut); }

@media (min-width: 900px) {
  .dy-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: end; padding: 56px 0 24px; }
  .dy-lead { margin-top: 28px; }
  .dy-next { padding: 30px 32px 28px; }
  .dy-next-in { gap: 22px; margin-top: 18px; }
  .dy-next-text { margin-top: 22px; padding-top: 18px; font-size: 17px; }
  .dy-line { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin: 40px 0 0; padding: 0; overflow: visible; }
  .dy-m { padding: 14px 8px 18px 0; border-right: 1px solid rgba(var(--ink), .1); }
  .dy-m > span { font-size: 13px; letter-spacing: -.01em; }
  .dy-m:last-child { border-right: 0; }
  .dy-days { padding-top: 88px; }
  .dy-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
  .dy-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 28px 0 0; padding: 0; overflow: visible; }
  .dy-tile { min-height: 168px; padding: 16px 16px 14px; }
  .dy-tile b { font-size: clamp(32px, 14px + 2vw, 48px); }
  .dy-tile small { font-size: 11px; }
  .dy-months { padding-top: 56px; }
  .dy-month { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 36px 0 0; border-top: 2px solid var(--txt); }
  .dy-month > header { display: block; padding: 0; border: 0; }
  .dy-month > header b { display: block; font-size: 52px; }
  .dy-month > header > span { display: block; margin-top: 10px; font-size: 12px; }
  .dy-row { grid-template-columns: 96px minmax(0, 1fr) 220px 32px; grid-template-areas: "d n t h"; column-gap: 24px; padding: 20px 0; }
  .dy-rows > .dy-row:first-child { padding-top: 0; }
  .dy-d b { font-size: 40px; }
  .dy-d span { font-size: 11px; }
  .dy-go { font-size: 26px; line-height: 1.1; letter-spacing: -.03em; }
  .dy-name p { font-size: 16px; }
  .dy-tags { align-self: start; }
  .dy-heart { width: 32px; height: 32px; margin: -4px 0 0; }
  .dy-stage { padding-top: 96px; }
  .dy-stage-group { padding: 22px 0; }
  .dy-stop { grid-template-columns: 150px minmax(0, 1fr) 220px; align-items: baseline; gap: 28px; }
  .dy-stop-name { font-size: 26px; }
  .dy-stop-where { justify-self: end; text-align: right; }
  .dy-stop + .dy-stop { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; }
  .dy-stop + .dy-stop .dy-stop-where { justify-self: start; text-align: left; }
  .dy-band { margin-top: 96px; padding: 80px 0 88px; }
  .dy-band-in { grid-template-columns: 380px minmax(0, 1fr); gap: 64px; }
  .dy-tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dy-tip { padding: 24px 0; }
  .dy-tip h3 { font-size: 26px; }
  .dy-checked { flex-direction: row; gap: 12px; align-items: baseline; padding: 48px 0 72px; }
}
