.cruise-line-slider {
    padding: 3rem 0;
    overflow: hidden;
}

/* Title — centered above slider */
.cruise-line-slider__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 2rem;
    padding: 0 1rem;
}

/* Swiper container — centered with overflow visible so slides peek out both sides */
.cruise-line-slider__swiper {
    max-width: var(--container-max-width);
    margin: 0 auto;
    overflow: visible;
}

/* Slides */
.cruise-line-slider__slide {
    height: 626px;
    transition: opacity 0.3s ease;
}

.cruise-line-slider__slide:not(.swiper-slide-active) {
    opacity: 0.4;
}

/* Card */
.cruise-line-slider__card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: #fff;
    position: relative;
}

.cruise-line-slider__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 50%);
    border-radius: 16px;
}

/* Card content — name/eyebrow left, button right */
.cruise-line-slider__card-content {
    position: relative;
    z-index: 1;
    padding: 32px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.cruise-line-slider__card-info {
    display: flex;
    flex-direction: column;
}

.cruise-line-slider__card-name {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 2px;
}

.cruise-line-slider__card-eyebrow {
    display: block;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

.cruise-line-slider__card-btn {
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Controls — prev + scrollbar + next, centered below slider */
.cruise-line-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 2rem;
    padding: 0 1rem;
}

.cruise-line-slider__nav-btn {
    width: 51px;
    min-width: 51px;
    height: 51px;
    border-radius: 50%;
    border: 1.5px solid #d0d0d0;
    background: #fff;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
}

.cruise-line-slider__nav-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

.cruise-line-slider__nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* Scrollbar */
.cruise-line-slider__scrollbar {
    width: 200px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    position: relative;
}

.cruise-line-slider__scrollbar .swiper-scrollbar-drag {
    background: #1a1a2e;
    border-radius: 2px;
    height: 100%;
}

/* ========================================================================
   Responsive
   ======================================================================== */

@media (max-width: 1200px) {
    .cruise-line-slider__slide {
        height: 450px;
    }
}

@media (max-width: 991px) {
    .cruise-line-slider__title {
        font-size: 26px;
    }

    .cruise-line-slider__slide {
        height: 340px;
    }

    .cruise-line-slider__card-content {
        padding: 24px 28px;
    }
}

@media (max-width: 767px) {
    .cruise-line-slider__slide {
        height: 300px;
    }

    .cruise-line-slider__nav-btn {
        width: 42px;
        min-width: 42px;
        height: 42px;
    }

    .cruise-line-slider__card-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .cruise-line-slider__slide {
        height: 260px;
    }

    .cruise-line-slider__card-name {
        font-size: 18px;
    }

    .cruise-line-slider__card-eyebrow {
        font-size: 14px;
    }

    .cruise-line-slider__card-btn {
        font-size: 13px;
        padding: 8px 20px;
    }
}
