@media (max-width: 1479px) {
    .header-left {
        padding-right: 64px;
    }
    .site-header ul.menu {
        gap: 32px;
    }
    .path-checkout .site-main {
        padding: 60px 0 120px;
    }
}
@media (max-width: 1199px) {
    .header-left {
        padding-right: 32px;
    }
    .block-system-branding-block img {
        max-width: 180px;
    }
    .site-header ul.menu {
        gap: 18px;
    }
    .site-header ul.menu li a {
        font-size: 0.875rem;
    }
    .region-header {
        gap: 18px;
    }
    .region-header > nav {
        padding-right: 5px;
    }
    h1 {
        font-size: 5rem;
    }

    .footer-content-right {
        width: 740px;
    }
    .footer-content-left {
        padding-right: 50px;
    }
    #block-webinar-email .field--name-body a {
        font-size: 3.06rem;
    }
    .footer_soc_block {
        margin-bottom: 100px;
    }
    #block-webinar-email .field--name-body {
        margin-bottom: 60px;
    }
    .footer-content-bottom {
        justify-content: space-between;
        flex-direction: column-reverse;
        gap: 10px;
        align-items: center;
    }
    .footer-bottom-menu {
        width: 100%;
    }
    .footer-bottom-menu ul.menu {
        gap: 160px;
        justify-content: center;
    }
}
@media (max-width: 991px) {
    h1 {
        font-size: 2.75rem;
    }
    body.open-menu {
        overflow: hidden;
    }
    .region-header > nav {
        padding-right: 0;
    }
    .user-name-info-block {
        padding-left: 0;
    }
    .header-show {
        display: none;
    }
    /* =========================
        MENU TOGGLE
     ========================= */

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 48px;
        height: 48px;

        cursor: pointer;
    }

    /* контейнер линий */
    .menu-toggle__box {
        position: relative;
        width: 24px;
        height: 18px;
    }

    /* линии */
    .menu-toggle__line {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;

        background: var(--color-text);
        transition: all 0.3s ease;
    }

    /* позиция линий */
    .menu-toggle__line:nth-child(1) {
        top: 0;
    }

    .menu-toggle__line:nth-child(2) {
        width: 90%;
        top: 8px;
    }

    .menu-toggle__line:nth-child(3) {
        width: 70%;
        bottom: 0;
    }

    /* =========================
       ACTIVE → крестик
    ========================= */

    .menu-toggle.active .menu-toggle__line:nth-child(1) {
        top: 8px;
        transform: rotate(45deg);
    }

    .menu-toggle.active .menu-toggle__line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .menu-toggle__line:nth-child(3) {
        bottom: auto;
        top: 8px;
        width: 100%;
        transform: rotate(-45deg);
    }
    
    .layout-container {
        padding-top: 80px;
    }
    .site-header {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 22;
        width: 100%;
        padding: 16px 0;
        background: #fff;
    }
    .header-right {
        flex: 0;
    }
    .header-row {
        justify-content: space-between;
    }
    
    .nav-block {
        position: fixed;
        top: 120px;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 24px 16px 83px;
        justify-content: flex-end;
        flex-direction: column-reverse;
        background: #fff;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
    }
    .nav-block.active {
        top: 80px;
        opacity: 1;
        visibility: visible;
    }
    #block-webinar-headerbutton {
        display: none;
    }
    .site-header ul.menu {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .site-header ul.menu li a {
        font-size: 1.25rem;
        font-weight: 600;
    }
    #block-webinar-frontmenu {
        margin-bottom: 24px;
    }
    .header-soc {
        display: block;
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .header-soc__items {
        display: flex;
        gap: 14px;
    }
    .header-soc__item {
        position: relative;
        width: 40px;
        height: 40px;
        background: var(--color-muted-bg);
        border-radius: 50%;
    }
    .header-soc__item:after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        margin-left: -10px;
    }
    .header-soc__item--inst:after {
        background: url(../img/soc/ins.svg) no-repeat center;
    }
    .header-soc__item--tiktok:after {
        background: url(../img/soc/tiktok.svg) no-repeat center;
    }
    .header-soc__item--yt:after {
        background: url(../img/soc/yt.svg) no-repeat center;
    }
    .header-soc__item--fb:after {
        background: url(../img/soc/fb.svg) no-repeat center;
    }
    
    .user-auth .site-header .header-soc {
        display: none;
    }
    
    .user-auth .block-user-name-info-block {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translate(-50%, 0);
    }
    
    #block-webinar-loginblock {
        display: none;
    }
    
    .site-header .container {
        position: relative;
    }
    
    #block-webinar-loginblock-2 {
        position: absolute;
        right: 70px;
        top: 4px;
        display: block;
        transform: scale(0.8);
    }
    
    .footer-content-right {
        width: 550px;
    }
    #block-webinar-email .field--name-body a {
        font-size: 2.22rem;
        line-height: 2.1rem;
    }
    .page-title__label span {
        font-size: 0.6825rem;
    }
    .page-title__label {
        margin-bottom: 16px;
    }
    #block-webinar-kursy {
        display: block;
    }
    .region-header-branding {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 57px;
    }
    .header-left {
        flex: 1;
    }
    #block-webinar-kursy .menu-item a {
        font-size: 0.875rem;
        font-weight: 400;
        letter-spacing: -0.04em;
    }
}

