.ed-header:has(.ed-header__banner--split) {
    position: sticky;
    background: #fff;
}

.ed-header:has(.ed-header__banner--split) + .ed-home .ed-home-banner {
    padding-top: clamp(28px, 5vw, 84px);
}

.ed-header > .ed-header__banner-frame {
    padding-top: 8px;
}

.ed-header__banner-frame .ed-header__banner {
    border-radius: 12px;
}

.ed-header__banner-frame .ed-header__banner-container {
    padding-inline: 16px;
}

.ed-header__banner--split .ed-header__banner-container {
    gap: 10px 20px;
}

.ed-header__banner--photo {
    background-image: linear-gradient(rgb(0 0 0 / 65%), rgb(0 0 0 / 65%)), var(--educado-banner-image);
    background-position: center;
    background-size: cover;
}

.ed-header__banner--photo .ed-header__banner-copy {
    color: #fff;
}

.ed-header__banner-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 12px;
    color: var(--educado-banner-ink, #161616);
}

.ed-header__banner-copy img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: none;
}

.ed-header__banner-text {
    margin: 0;
    max-width: 88ch;
    font-size: clamp(15px, 1.5vw, 21px);
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.ed-header__banner--split .ed-header__banner-btn {
    flex-shrink: 0;
    min-height: 44px;
    max-width: 45%;
    padding: 8px 22px;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    background-color: #fff;
    color: #161616;
    border: 1px solid #161616;
}

.ed-header__banner--split .ed-header__banner-btn:hover {
    background-color: #f3e3d5;
}

.ed-header__banner--split .ed-header__banner-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px #161616;
}

@media (max-width: 600px) {
    .ed-header__banner--split .ed-header__banner-container {
        flex-wrap: wrap;
    }

    .ed-header__banner-copy {
        text-align: center;
    }

    .ed-header__banner-copy img {
        width: 32px;
        height: 32px;
    }

    .ed-header__banner--split .ed-header__banner-btn {
        max-width: 100%;
    }
}
