:root {
  --snow: #ffffff;
  --ice: #eaf6ff;
  --glacier: #0b7fc3;
  --alpine: #0b1f3a;
  --red: #c81e3a;
  --graphite: #1f2937;
  --muted: #506176;
  --light: #f3f4f6;
  --line: rgba(11, 31, 58, 0.12);
  --shadow: 0 18px 50px rgba(11, 31, 58, 0.14);
  --motion-fast: 180ms ease;
  --motion-medium: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --motion-slow: 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 8px;
  --container: min(1160px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--graphite);
  background: var(--snow);
  font-family: Inter, "Source Sans 3", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--snow);
  background: var(--alpine);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 12px rgba(0, 20, 50, 0.08);
  backdrop-filter: blur(6px);
  transition: box-shadow var(--motion-fast), background-color var(--motion-fast);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(270px, auto) 1fr;
  align-items: center;
  gap: 20px;
  min-height: var(--header-height, 86px);
  transition: min-height 90ms linear;
}

.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: stretch;
  text-decoration: none;
}

.brand img {
  width: var(--brand-logo-size, 106px);
  height: var(--brand-logo-size, 106px);
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 10px 18px rgba(11, 31, 58, 0.2));
  transform: translateY(var(--brand-logo-offset, 24px));
  transition: width 90ms linear, height 90ms linear, transform 90ms linear, filter var(--motion-fast);
  margin-right: 2px;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.06;
}

.brand strong {
  display: block;
  color: var(--alpine);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.brand small {
  display: block;
  color: #31516f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 3px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 86px;
  padding: 0 10px;
  color: var(--alpine);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 4px;
  background: transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--red);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  background: var(--red);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.08;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform var(--motion-fast), background var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast);
}

.header-cta {
  color: var(--snow);
  background: var(--red);
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.18);
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 38px rgba(8, 120, 201, 0.24);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  box-shadow: 0 20px 38px rgba(14, 116, 203, 0.26);
}

.btn-primary {
  color: var(--snow);
  background: #0878c9;
  box-shadow: 0 16px 30px rgba(8, 120, 201, 0.2);
}

.btn-secondary {
  color: var(--snow);
  background: #0b73b7;
  box-shadow: 0 16px 30px rgba(8, 120, 201, 0.18);
}

.btn-outline {
  color: var(--alpine);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(11, 31, 58, 0.28);
}

.btn-light {
  color: var(--alpine);
  background: var(--snow);
  border-color: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--alpine);
}

.hero {
  position: relative;
  min-height: 330px;
  overflow: visible;
  color: var(--graphite);
  background: linear-gradient(90deg, #f7fbff 0%, #eef8ff 44%, #d9eefc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: linear-gradient(176deg, rgba(255, 255, 255, 0) 0 47%, var(--snow) 48% 100%);
  pointer-events: none;
}

.hero-slides,
.hero-bg,
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slides {
  overflow: hidden;
}

.hero-bg {
  object-fit: cover;
  object-position: var(--slide-position, 70% 44%);
  opacity: 0;
  animation: hero-slide 18s infinite;
  animation-delay: var(--slide-delay, 0s);
  will-change: opacity;
}

.hero-video {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  background: #061426;
  transition: opacity 860ms ease;
  will-change: opacity;
}

.hero-slides.has-video .hero-bg {
  animation: none;
  transition: opacity 860ms ease;
}

.hero-slides.has-video .hero-bg.is-active,
.hero-video.is-active {
  opacity: 1;
}

@keyframes hero-slide {
  0%, 28% {
    opacity: 1;
  }

  33%, 95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.hero-copy {
  animation: hero-copy-in 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }

  .hero-bg:first-child {
    opacity: 1;
  }

  .hero-video {
    display: none;
  }
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 0.32) 66%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(0deg, rgba(234, 246, 255, 0.55), rgba(234, 246, 255, 0.2));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 610px) 1fr;
  align-items: center;
  min-height: 330px;
  padding-block: 42px 46px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--glacier);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 640px;
  margin: 0;
  color: #172131;
  font-size: clamp(2.8rem, 4.75vw, 4.4rem);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-subline {
  max-width: 510px;
  margin: 16px 0 0;
  color: #243447;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.quick-facts {
  position: relative;
  z-index: 3;
  background: var(--snow);
  border-bottom: 1px solid var(--line);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 118px;
}

