/* ==========================================================================
   STRONGMAN WORLD BATTLE - OFFICIAL STYLESHEET
   File: /llib/custom/css/strongman.css
   ========================================== */

/* --- 1. CSS VARIABLES --- */
:root {
  --ink: #070b14;
  --surface: #0e1526;
  --surface-2: #141e35;
  --card-bg: #0d121d;
  --line: #232f4a;
  --line-subtle: rgba(255, 255, 255, 0.08);
  --steel: #7a859e;  
  --muted: #aab3c6; 
  --cobalt: #2e5eff;
  --cobalt-2: #5b7dff;
  --ice: #8fd8ff;
  --white: #f2f4f8;
  --chrome1: #dfe6f2;
  --chrome2: #8b95ad;
}
/* --- 2. BASE & RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;    
  overflow-x: hidden;
    font-style: normal;
}

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

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

h1, h2, h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .95;
    font-style: normal;
}

main, 
.site-content {
  padding-top: 0;
}

/* --- 3. LAYOUT & UTILITIES --- */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 600px) {
  .wrap { 
    padding: 0 20px; 
  }
}

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--ice);
  display: flex;
  align-items: center;
  gap: 10px;
    font-style: normal;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cobalt-2);
  display: inline-block;
}

section {
  padding: 120px 0;
  position: relative;
}

@media (max-width: 600px) {
  section { 
    padding: 80px 0; 
  }
}

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

.section-head h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  text-transform: uppercase;
}

.section-head p {
  color: var(--muted);
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
}

.diagonal-top {
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
}

/* --- 4. STICKY HEADER, NAV & OFFCANVAS MENU --- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-surface, #0f1115);
  border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

/* Desktop Nav Links */
.navlinks {
  display: flex;
  align-items: center;
  gap: 34px;
}

.navlinks__list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navlinks__link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14.5px;
  color: var(--muted, rgba(255, 255, 255, 0.7));
  transition: color .2s ease;
  position: relative;
  text-decoration: none;
}

.navlinks__link:hover, 
.navlinks__link:focus-visible,
.navlinks__link.is-active {
  color: var(--white, #ffffff);
}

.navlinks__link:hover::after, 
.navlinks__link:focus-visible::after,
.navlinks__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--cobalt-2, #2962ff);
}

.navlinks .btn {
  padding: 10px 22px;
  font-size: 14px;
}

/* Hide Mobile Elements on Desktop */
.menu-toggle,
.offcanvas-header,
.offcanvas-overlay {
  display: none;
}

/* Animated Hamburger Button */
.menu-toggle {
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  position: relative;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white, #ffffff);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.menu-toggle__bar:nth-child(1) { top: 2px; }
.menu-toggle__bar:nth-child(2) { top: 11px; }
.menu-toggle__bar:nth-child(3) { top: 20px; }

.menu-toggle.is-open .menu-toggle__bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Header & Offcanvas Responsive Rules */
@media (max-width: 991px) {
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-surface, #0f1115);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .menu-toggle {
    display: block;
  }

  .offcanvas-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }

  .offcanvas-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .navlinks {
    position: fixed !important;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-surface, #0f1115) !important;
    border-left: 1px solid var(--line, rgba(255, 255, 255, 0.1));
    z-index: 1005 !important;
    
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    
    padding: 24px;
    gap: 24px;
    
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
  }

  .navlinks.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .offcanvas-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  }

  .offcanvas-title {
    font-family: 'Anton', sans-serif;
    font-size: 20px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--white, #ffffff);
  }

  .offcanvas-close {
    background: none;
    border: none;
    color: var(--muted, rgba(255, 255, 255, 0.7));
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
  }

  .offcanvas-close:hover {
    color: var(--white, #ffffff);
  }

  .navlinks__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
    gap: 16px;
    margin: 0;
    padding: 0;
  }

  .navlinks__item {
    width: 100%;
  }

  .navlinks__link {
    display: block;
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    color: var(--muted, rgba(255, 255, 255, 0.7));
  }

  .navlinks__link.is-active,
  .navlinks__link:hover {
    color: var(--white, #ffffff);
  }

  .navlinks__cta {
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
  }

  .navlinks__cta .btn {
    width: 100%;
    text-align: center;
    display: block;
  }
}

