body {
    background-color: var(--Black, #0A0B0F);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;

    p, h1, h2, h3, ul {
        margin-block-start: 0;
        margin-block-end: 0;
        padding-inline-start: 0px;
    }

    

}

header {
    .header-wrapper{
        width: 100%;
        height: 800px;
        position: relative;
        background:linear-gradient(90deg, #0A0B0F 2%, transparent 20%, transparent 80%, #0A0B0F 98%), url("assets/header-micro.svg"), url("assets/header-light.png"), url("assets/header-text.svg"), url("assets/smoke.svg"), url("assets/header-back.svg");
        background-repeat: no-repeat;
        background-position: center, center, center top -2px, center top 63%, center, center;
    }

    nav {
        display: flex;
        flex-direction: column;
        width: fit-content;
        flex-wrap: wrap;
        height: 105px;
        position: relative;
        top: calc(57% - 5px);
        left: calc(50% - 385px);
        transform: translate(-50%, -50%);
        column-gap: 32px;
        align-items: flex-end;

        .header-logo {
            width: 213px;
            height: 84px;
            background-image: url("assets/logo.svg");
            background-size: 213px 84px;
            background-position: left top;
            background-repeat: no-repeat;
            position: relative;
            top: 8px;
        }
    }

    a {
        color: rgba(248, 248, 255, 0.50);
        text-align: right;
        font-family: Unbounded;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        text-decoration: none;

        display: flex;
        padding: 8px 12px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: fit-content;
    }

    a:hover {
        color: #F8F8FF;
    }
}

.divider0 {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #0A0B0F 1.13%, #FF4FD8 24.95%, #F8F8FF 48.76%, #C2A2FF 72.58%, #0A0B0F 96.4%), var(--Black, #0A0B0F);
}

main {
    width: 100%;
    height: fit-content;
    min-height: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

    .gradient {
        display: flex;
        z-index: 100;
        width: 100%;
        min-width: 360px;
        height: 747px;
        min-height: 350px;
        background: linear-gradient(90deg, #0A0B0F 10%, transparent 20%, transparent 80%, #0A0B0F 90%);
        /* background-size: cover; */
        background-size: 100%;
        background-repeat: no-repeat;


        position: absolute;
        top: 0;
        left: 0;

        pointer-events: none;
    }

    .events {
        width: fit-content;
        max-width: 1200px;
        display: flex;
        gap: 32px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        /* padding-left: 50vw;
        padding-right: 50vw; */

        /* background: linear-gradient(90deg, #0A0B0F 10%, transparent 20%, transparent 80%, #0A0B0F 90%); */

        .corporate {
            margin-left: 50vw;
        }

        .classes {
            margin-right: 50vw;
        }

        .event-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 64px 0 130px 0;
            background-image: url("assets/event-spotlight.svg");
            background-position: bottom -20px center;
            background-repeat: no-repeat;
            position: relative;
            mix-blend-mode: luminosity;
            scroll-snap-align: center;
            scroll-snap-stop: always;

            h1 {
                color: var(--White, #F8F8FF);
                font-family: Unbounded;
                font-size: 24px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                text-transform: uppercase;
                margin-bottom: 24px;
                text-align: center;

                .bold-title {
                font-weight: 800;
                }
            }

            p {
                color: var(--White, #F8F8FF);
                text-align: center;
                font-family: Inter;
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                margin-bottom: 32px;
                opacity: 0.5;
                visibility: hidden;
            }

            .link-wrapper {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;

                .inactive {
                    border: none;
                    opacity: 0.5;
                }

                .inactive:hover {
                    cursor: not-allowed;
                }
            }

            .gallery {
                color: var(--White, #F8F8FF);
                font-family: Inter;
                font-size: 14px;
                font-style: normal;
                font-weight: 600;
                line-height: normal;
                text-decoration: none;
                display: flex;
                padding: 12px 24px;
                justify-content: center;
                align-items: center;
                gap: 10px;
                border: 1px solid #F8F8FF;
                border-image: linear-gradient(0deg, #F8F8FF, transparent 75%) 1;
                background: rgba(248, 248, 255, 0.10);
                margin-bottom: 12px;
                visibility: hidden;
                z-index: 11;
            }

            .form {
                color: var(--White, #F8F8FF);
                font-family: Inter;
                font-size: 14px;
                font-style: normal;
                font-weight: 600;
                line-height: normal;
                text-decoration-line: underline;
                text-decoration-style: solid;
                text-decoration-skip-ink: auto;
                text-decoration-thickness: auto;
                text-underline-offset: auto;
                text-underline-position: from-font;
                /* margin-bottom: 48px; */
                margin-bottom: 40px;
                visibility: hidden;
                z-index: 11;
            }

            .gallery:hover {
                cursor: pointer;
                background-color: #F8F8FF;
                color: #12141B;
            }


            .form:hover {
                cursor: pointer;
            }

            .card-gallery{
                display: flex;
                gap: 32px;
                z-index: 10;
                margin-top: auto;
                

                .gallery-photo {
                    width: 132px;
                    height: 240px;
                    /* aspect-ratio: 19/34; */
                    border: 1px solid rgba(0, 0, 0, 0.15);
                    /* background-size: 152px 272px; */
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: center center;
                    box-sizing: border-box;
                }

                .gallery-photo.business1 {
                    width: 298px;
                    height: 240px;
                }

                .fest1 {
                    background-image: url("assets/fest1.jpg");
                    border: 1px solid transparent;
                    border-image: linear-gradient(100deg, #000000 15%, #FFFFFF) 1;
                }
                .fest2 {
                    background-image: url("assets/fest2.jpg");
                    border: 1px solid transparent;
                    border-image: linear-gradient(250deg, #000000 15%, #FFFFFF) 1;
                }
                .concert1 {
                    background-image: url("assets/concert1.png");
                }
                .concert2 {
                    background-image: url("assets/concert2.png");
                }
                .business1 {
                    background-image: url("assets/business1.png");
                }
                .business2 {
                    background-image: url("assets/business2.png");
                }

                .corporate1 {
                    background-image: url("assets/corporate1.png");
                }
                .corporate2 {
                    background-image: url("assets/corporate2.png");
                }

                .private1 {
                    background-image: url("assets/private1.png");
                }
                .private2 {
                    background-image: url("assets/private2.png");
                }
                .class1 {
                    background-image: url("assets/class1.png");
                }
                .class2 {
                    background-image: url("assets/class2.png");
                }
            }

            img.light {
                position: absolute;
                bottom: -34px;
                display: none;

                width: 100%;
                height: 100%;
            }
        }

        .event-card:hover,
        .event-card.is-hovered {
            mix-blend-mode: normal;

            background: url("assets/spotlight-hover.svg");
            background-repeat: no-repeat;
            background-position: center bottom -20px;

            img.light {
                display: flex;
            }
            p, a.gallery, a.form {
                visibility: visible;
            }

            h1 {
                visibility: visible;
            }
        }

        .event-card:not(:hover, .is-hovered) h1 {
            visibility: hidden;
        }

                    
        .event-card:not(:hover, .is-hovered) .gallery-photo {
            /* border: 2px solid #0A0B0F;
            box-sizing: border-box; */
            outline: 8px solid #0A0B0F;
            outline-offset: -8px;
        }

        .events::-webkit-scrollbar {
            display: none;
        }
        }
    }

    .divider1 {
        width: 100%;
        height: 72px;
        background-image: url("assets/div-bar.svg");
        margin-bottom: 64px;
        transform: rotate(180deg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: bottom;
    }

    .team {
        display: flex;
        flex-flow: column;
        flex-wrap: wrap;
        width: 1200px;
        height: 576px;
        column-gap: 64px;
        /* flex: 1 0 0; */

        p, li {
            color: var(--White, #F8F8FF);
            font-family: Inter;
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            overflow-wrap: break-word;
        }

        h1 {
            color: var(--Rose, #FF4FD8);
            font-family: Unbounded;
            font-size: 32px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            text-transform: uppercase;
            margin-bottom: 12px;
        }

        h2 {
            color: var(--White, #F8F8FF);
            font-family: Unbounded;
            font-size: 20px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            text-transform: uppercase;
            margin-bottom: 12px;
        }

        h3 {
            color: var(--Gray, #818287);
            font-family: Inter;
            font-size: 12px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            text-transform: uppercase;
            margin-bottom: 24px;
        }

        ul {
            display: flex;
            flex-direction: column;
            list-style: none;
            gap: 16px;
        }

        .bold-title {
            font-weight: 700;
        }

        .director-photo {
            width: 264px;
            height: 576px;
            background: url("assets/director-photo.png");
            background-repeat: no-repeat;
            background-size: cover;
            mix-blend-mode: lighten;
            flex-basis: 100%;
            border: 1px solid #0A0B0F;
            box-sizing: border-box;
        }
        
        .director {
            flex-basis: 33%;
        }

        .tops {
            border-top: 1px solid rgba(217, 217, 217, 0.25);
            flex-basis: calc(66% - 1px);
            display: flex;
            flex-direction: column;
            margin-top: auto;

            div {
                margin-top: auto;
            } 
        }

        .team-wrapper {
            flex-basis: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            /* gap: 60px; */
        }

        .tech-prod {
            background-image: url("assets/tech-prod-icon.svg");
        }

        .scene {
            background-image: url("assets/scene-icon.svg");
        }

        .media-team {
            background-image: url("assets/media-team-icon.svg");
        }

        .decorators {
            background-image: url("assets/decorators-icon.svg");
        }

        .training {
            background-image: url("assets/training-icon.svg");
        }

        .team-block {
            background-repeat: no-repeat;
            padding-left: 24px;
        }
    }
/* } */

.divider2 {
    width: 100%;
    height: 72px;
    background-image: url("assets/div-bar.svg");
    margin-top: 196px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

footer {
    width: 1280px;
    height: 274px;
    display: flex;
    /* padding: 134px 85px 96px 85px; */
    padding-top: 160px;
    padding-bottom: 96px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 85px;
    padding-left: 85px;
    justify-self: center;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    column-gap: 70px;

    color: var(--White, #F8F8FF);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    background: url("assets/footerlight.png"), url("assets/footer-spotlights.svg");
    background-repeat: no-repeat;
    background-position: top -28px right -29px, top -19px center;  

    .footer-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    h1 {
        color: var(--White, #F8F8FF);
        font-family: Unbounded;
        font-size: 32px;
        font-style: normal;
        font-weight: 400;
        line-height: 125%; /* 40px */
        text-transform: uppercase;
    }

    h2 {
        color: var(--Gray, #818287);
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
    }

    .bold-title {
        font-weight: 700;
    }

    .footer-logo {
        width: 213px;
        height: 84px;
        background-image: url("assets/logo.svg");
        background-size: 213px 84px;
        background-position: left top;
        background-repeat: no-repeat;
        margin-right: 30px;
        margin-top: 8px;
    }

    .copyright {
        color: var(--White, #F8F8FF);
        font-family: Inter;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 22.4px */
        opacity: 0.5;
    }

    .contacts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 40px auto;
        gap: 32px;

        h1 {
            grid-column: 1 / 3;
        }

        .director-contacts {

            .email {
                margin-top: 12px;
            }
            .email:hover {
                color: #FF4FD8;
                cursor: pointer;
            }

            .dir-cont-wrapper {
                display: flex;
            }
            
            .phone {
                background-image: url("assets/phone-icon.svg");
                background-repeat: no-repeat;
                padding: 12px 12px 12px 24px;
                background-size: 12px 12px;
                background-position: 8px 16px;
            }

            .phone:hover {
                background-image: url("assets/phone-icon-hover.svg");
            }

            .tg {
                width: 16px;
                height: 16px;
                background-image: url("assets/tg-icon.svg");
                background-repeat: no-repeat;
                padding: 12px;
                background-position: 12px 12px;
            }

            .tg:hover {
                background-image: url("assets/tg-icon-hover.svg");
            }

            .inst {
                width: 16px;
                height: 16px;
                background-image: url("assets/inst-icon.svg");
                background-repeat: no-repeat;
                padding: 12px;
                background-position: 12px 12px;
            }

            .inst:hover {
                background-image: url("assets/inst-icon-hover.svg");
            }

            .phone:hover,
            .tg:hover,
            .inst:hover {
                color: #FF4FD8;
                cursor: pointer;
            }
        }

        /* p {
            margin-top: 12px;
        } */

        p:hover {
            color: #FF4FD8;
            cursor: pointer;
        }
    }

    .slogan {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: wrap;
        max-width: 252px;

        p {
            word-break: break-word;
            overflow-wrap: break-word;
        }

        a {
            display: flex;
            padding: 12px 24px;
            justify-content: center;
            align-items: center;
            gap: 10px;
            border: 1px solid rgba(18, 20, 27, 0.25);
            background: rgba(248, 248, 255, 0.10);
            border-image: linear-gradient(180deg, #F8F8FF, transparent 75%) 1;
            text-decoration: none;
            width: fit-content;

            color: var(--White, #F8F8FF);
            font-family: Inter;
            font-size: 14px;
            font-style: normal;
            font-weight: 600;
            line-height: normal;
        }

        a:hover {
            cursor: pointer;
            background-color: #F8F8FF;
            color: #12141B;
        }
    }
}

/* Собственная модальная галерея */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--Black, #0A0B0F);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.custom-modal-content {
    position: relative;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal-image,
.custom-modal-video {
    height: 100vh;
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}

.custom-close {
    background: url("assets/gal-close.svg");
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #F8F8FF;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1001;
    width: 40px;
    height: 40px;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    cursor: pointer;
}

.custom-close:hover {
    background-color: rgba(248, 248, 255, 0.10);
}

.custom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    background: rgba(248, 248, 255, 0.10);
    border-radius: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.custom-nav:hover {
    background-color: rgba(248, 248, 255, 0.75);
}

.custom-prev {
    background: url("assets/gal-left.svg");
    background-repeat: no-repeat;
    left: 20px;
    background-position: 50% 50%;
}

.custom-prev:hover {
    background: url("assets/gal-left-hover.svg");
    background-position: 50% 50%;
    transform: translateY(-50%) rotate(180deg);
}

.custom-next {
    background: url("assets/gal-left.svg");
    transform: translateY(-50%) rotate(180deg);
    right: 20px;
    background-position: 50% 50%;
}

.custom-next:hover {
    background: url("assets/gal-left-hover.svg");
    background-position: 50% 50%;
    transform: translateY(-50%);
}

.custom-counter {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #F8F8FF;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(248, 248, 255, 0.2);
}

/* Скрытые галереи */
.lightbox-gallery {
    position: absolute;
    left: -9999px;
    top: -9999px;
    visibility: hidden;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1279px) {
    .custom-close {
        top: 0px;
        right: 0px;
    }
    
    .custom-prev {
        left: 0px;
    }
    
    .custom-next {
        right: 0px;
    }
}

/* TABLET */

@media (min-width: 768px) and (max-width: 1279px) {
    body {
        max-width: 1279px;
    }

    header {
        .header-wrapper {
            background: none;
            width: 100%;
            height: 700px;
            background:linear-gradient(90deg, #0A0B0F 2%, transparent 20%, transparent 80%, #0A0B0F 98%), url("assets/header-micro.svg"), url("assets/logo.svg"), url("assets/header-light-tablet.png"), url("assets/header-text-tablet.svg"), url("assets/smoke.svg"), url("assets/bar-tablet.svg"), url("assets/header-back-tablet.svg");
            background-repeat: no-repeat;
            background-size: contain, cover, 96px 38px, auto, 328px 418px, cover, auto, cover;
            background-position: center, center, top calc(50% + 115px) right calc(50% - 115px), center top 25px, center top 56%, center, top, center;

            nav {
                position: absolute;
                top: 0;
                left: 50%;
                transform: translate(-50%, 0);
                flex-direction: row;
                height: 40px;
                column-gap: 0;

                a {
                    font-size: 10px;
                    display: flex;
                    width: 84px;
                    padding: 8px 12px;
                }

                .header-logo {
                    display: none;
                }
            }
        }
    }

    main {
        width: 100%;
        min-height: 1075px;
        justify-self: center;
        flex-wrap: wrap;
        overflow: hidden;

        .events {
            justify-self: center;
            max-width: 736px;
            display: flex;
            gap: 32px;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;
            -ms-overflow-style: none;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
            padding-left: 0;
            padding-right: 0;

            .event-card:not(:hover, .is-hovered) .gallery-photo {
                border: none;
            }

            .event-card:not(:hover, .is-hovered) .gallery-photo {
                /* border: 2px solid #0A0B0F;
                box-sizing: border-box; */
                outline: 8px solid #0A0B0F;
                outline-offset: -8px;
            }

            .event-card:hover,
            .event-card.is-hovered {
                mix-blend-mode: normal;
    
                background: url("assets/spotlight-hover.svg");
                background-repeat: no-repeat;
                background-position: center bottom -20px;
    
                img.light {
                    display: flex;
                }
                p, a.gallery, a.form {
                    visibility: visible;
                }
            }

            .corporate {
                margin-left: 50vw;
            }

            .business-events {
                margin-right: 50vw;
            }

            .event-card {
                padding: 48px 0 130px 0;
                /* background-image: url("assets/event-light.png"), url("assets/event-spotlight.svg"); */
                max-width: 224px;
                /* background: url("assets/spotlight-hover.svg"); */
                background-image: url("assets/event-spotlight.svg");
                scroll-snap-align: center;
                scroll-snap-stop: always;

                background-repeat: no-repeat;
                background-position: center bottom -20px;

                h1 {
                    font-size: 18px;
                }
                p, a {
                    font-size: 12px;
                }

                img.light {
                    display: none;
                    width: 368px;
                    height: 734px;
                    bottom: -20px;
                }

                p {
                    margin-bottom: auto;
                }

                .card-gallery {
                    gap: 16px;

                    .gallery-photo {
                        width: 104px;
                        height: 186px;
                    }

                    .gallery-photo.business1 {
                        width: 224px;
                        height: 186px;
                    }
                }

                .link-wrapper {
                    flex-direction: row;
                    margin-top: auto;
                    justify-content: space-between;
                    gap: 16px;

                    .form {
                        display: flex;
                        height: 40px;
                        padding: 12px 15px;
                        justify-content: center;
                        align-items: center;
                        gap: 10px;
                        flex: 1 0 0;
                        margin-bottom: 12px;
                    }

                    .gallery {
                        padding: 12px 26px;
                    }

                    a {
                        font-size: 12px;
                    }
                }
            }

            .event-card:not(.is-hovered) h1 {
                visibility: hidden;
            }
        }

        .events::-webkit-scrollbar {
            display: none;
        }

        /* Скрываем кнопки прокрутки на планшетах */
        .scroll-buttons {
            display: none;
        }

        /* .divider1 {
            margin-bottom: 64px;
        } */

        .team {
            width: fit-content;
            max-width: 736px;
            column-gap: 16px;
            height: 387px;
            min-height: 387px;

            .director-photo{
                width: 180px;
                height: 390px;
            }

            .team-wrapper {
                gap: 0;
                justify-content: space-between;
            }

            .team-block {
                padding-left: 0;
                background-size: 10px 10px;
                background-position: 0px 1px;
            }

            h1 {
                font-size: 20px;
                margin-bottom: 8px;
            }
            h2 {
                font-size: 16px;
                margin-bottom: 8px;
            }
            h3 {
                font-size: 10px;
                padding-left: 14px;
                margin-bottom: 16px;
            }
            ul {
                gap: 8px;
            }
            p, li {
                font-size: 12px;
            }
        }
    }

    .divider2 {
        margin-top: 64px;
    }

    footer {
        width: 100%;
        /* max-width: 736px; */
        flex-direction: row;
        justify-content: center;
        column-gap: 16px;
        padding: 122px 0px 96px 0px;
        flex-wrap: wrap;
        height: 178px;
        background: url("assets/footer-light-tablet.png"), url("assets/footer-spotlights-tablet.svg");
        background-repeat: no-repeat;
        background-position: top -39px right calc(50% - 269px), top -17px center;
        overflow: hidden;

        div, p {
            font-size: 12px;
        }

        h1 {
            font-size: 20px;
        }

        h2 {
            font-size: 10px;
        }

        .footer-wrapper{
            max-width: 172px;
        }

        .footer-logo {
            width: 128px;
            height: 50px;
            background-size: 128px 50px;
        }

        .copyright {
            font-size: 12px;
        }

        .contacts {
            grid-template-rows: auto auto;
            grid-template-columns: 1fr 1fr;
            gap: 32px 16px;
            max-width: 360px;

            p {
                margin-top: 6px;
            }

            .director-contacts .phone {
                color: transparent;
                -webkit-text-fill-color: transparent;
                font-size: 0;

                width: 40px;
                height: 40px;
                background-size: 16px 16px;
                padding: 0;
                background-position: 12px 12px;
            }

            .director-contacts .email {
                margin-top: 6px;
            }
        }

        .slogan{
            max-width: 172px;

             a {
                font-size: 12px;
            }
    }
    }
}

/* MOBILE */

@media (max-width: 767px) {

    /* Скрытие скроллбара для всех элементов */
* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

/* Дополнительно для основных элементов */
html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

    body {
        width: 100vw;
    }

    main .divider1 {
        width: 100%;
        background-size: cover;
        /* margin-bottom: 96px; */
    }
    .divider2 {
        background-size: cover;
        margin-top: 64px;
        width: 100%;
    }

    header {
        width: 100vw;
        height: 700px;

        .header-wrapper {
            background: none;
            width: 100vw;
            height: 700px;
            background: /*linear-gradient(90deg, #0A0B0F 2%, transparent 20%, transparent 80%, #0A0B0F 98%),*/ url("assets/header-micro-mobile.svg"), url("assets/header-camera-mobile.svg"), url("assets/header-monitors-mobile.svg"), url("assets/logo.svg"), url("assets/header-light-mobile.png"), url("assets/header-text-tablet.svg"), url("assets/smoke.svg"), url("assets/bar-tablet.svg"), url("assets/header-back-tablet.svg");
            background-repeat: no-repeat;
            background-size: /* contain, */ auto, auto, auto, 96px 38px, cover, 328px 418px, cover, auto, cover;
            background-position: /* center, */ center bottom, top calc(50% - 96px) left calc(50% - 215px), center bottom, top calc(50% + 115px) right calc(50% - 115px), top 18px center, center top 56%, center, top, center;

            nav {
                position: absolute;
                top: 0;
                left: 50%;
                transform: translate(-50%, 0);
                flex-direction: row;
                height: 40px;
                column-gap: 0;
                flex-wrap: nowrap;

                a {
                    font-size: 10px;
                    display: flex;
                    width: 84px;
                    padding: 8px 12px;
                }

                .header-logo {
                    display: none;
                }
            }
        }
    }

    main {
        width: fit-content;
        min-height: 1075px;
        justify-content: center;
        justify-self: center;
        width: 100%;
        min-width: 360px;
        max-width: 100%;
        height: fit-content;

        .events {
            padding-left: 16px;
            padding-right: 16px;
            justify-self: center;
            width: 100%;
            display: flex;
            overflow-x: auto;
            overflow-y: hidden;
            scrollbar-width: none;
            -ms-overflow-style: none;

            gap: 32px;

            padding-left: 50vw;
            padding-right: 50vw;
            box-sizing: border-box;

                /* Snap scroll настройки */
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;

            /* .festivals {
                order: 2;
            }
            .concerts {
                order: 1;
            }
            .business-events {
                order: 3;
            } */

            .event-card {
                /* Snap scroll настройки */
                scroll-snap-align: center;
                scroll-snap-stop: always;
                width: 320px;
                /* height: 420px; */

                padding-left: 0;
                padding-right: 0;
                padding-bottom: 104px;
                padding-top: 40px;
    
                h1 {
                    font-size: 18px;
                    margin-bottom: 16px;
                }
        
                p {
                    font-size: 12px;
                    margin-bottom: 16px;
                }

                img.light {
                    height: 108%;
                    bottom: -11px;
                }

                .link-wrapper {
                    flex-direction: row;
                    gap: 16px;
                    margin-top: auto;

                    a {
                        font-size: 12px;
                    }

                    .form {
                        display: flex;
                        height: 40px;
                        padding: 12px 16px;
                        justify-content: center;
                        align-items: center;
                        gap: 10px;
                        flex: 1 0 0;
                        margin-bottom: 12px;
                    }

                    .gallery {
                        padding: 12px 26px;
                    }
                }

                .card-gallery {
                    gap: 16px;

                    .gallery-photo {
                        width: 104px;
                        height: 186px;
                        background-size: 104px 186px;
                    }

                    .gallery-photo.business1 {
                        width: 224px;
                        height: 186px;
                        background-size: 224px 186px;
                    }
                }
            }
        }

        .event-card:not(.is-hovered) h1 {
            visibility: hidden;
        }

        .events::-webkit-scrollbar {
            display: none;
          }

        /* Скрываем кнопки прокрутки на мобильных устройствах */
        .scroll-buttons {
            display: none;
        }

        .team {
            padding-left: 16px;
            padding-right: 16px;
            justify-self: center;
            min-width: 328px;
            width: fit-content;
            max-width: 448px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 2fr 402px;
            column-gap: 16px;
            /* row-gap: 32px; */
            height: fit-content;

            .director-photo {
                grid-column: 1 / 2;
                grid-row: 1 / 3;
                width: 164px;
                height: 356px;
                /* width: 100%;
                height: 100%; */
                background-size: contain;
            }

            .director {
                grid-column: 2 / 3;
                grid-row: 1 / 2;
                padding-top: 16px;
            }

            .tops {
                grid-column: 2 / 3;
                grid-row: 2 / 3;
                margin-bottom: 24px;
                margin-top: 12px;
            }

            .team-wrapper {
                gap: 0;
                justify-content: space-between;
                margin-top: 24px;
            }

            .team-block {
                padding-left: 0;
                background-size: 10px 10px;
                background-position: 0px 1px;
            }

            h1 {
                font-size: 20px;
                margin-bottom: 8px;
            }
            h2 {
                font-size: 16px;
                margin-bottom: 8px;
            }
            h3 {
                font-size: 10px;
                padding-left: 14px;
                margin-bottom: 16px;
            }
            ul {
                gap: 8px;
            }
            p, li {
                font-size: 12px;
            }
        }
    }

    footer {
        justify-self: center;
        min-width: 328px;
        width: fit-content;
        max-width: 480px;
        height: fit-content;

        background-image: url("assets/footer-light-mobile.png"), url("assets/footer-spotlights-mobile.svg");
        background-repeat: no-repeat;
        background-size: auto;
        background-position: top -40px right calc(50% + 32px), top -18px center;

        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 16px;

        padding: 107px 16px 64px 16px;
        margin: 0;
        position: relative;

        div, p {
            font-size: 12px;
        }

        h1 {
            font-size: 20px;
        }

        h2 {
            font-size: 10px;
            margin-top: 16px;
        }

        .slogan a {
            font-size: 12px;
            padding: 12px 22px;
        }

        .footer-logo {
            width: 128px;
            height: 50px;
            background-size: 128px 50px;
            margin-top: 4px;
        }

        .copyright {
            font-size: 12px;
            position: relative;
            top: 3px;
        }

        .contacts {
            display: flex;
            flex-direction: column;
            gap: 0;

            h1 {
                margin-bottom: 16px;
            }

            p {
                margin-top: 6px;
            }

            .director-contacts .phone {
                color: transparent;
                -webkit-text-fill-color: transparent;
                font-size: 0;

                width: 40px;
                height: 40px;
                background-size: 16px 16px;
                padding: 0;
                background-position: 12px 12px;
            }

            .director-contacts .email {
                margin-top: 6px;
            }

            p, .email {
                word-break: break-word;
                overflow-wrap: break-word;
            }
        }

        .slogan {
            position: absolute;
            top: 202px;
            left: 16px;
            gap: 16px;
            max-width: calc(50% - 32px);

            /* p {
                word-break: break-word;
                overflow-wrap: break-word;
            } */
        }
    }
}

/* изменение текста при смене разрешения */

@media (min-width: 1280px) {
    .mobile-text {
        display: none;
    }

    /* Стили для кнопок прокрутки - только для десктопа */
    .scroll-buttons {
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 1200px;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 101;
    }

    .scroll-btn {
        width: 24px;
        height: 24px;
        background: none;
        border: none;
        /* border-radius: 50%; */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        pointer-events: auto;
        /* transition: all 0.3s ease; */
        /* backdrop-filter: blur(10px); */
    }

    .scroll-btn img {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

    .scroll-left {
        margin-left: -24px;
    }

    .scroll-right {
        margin-right: -24px;
    }

    main .gradient {
        background: linear-gradient(90deg, #0A0B0F 20%, transparent 30%, transparent 70%, #0A0B0F 80%);
    }
}

@media (max-width: 1279px) {
    .desktop-text {
        display: none;
    }
}

/* изменения 11.11.25- объединение с fwc.su */

/* Десктоп */


@media (min-width: 1280px) {
    main {
    .header-wrapper {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        display: block;
       }
    
       .header {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        /* width: 1200px; */
        width: 1280px;
        padding-left: 40px;
        padding-right: 40px;
        height: 64px;
      } 
    
      .header .logo-small{
        position: relative;
        left: 40px;
        width: 110px;
        height: 48px;
      }
    
        .first-block {
          width: 100%;
          max-width: 1280px;
          min-height: 100vh;   
          max-height: 100vh;
          margin: 0 auto;
          display: block;
          position: relative;
          background: linear-gradient(270deg, var(--Black, #0D0D0D) 0%, rgba(13, 13, 13, 0.00) 49.94%, var(--Black, #0D0D0D) 99.88%), linear-gradient(180deg, rgba(13, 13, 13, 0.00) 80.88%, var(--Black, #0D0D0D) 100%), radial-gradient(106.63% 142.04% at 100% 0%, var(--Rose-300, rgba(204, 109, 242, 0.20)) 0%, rgba(204, 109, 242, 0.00) 100%), radial-gradient(36.62% 98.13% at 60.57% 67.11%, var(--Violet-300, rgba(99, 80, 217, 0.20)) 0%, rgba(99, 80, 217, 0.00) 100%), url("assets/frame1.png") lightgray 50% / cover no-repeat;
    
    
    
          .first-block__desc {
            width: 580px;
            color: var(--Gray-100, #E6E6E6);
            text-align: center;
            font-family: Montserrat;
            font-size: 20px;
            font-style: normal;
            font-weight: 500;
            line-height: 130%; /* 26px */
            text-transform: uppercase;
          }
          .first-block__logo-big{
            margin-top: -130px;
          }
        }
    
        .first-block__gradient {
          background: linear-gradient(270deg, var(--Black, #0D0D0D) 0%, rgba(13, 13, 13, 0.00) 49.94%, var(--Black, #0D0D0D) 99.88%), linear-gradient(180deg, rgba(13, 13, 13, 0.00) 80.88%, var(--Black, #0D0D0D) 100%), radial-gradient(106.63% 142.04% at 100% 0%, var(--Rose-300, rgba(204, 109, 242, 0.20)) 0%, rgba(204, 109, 242, 0.00) 100%), radial-gradient(36.62% 98.13% at 60.57% 67.11%, var(--Violet-300, rgba(99, 80, 217, 0.20)) 0%, rgba(99, 80, 217, 0.00) 100%);
        }
    
        .burger-menu.open{
          left: 50%;
          top: 0;
          transform: translateX(-50%);
          max-width: 1280px;
        }
    
        .burger-menu__close{
          top: 20px;
          right: 44px;
          img{
            width: 48px;
            height: 48px;
          }
        }
    
        .burger {
          width: 48px;
          height: 48px;
          margin-right: 40px;
        }
    }
}

main{
.first-block {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    width: 100vw;
    min-width: 360px;
    /* max-width: 768px; */
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    /* background: radial-gradient(106.63% 142.04% at 100% 0%, var(--Rose-300, rgba(204, 109, 242, 0.20)) 0%, rgba(204, 109, 242, 0.00) 100%), radial-gradient(36.62% 98.13% at 60.57% 67.11%, var(--Violet-300, rgba(99, 80, 217, 0.20)) 0%, rgba(99, 80, 217, 0.00) 100%), linear-gradient(180deg, rgba(13, 13, 13, 0.00) 0%, var(--Black, #0D0D0D) 100%), url("assets/frame1.png") lightgray 50% / cover no-repeat; */
    /* background-blend-mode: normal, normal, normal, luminosity;  */
  }
  .first-block__video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
  }
  .first-block__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background: #0D0D0D;
  }
  .first-block__gradient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(270deg, var(--Black, #0D0D0D) 0%, rgba(13, 13, 13, 0.00) 49.94%, var(--Black, #0D0D0D) 99.88%), linear-gradient(180deg, rgba(13, 13, 13, 0.00) 80.88%, var(--Black, #0D0D0D) 100%), radial-gradient(106.63% 142.04% at 100% 0%, var(--Rose-300, rgba(204, 109, 242, 0.20)) 0%, rgba(204, 109, 242, 0.00) 100%), radial-gradient(36.62% 98.13% at 60.57% 67.11%, var(--Violet-300, rgba(99, 80, 217, 0.20)) 0%, rgba(99, 80, 217, 0.00) 100%);
  }
  .first-block__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 8px 0 8px;
    /* height: 64px; */
    z-index: 11;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;
    background: linear-gradient(180deg, #0D0D0D 0%, rgba(13, 13, 13, 0.00) 100%);
  }
  .logo-small {
    width: 55px;
    display: flex;
    align-items: center;
  }
  .burger {
    margin-right: 16px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  .first-block__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 70vh;
    width: 100%;
    position: relative;
    z-index: 1;
  }
  .first-block__logo-big {
    width: auto;
    height: auto;
    padding-bottom: 32px;
    margin-top: -16px;
  }
  .first-block__desc {
    width: 328px;
    color: var(--Gray-100, #E6E6E6);
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    text-transform: uppercase;
    margin: 0 auto;
  }
  .first-block__scroll {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
  }
  .first-block__scroll img {
    width: 40px;
    height: 40px;
    display: block;
  }

  .header-wrapper {
    margin-bottom: 64px;

    .first-block {
        border-radius: 16px;
    }

    a {
        display: flex;
        padding: 12px 24px;
        justify-content: center;
        align-items: center;
        align-self: center;
        margin-bottom: 24px;
        gap: 10px;
        border: 1px solid rgba(18, 20, 27, 0.25);
        background: rgba(248, 248, 255, 0.10);
        border-image: linear-gradient(180deg, #F8F8FF, transparent 75%) 1;
        text-decoration: none;
        width: fit-content;

        color: var(--White, #F8F8FF);
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }

    a:hover{
        cursor: pointer;
        background-color: #F8F8FF;
        color: #12141B;
    }
  }
}


    .politics {
        margin: 32px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        max-width: 1200px;

        a, .divider {
        color: var(--Gray, #818287);
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
        text-decoration: underline;
        }
    }


@media (max-width: 768px) {
    .politics {
        max-width: 340px;
    }
}

@media (min-width: 769px) and (max-width: 1278px) {
    .politics {
        max-width: 720px;
    }
}