
:root {
  --accent: #ffc934;
  --accent-dark: #e8b21c;
  --accent-soft: rgba(255, 201, 52, 0.14);
  --accent-ring: rgba(255, 201, 52, 0.38);
  --link: #003bb3;

  --font-head: 'Jost', 'Segoe UI', sans-serif;
  --font-body: 'Noto Serif', Georgia, serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --wrap: 1200px;
  --gap: 28px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.18);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 74px;
}

:root,
[data-theme='light'] {
  --bg: #eeeeee;
  --bg-elev: #ffffff;
  --bg-sunken: #e3e3e3;
  --bg-header: #ffffff;
  --bg-footer: #111111;
  --text: #17181a;
  --text-soft: #55585e;
  --text-mute: #7b7f87;
  --border: #dcdcdc;
  --border-strong: #c7c7c7;
  --footer-text: #d7d7d7;
  --overlay: rgba(0, 0, 0, 0.62);
  --skeleton: linear-gradient(90deg, #e6e6e6 25%, #f2f2f2 37%, #e6e6e6 63%);
}

[data-theme='dark'] {
  --bg: #000000;
  --bg-elev: #131316;
  --bg-sunken: #0a0a0c;
  --bg-header: #0c0c0e;
  --bg-footer: #0a0a0c;
  --text: #f3f3f4;
  --text-soft: #b9bbc0;
  --text-mute: #8b8e96;
  --border: #26262b;
  --border-strong: #35353c;
  --footer-text: #c3c5ca;
  --overlay: rgba(0, 0, 0, 0.74);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.65);
  --skeleton: linear-gradient(90deg, #17171b 25%, #1f1f25 37%, #17171b 63%);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 0.6em;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); }
h4 { font-size: 1.18rem; }

p { margin: 0 0 1.15em; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4em; }

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.4rem 1.1rem 1.7rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-soft);
}
blockquote p:last-child { margin-bottom: 0; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

mark { background: var(--accent); color: #111; padding: 0 0.2em; }

::selection { background: var(--accent); color: #111; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

.section { padding: 62px 0; }
.section--tight { padding: 40px 0; }
.section--sunken { background: var(--bg-sunken); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.content-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: start;
}

.grid > *,
.content-with-sidebar > *,
.form__row > *,
.hero__grid > *,
.footer__grid > * { min-width: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #111;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--accent);
  color: #141414;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
  text-align: center;
}
.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--accent-ring);
  color: #141414;
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #141414;
}

.btn--dark {
  background: #141414;
  color: #fff;
}
.btn--dark:hover { background: var(--accent); color: #141414; }

.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn--lg { padding: 15px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.cat-pill {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 4px 11px;
  border-radius: 4px;
  background: var(--accent);
  color: #141414;
}
.cat-pill--ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 0.7rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--accent);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0; }
.section-head .heading-line {
  position: relative;
  padding-left: 16px;
}
.section-head .heading-line::before {
  content: '';
  position: absolute;
  left: 0; top: 0.18em; bottom: 0.18em;
  width: 5px;
  border-radius: 3px;
  background: var(--accent);
}
.section-head p { margin: 6px 0 0; color: var(--text-soft); font-size: 0.97rem; }

.topbar {
  background: #111111;
  color: #d8d8d8;
  font-family: var(--font-head);
  font-size: 0.82rem;
  border-bottom: 3px solid var(--accent);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar__meta { display: flex; align-items: center; gap: 18px; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__meta i { color: var(--accent); }
.topbar__social { display: flex; gap: 8px; }
.topbar__social a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e9e9e9;
  font-size: 0.8rem;
}
.topbar__social a:hover { background: var(--accent); color: #141414; transform: translateY(-2px); }

#live-clock { font-variant-numeric: tabular-nums; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.brand__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #141414;
  font-size: 1.05rem;
}
.brand__name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand__name span { color: var(--accent); }
.brand__tag {
  display: block;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 3px;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__list > li { margin: 0; position: relative; }
.nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  color: var(--text);
  position: relative;
}
.nav__list > li > a::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px; bottom: 5px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__list > li > a:hover::after,
.nav__list > li.is-active > a::after { transform: scaleX(1); }
.nav__list > li.is-active > a { color: var(--text); font-weight: 600; }

.has-dropdown > a i { font-size: 0.7rem; transition: transform 0.25s var(--ease); }
.has-dropdown:hover > a i { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 232px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0; padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 40;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--text-soft);
}
.dropdown a i { color: var(--accent); width: 16px; font-size: 0.85rem; }
.dropdown a:hover { background: var(--accent-soft); color: var(--text); padding-left: 16px; }

.header__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.22s var(--ease);
}
.icon-btn:hover { background: var(--accent); border-color: var(--accent); color: #141414; transform: translateY(-2px); }

.nav-toggle { display: none; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--overlay);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: start center;
  padding-top: 14vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-box {
  width: min(100% - 32px, 720px);
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  transform: translateY(-18px);
  transition: transform 0.32s var(--ease);
}
.search-overlay.is-open .search-box { transform: translateY(0); }
.search-box__field {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 12px;
}
.search-box__field i { color: var(--accent); font-size: 1.15rem; }
.search-box input {
  flex: 1;
  border: 0; outline: 0; background: transparent;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text);
}
.search-results { margin-top: 16px; max-height: 46vh; overflow-y: auto; }
.search-results a {
  display: block;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
}
.search-results a:hover { background: var(--accent-soft); }
.search-results .sr-cat {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 2px;
}
.search-results .sr-empty { padding: 14px 12px; color: var(--text-mute); font-family: var(--font-head); }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 350px);
  background: var(--bg-elev);
  border-left: 1px solid var(--border);
  z-index: 420;
  transform: translateX(105%);
  transition: transform 0.36s var(--ease);
  overflow-y: auto;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { margin: 0; border-bottom: 1px solid var(--border); }
