/* =====================================================
   Eintracht Nepali e.V. — Custom Styles
   Club palette pulled from the logo:
     Navy        #0F1B38   (primary)
     Royal blue  #1C2580   (secondary)
     Mid blue    #013263   (border / depth)
     Red         #E13A3E   (accent / Nepal flag)
     Gold        #FECE00   (highlight)
     Light wash  #EEF2FA   (page background)
   Layered on top of Bootstrap Clean Blog (styles.css)
   ===================================================== */

:root {
  --club-navy:   #0F1B38;
  --club-royal:  #1C2580;
  --club-blue:   #013263;
  --club-red:    #E13A3E;
  --club-gold:   #FECE00;
  --club-wash:   #EEF2FA;
  --club-wash-2: #DCE5F4;
}

/* ---------- Page background — bluish wash ---------- */
body {
  background:
    linear-gradient(180deg, var(--club-wash) 0%, #FFFFFF 240px),
    var(--club-wash);
  color: #1a2238;
}

/* =====================================================
   Image quality — sharp, crisp rendering across the site
   ===================================================== */
img {
  /* Let the browser pick the best interpolation. crisp-edges is bad for photos
     so we explicitly let the cascade fall back to "auto" / "high-quality". */
  image-rendering: auto;
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  /* Note: deliberately NOT using transform: translateZ(0) globally — it can
     cause subtle subpixel blurring on certain GPUs / displays. */
}

/* Hero / large photo backgrounds — keep them razor sharp */
.hero-modern,
.pokal-hero,
header.masthead {
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  /* Hardware acceleration for smoother rendering */
  will-change: transform;
}

/* High-DPI / Retina displays — ensure crisp details */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  img.gallery-img,
  .album-card-img img,
  .figure-modern img,
  .news-card img,
  .tc-image-wrap img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Avoid the lazy-loading blur effect from squishing crisp images */
img[loading="lazy"] { content-visibility: auto; }

/* Alternating sections look better on a tinted page */
main, article, .container.px-4 {
  background: transparent;
}

/* ---------- Brand & Navigation ---------- */
.brand-logo {
  width: 64px;
  height: 64px;
  /* Negative top/bottom margin so the larger logo doesn't push the
     navbar taller — it visually overflows but the bar stays the same. */
  margin-top: -14px;
  margin-bottom: -14px;
  vertical-align: middle;
  /* Plain logo, no glow — keeps the navbar clean. */
  transition: transform 0.25s ease;
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.06);
}

/* Smaller logo on mobile so it stays balanced with the brand text */
@media (max-width: 575px) {
  .brand-logo {
    width: 48px;
    height: 48px;
    margin-top: -10px;
    margin-bottom: -10px;
  }
}

/* Sticky navigation — always visible while scrolling */
#mainNav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--club-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

#mainNav .navbar-brand,
#mainNav .nav-link,
#mainNav .navbar-toggler {
  color: #ffffff !important;
}

#mainNav .navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Gold accent for "Nepali e.V." in the navbar brand */
#mainNav .brand-gold {
  color: var(--club-gold) !important;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* =====================================================
   Robust navbar — logo always to the left of the brand name, never wraps
   ===================================================== */
#mainNav .navbar-brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 12px; /* Space between logo and text — explicit, never collapsed */
  max-width: calc(100% - 90px); /* Reserve space for the menu toggler */
  overflow: hidden;
  text-overflow: ellipsis;
}
#mainNav .navbar-brand .brand-logo {
  flex-shrink: 0;
  margin: 0; /* gap handles spacing now, no margin needed */
}
/* The gap collapses whitespace between flex items, so the literal text
   "Eintracht " (with trailing space) becomes a separate flex item from
   .brand-gold. Use a thin span to preserve the visual word-spacing. */
#mainNav .navbar-brand .brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
}

/* On narrow screens, scale down the brand text so it always fits */
@media (max-width: 575px) {
  #mainNav .navbar-brand {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    gap: 8px;
  }
}

/* Extra small screens — drop the "e.V." abbreviation gracefully */
@media (max-width: 380px) {
  #mainNav .navbar-brand {
    font-size: 0.88rem;
  }
  #mainNav .brand-gold .ev-suffix { display: none; }
}

/* Tablet — clean stable layout without overlap */
@media (max-width: 991px) {
  #mainNav .navbar-toggler {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  #mainNav .container {
    flex-wrap: nowrap;
  }
}

#mainNav .nav-link:hover {
  color: var(--club-gold) !important;
}

#mainNav .nav-link.active {
  color: var(--club-gold) !important;
  border-bottom: 2px solid var(--club-red);
}

#mainNav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Neutralise the original theme's hide-on-scroll classes */
#mainNav.is-fixed,
#mainNav.is-visible {
  position: sticky !important;
  top: 0 !important;
  transform: none !important;
  background: var(--club-navy) !important;
}

#mainNav.scrolled {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* ---------- Masthead (hero) ---------- */
header.masthead::before {
  background: linear-gradient(180deg, rgba(15, 27, 56, 0.55), rgba(15, 27, 56, 0.75));
}

/* Force the hero/masthead text to be white so it is readable
   over the photo background — overrides the navy heading colour
   that applies to the rest of the site. */
header.masthead h1,
header.masthead h2,
header.masthead h3,
header.masthead .subheading,
header.masthead .site-heading,
header.masthead .page-heading,
header.masthead .post-heading {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ---------- Headings ---------- */
.section-heading {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--club-navy);
}

h1, h2, h3, h4 {
  color: var(--club-navy);
}

/* Horizontal rules with a club tint */
hr.my-4 {
  border-top: 2px solid var(--club-royal);
  opacity: 0.25;
}

/* ---------- Links & buttons ---------- */
a {
  color: var(--club-royal);
}
a:hover {
  color: var(--club-red);
}

.btn-primary,
.btn.btn-primary {
  background-color: var(--club-navy);
  border-color: var(--club-navy);
  color: #fff;
}
.btn-primary:hover,
.btn.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--club-royal);
  border-color: var(--club-royal);
  color: #fff;
}

.btn-outline-primary {
  color: var(--club-navy);
  border-color: var(--club-navy);
}
.btn-outline-primary:hover {
  background-color: var(--club-navy);
  color: #fff;
}

.motto {
  font-size: 1.25rem;
  color: var(--club-red);
  font-weight: 700;
}

/* ---------- Stat row on home ---------- */
.stat-row {
  background: #ffffff;
  border-top: 4px solid var(--club-navy);
  border-bottom: 4px solid var(--club-red);
  border-radius: 8px;
  padding: 30px 10px;
  box-shadow: 0 4px 14px rgba(15, 27, 56, 0.08);
}
.stat-number {
  font-family: "Open Sans", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--club-navy);
}
.stat-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--club-blue);
}

/* ---------- Post previews ---------- */
.post-preview > a > .post-title,
.post-preview > a > .post-subtitle,
.post-preview .post-title,
.post-preview .post-subtitle {
  color: var(--club-navy);
}
.post-preview > a:hover > .post-title {
  color: var(--club-red);
}
.post-meta a {
  color: var(--club-royal);
}

/* ---------- Squad inspirational quote banner ---------- */
.squad-quote {
  position: relative;
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 44px 30px 38px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 27, 56, 0.18);
  border-bottom: 4px solid var(--club-red);
  overflow: hidden;
}

.squad-quote::before,
.squad-quote::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 206, 0, 0.18) 0%, rgba(254, 206, 0, 0) 70%);
  pointer-events: none;
}
.squad-quote::before { top: -80px; left: -80px; }
.squad-quote::after  { bottom: -80px; right: -80px;
  background: radial-gradient(circle, rgba(225, 58, 62, 0.22) 0%, rgba(225, 58, 62, 0) 70%);
}

.squad-quote .quote-icon {
  font-size: 1.8rem;
  color: var(--club-gold);
  margin-bottom: 10px;
  opacity: 0.85;
}

.squad-quote .quote-text {
  font-family: "Lora", serif;
  font-size: 1.9rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  margin: 0 auto 14px;
  max-width: 720px;
  color: #ffffff;
}

.squad-quote .quote-sub {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--club-gold);
  font-weight: 600;
  opacity: 0.95;
}

@media (max-width: 576px) {
  .squad-quote { padding: 32px 22px 28px; }
  .squad-quote .quote-text { font-size: 1.4rem; }
  .squad-quote .quote-sub  { font-size: 0.8rem; }
}