@media (max-width: 900px) {
  .navlinks { display: none; }
  .menu-toggle { display: block; }
}

/* --- BREADCRUMBS --- */
.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.breadcrumb::-webkit-scrollbar {
  display: none;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.breadcrumb a:hover {
  color: var(--white, #ffffff);
}

.breadcrumb__sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.breadcrumb__current {
  color: var(--white, #ffffff);
  font-weight: 500;
  flex-shrink: 0;
}

/* --- 5. BUTTONS --- */
.btn,
.bd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 2px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  cursor: pointer;
}

.btn-primary,
.bd-btn--primary {
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-2));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 8px 30px -8px rgba(46,94,255,.65);
}

.btn-primary:hover,
.bd-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 14px 34px -6px rgba(46,94,255,.8);
}

.btn-ghost,
.bd-btn--secondary {
  border: 1px solid var(--line);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover,
.bd-btn--secondary:hover {
  border-color: var(--cobalt-2);
  color: var(--ice);
  background: rgba(255, 255, 255, 0.05);
}

.see-all,
.ath-comp-see-all,
.news-read,
.battle-cta,
.ath-comp-card__link,
.battle-card__details-btn,
.btn-back {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
  color: var(--ice);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.see-all {
  border-bottom: 1px solid var(--cobalt-2);
  padding-bottom: 3px;
  white-space: nowrap;
}

.news-read:hover,
.battle-cta:hover,
.ath-comp-card:hover .ath-comp-card__link,
.battle-card:hover .battle-cta,
.battle-card__details-btn:hover,
.btn-back:hover {
  color: var(--cobalt-2);
  transform: translateX(4px);
}

/* --- 6. COMMON PAGE HEROS --- */
main.athletes-page,
main.athlete-details-page,
main.battles-page,
main.battle-details-page,
main.cms-page,
main.news-page,
main.news-single-page {
  width: 100%;
  background-color: var(--ink);
  color: var(--white);
}

.page-hero-standard,
main.athletes-page .page-hero,
.athletes-hero,
.battles-hero,
.cms-hero,
.news-hero,
.page-header-road {
  padding: 110px 0 50px;
  background: linear-gradient(180deg, rgba(13, 22, 38, 0.8) 0%, rgba(10, 14, 23, 0) 100%);
  border-bottom: 1px solid var(--line);
  margin-bottom: 50px;
}

.page-title-standard,
main.athletes-page .page-hero .page-title,
.athletes-hero__title,
.battles-hero__title,
.cms-hero__title,
.news-hero__title,
.theroad__title,
.bd-hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin: 0 0 12px 0;
  line-height: 1;
}

.page-subtitle-standard,
main.athletes-page .page-hero .page-subtitle,
.athletes-hero__subtitle,
.battles-hero__subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .athletes-hero, .battles-hero { 
    padding: 80px 0 30px; 
  }
  .athletes-hero__title, 
  .battles-hero__title, 
  .cms-hero__title, 
  .news-single__title { 
    font-size: 34px; 
  }
}