.fact-card,
.value-card,
.sponsor-card,
.person-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow: 0 12px 36px rgba(11, 31, 58, 0.08);
}

.fact-card,
.value-card,
.news-card,
.sponsor-card,
.person-card,
.profile-card {
  transition: transform var(--motion-medium), border-color var(--motion-fast);
}

.fact-card:hover,
.fact-card:focus-within,
.value-card:hover,
.value-card:focus-within,
.news-card:hover,
.news-card:focus-within,
.person-card:hover,
.person-card:focus-within,
.profile-card:hover,
.profile-card:focus-within {
  transform: translateY(-4px);
}

.fact-card:hover .fact-icon,
.fact-card:focus-within .fact-icon {
  transform: translateY(-2px) scale(1.04);
}

.fact-icon {
  transition: transform var(--motion-medium), color var(--motion-fast);
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--motion-slow), transform var(--motion-slow);
  transition-delay: calc(var(--reveal-index, 0) * 45ms);
}

.motion-ready .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal-item.reveal-from-left {
  transform: translateX(-22px);
}

.motion-ready .reveal-item.reveal-from-right {
  transform: translateX(22px);
}

.motion-ready .reveal-item.reveal-from-left.is-visible,
.motion-ready .reveal-item.reveal-from-right.is-visible {
  transform: translateX(0);
}

.fact-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 18px 18px;
  border-width: 0 1px 0 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.fact-card:first-child {
  border-left: 1px solid var(--line);
}

.fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--glacier);
}

.fact-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-card h2 {
  margin: 0 0 8px;
  color: var(--alpine);
  font-size: clamp(0.88rem, 0.96vw, 1.02rem);
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
  hyphens: none;
  overflow-wrap: normal;
  text-transform: uppercase;
}

.value-card h3,
.person-card h3 {
  margin: 18px 0 10px;
  color: var(--alpine);
  font-size: 1.85rem;
}

.fact-card p,
.value-card p,
.person-card p,
.section-copy p,
.sponsors-head p,
.contact-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding-block: 96px;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: center;
}

.about {
  background: linear-gradient(180deg, var(--snow) 0%, var(--ice) 100%);
}

.about-media {
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 22px -18px -22px 18px;
  border: 2px solid var(--glacier);
  border-radius: var(--radius);
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-copy h2,
.section-head h2,
.contact-copy h2 {
  margin: 0 0 20px;
  color: var(--alpine);
  font-size: clamp(2.05rem, 4.7vw, 3.4rem);
  font-weight: 800;
  text-transform: uppercase;
}

.section-copy p,
.contact-copy p {
  max-width: 650px;
  font-size: 1.08rem;
}

.section-copy p + p {
  margin-top: 14px;
}

.about-benefits {
  max-width: 690px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(8, 120, 201, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.about-benefits h3 {
  margin: 0 0 14px;
  color: var(--alpine);
  font-size: clamp(1rem, 1.22vw, 1.18rem);
  font-weight: 800;
  text-transform: uppercase;
}

.about-benefits ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-benefits li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 720;
}

.about-benefits li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--glacier);
  box-shadow: 0 0 0 5px rgba(8, 120, 201, 0.1);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--glacier);
  font-weight: 800;
  text-decoration: none;
}

.about .text-link {
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid rgba(8, 120, 201, 0.34);
  border-radius: var(--radius);
  color: var(--alpine);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.08);
  transition: box-shadow var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast);
}

.about .text-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.about .text-link:hover,
.about .text-link:focus-visible {
  border-color: rgba(8, 120, 201, 0.58);
  background: #f7fbff;
  box-shadow: 0 14px 28px rgba(11, 31, 58, 0.12);
}

.values {
  position: relative;
  color: var(--snow);
  background:
    linear-gradient(135deg, rgba(3, 10, 20, 0.84), rgba(11, 31, 58, 0.72)),
    url("../img/hero/training-values-bg.webp") center / cover fixed;
  isolation: isolate;
}

