﻿:root {
  --page: #f5f7fa;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --blue: #2563eb;
  --green: #10b981;
  --navy: #0b1f3a;
  --gold: #d99a20;
  --soft-blue: #eff6ff;
  --soft-green: #ecfdf5;
  --shadow: 0 14px 36px rgba(15, 23, 42, .08);
  --radius: 8px;
}

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

html {
  overflow-x: clip; /* was: hidden — clip не ломает position:sticky */
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip; /* was: hidden — clip не ломает position:sticky */
  background: var(--page);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.popup-open {
  overflow: hidden;
}

body::before,
body::after,
.site::before,
.site::after,
.hero__overlay,
.section-bg-grid,
.decor-grid,
.bg-grid,
.top-gradient,
.gradient-line {
  display: none;
  content: none;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: #1d4ed8;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-main {
  min-width: 0;
}

.section-padding,
.stats-section,
.features-section,
.news-grid-section,
.about-section,
.cta-section,
.teams-section,
.groups-section,
.matches-section {
  padding: 56px 0;
}

.bg-light {
  background: transparent;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.text-center {
  text-align: center;
}

.about-section .section-header.text-center {
  justify-content: flex-start;
  text-align: left;
}

.section-title,
.section-header h2,
.entry-title,
.page-title {
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p,
li {
  color: var(--muted);
}

.site-header {
  position: relative; /* меню уходит вверх при скролле, sticky только у баннера */
  top: auto;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-main,
.header-main__inner {
  min-width: 0;
}

.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.site-branding,
.site-logo,
.site-logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-logo img {
  display: block;
  width: 220px;
  max-width: 36vw;
  height: auto;
  object-fit: contain;
}

.main-navigation {
  min-width: 0;
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  background: var(--soft-blue);
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle__icon {
  position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle__icon::before {
  top: -7px;
}

.menu-toggle__icon::after {
  top: 7px;
}

.menu-toggle.is-active .menu-toggle__icon {
  background: transparent;
}

.menu-toggle.is-active .menu-toggle__icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

.banner-top {
  padding: 18px 0 0;
  background: var(--page);
}

.banner-top__link {
  display: block;
  width: min(100%, 1120px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.banner-top img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero {
  margin: 24px auto 0;
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .20) 100%),
    url("../images/hero/chempionatmira2026.jpg") center / cover no-repeat;
  color: #ffffff;
}

.hero[style] {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, .20) 100%),
    url("../images/hero/chempionatmira2026.jpg") center / cover no-repeat !important;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero__content {
  max-width: 760px;
}

.hero__title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hero__subtitle {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .85);
  font-size: clamp(16px, 2vw, 20px);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.hero__actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.bet-button-block__link,
.match-widget__cta-btn,
.match-widget__freebet-btn,
.match-freebets__btn,
.matches-sidebar-freebets__btn,
.broadcast-block__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn:hover,
.bet-button-block__link:hover,
.match-widget__cta-btn:hover,
.match-widget__freebet-btn:hover,
.match-freebets__btn:hover,
.matches-sidebar-freebets__btn:hover,
.broadcast-block__btn:hover {
  transform: translateY(-1px);
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .18);
}

.btn--secondary,
.link-with-arrow {
  background: var(--surface);
  border-color: var(--line);
  color: var(--blue);
}

.link-with-arrow:hover {
  background: var(--soft-blue);
  color: var(--blue);
}

.stats-grid,
.features-grid,
.quick-links-grid,
.teams-grid,
.groups-grid,
.news-grid,
.category-grid,
.matches-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card,
.feature-card,
.quick-link-card,
.team-card,
.group-card,
.news-card,
.match-card,
.cta-box,
.about-content,
.entry-content,
.article-content,
.single-content,
.match-widget,
.match-freebets,
.matches-sidebar-freebets,
.broadcast-block,
.content-table,
.tournament-dashboard {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cta-section {
  padding: 34px 0 42px;
}

.cta-box {
  max-width: 940px;
  margin-inline: auto;
  padding: 28px;
}

.cta-box__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-box__copy {
  flex: 1 1 280px;
  min-width: 0;
}

.cta-box__title {
  margin: 0 0 6px;
  color: var(--text);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.2;
  white-space: normal;
}

.cta-box__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.cta-box__btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 12px 28px;
  font-size: 15px;
}

.stat-card {
  padding: 18px;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: 32px 0 0;
}

.pagination,
.pagination__list,
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__item,
.pagination li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-numbers,
.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  line-height: 1;
}

.page-numbers:hover,
.pagination a:hover {
  border-color: var(--blue);
  background: var(--soft-blue);
  color: var(--blue);
}

.page-numbers.current,
.pagination .current {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.page-numbers svg,
.pagination svg {
  width: 18px;
  height: 18px;
}

.stat-card__icon,
.feature-card__icon,
.quick-link-card__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--soft-green);
  color: var(--green);
}

.stat-card__number,
.stat-card__value {
  display: block;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.stat-card__label,
.stat-card__text,
.feature-card__text,
.quick-link-card__text {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.feature-card,
.quick-link-card,
.team-card,
.group-card {
  padding: 18px;
}

.feature-card h3,
.quick-link-card h3,
.team-card h3,
.group-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  overflow: hidden;
}

.news-card__image,
.article-card__image,
.post-thumbnail {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5e7eb;
}

.news-card__image img,
.article-card__image img,
.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__content,
.article-card__content {
  padding: 16px;
}

.news-card__title,
.article-card__title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.match-widget {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 20px;
  padding: 22px;
  margin: 24px 0;
}

.match-widget__left,
.match-widget__right,
.match-widget__odds,
.match-widget__freebets,
.match-widget__freebets-list {
  min-width: 0;
}

.match-widget__teams,
.match-teams,
.match-hero__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.match-widget__team,
.match-team {
  min-width: 0;
  text-align: center;
}

.match-widget__team-name,
.match-team__name,
.match-card__team {
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.match-widget__vs,
.match-vs {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 900;
}

.mw-odds-table,
.odds-table {
  min-width: 0;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

/* mw-odds-table: 4 колонки — [Исход] [Хозяева] [Ничья] [Гости] */
.mw-odds-table__header,
.mw-odds-table__row {
  display: grid;
  grid-template-columns: minmax(72px, .8fr) repeat(3, minmax(52px, .55fr));
  min-width: 0;
}

/* odds-table на страницах матча — отдельный класс, 3 колонки */
.odds-table__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}

.mw-odds-table__header {
  background: #f8fafc;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mw-odds-table__label,
.mw-odds-table__col,
.mw-odds-table__cell,
.odds-table__cell {
  min-width: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--text);
  overflow-wrap: anywhere;
}

.odds-table__cell {
  display: grid;
  gap: 4px;
  align-items: center;
  justify-items: center;
  min-height: 82px;
  border-top: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, color .18s ease;
}

.odds-table__cell:last-child {
  border-right: 0;
}

.odds-table__cell:hover {
  background: var(--soft-blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.odds-table__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.odds-table__value {
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.mw-odds-table__cell {
  background: var(--soft-green);
  color: #065f46;
  font-weight: 900;
}

.match-page__note {
  margin: 12px 0 0;
  color: var(--muted);
}

.match-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.match-hero {
  padding: 28px 0 34px;
  background: #fff;
}

.match-hero .container {
  display: grid;
  gap: 18px;
}

.match-hero__top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.match-hero__league,
.match-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.match-hero__title {
  max-width: 940px;
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.match-hero__versus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.match-hero__team {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e8eef6;
  border-radius: 10px;
  background: #f8fafc;
}

.match-hero__team-name {
  color: var(--text);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.16;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.match-hero__team:last-child {
  text-align: right;
}

.match-hero__center {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.match-hero__center::before {
  content: "VS";
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.match-hero__kickoff {
  display: grid;
  gap: 2px;
}

.single-team__seo-note,
.group-page__seo-note {
  margin-top: 14px;
  color: var(--muted);
}

.teams-archive,
.tournament-section,
.matches-archive {
  min-width: 0;
}

.teams-filters,
.teams-controls,
.single-team__hero,
.single-team__section,
.team-info-card,
.matches-group,
.match-archive-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.teams-filters {
  margin-bottom: 18px;
  padding: 18px;
}

.teams-filters__header {
  margin-bottom: 12px;
}

.teams-filters__title {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.teams-filters__items,
.team-squad__filters,
.tournament-tabs,
.group-stage__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn,
.squad-filter,
.tournament-tab,
.group-filter {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.filter-btn:hover,
.squad-filter:hover,
.tournament-tab:hover,
.group-filter:hover,
.filter-btn--active,
.squad-filter--active,
.tournament-tab--active,
.group-filter--active {
  border-color: #bfdbfe;
  background: var(--soft-blue);
  color: var(--blue);
}

.filter-btn__count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.teams-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
  box-shadow: none;
}

.teams-search {
  position: relative;
  min-width: 0;
}

.teams-search-input,
.teams-sort-select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  font: inherit;
}

.teams-search-input {
  padding: 9px 42px 9px 12px;
}

.teams-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.teams-sorting {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.teams-sort-select {
  min-width: 190px;
  padding: 8px 12px;
}

.team-card {
  overflow: hidden;
  padding: 0;
}

.team-card__link {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  color: inherit;
}

.team-card__header {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.team-card__flag,
.single-team__flag {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.team-card__flag {
  width: 104px;
  aspect-ratio: 3 / 2;
}

.team-card__flag img,
.single-team__flag img,
.match-team__flag {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.team-card__content {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
}

.team-card__title {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.team-card__meta,
.team-card__rank,
.team-card__group,
.team-card__titles {
  min-width: 0;
}

.team-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-card__rank,
.team-card__group,
.team-card__titles {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.team-card__rank svg,
.team-card__titles svg {
  width: 16px;
  height: 16px;
}

.team-card__footer {
  align-self: end;
  padding: 0 14px 14px;
}

.team-card__view-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.team-card__view-more svg {
  width: 18px;
  height: 18px;
}

.single-team__header {
  padding: 30px 0 20px;
}

.single-team__hero {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
}

.single-team__logo-wrap {
  min-width: 0;
}

.single-team__flag {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.single-team__info,
.single-team__main,
.single-team__sidebar,
.single-team__section {
  min-width: 0;
}

.single-team__title {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}

.single-team__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.team-stat {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.team-stat__label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.team-stat__value {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.single-team__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}

.single-team__main {
  display: grid;
  gap: 18px;
}

.single-team__section,
.team-info-card {
  padding: 22px;
}

.single-team__description p {
  margin: 0 0 14px;
  color: #334155;
}

.team-squad {
  display: grid;
  gap: 16px;
}

.team-squad__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.player-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.player-card__number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 900;
}

.player-card__info,
.player-card__meta {
  min-width: 0;
}

.player-card__name {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.player-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.player-card__position,
.player-card__age,
.player-card__club {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.single-team__sidebar {
  position: sticky;
  top: 110px;
}

.team-info-card__title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.team-info-card__content {
  display: grid;
  gap: 10px;
}

.team-info-item {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.team-info-item:last-child {
  border-bottom: 0;
}

.team-info-item__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.team-info-item__value {
  color: var(--text);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.tournament-tabs {
  margin-bottom: 14px;
}

.tournament-content {
  display: none;
}

.tournament-content--active {
  display: block;
}

.group-stage {
  display: grid;
  gap: 18px;
}

.matches-list {
  display: grid;
  gap: 18px;
}

.matches-list--groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.matches-group {
  padding: 20px;
}

.matches-group--summary {
  padding: 0;
}

.matches-group__title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.group-summary-card {
  display: grid;
  min-width: 0;
  height: auto;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.group-summary-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.group-summary-card__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.group-summary-card .matches-group__title {
  margin: 0;
}

.group-summary-card__link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.group-summary-card__link:hover {
  background: var(--blue);
  color: #fff;
}

.group-summary-card__teams {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.group-summary-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--text);
  font-weight: 700;
}

.group-summary-team:hover {
  border-color: rgba(37, 99, 235, .38);
  background: var(--soft-blue);
  color: var(--blue);
}

.group-summary-team img {
  flex: 0 0 auto;
  width: 38px;
  height: 26px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 5px;
  background: #fff;
  object-fit: cover;
}

.group-summary-team span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.group-match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.group-match-grid--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.group-match-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.group-match-card:hover {
  border-color: rgba(37, 99, 235, .38);
  background: var(--soft-blue);
  transform: translateY(-1px);
}

.group-match-card__date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.group-match-card__teams {
  color: var(--text);
  font-size: 15px;
  line-height: 1.32;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.group-match-card__teams b {
  color: var(--blue);
  font-size: 12px;
}

.group-match-card__link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.group-match-card--empty {
  background: #f8fafc;
  color: var(--muted);
}

.matches-grid,
.matches-archive__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.match--card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.match--card__header,
.match--card__date-badge,
.match--card__odds,
.match--card__link {
  display: flex;
  align-items: center;
}

.match--card__header {
  justify-content: space-between;
  gap: 10px;
}

.match--card__league,
.match--card__date-badge {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.match--card__date-badge {
  gap: 6px;
  white-space: nowrap;
}

.match--card__date-badge svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.match--card__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.match--card__team {
  min-width: 0;
}

.match--card__team:last-child {
  text-align: right;
}

.match--card__team-name {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.match--card__center {
  display: grid;
  min-width: 58px;
  justify-items: center;
  color: var(--blue);
  font-weight: 900;
  line-height: 1.2;
}

.match--card__kickoff-date {
  color: var(--muted);
  font-size: 12px;
}

.match--card__odds {
  gap: 8px;
}

.match--card__odd {
  display: grid;
  flex: 1 1 0;
  min-width: 0;
  justify-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-green);
  color: #065f46;
  line-height: 1.2;
}

.match--card__odd-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.match--card__odd-value {
  color: #065f46;
  font-weight: 900;
}

.match--card__link {
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.match--card__link:hover {
  background: #1d4ed8;
  color: #fff;
}

.match--card__link svg {
  width: 18px;
  height: 18px;
}

.match-card {
  padding: 16px;
}

.match-card__header,
.match-card__stadium,
.match-card__date {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}

.match-card__header {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.match-card__date svg,
.match-card__stadium svg,
.matches-archive__heading svg,
.match-archive-card__date-badge svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.match-card__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.match-card .match-team {
  display: grid;
  gap: 7px;
  justify-items: center;
}

.match-team__flag {
  width: 78px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.match-card__score,
.score-vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.score-vs {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.match-card__stadium {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.no-matches {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.no-matches p {
  margin: 0;
}

.matches-archive__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 24px;
  align-items: start;
}

.matches-archive__main,
.matches-archive__sidebar,
.matches-archive__section,
.match-archive-card,
.match-archive-card__teams {
  min-width: 0;
}

.matches-archive__sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
}

.matches-archive__section + .matches-archive__section {
  margin-top: 24px;
}

.matches-archive__heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.matches-archive__heading-count {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 13px;
}

.match-archive-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  box-shadow: none;
}

.match-archive-card__header,
.match-archive-card__date-badge,
.match-archive-card__odds,
.match-archive-card__link {
  display: flex;
  align-items: center;
}

.match-archive-card__header {
  justify-content: space-between;
  gap: 10px;
}

.match-archive-card__league,
.match-archive-card__date-badge {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.match-archive-card__date-badge {
  gap: 6px;
}

.match-archive-card__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.match-archive-card__team-name {
  display: block;
  color: var(--text);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.match-archive-card__center {
  display: grid;
  min-width: 58px;
  justify-items: center;
  color: var(--blue);
  font-weight: 900;
}

.match-archive-card__kickoff-date {
  color: var(--muted);
  font-size: 12px;
}

.match-archive-card__odds {
  gap: 8px;
}

.match-archive-card__odd {
  display: grid;
  flex: 1;
  min-width: 0;
  justify-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-green);
  color: #065f46;
  line-height: 1.2;
}

.match-archive-card__odd-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.match-archive-card__odd-value {
  color: #065f46;
  font-weight: 900;
}

.match-archive-card__link {
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.match-archive-card__link:hover {
  background: #1d4ed8;
  color: #fff;
}

.match-archive-card__link svg {
  width: 18px;
  height: 18px;
}

.match-widget__freebets-title,
.matches-sidebar-freebets__title,
.match-freebets .section-title {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}

.match-widget__freebets-list,
.match-freebets__list,
.matches-sidebar-freebets__list {
  display: grid;
  gap: 12px;
}

.match-widget__freebet-item,
.match-freebets__row,
.matches-sidebar-freebets__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.matches-sidebar-freebets {
  padding: 16px;
}

.matches-sidebar-freebets__title {
  margin-bottom: 12px;
  font-size: 18px;
}

.matches-sidebar-freebets__list {
  gap: 0;
}

.matches-sidebar-freebets__item {
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "logo info"
    "button button";
  gap: 10px 12px;
  padding: 14px;
  color: inherit;
}

.matches-sidebar-freebets__item:hover {
  border-color: rgba(37, 99, 235, .35);
  background: #fff;
}

.matches-sidebar-freebets__logo {
  grid-area: logo;
  align-self: center;
}

.matches-sidebar-freebets__info {
  grid-area: info;
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 2px;
}

.matches-sidebar-freebets__btn {
  grid-area: button;
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  white-space: nowrap;
}

.match-widget__freebet-item:nth-child(n+2),
.match-freebets__row:nth-child(n+2),
.matches-sidebar-freebets__item:nth-child(n+2) {
  display: none;
}

.match-widget__freebet-logo,
.match-freebets__logo,
.matches-sidebar-freebets__logo {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: contain;
  background: #eef6ff;
}

.match-widget__freebet-name,
.match-freebets__name,
.matches-sidebar-freebets__name {
  color: var(--text);
  font-weight: 700;
}

.match-widget__freebet-label,
.match-freebets__label,
.matches-sidebar-freebets__label {
  color: var(--muted);
  font-size: 13px;
}

.match-widget__freebet-sum,
.match-freebets__amount,
.matches-sidebar-freebets__amount {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.content-table {
  overflow-x: auto;
  padding: 0;
}

.content-table table,
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--text);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f8fafc;
  color: var(--text);
  font-weight: 700;
}

.about-content,
.entry-content,
.article-content,
.single-content {
  max-width: 900px;
  margin-inline: 0;
  padding: 28px;
}

.about-content p,
.entry-content p,
.article-content p,
.single-content p {
  margin: 0 0 18px;
  text-align: left;
}

.about-content h2,
.entry-content h2,
.article-content h2,
.single-content h2,
.content-heading {
  margin: 24px 0 10px;
  color: var(--text);
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.24;
  letter-spacing: 0;
}

.about-content ul,
.entry-content ul,
.article-content ul {
  padding-left: 22px;
}

.single-news__header {
  padding: 34px 0 22px;
}

.single-news__header .container,
.single-news__featured-image .container {
  width: min(1180px, calc(100% - 40px));
}

.breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.breadcrumbs__item a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 8px;
  color: #94a3b8;
}

.breadcrumbs__item--active {
  color: var(--text);
  font-weight: 700;
}

.single-news__meta,
.nav-news-card__meta,
.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.single-news__date,
.single-news__author,
.single-news__category,
.nav-news-card__date,
.nav-news-card__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.single-news__date svg,
.single-news__author svg,
.nav-news-card__date svg,
.news-card__date svg,
.news-card__author svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.single-news__category,
.nav-news-card__category,
.news-card__category {
  color: var(--blue);
  font-weight: 700;
}

.single-news__title {
  max-width: 820px;
  margin: 18px 0 14px;
  color: var(--text);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.single-news__subtitle {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.single-news__featured-image {
  margin: 8px 0 0;
}

.single-news__featured-image figure {
  max-width: 820px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.single-news__featured-image img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.single-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(240px, 300px);
  gap: 28px;
  align-items: start;
}

.single-news__main,
.single-news__body,
.single-news__sidebar {
  min-width: 0;
}

.single-news__body,
.single-news__source,
.single-news__related-team {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.single-news__body {
  padding: 26px;
}

.single-news__body > *:first-child,
.single-news__body .match-freebets:first-child {
  margin-top: 0;
}

.single-news__body > *:last-child {
  margin-bottom: 0;
}

.single-news__body p,
.single-news__body li {
  color: #334155;
  font-size: 16.5px;
  line-height: 1.68;
}

.single-news__body p {
  margin: 0 0 15px;
  text-align: left;
}

.single-news__body ul,
.single-news__body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.single-news__body li + li {
  margin-top: 8px;
}

.single-news__body h2,
.single-news__body h3,
.single-news__body h4,
.single-news__body .content-heading {
  max-width: 780px;
  margin: 24px 0 10px;
  color: var(--text);
  line-height: 1.24;
  font-weight: 800;
}

.single-news__body h2 {
  font-size: clamp(22px, 3vw, 28px);
}

.single-news__body h3 {
  font-size: clamp(19px, 2.4vw, 23px);
}

.single-news__body h4 {
  font-size: clamp(18px, 2vw, 21px);
}

.single-news__body blockquote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: #f8fafc;
}

.single-news__body .content-list {
  padding-left: 22px;
}

.single-news__body .content-quote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--text);
}

.single-news__body blockquote p:last-child {
  margin-bottom: 0;
}

.single-news__body .content-image {
  margin: 24px 0;
}

.single-news__body .content-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.single-news__body .match-freebets {
  display: none;
}

.single-news__body .match-freebets > .container {
  width: 100%;
}

.match-freebets__bk {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.match-freebets__bonus,
.matches-sidebar-freebets__bonus {
  display: grid;
  justify-items: end;
  min-width: max-content;
}

.single-news__body .match-freebets__row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.single-news__body .match-freebets__logo,
.single-news__sidebar .match-freebets__logo {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain;
  background: #eef6ff;
}

.single-news__body .bet-button-block {
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 22px;
}

.single-news__body .bet-button-block__link {
  min-height: 44px;
}

.single-news__body .bet-button-block__text {
  min-width: 0;
}

.single-news__body .broadcast-block,
.single-news__body .broadcast-block--clean {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  box-shadow: none;
}

.single-news__body .broadcast-block__close,
.single-news__body .broadcast-block__tabs {
  display: none !important;
}

.single-news__body .broadcast-block__title {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.single-news__body .broadcast-block__panel {
  display: none;
}

.single-news__body .broadcast-block__panel--active {
  display: block;
}

.single-news__body .broadcast-block__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .48fr);
  gap: 16px;
  align-items: center;
}

.single-news__body .broadcast-block__cover {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: var(--navy);
}

.single-news__body .broadcast-block__cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

.single-news__body .broadcast-block__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .2);
}

.single-news__body .broadcast-block__play svg {
  display: block;
  width: 58px;
  height: 58px;
}

.single-news__body .broadcast-block__info {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.single-news__body .broadcast-block__desc {
  margin: 0;
  color: var(--muted);
}

.single-news__body .broadcast-block__btn {
  width: max-content;
  max-width: 100%;
}

.single-news__source {
  margin-top: 18px;
  padding: 16px 18px;
}

.single-news__source p {
  margin: 0;
  color: var(--muted);
}

.single-news__related-team {
  margin-top: 18px;
  padding: 18px;
}

.single-news__related-team h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.team-link-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--text);
  font-weight: 700;
}

.team-link-card:hover {
  background: var(--soft-blue);
}

.team-link-card img {
  width: 76px;
  max-width: 76px;
  height: 52px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.team-link-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.single-news__sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 14px;
}

.sidebar-banner {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sidebar-banner a,
.sidebar-banner img {
  display: block;
}

.sidebar-banner img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  background: #f8fafc;
}

.single-news__sidebar .sidebar-banner + .sidebar-banner {
  display: none;
}

.single-news__navigation {
  padding: 34px 0 0;
}

.single-news__navigation .container,
.single-news__related .container {
  width: min(1180px, calc(100% - 40px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.post-navigation--cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.post-navigation--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}

.nav-news-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}

.nav-news-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e5e7eb;
}

.nav-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-news-card__label {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(11, 31, 58, .82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.nav-news-card__content {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.nav-news-card__title {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.32;
  font-weight: 700;
}

.nav-news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
}

.single-news__related {
  padding: 38px 0 54px;
  background: transparent;
}

.single-news__related .section-title {
  margin-bottom: 22px;
}

.single-news__related .news-grid {
  align-items: stretch;
}

.single-news__related .news-card {
  border-color: #dbe3ee;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .05);
}

.site-footer {
  margin-top: 64px;
  background: var(--navy);
  color: #e5edf6;
}

.footer-main {
  padding: 46px 0 28px;
}

.footer-main__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(180px, .7fr));
  gap: 34px;
  align-items: start;
}

.footer-logo .site-logo img {
  width: 190px;
  max-width: 100%;
}

.footer-description p,
.footer-disclaimer p,
.footer-copyright p {
  color: #cbd5e1;
}

.footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.footer-menu,
.footer-links,
.footer-links-bottom {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a,
.footer-links a,
.footer-links-bottom a {
  color: #e5edf6;
}

.footer-menu a:hover,
.footer-links a:hover,
.footer-links-bottom a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, .18);
  padding: 18px 0 26px;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.footer-links-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-disclaimer {
  margin-top: 16px;
  max-width: 960px;
}

.banner-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.banner-popup.active {
  display: flex;
}

.banner-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, .7);
}

.banner-popup__content {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.banner-popup__content a,
.banner-popup__content img {
  display: block;
}

.banner-popup__content img {
  width: 100%;
  height: auto;
}

.banner-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

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

@media (max-width: 1120px) {
  .header-main__inner {
    min-height: 76px;
  }

  .site-logo img {
    width: 200px;
  }

  .primary-menu {
    gap: 4px;
  }

  .primary-menu a {
    padding-inline: 8px;
    font-size: 13px;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .features-grid,
  .quick-links-grid,
  .teams-grid,
  .groups-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-news__layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  }

  .single-team__hero,
  .single-team__grid,
  .matches-archive__layout {
    grid-template-columns: 1fr;
  }

  .single-team__sidebar {
    position: static;
  }

  .matches-archive__sidebar {
    position: static;
  }

  .team-squad__list,
  .matches-grid,
  .matches-archive__grid {
    grid-template-columns: 1fr;
  }

  .matches-list--groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .single-news__layout {
    grid-template-columns: 1fr;
  }

  .single-news__sidebar {
    display: none;
    position: static;
  }

}

@media (max-width: 768px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .header-main__inner {
    min-height: 68px;
  }

  .site-logo img {
    width: 174px;
    max-width: 68vw;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 14px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 18px 30px rgba(15, 23, 42, .12);
  }

  .main-navigation.is-open {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 4px;
  }

  .primary-menu a {
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 15px;
  }

  .banner-top {
    padding-top: 12px;
  }

  .hero,
  .hero[style] {
    margin-top: 14px;
    padding: 48px 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .60) 0%, rgba(0, 0, 0, .40) 100%),
      url("../images/hero/chempionatmira2026.jpg") center / cover no-repeat !important;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .section-padding,
  .stats-section,
  .features-section,
  .news-grid-section,
  .about-section,
  .cta-section,
  .teams-section,
  .groups-section,
  .matches-section {
    padding: 40px 0;
  }

  .section-header {
    display: grid;
    align-items: start;
    gap: 10px;
  }

  .stats-grid,
  .features-grid,
  .quick-links-grid,
  .teams-grid,
  .groups-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .stat-card,
  .feature-card,
  .quick-link-card,
  .group-card {
    padding: 14px;
  }

  .team-card {
    padding: 0;
  }

  .quick-link-card {
    padding: 12px;
  }

  .stat-card__icon,
  .feature-card__icon,
  .quick-link-card__icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  .stat-card__number,
  .stat-card__value {
    font-size: 28px;
  }

  .stat-card__label,
  .stat-card__text {
    font-size: 13px;
  }

  .quick-link-card h3 {
    margin-bottom: 5px;
    font-size: 15px;
  }

  .quick-link-card__text {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .news-grid,
  .matches-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .teams-controls {
    grid-template-columns: 1fr;
  }

  .teams-sorting {
    display: grid;
    gap: 6px;
  }

  .teams-sort-select {
    min-width: 0;
  }

  .single-team__header {
    padding: 22px 0 12px;
  }

  .single-team__hero {
    gap: 18px;
    padding: 18px;
  }

  .single-team__flag {
    max-width: 260px;
  }

  .single-team__title {
    font-size: 32px;
  }

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

  .single-team__section,
  .team-info-card,
  .matches-group {
    padding: 18px;
  }

  .team-card__header {
    min-height: 96px;
    padding: 12px;
  }

  .team-card__flag {
    width: 96px;
  }

  .team-squad__list {
    grid-template-columns: 1fr;
  }

  .player-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 11px;
  }

  .player-card__number {
    width: 38px;
    height: 38px;
  }

  .tournament-tabs,
  .group-stage__filters,
  .teams-filters__items,
  .team-squad__filters {
    gap: 7px;
  }

  .filter-btn,
  .squad-filter,
  .tournament-tab,
  .group-filter {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .match-card {
    padding: 14px;
  }

  .match--card {
    padding: 14px;
    gap: 12px;
  }

  .match--card__header {
    align-items: flex-start;
  }

  .match--card__teams {
    gap: 8px;
    padding: 10px;
  }

  .match--card__team-name {
    font-size: 14px;
  }

  .match--card__center {
    min-width: 52px;
  }

  .match--card__odds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .match--card__odd {
    padding: 7px 6px;
  }

  .match--card__date-badge {
    gap: 4px;
    font-size: 12px;
  }

  .match-card__teams,
  .match-archive-card__teams {
    gap: 8px;
  }

  .matches-list--groups,
  .group-summary-card__teams {
    grid-template-columns: 1fr;
  }

  .group-summary-card {
    gap: 14px;
    padding: 16px;
  }

  .group-summary-card__head {
    display: grid;
  }

  .group-summary-card__link {
    width: 100%;
  }

  .match-team__flag {
    width: 64px;
    height: 42px;
  }

  .score-vs {
    width: 38px;
    height: 38px;
  }

  .match-archive-card {
    padding: 14px;
  }

  .single-news__header {
    padding: 24px 0 16px;
  }

  .single-news__header .container,
  .single-news__featured-image .container {
    width: min(900px, calc(100% - 28px));
  }

  .breadcrumbs__list {
    gap: 6px;
  }

  .breadcrumbs__item--active {
    flex: 1 1 100%;
  }

  .section-title,
  .section-header h2,
  .entry-title,
  .page-title {
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.18;
  }

  .single-news__title {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.14;
  }

  .single-news__subtitle {
    font-size: 16px;
  }

  .single-news__featured-image img {
    max-height: 420px;
  }

  .single-news__layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .single-news__body {
    padding: 20px;
  }

  .single-news__body p,
  .single-news__body li {
    font-size: 16px;
    line-height: 1.68;
  }

  .single-news__body .match-freebets__row {
    grid-template-columns: 1fr;
  }

  .match-hero__versus {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .match-hero__title {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.14;
  }

  .match-hero__team,
  .match-hero__team:last-child {
    text-align: center;
  }

  .odds-table__row {
    grid-template-columns: 1fr;
  }

  .odds-table__cell {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .group-match-grid,
  .group-match-grid--page {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 20px 18px;
  }

  .cta-box__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .cta-box__btn {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
  }

  .single-news__body .broadcast-block {
    padding: 16px;
  }

  .single-news__body .broadcast-block__content {
    grid-template-columns: 1fr;
  }

  .single-news__body .broadcast-block__cover {
    max-height: 220px;
  }

  .single-news__body .broadcast-block__btn,
  .single-news__body .bet-button-block,
  .single-news__body .bet-button-block__link {
    width: 100%;
  }

  .single-news__body .match-freebets,
  .single-news__body .match-freebets .container {
    display: none;
    padding: 0;
    width: 100%;
  }

  .single-news__body .match-freebets {
    margin: 24px 0;
  }

  .match-freebets__bonus,
  .matches-sidebar-freebets__bonus {
    justify-items: start;
    min-width: 0;
  }

  .single-news__sidebar {
    display: none;
    position: static;
  }

  .sidebar-banner img {
    max-height: 260px;
  }

  .team-link-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .team-link-card img {
    width: 64px;
    height: 44px;
  }

  .post-navigation--cards,
  .post-navigation--single {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .single-news__navigation .container,
  .single-news__related .container {
    padding: 0;
  }

  .match-widget {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .match-widget__teams,
  .match-teams,
  .match-hero__teams {
    grid-template-columns: 1fr;
  }

  .match-widget__vs,
  .match-vs {
    margin-inline: auto;
  }

  .mw-odds-table {
    overflow-x: auto;
  }

  .mw-odds-table__header,
  .mw-odds-table__row {
    display: flex;
    min-width: 0;
  }

  .mw-odds-table__label,
  .mw-odds-table__col,
  .mw-odds-table__cell {
    flex: 1 1 0;
    padding: 8px;
    font-size: 13px;
  }

  .mw-odds-table__label {
    flex: .8 1 0;
  }

  .match-widget__freebet-item,
  .match-freebets__row,
  .matches-sidebar-freebets__item {
    grid-template-columns: 1fr;
  }

  .match-widget__freebet-logo,
  .match-freebets__logo,
  .matches-sidebar-freebets__logo {
    width: 68px;
    height: 68px;
  }

  .about-content,
  .entry-content,
  .article-content,
  .single-content {
    padding: 20px;
  }

  .about-content p,
  .about-content h2 {
    text-align: left;
  }

  .footer-main__inner,
  .footer-bottom__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-column,
  .footer-menu,
  .footer-links,
  .footer-links-bottom {
    min-width: 0;
    width: 100%;
  }

  .footer-menu a,
  .footer-links a,
  .footer-links-bottom a {
    overflow-wrap: anywhere;
  }

  .footer-links-bottom {
    justify-content: flex-start;
  }

  .banner-popup__content {
    width: min(420px, 100%);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero__title {
    font-size: 30px;
  }

  .stats-grid,
  .features-grid,
  .quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card__number,
  .stat-card__value {
    font-size: 24px;
  }

  .btn,
  .match-widget__cta-btn,
  .match-widget__freebet-btn,
  .match-freebets__btn {
    width: 100%;
  }
}

/* ============================================================
   DESIGN & TYPOGRAPHY REFINEMENTS v2
   ============================================================ */

/* --- Article H1: comfortable reading size, not blog-spam huge --- */
.single-news__title {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 14px 0 12px;
}

/* --- Article subtitle --- */
.single-news__subtitle {
  font-size: 17px;
  line-height: 1.72;
  color: #4b5563;
}

/* --- Article header: subtle gradient background --- */
.single-news__header {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 28px 0 24px;
}

/* --- Article body: generous padding for reading comfort --- */
.single-news__body {
  padding: 32px 36px;
}

/* --- Body text: better size and leading --- */
.single-news__body p,
.single-news__body li {
  font-size: 17px;
  line-height: 1.82;
  color: #1e293b;
}

.single-news__body p {
  margin: 0 0 18px;
}

/* --- H2: visual section separator --- */
.single-news__body h2,
.single-news__body .content-heading {
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  margin: 36px 0 12px;
  padding-top: 22px;
  border-top: 2px solid #e2e8f0;
  letter-spacing: -0.01em;
  color: #0f172a;
}

/* --- First H2 after body start: no top border, no extra margin --- */
.single-news__body > h2:first-child,
.single-news__body > .content-heading:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* --- H3: clear sub-heading --- */
.single-news__body h3 {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  margin: 28px 0 10px;
  color: #0f172a;
  letter-spacing: -0.005em;
}

/* --- Lists: clean indented bullets --- */
.single-news__body ul,
.single-news__body ol {
  padding-left: 28px;
  margin: 0 0 20px;
}

.single-news__body li {
  margin-bottom: 6px;
}

.single-news__body li + li {
  margin-top: 0;
}

/* --- Blockquote: italic styled pull-quote --- */
.single-news__body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #eff6ff;
  font-style: italic;
  font-size: 17px;
  color: #1e3a5f;
  box-shadow: none;
}

.single-news__body blockquote p {
  margin: 0;
  font-size: inherit;
  color: inherit;
  line-height: 1.72;
}

/* --- Content images: show full image, no forced cropping --- */
.single-news__body .content-image {
  margin: 28px 0;
}

.single-news__body .content-image img {
  max-height: none;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.single-news__body .content-image figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}

/* --- Featured image: clean full-width card --- */
.single-news__featured-image {
  margin: 0 0 4px;
}

.single-news__featured-image figure {
  max-width: 860px;
  border: none;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.single-news__featured-image img {
  max-height: 480px;
}

/* --- Tables: professional appearance --- */
.content-table {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  overflow-x: auto;
  margin: 24px 0;
}

.content-table table,
table {
  min-width: 0;
  border: none;
}

th {
  background: #0b1f3a;
  color: #ffffff;
  font-weight: 700;
  border-color: #1e3a5f;
}

td {
  border-color: #e2e8f0;
}

tr:nth-child(even) td {
  background: #f8fafc;
}

tr:hover td {
  background: #eff6ff;
}

/* --- CTA button in articles: stand-out block --- */
.single-news__body .bet-button-block {
  display: flex;
  margin: 24px 0;
  padding: 14px 18px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
}

/* --- Related posts nav cards: hover lift --- */
.nav-news-card {
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  border-radius: var(--radius);
}

.nav-news-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.13);
  transform: translateY(-3px);
  color: var(--text);
}

.nav-news-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.42;
}

.nav-news-card__content {
  gap: 8px;
  padding: 14px 16px;
}

.nav-news-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* --- Sidebar banner: smooth image hover --- */
.sidebar-banner {
  transition: box-shadow 0.2s ease;
}

.sidebar-banner:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}

.sidebar-banner img {
  transition: transform 0.3s ease;
  max-height: 280px;
}

.sidebar-banner:hover img {
  transform: scale(1.025);
}

/* --- Source block: merge visually with body card --- */
.single-news__source {
  margin-top: 0;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: #f8fafc;
  box-shadow: none;
}

/* Override: body card no bottom-radius when source follows */
.single-news__main:has(.single-news__source) .single-news__body {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}

/* --- Breadcrumbs: lighter weight for active item --- */
.breadcrumbs__item--active {
  font-weight: 500;
}

/* --- Section navigation border --- */
.single-news__navigation {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

/* --- News card excerpt: proper line clamp --- */
.news-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- News card: subtle hover lift --- */
.news-card {
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.news-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.11);
  transform: translateY(-2px);
}

/* --- Global link hover in articles --- */
.single-news__body a:not(.btn):not(.bet-button-block__link) {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

.single-news__body a:not(.btn):not(.bet-button-block__link):hover {
  text-decoration-color: var(--blue);
}

/* --- Footer logo: consistent sizing --- */
.footer-logo .site-logo img {
  width: 180px;
  max-width: 180px;
  height: auto;
}

/* --- Strong/bold in articles: not too heavy --- */
.single-news__body strong {
  font-weight: 700;
  color: #0f172a;
}

/* --- Em/italic --- */
.single-news__body em {
  font-style: italic;
  color: #374151;
}

/* === MOBILE RESPONSIVE OVERRIDES === */
@media (max-width: 768px) {
  .single-news__title {
    font-size: clamp(22px, 7vw, 30px);
  }

  .single-news__body {
    padding: 20px 18px;
  }

  .single-news__body h2,
  .single-news__body .content-heading {
    font-size: 20px;
    padding-top: 16px;
    margin-top: 28px;
  }

  .single-news__body h3 {
    font-size: 18px;
  }

  .content-table {
    margin: 16px 0;
  }

  .nav-news-card__title {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .single-news__body {
    padding: 16px 14px;
  }

  .single-news__body blockquote {
    padding: 14px 16px;
  }
}

/* ============================================================
   CONTRAST & LAYOUT FIXES
   ============================================================ */

/* --- RULE: Any element with a blue/navy background MUST have white text --- */
[style*="background:#2563"],
[style*="background: #2563"],
[style*="background:#0b1f"],
[style*="background: #0b1f"] {
  color: #ffffff !important;
}

/* --- Ensure all CTA buttons on blue bg have white text --- */
.btn,
.bet-button-block__link,
.match-widget__cta-btn,
.match-widget__freebet-btn,
.match-freebets__btn,
.matches-sidebar-freebets__btn,
.broadcast-block__btn,
.match--card__link {
  color: #ffffff !important;
}

.btn:hover,
.bet-button-block__link:hover,
.match-widget__cta-btn:hover,
.match-widget__freebet-btn:hover,
.match-freebets__btn:hover,
.matches-sidebar-freebets__btn:hover,
.broadcast-block__btn:hover,
.match--card__link:hover {
  color: #ffffff !important;
}

/* --- Banner top: links and text always white if on dark background --- */
.banner-top a,
.banner-top img {
  display: block;
}

/* --- Odds cells: clear contrast --- */
.odds-table__cell {
  background: var(--soft-blue);
  color: var(--navy);
  text-decoration: none;
}

.odds-table__cell:hover {
  background: var(--blue);
  color: #ffffff;
}

.odds-table__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.odds-table__cell:hover .odds-table__label,
.odds-table__cell:hover .odds-table__value {
  color: #ffffff;
}

/* --- Match hero: kickoff time contrast --- */
.match-hero__kickoff-date,
.match-hero__kickoff-time {
  color: var(--text);
  font-weight: 700;
}

.match-hero__kickoff-date {
  font-size: 14px;
  color: var(--muted);
}

.match-hero__kickoff-time {
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
}

/* --- Match hero VS circle: always white text --- */
.match-hero__center::before {
  color: #ffffff !important;
  background: var(--navy);
}

/* --- Pagination: current page white text --- */
.page-numbers.current,
.pagination .current {
  background: var(--blue);
  color: #ffffff !important;
  border-color: var(--blue);
}

/* --- Filter buttons: active state contrast --- */
.group-filter--active,
.filter-btn--active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff !important;
}

/* --- Category badge in news: readable --- */
.single-news__category {
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   SIDEBAR LAYOUT FIXES
   ============================================================ */

/* --- Ensure single-news layout properly separates content and sidebar --- */
.single-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(240px, 300px);
  gap: 32px;
  align-items: start;
}

/* --- Sidebar is NEVER inside the article body card --- */
/* position:sticky + top restored here (was lost in previous edit) */
.single-news__sidebar {
  position: sticky;
  top: 110px; /* sticky banner-top(~95px) + gap(15px) — меню не sticky */
  display: grid;
  gap: 16px;
  min-width: 0;
  align-self: start;
}

/* --- Banner in sidebar: full-width, not inline with text --- */
.single-news__sidebar .sidebar-banner {
  display: block;
  width: 100%;
  overflow: hidden;
}

/* --- Sidebar banner should not inherit article text styles --- */
.single-news__sidebar p,
.single-news__sidebar span,
.single-news__sidebar a:not(.sidebar-banner a) {
  font-size: inherit;
  line-height: inherit;
}

/* --- Match page note text: subtle, not bold --- */
.match-page__note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* --- Match page CTA section: clean, spaced --- */
.match-page__cta {
  margin-top: 18px;
}

/* --- Match odds table: full width, clean --- */
.odds-table {
  margin: 18px 0;
}

.odds-table__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* ============================================================
   MOBILE SIDEBAR: stack correctly on small screens
   ============================================================ */
@media (max-width: 900px) {
  .single-news__layout {
    grid-template-columns: 1fr;
  }

  .single-news__sidebar {
    position: static;
    width: 100%;
    max-width: 100%;
  }

  .single-news__sidebar .sidebar-banner img {
    max-height: 160px;
    object-fit: contain;
  }

  .match-hero__versus {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    padding: 14px;
  }

  .match-hero__team-name {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .odds-table__row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .odds-table__cell {
    padding: 10px 8px;
    font-size: 15px;
  }

  .match-page__cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   LIVE MATCH WIDGET — дополнительные стили (не ломают существующий дизайн)
   ========================================================================== */

/* SAFETY: prevents 0:0 and 0' from showing before JS runs */
[hidden] { display: none !important; }
.match-widget__live-score,
.match-widget__live-minute,
.match-widget__updated,
.match-widget__error { display: none; }
.match-widget__live-score:not([hidden]),
.match-widget__updated:not([hidden]) { display: flex; flex-direction: column; }
.match-widget__live-minute:not([hidden]) { display: inline-flex; }
.match-widget__error:not([hidden]) { display: block; }


/* --- Шапка виджета: лига + статус в одну строку --- */
.match-widget__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.match-widget__league {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* --- Базовый статус-бейдж (таблетка) --- */
.match-widget__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* upcoming */
.match-widget__status--upcoming {
  background: var(--soft-blue);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,.15);
}

/* live — красный с пульсацией */
.match-widget__status--live {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid rgba(185,28,28,.15);
}

.match-widget__status--live::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.7); }
}

/* halftime */
.match-widget__status--halftime {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid rgba(180,83,9,.15);
}

/* finished */
.match-widget__status--finished {
  background: var(--soft-green);
  color: #065f46;
  border: 1px solid rgba(6,95,70,.15);
}

/* postponed / cancelled */
.match-widget__status--postponed,
.match-widget__status--cancelled {
  background: #f1f5f9;
  color: var(--muted);
  border: 1px solid var(--line);
}

/* --- Счёт (скрыт до live/finished) --- */
.match-widget__live-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.match-widget__score-digits {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1;
  color: var(--text);
  letter-spacing: -.02em;
}

.match-widget__score-digits span {
  min-width: 1ch;
  text-align: center;
}

.match-widget__score-digits .score-sep {
  color: var(--muted);
  font-weight: 400;
}

/* --- Минута --- */
.match-widget__live-minute {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
}

/* --- "Обновлено: HH:MM:SS" --- */
.match-widget__updated {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-style: italic;
}

/* --- "Данные временно недоступны" --- */
.match-widget__error {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: #fef3c7;
  color: #92400e;
  font-size: 13px;
}

/* --- datetime-блок (дата + время до матча) --- */
.match-widget__datetime {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.match-widget__date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.match-widget__time {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

/* --- Мобильные правки для live-элементов --- */
@media (max-width: 600px) {
  .match-widget__score-digits {
    font-size: 32px;
  }

  .match-widget__header {
    margin-bottom: 8px;
  }
}

/* ===================================================================
   MATCH WIDGET: state classes + panel + info-note + freebet-bk
   (appended after main LIVE WIDGET block)
   =================================================================== */

/* --- Panel: обёртка вокруг шапки + команд --- */
.match-widget__panel {
  margin: -22px -22px 16px;
  padding: 16px 22px 14px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, border-color .25s ease;
}

/* --- upcoming --- */
.match-widget--upcoming .match-widget__panel {
  background: #f8fafc;
  border-bottom-color: var(--line);
}

/* --- LIVE: тёмно-зелёный --- */
.match-widget--live .match-widget__panel {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  border-bottom-color: #065f46;
}

.match-widget--live .match-widget__league {
  color: rgba(167, 243, 208, .85);
}

.match-widget--live .match-widget__team-name {
  color: #ecfdf5;
}

.match-widget--live .match-widget__time,
.match-widget--live .match-widget__date {
  color: #a7f3d0;
}

.match-widget--live .match-widget__score-digits {
  color: #fff;
}

.match-widget--live .match-widget__score-digits .score-sep {
  color: rgba(255,255,255,.5);
}

.match-widget--live .match-widget__status--live {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

/* --- HALFTIME: янтарный --- */
.match-widget--halftime .match-widget__panel {
  background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
  border-bottom-color: #7c2d12;
}

.match-widget--halftime .match-widget__league,
.match-widget--halftime .match-widget__team-name,
.match-widget--halftime .match-widget__score-digits {
  color: #fef3c7;
}

.match-widget--halftime .match-widget__score-digits .score-sep {
  color: rgba(254,243,199,.5);
}

/* --- FINISHED: нейтральный серый --- */
.match-widget--finished .match-widget__panel {
  background: #f1f5f9;
  border-bottom-color: var(--line);
}

/* --- INFO-NOTE: сообщение о фаллбеке --- */
.match-widget__info-note {
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--soft-blue);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

/* Скрыть info-note при live/halftime/finished (JS выставляет hidden) */
.match-widget__info-note[hidden] { display: none !important; }

/* --- FREEBET-BK: лого + название --- */
.match-widget__freebet-bk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* --- SCORE-VAL: цифры счёта --- */
.match-widget__score-digits .score-val {
  min-width: 1.1ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* --- CTA: синяя кнопка, белый текст (если не задано выше) --- */
.match-widget__cta-btn {
  color: #fff !important;
}

/* --- Mobile: 1win уходит вниз --- */
@media (max-width: 768px) {
  .match-widget__panel {
    margin: -16px -16px 14px;
    padding: 14px 16px 12px;
  }

  .match-widget__team--home,
  .match-widget__team--away {
    text-align: center;
  }
}



/* =============================================================
   HOME MATCH OF DAY WIDGET  -  чистый статический виджет
   Без live, счёта, минуты, LIVE-статуса.
   ============================================================= */

/* Грид: [info ~27%] | [odds ~43%] | [1win ~30%]
   main zone = 70%, 1win sidebar = 30% */
.home-match-widget.match-widget {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1.6fr) minmax(200px, 1.1fr);
  gap: 0;
  align-items: start;
}

.home-match-widget .match-widget__left {
  padding: 22px 20px 22px 22px;
  border-right: 1px solid var(--line);
}

.home-match-widget .match-widget__odds-wrap {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

.home-match-widget .match-widget__right {
  padding: 22px 20px 22px 20px;
}

/* --- cta-more: ссылка "Подробнее" --- */
.match-widget__cta-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: opacity .15s;
}
.match-widget__cta-more:hover { opacity: .75; }

/* --- Команды на главной: крупнее, жирнее --- */
.home-match-widget .match-widget__team-name {
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 800;
  line-height: 1.2;
}

/* --- 1win sidebar: freebet-item — вертикальный стек (не 3-col grid) --- */
.home-match-widget .match-widget__freebet-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.home-match-widget .match-widget__freebet-bk {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.home-match-widget .match-widget__freebet-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

/* --- Кнопка "Получить бонус" — не ломать текст --- */
.home-match-widget .match-widget__freebet-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  min-height: 42px;
}

/* --- Таблица коэффициентов — полная ширина --- */
.home-match-widget .mw-odds-table {
  width: 100%;
  margin-top: 12px;
}

/* --- Mobile: cols collapse --- */
@media (max-width: 900px) {
  .home-match-widget.match-widget {
    grid-template-columns: 1fr;
  }
  .home-match-widget .match-widget__left,
  .home-match-widget .match-widget__odds-wrap {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .home-match-widget .match-widget__right {
    border-top: none;
  }
  .home-match-widget .match-widget__freebet-btn {
    white-space: nowrap;
    width: 100%;
  }
}

/* ============================================================
   STICKY BANNERS FIX — v3.4
   Верхний баннер и sidebar-баннер остаются видимыми при скролле.
   Партнёрские ссылки и src не изменены.
   ============================================================ */

/* ---- Верхний баннер: sticky вверху (меню не sticky, баннер прилипает к top:0) ---- */
@media (min-width: 1024px) {
  .banner-top {
    position: sticky;
    top: 0;         /* меню уходит, баннер прилипает к самому верху */
    z-index: 45;
    background: var(--page);
  }
}

/* ---- Верхний баннер: НЕ sticky на планшетах и мобильных ---- */
@media (max-width: 1023px) {
  .banner-top {
    position: static;
    top: auto;
    z-index: auto;
  }
}

/* ---- Sidebar: sticky на десктопе (финальный override) ---- */
/* Учитывает только sticky banner-top(~95px) + отступ(15px) — меню не sticky */
@media (min-width: 981px) {
  .single-news__sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}

/* ---- Sidebar: убираем sticky на планшетах и мобильных ---- */
@media (max-width: 980px) {
  .banner-top {
    position: static;
    top: auto;
    z-index: auto;
  }
  .single-news__sidebar {
    position: static;
    top: auto;
  }
}