/* --- 7. REUSABLE CARDS & BADGES --- */
.ath-card,
.battle-card,
.news-card,
.ath-comp-card {
  background: var(--card-bg);
  border: 1px solid var(--line-subtle);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ath-card:hover,
.battle-card:hover,
.news-card:hover,
.ath-comp-card:hover {
  border-color: rgba(43, 86, 255, 0.6);
  transform: translateY(-4px);
}

.card-badge,
.ath-comp-card__badge,
.battle-card__badge,
.battle-media .badge,
.bd-hero__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(13, 22, 38, 0.85);
  border: 1px solid var(--cobalt-2);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 10px;
  letter-spacing: 0.8px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

/* --- 8. REUSABLE GRID LAYOUTS --- */
.battle-grid,
.battles-grid,
.athlete-grid,
.athletes-grid,
.news-grid,
.ath-comp-grid,
.other-news-section__grid,
main.athletes-page .athletes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.athlete-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* Grid Responsiveness */
@media (max-width: 992px) {
  .battle-grid, 
  .battles-grid,
  .athlete-grid, 
  .athletes-grid,
  .news-grid,
  .ath-comp-grid,
  main.athletes-page .athletes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .battle-grid, 
  .battles-grid,
  .athlete-grid, 
  .athletes-grid,
  .news-grid,
  .ath-comp-grid,
  .other-news-section__grid,
  main.athletes-page .athletes-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- 9. HERO SECTION (HOME) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(46,94,255,.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(143,216,255,.10), transparent 60%),
    var(--ink);
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  z-index: 0; 
  opacity: 0.25; 
  pointer-events: none; 
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1; 
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .06;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero-inner {
  position: relative;
  z-index: 2; 
  width: 100%;
}

.hero-tag {
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(52px, 8.6vw, 128px);
  text-transform: uppercase;
  filter: url(#grunge);
  max-width: 16ch;
}

.hero h1 .accent {
  color: var(--cobalt-2);
  -webkit-text-stroke: 0px;
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--steel);
}

.hero-scroll .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--cobalt-2), transparent);
}

/* --- 10. PLATE TICKER --- */
.ticker-band {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scrollPlates 34s linear infinite;
}

@keyframes scrollPlates {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.plate {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.plate-disc {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--chrome1), var(--chrome2) 45%, #4c5570 100%);
  border: 3px solid #0a0f1c;
  box-shadow: 0 0 0 1px rgba(143,216,255,.25), inset 0 0 10px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  color: #1a2138;
  flex-shrink: 0;
}

.plate-text {
  white-space: nowrap;
}

.plate-num {
  font-family: 'Anton', sans-serif;
  font-size: 26px;
  color: var(--white);
  letter-spacing: .01em;
}

.plate-num span {
  color: var(--cobalt-2);
}

.plate-label {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--muted);
}

/* --- 11. BATTLES & ROAD SECTIONS --- */
.battles,
.athletes {
  background: var(--surface);
}

.road-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; 
  border-top: 1px solid var(--line);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.road-grid::-webkit-scrollbar {
  display: none;
}

.road-step {
  flex: 0 0 33.333%;
  box-sizing: border-box;
  padding: 44px 34px;
  border-right: 1px solid var(--line);
  scroll-snap-align: start;
  position: relative;
}

.road-num {
  font-family: 'Anton', sans-serif;
  font-size: 52px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--steel);
  margin-bottom: 18px;
  display: block;
}

.road-step h3 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
}

.road-step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .road-step {
    flex: 0 0 80%;
    padding: 30px 24px;
    border-right: 1px solid var(--line);
    border-bottom: none; 
  }

  .road-step:last-child {
    border-right: none;
  }
}

/* --- 12. ATHLETE CARDS (SPECIFIC STYLES) --- */
.athlete-card {
  aspect-ratio: 3 / 4;
  position: relative;
  display: flex; 
  flex-direction: column;
  justify-content: flex-end; 
  overflow: hidden;
}

.athlete-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(46,94,255,.22), transparent 55%);
}

.athlete-card .athlete-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.athlete-card .athlete-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.athlete-card .athlete-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(13, 18, 29, 0) 40%, 
    rgba(13, 18, 29, 0.75) 75%, 
    rgba(13, 18, 29, 0.98) 100%
  );
  z-index: 2;
}

.athlete-silhouette {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  font-weight: 900;
  color: var(--line);
  font-family: 'Anton', sans-serif;
  opacity: .5;
  z-index: 2;
}

.athlete-info {
  position: relative;
  z-index: 3;
  padding: 20px 18px;
  width: 100%;
}

.athlete-info .flag {
  font-size: 13px;
  color: var(--ice);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.athlete-info h3,
.athlete-info h4 {
  font-family: 'Anton', sans-serif;
  font-size: 19px;
  text-transform: uppercase;
}

.athlete-info .title {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 2px;
}

/* --- 13. NEWS SECTION --- */
.news-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #182142, #0e1526);
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-media img {
  transform: scale(1.03);
}

.news-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}