.values .section-label,
.values .section-head h2 {
  color: var(--snow);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  min-height: 210px;
  padding: 26px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.value-card::before {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  margin-bottom: 22px;
  background: var(--glacier);
  transform: skewX(-24deg);
  transform-origin: left center;
  transition: transform var(--motion-fast);
}

.value-card:hover::before,
.value-card:focus-within::before {
  transform: skewX(-24deg) scaleX(1.16);
}

.news {
  background: linear-gradient(180deg, #f5fbff 0%, var(--snow) 100%);
}

.news-head {
  display: block;
  max-width: none;
}

.news-head h2 {
  margin-bottom: 12px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.04;
  white-space: nowrap;
}

.news-intro p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.news-intro .text-link {
  margin-top: 16px;
}

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

.news-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.08);
}

.news-card.is-featured {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.news-image {
  position: relative;
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: var(--light);
  overflow: hidden;
}

.news-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--motion-medium);
}

.news-card:hover .news-image img,
.news-card:focus-within .news-image img {
  transform: scale(1.025);
}

.news-card.is-featured .news-image img {
  aspect-ratio: 1 / 1;
}

.news-media-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--snow);
  background: rgba(11, 31, 58, 0.84);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
}

.news-media-badge svg,
.news-meta svg,
.news-action svg,
.media-modal-instagram svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.news-body {
  display: flex;
  min-height: 214px;
  flex-direction: column;
  padding: 19px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--red);
}

.news-card h3 {
  margin: 0 0 10px;
  color: var(--alpine);
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  font-weight: 760;
  line-height: 1.14;
  text-transform: uppercase;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.5;
}

.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
}

.news-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--alpine);
  background: var(--snow);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.news-action-primary {
  border-color: rgba(225, 29, 72, 0.18);
  color: var(--red);
  background: rgba(225, 29, 72, 0.06);
}

.news-action:hover,
.news-action:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.news-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(14, 165, 233, 0.34);
  border-radius: 50%;
  color: var(--glacier);
  font-weight: 900;
  text-decoration: none;
  background: var(--snow);
}

.news-pagination a:hover,
.news-pagination a:focus-visible,
.news-pagination a.is-active {
  border-color: var(--glacier);
  color: var(--snow);
  background: var(--glacier);
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 20px;
}

.media-modal.is-open {
  display: grid;
  place-items: center;
}

.media-modal.is-open .media-modal-backdrop {
  animation: modal-backdrop-in 180ms ease both;
}

.media-modal.is-open .media-modal-panel {
  animation: modal-panel-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes modal-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 10, 20, 0.82);
  cursor: pointer;
}

.media-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1120px, 100%);
  max-height: min(88vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #071428;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.media-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--snow);
  background: rgba(7, 20, 40, 0.78);
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
}

.media-modal-stage {
  position: relative;
  display: grid;
  min-height: 360px;
  background: #020712;
}

.media-modal-frame {
  display: grid;
  place-items: center;
  min-height: 0;
}

.media-modal-frame img,
.media-modal-frame video {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.media-modal-frame video {
  width: min(100%, 980px);
  background: #000;
}

.media-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--snow);
  background: rgba(7, 20, 40, 0.72);
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.media-modal-prev {
  left: 12px;
}

.media-modal-next {
  right: 12px;
}

.media-modal-nav[hidden] {
  display: none;
}

.media-modal-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.82);
  background: #071428;
}

.media-modal-meta,
.media-modal-counter {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.media-modal-info h3 {
  margin: 4px 0 5px;
  color: var(--snow);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  text-transform: uppercase;
}

.media-modal-info p {
  margin: 0;
}

.media-modal-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--snow);
  background: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.media-modal-counter {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(7, 20, 40, 0.74);
}

.press-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.press-modal-panel {
  width: min(1440px, 100%);
  max-height: 94vh;
}

.press-modal-stage {
  min-height: min(78vh, 840px);
}

.press-modal-frame {
  display: block;
  padding: 18px;
  overflow: auto;
  overscroll-behavior: contain;
  cursor: grab;
  touch-action: pan-x pan-y;
}

.press-modal-frame:active {
  cursor: grabbing;
}

.press-modal-frame.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.press-modal-frame img {
  display: block;
  width: auto;
  max-width: none;
  max-height: none;
  margin: auto;
  object-fit: contain;
  background: var(--snow);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  user-select: none;
  -webkit-user-drag: none;
}

