/*
Theme: Intergen Football - Cleaned main.css
Purpose: One-page WordPress landing page with modern blue visual identity.
Structure: base, header, hero, media, activities CMS cards, innovations, partners, club, contact, footer, responsive.
*/

:root {
  --blue-950: #06173d;
  --blue-900: #08245c;
  --blue-800: #0b347f;
  --blue-700: #003399;
  --blue-600: #1557c8;
  --blue-500: #2563eb;
  --blue-400: #38bdf8;
  --blue-100: #eaf2ff;
  --blue-50: #f3f8ff;

  --gold: #ffcc00;
  --mint: #2dd4bf;

  --white: #ffffff;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f8fafc;

  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;
  --border: #dbe4f0;
  --border-strong: #bfd0e8;

  --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 20px 56px rgba(15, 23, 42, 0.13);

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

/* ================================
   BASE
================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.mobile-menu-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--blue-100);
  color: var(--blue-900);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 99999;
  background: var(--gold);
  color: var(--text);
  padding: 10px 16px;
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

section[id] {
  scroll-margin-top: 116px;
}

.section-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.section-header {
  text-align: left;
  margin-bottom: 52px;
}

.section-header-left {
  text-align: left;
}

.section-header-left .section-desc {
  margin-left: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-700);
  border: 1px solid rgba(0, 51, 153, 0.08);
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-title span {
  color: inherit;
}

.section-desc {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

/* ================================
   TOP BAR
================================ */

#top-bar {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.84);
  padding: 8px 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.social-top-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.social-top-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}

.social-top-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 11px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--white);
}

/* ================================
   HEADER / NAV
================================ */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 228, 240, 0.95);
  box-shadow: var(--shadow-xs);
}

body.admin-bar header {
  top: 32px;
}

.nav-inner {
  max-width: 1220px;
  height: 78px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--blue-900);
  text-decoration: none;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo-image {
  width: 62px;
  height: 46px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue-900);
}

.logo-sub {
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
}

nav {
  margin-left: auto;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

nav ul li a {
  position: relative;
  display: block;
  margin: 0 10px;
  padding: 8px 2px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--blue-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--blue-700);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  transform: scaleX(1);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--blue-800);
  font-size: 1.25rem;
  box-shadow: var(--shadow-xs);
}

/* ================================
   HERO - EDITORIAL LAYOUT
================================ */

.hero {
  position: relative;
  min-height: calc(100vh - 118px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.22), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(45, 212, 191, 0.16), transparent 30%),
    linear-gradient(135deg, var(--blue-950) 0%, var(--blue-800) 48%, var(--blue-700) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -190px;
  width: 820px;
  height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  filter: blur(60px);
  pointer-events: none;
}

.hero-editorial-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 96px 28px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  gap: 72px;
  align-items: stretch;
}

.hero-editorial-content {
  max-width: 760px;
}

.hero-kicker {
  display: block;
  margin-bottom: 18px;
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-editorial h1 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: clamp(4.2rem, 9vw, 8rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-editorial h1 span {
  color: #c7e7ff;
}

.hero-editorial-lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.75;
  margin-bottom: 34px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  font-weight: 900;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--blue-800);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.btn-primary:hover {
  background: var(--blue-100);
  color: var(--blue-950);
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
}

.hero-editorial-visual {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-editorial-visual::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 50%;
  width: 1px;
  height: min(420px, 88%);
  background: linear-gradient(180deg, transparent, rgba(191, 219, 254, 0.46) 18%, rgba(191, 219, 254, 0.46) 82%, transparent);
  transform: translateY(-50%);
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
}

.hero-visual-logo-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
}

.hero-visual-logo-wrap::before {
  content: "";
  position: absolute;
  inset: 4% -8% 12%;
  z-index: -1;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0.03) 42%, transparent 66%);
}

.hero-visual-mark {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.56;
}

.hero-carousel {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 56px));
  margin: 0 auto 72px;
  padding-bottom: 54px;
}

.hero-carousel-track {
  position: relative;
  height: clamp(280px, 30vw, 360px);
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateX(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-carousel-slide.has-no-image {
  grid-template-columns: 1fr;
}

.hero-carousel-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s ease;
}

.hero-carousel-slide.is-active .hero-carousel-image {
  transform: scale(1);
}

.hero-carousel-video {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--blue-950);
}

.hero-carousel-video iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-carousel-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 32px;
  background: rgba(6, 23, 61, 0.78);
  transform: translateY(10px);
  transition: transform 0.55s ease;
}

.hero-carousel-slide.is-active .hero-carousel-content {
  transform: translateY(0);
}

.hero-carousel-content h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.92;
  font-weight: 800;
}

