.offer-banner {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding: 16px;
    background: linear-gradient(270deg, #ffd73a 0%, #ff9f63 100%);
    border-radius: 43px;
    overflow: hidden;
    gap: 30px;
    text-decoration: none;
    transition: box-shadow .3s;
}

.offer-banner:hover,
.offer-banner:focus-within {
    text-decoration: none;
    box-shadow: 0 0 10px rgba(33, 33, 33, .4);
}

.offer-banner:focus-within {
    outline: 2px solid #000;
    outline-offset: 3px;
}

.offer-banner-position--mobile {
    display: none;
}

.offer-banner__content {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 12px;
    color: #fff;
    text-align: left;
}

.offer-banner__offer-title {
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
}

.offer-banner__offer-title-mobile {
    display: none;
}

.offer-banner__details {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    margin: 2px 0 0;
}

.offer-banner__offer-subtitle {
    flex: 0 1 auto;
    min-width: 0;
}

.offer-banner__training-title {
    margin: 8px 0 0;
    font-weight: 700;
    line-height: 16px;
    font-size: 14px;
}

.offer-banner__training-link {
    position: relative;
    z-index: 1;
    color: inherit;
    text-decoration: underline;
}

.offer-banner__training-link:hover,
.offer-banner__training-link:focus {
    color: inherit;
    text-decoration: underline;
}

.offer-banner__action-link::after {
    position: absolute;
    inset: 0;
    content: '';
}

.offer-banner__action-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    text-align: center;
}

.offer-banner__action-link:hover,
.offer-banner__action-link:focus {
    color: #fff;
    text-decoration: none;
}

@media only screen and (max-width: 991px) {
    .offer-banner-position--desktop {
        display: none;
    }

    .offer-banner-position--mobile {
        display: block;
    }

    .offer-banner {
        gap: 8px;
        padding: 12px;
    }

    .offer-banner__offer-title {
        font-size: 20px;
    }

    .offer-banner-position--mobile .offer-banner__offer-title-desktop {
        display: none;
    }

    .offer-banner-position--mobile .offer-banner__offer-title-mobile {
        display: inline;
    }

    .offer-banner__content {
        padding-left: 8px;
    }

    .offer-banner__training-title {
        margin-top: 4px;
    }

    .offer-banner__training-link {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .offer-banner__action-link {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}
