* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #f5f6f7;
  --color-surface: #ffffff;
  --color-surface-soft: #fafafa;
  --color-text: #17191c;
  --color-muted: #68707a;
  --color-faint: #8c939b;
  --color-line: #e2e5e9;
  --color-line-strong: #cfd4da;
  --color-nav: #090d12;
  --color-nav-soft: #141b24;
  --color-accent: #d71920;
  --color-accent-dark: #a90f15;
  --color-accent-soft: #fff1f2;
  --font-sans: Inter, Arial, sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.45rem;
  --fs-2xl: 2rem;
  --fs-3xl: 3.15rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shell: 1180px;
  --article: 740px;
  --shadow-soft: 0 18px 40px rgba(9, 13, 18, 0.08);
  --shadow-panel: 0 22px 70px rgba(9, 13, 18, 0.16);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

button,
input {
  font: inherit;
}

button,
a,
input {
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.38);
}

.site-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.site-shell,
.page-main,
.masthead,
.nav,
.nav-links,
.nav-search-form,
.home-lead,
.top-strip,
.content-grid,
.category-block-grid,
.top-news-section,
.latest-section,
.article-layout,
.rail,
.cat-sidebar,
.article-sidebar,
.section-heading,
.compact-heading,
.news-card,
.list-item,
.rank-item,
.hero-card,
.hero-content,
.article-content,
.category-block,
.category-visual,
.category-block-body,
.horoscope-section,
.fx-rates-panel,
.fx-rate-row,
.newsletter-panel {
  min-width: 0;
}

.page-main {
  padding: var(--space-8) 0 var(--space-10);
}

.breaking {
  background: var(--color-accent);
  color: #ffffff;
}

.breaking[hidden] {
  display: none;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 36px;
  font-size: var(--fs-sm);
  overflow: hidden;
}

.breaking-label {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.breaking-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.breaking-track {
  display: inline-flex;
  width: max-content;
  animation: breaking-scroll 28s linear infinite;
}

.breaking-track.is-single {
  width: auto;
  min-width: 100%;
  animation: breaking-single-scroll 18s linear infinite;
}

.breaking:hover .breaking-track,
.breaking:focus-within .breaking-track {
  animation: none;
  transform: translateX(0);
}

.breaking-group {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}

.breaking-link {
  color: #ffffff;
  font-weight: 700;
}

.breaking-link:hover,
.breaking-link:focus-visible {
  color: #ffffff;
  text-decoration: none;
}

.breaking-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.football-analysis-board {
  margin: 0 0 var(--space-6);
  padding: 12px 16px;
  height: 170px;
  border: 1px solid rgba(215, 25, 32, 0.24);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(6, 10, 16, 0.94), rgba(6, 10, 16, 0.74), rgba(6, 10, 16, 0.42)),
    url("assets/football-analysis-bg.jpg") center / cover no-repeat;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.football-analysis-board[hidden] {
  display: none;
}

.football-analysis-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 8px;
}

.football-analysis-head h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
  line-height: 1.05;
}

.football-analysis-date {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.football-analysis-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  min-height: 0;
  flex: 1 1 auto;
}

.football-pick {
  min-width: 0;
  min-height: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.48) rgba(255, 255, 255, 0.08);
}

.football-pick::-webkit-scrollbar {
  width: 10px;
}

.football-pick::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.football-pick::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
}

.football-pick.primary-pick {
  background: rgba(215, 25, 32, 0.2);
}

.pick-league {
  display: block;
  margin-bottom: 6px;
  color: #ffccd0;
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.football-pick h3 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  line-height: 1.15;
}

.football-pick p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.42;
  overflow: visible;
}

.pick-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-sm);
}

.pick-meta span {
  color: #ffffff;
  font-weight: 900;
}

@keyframes breaking-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes breaking-single-scroll {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .breaking-track {
    width: auto;
    animation: none;
  }
}

.morning-weather {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.morning-weather[hidden] {
  display: none;
}

.morning-weather-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 4px 8px;
  border-bottom: 1px solid var(--color-line);
}

.morning-weather-head .section-kicker {
  display: none;
}

.morning-weather-head h2 {
  margin-top: 0;
  font-size: 0.76rem;
  line-height: 1;
}

.morning-weather-head small {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 0.56rem;
  font-weight: 800;
}

.weather-city-strip {
  display: grid;
  grid-auto-columns: minmax(68px, 78px);
  grid-auto-flow: column;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  background: #f7f8fa;
}

.weather-city-card {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 38px;
  padding: 4px 5px;
  border-right: 1px solid var(--color-line);
  background: #ffffff;
  scroll-snap-align: start;
}

.weather-city-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15px;
  align-items: center;
  gap: 2px;
}

.weather-icon {
  width: 15px;
  height: 15px;
}