.hero-carousel-link {
  width: fit-content;
  margin-top: 22px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-link:hover,
.hero-carousel-link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.hero-carousel-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-carousel-arrow,
.hero-carousel-dot,
.hero-carousel-toggle {
  border: 0;
  color: var(--white);
  cursor: pointer;
}

.hero-carousel-arrow {
  position: absolute;
  top: calc((100% - 54px) / 2);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    rgba(6, 23, 61, 0.84);
  box-shadow: 0 16px 34px rgba(6, 23, 61, 0.26);
  font-size: 2rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.94);
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.hero-carousel-arrow[data-hero-carousel-prev] {
  left: 18px;
}

.hero-carousel-arrow[data-hero-carousel-next] {
  right: 18px;
}

.hero-carousel:hover .hero-carousel-arrow,
.hero-carousel:focus-within .hero-carousel-arrow {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.hero-carousel-arrow:hover,
.hero-carousel-arrow:focus-visible {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    var(--blue-700);
  transform: translateY(-50%) scale(1.06);
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: auto;
  transform: translateX(-50%);
}

.hero-carousel-dot {
  position: relative;
  width: 34px;
  height: 24px;
  padding: 0;
  background: transparent;
}

.hero-carousel-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 4px;
  background: rgba(6, 23, 61, 0.38);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-dot.is-active::before {
  background: var(--blue-950);
  transform: translateY(-50%) scaleX(1.18);
}

.hero-carousel-toggle {
  position: absolute;
  right: 20px;
  bottom: 4px;
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue-950);
  opacity: 0.58;
  pointer-events: auto;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.hero-carousel-toggle:hover,
.hero-carousel-toggle:focus-visible {
  background: rgba(6, 23, 61, 0.08);
  opacity: 1;
}

.hero-carousel-toggle-icon {
  position: relative;
  display: block;
  width: 12px;
  height: 14px;
  margin: auto;
}

.hero-carousel-toggle[aria-pressed="false"] .hero-carousel-toggle-icon::before,
.hero-carousel-toggle[aria-pressed="false"] .hero-carousel-toggle-icon::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 3px;
  border-radius: 2px;
  background: currentColor;
}

.hero-carousel-toggle[aria-pressed="false"] .hero-carousel-toggle-icon::before {
  left: 1px;
}

.hero-carousel-toggle[aria-pressed="false"] .hero-carousel-toggle-icon::after {
  right: 1px;
}

.hero-carousel-toggle[aria-pressed="true"] .hero-carousel-toggle-icon::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 2px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}


/* ================================
   EU STRIP / VISIBLE DISCLAIMER
================================ */

.eu-strip {
  position: relative;
  z-index: 4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 28px;
  background: rgba(6, 23, 61, 0.76);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.eu-strip-disc {
  max-width: 520px;
  color: rgba(255,255,255,0.76);
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

/* ================================
   MEDIA / VIDEO GALLERY
================================ */

.video-section {
  background: var(--bg);
  padding: 96px 28px;
}

.media-social-follow {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  margin-top: 30px;
}

.media-social-links {
  display: flex;
  gap: 10px;
}

.media-social-link {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-800);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.media-social-link:hover,
.media-social-link:focus-visible {
  background: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
}

.media-social-link svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 44px;
  align-items: stretch;
}

.media-feature {
  min-height: 460px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.media-feature-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 23, 61, 0.92), rgba(0, 51, 153, 0.76)),
    linear-gradient(135deg, #06173d, #003399);
  overflow: hidden;
}

.media-feature-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.media-feature-visual::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(24deg);
}

.media-feature-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.media-kicker {
  display: block;
  margin-bottom: 10px;
  color: #bfdbfe;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-feature-content h3 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.media-feature-content p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 520px;
  line-height: 1.75;
}

.media-play-button {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease;
}

.media-play-button:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.media-side-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.media-side-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.media-side-number {
  font-family: var(--font-head);
  color: var(--blue-700);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 800;
}

.media-side-item h3 {
  font-family: var(--font-head);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 8px;
}

.media-side-item p {
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.94rem;
}

.media-gallery-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 8px 0 10px;
  padding: 4px 8px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.media-gallery-item {
  min-height: 180px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(6, 23, 61, 0.82), rgba(0, 51, 153, 0.64)),
    linear-gradient(135deg, #06173d, #2563eb);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.media-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 23, 61, 0.12), rgba(6, 23, 61, 0.78));
  pointer-events: none;
}

.media-gallery-image {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.media-gallery-item:hover .media-gallery-image {
  transform: scale(1.05);
}

.media-gallery-item:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(6, 23, 61, 0.75), rgba(21, 87, 200, 0.64)),
    linear-gradient(135deg, #08245c, #38bdf8);
}

.media-gallery-item:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(6, 23, 61, 0.8), rgba(8, 36, 92, 0.56)),
    linear-gradient(135deg, #0b347f, #2dd4bf);
}

.media-gallery-item:last-child {
  border-right: none;
}

.media-gallery-label {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ================================
   ACTIVITIES - CMS CARDS
================================ */

.activities-section,
.activities-cms-section {
  background: var(--surface);
  padding: 104px 28px;
}

.activities-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.activity-modern-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.activity-modern-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 51, 153, 0.22);
  box-shadow: var(--shadow-md);
}

.activity-modern-link {
  min-width: 0;
  display: grid;
  grid-template-rows: 240px 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.activity-modern-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06173d, #003399);
}

.activity-modern-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.activity-modern-card:hover .activity-modern-image {
  transform: scale(1.04);
}

.activity-modern-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 23, 61, 0.9), rgba(0, 51, 153, 0.75)),
    linear-gradient(135deg, #06173d, #003399);
}

.activity-modern-placeholder span {
  max-width: 100%;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  overflow-wrap: anywhere;
}

.activity-modern-number {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-800);
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
}

.activity-modern-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 260px;
}

