/**
 * Black Friday 2026 sale page (/black-friday/, [tsa_bf_page] in inc/black-friday.php).
 *
 * The page is built from the homepage's components (assets/css/homepage.css, .tsa-home);
 * this file adds the sale's own pieces and one spacing rhythm: every section has the
 * same vertical padding (--bf-gap) and the same 1280px content width.
 */

.tsa-bf {
    --bf-gap: clamp(48px, 5vw, 72px);
}

.tsa-bf .tsa-section {
    padding-top: var(--bf-gap);
    padding-bottom: var(--bf-gap);
}

.tsa-bf .tsa-section-head {
    margin-bottom: 28px;
}

.tsa-bf .tsa-h2 {
    margin-bottom: 16px;
}

/* Hero: a photo instead of the homepage video, people kept in frame */
.tsa-bf .tsa-hero {
    min-height: 76vh;
}

.tsa-bf .tsa-hero__media {
    object-position: 45% 30%;
}

.tsa-bf .tsa-hero__title {
    max-width: 14ch;
}

.tsa-bf .tsa-hero__content {
    padding-bottom: var(--bf-gap);
}

/* Phone: the hero line moves under the photo (site-design H3) */
.tsa-bf .tsa-bf-phone {
    display: none;
}

.tsa-bf .tsa-bf-lede {
    margin: 0;
    padding: 28px var(--tsa-pad-x) 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--tsa-teal);
}

/* Trip cards: compact homepage cards, three across then two wider */
.tsa-bf .tsa-bf-trips {
    grid-template-columns: repeat(6, 1fr);
}

.tsa-bf .tsa-bf-trips .tsa-lastspot-card {
    grid-column: span 2;
}

.tsa-bf .tsa-bf-trips .tsa-lastspot-card:nth-child(n+4) {
    grid-column: span 3;
}

.tsa-bf .tsa-lastspot-card__media {
    display: block;
}

.tsa-bf .tsa-lastspots--multi .tsa-lastspot-card__media {
    min-height: 220px;
}

.tsa-bf .tsa-lastspot-card__body {
    padding: 24px;
    gap: 14px;
}

.tsa-bf .tsa-lastspots--multi .tsa-lastspot-card__title {
    font-size: clamp(24px, 2vw, 28px);
}

.tsa-bf .tsa-bf-card__line {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--tsa-body-color);
}

.tsa-bf .tsa-stat {
    padding: 8px 14px;
    min-width: 64px;
}

.tsa-bf .tsa-stat__value {
    font-size: 20px;
}

.tsa-bf .tsa-bf-departures {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.tsa-bf .tsa-bf-departures li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--tsa-line);
    color: var(--tsa-ink);
}

.tsa-bf .tsa-bf-departures strong {
    color: var(--tsa-teal-2);
    white-space: nowrap;
}

.tsa-bf .tsa-lastspot-card__footer {
    padding-top: 16px;
    gap: 16px;
}

.tsa-bf .tsa-price__value {
    font-size: 28px;
}

.tsa-bf .tsa-price__value .tsa-price__was {
    font-size: 18px;
}

/* Walking escapes: text and a landscape photo, same height */
.tsa-bf .tsa-who .tsa-h2 {
    font-size: clamp(30px, 3vw, 42px);
}

.tsa-bf .tsa-who__figure img {
    aspect-ratio: 3 / 2;
}

.tsa-bf .tsa-who__badge {
    left: 20px;
    bottom: 20px;
}

.tsa-bf .tsa-bf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.tsa-bf .tsa-bf-chip {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--tsa-teal);
    color: var(--tsa-teal);
    font-family: var(--tsa-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    font-size: 15px;
}

.tsa-bf .tsa-bf-chip:hover,
.tsa-bf .tsa-bf-chip:focus-visible {
    background: var(--tsa-teal);
    color: var(--tsa-cream);
}

/* Teal bands: heading and line left, button right, on the page's content width */
.tsa-bf .tsa-bf-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 48px;
    align-items: center;
}

.tsa-bf .tsa-bf-cta h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    color: var(--tsa-cream);
    margin: 0 0 8px;
    text-wrap: balance;
}

.tsa-bf .tsa-bf-cta p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(244, 239, 231, 0.85);
    margin: 0;
}

.tsa-bf .tsa-bf-cta .tsa-btn {
    white-space: nowrap;
}

.tsa-bf .tsa-bf-ctas .tsa-bf-cta + .tsa-bf-cta {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(244, 239, 231, 0.18);
}

.tsa-bf .tsa-bf-others a {
    color: var(--tsa-gold);
    border-bottom: 2px solid rgba(233, 185, 106, 0.5);
}

.tsa-bf .tsa-bf-others a:hover {
    color: var(--tsa-cream);
}

/* Victoria cards: four across, deal in amber */
.tsa-bf .tsa-bf-vic {
    grid-template-columns: repeat(4, 1fr);
}

.tsa-bf .tsa-bf-vic .tsa-card__body {
    padding: 20px;
    gap: 8px;
}

.tsa-bf .tsa-bf-deal {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--tsa-amber);
    color: var(--tsa-ink);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .tsa-bf .tsa-bf-trips {
        grid-template-columns: repeat(2, 1fr);
    }

    .tsa-bf .tsa-bf-trips .tsa-lastspot-card,
    .tsa-bf .tsa-bf-trips .tsa-lastspot-card:nth-child(n+4) {
        grid-column: auto;
    }

    .tsa-bf .tsa-bf-vic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .tsa-bf {
        --bf-gap: 48px;
    }

    .tsa-bf .tsa-bf-trips,
    .tsa-bf .tsa-who,
    .tsa-bf .tsa-bf-cta {
        grid-template-columns: 1fr;
    }

    .tsa-bf .tsa-who {
        gap: 28px;
    }

    .tsa-bf .tsa-bf-cta .tsa-btn {
        justify-self: start;
        white-space: normal;
    }

    .tsa-bf .tsa-section-head {
        margin-bottom: 24px;
    }
}

@media (max-width: 640px) {
    .tsa-bf .tsa-bf-vic {
        grid-template-columns: 1fr;
    }

    .tsa-bf .tsa-hero {
        min-height: 88svh;
    }

    .tsa-bf .tsa-hero__media {
        object-position: 30% 30%;
    }

    .tsa-bf .tsa-bf-desktop {
        display: none;
    }

    .tsa-bf .tsa-bf-phone {
        display: block;
    }

    .tsa-bf .tsa-bf-lede + .tsa-section {
        padding-top: 32px;
    }
}