.press-modal-frame[data-zoomed="false"] {
  cursor: default;
}

.press-modal-frame[data-zoomed="false"] img {
  max-width: 100%;
  max-height: 72vh;
}

.press-modal-info {
  grid-template-columns: minmax(0, 1fr) auto;
}

.press-modal-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.press-modal-tools button,
.press-modal-tools span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--snow);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
}

.press-modal-tools button {
  cursor: pointer;
}

.press-modal-tools button:hover,
.press-modal-tools button:focus-visible {
  background: rgba(14, 165, 233, 0.28);
  border-color: rgba(14, 165, 233, 0.52);
}

.press-modal-tools span {
  min-width: 56px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
}

.sponsors {
  background: var(--light);
}

.sponsors-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 24px;
  max-width: none;
  align-items: end;
}

.sponsors-head > * {
  min-width: 0;
}

.sponsor-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: stretch;
}

.sponsor-card {
  display: grid;
  grid-template-rows: 48px auto;
  align-items: center;
  gap: 7px;
  flex: 0 1 146px;
  width: 100%;
  max-width: 146px;
  min-height: 92px;
  padding: 9px 8px;
  color: var(--alpine);
  text-align: center;
  text-decoration: none;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  border-color: var(--glacier);
  box-shadow: 0 18px 42px rgba(14, 165, 233, 0.16);
  transform: translateY(-3px);
}

.sponsor-card img {
  transition: transform var(--motion-medium);
}

.sponsor-card:hover img,
.sponsor-card:focus-visible img {
  transform: scale(1.01);
}

.sponsor-card img {
  width: 100%;
  max-height: 46px;
  object-fit: contain;
}

.sponsor-card strong {
  font-size: 0.72rem;
  line-height: 1.12;
}

.contact {
  color: var(--snow);
  background:
    linear-gradient(135deg, rgba(4, 15, 30, 0.82), rgba(11, 31, 58, 0.64)),
    url("../img/galleries/pitzbambiniflitz-am-23-02-2019/large/pitzbambiniflitz-am-23-02-2019-001.webp") center 45% / cover;
}

.contact .section-label,
.contact-copy h2,
.contact-copy p {
  color: var(--snow);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 44px;
  align-items: center;
}

.contact-people {
  display: grid;
  gap: 14px;
}

.person-card {
  padding: 24px;
  color: var(--graphite);
}

.person-card span {
  color: #c02645;
  font-weight: 820;
  text-transform: uppercase;
}

.person-card h3 {
  margin-top: 10px;
}

.person-card a {
  display: block;
  margin-top: 8px;
  color: var(--alpine);
  font-weight: 780;
  text-decoration: none;
}

.subpage {
  background: var(--snow);
}

.subpage-hero {
  padding: 118px 0 58px;
  color: var(--snow);
  background:
    linear-gradient(135deg, rgba(6, 20, 38, 0.9), rgba(8, 120, 201, 0.68)),
    var(--subpage-hero-image, url("../img/hero/pitztal-start.webp")) var(--subpage-hero-position, center) / cover;
}

.subpage-hero h1 {
  max-width: 960px;
  margin: 0;
  color: var(--snow);
  font-size: clamp(2.35rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
}

.subpage-hero p:not(.section-label) {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.5;
}

.page-section {
  background: linear-gradient(180deg, var(--snow), var(--ice));
}

.profile-grid,
.press-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trainers-home {
  margin-bottom: 34px;
}

.trainers-head p:not(.section-label) {
  max-width: 680px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  font-weight: 600;
}

.profile-card,
.athlete-card,
.press-card,
.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.08);
}

.profile-card img,
.athlete-card img,
.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 28%;
}

.profile-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
}

.profile-card img {
  width: 108px;
  height: 132px;
  aspect-ratio: auto;
  justify-self: center;
  object-fit: cover;
  object-position: center 34%;
}

.profile-card img.trainer-photo-rotate {
  transform: rotate(90deg) scale(1.18);
}

.profile-card img.trainer-photo-rotate-ccw {
  transform: rotate(-90deg) scale(1.18);
}

.profile-placeholder {
  width: 108px;
  height: 132px;
  aspect-ratio: auto;
  justify-self: center;
}

