/*
 * WEB AWARDS UA (2026): «Переможці» — по макету редизайна /winners/site-of-the-year-2026/.
 * Шаблон product/category_winners_h26.tpl, скрипт javascript/h26-winners.js. Общие части (hero, карточки .h26-card, панель фильтров,
 * пагинация, SEO-текст) — h26-nominations.css. Адаптив (в макете его нет): ≤1000 — 2 колонки, без «орбиты»; ≤767 — 1 колонка.
 */
.h26-wn { padding-bottom: 65px; }
.h26-wn.h26-nm--dock { padding-bottom: 140px; }

/* hero — по центру */
.h26-wn-hero { padding-bottom: 24px; }
.h26-wn-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 0 28px; text-align: center; }
.h26-wn-hero .h26-nm-label { justify-content: center; margin: 0 !important; }
.h26-wn-hero h1 { font-size: clamp(58px, 5.1vw, 88px); letter-spacing: -.055em; line-height: 1.04; text-align: center; }
.h26-wn-hero__lead { max-width: 600px; color: var(--h26-ink); font-size: 16px; line-height: 1.8; text-align: center; }

/* секции */
.h26-wn-results { scroll-margin-top: 95px; }
.h26-wn-section { padding: 38px 0 35px; }
.h26-wn-section--main { padding-top: 0; }
.h26-wn-section[hidden] { display: none; }
.h26-wn-heading { margin-bottom: 30px; text-align: center; }
.h26-wn-heading--orbit { margin-bottom: 32px; padding-top: 8px; }
.h26-wn-heading__note { display: block; width: 100%; margin-bottom: 15px; color: var(--h26-muted); font-size: 12px; text-align: center; }
.h26-wn-heading h2 { font-size: clamp(30px, 2.8vw, 44px); letter-spacing: -.04em; line-height: 1.3; text-align: center; }
.h26-wn-section--industry .h26-wn-heading h2 { font-size: clamp(38px, 3.6vw, 58px); }

