@font-face {
    font-family: 'EduEmInter';
    src: url('../fonts/static/Inter-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'EduEmInter';
    src: url('../fonts/static/Inter-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.edu-em-banner {
    clear: both;
    padding: 28px 15px 22px;
    background: #fff;
}

.edu-em-banner__inner {
    max-width: 1400px;
    margin: 0 auto;
}

.edu-em-banner__creative {
    position: relative;
    min-height: 343px;
    overflow: hidden;
    background: radial-gradient(ellipse at 5% 50%, #fff8e0 0%, #fff 64%);
}

.edu-em-banner__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 53%;
    background-image: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .8) 12%, rgba(255, 255, 255, .1) 25%, rgba(255, 255, 255, 0) 35%), url('../img/edu-em/photo.jpg');
    background-repeat: no-repeat;
    background-position: center, left center;
    background-size: cover, 123% auto;
}

.edu-em-banner__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 65%;
    min-height: 343px;
    padding: 39px 0 39px 75px;
    font-family: 'EduEmInter', Arial, sans-serif;
}

.edu-em-banner__logo {
    display: block;
    width: 105px;
    height: 46px;
    object-fit: contain;
}

.edu-em-banner__headline {
    margin: 29px 0 26px;
    color: #303030;
    font-size: 48px;
    font-size: clamp(40px, 3.43vw, 48px);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.025em;
}

.edu-em-banner__headline strong {
    display: block;
    color: #ffc700;
    font-weight: 700;
}

.edu-em-banner__button,
.edu-em-banner__button:hover,
.edu-em-banner__button:focus,
.edu-em-banner__button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 285px;
    min-height: 70px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background: #ffd53f;
    color: #303030;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.edu-em-banner__button:hover,
.edu-em-banner__button:focus {
    background: #f5c82b;
}

.edu-em-banner__button:focus {
    outline: 2px solid #303030;
    outline-offset: 3px;
}

.edu-em-banner__disclosure {
    margin: 8px 0 0;
    color: #555;
    font-size: 10px;
    line-height: 1.4;
    text-align: right;
    overflow-wrap: anywhere;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .edu-em-banner__creative,
    .edu-em-banner__content {
        min-height: 273px;
    }

    .edu-em-banner__content {
        width: 66%;
        padding: 31px 0 31px 75px;
    }

    .edu-em-banner__headline {
        margin: 19px 0;
        font-size: clamp(30px, 3vw, 36px);
        line-height: .986;
    }

    .edu-em-banner__button,
    .edu-em-banner__button:hover,
    .edu-em-banner__button:focus,
    .edu-em-banner__button:active {
        min-width: 301px;
        min-height: 54px;
        font-size: 16px;
    }

    .edu-em-banner__photo {
        width: 63%;
        background-image: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .95) 13%, rgba(255, 255, 255, .35) 31%, rgba(255, 255, 255, 0) 48%), url('../img/edu-em/photo.jpg');
        background-size: cover, 126% auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .edu-em-banner__creative,
    .edu-em-banner__content {
        min-height: 107px;
    }

    .edu-em-banner__photo {
        display: none;
    }

    .edu-em-banner__content {
        display: grid;
        grid-template-columns: 105px minmax(0, 1fr) 175px;
        align-items: center;
        gap: 20px;
        width: 100%;
        padding: 15px 20px;
    }

    .edu-em-banner__headline {
        margin: 0;
        font-size: 22px;
        line-height: 1.08;
    }

    .edu-em-banner__button,
    .edu-em-banner__button:hover,
    .edu-em-banner__button:focus,
    .edu-em-banner__button:active {
        min-width: 0;
        min-height: 48px;
        padding: 8px 12px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .edu-em-banner {
        padding-top: 20px;
    }

    .edu-em-banner__creative,
    .edu-em-banner__content {
        min-height: 146px;
    }

    .edu-em-banner__photo {
        display: none;
    }

    .edu-em-banner__content {
        align-items: center;
        width: 100%;
        padding: 12px 16px;
        text-align: center;
    }

    .edu-em-banner__logo {
        width: 68px;
        height: 30px;
    }

    .edu-em-banner__headline {
        margin: 6px 0 8px;
        font-size: 18px;
        line-height: 1.08;
        letter-spacing: -.02em;
    }

    .edu-em-banner__button,
    .edu-em-banner__button:hover,
    .edu-em-banner__button:focus,
    .edu-em-banner__button:active {
        min-width: 150px;
        min-height: 36px;
        padding: 7px 15px;
        font-size: 13px;
    }

    .edu-em-banner__disclosure {
        text-align: left;
    }
}