/* ---------- Filter tabs ---------- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.filter-btn {
  background: #ffffff;
  color: var(--club-navy);
  border: 2px solid var(--club-navy);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  background: var(--club-wash);
  transform: translateY(-1px);
}
.filter-btn.active {
  background: var(--club-navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 27, 56, 0.3);
}
.filter-btn.active::after {
  content: "";
  display: inline-block;
  width: 0;
  margin-left: 4px;
}

/* ---------- Squad grid + filter animation ---------- */
.squad-grid .squad-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.squad-grid .squad-item.squad-hidden {
  display: none;
}

/* ---------- Trading-card style player cards ---------- */
.trading-card {
  position: relative;
  background: linear-gradient(180deg, var(--club-navy) 0%, var(--club-royal) 100%);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(15, 27, 56, 0.18);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
  border: 2px solid transparent;
}

.trading-card::before {
  /* Diagonal red stripe across the top corner */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 6px;
  background: linear-gradient(90deg, var(--club-red), var(--club-gold));
  transform: skewX(-30deg) translateX(-15%);
  transform-origin: left top;
  z-index: 3;
}

.trading-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(15, 27, 56, 0.35);
  border-color: var(--club-red);
}

.tc-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--club-navy);
}

.tc-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
  display: block;
}

.trading-card:hover .tc-image-wrap img {
  transform: scale(1.06);
}

/* Subtle gradient at the bottom of the photo for legibility */
.tc-image-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, rgba(15, 27, 56, 0) 0%, rgba(15, 27, 56, 0.65) 100%);
  pointer-events: none;
}

/* Position tag (FW/MID/DEF/GK/COACH) */
.tc-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--club-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.tc-tag-coach   { background: var(--club-blue); }
.tc-tag-captain { background: var(--club-red); }
.tc-tag-gk      { background: #198754; }

/* Jersey number */
.tc-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: "Open Sans", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  line-height: 1;
  z-index: 2;
}

/* Info area below the photo */
.tc-info {
  padding: 14px 16px 16px;
  text-align: center;
  background: linear-gradient(180deg, var(--club-navy) 0%, #050d24 100%);
  color: #fff;
  flex: 1;
  position: relative;
}

.tc-info::before {
  /* Thin red-gold accent line above the name */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--club-red), var(--club-gold));
  border-radius: 2px;
}

.tc-info h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 8px 0 4px;
  letter-spacing: 0.5px;
}

.tc-info .tc-role {
  color: var(--club-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin: 0;
}

/* Captain card — special border treatment */
.trading-card-captain {
  border-color: var(--club-gold);
  box-shadow: 0 8px 22px rgba(254, 206, 0, 0.25), 0 6px 18px rgba(15, 27, 56, 0.2);
}
.trading-card-captain:hover {
  border-color: var(--club-gold);
  box-shadow: 0 18px 40px rgba(254, 206, 0, 0.35), 0 12px 30px rgba(15, 27, 56, 0.3);
}

/* ---------- Player cards (legacy, kept for any other pages) ---------- */
.players-grid .player-card,
.player-card {
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-top: 4px solid var(--club-navy);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 27, 56, 0.18);
  border-top-color: var(--club-red);
}

.player-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  background: var(--club-wash);
}

.player-card .player-info {
  padding: 18px;
}

.player-card .player-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--club-navy);
}

.player-card .role {
  color: var(--club-royal);
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.player-card .quote {
  font-style: italic;
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
}

.player-card .status {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 0;
}

.player-card.highlight {
  border: 2px solid var(--club-red);
  border-top: 4px solid var(--club-navy);
  background: linear-gradient(180deg, #ffffff 0%, var(--club-wash) 100%);
}

.player-card.highlight .badge {
  background-color: var(--club-red) !important;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.dot-ready    { background: #198754; }
.dot-injured  { background: var(--club-red); }

/* ---------- Carousel ---------- */
#carouselNews {
  max-height: 480px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--club-wash-2);
}
#carouselNews .carousel-inner img {
  max-height: 480px;
  object-fit: cover;
}
#carouselNews .carousel-caption {
  background: rgba(15, 27, 56, 0.65);
  border-radius: 8px;
  padding: 15px 25px;
}

/* ---------- News articles ---------- */
.news-article {
  scroll-margin-top: 100px;
}
.news-article img {
  margin-top: 1rem;
}
.news-article .post-meta {
  color: var(--club-blue);
}

/* ---------- Gallery ---------- */
.gallery-grid .gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
  border: 2px solid transparent;
}
.gallery-grid a:hover .gallery-img {
  transform: scale(1.02);
  opacity: 0.95;
  border-color: var(--club-red);
  box-shadow: 0 6px 18px rgba(15, 27, 56, 0.25);
}

/* ---------- Contact list (legacy — kept for fallback) ---------- */
.contact-list li {
  padding: 8px 0;
  font-size: 1rem;
}
.contact-list i {
  width: 24px;
  color: var(--club-navy);
  margin-right: 8px;
}
.contact-list a {
  color: #1a2238;
  text-decoration: none;
  border-bottom: 1px dotted var(--club-royal);
}
.contact-list a:hover {
  color: var(--club-red);
  border-bottom-color: var(--club-red);
}

/* =====================================================
   Modern "Get in Touch" — card-based contact layout
   ===================================================== */
.contact-info-modern {
  position: relative;
}

/* Modern section heading with eyebrow + gradient accent bar */
.section-heading-modern {
  margin-bottom: 1.25rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--club-red);
  margin-bottom: 0.55rem;
}

.section-heading-modern h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--club-navy);
  margin-bottom: 0.85rem;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.heading-accent {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--club-red), var(--club-gold));
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3a4358;
  margin-bottom: 1.75rem;
}

/* Card stack */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 27, 56, 0.04);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

/* Left edge gradient bar slides in on hover */
.contact-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--club-red), var(--club-gold));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 27, 56, 0.14);
  border-color: transparent;
  color: inherit;
  text-decoration: none;
}

.contact-card:hover::before {
  transform: scaleY(1);
}

.contact-card:hover .contact-card-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--club-navy);
  color: #fff;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* Icon badge */
.contact-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(15, 27, 56, 0.18);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}

.icon-gradient-red {
  background: linear-gradient(135deg, var(--club-red) 0%, #b81f23 100%);
}
.icon-gradient-blue {
  background: linear-gradient(135deg, var(--club-royal) 0%, var(--club-navy) 100%);
}
.icon-gradient-gold {
  background: linear-gradient(135deg, var(--club-gold) 0%, #d4a700 100%);
  color: var(--club-navy);
}

/* Card body */
.contact-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--club-blue);
  opacity: 0.85;
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--club-navy);
  word-break: break-word;
}

/* Arrow indicator (only on linked cards) */
.contact-card-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--club-wash);
  color: var(--club-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease,
              background 0.3s ease, color 0.3s ease;
}

/* Static (non-link) card — no hover lift, no arrow */
.contact-card-static {
  cursor: default;
}
.contact-card-static:hover {
  transform: none;
  box-shadow: 0 2px 6px rgba(15, 27, 56, 0.04);
  border-color: var(--club-wash-2);
}
.contact-card-static:hover::before {
  transform: scaleY(1);
}
.contact-card-static:hover .contact-card-icon {
  transform: scale(1.05);
}

/* Training schedule pills */
.training-schedule {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.training-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.training-day .day-name {
  font-weight: 700;
  color: var(--club-navy);
  font-size: 0.95rem;
}

.training-day .day-time {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  color: var(--club-royal);
  background: var(--club-wash);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* Social pills */
.social-pills {
  margin-top: 0.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--club-wash-2);
}

.social-pills-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--club-blue);
  margin-bottom: 14px;
}

.social-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid var(--club-wash-2);
  color: var(--club-navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease,
              border-color 0.25s ease, color 0.25s ease,
              box-shadow 0.25s ease;
  box-shadow: 0 2px 4px rgba(15, 27, 56, 0.04);
}

.social-pill i {
  font-size: 1.05rem;
  transition: transform 0.3s ease;
}

.social-pill:hover {
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 27, 56, 0.22);
}

.social-pill:hover i {
  transform: scale(1.18);
}

/* Brand-specific hover colours */
.social-pill-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
}
.social-pill-ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}
.social-pill-tt:hover {
  background: #000000;
  border-color: #000000;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .section-heading-modern h2 { font-size: 2rem; }
  .contact-card { padding: 14px 16px; gap: 14px; }
  .contact-card-icon { width: 46px; height: 46px; font-size: 1.15rem; border-radius: 12px; }
  .contact-card-value { font-size: 0.95rem; }
  .contact-card-arrow { width: 28px; height: 28px; }
  .training-day { flex-wrap: wrap; gap: 6px; }
  .social-pill { padding: 8px 14px; font-size: 0.85rem; }
}

/* =====================================================
   Modern "Send a Message" — form panel
   ===================================================== */
