/* ==========================================================================
   SPORTS & ATHLETICS PAGE STYLESHEET
   Replicating exact layout of Aitchison College Sports Route
   ========================================================================== */

/* Top Narrative + Cross Country Photo Row */
.sports-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}

.sports-narrative-text {
  font-size: 0.96rem;
  color: #2D3748;
  line-height: 1.85;
}

.sports-narrative-text p {
  margin-bottom: 16px;
}

.cross-country-card {
  display: flex;
  flex-direction: column;
}

.cross-country-frame {
  width: 100%;
  height: 280px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  background: #081B3A;
}

.cross-country-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.cross-country-card:hover .cross-country-frame img {
  transform: scale(1.05);
}

.cross-country-caption {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.5;
  margin-top: 10px;
  font-style: italic;
}

.cross-country-caption strong {
  color: #081B3A;
  font-style: normal;
}

/* Facilities & Offered Sports Split Lists (Screenshot Match) */
.sports-lists-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
  padding-top: 10px;
}

.facilities-box h4,
.offered-sports-box h4 {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #081B3A;
  margin-bottom: 16px;
}

.sports-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sports-bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.55;
}

.sports-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-gold, #D4AF37);
  font-size: 1.2rem;
  line-height: 1;
}

.offered-sports-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 3px solid var(--color-gold, #D4AF37);
  border-radius: 4px;
  padding: 22px 24px;
}

.offered-sports-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.offered-sports-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.86rem;
  color: #1E293B;
  font-weight: 500;
}

.offered-sports-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #081B3A;
  font-size: 1.1rem;
}

/* Featured Video Player Box (Screenshot Match) */
.sports-video-wrapper {
  position: relative;
  width: 100%;
  margin: 36px 0 44px 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: #040D1D;
  aspect-ratio: 16 / 9;
}

.sports-video-wrapper video,
.sports-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.sports-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.sports-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 13, 29, 0.3) 0%, rgba(4, 13, 29, 0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.sports-video-overlay:hover {
  background: linear-gradient(180deg, rgba(4, 13, 29, 0.2) 0%, rgba(4, 13, 29, 0.6) 100%);
}

.sports-play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.95);
  color: #081B3A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  padding-left: 5px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  transition: transform 0.3s ease, background 0.3s ease;
}

.sports-video-overlay:hover .sports-play-btn {
  transform: scale(1.12);
  background: #FFFFFF;
}

.sports-watermark-text {
  font-family: var(--font-heading, "Montserrat", sans-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 14px;
  pointer-events: none;
}

/* 6-Photo Featured Sports Gallery (2 Columns x 3 Rows, Screenshot Match) */
.sports-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.sports-photo-card {
  position: relative;
  height: 250px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  background: #081B3A;
  cursor: pointer;
}

.sports-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.sports-photo-card:hover img {
  transform: scale(1.07);
}

.sports-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 13, 29, 0.9) 100%);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.sports-photo-card:hover .sports-photo-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .sports-top-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sports-lists-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .sports-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sports-photo-card {
    height: 220px;
  }
}