.activity-modern-label {
  max-width: 100%;
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.activity-modern-body h3 {
  max-width: 100%;
  font-family: var(--font-head);
  color: var(--text);
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.activity-modern-body p {
  max-width: 100%;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 28px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.activity-modern-cta {
  max-width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.activities-empty {
  margin-top: 40px;
  color: var(--muted);
  text-align: left;
}

/* ================================
   INNOVATIONS
================================ */

.innovations-section {
  position: relative;
  overflow: hidden;
  padding: 104px 28px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(45,212,191,0.2), transparent 30%),
    linear-gradient(180deg, var(--blue-950) 0%, var(--blue-800) 100%);
}

.innovations-section::before {
  content: "";
  position: absolute;
  right: -72px;
  top: -92px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,0.08);
  transform: rotate(24deg);
}

.innovations-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 54px;
  align-items: center;
}

.innovations-content .section-tag {
  background: rgba(255,255,255,0.1);
  color: #c7e7ff;
  border-color: rgba(255,255,255,0.16);
}

.innovations-content .section-title {
  color: var(--white);
  text-align: left;
}

.innovations-content .section-desc {
  color: rgba(255,255,255,0.76);
  margin-left: 0;
  text-align: left;
}

.innovation-principles {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.innovation-principle {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.innovation-number {
  font-family: var(--font-head);
  color: #bfdbfe;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 800;
}

.innovation-principle h3 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 8px;
}

.innovation-principle p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.innovation-visual-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.field-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.86), rgba(21, 128, 61, 0.94));
  overflow: hidden;
}

.field-diagram::before,
.field-diagram::after {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 20%;
  width: 16%;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.field-diagram::before {
  left: 0;
  border-left: none;
}

.field-diagram::after {
  right: 0;
  border-right: none;
}

.field-line {
  position: absolute;
  background: rgba(255,255,255,0.55);
}

.field-mid {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
}

.field-circ {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.field-player {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--white);
}

.field-player-a { left: 24%; top: 34%; }
.field-player-b { left: 42%; top: 58%; }
.field-player-c { right: 28%; top: 30%; }
.field-player-d { right: 18%; bottom: 26%; }

.innovation-visual-content {
  margin-top: 28px;
}

.innovation-visual-content h3 {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 12px;
}

.innovation-visual-content p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.innovation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.innovation-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ================================
   PARTNERS - MODERN CARDS
================================ */

.partners-section,
.partners-card-section {
  background: var(--bg);
  padding: 104px 28px;
}

.partners-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 54px;
}

.partner-card-modern {
  background: var(--white);
  border: 1px solid var(--border);
  min-height: 360px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card-modern:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 51, 153, 0.24);
  box-shadow: var(--shadow-md);
}

.partner-card-logo-wrap {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 34px 20px;
}

