/* Новогодний слой посадочных (подборки «Рождество и Новый год» и их стихи):
   заголовки PT Serif, карточки-открытки, тихий снег (season.js). Шрифт PT Serif — SIL OFL,
   файлы в /fonts/. Страница с этим слоем помечена body.season-page. */
@font-face { font-family: 'PT Serif'; font-weight: 400; font-style: normal; src: url('/fonts/PTSerif-Regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'PT Serif'; font-weight: 700; font-style: normal; src: url('/fonts/PTSerif-Bold.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'PT Serif'; font-weight: 400; font-style: italic; src: url('/fonts/PTSerif-Italic.woff2') format('woff2'); font-display: swap; }

body.season-page { --season-serif: 'PT Serif', 'Iowan Old Style', Palatino, Georgia, serif; --season-accent: #ff5816; }

/* Снег: слой лежит под текстом (z-index -1), фон страницы — у корня, поэтому его не закрывает */
.season-fx { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.season-flake { position: absolute; left: 0; top: 0; line-height: 1; will-change: transform; }

/* Страница стиха: заголовок с засечками */
/* (заголовок с засечками теперь на всех страницах стихов, см. конец ui-kit.css) */

/* Подборка */
body.season-page .lp-wrap { max-width: 880px; }
.season-kicker { color: var(--season-accent); letter-spacing: .12em; font-size: 13px; margin-top: 4px; }
.lp-h1.season-h1 { font-family: var(--season-serif); font-weight: 400; font-size: clamp(36px, 7vw, 60px); line-height: 1.06; letter-spacing: -.012em; margin-top: 14px; }
.season-h1 .sub { display: block; margin-top: 10px; font-size: .5em; font-style: italic; font-weight: 400; color: var(--lp-muted); letter-spacing: 0; }

.season-index ul { list-style: none; margin: 34px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 520px; margin-left: auto; margin-right: auto; }
@media (min-width: 820px) { .season-index ul { grid-template-columns: 1fr 1fr; max-width: none; gap: 30px 28px; } }
.season-index li { margin: 0; border: 0; padding: 0; }
.season-index li a.card { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 24px 24px 20px; box-sizing: border-box;
  background: #fff; color: var(--lp-ink); text-decoration: none; border: 1px solid #e3e2dc; border-radius: 14px;
  box-shadow: 5px 5px 0 var(--lp-ink); transition: transform .28s ease, box-shadow .28s ease; }
.season-index li:nth-child(odd) a.card { transform: rotate(-1.1deg); }
.season-index li:nth-child(even) a.card { transform: rotate(.9deg); }
.season-index li a.card:hover, .season-index li a.card:focus-visible { transform: rotate(0) translateY(-4px); box-shadow: 7px 10px 0 var(--lp-ink); }
.card .mark { position: absolute; right: 18px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px dashed var(--season-accent); border-radius: 50%; color: var(--season-accent); font-size: 14px; line-height: 1; }
.card h3 { margin: 0 44px 0 0; font: 700 22px/1.18 var(--season-serif); }
.card .who { font: italic 400 15px/1.3 var(--season-serif); color: var(--lp-muted); }
.card .lines { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.5; }
.card .gap { display: inline-block; width: 3.4em; height: 3px; margin: 0 .3em; vertical-align: middle; border-radius: 2px; background: #cfcdc4; }
.card .go { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--season-accent); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.card:hover .go, .card:focus-visible .go { opacity: 1; transform: none; }
@media (hover: none) { .card .go { opacity: 1; transform: none; } }
.card:focus-visible { outline: 2px solid var(--season-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .season-index li a.card, .card .go { transition: none; } }
