/* =========================================================================
   Сайт Sambo Europe — редизайн 2026: современный спортивный стиль.
   Токены и принципы — DESIGN.md.
   ========================================================================= */

:root {
  --dark: #14234b;
  --dark-2: #203366;
  --brand: #273d8d;
  --brand-2: #344fa8;
  --brand-50: #eff2fa;
  --brand-100: #e2e8f5;
  --accent: #d12936;
  --accent-50: #fce9eb;
  --red: #d12936;
  --green: #12a150;
  --ink: #15213a;
  --muted: #5b667d;
  --line: #e1e6ef;
  --bg: #f5f7fb;
  --card: #fff;

  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(20, 35, 75, .06), 0 2px 8px rgba(20, 35, 75, .04);
  --sh-2: 0 12px 32px rgba(20, 35, 75, .12);

  --font-head: 'Unbounded', 'Arial Black', Arial, sans-serif;
  --font: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --mainbar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mainbar-h) + 16px); }
body { margin: 0; min-width: 320px; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { margin: 0; padding: 0; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
svg { fill: currentColor; }
input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ws { width: 1240px; max-width: calc(100% - 48px); margin: 0 auto; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; padding: 10px 14px; border-radius: var(--r-sm); background: var(--card); }
.skip-link:focus { left: 10px; top: 10px; }
.main { display: block; min-height: 40vh; padding-bottom: 72px; }
.empty { padding: 20px 0; color: var(--muted); }

/* ------------------------------------------------------------------ Кнопки, метки, заголовки */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: var(--r-pill); background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; line-height: 1;
  cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s;
}
.button:hover { background: var(--brand-2); box-shadow: 0 6px 16px rgba(39, 61, 141, .28); }
.button svg { width: 16px; height: 16px; flex: none; }
.button--big { height: 48px; padding: 0 26px; font-size: 15px; }
.button--more { border: 1px solid var(--line); background: var(--card); color: var(--heading); box-shadow: var(--sh-1); }
.button--more:hover { background: var(--brand-50); box-shadow: var(--sh-1); }
.button.is-loading { opacity: .6; pointer-events: none; }
.button:disabled { opacity: .6; cursor: default; }
.more { display: flex; justify-content: center; margin-top: 36px; }

.label {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  background: var(--brand-50); background: color-mix(in srgb, var(--c, #273d8d) 14%, #fff);
  color: var(--heading); font-weight: 700; font-size: 12px; line-height: 1; white-space: nowrap;
}
.label::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--brand)); }
a.label:hover { background: color-mix(in srgb, var(--c, #273d8d) 24%, #fff); }

.b-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; color: var(--heading); }
.b-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 auto 24px; }
.b-head__right { display: flex; align-items: center; gap: 18px; }
.b-head__all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--link); white-space: nowrap; }
.b-head__all::after { content: '→'; transition: transform .2s; }
.b-head__all:hover::after { transform: translateX(3px); }
.arrows { display: flex; gap: 8px; }
.arrows__btn {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--heading); box-shadow: var(--sh-1); transition: background .2s, color .2s, opacity .2s;
}
.arrows__btn svg { width: 18px; height: 18px; }
.arrows__btn:hover { background: var(--dark); color: #fff; }
.arrows__btn:disabled { opacity: .35; cursor: default; background: var(--card); color: var(--heading); }
.is-static .arrows { display: none; }

.page-title { margin: 8px 0 24px; font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 1.15; letter-spacing: -.015em; color: var(--heading); overflow-wrap: anywhere; }
.page-intro { max-width: 860px; margin: -8px 0 22px; font-size: 16px; color: var(--muted); }
.page-image { display: block; width: 100%; height: auto; margin-bottom: 24px; border-radius: var(--r-lg); }

/* ------------------------------------------------------------------ Полоса утилит */

.topbar { background: var(--dark); color: #fff; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar__res { display: flex; align-items: center; gap: 22px; min-width: 0; overflow: hidden; }
.topbar__res a { font-weight: 600; color: rgba(255, 255, 255, .78); white-space: nowrap; transition: color .2s; }
.topbar__res a:hover { color: var(--accent); }
.topbar__right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.topbar__link { font-weight: 700; color: #fff; white-space: nowrap; }
.topbar__link:hover { color: var(--accent); }
.topbar__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s;
}
.topbar__btn svg { width: 14px; height: 14px; flex: none; }
.topbar__btn:hover { background: var(--accent); color: #fff; }
.topbar__btn--accent { background: var(--accent); color: #fff; }
.topbar__btn--accent:hover { background: var(--card); }

.social { display: flex; align-items: center; gap: 2px; }
.social__link { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: rgba(255, 255, 255, .8); transition: background .2s, color .2s; }
.social__link svg { width: 16px; height: 16px; }
.social__link:hover { background: var(--accent); color: #fff; }

.lang { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); }
.lang__item { display: flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: var(--r-pill); font-weight: 700; font-size: 12px; color: rgba(255, 255, 255, .8); }
.lang__item.is-active { background: var(--card); color: var(--heading); }
.lang__item:not(.is-active):hover { color: #fff; background: rgba(255, 255, 255, .12); }

/* ------------------------------------------------------------------ Липкая шапка */

.mainbar { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .25s; }
.mainbar.is-scrolled { box-shadow: 0 6px 24px rgba(20, 35, 75, .08); }
.mainbar__inner { display: flex; align-items: center; gap: 16px; height: var(--mainbar-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; color: var(--heading); }
.logo__img { display: block; width: 50px; height: 50px; }
.logo__text { max-width: 180px; font-family: var(--font-head); font-weight: 700; font-size: 12px; line-height: 1.2; letter-spacing: .01em; }
.burger { display: none; }
.search-btn { display: flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-50); color: var(--heading); transition: background .2s, color .2s; }
.search-btn svg { width: 18px; height: 18px; }
.search-btn:hover, .search-btn[aria-expanded="true"] { background: var(--dark); color: #fff; }
.searchbar { border-top: 1px solid var(--line); background: var(--card); }
.searchbar__inner { display: flex; gap: 10px; padding: 14px 0; }
.searchbar__input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--r-pill); outline: 0; background: var(--bg); font-size: 15px; color: var(--ink); }
.searchbar__input:focus { border-color: var(--brand); background: var(--card); box-shadow: 0 0 0 4px rgba(39, 61, 141, .12); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; height: 42px; padding: 0 9px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; color: var(--heading); white-space: nowrap; transition: background .2s, color .2s; }
.nav__item.has-sub > .nav__link::after { content: ''; width: 6px; height: 6px; margin: -3px 0 0 5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; opacity: .45; transform: rotate(45deg); }
.nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { background: var(--brand-50); }
.nav__item.is-active > .nav__link { background: var(--dark); color: #fff; }
.nav__toggle { display: none; }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 100; min-width: 260px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:nth-last-child(-n+3) > .nav__sub { left: auto; right: 0; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub-item { position: relative; }
.nav__sub-item--parent { display: none; }
.nav__sub-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--ink); }
.nav__sub-link:hover { background: var(--brand-50); color: var(--link); }
.nav__sub-item.has-sub > .nav__sub-link::after { content: '›'; font-size: 18px; line-height: 1; color: var(--muted); }
.nav__sub2 { position: absolute; top: -9px; left: calc(100% + 8px); display: none; min-width: 250px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); box-shadow: var(--sh-2); }
.nav__sub2::before { content: ''; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; }
.nav__item:nth-last-child(-n+3) .nav__sub2 { left: auto; right: calc(100% + 8px); }
.nav__item:nth-last-child(-n+3) .nav__sub2::before { left: auto; right: -10px; }
.nav__sub-item:hover > .nav__sub2, .nav__sub-item:focus-within > .nav__sub2 { display: block; }
.nav__extra { display: none; }

/* Логотип + меню + поиск занимают почти весь контейнер 1240px; на узких десктопах остаётся только эмблема */
@media (min-width: 1181px) and (max-width: 1279px) {
  .logo__text { display: none; }
}

/* ------------------------------------------------------------------ Хлебные крошки, колонки */

.crumbs { padding: 28px 0 6px; }
.crumbs__list { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs__item { font-weight: 600; font-size: 13px; color: var(--muted); }
.crumbs__item + .crumbs__item::before { content: '/'; margin: 0 8px; color: #b6bad2; }
.crumbs__item a:hover { color: var(--link); }

.cols { display: flex; align-items: flex-start; gap: 28px; }
.cols__main { flex: 1 1 auto; min-width: 0; padding: 32px 36px 36px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.cols__main > .page-title:first-child { margin-top: 0; }
.cols__side { flex: 0 0 340px; min-width: 0; }

.side { display: grid; gap: 20px; }
.side__block { margin: 0; padding: 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.side__block > .b-title { margin-bottom: 16px; font-size: 17px; }
.side__all { display: inline-flex; margin-top: 14px; }
.side-promo { display: block; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-1); transition: transform .25s, box-shadow .25s; }
.side-promo:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.side-promo img { display: block; width: 100%; height: auto; }

.band { padding: 0; }
.band .page-title { margin-bottom: 18px; }
.band--gray { padding: 20px 0 0; }

/* ------------------------------------------------------------------ Главная: слайдер */

.hero { padding: 28px 0 0; }
.hero__desk { position: relative; }
.hero__viewport { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.hero__track { display: flex; transition: transform .7s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.hero__slide { display: grid; flex: 0 0 100%; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 20px; height: 520px; }
.hero__slide > .tile--big { height: 100%; }
.hero__track.no-anim, .hero__track.no-anim .hero__slide { transition: none !important; }
.hero__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; min-height: 0; }
.hero__ctrl { position: absolute; right: calc((100% - 20px) / 3 + 44px); bottom: 32px; z-index: 5; display: flex; align-items: center; gap: 10px; }
.hero__arrow {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; transition: background .2s, color .2s;
}
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow:hover { background: var(--card); color: var(--heading); }
.hero__dots { display: flex; gap: 6px; margin: 0 4px; }
.hero__dot { width: 8px; height: 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .5); transition: width .3s, background .3s; }
.hero__dot.is-active { width: 26px; background: var(--accent); }
.hero__mob { display: none; position: relative; }

.tile { position: relative; isolation: isolate; display: block; overflow: hidden; border-radius: var(--r-lg); background: var(--dark); color: #fff; }
.tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 35, 75, 0) 30%, rgba(20, 35, 75, .9) 100%); }
.tile:hover .tile__img { transform: scale(1.04); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 36px; }
.hero__desk .tile--big .tile__body { padding-right: 240px; }
.tile__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.tile .label { background: rgba(255, 255, 255, .95); }
.tile__date { font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, .85); }
.tile__title { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; }
.tile--big .tile__title { max-width: 760px; font-size: 32px; line-height: 1.15; }
.tile--small .tile__body, .tile--mid .tile__body { padding: 18px 20px; }
.tile--small .tile__title, .tile--mid .tile__title { font-size: 17px; line-height: 1.25; }

.mini { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); transition: box-shadow .25s, transform .25s; }
.mini:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.mini__img { display: block; flex: 1 1 0; width: 100%; min-height: 0; object-fit: cover; object-position: center 40%; background: var(--brand-100); }
.mini__body { display: flex; flex: none; flex-direction: column; gap: 8px; padding: 14px 18px 16px; }
.mini__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; color: var(--muted); }
.mini__title { display: -webkit-box; overflow: hidden; font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--heading); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.mini:hover .mini__title { color: var(--link); }

/* Горячие новости */
.hot { padding: 20px 0 0; }
.hot__inner { display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 10px; border-radius: var(--r-pill); background: var(--card); box-shadow: var(--sh-1); }
.hot__label { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: var(--red); color: #fff; font-weight: 800; font-size: 13px; }
.hot__label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--card); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.hot__list { position: relative; flex: 1; min-width: 0; height: 24px; }
.hot__item { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; overflow: hidden; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .4s, transform .4s, visibility .4s; }
.hot__item.is-active { opacity: 1; visibility: visible; transform: none; }
.hot__date { flex: none; font-weight: 700; font-size: 13px; color: var(--muted); }
.hot__link { overflow: hidden; text-overflow: ellipsis; font-weight: 700; font-size: 15px; color: var(--heading); }
.hot__link:hover { color: var(--link); }
.hot__ctrl { display: flex; flex: none; gap: 6px; }
.hot__ctrl button { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-50); color: var(--heading); transition: background .2s, color .2s; }
.hot__ctrl button:hover { background: var(--dark); color: #fff; }
.hot__ctrl svg { width: 16px; height: 16px; }

/* Быстрые ссылки */
.links-grid-wrap { padding: 20px 0 0; }
.links-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.links-grid__item {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--card); box-shadow: var(--sh-1); color: var(--heading); font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.links-grid__item::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand)); }
.links-grid__item::after { content: '↗'; font-size: 13px; color: var(--muted); transition: transform .2s, color .2s; }
.links-grid__item:hover { border-color: var(--c, var(--brand)); box-shadow: var(--sh-2); transform: translateY(-2px); }
.links-grid__item:hover::after { color: var(--heading); transform: translate(2px, -2px); }