.news-date {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted); 
  margin-bottom: 8px;
}

.news-body h3 {
  font-size: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.news-body h3 a {
  color: var(--white);
  transition: color 0.2s ease;
}

.news-body h3 a:hover {
  color: var(--cobalt-2);
}

/* --- 14. NEWSLETTER SECTION --- */
.newsletter {
  background: linear-gradient(135deg, #0e1830, #0a1020 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 90px 0;
}

.news-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.news-row h2 {
  font-size: clamp(30px, 4vw, 44px);
  text-transform: uppercase;
  max-width: 12ch;
}

.news-row p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 40ch;
  font-size: 14.5px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px;
  flex: 1;
}

.subscribe-form .form-row-inline {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  align-items: center;
}

.subscribe-form input[type="text"],
.subscribe-form input[type="email"],
.subscribe-form input[name="cryptocode"],
.subscribe-form #cryptocode {
  width: 100%;
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  border-radius: 4px;
}

.subscribe-form input:focus {
  outline: 2px solid var(--cobalt-2);
  outline-offset: -2px;
}

.subscribe-form .captcha-img {
  flex-shrink: 0;
}

.subscribe-form .captcha-img img {
  height: 48px;
  border-radius: 4px;
}

.subscribe-form .terms-group {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 2px 0;
}

.subscribe-form .terms-group input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

.subscribe-form button {
  width: 100%;
  border: none;
  padding: 14px 26px;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .news-row { 
    flex-direction: column; 
    align-items: flex-start; 
  }
  .subscribe-form { 
    min-width: 100%; 
  }
}

/* ==========================================
   Association Face Section (Full Width)
   ========================================== */

.association-face {
  width: 100%;
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.face-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}

.face-avatar {
  width: 100%;
  aspect-ratio: 1 / 1; 
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.face-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.face-layout:hover .face-avatar img {
  transform: scale(1.03);
}

.face-info {
  display: flex;
  flex-direction: column;
}

.face-name {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white, #ffffff);
  text-transform: uppercase;
  margin: 10px 0 6px;
  letter-spacing: -0.5px;
}

.face-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary, #3b82f6);
  margin-bottom: 16px;
}

.face-bio {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@media (max-width: 860px) {
  .association-face {
    padding: 50px 0;
  }

  .face-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .face-avatar {
    max-width: 280px;
    margin: 0 auto;
  }

  .face-info {
    align-items: center;
  }

  .face-name {
    font-size: 1.8rem;
  }
}

/* --- 15. SPONSORS SECTION --- */
.sponsors {
  padding: 40px 0;
}

.sponsor-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  margin-top: 24px;
}

.sponsor-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.sponsor-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.sponsor-item img {
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .sponsor-row {
    flex-wrap: nowrap;
    overflow-x: auto;  
    justify-content: flex-start; 
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch; 
    padding: 12px 20px;
    gap: 16px;
    margin-left: -20px;  
    margin-right: -20px;
    
    scrollbar-width: none;
  }

  .sponsor-row::-webkit-scrollbar {
    display: none; 
  }

  .sponsor-item {
    flex: 0 0 calc(40% - 12px);
    scroll-snap-align: start;
    opacity: 0.9;
    filter: grayscale(0%);
  }

  .sponsor-item img {
    max-width: 100%;
    max-height: 38px;
  }
}
/* --- 16. FOOTER --- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.foot-brand img {
  height: 44px;
  margin-bottom: 16px;
}

.foot-brand p {
  color: var(--muted); 
  font-size: 14px;
  max-width: 34ch;
  line-height: 1.6;
}

.foot-col h3 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
    font-weight: 600;
}

.foot-col a {
  display: block;
  font-size: 14.5px;
  color: var(--white);
  margin-bottom: 12px;
  opacity: .85;
}

.foot-col a:hover {
  color: var(--ice);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-bottom p {
  color: var(--muted); 
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  color: var(--muted);
  font-size: 13px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.socials a:hover {
  color: var(--ice);
}

.foot-credits a {
  opacity: 0.75;
  transition: opacity 0.2s ease;
  font-size: 0.85rem;
}

.foot-credits a:hover {
  opacity: 1;
}

@media (max-width: 900px) {
  .foot-grid { 
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 600px) {
  .foot-grid { 
    grid-template-columns: 1fr !important; 
  }
}

/* --- 17. ADVANCED ATHLETE CARD --- */
.ath-card__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: var(--white);
}

