/* Full-width campus image slider (user/fragment/slider.html) */
.campus-slider {
    position: relative;
    width: 100%;
    background: #0f1626;
    overflow: hidden;
}

.campus-slider__swiper {
    width: 100%;
}

.campus-slider__swiper .swiper-slide {
    position: relative;
    overflow: hidden;
    background: #0f1626;
    height: auto;
}

.campus-slider__bg {
    display: none;
}

/* Full width; height follows the photo but is capped to the screen, trimming only the excess */
.campus-slider__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: max(calc(100vh - 110px), 50vw);
    object-fit: cover;
    object-position: center 30%;
}

@media (max-width: 767px) {
    .campus-slider__img {
        max-height: none;
    }
}

.campus-slider__shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(8, 14, 30, 0.72) 0%, rgba(8, 14, 30, 0.35) 45%, transparent 75%),
                linear-gradient(to top, rgba(8, 14, 30, 0.5), transparent 40%);
    pointer-events: none;
}

.campus-slider__content {
    position: absolute;
    left: clamp(20px, 6vw, 96px);
    bottom: clamp(36px, 9%, 90px);
    z-index: 4;
    max-width: min(620px, 80%);
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.campus-slider__eyebrow {
    margin: 0 0 12px;
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffb48f;
}

.campus-slider__title {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
}

.campus-slider__title em {
    font-style: normal;
    color: #ff6b2c;
}

.campus-slider__text {
    margin: 0 0 20px;
    font-size: clamp(0.85rem, 1.3vw, 1.1rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.campus-slider__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.campus-slider__btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.campus-slider__btn--primary {
    background: #ff6b2c;
    color: #fff;
}

.campus-slider__btn--primary:hover {
    background: #e85a1c;
    transform: translateY(-2px);
}

.campus-slider__btn--ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}

.campus-slider__btn--ghost:hover {
    background: #fff;
    color: #0f2257;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .campus-slider__text {
        display: none;
    }

    .campus-slider__btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

.campus-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(15, 34, 87, 0.45);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.campus-slider__arrow:hover,
.campus-slider__arrow:focus-visible {
    background: #ff6b2c;
    border-color: #ff6b2c;
    transform: scale(1.06);
    outline: none;
}

.campus-slider__arrow--prev { left: clamp(12px, 2.5vw, 36px); }
.campus-slider__arrow--next { right: clamp(12px, 2.5vw, 36px); }

.campus-slider__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.campus-slider__pagination .swiper-pagination-bullet {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.campus-slider__pagination .swiper-pagination-bullet-active {
    width: 44px;
    background: #ff6b2c;
}

@media (max-width: 767px) {
    .campus-slider__arrow {
        width: 38px;
        height: 38px;
        margin-top: -19px;
        font-size: 0.95rem;
    }

    .campus-slider__pagination {
        bottom: 10px;
    }

    .campus-slider__pagination .swiper-pagination-bullet {
        width: 18px;
    }

    .campus-slider__pagination .swiper-pagination-bullet-active {
        width: 30px;
    }
}