/* главные и специальные: плашка награды + карточка */
.h26-wn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; width: 100%; margin-inline: auto; }
.h26-wn-award { min-width: 0; }
.h26-wn-award[hidden], .h26-wn-cat[hidden] { display: none; }
.h26-wn-award__label {
    display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 78px; margin-bottom: 16px; padding: 17px 19px;
    border: 1px solid #e3cdee; border-radius: 12px; background: linear-gradient(115deg, #f1e4fa, #faf4fc 70%, #fff0e5);
    color: #63278d; font-family: var(--h26-mono), monospace; font-size: 17px; line-height: 1.45; text-align: center;
}
.h26-wn-section--special .h26-wn-award__label { min-height: 64px; background: linear-gradient(115deg, #f5edf9, #f8f5fb); font-size: 16px; }
.h26-wn-laurel {
    flex-shrink: 0; display: inline-block; width: 42px; height: 26px; background: #9936a5;
    -webkit-mask: url('../image/h26/winners/winner-laurel.svg') 50% 50% / contain no-repeat; mask: url('../image/h26/winners/winner-laurel.svg') 50% 50% / contain no-repeat;
}
.h26-wn-award .h26-card + .h26-card { margin-top: 28px; }

/* «орбита» (десктоп): высота задаётся скриптом, сцена липкая */
.h26-wn-orbit, .h26-wn-orbit__stage { position: relative; }
.h26-wn-orbit.is-active .h26-wn-orbit__stage { position: sticky; top: 88px; perspective: 1300px; perspective-origin: 50% 280px; }
.h26-wn-orbit.is-active .h26-wn-award { will-change: transform; backface-visibility: hidden; }
.h26-wn-orbit.is-active:not([data-settled="true"]) .h26-wn-award { pointer-events: none; }
.h26-wn-orbit.is-active .h26-card__img { box-shadow: rgba(54, 33, 68, .08) 0 16px 40px; }

/* галузеві: заголовок с орнаментами + подиум */
.h26-wn-cat { padding: 26px 0 30px; margin-top: 18px; scroll-margin-top: 95px; }
.h26-wn-cat__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 25px; }
.h26-wn-cat__head img { flex-shrink: 0; display: block; width: 25px; height: 50px; object-fit: contain; }
.h26-wn-cat__head h3 { font-size: clamp(23px, 2vw, 32px); letter-spacing: -.04em; line-height: 1.35; text-align: center; }
.h26-wn-podium { display: flex; justify-content: center; gap: 24px; }
.h26-wn-podium__card { flex: 0 0 calc(33.3333% - 16px); min-width: 0; }
.h26-wn-place {
    display: inline-flex; align-items: center; gap: 10px; min-height: 43px; margin-bottom: 16px; padding: 5px 15px;
    border: 1px solid rgba(214, 198, 221, .5); border-radius: 30px; background: #f1edf5; color: #665772;
    font-family: var(--h26-mono), monospace; font-size: 12px;
}
.h26-wn-place__n { font-size: 20px; font-weight: 500; line-height: 1; }
.place-1 .h26-wn-place { border-color: rgba(223, 194, 123, .5); background: linear-gradient(120deg, #fff5d4, #f9e9bb); color: #795010; }
.place-2 .h26-wn-place { border-color: rgba(208, 214, 223, .5); background: linear-gradient(120deg, #f4f6f9, #e7ebf1); color: #535e6e; }
.place-3 .h26-wn-place { border-color: rgba(216, 188, 165, .5); background: linear-gradient(120deg, #fbefe5, #f3e0d0); color: #815130; }

/* карточки на этой странице — без линий, подпись слева */
.h26-wn .h26-card__caption { min-height: 0; padding-top: 14px; text-align: left; }
.h26-wn .h26-card__meta { min-height: 34px; margin-top: 12px; padding-top: 0; border-top: 0; }
.h26-wn .h26-card__img { border-radius: 11px; }

/* выбранные фильтры и пустой результат */
.h26-wn-selected { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.h26-wn-selected[hidden] { display: none; }
.h26-wn-selected button { display: flex; align-items: center; gap: 13px; padding: 8px 13px; border: 1px solid #ddc8e9; border-radius: 24px; background: #f5edf9; cursor: pointer; color: #61268e; font: inherit; font-size: 12px; }
.h26-wn-selected button > span { font-size: 17px; line-height: 1; }
.h26-wn-selected .h26-wn-selected__all { border-color: transparent; background: none; text-decoration: underline; text-underline-offset: 4px; }
.h26-wn-empty { padding: 65px 0 75px; text-align: center; }
.h26-wn-empty[hidden] { display: none; }
.h26-wn-empty h2 { margin: 0 0 24px; font-size: 30px; }
.h26-wn-empty .h26-button { margin-inline: auto; }

@media (max-width: 1350px) {
    .h26-wn-award__label { gap: 10px; padding: 15px; font-size: 15px; }
    .h26-wn-grid { gap: 35px 20px; }
    .h26-wn-podium { gap: 20px; }
    .h26-wn-podium__card { flex-basis: calc(33.3333% - 13.3333px); }
}
@media (max-width: 1000px) {
    .h26-wn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h26-wn-podium { flex-wrap: wrap; }
    .h26-wn-podium__card { flex-basis: calc(50% - 10px); }
}
@media (max-width: 767px) {
    .h26-wn-hero h1 { font-size: clamp(42px, 12vw, 58px); }
    .h26-wn-hero__lead { font-size: 15px; }
    .h26-wn-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .h26-wn-podium__card { flex-basis: 100%; }
    .h26-wn-award__label { min-height: 60px; font-size: 15px; }
    .h26-wn-cat__head { gap: 10px; }
    .h26-wn-cat__head img { width: 18px; height: 36px; }
}

/* Старые стили сайта: html/body { overflow-x: hidden; overflow-y: auto } делают body контейнером прокрутки, и position: sticky
   у сцены «орбиты» не срабатывает. На этой странице — clip (обрезка по горизонтали та же, но без контейнера прокрутки). */
html:has(.h26-wn), body:has(.h26-wn) { overflow-x: clip !important; overflow-y: visible !important; }
/* старые стили задают шрифт всем span — в плашках и местах наследуем шрифт блока; названия работ — моноширинные, как в макете */
.h26-wn .h26-wn-award__label span, .h26-wn .h26-wn-place span, .h26-wn .h26-wn-selected span { font: inherit; }
.h26-wn .h26-card__title h3 { font-family: var(--h26-mono), monospace; font-size: 17px; font-weight: 500; letter-spacing: -.035em; line-height: 1.45; }
.h26-wn .h26-wn-place .h26-wn-place__n { font-size: 20px; font-weight: 500; line-height: 1; }
/* нижний отступ перед футером — меньше (владелец 2026-11-11): у последнего блока без собственного низа, запас под панель фильтров меньше */
.h26-wn.h26-nm--dock { padding-bottom: 56px; }
.h26-wn-results > .h26-wn-section:last-of-type { padding-bottom: 0; }
.h26-wn-section--industry .h26-wn-cat:last-child { padding-bottom: 0; }

/* Корень «Переможці» — список лет (2026-11-18) */
.h26-wy-list { padding-bottom: 72px; }
.h26-wy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.h26-wy-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px 24px 24px; border-radius: 24px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(105, 40, 156, .12); color: #323232; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.h26-wy-card:hover, .h26-wy-card:focus-visible { transform: translateY(-3px); border-color: rgba(105, 40, 156, .35); box-shadow: 0 16px 36px rgba(105, 40, 156, .14); }
.h26-wy-card__year { font-family: 'h26mono', monospace; font-size: 48px; line-height: 1; font-weight: 500; background: linear-gradient(115deg, #69289c 0%, #8a2fab 50%, #ad3f9c 78%, #f9783c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h26-wy-card__n { font-size: 16px; color: #666; }
.h26-wy-card__cta { margin-top: auto; padding-top: 12px; font-size: 15px; color: #69289c; }
@media (max-width: 600px) { .h26-wy-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .h26-wy-card { padding: 20px 16px; } .h26-wy-card__year { font-size: 36px; } }