@media (max-width: 767px) {
    h1 {
        margin-bottom: 14px;
        font-size: 1.75rem;
    }
    .page-title {
        line-height: 2rem;
    }
    h2,
    h3 {
        margin-top: 16px;
        margin-bottom: 12px;
        font-size: 1rem;
    }
    p {
        margin-bottom: 16px;
        font-size: 0.875rem;
    }
    li {
        font-size: 0.875rem;
    }
    .p
    .btn,
    .btn-primary {
        padding-top: 14px;
        padding-bottom: 14px;
        font-size: 0.875rem;
    }
    .block-system-branding-block img {
        max-width: 130px;
    }
    .menu-toggle {
        width: 40px;
        height: 32px;
    }
    .layout-container {
        padding-top: 64px;
    }
    .nav-block.active {
        top: 64px;
    }
    .site-main {
        padding: 24px 0 60px;
    }
    .site-footer {
        padding-top: 32px;
        padding-bottom: 32px;
        background: none;
    }
    .footer-content {
        display: block;
        text-align: center;
    }
    .footer-content-left {
        margin-bottom: 45px;
        padding-right: 0;
    }
    #block-webinar-footerlogo {
        padding-right: 0;
        padding-top: 0;
    }
    #block-webinar-footerlogo img {
        max-width: 128px;
        display: inline-block;
    }
    .footer_soc_block {
        display: block;
        margin-bottom: 60px;
    }
    footer.site-footer .footer_soc_block a {
        justify-content: center;
    }
    .footer_soc_block p:not(:last-child) {
        margin-bottom: 22px;
    }
    .footer-content-right {
        width: 100%;
    }
    #block-webinar-email .field--name-body {
        padding-bottom: 12px;
        margin-bottom: 32px;
    }
    #block-webinar-email .field--name-body a {
        font-size: 1.3125rem;
    }
    .footer_contacts-addr {
        margin-bottom: 35px;
        padding-bottom: 32px;
        border-bottom: 1px solid #D6D9E7;
    }
    .footer_contacts,
    footer.site-footer .footer_soc_block a,
    .site-footer ul.menu li a {
        font-size: 0.875rem;
    }
    .region.region-footer-third {
        flex-wrap: wrap;
    }
    #block-webinar-footer1,
    #block-webinar-nizhniykolontitul {
        flex: 0 0 100%;
    }
    .site-footer ul.menu li:not(:last-child) {
        margin-bottom: 18px;
    }
    #block-webinar-footer1 {
        margin-bottom: 18px;
    }
    .footer_contacts-pay {
        justify-content: center;
        padding-top: 54px;
    }
    .footer-content-bottom {
        padding-top: 32px;
        gap: 16px;
        text-align: center;
    }
    .footer-bottom-menu ul.menu li:not(:last-child) {
        margin-bottom: 16px;
    }
    .footer-bottom-menu ul.menu {
        display: block;
        text-align: center;
    }
    .lesson-actions__social {
        padding-top: 24px;
    }
    .homework-btn-link {
        padding: 10px 21px;
    }
    .homework-btn-link--whatsapp:before {
        background-position: -101px -73px;
    }
    .homework-btn-link--tg:before {
        background-position: -73px -72px;
    }
    .homework-btn-link--viber:before {
        background-position: -130px -72px;
    }
    .path-checkout .site-main {
        padding: 24px 0 60px;
    }
    .path-checkout .page-title {
        margin-bottom: 14px;
    }
    .checkout-complete_msg-btn {
        margin-top: 32px;
    }
    .checkout-complete_msg {
        margin-bottom: 60px;
    }
    .checkout-complete_contacts-label {
        margin-bottom: 24px;
        font-size: 1rem;
    }
    .checkout-complete_contacts-text p {
        font-size: 1.125rem;
    }
    .checkout-complete_contacts-text p:not(:last-child) {
        margin-bottom: 20px;
    }
    .checkout-complete_contacts-seti .lesson-actions__social {
        padding-top: 0;
    }
    .checkout-complete_contacts-seti .homework-btn-link {
        padding: 14px;
    }
    .path-checkout .page-title {
        margin-bottom: 14px;
        line-height: 2rem;
    }
    .page-title__label span {
        padding: 6px;
    }
    .page-title__label {
        margin-bottom: 16px;
    }
    .alert-page-content .page-title {
        margin-bottom: 14px;
    }
    .alert-page-content {
        flex-direction: column;
        gap: 44px;
    }
    .alert-page-content > div {
        width: 100%;
    }
    .alert-page-content .btn {
        margin-top: 24px;
    }
    .user-login-form, .user-pass, .user-form, .form-style-1 {
        padding: 24px;
    }
    #block-webinar-loginblock-2 {
        right: 65px;
        top: -5px;
    }
}

