.main-webinar {
    margin-top: -58px;
    margin-bottom: 88px;
}

.main-webinar__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 352px;
    gap: 34px;
    min-height: 500px;
    padding: 32px;
    overflow: hidden;
    border-radius: 54px;
    background: #f4f4f4;
}

.main-webinar__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.main-webinar__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 9px 20px 10px;
    border: 2px solid #ff6a00;
    border-radius: 75px;
    color: #ff6a00;
    font-family: InterSemiBold, Inter, Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.12;
    text-transform: uppercase;
}

.main-webinar__title {
    max-width: 770px;
    margin-top: 26px;
    color: #000;
    font-family: OswaldMedium, Oswald, Arial, sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0;
}

.main-webinar__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.main-webinar__meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    min-width: 183px;
    padding: 13px 20px;
    border: 2px solid #ff6a00;
    border-radius: 15px;
    background: #f4f4f4;
    color: #000;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.18);
    font-family: InterMedium, Inter, Arial, sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.12;
    white-space: nowrap;
}

.main-webinar__meta-item svg {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    fill: none;
    stroke: #ff6a00;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.main-webinar__online-dot {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ff6a00;
}

.main-webinar__description {
    max-width: 690px;
    min-height: 108px;
    margin-top: 36px;
    color: #6e6e6e;
    font-family: InterMedium, Inter, Arial, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.12;
}

.main-webinar__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 72px;
    margin-top: 30px;
    padding: 16px 36px 18px;
    border: 0;
    border-radius: 150px;
    background: #ff6a00;
    box-shadow: 0 10px 18px rgba(255, 106, 0, 0.34);
    color: #fff;
    font-family: InterMedium, Inter, Arial, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.12;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.main-webinar__button:hover,
.main-webinar__button:focus {
    transform: translateY(-1px);
    background: #ff7c1f;
    box-shadow: 0 14px 22px rgba(255, 106, 0, 0.4);
    color: #fff;
}

.webinar_form.form_block {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(430px, 1fr);
    gap: 44px;
    min-height: 0;
    padding: 28px;
    border-radius: 36px;
    background: #fff;
}

.webinar_form__info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 8px 2px;
}

.webinar_form__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 16px 8px;
    border: 1.5px solid #ff6a00;
    border-radius: 80px;
    color: #ff6a00;
    font-family: InterSemiBold, Inter, Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.12;
    text-transform: uppercase;
}

.webinar_form__title.form_block-title.header_2 {
    max-width: 520px;
    margin-top: 24px;
    flex-basis: auto;
    color: #141414;
    font-family: OswaldMedium, Oswald, Arial, sans-serif;
    font-size: clamp(48px, 4vw, 64px);
    font-weight: 500;
    line-height: .98;
}

.webinar_form__message.form_block-message.lead_s {
    max-width: 520px;
    flex-basis: auto;
    margin-top: 20px;
    color: #8a8a8a;
    font-family: InterMedium, Inter, Arial, sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.16;
}

.webinar_form__summary {
    width: 100%;
    max-width: 520px;
    margin-top: 36px;
    padding: 20px;
    border: 1px solid rgba(255, 106, 0, .22);
    border-radius: 28px;
    background: #fff6ee;
}

.webinar_form__summary-title {
    color: #141414;
    font-family: InterSemiBold, Inter, Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.16;
}

.webinar_form__summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.webinar_form__summary-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ff6a00;
    color: #fff;
    font-family: InterMedium, Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
}