.ath-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.ath-card:hover .ath-card__img {
  transform: scale(1.05);
}

.ath-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 15%, rgba(10, 14, 23, 0.3) 45%, rgba(10, 14, 23, 0.85) 75%, rgba(10, 14, 23, 0.98) 100%);
  z-index: 2;
  pointer-events: none;
}

.ath-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 3;
}

.ath-card__name {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 12px 0;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.ath-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(13, 22, 38, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ath-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ath-card__lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  font-weight: 600;
}

.ath-card__val {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  margin-top: 2px;
}

/* --- 18. ATHLETE DETAILS SECTION --- */
.ath-profile-section {
  padding: 50px 0 70px;
  overflow: hidden;
}

.ath-profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
}

/* Media / Gallery Column */
.ath-media-col {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-width: 0;
}

.ath-main-swiper {
  width: 100%;
  aspect-ratio: 4 / 5; 
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
  background-color: #0d0d0d; 
}

.ath-main-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center top; 
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ath-main-swiper .swiper-slide img:hover {
  transform: scale(1.02);
}

.ath-thumbs-swiper {
  width: 100%;
  padding-bottom: 18px; 
}

.ath-thumbs-swiper .swiper-slide {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ath-thumbs-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); 
  opacity: 0.6;
}

.ath-thumbs-swiper .swiper-slide:hover img,
.ath-thumbs-swiper .swiper-slide-thumb-active img {
  filter: brightness(1);
  opacity: 1;
}

.ath-thumbs-swiper .swiper-slide-thumb-active {
  border: 2px solid #007aff;
}

.ath-thumbs-swiper .swiper-scrollbar {
  background: rgba(255, 255, 255, 0.15);
  height: 4px;
  bottom: 0;
  border-radius: 2px;
}

.ath-thumbs-swiper .swiper-scrollbar-drag {
  background: #007aff;
  border-radius: 2px;
}

/* Lightbox Modal */
.ath-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ath-lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.ath-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Info Column */
.ath-info-col {
  min-width: 0;
  width: 100%;
}

.ath-header-block {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-subtle);
}

.ath-name-subtitle {
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  color: var(--white);
  word-break: break-word;
}

.ath-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 500px;
  width: 100%;
}

.ath-stat-pill {
  background: var(--card-bg);
  border: 1px solid var(--line-subtle);
  border-radius: 8px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ath-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.ath-stat-val {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-top: 4px;
}

.ath-stat-val small {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.ath-section-title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  border-left: 4px solid var(--cobalt-2);
  padding-left: 12px;
}

.ath-bio-text {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.ath-bio-text p {
  margin-bottom: 18px;
}

/* Records Block */
.ath-records-subblock {
  margin-top: 35px;
  background: var(--card-bg);
  border: 1px solid var(--line-subtle);
  border-radius: 10px;
  padding: 20px;
}

.ath-records-subblock h4 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 14px 0;
  color: var(--white);
}

.ath-records-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.ath-rec-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-subtle);
  font-size: 14px;
}

.ath-rec-title {
  color: rgba(255, 255, 255, 0.6);
}

.ath-rec-value {
  font-weight: 800;
  color: var(--white);
}

/* Athlete Profile Responsiveness */
@media (max-width: 992px) {
  .ath-profile-grid {
    grid-template-columns: 320px 1fr;
    gap: 28px;
  }

  .ath-name-subtitle {
    font-size: 28px;
  }
}

@media (max-width: 800px) {
  .ath-profile-grid { 
    grid-template-columns: 1fr; 
  }
}