.weather-city-name {
  overflow: hidden;
  color: var(--color-text);
  font-size: 0.58rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.weather-temp {
  color: #25476f;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.weather-condition,
.weather-wind,
.weather-loading {
  color: var(--color-muted);
  font-size: 0.5rem;
  font-weight: 800;
}

.weather-wind {
  display: none;
}

.weather-condition {
  display: none;
  color: var(--color-text);
}

.weather-loading {
  padding: 3px 7px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-nav);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.masthead {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: var(--space-5);
  min-height: 82px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  line-height: 1;
}

.logo img,
.footer-logo img {
  display: block;
  width: auto;
  object-fit: contain;
}

.logo img {
  height: 64px;
  max-width: 260px;
}

.footer-logo img {
  height: 46px;
  max-width: 190px;
}

.tagline {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #25476f;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 42px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 12px 11px;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-sm);
  font-weight: 700;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  border-bottom-color: var(--color-accent);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.nav-search-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-self: end;
}

.nav-search-input {
  width: 250px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: var(--fs-sm);
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.nav-search,
.nav-search-submit {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.nav-search {
  width: 38px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.25rem;
}

.nav-search-submit,
.btn-primary {
  padding: 8px 14px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.header-social {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-social a {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.social-icon {
  position: relative;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  font-style: normal;
  line-height: 1;
}

.social-icon-facebook {
  color: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: lowercase;
}

.social-icon-instagram {
  border-radius: 7px;
  background: radial-gradient(circle at 30% 105%, #feda75 0 18%, #fa7e1e 30%, #d62976 52%, #962fbf 72%, #4f5bd5 100%);
}

.social-icon-instagram::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 5px;
}

.social-icon-instagram::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
}

.social-icon-tiktok {
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 900;
  text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
}

.header-social a:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: var(--color-accent);
  color: #ffffff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 800;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: none;
  width: min(360px, 92vw);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.search-suggestions.visible {
  display: block;
}

.search-suggestions a,
.search-suggestions .no-results {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: var(--fs-sm);
}

.search-suggestions a:last-child,
.search-suggestions .no-results:last-child {
  border-bottom: 0;
}

.search-suggestions span {
  display: block;
  margin-bottom: 3px;
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker,
.card-cat {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-text);
}

.section-heading h1,
.section-heading h2,
.page-hero h1,
.not-found-panel h1 {
  font-size: var(--fs-2xl);
  line-height: 1.1;
}

.home-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) 360px;
  gap: var(--space-6);
  align-items: stretch;
}

.hero-card {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-nav);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-card a {
  display: grid;
  min-height: inherit;
  color: inherit;
}

.hero-card img,
.hero-placeholder {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 520px;
}

.hero-card img,
.news-card img,
.list-item img,
.rank-thumb,
.category-visual img,
.article-img,
.article-inline-media img,
.related-card img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-placeholder,
.thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111820, #343a40);
  color: rgba(255, 255, 255, 0.42);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-content {
  grid-area: 1 / 1;
  align-self: end;
  padding: var(--space-8);
  background: linear-gradient(180deg, rgba(9, 13, 18, 0.08), rgba(9, 13, 18, 0.86));
}

.hero-content h2 {
  max-width: 760px;
  margin: var(--space-3) 0;
  font-size: var(--fs-3xl);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.hero-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-lg);
}

.meta-line,
.card-meta {
  color: var(--color-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.hero-content .meta-line {
  margin-top: var(--space-4);
  color: rgba(255, 255, 255, 0.68);
}

.today-panel,
.rail-section,
.context-brief-panel,
.policy-article,
.not-found-panel,
.editorial-info,
.newsletter-panel,
.fx-rates-panel,
.empty-state {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.today-panel,
.rail-section,
.context-brief-panel {
  padding: var(--space-5);
}

.today-panel .section-kicker,
.rail-section .section-kicker,
.context-brief-panel .section-kicker {
  margin-bottom: var(--space-4);
}

.context-brief-panel {
  display: grid;
  gap: var(--space-4);
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.context-brief-panel h3 {
  margin: 0;
  font-size: var(--fs-lg);
  line-height: 1.15;
}

.context-brief-panel.has-context-image {
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(9, 13, 18, 0.24);
}

.context-brief-panel.has-context-image h3 a {
  color: #ffffff;
}

.context-brief-panel.has-context-image .context-brief-list div {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.context-brief-panel.has-context-image .context-brief-list p,
.context-brief-panel.has-context-image .context-empty {
  color: rgba(255, 255, 255, 0.78);
}

.context-brief-panel.has-context-image .context-brief-link {
  border-color: rgba(255, 255, 255, 0.84);
  color: #ffffff;
}

.context-brief-panel.has-context-image .context-brief-link:hover {
  background: #ffffff;
  color: var(--color-text);
}

.context-brief-list {
  display: grid;
  gap: var(--space-3);
}

.context-brief-list div {
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-line);
}

.context-brief-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--color-accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.context-brief-list p,
.context-empty {
  margin: 0;
  color: var(--color-muted);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.context-brief-link {
  justify-self: start;
  padding: 10px 14px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: var(--fs-xs);
  font-weight: 900;
}

.context-brief-link:hover {
  background: var(--color-text);
  color: #ffffff;
}

.rank-list {
  display: grid;
  gap: var(--space-4);
}

.rank-item {
  display: grid;
  grid-template-columns: 34px 72px 1fr;
  gap: var(--space-3);
  align-items: start;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-line);
}

.rank-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.rank-num {
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.rank-thumb,
.thumb-placeholder {
  aspect-ratio: 1 / 0.78;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.rank-title,
.related-item h3,
.card-title {
  font-size: var(--fs-sm);
  line-height: 1.35;
}

.top-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.news-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.news-card img,
.news-card .thumb-placeholder {
  aspect-ratio: 16 / 10;
}

.news-card-body {
  padding: var(--space-4);
}

.news-card h2,
.news-card h3 {
  margin: var(--space-2) 0;
  font-size: 1.05rem;
  line-height: 1.32;
}

.news-card p,
.list-item p,
.policy-article p,
.not-found-panel p,
.newsletter-panel p,
.empty-state p {
  color: var(--color-muted);
}

.content-grid,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-8);
  align-items: start;
  margin-top: var(--space-8);
}

.editorial-list {
  display: grid;
  gap: var(--space-4);
}

.list-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-line);
}

.list-item:first-child {
  padding-top: 0;
}

.list-item img,
.list-item .thumb-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
}

.list-item h2,
.list-item h3 {
  margin: var(--space-2) 0;
  font-size: var(--fs-xl);
  line-height: 1.18;
}

.compact-list .list-item,
.search-results .list-item {
  grid-template-columns: 170px minmax(0, 1fr);
}

.rail {
  display: grid;
  gap: var(--space-4);
}

.category-blocks,
.latest-section,
.editorial-info,
.newsletter-panel,
.fx-rates-panel {
  margin-top: var(--space-10);
}

.horoscope-section {
  margin-top: var(--space-6);
}

.editorial-info {
  padding: var(--space-8);
}

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

.info-grid article {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
}

.info-grid h3 {
  font-size: var(--fs-xl);
}

.info-grid p {
  color: var(--color-muted);
}

.horoscope-section {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.horoscope-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-3);
  align-items: end;
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--color-line);
}

.horoscope-heading .section-kicker {
  display: none;
}

.horoscope-heading h2 {
  font-size: var(--fs-2xl);
  line-height: 1;
  text-transform: uppercase;
}

.horoscope-heading time {
  color: var(--color-muted);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-transform: uppercase;
}

.horoscope-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: var(--space-8);
  padding: var(--space-6) var(--space-8);
}

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

.horoscope-sign {
  display: grid;
  gap: var(--space-2);
  min-height: 112px;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-muted);
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.horoscope-sign:hover {
  border-color: var(--color-line-strong);
  color: var(--color-text);
  transform: translateY(-1px);
}

.horoscope-sign.active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(215, 25, 32, 0.22);
}