/* ------------------------------------------------------------------ Главная: события */

.home-events { padding: 64px 0 0; }
.home-events__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.home-events__main, .home-events__side { min-width: 0; padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.home-events .b-head { margin-bottom: 20px; }
.home-events .b-title { font-size: 22px; }
.home-events__row { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.home-events__feed { min-width: 0; }

.efeed__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.efeed__item:first-child { padding-top: 0; }
.efeed__item:last-child { padding-bottom: 0; border-bottom: 0; }
.efeed__date { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--heading); font-weight: 800; font-size: 12px; white-space: nowrap; }
.efeed__place { display: block; margin-bottom: 2px; font-weight: 700; font-size: 12px; color: var(--link); }
.efeed__link { font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--ink); }
.efeed__link:hover { color: var(--link); }
.side-banner { display: block; overflow: hidden; margin-top: 22px; border-radius: var(--r); }
.side-banner img { display: block; width: 100%; height: auto; transition: transform .4s; }
.side-banner:hover img { transform: scale(1.03); }

.reg-card { position: relative; overflow: hidden; border-radius: var(--r-lg); background: radial-gradient(120% 90% at 100% 0%, var(--brand-2) 0%, var(--dark-2) 45%, var(--dark) 100%); color: #fff; box-shadow: var(--sh-2); }
.reg-card::before { content: ''; position: absolute; top: -70px; right: -70px; width: 220px; height: 220px; border: 28px solid rgba(209, 41, 54, .16); border-radius: 50%; }
.reg-card__top { position: relative; padding: 24px 24px 8px; }
.reg-card__title { display: block; margin-bottom: 14px; font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.25; color: #fff; }
.reg-card__title:hover { color: var(--accent); }
.reg-card__place { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.reg-card__place span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .12); font-weight: 700; font-size: 12px; }
.reg-card__middle { position: relative; padding: 4px 24px 20px; }
.reg-card__caption { display: block; margin: 10px 0; font-weight: 600; font-size: 13px; color: rgba(255, 255, 255, .75); }
.reg-card__bottom { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 24px 24px; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); }
.reg-card__cta { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.reg-card__cta svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.reg-card__btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; transition: background .2s; }
.reg-card__btn:hover { background: var(--card); }

