/* ============================================================
   Destinations — header + filter pills + horizontal card carousel
   ============================================================ */

.huc-dest {
    --huc-dest-accent: var(--huc-accent-clr);
    --huc-dest-border: color-mix(in srgb, var(--huc-darkGray-clr) 85%, transparent);
    overflow-x: hidden;
}

/* ---- Header: title + filter pills ---- */
.huc-dest-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.huc-dest-head__title {
    margin: 0;
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--huc-blue-clr);
}

.huc-dest-head__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.huc-dest-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem !important;
    border: 1.5px solid var(--huc-dest-border);
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--huc-darkGray-clr);
    text-decoration: none;
    white-space: nowrap;
}

.huc-dest-pill > .bi-arrow-right {
    font-size: 0.8125rem;
}

/* ---- Lead + sub text ---- */
.huc-dest-lead {
    /* margin: 1.5rem 0 0.75rem; */
    font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
    font-weight: 600;
    color: var(--huc-darkGray-clr);
}

.huc-dest-sub {
    margin: 0;
    /* max-width: 70ch; */
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--huc-gray-clr);
}

/* ---- Contained scroll track ---- */
.huc-dest-bleed {
    --huc-fade-r: 40px;
    margin-top: 2rem;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--huc-fade-r)), transparent 100%);
    mask-image: linear-gradient(90deg, #000 calc(100% - var(--huc-fade-r)), transparent 100%);
}

.huc-dest-bleed.is-end {
    --huc-fade-r: 0px;
}

.huc-dest-track {
    padding: 0.5rem 0 0.75rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.huc-dest-track::-webkit-scrollbar {
    display: none;
}

.huc-dest-track:focus-visible {
    outline: 2px solid var(--huc-dest-accent);
    outline-offset: 2px;
    border-radius: 16px;
}

/* Card width tuned so ~5–6 cards show across the full-width strip */
.huc-dest-item {
    flex: 0 0 auto;
    width: 320px;
    scroll-snap-align: start;
}

@media (max-width: 991.98px) {
    .huc-dest-item {
        width: 280px;
    }
}

@media (max-width: 575.98px) {
    .huc-dest-item {
        width: 72vw;
        max-width: 300px;
    }
}

/* ---- Card ---- */
.huc-dest-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 5 / 5;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    background-color: color-mix(in srgb, var(--huc-darkGray-clr) 8%, var(--huc-white-clr));
}

.huc-dest-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.huc-dest-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 1.1rem;
    background: linear-gradient(180deg, transparent 40%, rgba(var(--huc-blue-rgb), 0.75) 100%);
}

.huc-dest-card__title {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--huc-white-clr);
}

.huc-dest-card__airport {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(var(--huc-white-rgb), 0.9);
}

.huc-dest-card__airport .bi {
    font-size: 0.8125rem;
}

/* ---- Arrows ---- */
.huc-dest-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background-color: var(--huc-blue-clr);
    color: var(--huc-white-clr);
    font-size: 1rem;
    flex-shrink: 0;
}

.huc-dest-arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
