/* Bebas Neue */
@font-face {
    font-family: 'Bebas Neue';
    src: url('fonts/bebas/BebasNeue\ Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('fonts/bebas/BebasNeue\ Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('fonts/bebas/BebasNeue\ Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('fonts/bebas/BebasNeue\ Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('fonts/bebas/BebasNeue\ Book.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}


@font-face {
    font-family: 'Bebas Neue';
    src: url('fonts/bebas/BebasNeue\ Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

* {
    margin: 0;
    font-size: 10px;
    font-family: 'Montserrat';
}

:root {
    /* Layout */
    --content-width: 130.5rem;
    --content-wide-width: 1300px;
    --content-flex-width: calc(1300px + 4rem);
    /* Colors */
    --primary-color: #000;
    /* Font size */
    --fz-110: 110px;
    --fz-38: 38px;
    --fz-24: 24px;
    --fz-20px: 20px;
    --fz-18: 18px;
    --fz-16: 16px;
    --fz-15: 15px;
    --fz-14: 14px;
    --fz-12: 12px;

}

ul#primary-menu li {
    list-style: none !important;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.content-width {
    max-width: var(--content-width);
    width: 100%;
    margin: auto;
}

.content-wide-width {
    max-width: var(--content-wide-width);
    width: 100%;
    margin: auto;
}

.content-flex-width {
    max-width: var(--content-flex-width);
    width: 100%;
    margin: auto;
    /* max-width: calc(var(--content-flex-width) - 4rem); */
}

h1,
h2,
h3 {
    font-family: 'Bebas Neue' !important;
}

a.btn,
button.btn.dark {
    font-size: 1rem;
    /* fallback */
    font-size: clamp(15px, 1.5rem, 20px);

    font-weight: 600;
    line-height: 1.15;

    width: 165px;
    /* fallback */
    width: clamp(165px, 16.5rem, 200px);

    height: 40px;
    /* fallback */
    height: clamp(40px, 4rem, 50px);

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50px;
    transition: transform .4s ease-in-out;
}


img.btn-icon.play-circle {
    width: clamp(28px, 2.8rem, 40px);
}

.btn-spacer {
    width: 1rem;
}

a.btn.light {
    color: var(--primary-color);
    background: #fff;
}

/* a.btn:hover {
    transform: scale(1.05);
} */

svg.btn-icon.play-circle {
    position: absolute;
    right: 7px;
}

a.btn.light.trailer-btn.open-video {
    transition: background .4s ease, color .4s ease, border .4s ease;
    border: 1px solid transparent;
    max-height: 38.19px !important;
}

a.btn.light.trailer-btn.open-video:hover {
    background: #000;
    color: #fff;
    border: 1px solid #ffffff49;
}

/* a.btn.light.trailer-btn.open-video:hover svg {
    fill: #fff !important;
} */

a.btn.light.trailer-btn.open-video svg.btn-icon.play-circle path,
a.btn.dark.podrobnee svg {
    transition: fill .4s ease;
}

a.btn.light.trailer-btn.open-video svg.btn-icon.play-circle circle {
    transition: stroke .4s ease;
}

a.btn.light.trailer-btn.open-video:hover svg.btn-icon.play-circle path {
    fill: #fff !important;
}

a.btn.light.trailer-btn.open-video:hover svg.btn-icon.play-circle circle {
    stroke: #fff;
}

a.btn.dark.podrobnee {
    transition: background .4s ease, color .4s ease, border .4s ease;
}

a.btn.dark.podrobnee:hover {
    background: #fff !important;
    color: #000 !important;
}

a.btn.dark.podrobnee svg path {
    transition: fill .4s ease;
}

a.btn.dark.podrobnee:hover svg path {
    fill: #000 !important;
}

a.btn.dark,
button.tab-btn.btn.dark {
    color: #fff;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgb(82 82 82 / 58%) -501.25%, rgb(58 58 58 / 26%) 241.25%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
    backdrop-filter: blur(7.5px);
}

a.btn.dark.podrobnee svg {
    position: absolute;
    right: 18px;
}

.hero__btn-wrapper a.btn.dark,
button.tab-btn.btn.dark {
    background: linear-gradient(180deg, rgb(82 82 82 / 58%) -501.25%, rgb(58 58 58 / 26%) 241.25%) !important;
}

img.btn-icon {
    position: absolute;
    right: 6px;
}

/* button#load-more-news {
    width: calc(var(--content-wide-width) / 4 - 1rem) !important;
} */

button#load-more-news {
    max-width: 165px;
}

a.btn.dark img.btn-icon {
    position: absolute;
    right: 16px;
}

.mgt-s {
    margin-top: 2rem;
}

.mgt-m {
    margin-top: 3.2rem;
}

.anim-scale {
    transition: .4s ease-in-out;
}

.anim-scale:hover {
    transform: scale(1.1);
}

.section-title {
    font-style: normal;
    font-weight: 400;
    font-size: clamp(38px, 3.8rem, 48px);
    line-height: 1.2;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 7.8px;
}

.section-title.white {
    color: #fff;
}

/* Project poster */

img.projects__poster {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0px 14px 16px -1px #00000040;
    aspect-ratio: 173 / 260;
}

h3.projects__title {
    font-family: 'Montserrat' !important;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(16px, 1.6rem, 20px);
    line-height: 1.2;
    color: #000000;
    padding: 0 1rem;
}

p.projects__info span {
    font-style: normal;
    font-size: clamp(14px, 1.4rem, 18px);
    color: #000;
}

/* News cards */
.news__wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.6rem;
    justify-content: flex-start;
    padding-bottom: 2rem;
}

.news__item {
    flex-basis: calc(25% - 2rem);
    background: #f7f7f7;
    border-radius: 15px;
}

img.news__poster {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
}

.news__info-wrapper {
    padding: 1.3rem;
    padding-bottom: 2rem;
}

.news__double {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}

p.projects__info {
    padding: 0 1rem;
}

h3.news__title {
    font-family: 'Montserrat' !important;
    font-style: normal;
    font-weight: 600;
    font-size: clamp(14px, 1.4rem, 18px);
    line-height: 120%;
    color: #525252;
    margin-top: 1.2rem;
    text-transform: initial;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* ограничиваем до 3 строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


span.news__date {
    font-family: 'Montserrat' !important;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(14px, 1.4rem, 18px);
    line-height: 1.2;
    color: #000000;
}

a.news__btn-details {
    font-style: normal;
    font-weight: 600;
    font-size: clamp(14px, 1.4rem, 18px);
    line-height: 1;
    display: inline-flex;
    align-items: flex-start;
    text-align: right;
    color: #000000;
    transition: color 0.3s ease;
}

.news__img-wrapper {
    display: flex;
}

.triangle-icon {
    width: 13px;
    height: 13px;
    background: url(assets/img/buttons/triangle-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

a.news__btn-details span {
    font-size: clamp(14px, 1.8rem, 25px);
}

.news__btn-details span {
    display: inline-block;
    margin-left: 5px;
    margin-top: -1px;
    transition: transform 0.3s ease;
}

.news__btn-details:hover {
    color: #373737;
}

.news__btn-details:hover span {
    transform: translateX(5px);
}

/* Partners */

img.partners__slide-img {
    height: 8rem;
    max-width: 170px;
    object-fit: contain;
}

.full-block {
    background: #f2f2f2;
}

.partners__wrapper,
#partners .section-title {
    padding: 0 2rem;
}

.partners__wrapper {
    padding: 8rem 2rem;
}

.mob-only {
    display: none;
}

.loader-wrapper {
    position: fixed;
    width: 100dvw;
    height: 100dvh;
    left: 0;
    top: 0;
    margin: auto;
    z-index: 22222;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFF;
}

.loader {
    width: 48px;
    height: 48px;
    background: #000000;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 6px;
    top: 10px;
    width: 12px;
    height: 12px;
    color: #ebebeb;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 25px 2px, 10px 22px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

button#load-more-news {
    background: #ffff;
    cursor: pointer;
    transition: color .4s ease, background .4s ease !important;
    border: 2px solid #000;
}

button#load-more-news:hover {
    background: #000;
    color: #fff;
}

a.btn.light,
a.btn.dark {
    width: calc((var(--content-wide-width) / 6) - 2.6rem);
}

#proj-btn .btn-icon-white,
a.btn.dark.bordered .btn-icon-white {
    display: none !important;
}

#proj-btn:hover .btn-icon-black,
a.btn.dark.bordered:hover .btn-icon-black {
    display: none !important;
}

#proj-btn:hover .btn-icon-white,
a.btn.dark.bordered:hover .btn-icon-white {
    display: block !important;
}




@media (max-width: 1441px) {
    :root {
        --content-width: 120.5rem !important;
        --content-wide-width: 1200px !important;
        --content-flex-width: calc(1200px + 4rem) !important;
    }
}

@media (max-width: 1380px) {
    :root {
        --content-width: 110.5rem !important;
        --content-wide-width: 1100px !important;
        --content-flex-width: calc(1100px + 4rem) !important;
    }
}

@media (max-width: 1200px) {
    :root {
        --content-width: 110.5rem !important;
        --content-wide-width: 90vw !important;
        --content-flex-width: calc(90vw + 2rem) !important;
    }
}

@media (min-width: 1920px) {
    :root {
        --content-width: 140.5rem;
        --content-wide-width: 1400px;
        --content-flex-width: calc(1400px + 4rem);
        --primary-color: #000;
    }
}

@media (min-width: 2000px) {
    :root {
        /* Layout */
        --content-width: 180.5rem;
        /* --content-wide-width: calc(100dvw - 48px * 2);
        --content-flex-width: 93.21vw; */
        --content-wide-width: 1800px;
        --content-flex-width: calc(1800px + 4rem);
        /* Font size */
        --fz-110: 134px;
        --fz-38: 46px;
        --fz-24: 29px;
        --fz-20px: 24px;
        --fz-18: 22px;
        --fz-16: 19px;
        --fz-15: 18px;
        --fz-14: 17px;
        --fz-12: 14px;
    }



    .btn svg.btn-icon {
        width: 20px;
    }

    a.btn,
    button.btn.dark {
        font-size: clamp(15px, 3.2rem, 26px);
        width: clamp(165px, 35rem, 350px);
        height: fit-content;
        max-width: 390px !important;
        max-height: 55px;
        padding: 2rem 0;
    }

    svg.btn-icon.play-circle {
        width: 5rem;
        height: 5rem;
    }

    a.btn.dark.podrobnee {
        max-height: 80px;
    }

    a#proj-btn,
    .news__controlls .btn {
        width: calc((var(--content-flex-width) / 5) - 3rem) !important;
        max-width: 500px !important;
        max-height: 90px;
        gap: 2rem;
    }

    #projects .btn-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .projects__block,
    .news__block {
        margin-bottom: 6rem !important;
    }

    span.triangle-icon {
        width: 20px;
        height: 25px;
    }

    a.btn.dark img.btn-icon {
        position: absolute;
        right: 25px;
        height: 25px;
    }

    #news .btn-icon,
    #projects .btn-icon {
        margin-left: 25px;
        height: 25px;
    }

    .section-title {
        font-size: clamp(38px, 7rem, 70px);
    }

    h3.projects__title {
        font-size: clamp(16px, 2.4rem, 24px);
    }

    p.projects__info span {
        font-size: clamp(14px, 2rem, 20px);
    }

    span.news__date,
    a.news__btn-details,
    h3.news__title {
        font-size: 2.1rem;
    }

    a.news__btn-details span {
        font-size: clamp(14px, 2.5rem, 25px);
    }

    a.news__btn-details {
        align-items: end;
    }

    .mgt-m {
        margin-top: 4.2rem;
    }

    .news__info-wrapper {
        padding: 2rem;
    }
}

@media (min-width: 3000px) {
    :root {
        --content-width: 200.5rem;
        --content-wide-width: 2000px;
        --content-flex-width: calc(2000px + 4rem);
        --primary-color: #000;
        /* Font size */
        --fz-110: 154px;
        --fz-38: 53px;
        --fz-24: 33px;
        --fz-20px: 28px;
        --fz-18: 25px;
        --fz-16: 22px;
        --fz-15: 21px;
        --fz-14: 20px;
        --fz-12: 17px;
    }

    svg.btn-icon.play-circle {
        width: 6rem;
        height: 6rem;
    }

    button#load-more-news {
        height: 80px;
        max-height: 80px;
    }

    a#proj-btn,
    .news__controlls .btn {
        width: calc((var(--content-flex-width) / 5) - 3rem) !important;
        max-width: 500px !important;
        max-height: 80px;
        gap: 2rem;
        padding: 0;
    }
}

@media (orientation: portrait) {
    .load-more-wrapper {
        margin-top: 0 !important;
    }

    button#load-more-news {
        width: 100% !important;
        max-width: 90vw;
    }

    img.news__poster {
        border-radius: 0;
    }

    .news__img-wrapper {
        border-radius: 0 !important;
        border-top-left-radius: 10px !important;
        border-bottom-left-radius: 10px !important;
    }

    .news__item {
        border-radius: 10px;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .mob-only {
        display: flex;
    }

    .content-wide-width {
        max-width: calc(100vw - 8.87vw * 2);
    }

    .hero__social-icons {
        display: none !important;
    }

    a.btn,
    button.btn.dark {
        font-size: 1.3rem;
        width: 100%;
        max-width: 80vw;
        height: 4rem;
        min-width: 130px;
    }

    img.btn-icon.play-circle {
        width: 2.8rem;
    }

    img.btn-icon {
        width: 1.3rem;
    }

    a.btn.dark.anim-scale.mob-only {
        width: 100%;
        max-width: 100vw;
        font-size: 1.8rem;
        font-size: 4.8vw;
        height: 5rem;
        height: 12.8vw;
        margin-top: 4rem;

    }

    .news__controlls {
        display: none;
    }

    .news__item {
        display: flex;
        flex-basis: 100%;
    }

    .news__item a {
        flex-basis: 40%;
    }

    .news__info-wrapper {
        flex-basis: 60%;
    }

    img.news__poster {
        min-height: 13rem;
        width: 100%;
        object-fit: cover;
        border-radius: 0;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        height: 100%;
    }

    span.news__date,
    a.news__btn-details {
        font-size: 1.2rem;
        line-height: 100%;
        align-items: center;
        width: fit-content;
        display: flex;
        justify-content: end;
    }

    h3.news__title {
        font-size: 1.3rem;
        margin-top: 0;
        font-weight: bold;
        color: #525252;
    }

    .news__info-wrapper {
        padding: 1.2rem;
        font-size: 3.2vw;
        flex-direction: column-reverse;
        display: flex;
        gap: 1.2rem;
        justify-content: space-between;
    }

    a.news__btn-details span {
        font-size: 3.2vw;
    }

    .news__slider {
        padding: 0;
    }

    h2.section-title {
        font-size: 2.8rem;
        color: #000;
        display: flex;
        justify-content: flex-start;
    }

    .projects__block,
    .news__block {
        display: flex;
        justify-content: center !important;
        text-align: center;
    }

    .partners__wrapper {
        padding: 12.8vw 2rem;
    }

    section#partners .section-title {
        display: none;
    }

    .news__wrapper.mgt-m {
        padding-bottom: 3.6rem;
    }

}

@media (max-width: 1401px) {
    :root {
        --content-wide-width: 90vw;
        --content-flex-width: calc(90vw + 4rem);
    }
}

@media (min-width: 3800px) {
    :root {
        --content-width: 250.5rem;
        --content-wide-width: 2500px;
        --content-flex-width: calc(2500px + 4rem);
        --primary-color: #000;
    }

    a.btn,
    button.btn.dark {
        font-size: 40px;
        width: 500px;
        height: 90px;
    }

    a.btn.dark img.btn-icon {
        position: absolute;
        right: 25px;
        height: 50px;
    }

    img.btn-icon.play-circle {
        width: 50px;
    }

    .section-title {
        font-size: 80px;
    }

    h3.projects__title {
        font-size: 32px;
    }

    p.projects__info span {
        font-size: 28px;
    }

    span.news__date,
    a.news__btn-details,
    h3.news__title {
        font-size: 28px;
    }

    img.partners__slide-img {
        height: 18rem;
    }
}

@media (max-width: 500px) {
    img.partners__slide-img {
        height: 8rem;
        max-width: 120px !important;
        object-fit: contain;
    }
}