.destination-hero {
    padding-top: var(--navbar-height);
    margin-bottom: clamp(36px, 5vw, 72px);
}

.destination-hero__layout {
    --hero-photo-width: 55%;
    --hero-gutter: max(32px, calc((100vw - var(--content-width)) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hero-photo-width);
    grid-template-rows: auto auto 1fr;
    min-height: 620px;
}

.destination-hero__heading {
    grid-area: 1 / 1;
    padding: 64px 24px 12px var(--hero-gutter);
}

.destination-hero__location {
    margin-bottom: 16px;
    border: 1px solid rgb(192, 192, 192);
    border-radius: 999px;
}

.destination-hero__heading h1 {
    font-size: clamp(2rem, 4.4vw, 4rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
}

.destination-hero__photos {
    position: relative;
    z-index: 1;
    grid-area: 1 / 2 / -1 / -1;
    overflow: hidden;
    border-radius: 0 0 0 64px;
    background: var(--blue-100);
}

.destination-hero__description {
    grid-area: 2 / 1 / 3 / -1;
    padding: 32px calc(var(--hero-photo-width) + 24px) 32px var(--hero-gutter);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .destination-hero__layout {
        --hero-gutter: 16px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        min-height: 0;
    }

    .destination-hero__heading {
        padding: 28px var(--hero-gutter) 16px;
    }

    .destination-hero__photos {
        grid-area: auto;
        height: clamp(220px, 55vw, 300px);
        margin: 0 var(--hero-gutter) 16px;
        border-radius: 8px;
    }

    .destination-hero__description {
        grid-area: auto;
        padding: 24px var(--hero-gutter);
    }
}

#packages-section {
    margin-block: clamp(32px, 5vw, 72px);
    scroll-margin-top: calc(var(--navbar-height) + 20px);
}

.destination-guide {
    
    margin-block: clamp(40px, 6vw, 80px);
    padding: clamp(18px, 4vw, 48px);
    border-radius: 20px;
    background: var(--blue-050);
}

.destination-guide__intro {
    max-width: 74ch;
    margin-bottom: 24px;
}

.destination-guide__intro h2 {
    margin-bottom: 10px;
    color: var(--color-accent);
    font-size: clamp(1.65rem, 3.5vw, 2.5rem);
    font-weight: 600;
}

.destination-guide__section {
    margin-top: 10px;
    border: 1px solid var(--blue-200);
    border-radius: 12px;
    background: #fff;
}

.destination-guide__section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px clamp(14px, 2.5vw, 24px);
    border-radius: 11px;
    list-style: none;
    cursor: pointer;
}

.destination-guide__section summary::-webkit-details-marker {
    display: none;
}

.destination-guide__section summary:hover,
.destination-guide__section[open] summary {
    background: var(--blue-050);
}

.destination-guide__section summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -3px;
}

.destination-guide__section summary::after {
    content: "";
    flex: 0 0 9px;
    height: 9px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: translateY(-2px) rotate(45deg);
}

.destination-guide__section[open] summary::after {
    transform: translateY(2px) rotate(-135deg);
}

.destination-guide__section h3,
.destination-guide__copy h4 {
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 600;
}

.destination-guide__copy {
    /* max-width: 78ch; */
    padding: 20px clamp(14px, 2.5vw, 24px) 24px;
}

.destination-guide__copy h4 {
    margin: 18px 0 4px;
}

.destination-guide p {
    color: #343440;
    line-height: 1.75;
    user-select: text;
}

.destination-guide__copy p + p {
    margin-top: 12px;
}

.package-card__image {
    min-width: 0;
    background: var(--color-accent-100);
}

.image-carousel,
.image-carousel__slide {
    position: absolute;
    inset: 0;
}

.image-carousel__slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 700ms ease;
}

.image-carousel__slide.is-active {
    opacity: 1;
}

.image-carousel__controls {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(4, 8, 28, .85);
}

.image-carousel__controls[hidden] {
    display: none;
}

.image-carousel__controls button {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.image-carousel__controls button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.image-carousel__controls button:hover {
    background: rgba(255, 255, 255, .2);
}

.image-carousel__controls [data-photo-number] {
    color: #fff;
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.image-carousel__announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .image-carousel__slide {
        transition: none;
    }
}
