﻿/* ===== DETAILS SECTION ===== */
.section.details {
  padding-bottom: 0;
}

/* ===== EDITORIAL GRID (photo + text) ===== */
.details-editorial {
  display: grid;
  grid-template-columns: 10fr 12fr;
  /* Asymmetric balance */
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
  /* Center align items instead of start */
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px) clamp(48px, 7vw, 72px);
}

/* The photo gallery container styling is handled by .story-beat__gallery in gallery.css automatically */

/* Portrait photos: show full image without cropping */
.details-editorial .swipe-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.04) saturate(1.05);
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
  display: block;
}



.details-editorial .story-beat__gallery:hover .swipe-gallery__slide img {
  transform: scale(1.04);
}

/* Hide nav arrows — dots + swipe only */
.details-editorial .swipe-gallery__btn {
  display: none;
}

/* Floating offset for text block */
.details-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 32px;
  transform: translateY(-20px);
  /* Slight breaking of grid symmetry */
}

.details-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 64px);
  color: var(--green);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* ===== VENUE INFO CARD ===== */
.venue-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.venue-info__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--green-soft);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.venue-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 1px;
}

.venue-info__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.45;
}

.venue-info__text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
}

.venue-info__text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== DAY SCHEDULE ===== */
.day-schedule {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  background: transparent;
  border: none;
  box-shadow: none;
  width: 100%;
  margin-bottom: 16px;
}

.schedule-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 10px;
  text-align: center;
  border: none !important;
  position: relative;
}

/* Elegant gold divider between items */
.schedule-item+.schedule-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201, 179, 126, 0.4), transparent);
}

.schedule-time {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--green);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}

.schedule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-soft);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--gold-pale);
}

.schedule-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.4;
}

/* ===== ACTION BUTTONS ===== */
.details-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ===== MAP AREA ===== */
.details-map {
  margin-top: 0;
}

.details-map__label {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 5vw, 40px) 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Map venue strip with route button */
.map-venue-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max-w-wide);
  margin-inline: auto;
}

.map-strip-route {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(201, 179, 126, 0.35);
  color: var(--gold-soft);
  font-size: 16px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.2s;
  margin-right: 4px;
}

.map-strip-route:hover {
  background: rgba(255, 255, 255, 0.22);
}

.venue-map {
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  border-radius: var(--radius-sm);
  max-width: var(--max-w-wide);
  margin-inline: auto;
  border: 1px solid var(--border);
}

.venue-map iframe {
  display: block;
  height: clamp(260px, 38vw, 420px);
}

/* Hide nav arrows globally — swipe + dots only */
.swipe-gallery__btn {
  display: none !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .details-editorial {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .details-editorial .story-beat__gallery {
    aspect-ratio: 3 / 4;
    height: auto;
    max-width: none;
    position: relative;
    top: 0;
  }

  .details-editorial .swipe-gallery {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .details-editorial .swipe-gallery__track {
    height: 100%;
  }

  .details-editorial .swipe-gallery__slide {
    height: 100%;
  }

  .details-editorial .swipe-gallery__slide img {
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    object-position: center top;
  }

  .details-text {
    gap: 18px;
  }

  .details-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .schedule-label {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .schedule-time {
    font-size: 16px;
  }

  .schedule-item {
    padding: 16px 8px;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .details-editorial {
    padding: 0 16px 28px;
  }

  .details-editorial .story-beat__gallery {
    aspect-ratio: 3 / 4;
    height: auto;
  }

  .details-actions {
    flex-direction: column;
  }

  .details-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .schedule-item {
    padding: 14px 6px;
  }
}

/* ===== MAP MOBILE ===== */
@media (max-width: 768px) {
  .details-map {
    padding-bottom: clamp(32px, 6vw, 56px);
  }

  .map-venue-strip {
    margin: 0 clamp(16px, 5vw, 28px);
    padding: 16px 0;
  }

  .map-strip-route {
    display: flex;
  }

  .venue-map {
    margin: 0 clamp(16px, 5vw, 28px);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
  }

  .venue-map iframe {
    height: clamp(290px, 62vw, 400px);
  }

  .map-venue-strip__info strong {
    font-size: clamp(20px, 4vw, 24px);
  }

  .map-venue-strip__info span {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
}
