/* ===== Location Page CSS ===== */
/* Styles specific to location venue pages (/locations/{slug}/) */

/* ─── Page Hero (Location variant with background image) ─── */
.page-hero--location {
  padding: 100px 20px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero--location::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,82,64,.82) 0%, rgba(11,26,46,.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero--location .breadcrumb {
  font-size: 12px;
  opacity: .6;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.page-hero--location .breadcrumb a {
  color: #fff;
  text-decoration: underline;
  opacity: .8;
}

.page-hero--location .area-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.page-hero--location h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .06em;
  margin-bottom: 8px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.page-hero--location .hero-lead {
  font-size: 15px;
  opacity: .9;
  letter-spacing: .03em;
  font-weight: 500;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.page-hero--location .hero-catch {
  font-size: 18px;
  font-weight: 900;
  margin-top: 16px;
  letter-spacing: .04em;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

/* ─── Narrow container for location pages ─── */
.container--narrow {
  max-width: 900px;
  margin: 0 auto;
}

/* ─── Venue Photos (3-column grid below hero) ─── */
.venue-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 900px;
  margin: -28px auto 0;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.venue-photo {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.venue-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.venue-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--txt2);
  font-size: 12px;
  font-weight: 700;
}

.venue-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* ─── Quick Info Bar (4-column grid) ─── */
.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.quick-info-item {
  background: #fff;
  padding: 20px 12px;
  text-align: center;
}

.quick-info-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.quick-info-label {
  font-size: 11px;
  color: var(--txt2);
  font-weight: 500;
  margin-bottom: 4px;
}

.quick-info-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  line-height: 1.5;
}

/* ─── Schedule Table ─── */
.schedule-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.schedule-table th,
.schedule-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.schedule-table thead th {
  background: var(--surface);
  font-weight: 700;
  font-size: 12px;
  color: var(--txt2);
}

.schedule-table tbody td {
  line-height: 1.6;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.sch-day {
  font-weight: 700;
  white-space: nowrap;
  width: 50px;
}

.sch-note {
  font-size: 12px;
  color: var(--txt2);
  display: block;
}

.sch-time-jr { color: var(--green); font-weight: 500; }
.sch-time-yt { color: var(--sky); font-weight: 500; }
.sch-time-at { color: var(--red); font-weight: 500; }

.sch-na {
  color: var(--border);
  text-align: center;
}
.sch-day-note {
  font-size: 11px;
  color: var(--txt2);
  text-align: left;
  padding: 2px 12px 8px;
  border-bottom: 1px solid var(--border);
}

.schedule-note {
  font-size: 12px;
  color: var(--txt2);
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 8px;
  line-height: 1.7;
}

/* ─── Mid CTA ─── */
.mid-cta {
  text-align: center;
  padding: 48px 20px;
}

.btn-mid-cta {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  border-radius: 8px;
  padding: 16px 48px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .3s, transform .2s;
  box-shadow: 0 4px 20px rgba(234,47,35,.3);
}

.btn-mid-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}

.mid-cta-note {
  font-size: 12px;
  color: var(--txt2);
  margin-top: 10px;
}

/* ─── Map / Access ─── */
.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

.access-compact {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.access-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
}

.access-row:last-child {
  border-bottom: none;
}

.access-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--txt2);
  white-space: nowrap;
  min-width: 56px;
}

/* ─── Related Venues ─── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.related-card-name {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--txt);
}

.related-card-meta {
  font-size: 12px;
  color: var(--txt2);
}

/* Related Venue Schedule */
.related-schedule {
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  border-collapse: collapse;
}

.related-schedule tr + tr {
  border-top: 1px solid rgba(0,0,0,.05);
}

.related-schedule td {
  padding: 3px 0;
  font-size: 11px;
  vertical-align: top;
}

.rs-day {
  font-weight: 700;
  white-space: nowrap;
  width: 55px;
  color: var(--txt);
}

.rs-day span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--txt2);
}

.rs-cls {
  padding-left: 6px;
  white-space: nowrap;
}

.rs-jr { color: var(--green); }
.rs-yt { color: var(--sky); }
.rs-at { color: var(--red); }

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  padding: 72px 20px;
  background: url('../images/kids-cheer.png') center/cover no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 40, 80, 0.7);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
}

.cta-section p {
  font-size: 15px;
  opacity: .85;
  margin-bottom: 32px;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.btn-cta-main {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  border-radius: 8px;
  padding: 18px 52px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .3s, transform .2s;
  box-shadow: 0 4px 24px rgba(234,47,35,.4);
}

.btn-cta-main:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
}

.btn-line {
  display: inline-block;
  background: var(--line);
  color: #fff;
  border-radius: 8px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s;
  box-shadow: 0 4px 20px rgba(6,199,85,.3);
}

.btn-line:hover {
  transform: translateY(-2px);
}

.cta-note {
  font-size: 13px;
  opacity: .7;
  margin-top: 16px;
  position: relative;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Hero */
  .page-hero--location {
    padding: 64px 16px 40px;
  }

  .page-hero--location h1 {
    font-size: 22px;
  }

  .page-hero--location .hero-lead {
    font-size: 13px;
  }

  .page-hero--location .hero-catch {
    font-size: 15px;
    margin-top: 12px;
  }

  /* Venue Photos */
  .venue-photos {
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-top: -20px;
    padding: 0 12px;
  }

  .venue-photo {
    border-radius: 8px;
  }

  /* Quick Info */
  .quick-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-info-item {
    padding: 14px 10px;
  }

  .quick-info-icon {
    font-size: 20px;
  }

  .quick-info-value {
    font-size: 13px;
  }

  /* Schedule */
  .schedule-table {
    font-size: 13px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 8px;
  }

  /* Mid CTA */
  .mid-cta {
    padding: 32px 16px;
  }

  .btn-mid-cta {
    padding: 14px 32px;
    font-size: 14px;
    width: 100%;
    max-width: 320px;
  }

  /* Map */
  .map-wrap iframe {
    height: 250px;
  }

  /* Access */
  .access-row {
    padding: 10px 14px;
    font-size: 13px;
  }

  .access-label {
    min-width: 50px;
    font-size: 10px;
  }

  /* Related Venues */
  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-schedule td {
    font-size: 10px;
  }

  .rs-day {
    width: 45px;
  }

  /* CTA Section */
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn-cta-main,
  .btn-line {
    padding: 16px 24px;
    font-size: 15px;
    text-align: center;
    width: 100%;
  }
}
