.confBanner {
    --conf-orange: #ff9f1a;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    min-height: 408px;
    padding: 56px 64px;
    border-radius: 40px;
    background: #f4f6f8;
    overflow: hidden;
}

.confBanner__image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
}

.confBanner__image img {
    display: block;
    height: 100%;
    width: auto;
}

.confBanner__label-sm {
    display: none;
}

.confBanner__info {
    position: relative;
    max-width: 720px;
}

.confBanner p {
    margin: 0;
}

.confBanner__label {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

.confBanner__title {
    margin-top: 8px !important;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-blue);
}

.confBanner__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 20px;
    margin-top: 24px !important;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text);
}

.confBanner__format {
    position: relative;
    padding-left: 24px;
    font-weight: 600;
    color: var(--conf-orange);
}

.confBanner__format::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: currentColor;
}

.confBanner__button.customButton {
    position: relative;
    box-sizing: border-box;
    width: auto;
    min-width: 316px;
    padding: 22px 40px;
    font-size: 20px;
    background: var(--conf-orange);
}

.confBanner__button.customButton:hover {
    color: var(--color-white);
    background: #f59208;
}

.confBanner__button.customButton:active {
    background: #e88700;
}

/* планшет: раскладка как на десктопе, всё мельче */
@media screen and (max-width: 1259px) {
    .confBanner {
        gap: 28px;
        min-height: 0;
        padding: 40px;
        border-radius: 32px;
    }

    .confBanner__info {
        max-width: 58%;
    }

    .confBanner__label {
        font-size: clamp(13px, 1.5vw, 17px);
    }

    .confBanner__title {
        font-size: clamp(24px, 3.3vw, 38px);
    }

    .confBanner__meta {
        margin-top: 16px !important;
        font-size: clamp(15px, 1.75vw, 20px);
    }

    .confBanner__button.customButton {
        min-width: 0;
        padding: 16px 32px;
        font-size: 18px;
    }
}

/* малый планшет: белая карточка, картинка слева внизу, текст справа */
@media screen and (max-width: 1023px) {
    .confBanner {
        gap: 24px;
        min-height: 260px;
        padding: 32px 28px 32px 42%;
        background: var(--color-white);
    }

    .confBanner__info {
        max-width: none;
    }

    .confBanner__image {
        top: auto;
        right: auto;
        bottom: 0;
        left: -64px;
        height: auto;
    }

    .confBanner__image img {
        width: 420px;
        height: auto;
    }

    .confBanner__label-lg {
        display: none;
    }

    .confBanner__label-sm {
        display: inline;
    }

    .confBanner__label {
        font-size: 14px;
    }

    .confBanner__title br {
        display: none;
    }

    .confBanner__title {
        margin-top: 4px !important;
        font-size: 24px;
        line-height: 1.2;
    }

    .confBanner__meta {
        font-size: 17px;
    }

    .confBanner__button.customButton {
        padding: 12px 32px;
        border-radius: 12px;
        font-size: 16px;
    }
}

/* телефон: белая карточка, текст, картинка по центру, кнопка на всю ширину */
@media screen and (max-width: 767px) {
    .confBanner {
        gap: 0;
        padding: 24px;
        border-radius: 24px;
        background: var(--color-white);
    }

    .confBanner__info {
        max-width: none;
    }

    .confBanner__label-lg {
        display: none;
    }

    .confBanner__label-sm {
        display: inline;
    }

    .confBanner {
        min-height: 0;
    }

    .confBanner__image {
        position: static;
        order: 1;
        align-self: center;
        height: auto;
        margin-top: 44px;
    }

    .confBanner__image img {
        width: 233px;
        max-width: 100%;
        height: auto;
    }

    .confBanner__button.customButton {
        order: 2;
        width: 100%;
        padding: 12px 24px;
        border-radius: 12px;
        font-size: 16px;
    }

    .confBanner__label {
        font-size: 14px;
    }

    .confBanner__title br {
        display: none;
    }

    .confBanner__title {
        margin-top: 4px !important;
        font-size: 22px;
        line-height: 1.2;
    }

    .confBanner__meta {
        gap: 4px 16px;
        margin-top: 20px !important;
        font-size: 15px;
    }

    .confBanner__format {
        padding-left: 16px;
    }
}