.contact-form-modern {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 36px 32px;
  box-shadow:
    0 4px 14px rgba(15, 27, 56, 0.06),
    0 18px 40px rgba(15, 27, 56, 0.08);
  border: 1px solid var(--club-wash-2);
  overflow: hidden;
}

/* Decorative gradient corner accent */
.contact-form-modern::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(225, 58, 62, 0.10) 0%, rgba(254, 206, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.contact-form-modern::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -160px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(28, 37, 128, 0.08) 0%, rgba(28, 37, 128, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-form-modern > * {
  position: relative;
  z-index: 1;
}

/* ---- Modern fields ---- */
.modern-form .modern-field {
  position: relative;
}

.modern-form .form-control,
.modern-form .form-select {
  background: var(--club-wash);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--club-navy);
  font-weight: 500;
  padding-top: 1.7rem;
  padding-bottom: 0.55rem;
  transition: background 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease, transform 0.2s ease;
}

.modern-form textarea.form-control {
  padding-top: 1.9rem;
  resize: vertical;
}

.modern-form .form-control:hover,
.modern-form .form-select:hover {
  background: #f3f7ff;
}

.modern-form .form-control:focus,
.modern-form .form-select:focus {
  background: #ffffff;
  border-color: var(--club-royal);
  box-shadow: 0 0 0 4px rgba(28, 37, 128, 0.12);
  outline: none;
}

/* Floating label styling */
.modern-form .form-floating > label {
  color: #6c7693;
  font-weight: 600;
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-form .field-icon {
  color: var(--club-royal);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
  transition: color 0.25s ease;
}

.modern-form .form-floating > .form-control:focus ~ label .field-icon,
.modern-form .form-floating > .form-control:not(:placeholder-shown) ~ label .field-icon,
.modern-form .form-floating > .form-select ~ label .field-icon {
  color: var(--club-red);
}

.modern-form .form-floating > .form-control:focus ~ label,
.modern-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.modern-form .form-floating > .form-select ~ label {
  color: var(--club-blue);
  opacity: 0.85;
  transform: scale(0.82) translateY(-0.65rem) translateX(0.15rem);
}

/* "optional" pill on the phone label */
.optional-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--club-wash-2);
  color: var(--club-blue);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ---- Footer row: trust note + submit button ---- */
.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.75rem;
}

.form-footer-note {
  font-size: 0.85rem;
  color: #6c7693;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.form-footer-note i {
  color: var(--club-royal);
}

/* ---- Modern submit button — gradient + lift + shimmer ---- */
.btn-modern-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 4px 14px rgba(15, 27, 56, 0.25),
    0 0 0 0 rgba(225, 58, 62, 0);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.btn-modern-submit::before {
  /* Shimmer sweep */
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-modern-submit:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--club-royal) 0%, var(--club-red) 100%);
  box-shadow:
    0 12px 28px rgba(15, 27, 56, 0.32),
    0 0 0 4px rgba(225, 58, 62, 0.15);
  color: #ffffff;
}

.btn-modern-submit:hover::before {
  left: 130%;
}

.btn-modern-submit:hover i {
  transform: translateX(4px) rotate(-8deg);
}

.btn-modern-submit:active {
  transform: translateY(-1px);
}

.btn-modern-submit i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* ---- Modern alerts (success / error) ---- */
.alert-modern {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 1.5rem;
  border: 1px solid transparent;
  animation: alertSlideIn 0.35s ease-out;
}

.alert-modern i {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-modern .alert-title {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 2px;
}

.alert-modern .alert-body {
  font-size: 0.9rem;
  opacity: 0.9;
}

.alert-modern-success {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.08), rgba(25, 135, 84, 0.04));
  border-color: rgba(25, 135, 84, 0.25);
  color: #0f5132;
}
.alert-modern-success i { color: #198754; }

.alert-modern-error {
  background: linear-gradient(135deg, rgba(225, 58, 62, 0.08), rgba(225, 58, 62, 0.04));
  border-color: rgba(225, 58, 62, 0.3);
  color: #842029;
}
.alert-modern-error i { color: var(--club-red); }

@keyframes alertSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive form */
@media (max-width: 768px) {
  .contact-form-modern {
    padding: 26px 22px 24px;
    border-radius: 14px;
  }
  .form-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .btn-modern-submit {
    justify-content: center;
    width: 100%;
  }
  .form-footer-note {
    justify-content: center;
    text-align: center;
  }
}

/* =====================================================
   Modern Home Page
   ===================================================== */

/* ---- Hero ---- */
.hero-modern {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 100px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 27, 56, 0.78) 0%, rgba(28, 37, 128, 0.62) 60%, rgba(15, 27, 56, 0.85) 100%);
  z-index: 1;
}

/* Lighter overlay variant — used when the hero photo should remain visible */
.hero-modern.hero-light-overlay .hero-overlay {
  background:
    linear-gradient(180deg,
      rgba(15, 27, 56, 0.55) 0%,
      rgba(15, 27, 56, 0.18) 35%,
      rgba(15, 27, 56, 0.18) 65%,
      rgba(15, 27, 56, 0.55) 100%);
}
.hero-modern.hero-light-overlay {
  background-position: center 25%;
  background-size: cover;
}

/* CLEAR variant — minimal overlay, photo shows in full clarity.
   Only a soft dark tint where the title and CTAs sit, photo is otherwise
   untouched. No blur shapes over the picture. */
.hero-modern.hero-clear {
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  /* Render the background bitmap with the highest quality the browser offers */
  image-rendering: high-quality;
}
.hero-modern.hero-clear .hero-overlay {
  background:
    linear-gradient(180deg,
      rgba(15, 27, 56, 0.45) 0%,
      rgba(15, 27, 56, 0.05) 22%,
      rgba(15, 27, 56, 0) 50%,
      rgba(15, 27, 56, 0) 75%,
      rgba(15, 27, 56, 0.30) 100%);
}
/* Make sure no decorative blur shapes sit on top of the photo */
.hero-modern.hero-clear .hero-shape { display: none; }

/* Top-aligned variant — title sits at the top of the hero, leaving people in the photo visible */
.hero-modern.hero-top-aligned {
  align-items: flex-start;
  padding-top: 30px;
  padding-bottom: 140px;
  text-align: center;
}
.hero-modern.hero-top-aligned .hero-content {
  text-align: center;
  margin: 0 auto;
  margin-top: -10px;
}
.hero-modern.hero-top-aligned .hero-title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 0;
}
.hero-modern.hero-top-aligned .hero-tagline {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.6);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Floating decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(2px);
  opacity: 0.55;
}
.hero-shape-1 {
  width: 380px; height: 380px;
  top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(225, 58, 62, 0.45) 0%, rgba(225, 58, 62, 0) 70%);
  animation: heroFloat 9s ease-in-out infinite;
}
.hero-shape-2 {
  width: 460px; height: 460px;
  bottom: -180px; right: -160px;
  background: radial-gradient(circle, rgba(254, 206, 0, 0.32) 0%, rgba(254, 206, 0, 0) 70%);
  animation: heroFloat 11s ease-in-out infinite reverse;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -30px) scale(1.06); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  animation: heroFadeUp 1s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.6px;
  color: var(--club-gold);
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(254, 206, 0, 0.4);
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--club-red);
  box-shadow: 0 0 10px var(--club-red);
  animation: heroPulse 1.6s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.7); }
}

.hero-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 1.25rem;
  letter-spacing: -2px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
}

.hero-title-top {
  display: block;
  color: #ffffff;
}

.hero-title-bottom {
  display: block;
  color: var(--club-gold);
  -webkit-text-fill-color: var(--club-gold);
  background: none;
}

.hero-title-bottom em {
  font-style: normal;
  font-size: 0.55em;
  vertical-align: middle;
  margin-left: 0.25em;
  -webkit-text-fill-color: var(--club-gold);
  color: var(--club-gold);
}