.horoscope-symbol {
  color: currentColor;
  font-size: 3rem;
  line-height: 1;
}

.horoscope-reading {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  min-height: 100%;
  padding: var(--space-3) 0;
}

.horoscope-reading h3 {
  font-size: var(--fs-2xl);
  line-height: 1.1;
}

.horoscope-range {
  color: var(--color-muted);
  font-size: var(--fs-sm);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.horoscope-text {
  color: var(--color-text);
  font-size: var(--fs-lg);
  line-height: 1.72;
}

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

.category-block {
  min-height: 220px;
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.category-block h3 {
  margin: var(--space-2) 0 var(--space-4);
  font-size: var(--fs-xl);
}

.category-block ul {
  display: grid;
  gap: var(--space-3);
  list-style: none;
}

.newsletter-panel {
  position: relative;
  overflow: hidden;
  padding: var(--space-8);
  background: var(--color-nav);
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.newsletter-panel.has-analysis-image {
  min-height: 300px;
  display: grid;
  align-content: end;
}

.newsletter-panel h2 {
  margin: var(--space-2) 0;
  font-size: var(--fs-2xl);
}

.newsletter-panel p:not(.section-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.newsletter-panel h2 a {
  color: inherit;
}

.analysis-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: var(--space-4);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: var(--fs-sm);
  font-weight: 900;
}

.fx-rates-panel {
  position: relative;
  overflow: hidden;
  padding: var(--space-5);
  background: #050b13;
  color: #ffffff;
}

.fx-rates-panel::before,
.fx-rates-panel::after {
  position: absolute;
  inset: 0;
  content: '';
}

.fx-rates-panel::before {
  background: url('/assets/fx-rates-bg.webp') center top / cover;
  filter: contrast(1.22) saturate(1.18) brightness(1.08);
  transform: scale(1.01);
}

.fx-rates-panel::after {
  background: linear-gradient(180deg, rgba(5, 11, 19, 0.5), rgba(5, 11, 19, 0.76));
}

.fx-rates-panel > * {
  position: relative;
  z-index: 1;
}

.fx-rates-panel[hidden] {
  display: none;
}

.context-brief-panel[hidden],
.newsletter-panel[hidden] {
  display: none;
}

.fx-rates-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.fx-rates-head h2 {
  margin-top: 2px;
  color: #ffffff;
  font-size: var(--fs-xl);
}

.fx-rates-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-align: right;
}

.fx-rates-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
}

.fx-rate-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.fx-rate-card span,
.fx-rate-card small {
  display: block;
}

.fx-rate-card span {
  color: var(--color-accent);
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fx-rate-card strong {
  display: block;
  margin-top: 2px;
  color: #ffffff;
  font-size: var(--fs-xl);
  line-height: 1.1;
}

.fx-rate-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.fx-rates-source {
  margin-top: var(--space-3);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.fx-rates-message {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  font-weight: 800;
}

.rail .fx-rates-panel {
  align-self: start;
}

.rail .fx-rates-head {
  align-items: flex-start;
  flex-direction: column;
  gap: var(--space-1);
}

.rail .fx-rates-head h2 {
  font-size: var(--fs-lg);
}

.rail .fx-rates-meta {
  text-align: left;
}

.rail .fx-rates-list {
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.rail .fx-rate-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: var(--space-3);
  align-items: center;
  padding: 10px 12px;
}

.rail .fx-rate-card span {
  grid-row: span 2;
}

.rail .fx-rate-card strong {
  margin-top: 0;
  font-size: var(--fs-lg);
}

.rail .fx-rate-card small {
  margin-top: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  color: var(--color-muted);
  font-size: var(--fs-sm);
}

.page-hero {
  padding: var(--space-8);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.compact-hero h1,
.cat-header-title {
  margin: var(--space-2) 0;
  font-size: var(--fs-3xl);
  line-height: 1.02;
}

.cat-header-desc {
  max-width: 720px;
  color: var(--color-muted);
  font-size: var(--fs-lg);
}

.market-ticker {
  margin: var(--space-5) 0 var(--space-7);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.market-ticker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-ticker-head small {
  color: var(--color-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.market-ticker-widget {
  min-height: 48px;
  background: #ffffff;
}

.football-ticker {
  margin: var(--space-5) 0 var(--space-7);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.football-ticker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.football-ticker-head small {
  color: var(--color-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.football-match-strip {
  display: grid;
  grid-auto-columns: minmax(168px, 192px);
  grid-auto-flow: column;
  gap: 12px;
  padding: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  background: #f7f8fa;
}

.football-match-card {
  min-height: 168px;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #ffffff;
  scroll-snap-align: start;
}

.football-teams {
  display: grid;
  gap: 8px;
}

.football-teams div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: var(--color-ink);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.football-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2f4f7;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 900;
  overflow: hidden;
}

.football-badge img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.football-score {
  margin-top: 14px;
  color: var(--color-ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.football-status {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.football-league {
  margin-top: 10px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.football-loading {
  padding: 18px;
  color: var(--color-muted);
  font-size: var(--fs-sm);
  font-weight: 700;
}

.article-video-media {
  margin: var(--space-6) 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #0b1117;
}

.article-video {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: #0b1117;
}

.article-video-embed {
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: none;
  border: 0;
}

.article-video-link {
  display: block;
  padding: var(--space-5);
  color: #ffffff;
  font-weight: 900;
  text-align: center;
  text-decoration: underline;
}

.article-video-caption {
  padding: 10px 14px;
  color: rgba(255,255,255,0.72);
  font-size: var(--fs-xs);
}

.article-inline-media {
  margin: var(--space-6) 0;
}

.article-inline-media img,
.article-inline-media video,
.article-inline-media iframe {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
  background: #0b1117;
}

.article-inline-media iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.article-inline-media img {
  height: auto;
}

.article-inline-media figcaption {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: var(--fs-xs);
}

.preview-card video {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  background: #0b1117;
}

.football-ticker {
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
}

.football-ticker-head {
  padding: 10px 16px;
  background: #ffffff;
}

.football-match-strip {
  display: grid;
  grid-auto-columns: minmax(360px, 1fr);
  grid-auto-flow: column;
  gap: 0;
  padding: 0;
  background: #ffffff;
  border-top: 1px solid var(--color-line);
}

.football-match-card {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 120px minmax(110px, 1fr);
  align-items: center;
  min-height: 126px;
  padding: 16px 24px;
  border: 0;
  border-right: 1px solid var(--color-line);
  border-radius: 0;
  box-shadow: none;
}

.football-team {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--color-ink);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-align: center;
}

.football-team span:last-child {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.football-crest {
  display: grid;
  place-items: center;
  width: 44px;
  height: 32px;
}

.football-crest img {
  max-width: 44px;
  max-height: 32px;
  object-fit: contain;
}

.football-crest.is-empty {
  width: 44px;
  height: 32px;
  border-radius: 4px;
  background: #f0f2f5;
}

.football-center {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.football-coverage {
  max-width: 120px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.football-score {
  margin: 0;
  color: #05070a;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.football-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 78px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #edf0f3;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.football-status.is-live span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #13b981;
}

@media (max-width: 700px) {
  .football-match-strip {
    grid-auto-columns: minmax(300px, 86vw);
  }

  .football-match-card {
    grid-template-columns: minmax(86px, 1fr) 96px minmax(86px, 1fr);
    padding: 14px;
  }

  .football-score {
    font-size: 28px;
  }
}

.feature-card {
  margin-bottom: var(--space-6);
}

.feature-card .news-card-body {
  padding: var(--space-6);
}

.feature-card h2 {
  font-size: var(--fs-2xl);
}

.cat-menu {
  display: grid;
  gap: 2px;
}

.cat-menu-item {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--fs-sm);
  font-weight: 800;
}

.cat-menu-item:hover,
.cat-menu-item.active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.article-shell {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: var(--article);
}

.article-header {
  margin-bottom: var(--space-6);
}

.article-title {
  margin: var(--space-3) 0;
  font-size: var(--fs-3xl);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.article-lead {
  color: var(--color-muted);
  font-size: 1.22rem;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.meta-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.meta-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-nav);
  color: #ffffff;
  font-size: var(--fs-xs);
  font-weight: 900;
}

.meta-name {
  font-weight: 800;
}

.meta-date,
.meta-read {
  color: var(--color-muted);
  font-size: var(--fs-sm);
}

.article-media {
  margin: 0 0 var(--space-8);
}

.article-img,
.article-media .thumb-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background: var(--color-nav-soft);
}

.article-img[src=""] {
  display: none;
}

.article-caption {
  margin-top: var(--space-2);
  color: var(--color-faint);
  font-size: var(--fs-xs);
}

.article-text {
  font-size: 1.06rem;
  line-height: 1.9;
}

.article-text p,
.article-text ul,
.article-text ol {
  margin-bottom: var(--space-5);
}

.article-text h2,
.article-text h3 {
  margin: var(--space-8) 0 var(--space-3);
  line-height: 1.2;
}

.article-text h2 {
  font-size: var(--fs-xl);
}

.article-text h3 {
  font-size: var(--fs-lg);
}

.article-text a {
  color: var(--color-accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-quote {
  margin: var(--space-8) 0;
  padding: var(--space-5) var(--space-6);
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface-soft);
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.65;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
}

.share-label {
  color: var(--color-muted);
  font-size: var(--fs-sm);
  font-weight: 800;
}

.share-btn {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
}

.post-article-block {
  margin-top: var(--space-10);
}

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

.related-card {
  min-height: 230px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}

.related-card.has-image {
  background-image:
    linear-gradient(180deg, rgba(8, 13, 20, 0.42), rgba(8, 13, 20, 0.86)),
    var(--related-bg);
  background-position: center;
  background-size: cover;
}

.related-card a {
  display: grid;
  align-content: end;
  gap: var(--space-3);
  min-height: 230px;
  height: 100%;
  padding: var(--space-4);
  color: var(--color-text);
}

.related-card.has-image a,
.related-card.has-image .card-meta,
.related-card.has-image .card-cat {
  color: #ffffff;
}

.related-card.has-image .card-cat {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.related-card h3 {
  font-size: var(--fs-lg);
  line-height: 1.22;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.related-item {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-line);
}

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

.policy-page {
  display: grid;
  justify-items: center;
}

.policy-page .breadcrumb,
.policy-article {
  width: min(var(--article), 100%);
}

.policy-article {
  padding: var(--space-8);
}

.policy-article h1 {
  margin: var(--space-2) 0 var(--space-6);
  font-size: var(--fs-3xl);
}

.policy-article h2 {
  margin: var(--space-8) 0 var(--space-3);
  font-size: var(--fs-xl);
}

.policy-article p {
  margin-bottom: var(--space-4);
  font-size: var(--fs-md);
  line-height: 1.8;
}

.policy-article code {
  padding: 2px 5px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
}

.not-found-panel {
  padding: var(--space-10);
  text-align: center;
}

.not-found-panel h1 {
  margin: var(--space-2) 0 var(--space-3);
}

.not-found-search {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-6) auto var(--space-4);
}

.not-found-search input {
  width: min(360px, 100%);
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
}

.page-search-form {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.page-search-form input {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
}

.page-search-form button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.empty-state {
  display: none;
  padding: var(--space-8);
}

.empty-state.visible {
  display: block;
}

.article-empty {
  margin-top: var(--space-6);
}

.footer {
  margin-top: var(--space-10);
  background: var(--color-nav);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--space-8);
  padding: var(--space-10) 0 var(--space-6);
}

.footer-brand p,
.footer-copy {
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--fs-sm);
}

.footer-brand p {
  max-width: 340px;
  margin-top: var(--space-4);
}

.footer-brand .footer-note {
  margin-top: var(--space-3);
  color: rgba(255, 255, 255, 0.42);
}

.footer-logo {
  font-size: 1.25rem;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}

.footer-col h2 {
  margin-bottom: var(--space-2);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a,
.footer-col button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: var(--fs-sm);
  text-align: left;
  cursor: pointer;
}

.footer-col a:hover,
.footer-col button:hover {
  color: #ffffff;
}

.footer-contact .social-links {
  margin-top: var(--space-2);
}

.social-links {
  display: flex;
  gap: var(--space-2);
}

.footer-col .social-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.footer-col .social-link:hover .social-icon-facebook,
.header-social a:hover .social-icon-facebook {
  color: #ffffff;
}

.footer-col .social-link:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: var(--color-accent);
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  max-width: 980px;
  margin: 0 auto;
  padding: var(--space-4);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner strong,
.cookie-modal strong {
  color: var(--color-text);
  font-size: var(--fs-sm);
}

.cookie-banner p,
.cookie-option p {
  margin-top: var(--space-1);
  color: var(--color-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--color-accent);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cookie-btn {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 800;
  cursor: pointer;
}

.cookie-btn.primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #ffffff;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 13, 18, 0.52);
}

.cookie-modal.visible {
  display: flex;
}

.cookie-modal-panel {
  width: min(520px, 100%);
  max-height: min(620px, calc(100vh - 40px));
  overflow: auto;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-panel);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.cookie-modal-header h2 {
  font-size: var(--fs-lg);
}

.cookie-close {
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-line);
}

.cookie-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.cookie-option.locked {
  opacity: 0.82;
}

@media (max-width: 1024px) {
  .home-lead,
  .content-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .football-analysis-grid {
    grid-template-columns: 1fr;
  }

  .football-analysis-board {
    height: 260px;
    overflow-y: auto;
  }

  .rail,
  .cat-sidebar,
  .article-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-shell {
    width: min(100% - 32px, var(--shell));
  }

  .masthead {
    grid-template-columns: 1fr auto auto;
    min-height: auto;
    padding: var(--space-4) 0;
    gap: var(--space-3);
  }

  .tagline {
    grid-column: 1 / -1;
    order: 3;
  }

  .nav-search-form {
    grid-column: 1 / -1;
    order: 4;
    justify-self: stretch;
    width: 100%;
  }

  .header-social {
    justify-self: end;
  }

  .nav-search-input {
    min-width: 0;
    width: 100%;
  }

  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
  }

  .nav {
    display: none;
  }

  .site-header:has(.nav-toggle:checked) .nav {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-2) 0;
    overflow: visible;
  }

  .nav-links a {
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-card,
  .hero-card a,
  .hero-card img,
  .hero-placeholder {
    min-height: 420px;
  }

  .hero-content {
    padding: var(--space-6);
  }

  .hero-content h2,
  .hero-content h1,
  .article-title,
  .compact-hero h1,
  .cat-header-title,
  .policy-article h1 {
    font-size: 2.25rem;
    overflow-wrap: anywhere;
  }

  .article-title,
  .article-lead,
  .article-text {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .top-strip,
  .category-block-grid,
  .horoscope-layout,
  .info-grid,
  .related-grid,
  .rail,
  .cat-sidebar,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .related-card,
  .related-card a {
    min-height: 190px;
  }

  .list-item,
  .compact-list .list-item,
  .search-results .list-item {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 24px, var(--shell));
  }

  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 10px 0 12px;
  }

  .logo {
    grid-column: 1;
    min-width: 0;
  }

  .nav-toggle-label {
    grid-column: 2;
    justify-self: end;
  }

  .header-social {
    grid-column: 2;
    order: 3;
    justify-self: end;
  }

  .tagline {
    grid-column: 1;
    order: 3;
    align-self: center;
    font-size: 0.95rem;
  }

  .nav-search-form {
    order: 4;
  }

  .page-main {
    padding-top: var(--space-5);
  }

  .football-analysis-board {
    height: 240px;
    padding: 12px;
    background-position: center top;
  }

  .football-analysis-head {
    align-items: start;
    flex-direction: column;
  }

  .logo img {
    height: 44px;
    max-width: min(190px, 57vw);
  }

  .header-social a {
    width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }

  .header-social {
    gap: 5px;
  }

  .social-icon {
    width: 19px;
    height: 19px;
  }

  .social-icon-facebook {
    font-size: 1.28rem;
  }

  .nav-toggle-label {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .nav-search-form {
    gap: 7px;
  }

  .nav-search-input,
  .nav-search,
  .nav-search-submit {
    min-height: 36px;
  }

  .nav-search {
    width: 36px;
  }

  .nav-search-submit {
    padding: 7px 12px;
  }

  .breaking-inner {
    align-items: center;
    flex-direction: row;
    gap: var(--space-2);
    padding: var(--space-2) 0;
  }

  .breaking-label {
    font-size: 0.62rem;
  }

  .morning-weather-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 4px 6px;
  }

  .weather-city-strip {
    grid-auto-columns: minmax(68px, 20vw);
  }

  .hero-card,
  .hero-card a,
  .hero-card img,
  .hero-placeholder {
    min-height: 360px;
  }

  .hero-content,
  .page-hero,
  .editorial-info,
  .horoscope-heading,
  .horoscope-layout,
  .policy-article,
  .not-found-panel,
  .newsletter-panel,
  .fx-rates-panel {
    padding: var(--space-5);
  }

  .fx-rates-head {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
  }

  .fx-rates-meta {
    text-align: left;
  }

  .fx-rates-list {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
  }

  .fx-rate-card {
    flex: 0 0 148px;
    scroll-snap-align: start;
  }

  .rail .fx-rates-list {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .rail .fx-rate-card {
    flex: initial;
  }

  .horoscope-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .horoscope-sign {
    min-height: 96px;
  }

  .horoscope-symbol {
    font-size: 2.45rem;
  }

  .hero-content h2,
  .hero-content h1,
  .article-title,
  .compact-hero h1,
  .cat-header-title,
  .policy-article h1 {
    font-size: 1.78rem;
  }

  .hero-content p,
  .article-lead,
  .cat-header-desc {
    font-size: var(--fs-md);
  }

  .list-item,
  .compact-list .list-item,
  .search-results .list-item {
    grid-template-columns: 1fr;
  }

  body[data-page="category"] .feature-card a {
    display: grid;
    min-height: 360px;
    color: #ffffff;
  }

  body[data-page="category"] .feature-card img,
  body[data-page="category"] .feature-card .thumb-placeholder {
    grid-area: 1 / 1;
    height: 100%;
    min-height: 360px;
    aspect-ratio: auto;
  }

  body[data-page="category"] .feature-card .news-card-body {
    grid-area: 1 / 1;
    align-self: end;
    padding: var(--space-5);
    background: linear-gradient(180deg, rgba(9, 13, 18, 0.08), rgba(9, 13, 18, 0.9));
  }

  body[data-page="category"] .feature-card p,
  body[data-page="category"] .feature-card .card-meta {
    color: rgba(255, 255, 255, 0.88);
  }

  body[data-page="category"] .feature-card h2 {
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1.12;
  }

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

  .article-meta,
  .not-found-search,
  .page-search-form,
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-search-form,
  .page-search-form input,
  .page-search-form button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Home page modern media layout */
body[data-page="home"] .page-main {
  display: grid;
  gap: var(--space-8);
}

body[data-page="home"] .home-lead,
body[data-page="home"] .top-strip,
body[data-page="home"] .content-grid,
body[data-page="home"] .category-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: 0;
}

body[data-page="home"] .hero-card,
body[data-page="home"] .hero-card a,
body[data-page="home"] .hero-card img,
body[data-page="home"] .hero-placeholder {
  min-height: 430px;
}

body[data-page="home"] .hero-content {
  padding: var(--space-5);
}

body[data-page="home"] .hero-content h1 {
  max-width: 820px;
  margin: var(--space-3) 0;
  color: #ffffff;
  font-size: 2.15rem;
  line-height: 1.03;
  letter-spacing: -0.01em;
}

body[data-page="home"] .top-news-section,
body[data-page="home"] .latest-section,
body[data-page="home"] .category-blocks,
body[data-page="home"] .editorial-info,
body[data-page="home"] .newsletter-panel,
body[data-page="home"] .fx-rates-panel {
  margin-top: 0;
}

body[data-page="home"] .compact-heading {
  margin-bottom: var(--space-4);
}

body[data-page="home"] .top-strip .news-card h2,
body[data-page="home"] .top-strip .news-card h3 {
  font-size: 1.08rem;
}

body[data-page="home"] .today-panel {
  align-self: start;
}

body[data-page="home"] .category-block {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

body[data-page="home"] .category-visual {
  position: relative;
  display: block;
  overflow: hidden;
  color: #ffffff;
}

body[data-page="home"] .category-visual img,
body[data-page="home"] .category-visual .thumb-placeholder {
  aspect-ratio: 16 / 9;
  transition: transform 0.2s ease;
}

body[data-page="home"] .category-visual:hover img,
body[data-page="home"] .category-visual:hover .thumb-placeholder {
  transform: scale(1.03);
}

body[data-page="home"] .category-visual span {
  display: none;
}

body[data-page="home"] .category-block-body {
  padding: var(--space-5);
}

body[data-page="home"] .category-block-body > .section-kicker {
  display: none;
}

body[data-page="home"] .category-block-body h3 {
  margin: var(--space-2) 0 var(--space-4);
}

@media (min-width: 700px) {
  body[data-page="home"] .top-strip,
  body[data-page="home"] .category-block-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .hero-content {
    padding: var(--space-8);
  }

  body[data-page="home"] .hero-content h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  body[data-page="home"] .page-main {
    gap: var(--space-10);
  }

  body[data-page="home"] .top-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="home"] .content-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: var(--space-8);
  }

  body[data-page="home"] .category-block-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="home"] .hero-card,
  body[data-page="home"] .hero-card a,
  body[data-page="home"] .hero-card img,
  body[data-page="home"] .hero-placeholder {
    min-height: 560px;
  }

  body[data-page="home"] .hero-content h1 {
    font-size: 3.45rem;
  }
}

/* Compact home lead with daily accents */
body[data-page="home"] .home-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

body[data-page="home"] [data-news-list="home-hero"] {
  min-height: 100%;
}

body[data-page="home"] [data-news-list="home-hero"] .hero-card,
body[data-page="home"] [data-news-list="home-hero"] .hero-card a {
  height: 100%;
}

body[data-page="home"] .top-news-section {
  display: grid;
  align-content: start;
  min-height: 100%;
  margin-top: 0;
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

body[data-page="home"] .top-news-section .compact-heading {
  align-items: start;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
}

body[data-page="home"] .section-heading .section-kicker {
  display: none;
}

body[data-page="home"] .top-news-section .compact-heading h2 {
  font-size: 1.75rem;
  line-height: 1.05;
}

body[data-page="home"] .top-news-section .top-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: 0;
}

body[data-page="home"] .top-news-section .news-card {
  border-radius: var(--radius-md);
}

body[data-page="home"] .top-news-section .news-card a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 120px;
}

body[data-page="home"] .top-news-section .news-card img,
body[data-page="home"] .top-news-section .news-card .thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  aspect-ratio: auto;
}

body[data-page="home"] .top-news-section .news-card-body {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: var(--space-3);
}

body[data-page="home"] .top-news-section .news-card h2,
body[data-page="home"] .top-news-section .news-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

body[data-page="home"] .top-news-section .news-card p {
  display: none;
}

body[data-page="home"] .home-lead .hero-card,
body[data-page="home"] .home-lead .hero-card a,
body[data-page="home"] .home-lead .hero-card img,
body[data-page="home"] .home-lead .hero-placeholder {
  min-height: 380px;
}

body[data-page="home"] .home-lead .hero-content {
  padding: var(--space-6);
}

body[data-page="home"] .home-lead .hero-content h1 {
  max-width: 760px;
  font-size: 2.35rem;
  line-height: 1.06;
  letter-spacing: 0;
}

body[data-page="home"] .home-lead .hero-content p {
  max-width: 660px;
  font-size: var(--fs-md);
}

@media (min-width: 920px) {
  body[data-page="home"] .home-lead {
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  }

  body[data-page="home"] .home-lead .hero-card,
  body[data-page="home"] .home-lead .hero-card a,
  body[data-page="home"] .home-lead .hero-card img,
  body[data-page="home"] .home-lead .hero-placeholder {
    min-height: 430px;
  }

  body[data-page="home"] .home-lead .hero-content h1 {
    font-size: 2.65rem;
  }
}

@media (min-width: 1180px) {
  body[data-page="home"] .home-lead {
    grid-template-columns: minmax(0, 1.45fr) 410px;
  }
}

@media (max-width: 620px) {
  body[data-page="home"] .top-news-section {
    padding: var(--space-4);
  }

  body[data-page="home"] .top-news-section .news-card a {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 108px;
  }

  body[data-page="home"] .top-news-section .news-card img,
  body[data-page="home"] .top-news-section .news-card .thumb-placeholder {
    min-height: 108px;
  }

  body[data-page="home"] .home-lead .hero-card,
  body[data-page="home"] .home-lead .hero-card a,
  body[data-page="home"] .home-lead .hero-card img,
  body[data-page="home"] .home-lead .hero-placeholder {
    min-height: 340px;
  }

  body[data-page="home"] .home-lead .hero-content h1 {
    font-size: 1.62rem;
    overflow-wrap: anywhere;
  }
}