.webinar_form__summary p {
    margin: 14px 0 0;
    color: #6e6e6e;
    font-family: InterMedium, Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.webinar_form__fields.form_fields {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.webinar_form .input_wrapper {
    min-height: 82px;
}

.webinar_form textarea.input_field {
    min-height: 120px;
    resize: vertical;
}

.webinar_form .checkbox_wrapper {
    margin-top: 4px;
}

.webinar_form .form_submit {
    align-self: flex-end;
    min-width: 260px;
    margin-top: 14px !important;
}

.main-webinar__visual {
    position: relative;
    min-height: 436px;
    border-radius: 36px;
    background: #feead5;
}

.main-webinar__photo {
    width: 100%;
    height: 100%;
    min-height: 436px;
    border-radius: inherit;
    object-fit: cover;
}

.main-webinar__decor {
    position: absolute;
    z-index: 2;
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(-4px 9px 11px rgba(0, 0, 0, 0.24));
    pointer-events: none;
}

.main-webinar__decor_play {
    top: 18px;
    left: -34px;
    transform: rotate(-11.62deg);
}

.main-webinar__decor_check {
    right: -38px;
    bottom: 46px;
    transform: rotate(16.03deg);
}

@media (max-width: 1100px) {
    .main-webinar {
        margin-top: -38px;
    }

    .main-webinar__card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .main-webinar__visual {
        min-height: 320px;
    }

    .main-webinar__photo {
        min-height: 320px;
    }

    .main-webinar__button {
        margin-top: 36px;
    }

    .webinar_form.form_block {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .webinar_form__summary {
        margin-top: 28px;
    }
}

@media (max-width: 800px) {
    .main-webinar {
        margin-top: -32px;
        margin-bottom: 64px;
    }

    .main-webinar__card {
        gap: 24px;
        padding: 22px;
        border-radius: 32px;
    }

    .main-webinar__label {
        min-height: 42px;
        font-size: 18px;
    }

    .main-webinar__title {
        margin-top: 22px;
        font-size: 38px;
    }

    .main-webinar__meta {
        gap: 10px;
        margin-top: 26px;
    }

    .main-webinar__meta-item {
        min-width: 0;
        min-height: 52px;
        padding: 10px 14px;
        font-size: 20px;
    }

    .main-webinar__description {
        min-height: 92px;
        margin-top: 26px;
        font-size: 20px;
    }

    .main-webinar__button {
        width: 100%;
        min-height: 62px;
        font-size: 25px;
    }

    .webinar_form.form_block {
        gap: 24px;
        padding: 22px;
        border-radius: 28px;
    }

    .webinar_form__title.form_block-title.header_2 {
        font-size: 42px;
    }

    .webinar_form__message.form_block-message.lead_s {
        font-size: 21px;
    }

    .webinar_form__fields.form_fields {
        gap: 8px;
    }

    .webinar_form .form_submit {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 570px) {
    .main-webinar {
        margin-top: -20px;
        margin-bottom: 40px;
    }

    .main-webinar__card {
        grid-template-columns: minmax(0, 1fr) clamp(112px, 31vw, 150px);
        align-items: start;
        gap: 18px;
        column-gap: 12px;
        padding: 16px 14px 14px;
        border-radius: 22px;
    }

    .main-webinar__content {
        display: contents;
    }

    .main-webinar__label {
        grid-column: 1 / -1;
        min-height: 34px;
        padding: 7px 16px 8px;
        border-width: 1.5px;
        font-size: 15px;
    }

    .main-webinar__title {
        grid-column: 1 / -1;
        margin-top: 18px;
        font-size: 30px;
        line-height: 1.06;
    }

    .main-webinar__meta {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
        margin-top: 18px;
    }

    .main-webinar__meta-item {
        flex: 1 1 0;
        justify-content: center;
        min-width: 0;
        min-height: 38px;
        gap: 5px;
        padding: 7px 6px;
        border-width: 1.5px;
        border-radius: 12px;
        font-size: 14px;
        line-height: 1;
        box-shadow: 0 4px 8px rgba(0, 0, 0, .14);
    }

    .main-webinar__meta-item svg {
        width: 18px;
        height: 18px;
    }

    .main-webinar__online-dot {
        width: 14px;
        height: 14px;
    }

    .main-webinar__description {
        grid-column: 1;
        grid-row: 4;
        min-height: 0;
        margin-top: 0;
        font-size: 15.5px;
        line-height: 1.12;
    }

    .main-webinar__button {
        grid-column: 1 / -1;
        grid-row: 5;
        min-height: 54px;
        margin-top: 0;
        padding: 12px 18px 14px;
        font-size: 22px;
    }

    .main-webinar__visual {
        grid-column: 2;
        grid-row: 4;
        min-height: 0;
        height: 150px;
        border-radius: 22px;
    }

    .main-webinar__photo {
        min-height: 0;
        height: 150px;
        border-radius: 22px;
        object-position: center top;
    }

    .main-webinar__decor {
        width: 44px;
        height: 44px;
    }

    .main-webinar__decor_play {
        top: 9px;
        left: -14px;
    }

    .main-webinar__decor_check {
        right: -12px;
        bottom: 12px;
    }
}