.partner-card-logo {
  max-width: 190px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo-mark {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 4.8rem;
  line-height: 0.85;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.partner-country {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 34px 34px;
}

.partner-card-body h3 {
  font-family: var(--font-head);
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.partner-card-cta {
  display: inline-flex;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ================================
   CONTACT
================================ */

.contact-section {
  background:
    linear-gradient(180deg, var(--blue-50) 0%, var(--surface) 72%);
  padding: 112px 28px 104px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 2.15rem;
  line-height: 1;
  margin-bottom: 22px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  color: var(--text);
  font-weight: 900;
}

.contact-social-block {
  margin-top: 28px;
}

.contact-social-block h4 {
  color: var(--blue-900);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.contact-social-links {
  display: flex;
  gap: 12px;
}

.contact-social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-800);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-social-link:hover {
  background: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
}

.contact-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-form {
  padding: 32px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-family: var(--font-head);
  color: var(--blue-900);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-form-notice {
  margin: -8px 0 24px;
  padding: 14px 16px;
  border-left: 4px solid var(--blue-700);
  background: var(--blue-50);
  color: var(--text);
  font-weight: 800;
  line-height: 1.45;
}

.contact-form-notice-wrap:empty {
  display: none;
}

.contact-form-notice-sent {
  border-left-color: #16a34a;
  background: #ecfdf5;
}

.contact-form-notice-missing,
.contact-form-notice-invalid,
.contact-form-notice-error {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 900;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-submit {
  width: 100%;
}

.contact-submit:disabled,
.contact-form.is-sending .contact-submit {
  cursor: wait;
  opacity: 0.72;
}

.contact-privacy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

/* ================================
   FOOTER
================================ */

footer {
  background: var(--blue-950);
  color: rgba(255,255,255,0.72);
  padding: 64px 28px 0;
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3,
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-brand h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 340px;
  color: rgba(255,255,255,0.64);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  background: none;
  border: 0;
  padding: 0;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.eu-footer-block {
  margin-top: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 6px solid var(--blue-600);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.eu-footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}

.eu-footer-sep {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}

.eu-footer-text {
  flex: 1;
  min-width: 260px;
}

.eu-footer-cofund {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-800);
  font-size: 0.98rem;
  font-weight: 900;
  margin-bottom: 9px;
}

.eu-footer-disclaimer {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.75;
}

.eu-footer-disclaimer strong {
  color: var(--text);
}

.eu-footer-disclaimer em {
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.46);
  font-size: 0.78rem;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1100px) {
  .nav-inner {
    gap: 16px;
  }

  nav ul li a {
    margin: 0 6px;
    font-size: 0.82rem;
  }

  .innovations-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  body.admin-bar header {
    top: 46px;
  }

  .media-layout,
  .innovations-grid {
    grid-template-columns: 1fr;
  }

  .activities-card-grid,
  .partners-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .innovation-visual-panel {
    min-height: auto;
    border-left: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .eu-footer-sep {
    display: none;
  }
}

@media (max-width: 720px) {
  #top-bar {
    padding: 8px 18px;
    gap: 8px;
  }

  .nav-inner {
    height: 70px;
    padding: 0 18px;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 10000;
  }

  nav {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    margin: 0;
    background: rgba(6, 23, 61, 0.82);
    backdrop-filter: blur(14px);
  }

  nav.open {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    padding: 96px 22px 42px;
    overflow-y: auto;
  }

  nav ul li {
    width: min(100%, 340px);
  }

  nav ul li a {
    width: 100%;
    color: var(--white);
    margin: 0;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    font-size: 1rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  nav ul li a:hover,
  nav ul li a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.26);
  }

  nav ul li a::after {
    display: none;
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .media-feature-visual {
    min-height: 420px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .media-play-button {
    width: 88px;
    height: 88px;
  }

  .media-side-item,
  .innovation-principle {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .activities-card-grid,
  .partners-card-grid,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .eu-strip {
    align-items: stretch;
    text-align: center;
  }
}

@media (max-width: 520px) {
  #top-bar {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
  }

  .social-top {
    width: auto;
    justify-content: center;
    margin-right: 12px;
    gap: 8px;
  }

  .social-top-link {
    width: 38px;
    height: 38px;
  }

  .social-top-link svg {
    width: 19px;
    height: 19px;
  }

  .lang-btn {
    min-width: 42px;
    min-height: 38px;
    padding: 0 8px;
    font-size: 0.78rem;
    line-height: 1;
  }

  .logo-title {
    font-size: 1.25rem;
  }

  .logo-sub {
    font-size: 0.58rem;
  }

  .video-section,
  .activities-section,
  .activities-cms-section,
  .innovations-section,
  .partners-section,
  .partners-card-section,
  .contact-section,
  .club-profile-section,
  footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .activity-modern-link {
    grid-template-rows: 210px 1fr;
  }

  .activity-modern-body {
    min-height: auto;
  }

  .partner-card-modern {
    grid-template-rows: 180px 1fr;
    min-height: auto;
  }

  .partner-card-body,
  .activity-modern-body,
  .contact-form,
  .eu-footer-block {
    padding: 24px;
  }

  .partner-logo-mark {
    font-size: 3.6rem;
  }

  .media-gallery-strip {
    grid-template-columns: 1fr;
  }

  .media-gallery-item {
    min-height: 140px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

}


/* HERO RESPONSIVE */

@media (max-width: 960px) {
  .hero-editorial-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 72px;
  }

  .hero-editorial-visual {
    min-height: auto;
    align-items: center;
  }

  .hero-editorial-visual::before {
    content: none;
  }

  .hero-visual-frame {
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 6;
    padding: 0;
  }

  .hero-visual-logo-wrap {
    width: min(68%, 420px);
    height: auto;
  }

  .hero-visual-mark {
    width: 100%;
    height: auto;
  }

  .hero-carousel-slide {
    grid-template-columns: 1fr;
  }

  .hero-carousel-image {
    height: 100%;
  }

  .hero-carousel-video {
    min-height: 240px;
  }

}

@media (max-width: 560px) {
  .hero-editorial-inner {
    padding: 58px 18px 46px;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-editorial h1 {
    font-size: clamp(3.5rem, 18vw, 5.2rem);
  }

  .hero-visual-frame {
    aspect-ratio: 1 / 0.68;
  }

  .hero-visual-logo-wrap {
    width: min(92%, 280px);
  }

  .hero-carousel {
    width: calc(100% - 36px);
    margin-bottom: 56px;
    padding-bottom: 50px;
  }

  .hero-carousel-track {
    height: 420px;
  }

  .hero-carousel-slide,
  .hero-carousel-image,
  .hero-carousel-video {
    min-height: 0;
  }

  .hero-carousel-content {
    padding: 24px;
  }

  .hero-carousel-controls {
    gap: 12px;
  }

  .hero-carousel-arrow {
    width: 40px;
    height: 40px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
  }

  .hero-carousel-arrow[data-hero-carousel-prev] {
    left: 12px;
  }

  .hero-carousel-arrow[data-hero-carousel-next] {
    right: 12px;
  }

  .hero-carousel-toggle {
    right: 10px;
  }

}

@media (max-width: 360px) {
  #top-bar {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .social-top {
    margin-right: 10px;
    gap: 8px;
  }

  .social-top-link,
  .lang-btn {
    min-width: 40px;
    min-height: 40px;
  }

  .hero::after,
  .innovations-section::before {
    content: none;
  }

  .hero-editorial-inner,
  .innovations-grid,
  .innovation-visual-panel,
  .field-diagram {
    min-width: 0;
    max-width: 100%;
  }

  .innovations-section {
    overflow: clip;
  }

  .innovation-principle {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide,
  .hero-carousel-image,
  .hero-carousel-content,
  .hero-carousel-dot,
  .hero-carousel-dot::before,
  .hero-carousel-toggle {
    transition: none;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* HERO PROJECT META */

.hero-project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 680px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-project-meta-item {
  padding: 18px 22px 18px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-project-meta-item:last-child {
  padding-left: 22px;
  padding-right: 0;
  border-right: none;
}

.hero-project-meta-item span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-project-meta-item strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 720px) {
  .hero-project-meta {
    grid-template-columns: 1fr;
  }

  .hero-project-meta-item {
    padding: 18px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-project-meta-item:last-child {
    padding-left: 0;
    border-bottom: none;
  }
}

/* ================================
   ACTIVITIES - GROUPED COMPACT CARDS
================================ */

.activities-group {
  margin-top: 64px;
}

.activities-group:first-of-type {
  margin-top: 48px;
}

.activities-card-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 0;
}

.activities-card-grid-compact .activity-modern-link {
  grid-template-rows: 165px 1fr;
}

.activities-card-grid-compact .activity-modern-body {
  min-height: 0;
  padding: 22px;
}

.activities-card-grid-compact .activity-modern-label {
  margin-bottom: 10px;
  font-size: 0.68rem;
}

.activities-card-grid-compact .activity-modern-body h3 {
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 10px;
}

.activities-card-grid-compact .activity-modern-body p {
  font-size: 0.92rem;
  line-height: 1.62;
  margin-bottom: 18px;
}

.activities-card-grid-compact .activity-modern-cta {
  padding-top: 14px;
  font-size: 0.72rem;
}

.activities-card-grid-compact .activity-modern-number {
  left: 16px;
  top: 16px;
  font-size: 1.05rem;
  padding: 6px 9px;
}

@media (max-width: 760px) {
  .activities-card-grid-compact .activity-modern-link {
    grid-template-rows: 150px 1fr;
  }
}

/* ================================
   ACTIVITY CLUB TABS
================================ */

.activity-club-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 44px auto 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 720px;
}

.activity-club-tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-right: 1px solid var(--border);
  transition: color 0.2s ease, background 0.2s ease;
}

.activity-club-tab:last-child {
  border-right: none;
}

.activity-club-tab:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.activity-club-tab.active {
  color: var(--white);
  background: var(--blue-700);
}

.activity-club-panel[hidden] {
  display: none;
}

.activity-club-panel.active {
  display: block;
}

@media (max-width: 640px) {
  .activity-club-tabs {
    flex-direction: column;
  }

  .activity-club-tab {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .activity-club-tab:last-child {
    border-bottom: none;
  }
}

.eu-cofunded-logo {
  display: block;
  width: min(260px, 100%);
  height: auto;
}

.eu-strip {
  gap: 22px;
}

.eu-strip-disc {
  max-width: 520px;
  text-align: left;
}

.eu-footer-logo-wrap {
  flex-shrink: 0;
  max-width: 125px;
}

.eu-footer-logo {
  display: block;
  width: min(125px, 100%);
  height: auto;
}

@media (max-width: 720px) {
  .eu-cofunded-logo {
    width: min(230px, 100%);
  }

  .eu-strip-disc {
    text-align: center;
  }

  .eu-footer-logo-wrap {
    max-width: 125px;
    width: 100%;
  }

  .eu-footer-logo {
    width: min(125px, 100%);
  }
}

/* ================================
   SINGLE ACTIVITY PAGE
================================ */

.activity-single-page {
  background: var(--surface);
}

.activity-single-hero {
  padding: 56px 28px 38px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 32%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  color: var(--white);
}

.activity-back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.activity-back-link:hover {
  color: var(--white);
}

.activity-single-kicker {
  display: block;
  margin-bottom: 16px;
  color: #bfdbfe;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.activity-single-title {
  max-width: 920px;
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--white);
}

.activity-single-excerpt {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.75;
}

.activity-single-content-section {
  padding: 64px 28px 104px;
}

.activity-single-content {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.85;
}

.activity-single-content h2,
.activity-single-content h3,
.activity-single-content h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 42px 0 16px;
}

.activity-single-content h2 {
  font-size: 2.6rem;
}

.activity-single-content h3 {
  font-size: 2rem;
}

.activity-single-content p {
  margin-bottom: 22px;
}

.activity-single-content ul,
.activity-single-content ol {
  margin: 0 0 26px 22px;
}

.activity-single-content li {
  margin-bottom: 8px;
}

.activity-single-content a {
  color: var(--blue-700);
  font-weight: 900;
}

.activity-single-content .wp-block-image {
  margin: 42px 0;
}

.activity-single-content .wp-block-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.activity-single-content .wp-block-gallery {
  margin: 42px 0;
  gap: 16px;
}

.activity-single-content blockquote {
  margin: 42px 0;
  padding: 24px 0 24px 28px;
  border-left: 4px solid var(--blue-700);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 700;
}

.event-media-gallery {
  max-width: 980px;
  margin-top: 58px;
  padding-top: 42px;
}

.event-media-gallery-header {
  margin-bottom: 24px;
}

.event-media-gallery-header h2 {
  margin-top: 8px;
  color: var(--text);
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 700;
}

.event-video-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.event-video-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--blue-950);
  box-shadow: var(--shadow-sm);
}

.event-video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.event-video-link {
  display: block;
  padding: 18px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: none;
}

.event-document-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.event-document-link {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-document-link:hover,
.event-document-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.event-document-preview {
  display: block;
  width: 54px;
  height: 68px;
  overflow: hidden;
  background: #f4f0eb;
  box-shadow: inset 0 0 0 1px rgba(31, 38, 51, 0.08);
}

.event-document-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-document-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 68px;
  background: #d63638;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.event-document-text {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.event-document-title {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-document-meta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.event-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.event-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 210px;
  color: var(--white);
  text-decoration: none;
  background: var(--blue-950);
  box-shadow: var(--shadow-sm);
}

.event-gallery-image {
  width: 100%;
  height: 100%;
  min-height: 210px;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.event-image-link:hover .event-gallery-image {
  transform: scale(1.04);
}

.event-image-link span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(6, 23, 61, 0.86));
  font-size: 0.88rem;
  font-weight: 800;
}

.event-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 18px;
  padding: 34px;
  background: rgba(6, 23, 61, 0.94);
}

.event-lightbox[hidden] {
  display: none;
}

.lightbox-open {
  overflow: hidden;
}

.event-lightbox-figure {
  position: relative;
  min-width: 0;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.event-lightbox-image {
  max-width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.event-lightbox-caption {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.5;
  text-align: center;
}

.event-lightbox-counter {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-lightbox-close,
.event-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.event-lightbox-close:hover,
.event-lightbox-close:focus-visible,
.event-lightbox-nav:hover,
.event-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.event-lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
}

.event-lightbox-nav {
  width: 58px;
  height: 58px;
  font-size: 3rem;
  line-height: 1;
}

.event-lightbox-prev {
  justify-self: start;
}

.event-lightbox-next {
  justify-self: end;
}

@media (max-width: 720px) {
  .activity-single-hero {
    padding: 72px 18px 46px;
  }

  .activity-single-content-section {
    padding: 48px 18px 80px;
  }

  .activity-single-content h2 {
    font-size: 2.1rem;
  }

  .activity-single-content h3 {
    font-size: 1.7rem;
  }

  .event-image-grid {
    grid-template-columns: 1fr;
  }

  .event-image-link,
  .event-gallery-image {
    min-height: 220px;
  }

  .event-lightbox {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 12px;
    padding: 72px 16px 18px;
  }

  .event-lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .event-lightbox-image {
    max-height: 68vh;
  }

  .event-lightbox-nav {
    width: 100%;
    height: 48px;
    font-size: 2.4rem;
  }

  .event-lightbox-prev,
  .event-lightbox-next {
    justify-self: stretch;
  }
}

/* ================================
   ACTIVITY EVENTS LIST
================================ */

.activity-events-section {
  background: var(--surface);
  padding: 48px 28px 104px;
}

.events-filter-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 28px;
}

.events-filter-menu {
  position: relative;
  width: min(340px, 100%);
}

.events-filter-menu summary {
  position: relative;
  height: 48px;
  padding: 0 48px 0 18px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(191, 208, 232, 0.95);
  background:
    linear-gradient(45deg, transparent 50%, var(--blue-700) 50%) calc(100% - 24px) 20px / 7px 7px no-repeat,
    linear-gradient(135deg, var(--blue-700) 50%, transparent 50%) calc(100% - 18px) 20px / 7px 7px no-repeat,
    linear-gradient(180deg, #ffffff, #f8fafc);
  color: var(--blue-900);
  font-weight: 900;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  list-style: none;
}

.events-filter-menu summary::-webkit-details-marker {
  display: none;
}

.events-filter-menu summary:focus {
  border-color: var(--blue-700);
  outline: 3px solid rgba(0, 51, 153, 0.12);
}

.events-filter-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  width: min(420px, calc(100vw - 56px));
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--border-strong);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.events-filter-options a {
  display: block;
  padding: 12px 16px;
  color: var(--text-soft);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.events-filter-options a:last-child {
  border-bottom: 0;
}

.events-filter-options a:hover,
.events-filter-options a.active {
  background: var(--blue-50);
  color: var(--blue-700);
}

.activity-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.activity-event-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.activity-event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 51, 153, 0.22);
  box-shadow: var(--shadow-md);
}

.activity-event-link {
  display: grid;
  grid-template-rows: 190px 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.activity-event-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.activity-event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.activity-event-card:hover .activity-event-image {
  transform: scale(1.04);
}

.activity-event-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 23, 61, 0.9), rgba(0, 51, 153, 0.75)),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.activity-event-placeholder span {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.activity-event-body {
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-height: 230px;
}

.activity-event-label {
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.activity-event-body h3 {
  font-family: var(--font-head);
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.activity-event-body p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.68;
  margin-bottom: 22px;
}

.activity-event-cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-card-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  padding: 6px 9px;
  background: var(--white);
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(6, 23, 61, 0.16);
}

.gallery-card-meta {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 5px 9px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.activity-events-pagination {
  margin-top: 44px;
}

.activity-events-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(8, 36, 92, 0.08);
  border-radius: 999px;
  background: rgba(243, 248, 255, 0.88);
  box-shadow: 0 14px 30px rgba(6, 23, 61, 0.08);
}

.activity-events-pagination .page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(6, 23, 61, 0.06);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.activity-events-pagination a.page-numbers::after {
  content: none;
}

.activity-events-pagination .page-numbers.dots {
  min-width: auto;
  padding: 0 6px;
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
}

.activity-events-pagination a.page-numbers:hover,
.activity-events-pagination a.page-numbers:focus-visible,
.activity-events-pagination .page-numbers.current {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0, 51, 153, 0.22);
  transform: translateY(-2px);
}

.activity-events-pagination .page-numbers.current {
  border-color: var(--blue-950);
  background: var(--blue-950);
}

.activity-events-pagination a.page-numbers:focus-visible {
  outline: 3px solid rgba(255, 204, 0, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .activity-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .activity-events-section {
    padding: 40px 18px 80px;
  }

  .activity-events-grid {
    grid-template-columns: 1fr;
  }

  .activity-event-link {
    grid-template-rows: 180px 1fr;
  }

  .activity-events-pagination {
    margin-top: 32px;
  }

  .activity-events-pagination ul {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .activity-events-pagination .page-numbers {
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
  }
}

.partner-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.partner-card-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 520px) {
  .partner-card-logo-wrap {
    min-height: 130px;
    padding: 32px 24px 18px;
  }
}

/* PROJECT IN MOTION - DYNAMIC LINKS */

.media-side-link {
  color: inherit;
  text-decoration: none;
}

.media-side-link:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(0, 51, 153, 0.035), transparent);
}