.drawer__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px;
  font-family: var(--font-head);
  font-weight: 500;
}
.drawer__list a:hover { color: var(--accent-dark); padding-left: 8px; }
.drawer__sub { list-style: none; margin: 0 0 8px; padding: 0 0 0 14px; display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { font-size: 0.9rem; color: var(--text-soft); padding: 9px 4px; }
.drawer__toggle {
  background: none; border: 0; color: var(--text);
  cursor: pointer; padding: 6px; font-size: 0.85rem;
}
.backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 410;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.backdrop.is-open { opacity: 1; visibility: visible; }

.ticker {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.ticker__inner { display: flex; align-items: center; gap: 16px; min-height: 48px; }
.ticker__label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #141414;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.ticker__label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d92b2b;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
.ticker__viewport { overflow: hidden; flex: 1; }
.ticker__track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  white-space: nowrap;
  color: var(--text-soft);
}
.ticker__track a::before { content: '\f0da'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); margin-right: 8px; }
.ticker__track a:hover { color: var(--text); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero { padding: 34px 0 10px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
}
.swiper { min-width: 0; max-width: 100%; }
.hero-slider { border-radius: var(--radius-lg); overflow: hidden; }
.hero-slider .swiper-slide { width: 100%; }
.hero-slide {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s var(--ease);
}
.swiper-slide-active .hero-slide img { transform: scale(1); }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.88) 100%);
}
.hero-slide__body { position: relative; z-index: 2; padding: 34px; max-width: 640px; }
.hero-slide__body h2 {
  color: #fff;
  margin: 14px 0 12px;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.35rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.hero-slide__body h2 a:hover { color: var(--accent); }
.hero-slide__meta { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--font-head); font-size: 0.85rem; color: #dcdcdc; }
.hero-slide__meta i { color: var(--accent); margin-right: 6px; }

.hero-side { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 218px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.hero-card:hover img { transform: scale(1.08); }
.hero-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.85) 100%);
}
.hero-card__body { position: relative; z-index: 2; padding: 20px; }
.hero-card__body h3 { color: #fff; font-size: 1.12rem; margin: 10px 0 6px; }
.hero-card__body h3 a:hover { color: var(--accent); }
.hero-card__body span { font-family: var(--font-head); font-size: 0.8rem; color: #d2d2d2; }

.swiper-button-next, .swiper-button-prev {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  color: #fff;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--accent); color: #141414; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1.05rem; font-weight: 700; }
.swiper-pagination-bullet { background: #fff; opacity: 0.55; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; width: 26px; border-radius: 5px; }

.post-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-sunken);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.07); }
.post-card__media .cat-pill { position: absolute; top: 12px; left: 12px; z-index: 2; }
.post-card__read {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.74rem;
  padding: 3px 9px;
  border-radius: 4px;
}
.post-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card__body h3 { font-size: 1.16rem; margin-bottom: 10px; }
.post-card__body h3 a:hover { color: var(--accent-dark); }
.post-card__excerpt { color: var(--text-soft); font-size: 0.93rem; margin-bottom: 16px; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.post-meta i { color: var(--accent); margin-right: 5px; }

.post-card--row { flex-direction: row; align-items: stretch; }
.post-card--row .post-card__media { width: 40%; aspect-ratio: auto; flex-shrink: 0; }
.post-card--row .post-card__body { padding: 16px 18px; }
.post-card--row h3 { font-size: 1.02rem; }

.trending-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.trending-list li { margin: 0; }
.trending-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  transition: transform 0.26s var(--ease), border-color 0.26s var(--ease);
}
.trending-item:hover { transform: translateX(5px); border-color: var(--accent); }
.trending-item__no {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #141414;
  font-family: var(--font-head);
  font-weight: 700;
}
.trending-item__thumb { width: 66px; height: 58px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.trending-item h4 { font-size: 0.96rem; margin: 0 0 4px; line-height: 1.35; }
.trending-item h4 a:hover { color: var(--accent-dark); }
.trending-item span { font-family: var(--font-head); font-size: 0.76rem; color: var(--text-mute); }

.stats {
  background: #111111;
  color: #fff;
  border-block: 3px solid var(--accent);
}
.stat { text-align: center; padding: 10px; }
.stat__icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  color: var(--accent);
  font-size: 1.3rem;
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.stat__label { font-family: var(--font-head); font-size: 0.9rem; color: #c9c9c9; margin-top: 8px; }

.service-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: auto -30% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--accent-soft);
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--accent); }
.service-card:hover::before { transform: scale(1); }
.service-card > * { position: relative; z-index: 2; }
.service-card__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: #141414;
  font-size: 1.45rem;
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.06); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: 0.94rem; }
.service-card__list { list-style: none; padding: 0; margin: 0 0 18px; }
.service-card__list li {
  font-family: var(--font-head);
  font-size: 0.88rem;
  color: var(--text-soft);
  padding-left: 24px;
  position: relative;
  margin-bottom: 7px;
}
.service-card__list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute; left: 0; top: 1px;
  color: var(--accent-dark);
  font-size: 0.76rem;
}
.service-card .btn { margin-top: auto; align-self: flex-start; }
.service-card__num {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--border);
  opacity: 0.75;
  z-index: 1;
}