.hero-tagline {
  font-family: "Lora", serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  color: #f1f4ff;
  max-width: 640px;
  margin: 0 auto 2.25rem;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-dot {
  color: var(--club-gold);
  margin: 0 6px;
  font-style: normal;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero buttons */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.btn-hero i { font-size: 1rem; transition: transform 0.3s ease; }
.btn-hero:hover { transform: translateY(-3px); text-decoration: none; }
.btn-hero:hover i { transform: translateX(3px); }

.btn-hero-primary {
  background: linear-gradient(135deg, var(--club-red) 0%, #b81f23 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(225, 58, 62, 0.45);
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--club-gold) 0%, var(--club-red) 100%);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(225, 58, 62, 0.55);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover {
  background: #ffffff;
  color: var(--club-navy);
  border-color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Light variant for use on dark CTA banner */
.btn-hero-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  z-index: 3;
  transition: color 0.25s ease;
}
.hero-scroll:hover { color: var(--club-gold); }

.hero-scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}
.hero-scroll-mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
.hero-scroll-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes scrollDot {
  0%   { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ---- Section heading: centered variant ---- */
.section-heading-center {
  display: inline-block;
}
.section-heading-center .heading-accent { margin-left: auto; margin-right: auto; }

/* ---- The Club body extras ---- */
/* Force consistent sans-serif typography across the whole "The Club" column
   to fix the mixed Lora/Open Sans look. */
#about .col-lg-6 p,
#about .col-lg-6 .lead-text,
#about .col-lg-6 .club-pill,
#about .col-lg-6 .all-news-link,
#about .col-lg-6 .news-card-sub,
#about .col-lg-6 .news-card-title {
  font-family: "Open Sans", sans-serif;
}

#about .col-lg-6 p {
  font-size: 1rem;
  line-height: 1.65;
  color: #2a3247;
  font-weight: 400;
}

.lead-text {
  font-family: "Open Sans", sans-serif !important;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #1a2238;
  font-weight: 600;
  margin-bottom: 1rem;
}

.club-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 1.25rem 0 1.5rem;
}

.club-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--club-wash);
  color: var(--club-navy);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--club-wash-2);
}
.club-pill i {
  color: var(--club-red);
  font-size: 0.85rem;
}

.motto-card {
  position: relative;
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  color: #ffffff;
  padding: 22px 26px 22px 60px;
  border-radius: 12px;
  margin: 1.25rem 0;
  box-shadow: 0 8px 22px rgba(15, 27, 56, 0.18);
  border-left: 4px solid var(--club-red);
}
.motto-card i {
  position: absolute;
  left: 22px;
  top: 22px;
  font-size: 1.4rem;
  color: var(--club-gold);
  opacity: 0.85;
}
/* Use !important to win over the broader "#about .col-lg-6 p" colour rule */
.motto-card .motto-text {
  font-family: "Lora", serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  margin: 0;
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* ---- News cards on home ---- */
.news-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.news-card {
  display: flex;
  align-items: stretch;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(15, 27, 56, 0.04);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--club-red), var(--club-gold));
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 27, 56, 0.14);
  border-color: transparent;
  text-decoration: none;
  color: inherit;
}
.news-card:hover::before { transform: scaleY(1); }
.news-card:hover .news-card-arrow { opacity: 1; transform: translateX(0); background: var(--club-navy); color: #fff; }
.news-card:hover .news-card-title { color: var(--club-red); }

.news-card-date {
  flex-shrink: 0;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--club-navy), var(--club-royal));
  color: #ffffff;
  border-radius: 12px;
  padding: 8px 0;
  text-align: center;
}
.news-card-day {
  font-family: "Open Sans", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}
.news-card-month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--club-gold);
  margin-top: 4px;
}

.news-card-body {
  flex: 1;
  min-width: 0;
}

.news-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  background: rgba(225, 58, 62, 0.12);
  color: var(--club-red);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.news-card-tag-gold {
  background: rgba(254, 206, 0, 0.18);
  color: #9a7c00;
}
.news-card-tag-blue {
  background: rgba(28, 37, 128, 0.12);
  color: var(--club-royal);
}

.news-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--club-navy);
  margin: 0 0 4px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.news-card-sub {
  font-size: 0.9rem;
  color: #5a6378;
  margin: 0;
  line-height: 1.4;
}

.news-card-arrow {
  align-self: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--club-wash);
  color: var(--club-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.all-news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--club-navy);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
  transition: color 0.25s ease, gap 0.25s ease;
}
.all-news-link:hover {
  color: var(--club-red);
  gap: 14px;
  text-decoration: none;
}

/* ---- Feature grid ---- */
.feature-grid .feature-card {
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 16px;
  padding: 30px 24px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-grid .feature-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--club-red), var(--club-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-grid .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(15, 27, 56, 0.14);
  border-color: transparent;
}
.feature-grid .feature-card:hover::after { transform: scaleX(1); }
.feature-grid .feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(15, 27, 56, 0.18);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
.feature-icon-red   { background: linear-gradient(135deg, var(--club-red) 0%, #b81f23 100%); }
.feature-icon-blue  { background: linear-gradient(135deg, var(--club-royal) 0%, var(--club-navy) 100%); }
.feature-icon-gold  { background: linear-gradient(135deg, var(--club-gold) 0%, #d4a700 100%); color: var(--club-navy); }
.feature-icon-navy  { background: linear-gradient(135deg, var(--club-navy) 0%, #050d24 100%); }

/* =====================================================
   Pure-CSS Nepali Ping (traditional bamboo swing)
   The Ping is a beloved cultural symbol of Nepal — kids and
   grown-ups swing on it during Dashain festival. Two bamboo
   poles tilted outward, a rope and a wooden seat that swings.
   ===================================================== */
.feature-icon-ping {
  background: linear-gradient(180deg, #fff8e7 0%, #fef0c7 100%);
  border: 2px solid var(--club-wash-2);
  padding: 0;
  box-shadow: 0 8px 22px rgba(15, 27, 56, 0.12),
              0 0 0 4px rgba(254, 206, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-card:hover .feature-icon-ping {
  box-shadow: 0 12px 28px rgba(15, 27, 56, 0.18),
              0 0 0 5px rgba(254, 206, 0, 0.3);
}

/* Ping icon container */
.ping-icon {
  position: relative;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
}

/* The bamboo poles */
.ping-icon .pole {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 90%;
  background: linear-gradient(180deg, #8d6e63 0%, #5d4037 100%);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.ping-icon .pole-l {
  left: 20%;
  transform: rotate(12deg);
  transform-origin: bottom center;
}
.ping-icon .pole-r {
  right: 20%;
  transform: rotate(-12deg);
  transform-origin: bottom center;
}

/* Animated rope wrapper — swings back and forth */
.ping-icon .rope-wrapper {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 2px;
  height: 60%;
  transform-origin: top center;
  animation: ping-swing 2.5s infinite ease-in-out;
}
.ping-icon .rope {
  width: 100%;
  height: 100%;
  background: #a1887f;
}

/* The wooden seat at the bottom of the rope */
.ping-icon .seat {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 16px;
  height: 4px;
  background: linear-gradient(180deg, #6d4c41 0%, #4e342e 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Swing animation */
@keyframes ping-swing {
  0%, 100% { transform: rotate(15deg); }
  50%      { transform: rotate(-15deg); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ping-icon .rope-wrapper {
    animation: none;
  }
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--club-navy);
  margin: 0 0 8px;
}
.feature-card p {
  color: #5a6378;
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0;
}

/* ---- Modern stats ---- */
.stats-modern .stat-card {
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 16px;
  padding: 26px 18px 22px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.stats-modern .stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--club-navy), var(--club-red), var(--club-gold));
}
.stats-modern .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 27, 56, 0.16);
  border-color: transparent;
}

.stat-card-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--club-wash);
  color: var(--club-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.stat-card-number {
  font-family: "Open Sans", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--club-navy);
  line-height: 1;
}
.stat-plus {
  color: var(--club-red);
  font-weight: 800;
}
.stat-card-label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  color: var(--club-blue);
  font-weight: 700;
  margin-top: 8px;
}

/* ---- Join CTA banner ---- */
.join-cta {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  isolation: isolate;
}

.join-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(225, 58, 62, 0.4) 0%, rgba(225, 58, 62, 0) 55%),
    radial-gradient(circle at 80% 70%, rgba(254, 206, 0, 0.32) 0%, rgba(254, 206, 0, 0) 55%),
    linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  z-index: -1;
}

.join-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.06"/></svg>');
  z-index: -1;
}

.join-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--club-gold);
  margin-bottom: 1rem;
}

.join-cta-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #ffffff;
  margin: 0 0 1rem;
  letter-spacing: -1px;
}

.join-cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.55;
}

.join-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Responsive (home) ---- */
@media (max-width: 768px) {
  .hero-modern { min-height: 78vh; padding: 80px 0; }
  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 2px; }
  .hero-tagline { font-size: 1rem; }
  .btn-hero { padding: 12px 22px; font-size: 0.85rem; }
  .news-card { flex-wrap: nowrap; padding: 14px; gap: 14px; }
  .news-card-date { width: 56px; }
  .news-card-day { font-size: 1.4rem; }
  .news-card-title { font-size: 0.98rem; }
  .news-card-sub { font-size: 0.85rem; }
  .stats-modern .stat-card-number { font-size: 1.9rem; }
  .join-cta { padding: 44px 24px; border-radius: 16px; }
  .motto-card { padding: 18px 22px 18px 52px; }
  .motto-card .motto-text { font-size: 1.1rem; }
}