.motion-activities-strip {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.motion-activity-item {
  color: inherit;
  text-decoration: none;
}

.motion-activity-item:hover {
  filter: brightness(1.08);
}

.motion-activity-item .media-gallery-label {
  text-align: left;
  line-height: 1.2;
}

.media-view-all-link {
  display: inline-flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 18px;
  color: var(--blue-700);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.media-view-all-link:hover,
.media-view-all-link:focus-visible {
  color: var(--blue-950);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.media-feature-video-embed {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  justify-self: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blue-950);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

.media-feature-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.media-layout.has-featured-video .media-play-button {
  display: none;
}

.media-layout.has-featured-video {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
}

.media-layout.has-featured-video .media-feature-visual {
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 22px;
  min-height: 440px;
  padding: clamp(28px, 3.2vw, 40px);
}

.media-layout.has-featured-video .media-feature-content {
  max-width: 680px;
}

.media-layout.has-featured-video .media-feature-content h3 {
  max-width: 680px;
  font-size: clamp(2rem, 3.25vw, 3.15rem);
  line-height: 0.94;
}

.media-layout.has-featured-video .media-feature-content p {
  max-width: 560px;
  font-size: 0.98rem;
}

.media-layout.has-featured-video .media-side-list {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: space-between;
  gap: 0;
  margin-top: 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.media-layout.has-featured-video .media-side-item {
  grid-template-columns: 56px 1fr;
  flex: 1;
  min-height: 0;
  gap: 14px;
  padding: 16px 0;
}

.media-layout.has-featured-video .media-side-number {
  font-size: 1.35rem;
}

.media-layout.has-featured-video .media-side-item h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.media-layout.has-featured-video .media-gallery-badge {
  margin: 5px 0 7px;
  padding: 3px 7px;
  font-size: 0.66rem;
}

.media-layout.has-featured-video .media-side-link:hover {
  padding-left: 0;
  transform: translateY(-3px);
}

.media-layout.has-featured-video .media-side-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.88rem;
  line-height: 1.5;
}

.media-layout.no-featured-video {
  display: block;
}

.media-layout.no-featured-video .media-side-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  border-top: 0;
}

.media-layout.no-featured-video .media-side-item {
  grid-template-columns: 56px 1fr;
  padding: 24px 0;
}

@media (max-width: 1100px) {
  .media-layout.has-featured-video {
    grid-template-columns: 1fr;
  }

  .media-layout.has-featured-video .media-feature-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .media-layout.has-featured-video .media-side-list {
    height: auto;
    overflow: visible;
  }

  .media-feature-video-embed {
    max-width: none;
    width: 100%;
  }

  .media-layout.has-featured-video .media-side-list,
  .media-layout.no-featured-video .media-side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .media-layout.has-featured-video .media-feature-visual {
    padding: 32px 24px;
  }

  .media-layout.has-featured-video .media-feature-content h3 {
    font-size: clamp(2.45rem, 15vw, 3.6rem);
  }

  .media-layout.has-featured-video .media-side-list,
  .media-layout.no-featured-video .media-side-list {
    grid-template-columns: 1fr;
  }
}

/* ================================
   CLUB PROFILE - COMPACT REDESIGN
================================ */

.club-profile-section {
  background:
    linear-gradient(180deg, var(--blue-50) 0%, #ffffff 62%);
  padding: 88px 28px 104px;
}

.club-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 0;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 32%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.club-profile-hero-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.club-profile-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 780px;
}

.club-profile-logo {
  width: clamp(82px, 9vw, 112px);
  height: auto;
  display: block;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.2));
}