.countdown { display: flex; gap: 8px; }
.countdown__group { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.countdown__digits { display: flex; justify-content: center; width: 100%; min-height: 52px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-family: var(--font-head); font-weight: 700; font-size: 26px; line-height: 52px; color: var(--accent); font-variant-numeric: tabular-nums; }
.countdown__digits i { width: .82em; font-style: normal; text-align: center; }
.countdown__label { font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.countdown--small .countdown__digits { min-height: 44px; font-size: 22px; line-height: 44px; }

.wide-banner { padding: 64px 0 0; }
.wide-banner a { display: block; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.wide-banner img { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------------ Главная: новости, статьи */

.home-posts { padding: 64px 0 0; }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.split__main, .split__side { min-width: 0; }
.split__side { padding: 22px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.card__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--brand-100); }
.card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px 18px 20px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.card__date { font-weight: 600; font-size: 12px; color: var(--muted); }
.card__title { font-weight: 800; font-size: 16px; line-height: 1.35; color: var(--heading); }
.card__title:hover { color: var(--link); }

.feed__item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.feed__item:first-child { padding-top: 0; }
.feed__item:last-child { padding-bottom: 0; border-bottom: 0; }
.feed__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.feed__top--left { justify-content: flex-start; }
.feed__date { font-weight: 600; font-size: 12px; color: var(--muted); white-space: nowrap; }
.feed__link { display: block; font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--ink); }
.feed__link:hover { color: var(--link); }

/* ------------------------------------------------------------------ Галереи */

.home-gallery { padding: 64px 0 0; overflow: hidden; }
.home-gallery--dark { margin-top: 64px; padding: 56px 0 60px; background: var(--dark); }
.home-gallery--dark .b-title { color: #fff; }
.home-gallery--dark .b-head__all { color: var(--accent); }
.home-gallery--dark .arrows__btn { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.home-gallery--dark .arrows__btn:hover { background: var(--accent); color: #fff; }
.home-gallery--dark .arrows__btn:disabled { background: rgba(255, 255, 255, .08); color: #fff; }
.home-gallery--dark + .home-gallery { padding-top: 64px; }

.carousel {
  --pad: max(24px, calc((100% - 1240px) / 2));
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px var(--pad) 12px; scroll-padding: 0 var(--pad);
}
.carousel::-webkit-scrollbar, .logos__track::-webkit-scrollbar, .hero__mob-track::-webkit-scrollbar, .links-grid::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 300px; scroll-snap-align: start; }

.gitem { display: block; min-width: 0; }
.gitem__img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--brand-100); }
.gitem--video .gitem__img { aspect-ratio: 16 / 9; }
.gitem__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gitem__img:hover img { transform: scale(1.06); }
.gitem--video .gitem__img::before {
  content: ''; position: absolute; left: 50%; top: 50%; z-index: 1; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: #d12936 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231b1f4b' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 22px no-repeat;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transition: transform .2s;
}
.gitem--video .gitem__img:hover::before { transform: scale(1.08); }
.gitem__hover { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 14px; background: linear-gradient(180deg, transparent 40%, rgba(20, 35, 75, .7)); opacity: 0; transition: opacity .25s; }
.gitem__hover span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--card); color: var(--heading); font-weight: 700; font-size: 13px; }
.gitem__hover svg { width: 14px; height: 14px; }
.gitem__img:hover .gitem__hover, .gitem__img:focus-visible .gitem__hover { opacity: 1; }
.gitem--video .gitem__hover { display: none; }
.gitem__bar { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gitem__date, .gitem__count { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); color: var(--heading); font-weight: 700; font-size: 12px; }
.gitem__count svg { width: 14px; height: 14px; }
.gitem__title { display: block; margin-top: 12px; font-weight: 800; font-size: 15px; line-height: 1.35; color: var(--heading); }
.gitem__title:hover { color: var(--link); }
.gitem--dark .gitem__title { color: #fff; }
.gitem--dark .gitem__title:hover { color: var(--accent); }
.gitem__subdate { display: block; margin-top: 4px; font-weight: 600; font-size: 12px; color: var(--muted); }

.galgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.gallery-page { padding: 20px 0 0; }
.photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.photos__item { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r-sm); background: var(--brand-100); }
.photos__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photos__item:hover img { transform: scale(1.05); }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 20px; }
.meta-line span { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--heading); font-weight: 700; font-size: 13px; }
.meta-line svg { width: 15px; height: 15px; }
.video-page { max-width: 960px; }
.video-player { margin-bottom: 22px; }
.video-player .c-video { overflow: hidden; border-radius: var(--r-lg); }
.related { margin: 48px 0 0; }
.related .b-title { margin-bottom: 20px; font-size: 22px; }

/* ------------------------------------------------------------------ Национальные федерации */

.fedblock { padding: 64px 0 0; }
.fedblock__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; padding: 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.fedblock__map { padding: 10px; border-radius: var(--r); background: var(--brand-50); }
.fedblock__lead { margin: 6px 0 16px; font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 1.3; color: var(--heading); }
.flaglist { columns: 3; column-gap: 12px; }
.flaglist li { margin-bottom: 4px; break-inside: avoid; }
.flaglist a { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--ink); }
.flaglist a:hover { background: var(--brand-50); color: var(--link); }
.fedblock__cand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.fedblock__cand a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.fedblock__cand a:hover { color: var(--link); }

