body.rg-page-home .rg-loc-bar {
  margin-top: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--rg-header-h);
  z-index: 5;
  background: rgba(7, 13, 24, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
}

body.rg-page-home .rg-loc-inner {
  color: #fff;
}

body.rg-page-home .rg-loc-inner input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body.rg-page-home .rg-hero {
  padding-top: calc(var(--rg-header-h) + 72px);
}

.rg-hero-title {
  text-wrap: balance;
  max-width: 20ch;
}

@media (min-width: 520px) {
  .rg-hero-title {
    max-width: none;
  }
}

.rg-nowrap {
  white-space: nowrap;
}

.rg-btn-hero-loc {
  background: rgba(7, 13, 24, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  color: #fff !important;
  backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.rg-btn-hero-loc:hover {
  background: rgba(7, 13, 24, 0.68) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
}

@media (max-width: 520px) {
  .rg-hero .rg-loc-inner .rg-btn-hero-loc {
    font-size: 0.76rem;
    padding: 0.48rem 0.85rem;
  }
}

body.rg-page-home select.rg-select {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.4' d='M1.5 1.75 6 6.25l4.5-4.5'/%3E%3C/svg%3E");
}

body.rg-page-home select.rg-select:focus {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

body.rg-page-home select.rg-select option {
  color: var(--rg-ink);
  background: var(--rg-surface);
}

.rg-btn-hero-secondary {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: var(--rg-primary) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
}

.rg-btn-hero-secondary:hover {
  background: #fff;
  color: var(--rg-primary-dark) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 420px) {
  .rg-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .rg-hero-ctas .rg-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Sport directory on home: one clean photo strip per card (no duplicate inset icon) */
body.rg-page-home .rg-sport-tile {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

body.rg-page-home .rg-sport-tile .rg-sport-icon {
  display: none !important;
}

body.rg-page-home .rg-sport-tile::before {
  content: "";
  display: block;
  aspect-ratio: 4 / 3;
  width: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

body.rg-page-home .rg-sport-tile h3 {
  padding: 0.85rem 1rem 0.35rem;
}

body.rg-page-home .rg-sport-tile .rg-badge {
  margin: 0 1rem 1rem;
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(1)::before {
  background-image: url("/img/sports/sport-football.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(2)::before {
  background-image: url("/img/sports/sport-swimming.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(3)::before {
  background-image: url("/img/sports/sport-gymnastics.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(4)::before {
  background-image: url("/img/sports/sport-icehockey.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(5)::before {
  background-image: url("/img/sports/sport-judo.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(6)::before {
  background-image: url("/img/sports/sport-tennis.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(7)::before {
  background-image: url("/img/sports/sport-ballet.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(8)::before {
  background-image: url("/img/sports/sport-chess.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(9)::before {
  background-image: url("/img/sports/sport-figureskating.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(10)::before {
  background-image: url("/img/sports/sport-basketball.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(11)::before {
  background-image: url("/img/sports/sport-martialarts.webp");
}

body.rg-page-home .rg-sport-grid > .rg-sport-tile:nth-child(12)::before {
  background-image: url("/img/sports/sport-dance.webp");
}