.profile-placeholder {
  display: grid;
  place-items: center;
  color: var(--snow);
  background: linear-gradient(135deg, var(--alpine), var(--glacier));
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.profile-card div,
.gallery-card div,
.press-card div {
  min-width: 0;
  padding: 18px;
}

.profile-card span,
.age-group-head span {
  color: var(--glacier);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.profile-card h2,
.profile-card h3 {
  margin: 6px 0 0;
  color: var(--alpine);
  font-size: clamp(1.18rem, 1.4vw, 1.46rem);
  font-weight: 780;
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-transform: uppercase;
}

.press-card h2,
.gallery-card h2 {
  margin: 6px 0 0;
  color: var(--alpine);
  font-size: clamp(1.14rem, 1.45vw, 1.42rem);
  font-weight: 760;
  line-height: 1.14;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.age-groups {
  display: grid;
  gap: 34px;
}

.age-group {
  display: grid;
  gap: 14px;
}

.age-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.age-group-head h2 {
  margin: 0;
  color: var(--alpine);
  font-size: clamp(1.55rem, 2.65vw, 2.25rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

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

.athlete-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: stretch;
  min-height: 112px;
}

.athlete-card img {
  width: 86px;
  height: 112px;
  aspect-ratio: auto;
}

.athlete-card h3 {
  margin: 0 0 8px;
  color: var(--alpine);
  font-size: 1.08rem;
  font-weight: 780;
  line-height: 1.15;
  text-transform: uppercase;
}

.athlete-info {
  padding: 12px;
}

.athlete-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.25;
}

.athlete-info p + p {
  margin-top: 5px;
}

.athlete-placeholder {
  display: grid;
  place-items: center;
  width: 86px;
  height: 112px;
  color: var(--snow);
  background: linear-gradient(135deg, var(--alpine), var(--glacier));
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.press-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  background: var(--light);
}


.gallery-page {
  background: linear-gradient(180deg, var(--snow), var(--ice));
}

.gallery-seasons {
  display: grid;
  gap: 42px;
}

.gallery-season {
  display: grid;
  gap: 16px;
}

.gallery-season-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.gallery-season-head h2 {
  margin: 0;
  color: var(--alpine);
  font-size: clamp(1.55rem, 2.65vw, 2.25rem);
  font-weight: 800;
  line-height: 1.08;
  text-transform: uppercase;
}

.gallery-season-head span,
.gallery-meta {
  color: var(--glacier);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-archive-list {
  display: grid;
  gap: 10px;
}

.gallery-archive-card {
  display: grid;
  grid-template-columns: minmax(104px, 132px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(5, 18, 38, 0.07);
}

.gallery-archive-card h2 {
  margin: 0;
  color: var(--alpine);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  font-weight: 760;
  line-height: 1.14;
  text-transform: none;
}

.gallery-meta {
  margin: 0;
}

.press-card .text-link {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  margin-top: 16px;
}

.site-footer {
  padding-block: 30px 24px;
  color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(135deg, #061426 0%, #0b1f3a 64%, #123a5c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, auto);
  gap: 12px 34px;
  align-items: center;
}

.footer-brand {
  grid-row: 1 / span 2;
  max-width: 520px;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logos img {
  width: auto;
  height: 52px;
  object-fit: contain;
  border-radius: 4px;
  background: var(--snow);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.footer-logos img:first-child {
  background: transparent;
  box-shadow: none;
}

.footer-logos img:nth-child(2) {
  height: 38px;
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--snow);
  font-size: 1rem;
  line-height: 1.25;
}

.footer-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-nav {
  align-self: end;
}

.footer-links {
  align-self: start;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 760;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--snow);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links {
  text-align: right;
}

.footer-links a {
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 20px;
    background: var(--snow);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(11, 31, 58, 0.12);
  }

  .main-nav a {
    min-height: 44px;
    padding: 0 10px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

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

  .hero-grid,
  .split,
  .contact-grid,
  .sponsors-head {
    grid-template-columns: 1fr;
  }

  .motion-ready .reveal-item,
  .motion-ready .reveal-item.reveal-from-left,
  .motion-ready .reveal-item.reveal-from-right {
    transform: translateY(10px);
  }

  .motion-ready .reveal-item.is-visible,
  .motion-ready .reveal-item.reveal-from-left.is-visible,
  .motion-ready .reveal-item.reveal-from-right.is-visible {
    transform: translateY(0);
  }

  .news-head h2 {
    font-size: 2.72rem;
  }

  .fact-grid,
  .value-grid,
  .profile-grid,
  .press-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sponsor-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .news-card.is-featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .about .text-link {
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  :root {
    --container: min(100% - 24px, 1160px);
  }

  .header-inner {
    min-height: var(--header-height, 70px);
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand span {
    min-width: 0;
  }

  .brand strong {
    font-size: clamp(1.04rem, 5.2vw, 1.32rem);
    line-height: 1;
  }

  .brand img {
    width: var(--brand-logo-size, 52px);
    height: var(--brand-logo-size, 52px);
    transform: translateY(var(--brand-logo-offset, 0px));
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .main-nav {
    top: var(--header-height, 70px);
  }

  .hero,
  .hero-grid {
    min-height: 460px;
  }

  .hero-grid {
    padding-block: 72px 58px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.7)),
      linear-gradient(0deg, rgba(234, 246, 255, 0.72), rgba(234, 246, 255, 0.15));
  }

  h1 {
    font-size: clamp(2.1rem, 10.2vw, 2.45rem);
    overflow-wrap: anywhere;
  }

  .hero-subline {
    font-size: 1.02rem;
  }

  .news-head h2 {
    font-size: 1.16rem;
    line-height: 1.05;
  }

  .values {
    background-attachment: scroll;
  }

  .fact-grid,
  .value-grid,
  .news-grid,
  .press-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

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

  .profile-card {
    grid-template-columns: 136px minmax(0, 1fr);
  }

  .profile-card img,
  .profile-placeholder {
    width: 108px;
    height: 132px;
  }

  .subpage-hero {
    padding: 92px 0 46px;
  }

  .subpage-hero h1 {
    font-size: clamp(2rem, 8.6vw, 3rem);
    line-height: 1.08;
    overflow-wrap: normal;
  }

  .age-group-head,
  .gallery-season-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .gallery-archive-card {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .gallery-album-button {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
  }

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

  .news-card.is-featured {
    grid-column: auto;
  }

  .news-body {
    min-height: 0;
    padding: 20px;
  }

  .media-modal {
    padding: 10px;
  }

  .media-modal-panel {
    max-height: 94vh;
  }

  .media-modal-stage {
    min-height: 260px;
  }

  .media-modal-frame img,
  .media-modal-frame video {
    max-height: 58vh;
  }

  .media-modal-nav {
    width: 40px;
    height: 50px;
    font-size: 2.1rem;
  }

  .media-modal-info {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .media-modal-instagram {
    justify-self: start;
  }

  .quick-facts {
    margin-top: 0;
    padding-top: 0;
    background: var(--snow);
  }

  .fact-card {
    border-width: 0 0 1px;
  }

  .fact-card:first-child {
    border-left: 0;
  }

  .section {
    padding-block: 68px;
  }

  .about-media::before {
    inset: 14px -10px -14px 10px;
  }

  .sponsor-card {
    grid-template-rows: 46px auto;
    min-height: 88px;
  }

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

  .footer-brand {
    grid-row: auto;
  }

  .footer-nav,
  .footer-links {
    justify-content: flex-start;
    text-align: left;
  }

  .motion-ready .reveal-item,
  .motion-ready .reveal-item.reveal-from-left,
  .motion-ready .reveal-item.reveal-from-right {
    transform: translateY(10px);
  }

  .motion-ready .reveal-item.is-visible,
  .motion-ready .reveal-item.reveal-from-left.is-visible,
  .motion-ready .reveal-item.reveal-from-right.is-visible {
    transform: translateY(0);
  }
}


@media (max-width: 420px) {
  h1 {
    font-size: clamp(1.92rem, 9.3vw, 2.32rem);
    overflow-wrap: normal;
  }

  .subpage-hero h1 {
    font-size: clamp(1.8rem, 8.2vw, 2.18rem);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .motion-ready .reveal-item,
  .motion-ready .reveal-item.reveal-from-left,
  .motion-ready .reveal-item.reveal-from-right {
    opacity: 1;
    transform: none;
  }
}

.gallery-archive-card.has-gallery {
  padding: 0;
  overflow: hidden;
}

.gallery-archive-card.has-gallery .gallery-album-button {
  grid-column: 1 / -1;
}

.gallery-album-button {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.gallery-album-button:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.48);
  outline-offset: -3px;
}

.gallery-album-cover {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--light);
}

.gallery-album-copy {
  display: grid;
  gap: 8px;
}

.gallery-album-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--alpine);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  font-weight: 780;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gallery-archive-card.has-gallery:hover .gallery-album-title,
.gallery-archive-card.has-gallery:focus-within .gallery-album-title {
  color: var(--red);
}

.gallery-modal-panel {
  width: min(1160px, 96vw);
}

.gallery-modal-frame img {
  max-height: 72vh;
}

.gallery-modal-credit {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.gallery-photo-count {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.gallery-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.gallery-pagination a,
.gallery-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  color: var(--alpine);
  font-weight: 800;
  text-decoration: none;
  background: #fff;
}

.gallery-season-pagination a,
.gallery-season-pagination span {
  min-width: 82px;
}

.gallery-pagination a:hover,
.gallery-pagination a:focus-visible {
  color: #fff;
  border-color: var(--glacier);
  background: var(--glacier);
}

.gallery-pagination span[aria-current="page"] {
  color: #fff;
  border-color: var(--alpine);
  background: var(--alpine);
}
/* Fotos-Seite: ruhiges Archiv, Saison-Pagination und leichtere Lightbox */
.subpage-sponsors {
  padding-block: 42px;
  border-top: 1px solid var(--line);
}

.subpage-sponsors .sponsors-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.subpage-sponsors .sponsors-head h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.subpage-sponsors .sponsors-head > p {
  max-width: 360px;
  margin: 0;
  font-size: 0.92rem;
}

.subpage-sponsors .sponsor-wall {
  gap: 6px;
}

.subpage-sponsors .sponsor-card {
  grid-template-rows: 36px auto;
  flex-basis: 118px;
  max-width: 118px;
  min-height: 72px;
  padding: 7px 6px;
}

.subpage-sponsors .sponsor-card img {
  max-height: 34px;
}

.subpage-sponsors .sponsor-card strong {
  font-size: 0.64rem;
  font-weight: 760;
}

.legal-layout a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: 4px;
}

.gallery-archive-card {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.gallery-archive-card.has-gallery {
  border-color: rgba(15, 23, 42, 0.1);
}

.gallery-archive-card.has-gallery:hover,
.gallery-archive-card.has-gallery:focus-within {
  border-color: rgba(14, 165, 233, 0.36);
  box-shadow: 0 10px 28px rgba(5, 18, 38, 0.06);
}

.gallery-photo-count {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 650;
}

.gallery-pagination-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
}

.gallery-modal-panel {
  background: rgba(255, 255, 255, 0.98);
}

.gallery-modal-stage {
  background: #07111f;
}

.gallery-modal-frame img {
  max-height: 70vh;
}

.gallery-modal .media-modal-nav {
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  opacity: 0.86;
}

.gallery-modal .media-modal-counter {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.gallery-modal .media-modal-close {
  width: 42px;
  height: 42px;
  font-size: 1.65rem;
}

.gallery-modal-status {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .press-modal {
    padding: 10px;
  }

  .press-modal-stage {
    min-height: 58vh;
  }

  .press-modal-frame {
    padding: 10px;
  }

  .press-modal-frame img {
    max-height: 62vh;
  }

  .press-modal-info {
    grid-template-columns: 1fr;
  }

  .press-modal-tools {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .press-modal-tools button,
  .press-modal-tools span {
    min-height: 44px;
  }

  .gallery-album-button {
    grid-template-columns: 124px minmax(0, 1fr);
  }

  .gallery-modal .media-modal-nav {
    width: 38px;
    height: 38px;
  }

  .gallery-modal .media-modal-prev {
    left: 6px;
  }

  .gallery-modal .media-modal-next {
    right: 6px;
  }

  .subpage-sponsors .sponsors-head {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .subpage-sponsors {
    padding-block: 30px;
  }

  .subpage-sponsors .sponsor-wall {
    gap: 5px;
  }

  .subpage-sponsors .sponsor-card {
    flex-basis: 92px;
    max-width: 92px;
    min-height: 64px;
    padding: 6px 5px;
  }

  .subpage-sponsors .sponsor-card img {
    max-height: 28px;
  }

  .subpage-sponsors .sponsor-card strong {
    font-size: 0.58rem;
  }
}

@media (max-width: 460px) {
  .gallery-album-button {
    grid-template-columns: 1fr;
  }

  .gallery-album-cover {
    max-height: 190px;
  }
}

/* Fotos-Seite: kompakte Albumzeilen nach Screenshot-Korrektur */
.gallery-archive-list {
  align-items: start;
}

.gallery-archive-card {
  align-self: start;
  min-height: 0;
}

.gallery-album-button {
  align-items: center;
  min-height: 132px;
}

.gallery-album-cover {
  width: 156px;
  height: 108px;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
}

@media (max-width: 720px) {
  .gallery-album-button {
    min-height: 128px;
  }

  .gallery-album-cover {
    width: 124px;
    height: 102px;
  }
}

@media (max-width: 460px) {
  .gallery-album-button {
    min-height: 0;
  }

  .gallery-album-cover {
    width: 100%;
    height: 178px;
    aspect-ratio: auto;
  }

  .gallery-season-pagination a,
  .gallery-season-pagination span {
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.84rem;
  }
}

/* Fotos-Seite: mehrspaltiges Archivgrid */
.gallery-archive-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.gallery-archive-card,
.gallery-archive-card.has-gallery {
  display: block;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-archive-card.has-gallery .gallery-album-button,
.gallery-album-button {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  gap: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
}

.gallery-album-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-album-copy {
  align-content: start;
  min-height: 132px;
  padding: 14px 16px 16px;
}

.gallery-album-title {
  min-height: 2.1em;
}

@media (max-width: 1199px) {
  .gallery-archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gallery-archive-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-album-button {
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .gallery-album-cover {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
  }

  .gallery-album-copy {
    min-height: 132px;
    padding: 13px 14px;
  }
}

@media (max-width: 460px) {
  .gallery-album-button {
    grid-template-columns: 1fr;
  }

  .gallery-album-cover {
    height: 178px;
    min-height: 0;
  }

  .gallery-album-copy {
    min-height: 118px;
  }
}

.legal-page {
  background: linear-gradient(180deg, var(--snow), #f8fafc);
}

.legal-layout {
  max-width: 860px;
}

.legal-section {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section:last-child {
  border-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--alpine);
  font-size: clamp(1.24rem, 2.05vw, 1.62rem);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.legal-section p,
.legal-section li {
  color: #334155;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-section p {
  margin: 0 0 12px;
}

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.legal-section a {
  color: var(--glacier);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Fotos-Seite: dezente Bewegungsqualitaet */
.gallery-archive-card {
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.gallery-album-cover {
  opacity: 0;
  transform: scale(1.006);
  transition: opacity 220ms ease, transform 280ms ease;
  will-change: opacity, transform;
}

.gallery-album-cover.is-loaded {
  opacity: 1;
  transform: scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-archive-card.has-gallery:hover,
  .gallery-archive-card.has-gallery:focus-within {
    transform: translateY(-2px);
  }

  .gallery-archive-card.has-gallery:hover .gallery-album-cover,
  .gallery-archive-card.has-gallery:focus-within .gallery-album-cover {
    transform: scale(1.02);
  }
}

.gallery-modal .media-modal-backdrop {
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-modal.is-open .media-modal-backdrop {
  opacity: 1;
}

.gallery-modal .media-modal-panel {
  transform: scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-modal.is-open .media-modal-panel {
  transform: scale(1);
}

.gallery-modal-frame img {
  opacity: 0;
  transform: scale(0.992);
  transition: opacity 190ms ease, transform 220ms ease;
}

.gallery-modal-frame img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 767px) {
  .gallery-album-cover,
  .gallery-modal-frame img {
    transition-duration: 180ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-archive-card,
  .gallery-album-cover,
  .gallery-modal .media-modal-backdrop,
  .gallery-modal .media-modal-panel,
  .gallery-modal-frame img {
    transition: none !important;
    transform: none !important;
  }

  .gallery-album-cover,
  .gallery-modal-frame img {
    opacity: 1 !important;
  }
}
