.mb-question-popup {
    width: min(680px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    color: #222;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.mb-question-popup::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(3px);
}

.mb-question-popup__inner {
    position: relative;
    max-height: calc(100dvh - 32px);
    padding: 45px 42px 35px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mb-question-popup__close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border: 0;
    border-radius: 50% !important;
    background-color: var(--vamtam-accent-color-1) !important;
    color: #222 !important;
    font-size: 23px !important;
    line-height: 1 !important;
    cursor: pointer;
}

.mb-question-popup__close:hover,
.mb-question-popup__close:focus-visible {
    color: #209849;
    background: #f2f2f2;
}

.mb-question-popup__header {
    margin-bottom: 25px;
    text-align: center;
}

.mb-question-popup__header h2 {
    margin: 0 0 10px;
    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.2;
}

.mb-question-popup__header p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

body.mb-question-popup-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .mb-question-popup {
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 10px;
    }

    .mb-question-popup__inner {
        max-height: calc(100dvh - 20px);
        padding: 45px 20px 25px;
    }
}