@media (max-width: 576px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-hero { justify-content: center; }
  .hero-scroll { display: none; }
}

/* =====================================================
   Facebook Live Feed Section (news page)
   ===================================================== */
.fb-feed-section {
  margin-top: 3rem;
}

.fb-feed-section .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1877F2; /* Facebook blue */
}

.fb-feed-section .section-eyebrow i {
  font-size: 0.85rem;
}

.fb-feed-intro {
  max-width: 560px;
  margin: 0.5rem auto 0;
  color: #5a6378;
  font-size: 1rem;
  line-height: 1.55;
}

.fb-feed-wrap {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--club-wash-2);
  box-shadow:
    0 4px 14px rgba(15, 27, 56, 0.06),
    0 18px 40px rgba(15, 27, 56, 0.08);
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0 24px;
}

.fb-feed-stripe {
  height: 6px;
  background: linear-gradient(90deg, #1877F2 0%, var(--club-royal) 50%, var(--club-red) 100%);
}

.fb-feed-inner {
  padding: 28px 20px 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 720px;
  background:
    radial-gradient(circle at 20% 0%, rgba(24, 119, 242, 0.06) 0%, rgba(24, 119, 242, 0) 60%),
    #ffffff;
}

/* Make the FB iframe responsive */
.fb-feed-inner .fb-page,
.fb-feed-inner .fb-page span,
.fb-feed-inner .fb-page span iframe[style] {
  width: 100% !important;
  max-width: 500px !important;
}

.fb-feed-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 28px 4px;
  border-top: 1px solid var(--club-wash-2);
  margin-top: 8px;
}

.fb-feed-note {
  font-size: 0.85rem;
  color: #6c7693;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.fb-feed-note i {
  color: #1877F2;
}

/* Override the modern submit button to use Facebook colours here */
.fb-feed-btn {
  background: linear-gradient(135deg, #1877F2 0%, #0a4d9e 100%) !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35) !important;
}
.fb-feed-btn:hover {
  background: linear-gradient(135deg, #0a4d9e 0%, var(--club-navy) 100%) !important;
  box-shadow: 0 12px 28px rgba(24, 119, 242, 0.45),
              0 0 0 4px rgba(24, 119, 242, 0.15) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .fb-feed-wrap { border-radius: 14px; }
  .fb-feed-inner { padding: 20px 12px 4px; min-height: 640px; }
  .fb-feed-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 16px 20px 4px;
  }
  .fb-feed-note { justify-content: center; }
  .fb-feed-btn { justify-content: center; width: 100%; }
}

/* =====================================================
   DSGVO Consent Card (Facebook)
   ===================================================== */
.fb-consent {
  padding: 50px 32px 36px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 119, 242, 0.06) 0%, rgba(24, 119, 242, 0) 60%),
    #ffffff;
}
.fb-consent-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1877F2 0%, #0a4d9e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.35);
}
.fb-consent-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--club-navy);
  margin: 0 0 12px;
}
.fb-consent-text {
  max-width: 460px;
  margin: 0 auto 18px;
  color: #5a6378;
  font-size: 0.92rem;
  line-height: 1.55;
}
.fb-consent-text a {
  color: var(--club-royal);
  text-decoration: underline;
}
.fb-consent-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #5a6378;
  margin-bottom: 20px;
  cursor: pointer;
  user-select: none;
}
.fb-consent-remember input { accent-color: var(--club-royal); width: 16px; height: 16px; }
.fb-consent-alt {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #6c7693;
  text-decoration: none;
  font-weight: 600;
}
.fb-consent-alt:hover { color: var(--club-red); }
.fb-consent-alt i { font-size: 0.7rem; margin-left: 4px; }

/* =====================================================
   Modern figure caption (Berlin etc.)
   ===================================================== */
.figure-modern {
  margin: 0 0 1.5rem;
  position: relative;
}
.figure-modern img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15, 27, 56, 0.15);
}
.figure-caption-modern {
  display: block;
  margin-top: 14px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  color: #fff;
  border-radius: 12px;
  border-left: 4px solid var(--club-red);
  position: relative;
  overflow: hidden;
}
.figure-caption-modern::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(254, 206, 0, 0.15) 0%, rgba(254, 206, 0, 0) 70%);
  pointer-events: none;
}
.caption-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--club-gold);
  margin-bottom: 8px;
}
.caption-headline {
  display: block;
  font-family: "Lora", serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 6px;
}
.caption-sub {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* =====================================================
   Album Gallery (album cards + lightbox)
   ===================================================== */
.album-intro {
  max-width: 560px;
  margin: 0.5rem auto 0;
  color: #5a6378;
  font-size: 1rem;
  line-height: 1.55;
}

/* Album card */
.album-card {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 27, 56, 0.06);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
  font-family: "Open Sans", sans-serif;
}
.album-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(15, 27, 56, 0.18);
  border-color: transparent;
}
.album-card:hover .album-card-img img { transform: scale(1.08); }
.album-card:hover .album-card-overlay { opacity: 1; }
.album-card:hover .album-card-title { color: var(--club-red); }

.album-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--club-navy);
}
.album-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-card-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 27, 56, 0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}
.album-card-count i { color: var(--club-gold); }

.album-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,27,56,0) 0%, rgba(15,27,56,0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.album-card-overlay-btn {
  background: #ffffff;
  color: var(--club-navy);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}

.album-card-info {
  padding: 18px 20px 20px;
}
.album-card-date {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--club-red);
  margin-bottom: 6px;
}
.album-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--club-navy);
  margin: 0 0 4px;
  transition: color 0.25s ease;
}
.album-card-sub {
  font-size: 0.9rem;
  color: #5a6378;
  margin: 0;
  line-height: 1.4;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 30, 0.96);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open {
  display: flex;
  animation: lbFade 0.25s ease-out;
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 5;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--club-red);
  transform: scale(1.08);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }

.lightbox-stage {
  max-width: min(1200px, 92vw);
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: lbImgIn 0.3s cubic-bezier(.2,.8,.2,1);
}
@keyframes lbImgIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.lightbox-caption {
  margin-top: 14px;
  color: #ffffff;
  font-size: 0.95rem;
  text-align: center;
  max-width: 720px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
}

.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
}

.lightbox-thumbs {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  scrollbar-width: thin;
}
.lightbox-thumbs::-webkit-scrollbar { height: 6px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }

.lb-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0.55;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb:hover { opacity: 0.85; }
.lb-thumb.active { border-color: var(--club-gold); opacity: 1; }

@media (max-width: 768px) {
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-prev  { left: 8px;  width: 40px; height: 40px; }
  .lightbox-next  { right: 8px; width: 40px; height: 40px; }
  .lightbox-counter { top: 12px; left: 12px; padding: 6px 10px; font-size: 0.7rem; }
  .lightbox-thumbs { bottom: 8px; padding: 6px 8px; }
  .lb-thumb { width: 48px; height: 36px; }
  .lightbox-img { max-height: 60vh; }
}

/* =====================================================
   Pokal Page
   ===================================================== */
.pokal-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 60%, var(--club-navy) 100%);
  color: #ffffff;
  overflow: hidden;
  padding: 100px 0 80px;
}
.pokal-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(225, 58, 62, 0.18) 0%, rgba(225, 58, 62, 0) 55%),
    radial-gradient(circle at 80% 70%, rgba(254, 206, 0, 0.15) 0%, rgba(254, 206, 0, 0) 50%);
  z-index: 0;
}
.pokal-hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}
.pokal-hero-shape-1 {
  width: 400px; height: 400px;
  top: -150px; right: -150px;
  background: radial-gradient(circle, rgba(254, 206, 0, 0.35) 0%, rgba(254, 206, 0, 0) 70%);
  animation: heroFloat 11s ease-in-out infinite;
}
.pokal-hero-shape-2 {
  width: 320px; height: 320px;
  bottom: -120px; left: -100px;
  background: radial-gradient(circle, rgba(225, 58, 62, 0.4) 0%, rgba(225, 58, 62, 0) 70%);
  animation: heroFloat 9s ease-in-out infinite reverse;
}

.pokal-hero-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1;
  margin: 1rem 0 1.25rem;
  letter-spacing: -1.5px;
}
.pokal-hero-title-top {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #cfd5e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pokal-hero-title-bottom {
  display: block;
  background: linear-gradient(135deg, var(--club-gold) 0%, var(--club-red) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pokal-year {
  display: inline-block;
  margin-left: 12px;
  font-size: 0.65em;
  vertical-align: middle;
  -webkit-text-fill-color: var(--club-gold);
  color: var(--club-gold);
}
.pokal-hero-tagline {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 0 1.75rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}

.pokal-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 2rem;
  padding: 20px 24px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}
.pokal-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pokal-hero-meta-item i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--club-red) 0%, var(--club-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.pokal-hero-meta-item .meta-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--club-gold);
}
.pokal-hero-meta-item .meta-value {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  color: #ffffff;
}