.club-profile-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: var(--white);
  margin-top: 0;
}

.club-profile-lead {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
  font-weight: 700;
}

.club-profile-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.club-profile-info-item {
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.club-profile-info-item:nth-child(2n) {
  border-right: none;
}

.club-profile-info-item span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.club-profile-info-item strong {
  display: block;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.45rem;
  line-height: 1;
  font-weight: 800;
}

/* Two columns: leadership + teams */

.club-profile-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  margin-top: 42px;
}

.club-profile-columns.has-single-column {
  grid-template-columns: 1fr;
}

.club-compact-block {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.club-compact-heading {
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--border);
}

.club-compact-heading span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-700);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.club-compact-heading h3 {
  font-family: var(--font-head);
  color: var(--text);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.club-leadership-list,
.club-teams-compact-list {
  display: flex;
  flex-direction: column;
}

.club-leadership-row,
.club-team-compact-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 30px;
  border-bottom: 1px solid var(--border);
}

.club-leadership-row:last-child,
.club-team-compact-row:last-child {
  border-bottom: none;
}

.club-role-code,
.club-team-code {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-800);
  font-family: var(--font-head);
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 800;
}

.club-leadership-row h4,
.club-team-compact-row h4 {
  font-family: var(--font-head);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.club-leadership-row p,
.club-team-compact-row p {
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.94rem;
}

.club-team-compact-row p strong {
  color: var(--blue-800);
  font-weight: 900;
}

.club-team-compact-highlight {
  background: linear-gradient(90deg, rgba(0, 51, 153, 0.045), transparent);
}

.club-team-compact-highlight .club-team-code {
  background: var(--blue-700);
  color: var(--white);
}

/* Shared lower blocks */

.club-profile-block {
  margin-top: 56px;
}

.club-block-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.club-block-kicker {
  display: block;
  color: var(--blue-700);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.club-block-heading h3 {
  font-family: var(--font-head);
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* TablePress results */

.club-results-embed {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: var(--white);
}

.club-results-embed .tablepress {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  margin: 0;
  background: var(--white);
}

.club-results-embed .tablepress thead th {
  background: var(--blue-950);
  color: var(--white);
  padding: 16px 18px;
  border: 0;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.club-results-embed .tablepress tbody td {
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.club-results-embed .tablepress tbody tr:last-child td {
  border-bottom: none;
}

.club-results-embed .tablepress tbody tr:hover td {
  background: var(--blue-50);
}

/* Responsive */

@media (max-width: 1000px) {
  .club-profile-hero,
  .club-profile-columns,
  .club-block-heading {
    grid-template-columns: 1fr;
  }

  .club-profile-info {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 620px) {
  .club-profile-section {
    padding: 72px 18px 88px;
  }

  .club-profile-hero-content {
    padding: 34px 26px;
  }

  .club-profile-brand {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .club-profile-logo {
    width: 92px;
  }

  .club-profile-info {
    grid-template-columns: 1fr;
  }

  .club-profile-info-item {
    border-right: none;
  }

  .club-leadership-row,
  .club-team-compact-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 24px;
  }

  .club-compact-heading {
    padding: 24px;
  }
}

/* CLUB LOWER SECTION HEADINGS - tighter kicker/title */

.club-block-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.club-block-kicker {
  margin-bottom: 0;
}

.club-block-heading h3 {
  margin: 0;
}

/* ================================
   CLUB YEARS TIMELINE - LINKS ONLY
================================ */

.club-years-section {
  margin-top: 56px;
}

.club-years-intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.club-years-intro p {
  color: var(--text-soft);
  line-height: 1.7;
}

.club-years-line {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 58px 0 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
}

.club-years-line.is-dragging {
  cursor: grabbing;
}

.club-years-line::-webkit-scrollbar {
  display: none;
}

.club-year-link::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: var(--border);
}

.club-year-link {
  position: relative;
  flex: 0 0 120px;
  padding-right: 34px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.club-year-dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  height: 16px;
  margin-bottom: 18px;
  background: var(--white);
  border: 3px solid var(--border-strong);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.club-year-link strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.club-year-link:hover {
  color: var(--blue-700);
}

.club-year-link:hover .club-year-dot {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: scale(1.15);
}

@media (max-width: 620px) {
  .club-year-link {
    flex-basis: 96px;
    padding-right: 24px;
  }

  .club-year-link strong {
    font-size: 1.75rem;
  }
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    var(--blue-950);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(6, 23, 61, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)),
    var(--blue-700);
  transform: translateY(-3px) scale(1);
}

@media (max-width: 620px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 360px) {
  .back-to-top {
    right: 10px;
    bottom: 10px;
    width: 42px;
    height: 42px;
    max-width: calc(100vw - 20px);
  }
}

@media (max-width: 360px) {
  #main-content,
  .section-inner,
  .media-feature-visual,
  .contact-section,
  .contact-grid,
  .contact-info,
  .contact-form {
    min-width: 0;
    max-width: 100%;
  }

  .media-feature-visual {
    padding: 26px 22px;
  }

  .media-feature-visual::after {
    content: none;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-info h3 {
    font-size: 1.82rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .contact-item {
    min-width: 0;
  }

  .contact-item > div {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .club-results-table-wrap,
  .club-results-embed,
  .club-years-line {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  footer,
  .footer-inner,
  .footer-grid,
  .footer-brand,
  .footer-col,
  .footer-bottom {
    min-width: 0;
    max-width: 100%;
  }

  footer {
    overflow-x: hidden;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-col a,
  .footer-brand p,
  .footer-bottom span {
    overflow-wrap: anywhere;
  }
}