.modal {
  position: fixed; inset: 0;
  z-index: 500;
  display: grid; place-items: center;
  padding: 20px;
  background: var(--overlay);
  backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog {
  width: min(100%, 620px);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.3s var(--ease);
}
.modal.is-open .modal__dialog { transform: scale(1) translateY(0); }
.modal__close {
  position: absolute; top: 18px; right: 18px;
}
.modal__dialog h3 { margin-bottom: 6px; }
.modal__dialog .eyebrow { margin-bottom: 14px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.24s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: #141414; font-weight: 600; }

.match-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.match-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.match-card__league {
  font-family: var(--font-head);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.match-card__sport {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-dark);
}
.match-card__teams { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; margin: 6px 0 4px; }
.match-card__time { font-family: var(--font-head); font-size: 0.85rem; color: var(--text-soft); }
.match-card__cd {
  font-family: var(--font-head);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  border-radius: var(--radius);
  padding: 8px 14px;
  text-align: center;
  min-width: 132px;
}
.match-card__cd small { display: block; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute); }
.match-card.is-live .match-card__cd { background: rgba(217, 43, 43, 0.12); border-color: rgba(217, 43, 43, 0.4); color: #d92b2b; }
.badge-live {
  display: inline-flex; align-items: center; gap: 6px;
  background: #d92b2b; color: #fff;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 4px;
}
.badge-live .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }

.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-elev); }
.accordion__item + .accordion__item { border-top: 1px solid var(--border); }
.accordion__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background-color 0.22s var(--ease);
}
.accordion__btn:hover { background: var(--accent-soft); }
.accordion__btn i { color: var(--accent-dark); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.accordion__item.is-open .accordion__btn i { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion__panel > div { padding: 0 22px 20px; color: var(--text-soft); font-size: 0.96rem; }

.tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--border); margin-bottom: 26px; }
.tabs__btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 12px 20px;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: var(--text-mute);
  cursor: pointer;
  transition: all 0.24s var(--ease);
}
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active { color: var(--text); border-bottom-color: var(--accent); }
.tabs__panel { display: none; animation: fade-in 0.4s var(--ease); }
.tabs__panel.is-active { display: block; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.sidebar { display: grid; gap: 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.widget__title {
  font-size: 1.05rem;
  margin-bottom: 18px;
  padding-left: 14px;
  position: relative;
}
.widget__title::before {
  content: '';
  position: absolute; left: 0; top: 0.12em; bottom: 0.12em;
  width: 4px; border-radius: 3px; background: var(--accent);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.cat-list li { border-bottom: 1px solid var(--border); }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-head);
  font-size: 0.93rem;
  color: var(--text-soft);
}
.cat-list a:hover { color: var(--accent-dark); padding-left: 6px; }
.cat-list .count {
  background: var(--bg-sunken);
  border-radius: 4px;
  padding: 1px 9px;
  font-size: 0.78rem;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  font-family: var(--font-head);
  font-size: 0.8rem;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: var(--text-soft);
}
.tag-cloud a:hover { background: var(--accent); border-color: var(--accent); color: #141414; }

.widget--cta {
  background: linear-gradient(150deg, #1a1a1d, #000);
  border-color: #2a2a2f;
  color: #eaeaea;
  text-align: center;
}
.widget--cta h3 { color: #fff; }
.widget--cta p { color: #bdbdbd; font-size: 0.92rem; }

.newsletter {
  background: var(--accent);
  color: #141414;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 32px;
  align-items: center;
}
.newsletter h2 { color: #141414; margin-bottom: 8px; }
.newsletter p { margin: 0; color: #3a3320; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__form input {
  flex: 1 1 200px;
  border: 2px solid #141414;
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  background: #fff;
  color: #141414;
}
.newsletter__form input:focus { outline: 0; box-shadow: 0 0 0 4px rgba(20, 20, 20, 0.16); }
.newsletter__note { font-size: 0.82rem; margin-top: 10px !important; font-family: var(--font-head); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.field label .req { color: #d92b2b; }
.field input, .field select, .field textarea {
  font-family: var(--font-head);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-elev);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 148px; font-family: var(--font-body); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field .error-msg {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: #d92b2b;
  min-height: 1em;
  display: none;
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d92b2b; box-shadow: 0 0 0 4px rgba(217, 43, 43, 0.12); }
.field.is-invalid .error-msg { display: block; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: #2f9e54; }
.field__hint { font-family: var(--font-head); font-size: 0.8rem; color: var(--text-mute); }

.checkbox {
  display: flex; align-items: flex-start; gap: 11px;
  font-family: var(--font-head); font-size: 0.88rem; color: var(--text-soft);
}
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.checkbox.is-invalid { color: #d92b2b; }

.form-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-head);
  font-size: 0.87rem;
  color: var(--text-soft);
}
.form-note i { color: var(--accent-dark); margin-top: 3px; }

.page-hero {
  position: relative;
  padding: 64px 0;
  background: #111;
  color: #fff;
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.45));
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #d5d5d5; max-width: 700px; margin: 0; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  color: #c6c6c6;
  margin-bottom: 14px;
  list-style: none; padding: 0;
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 9px; }
.crumbs li + li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--accent); }

.reading-bar {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0;
  background: var(--accent);
  z-index: 300;
  transition: width 0.1s linear;
}

.article { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.article__figure { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; }
.article__figure img { width: 100%; }
.article__figure figcaption {
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--text-mute);
  padding: 10px 2px 0;
}
.article__meta {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
  font-family: var(--font-head); font-size: 0.86rem; color: var(--text-mute);
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article__meta i { color: var(--accent); margin-right: 6px; }
.article__body { font-size: 1.04rem; }
.article__body h2 { margin-top: 2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.article__body h3 { margin-top: 1.6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.article__body ul, .article__body ol { margin-bottom: 1.3em; }
.article__body li { margin-bottom: 0.55em; }
.article__body img { border-radius: var(--radius); margin: 1.6em 0; }
.article__body a:not(.btn) { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:not(.btn):hover { color: var(--text); }

.lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  border-left: 4px solid var(--accent);
  padding-left: 18px;
}

.toc {
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 30px;
}
.toc h2 { font-size: 1.02rem; margin: 0 0 12px; font-family: var(--font-head); }
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc li { margin-bottom: 6px; }
.toc a { font-family: var(--font-head); font-size: 0.92rem; color: var(--text-soft); }
.toc a:hover { color: var(--accent-dark); }

.callout {
  display: flex; gap: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 1.8em 0;
}
.callout i { color: var(--accent-dark); font-size: 1.2rem; margin-top: 3px; }
.callout h4 { margin: 0 0 6px; font-size: 1rem; }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: rgba(217, 43, 43, 0.08); border-color: rgba(217, 43, 43, 0.28); }
.callout--warn i { color: #d92b2b; }

.data-table { width: 100%; border-collapse: collapse; margin: 1.7em 0; font-family: var(--font-head); font-size: 0.92rem; }
.data-table th, .data-table td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; }
.data-table thead th { background: var(--accent); color: #141414; font-weight: 600; }
.data-table tbody tr:nth-child(even) { background: var(--bg-sunken); }

.share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border);
}
.share span { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; margin-right: 4px; }
.share a, .share button {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}
.share a:hover, .share button:hover { background: var(--accent); border-color: var(--accent); color: #141414; transform: translateY(-3px); }

.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 30px;
}
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box h4 { margin-bottom: 4px; }
.author-box p { font-size: 0.93rem; color: var(--text-soft); margin-bottom: 10px; }
.author-box .socials { display: flex; gap: 10px; }
.author-box .socials a { color: var(--text-mute); }
.author-box .socials a:hover { color: var(--accent-dark); }

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.post-nav a {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  font-family: var(--font-head);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.post-nav a:hover { border-color: var(--accent); transform: translateY(-3px); }
.post-nav span { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); margin-bottom: 6px; }
.post-nav strong { font-weight: 600; font-size: 0.98rem; }
.post-nav .next { text-align: right; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  font-family: var(--font-head);
  font-weight: 500;
  padding: 0 12px;
}
.pagination .current { background: var(--accent); border-color: var(--accent); color: #141414; font-weight: 700; }
.pagination a:hover { border-color: var(--accent); color: var(--accent-dark); }

.site-footer {
  background: var(--bg-footer);
  color: var(--footer-text);
  padding-top: 58px;
  border-top: 3px solid var(--accent);
}
.site-footer h3, .site-footer h4 { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 38px;
  padding-bottom: 42px;
}
.footer__grid p { font-size: 0.93rem; color: #aeb0b5; }
.footer__title { font-size: 1.03rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer__title::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 38px; height: 3px; background: var(--accent);
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 9px; }
.footer__list a { font-family: var(--font-head); font-size: 0.92rem; color: #aeb0b5; display: inline-flex; align-items: center; gap: 8px; }
.footer__list a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); font-size: 0.8rem; }
.footer__list a:hover { color: var(--accent); transform: translateX(3px); }
.footer-post { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-post img { width: 74px; height: 62px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.footer-post h5 { font-family: var(--font-head); font-size: 0.9rem; margin: 0 0 5px; color: #e6e6e6; font-weight: 500; line-height: 1.4; }
.footer-post h5 a:hover { color: var(--accent); }
.footer-post span { font-family: var(--font-head); font-size: 0.76rem; color: #8b8d93; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #e0e0e0;
}
.footer__social a:hover { background: var(--accent); color: #141414; transform: translateY(-3px); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-family: var(--font-head); font-size: 0.86rem; color: #9a9ca2;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a:hover { color: var(--accent); }

#to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--accent);
  color: #141414;
  cursor: pointer;
  z-index: 250;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow);
}
#to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
#to-top:hover { background: #141414; color: var(--accent); }

.cookie-bar {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 260;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  max-width: 900px;
  margin-inline: auto;
  font-family: var(--font-head);
  font-size: 0.9rem;
  transform: translateY(160%);
  transition: transform 0.45s var(--ease);
}
.cookie-bar.is-visible { transform: none; }
.cookie-bar p { margin: 0; flex: 1 1 320px; color: var(--text-soft); }
.cookie-bar a { color: var(--accent-dark); text-decoration: underline; }

.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translate(-50%, 160%);
  z-index: 600;
  background: #141414;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  transition: transform 0.4s var(--ease);
}
.toast i { color: var(--accent); }
.toast.is-visible { transform: translate(-50%, 0); }

#preloader {
  position: fixed; inset: 0; z-index: 900;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
#preloader.is-done { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.gallery a { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.gallery a:hover img { transform: scale(1.09); }
.gallery a::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff; font-size: 1.3rem;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.gallery a:hover::after { opacity: 1; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color 0.26s var(--ease), transform 0.26s var(--ease);
}
.steps li:hover { border-color: var(--accent); transform: translateX(5px); }
.steps__no {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  color: var(--accent-dark);
}
.steps h4 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--text-soft); font-size: 0.94rem; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.legal { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px; }
.legal h2 { margin-top: 1.9em; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: 1.5em; }
.legal__updated {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: var(--font-head); font-size: 0.85rem;
  margin-bottom: 26px;
}

.feature {
  display: flex; gap: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  transition: border-color 0.26s var(--ease), transform 0.26s var(--ease);
}
.feature:hover { border-color: var(--accent); transform: translateY(-4px); }
.feature i {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.feature h4 { margin-bottom: 5px; font-size: 1.02rem; }
.feature p { margin: 0; font-size: 0.91rem; color: var(--text-soft); }

.quote-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
}
.quote-card__stars { color: var(--accent); margin-bottom: 12px; letter-spacing: 2px; }
.quote-card p { font-style: italic; color: var(--text-soft); }
.quote-card__by { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-card__by img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote-card__by strong { font-family: var(--font-head); font-size: 0.94rem; display: block; }
.quote-card__by span { font-family: var(--font-head); font-size: 0.8rem; color: var(--text-mute); }

.err-code {
  font-family: var(--font-head);
  font-size: clamp(6rem, 3rem + 18vw, 14rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--accent);
  text-shadow: 6px 6px 0 var(--border);
}

.thanks-icon {
  width: 110px; height: 110px;
  margin: 0 auto 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 3px solid var(--accent);
  color: var(--accent-dark);
  font-size: 2.8rem;
  animation: pop 0.6s var(--ease) both;
}
@keyframes pop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
}

@media (max-width: 960px) {
  .nav, .header__actions .search-open-desktop { display: none; }
  .nav-toggle { display: grid; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .newsletter { grid-template-columns: minmax(0, 1fr); padding: 32px; }
  .match-card { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .match-card__cd { justify-self: start; }
  .article, .legal { padding: 24px; }
}

@media (max-width: 720px) {
  .topbar__meta span:not(:first-child) { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-card--row { flex-direction: column; }
  .post-card--row .post-card__media { width: 100%; aspect-ratio: 16/10; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .author-box { flex-direction: column; }
  .section { padding: 46px 0; }
  .hero-slide { min-height: 380px; }
  .hero-slide__body { padding: 22px; }
}

@media (max-width: 640px) {
  .header__actions > .btn { display: none; }
  .header__inner { gap: 12px; }
  .brand__tag { display: none; }
}

@media (max-width: 480px) {
  .topbar__inner { justify-content: center; }
  .brand__name { font-size: 1.28rem; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 15px; }
  .header__actions { gap: 4px; }
  .icon-btn { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .site-footer, .topbar, .ticker, #to-top, .cookie-bar,
  .share, .newsletter, .sidebar, .post-nav { display: none !important; }
  body { background: #fff; color: #000; }
  .article { border: 0; padding: 0; }
}

html{
  overflow-x: hidden;
}