/* Pokal flyer frame */
.pokal-flyer-frame {
  position: relative;
  display: inline-block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: rotate(-1.5deg);
  transition: transform 0.5s ease;
  max-width: 100%;
}
.pokal-flyer-frame:hover { transform: rotate(0) scale(1.02); }
.pokal-flyer-img {
  width: 100%;
  height: auto;
  display: block;
}
.pokal-flyer-glow {
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, var(--club-red), var(--club-gold), var(--club-red));
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
  border-radius: 24px;
}

/* Countdown */
.pokal-countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 28px 20px;
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 27, 56, 0.18);
  border-bottom: 4px solid var(--club-red);
  position: relative;
  overflow: hidden;
}
.pokal-countdown::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(254,206,0,0.18) 0%, rgba(254,206,0,0) 70%);
  pointer-events: none;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
}
.countdown-num {
  font-family: "Open Sans", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.countdown-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--club-gold);
  margin-top: 6px;
}
.countdown-divider {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--club-gold);
  opacity: 0.6;
  align-self: center;
  padding-bottom: 18px;
}
.pokal-countdown-note {
  text-align: center;
  margin-top: 12px;
  color: var(--club-blue);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* Pokal motto card variant */
.motto-card.pokal-motto {
  text-align: center;
  padding: 36px 24px 28px;
}
.motto-card.pokal-motto i {
  position: static;
  font-size: 2rem;
  display: block;
  margin: 0 auto 12px;
}
.motto-card.pokal-motto .motto-text {
  font-size: 1.7rem;
}
.motto-card.pokal-motto .motto-sub {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--club-gold);
}

/* Info cards (Wann / Wo / Eintritt) */
.info-card {
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.info-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--club-navy), var(--club-red), var(--club-gold));
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 27, 56, 0.14);
  border-color: transparent;
}
.info-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--club-navy), var(--club-royal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(15,27,56,0.18);
}
.info-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--club-navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.info-card p { margin-bottom: 4px; font-size: 0.95rem; color: #2a3247; }

/* Pokal responsive */
@media (max-width: 992px) {
  .pokal-hero { min-height: auto; padding: 80px 0 60px; }
  .pokal-flyer-frame { transform: rotate(0); margin-top: 1.5rem; }
}
@media (max-width: 576px) {
  .pokal-hero-meta { gap: 14px; padding: 16px; }
  .countdown-item { min-width: 64px; padding: 8px 10px; }
  .countdown-num { font-size: 1.7rem; }
  .countdown-label { font-size: 0.62rem; letter-spacing: 1.2px; }
  .countdown-divider { font-size: 1.4rem; padding-bottom: 14px; }
}

/* =====================================================
   News Article — 2025 Recap components
   ===================================================== */
.news-tag-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background: linear-gradient(135deg, var(--club-red), var(--club-gold));
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(225, 58, 62, 0.3);
}

.mini-heading {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--club-navy);
  margin: 1.5rem 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mini-heading i {
  color: var(--club-red);
  font-size: 0.95rem;
}

/* Highlight pills */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 1.5rem;
}
.highlight-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--club-wash) 0%, #ffffff 100%);
  border: 1px solid var(--club-wash-2);
  border-left: 4px solid var(--club-red);
  border-radius: 10px;
  font-weight: 600;
  color: var(--club-navy);
  font-size: 0.92rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.highlight-pill:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 14px rgba(15, 27, 56, 0.1);
}
.highlight-pill i {
  color: var(--club-red);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.highlight-pill:nth-child(2) { border-left-color: var(--club-royal); }
.highlight-pill:nth-child(2) i { color: var(--club-royal); }
.highlight-pill:nth-child(3) { border-left-color: var(--club-gold); }
.highlight-pill:nth-child(3) i { color: #b8860b; }
.highlight-pill:nth-child(4) { border-left-color: var(--club-navy); }
.highlight-pill:nth-child(4) i { color: var(--club-navy); }

/* Story divider */
.story-divider {
  text-align: center;
  position: relative;
  margin: 2.5rem 0 1.5rem;
}
.story-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--club-wash-2), transparent);
}
.story-divider span {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--club-navy), var(--club-royal));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(15, 27, 56, 0.18);
}
.story-divider span i {
  color: var(--club-gold);
  margin-right: 8px;
}

/* Day cards (story sections) */
.story-day-card {
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 14px;
  padding: 22px 24px 18px;
  margin: 1rem 0 1.5rem;
  box-shadow: 0 4px 14px rgba(15, 27, 56, 0.06);
  position: relative;
  overflow: hidden;
}
.story-day-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--club-red), var(--club-gold));
}

.story-day-card-final::before {
  background: linear-gradient(180deg, var(--club-gold), var(--club-red));
}

.story-day-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.story-day-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--club-navy), var(--club-royal));
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  flex-shrink: 0;
}
.story-day-num-final {
  background: linear-gradient(135deg, var(--club-gold), var(--club-red));
  color: #fff;
}
.story-day-header h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--club-navy);
  margin: 0;
}

.story-final-whistle {
  background: linear-gradient(135deg, rgba(254, 206, 0, 0.12), rgba(225, 58, 62, 0.08));
  border-left: 4px solid var(--club-red);
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 1rem !important;
  font-size: 1.05rem;
}

/* Thanks card */
.thanks-card {
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 26px 28px;
  margin: 2rem 0 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 27, 56, 0.18);
  position: relative;
  overflow: hidden;
}
.thanks-card::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(254,206,0,0.2) 0%, rgba(254,206,0,0) 70%);
  pointer-events: none;
}
.thanks-card h4 {
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.thanks-card h4 i {
  color: var(--club-red);
  font-size: 1rem;
  background: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.thanks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.thanks-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: rgba(255,255,255,0.95);
  font-size: 0.96rem;
  line-height: 1.55;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.thanks-list li:last-child { border-bottom: none; }
.thanks-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--club-gold);
  box-shadow: 0 0 8px rgba(254,206,0,0.6);
}
.thanks-card a {
  color: var(--club-gold);
  text-decoration: underline;
  font-weight: 600;
}
.thanks-card a:hover { color: #fff; }

/* Story signoff */
.story-signoff {
  font-size: 1.15rem;
  text-align: center;
  margin-top: 1.5rem !important;
  font-weight: 600;
  color: var(--club-navy);
}
.story-signoff-club {
  text-align: center;
  font-family: "Lora", serif;
  font-size: 1.05rem;
  color: var(--club-navy);
  margin-bottom: 1.5rem !important;
  line-height: 1.5;
}

/* Anthem banner */
.anthem-banner {
  background:
    radial-gradient(circle at 20% 30%, rgba(225, 58, 62, 0.5) 0%, rgba(225, 58, 62, 0) 60%),
    radial-gradient(circle at 80% 70%, rgba(254, 206, 0, 0.4) 0%, rgba(254, 206, 0, 0) 60%),
    linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  color: #fff;
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  margin: 2rem 0 1.5rem;
  border: 2px solid rgba(254, 206, 0, 0.3);
  box-shadow: 0 12px 32px rgba(15, 27, 56, 0.24);
  position: relative;
  overflow: hidden;
}
/* Decorative star/medallion accents instead of country flag emoji
   (which renders as plain "NP" text on Windows browsers) */
.anthem-banner::before,
.anthem-banner::after {
  content: "★";
  position: absolute;
  top: 50%;
  font-size: 1.6rem;
  color: var(--club-gold);
  opacity: 0.5;
  transform: translateY(-50%);
}
.anthem-banner::before { left: 18px; }
.anthem-banner::after  { right: 18px; }

.anthem-line {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, var(--club-gold), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 4px 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: anthemPulse 2.5s ease-in-out infinite;
}
.anthem-line:nth-child(2) { animation-delay: 0.4s; }

@keyframes anthemPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.02); }
}

/* Responsive */
@media (max-width: 576px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .story-day-card { padding: 18px 18px 14px; }
  .anthem-banner { padding: 24px 18px; }
  .anthem-banner::before,
  .anthem-banner::after { display: none; }
}