@media (max-width: 768px) {
  .ath-profile-section {
    padding: 30px 0 50px;
  }

  .ath-profile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ath-media-col {
    max-width: 100%;
  }

  .ath-name-subtitle {
    font-size: 26px;
  }

  .ath-quick-stats {
    max-width: 100%;
    gap: 8px;
  }

  .ath-stat-pill {
    padding: 10px 4px;
  }

  .ath-stat-val {
    font-size: 17px;
  }

  .ath-records-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 600px) {
  .ath-records-grid { 
    grid-template-columns: 1fr; 
  }
}

@media (max-width: 480px) {
  .ath-thumbs-swiper .swiper-slide {
    width: 65px;
    height: 65px;
  }

  .ath-stat-label {
    font-size: 10px;
  }

  .ath-stat-val {
    font-size: 15px;
  }

  .ath-bio-text {
    font-size: 15px;
  }
}

/* --- 19. BATTLES & COMPETITIONS SECTION --- */
.ath-competitions-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.ath-comp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .ath-comp-header { 
    flex-direction: column; 
    align-items: flex-start; 
  }
}

.ath-comp-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin: 0;
}

.ath-comp-see-all {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
  color: var(--ice);
  border-bottom: 1px solid var(--cobalt-2);
  padding-bottom: 3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ath-comp-see-all:hover {
  color: var(--cobalt-2);
  transform: translateX(4px);
}

.battle-media {
  position: relative;
  width: 100%;                 
  aspect-ratio: 1 / 1;   
  background-color: #121824;
  overflow: hidden;
}

.battle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;          
}

.battle-media::after,
.ath-comp-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 8px);
  pointer-events: none;
  z-index: 1;
}

.battle-body,
.ath-comp-card__body,
.battle-card__content {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.battle-date,
.ath-comp-card__date,
.battle-card__date,
.bd-hero__date,
.news-single__date {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--cobalt-2);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bd-hero__country {
  font-size: 11px;
  letter-spacing: 1px;
    margin-bottom: 8px;
}

.battle-body h3,
.ath-comp-card__title,
.battle-card__title {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 8px 0;
}

.battle-loc,
.ath-comp-card__location,
.battle-card__venue,
.bd-hero__venue {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.battle-card__athletes {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
  margin-bottom: 20px;
}

.battle-card__athletes-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.battle-card__athletes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.athlete-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.battle-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.battle-card__stream-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cobalt-2);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.battle-card__stream-btn:hover {
  background: var(--cobalt);
}

/* Battle Details Hero & Sections */
.bd-hero {
  padding: 120px 0;
  background-color: #080c14;
  border-bottom: 1px solid var(--line-subtle);
}

.bd-hero__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}

.bd-hero__poster {
  position: relative;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
    
 /*    
  aspect-ratio: 3 / 4;
  overflow: hidden;
*/
}

.bd-hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bd-hero__meta-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.bd-hero__desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
  max-width: 620px;
}

.bd-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bd-athletes-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.bd-section-header {
  margin-bottom: 40px;
}

.bd-section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin: 0;
}

