/* ============================================================
   BASE — CSS переменные, сброс, типографика
   ============================================================ */




@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MYRIADPRO-REGULAR.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'MyriadPro';
    src: url('../fonts/MYRIADPRO-SEMIBOLD.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}





@font-face {
    font-family: 'BebasNeueCyr';
    src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


:root {
    --section-padding-x: clamp(20px, 5.5vw, 210px);

    /* ── Цвета ── */
    --color-black:        #050505;
    --color-bg:           #0a0a0a;
    --linii:              #363636;
    --color-green:        #35bf4a;

    

    /* ── Градиенты ── */
    --gradient-svetlyj: linear-gradient(180deg, #e8e8e8 0%, #c3c3c3 100%);
    --gradient-zheltyj: linear-gradient(180deg, #ffdb73 0%, #d9b944 100%);

    /* ── Тени ── */
    --effekt-1-box-shadow:      0px 18px 32px -2px rgba(0,0,0,.06);
    --effekt-1-backdrop-filter: blur(4px);

    /* ── Типографика ── */
    --font-bebas: 'BebasNeueCyr', sans-serif;
    --font-myriad: 'MyriadPro', 'Myriad Pro', 'Trebuchet MS', sans-serif;
}


@media (max-width: 480px) {
    :root {
        --section-padding-x: 20px;
       
    }
}


/* ── Сброс ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    background: #050505;
    color: #c3c3c3;
    font-family: var(--font-myriad);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Контент + футер: футер прижимается к низу экрана при малом объёме main (хедер — fixed и не занимает поток). */
.site-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.site-main {
    flex: 1 1 auto;
    overflow: hidden;
}

.site-footer {
    flex-shrink: 0;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg { display: block; }

/* ── Утилиты градиентного текста ── */
.text-gradient-light {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.head-underline {
    display: block;
    width: 138px;
    height: 3px;
    background: linear-gradient(180deg, #FFDB73 0%, #D9B944 100%);
    position: absolute;
    
    bottom:0;
}





/* ── Section Head — универсальная шапка секции ── */
.section-head {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0 16px;
}

.section-head__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
   
    padding-bottom: 45px;
}

.section-head__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-bebas);
    font-size: 50px;
    line-height: 54px;
    font-weight: 700;
    align-self: stretch;
    margin: 0;
}


.section-head__title .gold{
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}





.section-head__subtitle {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: var(--font-myriad);
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    align-self: stretch;
    margin: 0;
}

@media (max-width: 1024px) {
    .section-head__title {
        font-size: clamp(28px, 4vw, 50px);
        line-height: 1.1;
    }

    .section-head__subtitle {
        font-size: clamp(18px, 2vw, 20px);
    }

}


.bg-cta {
    background: url('/wp-content/uploads/2026/05/fon6.png') center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 480px) {
    .bg-cta {
        margin-top: 70px;
        padding-bottom: 70px;
    }

    .section-head__inner {
        gap: 20px;
        align-items: center;    
        padding-bottom: 30px;
    }


}


/* ── Mobile Swiper dots ── */
.mobile-swiper-dots {
    display: none;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
    padding: 20px 0 0;
    min-height: 36px;
}

@media (max-width: 479px) {
    .mobile-swiper-dots {
        display: flex;
    }
}



.mobile-swiper-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--gradient-svetlyj);
    transition: width .3s, height .3s, background .3s;
}

.mobile-swiper-dot.is-active {
    width: 16px;
    height: 16px;
    background: var(--gradient-zheltyj);
}


.container {
    width: 100%;
    max-width: calc(1500px + var(--section-padding-x) * 2);
    padding-left: var(--section-padding-x);
    padding-right: var(--section-padding-x);
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}




/* Линиии вертикальные*/


.header-subnav ul {
    position: relative;
}

.header-subnav ul::before,
.header-subnav ul::after {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 100vh; /* уходит вниз за контейнер */
    background: #363636;
    pointer-events: none;
    z-index: 5;
}

.header-subnav ul::before {
    left: 0;
}

.header-subnav ul::after {
    right: 0;
}




.header-mobile__top::before,
.header-mobile__top::after {
    content: '';
    position: absolute;
    top: 90px;
    width: 1px;
    height: 100vh; 
    background: #363636;
    pointer-events: none;
    z-index: 5;
}

.header-mobile__top::before {
    left: var(--section-padding-x);
}

.header-mobile__top::after {
    right: var(--section-padding-x);
}

/*
@media (max-width: 1024px) {
    .forwhom__head::before,
    .forwhom__head::after {
        content: '';
        position: absolute;
        top: 90px;
        width: 1px;
        height: 100vh; 
        background: #363636;
        pointer-events: none;
        z-index: 5;
    }

    .forwhom__head::before {
        left: var(--section-padding-x);
    }
    
    .forwhom__head::after {
        right: var(--section-padding-x);
    }


}
    */

    .x-line-bottom {
        display: block;
        width: 100vw;
        height: 1px;
        background: var(--linii);
        position: absolute;
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%);
    }
    
.x-line-bottom--slider {
    bottom: 86px;
}

/* Карточка */
.blog__card {
    flex: 0 0 25%;
    min-width: 0;
    padding: 0 1px;
    box-sizing: border-box;
}
.blog-archive-card .blog__card-inner  {    flex: 0 0 25%;
    border-radius: 12px;
    border: 1px solid rgba(54, 54, 54, 0.56);
    background: rgba(5, 5, 5, 0.44);
}



.blog__card-inner {
    border-right: 1px solid var(--linii);
    border-bottom: 1px solid var(--linii);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color .3s;
}

.blog__card-inner:hover {    background: #151515 url('/wp-content/uploads/2026/05/frame-hover3.png') top left / 100% auto no-repeat;
}

/* Фото */
.blog__card-photo-link { display: block; align-self: stretch; }

.blog__card-photo {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    
}

.blog__card-photo--empty {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 1;
    background: var(--linii);

}

/* Текст */
.blog__card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    align-self: stretch;
    flex: 1;
}

.blog__card-title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 22px;
    line-height: 25px;
    font-weight: 700;
    text-decoration: none;
    align-self: stretch;
    transition: background .2s;
}

.blog__card-title:hover {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog__card-excerpt {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
    align-self: stretch;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Кнопка */
.blog__card-btn {
    background: var(--gradient-zheltyj);
    border-radius: 5px;
    padding: 13px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: var(--font-bebas);
    font-size: 20px;
    line-height: 20px;
    font-weight: 700;
    color: var(--color-black);
    -webkit-text-fill-color: var(--color-black);
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: transform .15s;
}



.blog__card-btn:hover {  background: linear-gradient(180deg, #C7A21B 0%, #FFDB73 100%); }



/* ── Контентная страница ── */
.content-page {
    padding: 220px 0 80px;
}

.content-page__wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
}

.content-page__title {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 42px;
    line-height: 54px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 1023px){
    .content-page {
    padding: 130px 20px 80px;
}
    
}