/* News article tag colour variants */
.news-tag-blue {
  background: linear-gradient(135deg, var(--club-royal), var(--club-navy));
  box-shadow: 0 4px 12px rgba(28, 37, 128, 0.3);
}
.news-tag-gold {
  background: linear-gradient(135deg, var(--club-gold), #b8860b);
  color: var(--club-navy);
  box-shadow: 0 4px 12px rgba(254, 206, 0, 0.3);
}

/* =====================================================
   Pokal: 2026 year — same size as "Pokal"
   ===================================================== */
.pokal-year {
  display: inline-block;
  margin-left: 14px;
  font-size: 1em;
  vertical-align: baseline;
  -webkit-text-fill-color: var(--club-gold);
  color: var(--club-gold);
  letter-spacing: -2px;
}

/* =====================================================
   Pokal: Six-Team grid
   ===================================================== */
.teams-grid .team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid var(--club-wash-2);
  border-radius: 16px;
  padding: 22px 16px 18px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(15, 27, 56, 0.06);
}
.teams-grid .team-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--club-red), var(--club-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.teams-grid .team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 27, 56, 0.18);
  border-color: transparent;
  text-decoration: none;
  color: inherit;
}
.teams-grid .team-card:hover::before { opacity: 1; }
.teams-grid .team-card:hover .team-card-logo img { transform: scale(1.06); }

.team-card-logo {
  width: 88px;
  height: 88px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--club-wash) 0%, #ffffff 100%);
  border: 2px solid var(--club-wash-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}
.team-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.team-card-name {
  font-family: "Open Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--club-navy);
  margin: 0 0 4px;
  line-height: 1.25;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-city {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--club-blue);
  opacity: 0.8;
}

/* Host card — special style */
.team-card-host {
  border-color: var(--club-gold);
  background: linear-gradient(180deg, #ffffff 0%, rgba(254, 206, 0, 0.08) 100%);
  border-width: 2.5px;
}
.team-card-host::before {
  background: linear-gradient(90deg, var(--club-gold), var(--club-red));
  opacity: 1 !important;
  height: 4px;
}
.team-card-host .team-card-logo {
  border-color: var(--club-gold);
  box-shadow: 0 4px 14px rgba(254, 206, 0, 0.3);
}
.team-card-host .team-card-city {
  color: var(--club-red);
  font-weight: 800;
}

/* =====================================================
   Pokal: Sponsors Section
   ===================================================== */

/* Featured "Man of the Match" Sponsor */
.sponsor-feature {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, var(--club-wash) 100%);
  border: 2.5px solid var(--club-gold);
  border-radius: 22px;
  padding: 32px 32px 28px;
  margin-bottom: 3rem;
  box-shadow: 0 12px 30px rgba(254, 206, 0, 0.18),
              0 4px 14px rgba(15, 27, 56, 0.08);
  overflow: hidden;
}
.sponsor-feature::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(254, 206, 0, 0.25) 0%, rgba(254, 206, 0, 0) 70%);
  pointer-events: none;
}
.sponsor-feature::after {
  content: "";
  position: absolute;
  bottom: -120px; left: -120px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(225, 58, 62, 0.18) 0%, rgba(225, 58, 62, 0) 70%);
  pointer-events: none;
}

.sponsor-feature-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--club-gold) 0%, #d4a700 100%);
  color: var(--club-navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(254, 206, 0, 0.35);
  margin-bottom: 1.25rem;
  z-index: 1;
}
.sponsor-feature-tag i { color: var(--club-red); }

.sponsor-feature-body {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.sponsor-feature-logo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid var(--club-wash-2);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 27, 56, 0.12);
}
.sponsor-feature-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.sponsor-feature-info { flex: 1; min-width: 0; }
.sponsor-feature-info h3 {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--club-navy);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.sponsor-feature-info p {
  font-size: 1rem;
  color: #2a3247;
  line-height: 1.55;
  margin: 0 0 10px;
}
.sponsor-feature-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--club-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .sponsor-feature-body { flex-direction: column; text-align: center; gap: 18px; }
  .sponsor-feature-logo { width: 120px; height: 120px; }
  .sponsor-feature-info h3 { font-size: 1.4rem; }
}

/* Sponsor tier title */
.sponsor-tier-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--club-navy);
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.sponsor-tier-title i {
  color: var(--club-gold);
  font-size: 1rem;
}

/* Sponsor cards */
.sponsor-grid .sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1.5px solid var(--club-wash-2);
  border-radius: 14px;
  padding: 22px 14px 18px;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.sponsor-grid .sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 27, 56, 0.14);
  border-color: var(--club-gold);
  text-decoration: none;
  color: inherit;
}

.sponsor-card-logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--club-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.sponsor-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsor-card-name {
  font-family: "Open Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--club-navy);
  margin: 0;
  line-height: 1.3;
}

/* Empty / placeholder sponsor cards */
.sponsor-card-empty {
  background: linear-gradient(180deg, #ffffff 0%, var(--club-wash) 100%);
  border-style: dashed;
  border-color: var(--club-wash-2);
  border-width: 2px;
}
.sponsor-card-empty:hover {
  border-color: var(--club-gold) !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(254, 206, 0, 0.06) 100%);
}
.sponsor-empty-icon {
  background: var(--club-wash);
  border: 2px dashed var(--club-wash-2);
  color: var(--club-blue);
  font-size: 1.4rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.sponsor-card-empty:hover .sponsor-empty-icon {
  color: var(--club-gold);
  border-color: var(--club-gold);
}
.sponsor-card-empty .sponsor-card-name {
  color: var(--club-blue);
  opacity: 0.7;
  font-weight: 600;
}
.sponsor-card-cta {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--club-red);
  opacity: 0.85;
}

/* Smaller variant for "supporting partners" */
.sponsor-card-small {
  padding: 16px 10px 14px;
}
.sponsor-card-small .sponsor-card-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}
.sponsor-card-small .sponsor-empty-icon {
  font-size: 1.1rem;
}
.sponsor-card-small .sponsor-card-name {
  font-size: 0.78rem;
}

/* Bottom "become a sponsor" CTA */
.sponsor-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 2.5rem;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  color: #ffffff;
  border-radius: 18px;
  border-left: 5px solid var(--club-gold);
  box-shadow: 0 12px 28px rgba(15, 27, 56, 0.18);
  position: relative;
  overflow: hidden;
}
.sponsor-cta::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(254, 206, 0, 0.22) 0%, rgba(254, 206, 0, 0) 70%);
  pointer-events: none;
}
.sponsor-cta-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--club-gold);
}
.sponsor-cta-body { flex: 1; position: relative; }
.sponsor-cta-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #ffffff;
}
.sponsor-cta-body p {
  font-size: 0.92rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}
.sponsor-cta .btn-modern-submit {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--club-gold) 0%, #d4a700 100%) !important;
  color: var(--club-navy) !important;
  box-shadow: 0 6px 16px rgba(254, 206, 0, 0.35) !important;
}
.sponsor-cta .btn-modern-submit:hover {
  background: linear-gradient(135deg, #ffffff 0%, var(--club-gold) 100%) !important;
  color: var(--club-navy) !important;
}

@media (max-width: 768px) {
  .sponsor-cta {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }
  .sponsor-cta-icon { margin: 0 auto; }
  .sponsor-cta .btn-modern-submit { width: 100%; justify-content: center; }
}

/* Host badge — corner ribbon */
.team-host-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--club-gold) 0%, #d4a700 100%);
  color: var(--club-navy);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(254, 206, 0, 0.4);
  z-index: 2;
}
.team-host-badge i { font-size: 0.7rem; }

/* =====================================================
   Pokal: Round-Robin format card
   ===================================================== */
.format-card {
  display: flex;
  align-items: stretch;
  gap: 24px;
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: 0 14px 30px rgba(15, 27, 56, 0.2);
  border-left: 5px solid var(--club-red);
  position: relative;
  overflow: hidden;
}
.format-card::after {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(254, 206, 0, 0.18) 0%, rgba(254, 206, 0, 0) 70%);
  pointer-events: none;
}
.format-card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--club-gold);
  align-self: flex-start;
}
.format-card-body { flex: 1; position: relative; }

.format-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--club-gold);
  margin-bottom: 6px;
}
.format-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0 0 10px;
}
.format-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 18px;
}
.format-card a, .format-card strong { color: #ffffff; }

.format-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.format-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}
.format-stat-num {
  display: block;
  font-family: "Open Sans", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--club-gold);
  line-height: 1;
}
.format-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .format-card { flex-direction: column; padding: 24px 22px; }
  .format-card-icon { width: 56px; height: 56px; font-size: 1.4rem; }
  .format-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   Pokal: Match Schedule
   ===================================================== */
.schedule-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.schedule-round {
  margin-bottom: 1.75rem;
}

.round-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.round-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--club-navy), var(--club-royal));
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 27, 56, 0.18);
}
.round-divider {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--club-wash-2), transparent);
}