@media (max-width: 992px) {
  .bd-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- 20. CMS & NEWS ARTICLE CONTENT --- */
.cms-body-section,
.news-single-body {
  padding: 60px 0 100px;
}

.cms-content__body,
.newscontent {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.cms-content__body p,
.newscontent p {
  margin-bottom: 20px;
}

.cms-content__body h2, .cms-content__body h3, .cms-content__body h4,
.newscontent h2, .newscontent h3, .newscontent h4 {
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  margin: 30px 0 16px 0;
}

.cms-content__body a,
.newscontent a {
  color: var(--cobalt-2);
  text-decoration: underline;
}

.cms-content__body a:hover,
.newscontent a:hover {
  color: var(--white);
}

.cms-content__body ul, .cms-content__body ol,
.newscontent ul, .newscontent ol {
  margin: 0 0 24px 20px;
  padding: 0;
}

.cms-content__body li,
.newscontent li {
  margin-bottom: 8px;
}

/* News Categories & Pagination */
.news-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-cat-btn {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.news-cat-btn:hover,
.news-cat-btn.active {
  color: var(--white);
  background: var(--cobalt-2);
  border-color: var(--cobalt-2);
}

.news-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.pagination-list {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.page-item.active .page-link,
.page-item a.page-link:hover {
  background: var(--cobalt-2);
  border-color: var(--cobalt-2);
  color: var(--white);
}

.news-single__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.news-single__main-img,
.news-carousel {
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.news-single__main-img img,
.news-carousel .carousel-item img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: cover;
}

@media (max-width: 992px) {
  .news-single__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Other News Section */
.other-news-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.other-news-section__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin: 0 0 40px 0;
}

.other-news-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .other-news-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .other-news-section__grid {
    grid-template-columns: 1fr;
  }
}

/* --- 21. ROAD PAGE STYLES --- */
.road-page-content {
  padding: 40px 0 80px;
}

.road-vertical-list {
  display: flex;
  flex-direction: column;
}

.road-vertical-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.road-vertical-item:last-child {
  border-bottom: none;
}

.road-num-col {
  flex-shrink: 0;
}

.road-vertical-item .road-num {
  font-size: 64px;
  line-height: 1;
}

.road-text-col h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.road-text-col p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .road-vertical-item { 
    flex-direction: column; 
    gap: 12px; 
  }
  .road-vertical-item .road-num { 
    font-size: 48px; 
  }
}

/* --- 22. ERROR PAGE STYLES --- */
.error-page__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0 60px 0;
  max-width: 650px;
  margin: 0 auto;
}

.error-page__badge {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 12vw, 150px);
  line-height: 1;
  color: var(--cobalt-2, #2962ff);
  letter-spacing: .05em;
  margin-bottom: 10px;
  text-shadow: 0 10px 30px rgba(41, 98, 255, 0.3);
  user-select: none;
}

.error-page__heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  text-transform: uppercase;
  color: var(--white, #ffffff);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.error-page__text {
  font-size: 16px;
  color: var(--muted, rgba(255, 255, 255, 0.7));
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.error-page__code {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line, rgba(255, 255, 255, 0.1));
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--muted, rgba(255, 255, 255, 0.6));
  margin-bottom: 36px;
}

.error-page__code strong {
  color: var(--white, #ffffff);
}

.error-page__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 480px) {
  .error-page__actions {
    flex-direction: column;
    width: 100%;
  }

  .error-page__actions .btn {
    width: 100%;
  }
}

/* --- 23. NEWSLETTER PAGE STYLES --- */


.newsletter-confirm-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.confirm-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 32px;
  background: var(--bg-surface, #14171d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1); 
  color: #10b981; 
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.confirm-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white, #ffffff);
  margin: 16px 0 12px;
}

.redirect-notice {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.redirect-progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.redirect-progress .progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary, #3b82f6);
  animation: redirectLoad 10s linear forwards;
}

@keyframes redirectLoad {
  from { width: 0%; }
  to { width: 100%; }
}

@media (max-width: 480px) {
  .confirm-card {
    padding: 28px 20px;
  }
  
  .confirm-title {
    font-size: 1.1rem;
  }
}

/* --- 23. ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { 
    animation: none; 
  }
  * { 
    transition: none !important; 
  }
}



/* ==========================================
   Cookie Alert Notification (Modern & Vanilla)
   ========================================== */
.cookiealert {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  z-index: 9999;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  
  background: var(--bg-surface, rgba(20, 23, 29, 0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.4;
  
  /* Initial hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Shown state */
.cookiealert.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Text links inside the alert */
.cookiealert a {
  color: var(--primary, #3b82f6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookiealert a:hover {
  color: var(--white, #ffffff);
}

/* Accept Button */
.cookiealert .acceptcookies {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 700; 
  color: #ffffff;
  background: #2563eb; 
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cookiealert .acceptcookies:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.cookiealert .acceptcookies:active {
  transform: translateY(0);
}

/* Mobile Layout Adjustment */
@media (max-width: 576px) {
  .cookiealert {
    bottom: 12px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  .cookiealert .acceptcookies {
    width: 100%;
  }
}