.pf-school-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1f2937;
}

.pf-school-hero__track {
    position: relative;
    width: 100%;
    min-height: 520px;
}

.pf-school-hero__slide {
    position: absolute;
    inset: 0;
    display: none;
    min-height: 520px;
    overflow: hidden;
}

.pf-school-hero__slide--active {
    position: relative;
    display: block;
}

.pf-school-hero__media {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.pf-school-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
}

.pf-school-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgb(24 18 14 / 0.72) 0%,
            rgb(24 18 14 / 0.48) 38%,
            rgb(24 18 14 / 0.10) 72%,
            rgb(24 18 14 / 0.02) 100%
        );
}

.pf-school-hero .pf-container {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.pf-school-hero__content {
    width: min(100%, 650px);
    padding-block: 80px;
    color: #ffffff;
}

.pf-school-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f3dcc3;
}

.pf-school-hero__title {
    margin: 0;
    max-width: 720px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.pf-school-hero__description {
    max-width: 600px;
    margin: 20px 0 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgb(255 255 255 / 0.86);
}

.pf-school-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.pf-school-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.pf-school-hero__controls {
    position: absolute;
    z-index: 5;
    right: 32px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pf-school-hero__control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgb(255 255 255 / 0.36);
    border-radius: 50%;
    background: rgb(15 23 42 / 0.35);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.pf-school-hero__control:hover {
    background: rgb(15 23 42 / 0.58);
}

.pf-school-hero__dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pf-school-hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.48);
    cursor: pointer;
}

.pf-school-hero__dot--active {
    width: 24px;
    background: #ffffff;
}

@media (max-width: 900px) {
    .pf-school-hero__track,
    .pf-school-hero__slide,
    .pf-school-hero__image,
    .pf-school-hero .pf-container {
        min-height: 470px;
    }

    .pf-school-hero__content {
        width: min(100%, 560px);
        padding-block: 60px;
    }

    .pf-school-hero__controls {
        right: 20px;
        bottom: 20px;
    }
}

@media (max-width: 600px) {
    .pf-school-hero__track,
    .pf-school-hero__slide,
    .pf-school-hero__image,
    .pf-school-hero .pf-container {
        min-height: 500px;
    }

    .pf-school-hero__overlay {
        background: rgb(24 18 14 / 0.56);
    }

    .pf-school-hero__content {
        padding-block: 54px 90px;
    }

    .pf-school-hero__title {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .pf-school-hero__description {
        font-size: 0.96rem;
    }

    .pf-school-hero__controls {
        right: 14px;
        bottom: 16px;
    }
}