.round-matches {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.match-row {
  display: grid;
  grid-template-columns: 80px 1fr 110px 1fr;
  gap: 16px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 2px 6px rgba(15, 27, 56, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.match-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 27, 56, 0.12);
}

.match-row.match-played {
  border-left: 4px solid var(--club-gold);
}

.match-time {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--club-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}
.match-time i { color: var(--club-red); font-size: 0.85rem; }

.match-team {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.match-team-home { justify-content: flex-end; text-align: right; }
.match-team-away { justify-content: flex-start; }

.match-team img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--club-wash);
  padding: 4px;
  flex-shrink: 0;
}

.match-team-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--club-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-result {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.match-vs {
  background: var(--club-wash);
  color: var(--club-blue);
  font-size: 0.78rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.match-score {
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  color: var(--club-navy);
  background: linear-gradient(135deg, rgba(254, 206, 0, 0.18), rgba(225, 58, 62, 0.08));
  padding: 4px 16px;
  border-radius: 10px;
  font-weight: 800;
}
.match-dash { color: var(--club-red); margin: 0 4px; }

@media (max-width: 768px) {
  .match-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "time   time"
      "home   away"
      "result result";
    gap: 10px;
    padding: 14px;
  }
  .match-row .match-time   { grid-area: time; justify-content: center; text-align: center; }
  .match-row .match-team-home { grid-area: home; flex-direction: column; text-align: center; gap: 6px; }
  .match-row .match-team-away { grid-area: away; flex-direction: column; text-align: center; gap: 6px; }
  .match-row .match-result { grid-area: result; }
  .match-team-name { font-size: 0.82rem; white-space: normal; }
  .match-team img { width: 44px; height: 44px; }
}

/* =====================================================
   Pokal: Standings Table
   ===================================================== */
.standings-wrap {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--club-wash-2);
  box-shadow: 0 6px 18px rgba(15, 27, 56, 0.08);
  overflow: hidden;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Open Sans", sans-serif;
}
.standings-table thead {
  background: linear-gradient(135deg, var(--club-navy), var(--club-royal));
  color: #ffffff;
}
.standings-table th {
  padding: 14px 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
}
.standings-table th.st-team { text-align: left; padding-left: 18px; }
.standings-table th.st-points { color: var(--club-gold); }
.standings-table tbody tr {
  border-top: 1px solid var(--club-wash-2);
  transition: background 0.2s ease;
}
.standings-table tbody tr:hover { background: var(--club-wash); }
.standings-table tbody td {
  padding: 12px 8px;
  font-size: 0.95rem;
  text-align: center;
  color: var(--club-navy);
  vertical-align: middle;
}
.standings-table .st-pos {
  font-weight: 800;
  color: var(--club-blue);
  font-size: 0.95rem;
  width: 48px;
}
.standings-table .st-team {
  text-align: left;
  padding-left: 18px;
  font-weight: 700;
}
.standings-table .st-team-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--club-wash);
  padding: 3px;
  vertical-align: middle;
  margin-right: 10px;
}
.standings-table .st-team-name {
  vertical-align: middle;
}
.standings-table .st-host {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--club-gold);
  color: var(--club-navy);
  font-size: 0.65rem;
  margin-left: 6px;
  vertical-align: middle;
}
.standings-table .st-stat {
  font-weight: 600;
  width: 56px;
}
.standings-table .st-points {
  font-weight: 800;
  color: var(--club-red);
  font-size: 1.05rem;
}

/* Leader row gets a subtle gold tint */
.standings-table tr.st-row-leader {
  background: linear-gradient(90deg, rgba(254, 206, 0, 0.12), rgba(254, 206, 0, 0.05));
}
.standings-table tr.st-row-leader .st-pos {
  color: var(--club-gold);
  position: relative;
}
.standings-table tr.st-row-leader .st-pos::before {
  content: "\f521"; /* fa-crown */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: block;
  color: var(--club-gold);
  font-size: 0.75rem;
}

.standings-legend {
  background: var(--club-wash);
  padding: 12px 18px;
  margin: 0;
  font-size: 0.78rem;
  color: var(--club-blue);
  line-height: 1.5;
}

@media (max-width: 576px) {
  .standings-table th,
  .standings-table tbody td {
    padding: 10px 4px;
    font-size: 0.82rem;
  }
  .standings-table .st-team {
    padding-left: 10px;
    font-size: 0.85rem;
  }
  .standings-table .st-team-logo {
    width: 22px;
    height: 22px;
    margin-right: 6px;
  }
  /* Hide goals-for / goals-against on small screens to save space */
  .standings-table th:nth-child(7),
  .standings-table th:nth-child(8),
  .standings-table tbody td:nth-child(7),
  .standings-table tbody td:nth-child(8) {
    display: none;
  }
}

/* =====================================================
   Pokal: Registration closed card
   ===================================================== */
.registration-closed-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 1rem;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.08), rgba(25, 135, 84, 0.04));
  border: 1.5px solid rgba(25, 135, 84, 0.3);
  border-radius: 12px;
}
.registration-closed-card i {
  font-size: 1.6rem;
  color: #198754;
  flex-shrink: 0;
}
.rc-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #0f5132;
  margin-bottom: 2px;
}
.rc-value {
  display: block;
  font-weight: 700;
  color: #0f5132;
  font-size: 0.95rem;
}

/* =====================================================
   Legal Notice — modern card style
   ===================================================== */
.legal-card {
  display: flex;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--club-wash-2);
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(15, 27, 56, 0.05);
  border-left: 4px solid var(--club-red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.legal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 27, 56, 0.12);
}
.legal-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--club-navy), var(--club-royal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.legal-card-body { flex: 1; }
.legal-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--club-navy);
  margin: 0 0 6px;
}
.legal-card-body p { margin-bottom: 6px; color: #2a3247; line-height: 1.55; }
.legal-meta {
  font-size: 0.85rem !important;
  color: #6c7693 !important;
  margin-top: 6px !important;
}
.legal-meta i { margin-right: 4px; color: var(--club-royal); }

/* Legal headings */
.legal-h3 {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--club-navy);
  margin: 1.5rem 0 0.75rem;
  padding-left: 14px;
  border-left: 3px solid var(--club-red);
}
.legal-list {
  background: var(--club-wash);
  border-radius: 10px;
  padding: 14px 22px 14px 38px;
  list-style: none;
  position: relative;
  margin: 0.5rem 0 1rem;
}
.legal-list li {
  padding: 4px 0;
  position: relative;
  color: var(--club-navy);
  font-size: 0.95rem;
}
.legal-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -22px;
  top: 5px;
  color: var(--club-red);
  font-size: 0.85rem;
}

/* ---------- Form fields ---------- */
.form-control:focus,
.form-select:focus {
  border-color: var(--club-royal);
  box-shadow: 0 0 0 0.25rem rgba(28, 37, 128, 0.2);
}

/* ---------- Footer ---------- */
footer {
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
  background: var(--club-navy);
  color: #c9d2e8;
  border-top: 4px solid var(--club-red) !important;
}
footer .text-muted,
footer .small {
  color: #c9d2e8 !important;
}

/* Sponsor (left) and club (right) logo links — circular framing matches the
   social icons in the middle column for a uniform footer look. */
footer .col-md-4 > a:has(> img) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px;
  margin: 8px 0;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
footer .col-md-4 > a:has(> img):hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(254, 206, 0, 0.4);
}
footer .col-md-4 > a > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
  display: block;
  border: none;
  padding: 0;
  box-shadow: none;
}

/* Bigger, more prominent caption labels in the footer */
footer .caption {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff !important;
  font-family: "Open Sans", sans-serif;
  font-style: normal !important;
}

/* Fallback for browsers without :has() support — keeps logos centered + sized */
footer img {
  object-fit: contain;
  background: transparent;
  border: none;
}
footer a {
  color: #ffffff;
}
footer a:hover {
  color: var(--club-gold);
}
footer .fa-stack .fa-circle {
  color: rgba(255, 255, 255, 0.12);
}
footer .fa-stack:hover .fa-circle {
  color: var(--club-red);
}

/* ---------- Masthead variants ---------- */
.masthead-dark::before {
  background: rgba(15, 27, 56, 0.7) !important;
}

/* No-image variant — solid navy hero with a subtle gradient.
   Used on pages where we don't want a background photo. */
header.masthead.masthead-plain {
  background: linear-gradient(135deg, var(--club-navy) 0%, var(--club-royal) 100%) !important;
  background-color: var(--club-navy) !important;
}
header.masthead.masthead-plain::before {
  background: rgba(0, 0, 0, 0.05) !important;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px) {
  .player-card img {
    height: 240px;
  }
  .gallery-grid .gallery-img {
    height: 200px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
}
