/* Page-specific redesign for experiences.php — scoped under .exp-redesign so
   it never affects the shared header/nav or other pages. Colors reuse the
   site's existing design tokens from site.css; only typography and a few
   section layouts change here. */

.exp-redesign h1,
.exp-redesign h2,
.exp-redesign h3 {
    font-family: 'League Spartan', 'Poppins', Arial, sans-serif;
}

.exp-redesign p,
.exp-redesign .lead,
.exp-redesign .section-sub,
.exp-redesign .hero-tags,
.exp-redesign .next-card-meta,
.exp-redesign .next-card-body p,
.exp-redesign .btn {
    font-family: 'DM Sans', 'Inter', Arial, sans-serif;
}

/* Hero visual */
.exp-redesign .hero-image {
    background: var(--pale-orange);
    border: none;
    border-radius: 24px;
    min-height: 390px;
}

.exp-redesign .hero-accent {
    width: 120px;
    height: 3px;
    border-radius: 2px;
    background: var(--orange);
    margin-top: 24px;
}

/* "Coming Up" — a single horizontal row of experience cards the visitor
   scrolls through (arrow buttons + drag + native scroll), filterable by
   service with the chips above it. */
.coming-up-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
}

.coming-up-filter-label {
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted-gray);
    margin-right: 2px;
}

.filter-chip {
    border: 1px solid #d9dfe7;
    background: var(--white);
    color: var(--navy);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.filter-chip:hover { border-color: var(--orange); }

.filter-chip[aria-pressed="true"] {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.filter-chip-clear {
    border-style: dashed;
    color: var(--muted-gray);
}

.coming-up-slider { margin-top: 40px; }

/* tighter when the filter chips sit directly above it */
.coming-up-filter + .coming-up-slider { margin-top: 20px; }

.coming-up-slider .slider-track {
    gap: 24px;
    padding: 8px 0 12px;
}

.next-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.coming-up-slider .next-card { width: 300px; }

/* card removed from view by the service filter */
.coming-up-slider .next-card[hidden] { display: none; }

/* Photo variant — the whole uploaded image stays visible inside a vertical
   (portrait) frame; no cropping. */
.next-card-media {
    aspect-ratio: 3 / 4;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.next-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.next-card-banner {
    height: 150px;
    display: flex;
    align-items: flex-end;
    padding: 0 24px;
}

.next-card-banner--navy { background: var(--navy); }
.next-card-banner--orange { background: var(--orange); }
.next-card-banner--blue { background: var(--soft-blue); }
.next-card-banner--gold { background: var(--pale-orange); }

.next-card-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(50%);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.next-card-badge svg { width: 20px; height: 20px; }

.next-card-banner--navy .next-card-badge { background: var(--orange); color: var(--navy); }
.next-card-banner--orange .next-card-badge { background: var(--navy); color: var(--white); }
.next-card-banner--blue .next-card-badge { background: var(--pale-orange); color: var(--navy); }
.next-card-banner--gold .next-card-badge { background: var(--soft-blue); color: var(--navy); }

.next-card-body {
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.next-card-body h3 {
    font-size: 1.4rem;
    margin: 0;
}

/* Stacked meta — date, time and location each on their own line */
ul.next-card-meta {
    font-weight: 600;
    color: var(--muted-gray);
    font-size: 0.85rem;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

ul.next-card-meta li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

ul.next-card-meta li svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--orange);
}

.next-card-body p {
    font-size: 0.85rem;
    color: var(--charcoal);
    margin: 0;
    flex: 1;
}

.learn-more-link {
    flex: 0 0 auto;
    margin: 2px 0 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: underline;
}

.learn-more-link:hover {
    color: var(--orange);
}

.next-card-book {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.next-card-body .spots-alert {
    flex: 0 0 auto;
    margin: 0;
    color: #c0392b;
    font-weight: 700;
}

.flight-path {
    position: relative;
    flex: 1 1 240px;
    max-width: 340px;
    height: 100px;
    align-self: center;
}
.flight-path svg { display: block; width: 120%; height: 150%; }

@media (max-width: 900px) {
    .flight-path { display: none; }
}

@media (max-width: 600px) {
    /* Hide the top hero photo on phones — keeps the hero to just the
       heading, copy, and buttons above the fold. */
    .exp-redesign .hero-image { display: none; }

    .coming-up-slider .next-card { width: 78vw; max-width: 300px; }

    /* Keep the filter chips to two rows: the label gets its own line, and the
       chips are a little more compact so all five fit in two rows. */
    .coming-up-filter { gap: 8px; margin-top: 24px; }
    .coming-up-filter-label { flex-basis: 100%; margin: 0 0 2px; }
    .filter-chip { padding: 7px 12px; font-size: 0.8rem; }

    /* On phones the base slider-arrow rules shrink to 34px — the "Coming
       Up" slider needs to stay easy to tap, so it gets a bigger, brighter
       pair instead: yellow by default, navy on hover/tap. */
    .coming-up-slider .slider-arrow {
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
        background: var(--orange);
        color: var(--navy);
        border-color: var(--orange);
    }
    .coming-up-slider .slider-arrow:hover,
    .coming-up-slider .slider-arrow:focus-visible {
        background: var(--navy);
        border-color: var(--navy);
        color: var(--white);
    }
}

/* "Our Journey Together" — like the Our Network / Our Community photo
   strips, but each tile is a tall portrait rectangle instead of a circle. */
#our-journey { padding: 56px 0 48px; }
.journey-strip {
    background: var(--soft-blue);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    margin-top: 32px;
}
.journey-photo {
    flex: 0 0 150px;
    width: 150px;
    height: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: transform 0.15s;
}
.journey-photo:hover,
.journey-photo:focus-visible { transform: scale(1.03); }
.journey-photo img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

@media (max-width: 600px) {
    .journey-photo { flex-basis: 120px; width: 120px; height: 176px; }
}

/* Full-screen gallery viewer opened by clicking a journey photo */
.journey-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.journey-lightbox[hidden] { display: none; }
.journey-lightbox-img {
    max-width: 88vw;
    max-height: 84vh;
    border-radius: var(--radius-md);
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.journey-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.journey-lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.journey-lightbox-arrow {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.journey-lightbox-arrow:hover { background: rgba(255, 255, 255, 0.22); }
.journey-lightbox-arrow:disabled { opacity: 0.3; cursor: default; }
.journey-lightbox-prev { left: 16px; }
.journey-lightbox-next { right: 16px; }
.journey-lightbox-count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    translate: -50% 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 600px) {
    .journey-lightbox-arrow { width: 40px; height: 40px; font-size: 1.4rem; }
    .journey-lightbox-prev { left: 6px; }
    .journey-lightbox-next { right: 6px; }
}

body.journey-lightbox-open { overflow: hidden; }
