/**
 * Departure picker on the destination detail page.
 *
 * Lives inside the dark hero panel, so it borrows the theme's existing accent
 * (#f7d942) and pill-button shape rather than introducing a new look. Base
 * destination styles stay in Salient's theme options — nothing here overrides them.
 */

.loff-destination-departures {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    /* The hero panel is dark, but the theme sets a near-black body colour that
       these rows would otherwise inherit. Every colour below is explicit. */
    color: #fff;
}

.loff-destination-departures h3 {
    margin: 0 0 12px;
    color: #f7d942;
    font-size: clamp(15px, 1.1vw, 18px);
    font-weight: 600;
    letter-spacing: .01em;
}

.loff-departures-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.loff-departure {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    transition: background 160ms ease;
}

.loff-departure:hover {
    background: rgba(255, 255, 255, .11);
}

.loff-departure-date {
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.loff-departure-price {
    color: #f7d942;
    font-weight: 600;
    white-space: nowrap;
}

.loff-departure-status {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    white-space: nowrap;
}

/* Sold-out departures stay visible — they signal demand — but read as inactive. */
.loff-departure.is-full {
    opacity: .5;
}

.loff-departure.is-full .loff-departure-status {
    color: #ffb4b4;
    opacity: 1;
}

.loff-departure-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 20px;
    border-radius: 999px;
    background: #fff;
    color: #161616;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.loff-departure-cta:hover,
.loff-departure-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
    color: #161616;
}

.loff-departures-more {
    margin: 10px 0 0;
}

.loff-departures-more a {
    color: #f7d942;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid rgba(247, 217, 66, .4);
}

.loff-departures-more a:hover {
    border-bottom-color: #f7d942;
    color: #f7d942;
}

/* "+2 termíny" hint on cards and in the detail info list. */
.loff-destination-more-dates {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: rgba(247, 217, 66, .18);
    color: #f7d942;
    font-size: .82em;
    font-weight: 600;
    white-space: nowrap;
}

.loff-destination-card .loff-destination-more-dates {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

@media (max-width: 690px) {
    .loff-departure {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .loff-departure-cta {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}