.flag-round { display: inline-block; flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.flag-round--sm { width: 20px; height: 20px; }
.flag-round--empty { background: var(--brand-100); }
.dot { display: inline-block; flex: none; width: 14px; height: 14px; margin-right: 10px; border-radius: 4px; background: #dde0f4; }
.dot--member { background: var(--brand); }
.dot--candidate { background: var(--accent); }

.emap { display: block; width: 100%; height: auto; }
.emap__c { fill: #d9dcf0; stroke: #fff; stroke-width: .25; stroke-linejoin: round; }
.emap__c--member { fill: var(--brand); transition: fill .2s; }
.emap__c--candidate { fill: var(--accent); transition: fill .2s; }
.emap__link:hover .emap__c--member, .emap__link:focus-visible .emap__c--member { fill: var(--dark); }
.emap__link:hover .emap__c--candidate, .emap__link:focus-visible .emap__c--candidate { fill: #ff8b62; }
.emap__link:focus { outline: none; }
.emap__link:focus-visible path { stroke: var(--red); stroke-width: .9; }

.fedmap { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; margin: 0 0 36px; padding: 20px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.fedmap__map { padding: 10px; border-radius: var(--r); background: var(--brand-50); }
.fedmap__side { padding-top: 8px; }
.fedmap__legend li { display: flex; align-items: center; margin-bottom: 10px; font-weight: 700; font-size: 14px; color: var(--heading); }
.fedmap__hint { margin: 16px 0; font-size: 14px; color: var(--muted); }
.fedmap__credit { font-size: 12px; color: var(--muted); }
.fedmap__credit a { color: var(--link); }

.fed-list .people-title:first-child { margin-top: 0; }
.fedcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.fedcard { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .2s, box-shadow .2s, transform .2s; }
.fedcard:hover { border-color: var(--brand-100); box-shadow: var(--sh-2); transform: translateY(-2px); }
.fedcard__flag { flex: none; width: 48px; height: 36px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.fedcard__text { display: flex; flex-direction: column; min-width: 0; }
.fedcard__country { font-weight: 800; font-size: 15px; color: var(--heading); }
.fedcard--candidate .fedcard__country::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.fedcard__name { font-size: 12.5px; line-height: 1.35; color: var(--muted); }

.fed-head { display: flex; align-items: center; gap: 20px; margin: 0 0 24px; }
.fed-head__flag { flex: none; width: 88px; height: 66px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.fed-head__text { flex: 1; min-width: 0; }
.fed-head .page-title { margin: 0 0 10px; font-size: 28px; }
.fed-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); }
.fed-head__country { font-weight: 700; color: var(--ink); }
.fed-head__logo { flex: none; max-width: 110px; max-height: 90px; }
.fed-status { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; }
.fed-status--candidate { background: var(--accent); color: #fff; }
.fed-president { display: inline-flex; flex-direction: column; gap: 2px; margin-bottom: 26px; padding: 14px 20px; border-left: 4px solid var(--accent); border-radius: var(--r); background: var(--accent-50); }
.fed-president span { font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.fed-president b { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--heading); }
.fed-body { margin: 20px 0; }
.fed-others { columns: 2; column-gap: 12px; }
.fed-others li { margin-bottom: 4px; break-inside: avoid; }
.fed-others a { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.fed-others a:hover { background: var(--brand-50); color: var(--link); }
.fed-others small { font-weight: 700; font-size: 11px; color: #98212c; }

/* ------------------------------------------------------------------ Подписка, партнёры */

.subscribe { padding: 64px 0 0; }
.subscribe__inner {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: center;
  padding: 40px 44px; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 60%, var(--brand) 130%); color: #fff;
}
.subscribe__inner::before { content: ''; position: absolute; right: -80px; bottom: -130px; z-index: -1; width: 320px; height: 320px; border: 40px solid rgba(209, 41, 54, .14); border-radius: 50%; }
.subscribe__inner::after { content: ''; position: absolute; top: -90px; right: 160px; z-index: -1; width: 180px; height: 180px; border-radius: 50%; background: rgba(46, 99, 240, .35); filter: blur(12px); }
.subscribe__caption { display: flex; align-items: center; gap: 18px; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.3; }
.subscribe__caption b { display: block; font-weight: 700; font-size: 26px; color: var(--accent); }
.subscribe__icon { flex: none; width: 56px; height: 56px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .1); color: var(--accent); }
.subscribe__form { display: flex; gap: 8px; padding: 6px; border-radius: var(--r-pill); background: var(--card); }
.subscribe__input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 0; border-radius: var(--r-pill); outline: 0; font-size: 15px; color: var(--ink); }
.subscribe__btn { flex: none; height: 46px; padding: 0 22px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; transition: background .2s; }
.subscribe__btn:hover { background: #b3212d; }
.subscribe__msg { grid-column: 2; font-weight: 700; color: #fff; }
.subscribe__msg:empty { display: none; }
.subscribe__msg.is-error { color: var(--accent); }

.sponsors { padding: 64px 0 0; }
.sponsors--general + .sponsors { padding-top: 20px; }
.sponsors__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.sponsor { display: flex; flex: 1 1 280px; flex-direction: column; align-items: center; gap: 16px; max-width: 400px; padding: 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); text-align: center; }
.sponsors--general .sponsor { flex-basis: 100%; max-width: 640px; }
.sponsor .b-title { font-family: var(--font); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sponsor__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 90px; transition: transform .25s; }
.sponsor__logo:hover { transform: scale(1.03); }
.sponsor__logo img { width: auto; max-width: 100%; max-height: 80px; }
.sponsor__logo--big { height: 110px; }
.sponsor__logo--big img { max-height: 100px; }
.sponsor__logo span { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--heading); }

.logos { padding: 64px 0 0; }
.logos__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; }
.logos__item {
  display: flex; flex: 0 0 calc((100% - 70px) / 6); align-items: center; justify-content: center; height: 96px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); scroll-snap-align: start; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s, box-shadow .25s;
}
.logos__item:hover { filter: none; opacity: 1; box-shadow: var(--sh-2); }
.logos__item img { width: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.logos__item span { font-weight: 700; color: var(--muted); text-align: center; }

/* ------------------------------------------------------------------ Подвал */

.footer { background: var(--dark); color: rgba(255, 255, 255, .78); font-size: 14px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2.8fr); gap: 48px; padding: 56px 0 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer__logo img { width: 56px; height: 56px; }
.footer__logo span { font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 1.25; }
.footer__desc { font-size: 13px; line-height: 1.6; }
.footer__desc p { margin: 0 0 8px; }
.footer__desc a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer__desc a:hover { color: var(--accent); }
.footer__side { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer .social { gap: 6px; }
.footer .social__link { width: 36px; height: 36px; background: rgba(255, 255, 255, .08); color: #fff; }
.footer .social__link:hover { background: var(--accent); color: #fff; }
.footer__contacts { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; font-size: 13px; transition: background .2s, color .2s; }
.footer__contacts:hover { background: var(--accent); color: #fff; }
.footer__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.footer__item { min-width: 0; }
.footer__link { display: block; margin-bottom: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: #fff; }
.footer__link:hover { color: var(--accent); }
.footer__sub li { margin-bottom: 6px; }
.footer__sub a { font-size: 13px; color: rgba(255, 255, 255, .68); }
.footer__sub a:hover { color: #fff; text-decoration: underline; }
.footer__copy { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.footer__copy .ws { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

.scroll-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 1400; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--dark); color: #fff; box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--brand); }
.scroll-top svg { width: 20px; height: 20px; }

.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; max-width: 780px; margin: 0 auto; border-radius: var(--r-lg); background: var(--dark); color: #fff; box-shadow: var(--sh-2); }
.cookies__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px 14px 22px; }
.cookies__text { font-size: 13.5px; }
.cookies__text a { color: var(--accent); text-decoration: underline; }
.cookies__btn { flex: none; height: 38px; padding: 0 18px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-weight: 800; font-size: 13px; transition: background .2s; }
.cookies__btn:hover { background: var(--card); }

/* ------------------------------------------------------------------ Фильтры, рубрики */

.archive { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.archive__title { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--heading); }
.archive__title svg { width: 16px; height: 16px; color: var(--link); }
.archive__field { display: flex; align-items: center; gap: 8px; }
.archive__label { font-weight: 600; font-size: 13px; color: var(--muted); }
.select { position: relative; display: inline-block; }
.select select { height: 38px; min-width: 140px; padding: 0 38px 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; appearance: none; -webkit-appearance: none; }
.select::after { content: ''; position: absolute; top: 50%; right: 16px; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--dark); border-bottom: 2px solid var(--dark); transform: rotate(45deg); pointer-events: none; }
.select select:focus { border-color: var(--brand); outline: 0; box-shadow: 0 0 0 4px rgba(39, 61, 141, .12); }
.archive__field--wide select { min-width: 240px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); color: var(--heading); font-weight: 700; font-size: 13px; transition: border-color .2s, background .2s, color .2s; }
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--dark)); }
.chip:hover { border-color: var(--c, var(--dark)); }
.chip.is-active { border-color: var(--dark); background: var(--dark); color: #fff; }
.chip--all::before { display: none; }

/* ------------------------------------------------------------------ Материал */

.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -10px 0 22px; }
.post__date { font-weight: 600; font-size: 13px; color: var(--muted); }
.post__author { font-weight: 700; font-size: 13px; color: var(--muted); }
.post__author::before { content: '·'; margin-right: 10px; }
.post__image { display: block; width: 100%; height: auto; margin-bottom: 24px; border-radius: var(--r-lg); }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 0; }
.tags__title { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; color: var(--heading); }
.tags__title svg { width: 14px; height: 14px; color: var(--link); }
.tags__item { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--link); font-weight: 600; font-size: 13px; transition: background .2s, color .2s; }
.tags__item:hover { background: var(--brand); color: #fff; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.share__title { margin-right: 6px; font-weight: 800; font-size: 13px; color: var(--heading); }
.share__link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--heading); transition: background .2s, color .2s; }
.share__link svg { width: 16px; height: 16px; }
.share__link--vk:hover { background: #0077ff; color: #fff; }
.share__link--tg:hover { background: #2aa3df; color: #fff; }
.share__link--fb:hover { background: #1877f2; color: #fff; }
.share__link--tw:hover { background: #000; color: #fff; }
.share__link--copy:hover { background: var(--brand); color: #fff; }
.share__link.is-copied { background: var(--green); color: #fff; }

/* ------------------------------------------------------------------ Документы */

.docs { display: grid; gap: 10px; margin: 0 0 28px; }
.docs__group { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: box-shadow .2s, border-color .2s; }
.docs__group.is-open { border-color: var(--brand-100); box-shadow: var(--sh-1); }
.docs__title { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 16px 14px 20px; font-weight: 800; font-size: 15px; line-height: 1.35; color: var(--heading); text-align: left; transition: background .2s; }
.docs__title svg { flex: none; width: 32px; height: 32px; margin-left: 16px; padding: 8px; border-radius: 50%; background: var(--brand-50); color: var(--link); transition: transform .25s, background .2s, color .2s; }
.docs__title:hover { background: var(--brand-50); }
.docs__group.is-open > .docs__title svg { background: var(--brand); color: #fff; transform: rotate(180deg); }
.docs__body { display: none; padding: 2px 20px 16px; }
.docs__group.is-open > .docs__body { display: block; }
.docs__item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.docs__item:first-child { border-top: 0; }
.docs__icon { --dc: var(--red); position: relative; display: flex; flex: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: #ffecef; background: color-mix(in srgb, var(--dc) 12%, #fff); color: var(--dc); }
.docs__icon svg { width: 20px; height: 20px; }
.docs__icon i { position: absolute; right: -5px; bottom: -4px; padding: 1px 4px; border-radius: 4px; background: var(--dc); color: #fff; font-style: normal; font-weight: 800; font-size: 8px; line-height: 12px; text-transform: uppercase; }
.docs__icon--doc, .docs__icon--docx, .docs__icon--rtf, .docs__icon--odt { --dc: #2b579a; }
.docs__icon--xls, .docs__icon--xlsx, .docs__icon--csv { --dc: #217346; }
.docs__icon--zip, .docs__icon--rar, .docs__icon--7z { --dc: #b05a2a; }
.docs__icon--exe, .docs__icon--ova, .docs__icon--msi { --dc: #565b78; }
.docs__icon--link, .docs__icon--svg, .docs__icon--png, .docs__icon--jpg { --dc: var(--brand); }
.docs__info { flex: 1; min-width: 0; }
.docs__name { display: block; font-weight: 700; font-size: 14px; line-height: 1.4; color: var(--ink); }
.docs__name:hover { color: var(--link); }
.docs__size { display: block; margin-top: 2px; font-weight: 600; font-size: 12px; color: var(--muted); }
.docs__dl { display: flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--link); transition: background .2s, color .2s; }
.docs__dl svg { width: 17px; height: 17px; }
.docs__dl:hover { background: var(--brand); color: #fff; }

/* ------------------------------------------------------------------ Разделы: плитки, люди */

.subpages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 10px 0 28px; }
.subpage { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 120px; padding: 18px 60px 18px 20px; overflow: hidden; border-radius: var(--r); background: var(--brand-50); color: var(--heading); transition: transform .2s, box-shadow .2s; }
.subpage::before { content: ''; position: absolute; top: -30px; right: -30px; z-index: -1; width: 110px; height: 110px; border-radius: 50%; background: rgba(39, 61, 141, .08); }
.subpage--v1 { background: var(--accent-50); }
.subpage--v1::before { background: rgba(209, 41, 54, .3); }
.subpage--v2 { background: var(--dark); color: #fff; }
.subpage--v2::before { background: rgba(255, 255, 255, .08); }
.subpage--v3 { background: #e8f8f0; }
.subpage--v3::before { background: rgba(31, 157, 107, .14); }
.subpage:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.subpage__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.subpage:has(.subpage__img) { color: #fff; }
.subpage:has(.subpage__img)::before { inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(180deg, transparent 20%, rgba(20, 35, 75, .82)); }
.subpage__title { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.25; }
.subpage__icon { position: absolute; right: 16px; bottom: 16px; width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--card); color: var(--heading); transition: transform .2s; }
.subpage--v2 .subpage__icon { background: var(--accent); }
.subpage:hover .subpage__icon { transform: translateX(3px); }

.people-title { margin: 32px 0 18px; font-size: 20px; }
.people-title::after { content: ''; display: block; width: 40px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--accent); }
.people-group:first-child .people-title, .tabs__panel .people-title { margin-top: 0; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.cols--full .people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.person { display: flex; flex-direction: column; align-items: center; padding: 22px 16px; border-radius: var(--r); background: var(--bg); text-align: center; }
.person__photo { width: 112px; height: 112px; margin-bottom: 14px; border-radius: 50%; object-fit: cover; background: var(--brand-100); box-shadow: 0 0 0 4px #fff; }
.person__name { font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--heading); }
.person__country { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: 12px; color: var(--muted); }
.person__country img { display: inline-block; width: 19px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); }
.person__position { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.person__email { margin-top: 8px; font-weight: 600; font-size: 12px; color: var(--link); word-break: break-all; }
.person__email:hover { text-decoration: underline; }

.tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; padding: 6px; border-radius: var(--r); background: var(--bg); }
.tabs__btn { padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; font-size: 13px; line-height: 1.3; color: var(--heading); text-align: left; transition: background .2s, color .2s, box-shadow .2s; }
.tabs__btn:hover { background: var(--card); }
.tabs__btn.is-active { background: var(--card); color: var(--link); box-shadow: var(--sh-1); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }

.hall { margin-top: 24px; }
.hall__list { display: grid; gap: 12px; }
.hall__item { display: flex; gap: 22px; padding: 20px; border-radius: var(--r); background: var(--bg); }
.hall__photo { flex: none; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: var(--brand-100); box-shadow: 0 0 0 4px #fff; }
.hall__info { min-width: 0; }
.hall__name { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--heading); }
.hall__position { display: block; margin-top: 4px; font-weight: 600; font-size: 13px; color: var(--muted); }
.hall__bio { margin-top: 10px; font-size: 14px; line-height: 1.6; }

.suppliers { display: grid; gap: 12px; }
.supplier { display: flex; gap: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: box-shadow .2s; }
.supplier:hover { box-shadow: var(--sh-2); }
.supplier__logo { display: flex; flex: 0 0 150px; align-items: center; justify-content: center; height: 90px; padding: 10px; border-radius: var(--r-sm); background: var(--bg); }
.supplier__logo img { max-width: 100%; max-height: 70px; }
.supplier__logo span { font-weight: 800; color: var(--heading); text-align: center; }
.supplier__info { min-width: 0; }
.supplier__label { display: block; margin-bottom: 4px; font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.supplier__name { margin: 0 0 12px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--heading); }
.partners-group + .partners-group { margin-top: 32px; }

.contacts-list li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14px; line-height: 1.45; }
.contacts-list svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--link); }
.contacts-list a { color: var(--link); word-break: break-word; }
.contacts-list a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ Календарь */

.calendar { padding-top: 20px; }
.calendar__head { margin-bottom: 10px; }
.calendar__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 200px 170px 110px; gap: 20px; align-items: center; }
.calendar__row--head { padding: 0 20px; font-weight: 800; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.calendar__list { display: grid; gap: 10px; }
.calendar__list .calendar__row { padding: 16px 20px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh-1); transition: box-shadow .2s, opacity .2s; }
.calendar__list .calendar__row:hover { box-shadow: var(--sh-2); }
.calendar__row.is-past { opacity: .72; }
.calendar__row.is-past:hover { opacity: 1; }
.calendar__date { font-weight: 800; font-size: 13px; line-height: 1.35; color: var(--heading); }
.calendar__title { font-weight: 800; font-size: 15px; line-height: 1.35; color: var(--heading); }
.calendar__title:hover { color: var(--link); }
.calendar__place { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.3; color: var(--ink); }
.calendar__where { display: flex; flex-direction: column; }
.calendar__city { color: var(--muted); }
.calendar__type { justify-self: start; padding: 4px 10px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--heading); font-weight: 700; font-size: 12px; line-height: 1.3; }
.calendar__type:empty { display: none; }
.calendar__info { display: flex; flex-wrap: wrap; gap: 6px; }
.calendar__info--text { flex-direction: column; align-items: flex-start; }
.evdoc { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-50); color: var(--link); transition: background .2s, color .2s; }
.evdoc svg { flex: none; width: 18px; height: 18px; }
.evdoc--results { background: var(--accent-50); color: #98212c; }
.evdoc:hover { background: var(--brand); color: #fff; }
.calendar__info--text .evdoc, .event__doc-list .evdoc { width: auto; height: 34px; padding: 0 12px; border-radius: var(--r-pill); }
.calendar__info--text .evdoc span, .event__doc-list .evdoc span { font-weight: 700; font-size: 13px; }

.event__head { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; }
.event__flag { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.event__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.event__fact { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--heading); font-weight: 700; font-size: 13px; }
.event__fact svg { width: 15px; height: 15px; color: var(--link); }
.event__title { margin-bottom: 12px; }
.event__countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 22px 0; padding: 18px 22px; border-radius: var(--r); background: var(--dark); color: #fff; }
.event__countdown .countdown { flex: 1; min-width: 240px; max-width: 420px; }
.event__countdown-title { font-weight: 800; font-size: 14px; color: var(--accent); }
.event__body { margin-top: 20px; }
.event__docs { margin-top: 28px; }
.event__docs .b-title { margin-bottom: 14px; font-size: 20px; }
.event__doc-list { display: flex; flex-wrap: wrap; gap: 8px; }
.event__reg { margin-top: 24px; }

/* ------------------------------------------------------------------ Формы */

.form { max-width: 760px; }
.form--narrow { max-width: 640px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 18px; }
.form__section { margin: 28px 0 16px; font-size: 20px; }
.form__note { margin-bottom: 14px; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__req { font-size: 13px; color: var(--muted); }
.form__req i, .field__label i { font-style: normal; color: var(--red); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-weight: 700; font-size: 13.5px; color: var(--heading); }
.field__input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); outline: 0; background: var(--card); font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.field__input { height: auto; min-height: 100px; padding: 12px 14px; resize: vertical; }
.field__input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(39, 61, 141, .12); }
.field__hint { font-size: 12.5px; color: var(--muted); }
.field .select { display: block; }
.field .select select { width: 100%; height: 46px; border-radius: var(--r-sm); background: var(--card); font-weight: 500; font-size: 15px; }

.file-input { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.file-input input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.file-input__btn { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--link); font-weight: 800; font-size: 13px; transition: background .2s, color .2s; }
.file-input__btn svg { width: 16px; height: 16px; }
.file-input:hover .file-input__btn { background: var(--brand); color: #fff; }
.file-input input:focus-visible + .file-input__btn { outline: 2px solid var(--brand); outline-offset: 2px; }
.file-input__name { min-width: 0; overflow: hidden; font-size: 14px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.file-input.has-file .file-input__name { font-weight: 700; color: var(--ink); }

.check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 20px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); }

.form-alert { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--r); background: #ffecef; color: #8f1032; font-size: 14px; }
.form-alert ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.form-success { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding: 22px; border-radius: var(--r); background: #e6f7ef; }
.form-success svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--green); color: #fff; }
.form-success b { display: block; margin-bottom: 4px; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #0b5b3a; }

.upl { min-width: 0; margin: 0 0 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.upl__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.upl__tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); }
.upl__tab input { position: absolute; opacity: 0; pointer-events: none; }
.upl__tab span { display: block; padding: 0 14px; border-radius: var(--r-pill); color: var(--muted); font-weight: 700; font-size: 13px; line-height: 32px; cursor: pointer; }
.upl__tab input:checked + span { background: var(--dark); color: #fff; }
.upl__tab input:focus-visible + span { outline: 2px solid var(--brand); }
.upl__remove { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); }
.upl__remove svg { width: 16px; height: 16px; }
.upl__remove:hover { background: #ffecef; color: var(--red); }
.upl-list .upl:only-child .upl__remove { visibility: hidden; }
.upl__file { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.upl__link { margin-bottom: 16px; }
.upl .form__grid { margin-bottom: 0; }
.upl-add { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0 0 10px; padding: 0 16px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--link); font-weight: 800; font-size: 13px; transition: background .2s, color .2s; }
.upl-add svg { width: 16px; height: 16px; }
.upl-add:hover { background: var(--brand); color: #fff; }
.upl-progress { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.upl-progress__bar { flex: 1; height: 10px; overflow: hidden; border-radius: var(--r-pill); background: var(--line); }
.upl-progress__bar span { display: block; width: 0; height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .2s; }
.upl-progress__text { min-width: 44px; font-weight: 800; font-size: 13px; color: var(--heading); }

/* ------------------------------------------------------------------ Поиск, 404, лайтбокс */

.search-big { display: flex; gap: 8px; max-width: 760px; margin-bottom: 24px; padding: 6px; border-radius: var(--r-pill); background: var(--card); box-shadow: var(--sh-1); }
.search-big .field__input { height: 48px; border: 0; border-radius: var(--r-pill); box-shadow: none; }
.search-big--center { max-width: 560px; margin: 0 auto 20px; }
.search-total { margin-bottom: 20px; color: var(--muted); }
.search-section { margin-bottom: 20px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--sh-1); }
.search-section .b-title { margin-bottom: 10px; font-size: 19px; }
.search-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.search-list li > a { font-weight: 800; font-size: 16px; color: var(--heading); }
.search-list li > a:hover { color: var(--link); }
.search-list p { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.search-list .feed__top { margin-bottom: 6px; }
.search-list__section { font-weight: 700; color: var(--link); }

.notfound { padding: 60px 0 20px; text-align: center; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: 140px; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .page-title { margin: 14px 0 10px; }
.notfound__text { margin: 0 0 24px; font-size: 16px; color: var(--muted); }

.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(10, 12, 34, .94); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; max-width: calc(100vw - 140px); }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: var(--r-sm); object-fit: contain; }
.lightbox__caption { margin-top: 12px; font-size: 14px; color: #e0e3f4; text-align: center; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s, color .2s; }
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--accent); color: #fff; }
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { top: 50%; left: 16px; margin-top: -24px; }
.lightbox__next { top: 50%; right: 16px; margin-top: -24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Адаптив
   ========================================================================= */

@media (max-width: 1180px) {
  .burger { position: relative; display: block; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-50); }
  .burger span, .burger::before, .burger::after { content: ''; position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--dark); transition: transform .25s, opacity .25s, top .25s; }
  .burger::before { top: 14px; }
  .burger span { top: 20px; }
  .burger::after { top: 26px; }
  .nav-open .burger::before { top: 20px; transform: rotate(45deg); }
  .nav-open .burger span { opacity: 0; }
  .nav-open .burger::after { top: 20px; transform: rotate(-45deg); }
  body.nav-open { overflow: hidden; }

  /* backdrop-filter делает шапку контейнером для fixed-потомков — на мобильных его нет, чтобы меню заняло весь экран */
  .mainbar { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mainbar__inner { gap: 10px; }
  .logo { margin-right: auto; }
  .nav { position: fixed; top: var(--nav-top, var(--mainbar-h)); left: 0; right: 0; bottom: 0; z-index: 90; display: none; margin: 0; padding: 8px 24px 40px; overflow-y: auto; background: var(--card); }
  .nav-open .nav { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { height: 54px; padding: 0 56px 0 4px; border-radius: 0; font-size: 16px; }
  .nav__item.has-sub > .nav__link::after, .nav__sub-item.has-sub > .nav__sub-link::after { display: none; }
  .nav__item:hover > .nav__link, .nav__item:focus-within > .nav__link { background: none; }
  .nav__item.is-active > .nav__link { background: none; color: var(--link); }
  .nav__toggle { position: absolute; top: 7px; right: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-50); color: var(--heading); }
  .nav__toggle svg { width: 16px; height: 16px; transition: transform .2s; }
  .nav__toggle--inner { top: 3px; width: 34px; height: 34px; }
  .is-open > .nav__toggle svg { transform: rotate(180deg); }
  .nav__sub, .nav__sub2 { position: static; display: none; min-width: 0; padding: 0 0 10px 8px; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav__sub::before, .nav__sub2::before { display: none; }
  .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__sub-item:hover > .nav__sub2, .nav__sub-item:focus-within > .nav__sub2 { display: none; }
  .nav__item.is-open > .nav__sub, .nav__sub-item.is-open > .nav__sub2 { display: block; }
  .nav__sub-item--parent { display: block; }
  .nav__sub-link { padding: 10px 48px 10px 12px; }
  .nav__extra { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
  .nav__extra-links { display: flex; flex-wrap: wrap; gap: 8px; }
  .nav__extra-links a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--brand-50); color: var(--heading); font-weight: 700; font-size: 13px; }
  .nav__extra .social__link { width: 38px; height: 38px; background: var(--brand-50); color: var(--heading); }
  .nav__extra .side-promo { max-width: 480px; }
  .topbar__res { display: none; }
}

@media (max-width: 960px) {
  .hero__desk { display: none; }
  .hero__mob { display: block; }
  .hero__mob-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); }
  .hero__mob-item { flex: 0 0 100%; height: 420px; scroll-snap-align: start; }
  .hero__mob-item .tile { height: 100%; }
  .hero__mob .tile--big .tile__body { padding: 24px 24px 72px; }
  .hero__mob .tile--big .tile__title { font-size: 24px; }
  .hero__mob .hero__arrow { position: absolute; bottom: 18px; z-index: 5; }
  .hero__mob .hero__arrow--prev { left: 24px; }
  .hero__mob .hero__arrow--next { left: 76px; }

  .home-events__inner, .home-events__row, .split { grid-template-columns: 1fr; }
  .reg-card { max-width: 520px; }
  .cols { flex-direction: column; }
  .cols__main, .cols__side { flex-basis: auto; width: 100%; }
  .side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .people, .cols--full .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fedmap, .fedblock__inner { grid-template-columns: 1fr; }
  .fedcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos__item { flex-basis: calc((100% - 42px) / 4); }
  .carousel__item { flex-basis: 280px; }

  .calendar__head { display: none; }
  .calendar__row { grid-template-columns: 1fr; gap: 8px; }
  .calendar__date br { display: none; }
  .calendar__where { flex-direction: row; flex-wrap: wrap; }
  .calendar__city::before { content: ', '; }

  .subscribe__inner { grid-template-columns: 1fr; padding: 32px 28px; }
  .subscribe__msg { grid-column: 1; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-title { font-size: 28px; }
}

@media (max-width: 640px) {
  :root { --mainbar-h: 64px; }
  .ws { max-width: calc(100% - 32px); }
  body { font-size: 14.5px; }

  .topbar__inner { gap: 8px; }
  .topbar .social { display: none; }
  .topbar__btn { width: 30px; padding: 0; justify-content: center; }
  .topbar__btn span { display: none; }
  .topbar__link { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .logo__img { width: 42px; height: 42px; }
  .logo__text { max-width: 150px; font-size: 11px; }
  .search-btn, .burger { width: 40px; height: 40px; }
  .burger::before { top: 13px; }
  .burger span { top: 19px; }
  .burger::after { top: 25px; }
  .nav-open .burger::before, .nav-open .burger::after { top: 19px; }
  .nav { padding: 8px 16px 40px; }
  .searchbar__inner { flex-direction: column; }

  .hero { padding-top: 16px; }
  .hero__mob-item { height: 380px; }
  .hot__inner { flex-wrap: wrap; gap: 8px; height: auto; padding: 12px 14px; border-radius: var(--r-lg); }
  .hot__list { flex-basis: 100%; height: 46px; }
  .hot__item { flex-direction: column; align-items: flex-start; gap: 2px; white-space: normal; }
  .hot__link { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
  .hot__ctrl { display: none; }
  .links-grid { flex-wrap: nowrap; margin: 0 -16px; padding: 2px 16px 10px; overflow-x: auto; scrollbar-width: none; }
  .links-grid__item { flex: none; }

  .home-events, .home-posts, .home-gallery, .wide-banner, .fedblock, .subscribe, .sponsors, .logos { padding-top: 40px; }
  .home-gallery--dark { margin-top: 40px; padding: 36px 0 40px; }
  .home-gallery--dark + .home-gallery { padding-top: 40px; }
  .home-events__main, .home-events__side, .split__side, .fedblock__inner { padding: 18px; }
  .b-title { font-size: 20px; }
  .b-head { margin-bottom: 16px; }
  .b-head .arrows { display: none; }
  .page-title { font-size: 24px; }
  .cols__main { padding: 22px 18px 24px; border-radius: var(--r); }

  .cards, .cards--2, .cards--3 { grid-template-columns: 1fr; }
  .galgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .gitem__title { font-size: 13px; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .people, .cols--full .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .person { padding: 16px 10px; }
  .person__photo { width: 84px; height: 84px; }
  .fedcards { grid-template-columns: 1fr; }
  .flaglist { columns: 2; }
  .subpages, .side { grid-template-columns: 1fr; }
  .carousel { --pad: 16px; }
  .carousel__item { flex-basis: 78vw; }
  .logos__item { flex-basis: calc((100% - 14px) / 2); }
  .hall__item { flex-direction: column; align-items: center; text-align: center; }
  .supplier { flex-direction: column; }
  .supplier__logo { flex-basis: auto; }
  .form__grid { grid-template-columns: 1fr; }
  .archive { border-radius: var(--r); }
  .archive__field { flex: 1 1 100%; }
  .archive__field .select, .archive__field select, .archive__field--wide select { flex: 1; width: 100%; min-width: 0; }
  .fed-head { flex-wrap: wrap; gap: 14px; }
  .fed-head__flag { width: 64px; height: 48px; }
  .fed-others { columns: 1; }
  .fedmap { padding: 10px; }
  .search-big, .subscribe__form { flex-direction: column; border-radius: var(--r-lg); }
  .subscribe__btn { width: 100%; }
  .subscribe__caption b { font-size: 22px; }
  .footer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cookies__inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .lightbox__figure { max-width: calc(100vw - 20px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; margin-top: 0; }
  .notfound__code { font-size: 96px; }
}

.hero__slide--single { grid-template-columns: minmax(0, 1fr); }

/* Selected SAMBO EUROPE wordmark, concept 03. */
.logo--wordmark .logo__img { width: 168px; height: 50px; object-fit: contain; }
.footer__logo--wordmark img { width: 220px; height: 74px; object-fit: contain; background: var(--card); border-radius: 8px; padding: 8px; }
@media (max-width: 1180px) { .logo--wordmark .logo__img { width: 145px; height: 43px; } }

/* Red accents require light foregrounds; pale red remains legible on navy. */
.reg-card__btn:hover, .topbar__btn--accent:hover { color: var(--heading); }
.countdown__digits, .subscribe__caption b, .event__countdown-title { color: #fff; }
.topbar__res a:hover, .topbar__link:hover, .footer__link:hover, .footer__desc a:hover, .reg-card__title:hover, .home-gallery--dark .b-head__all, .gitem--dark .gitem__title:hover, .subscribe__msg.is-error { color: #ffa8b0; }

/* Original circular concept 04, preserve full composition. */
.logo--wordmark .logo__img { width: 72px; height: 68px; object-fit: contain; }
.footer__logo--wordmark img { width: 160px; height: 156px; padding: 8px; }
@media (max-width: 1180px) { .logo--wordmark .logo__img { width: 58px; height: 54px; } }

/* Horizontal original 04: larger lettering to the right. */
.logo--wordmark .logo__img { width: 214px; height: 68px; }
.footer__logo--wordmark img { width: 260px; height: 96px; }
@media (max-width: 1180px) { .logo--wordmark .logo__img { width: 170px; height: 54px; } }

.fedcard__president { display:block; margin-top:8px; font-size:12px; line-height:1.5; color:var(--muted); }
.fedcard__president strong { color:var(--heading); font-weight:650; }

.president-feature { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:28px; margin-block:12px 28px; border-block:1px solid var(--line); }
.president-feature h2 { margin:0 0 8px; font:700 clamp(24px,3vw,38px)/1.2 var(--font-head); color:var(--heading); }
.president-feature p { margin:0; color:var(--muted); }
@media(max-width:640px) { .president-feature { align-items:flex-start; flex-direction:column; gap:16px; } }

/* social-placeholders-20261013 */
.social__link--placeholder { pointer-events: none; cursor: default; }
.social-placeholders { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.social-placeholder { display: inline-block; padding: 10px 16px; border: 1px solid currentColor; border-radius: 10px; }