@media (max-width: 440px) {
    .checkout-complete_contacts-seti .lesson-actions__social {
        justify-content: space-between;
        gap: 6px;
    }
    .homework-btn-link span {
        line-height: 1;
        font-size: 0.8175rem;
    }
    .checkout-complete_contacts-seti .homework-btn-link {
        padding: 14px 12px;
    }
    .form-type-checkbox label,
    .form-type-radio label {
        font-size: 0.88rem;
    }
    .checkout-layout__change-mode {
        font-size: 0.815rem;
    }
    #block-webinar-kursy .menu-item a {
        font-size: 0.8125rem;
    }
    .region-header-branding {
        padding-right: 32px;
    }
    .footer-bottom-menu ul.menu,
    .footer-bottom-menu ul.menu li:last-child {
        margin-bottom: 0;
    }
    .footer-bottom-menu ul.menu li a,
    .copyright-block {
        font-size: 0.625rem;
        line-height: 0.875rem;
    }
}

@media (max-width: 390px) {
    #block-webinar-email .field--name-body a {
        font-size: 1rem;
    }
    .checkout-complete_contacts-seti .homework-btn-link {
        padding: 9px 9px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 350px) {
    .checkout-complete_contacts-seti .homework-btn-link span {
        display: none;
    }
    .checkout-complete_contacts-seti .lesson-actions__social {
        justify-content: space-evenly;
    }
    .region-header-branding {
        padding-right: 24px;
    }
}

@media (max-width: 330px) {
    #block-webinar-email .field--name-body a {
        font-size: 0.875rem;
    }
}