@charset "UTF-8";
/* ============================================================
   ABOUT PAGE
   ============================================================ */

.page-template-page-about-php .header-subnav ul::before,
.page-template-page-about-php .header-subnav ul::after {
    display: none !important;
  
}


.page-template-page-about-php .header-mobile__top::before,
.page-template-page-about-php .header-mobile__top::after {
    display: none !important;
}


.about-page {
    padding: 220px 0 80px;
    background: url('/wp-content/uploads/2026/05/post-fon.png') top center / cover no-repeat;

}

.about-page__wrap {
    display: flex;
    flex-direction: column;
    gap: 60px;
}


.post-content h2 span,
.post-content h3 span,
.post-content h4 span {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



/* Заголовок */
.about-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: 50px;
    line-height: 54px;
    font-weight: 700;
    margin: 0;
}

/* ── Слайдер ── */
.about-slider {
    border-radius: 30px;
    align-self: stretch;
    height: 572px;
    position: relative;
    box-shadow: var(--ten-box-shadow, 0px 4px 136px 0px rgba(12,12,12,.31));
    overflow: hidden;
    background:
        linear-gradient(to left, rgba(5,5,5,.3), rgba(5,5,5,.3)),
        var(--about-bg, #050505) center / cover no-repeat;
    transition: background-image .5s ease;
}

/* Псевдоэлемент для плавной смены фона */
.about-slider__main {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: opacity .5s ease;
}

/* Миниатюры — правый нижний угол */
.about-slider__thumbs {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    right: 60px;
    bottom: 60px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: calc(100% - 120px);
    scroll-behavior: smooth;
}

.about-slider__thumbs::-webkit-scrollbar { display: none; }

.about-slider__thumb {
    flex-shrink: 0;
    width: 201px;
    height: 149px;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #050505;
    cursor: pointer;
    box-shadow: var(--ten-box-shadow, 0px 4px 136px 0px rgba(12,12,12,.31));
    transition: border-color .2s, transform .2s;
}

.about-slider__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 28px;
    transition: opacity .2s;
}

.about-slider__thumb.is-active {
    border-color: #FFDB73;
}

.about-slider__thumb:not(.is-active) img {
    opacity: .7;
}

.about-slider__thumb:hover img {
    opacity: 1;
}




.about-page .why { 
    padding-top: 0px;
}


.about-page .why__cards {
        margin-top: 0px; 
    }

.about-page .why__card:first-child {
    border-radius: 30px 0 0 30px ;
}
.about-page .why__card:last-child {
    border-radius: 0 30px 30px 0 ;
}

.about-page .forwhom__cards {
 
    margin-top: 0 auto ;
    width: 100%;
    max-width: calc(1500px + var(--section-padding-x) * 2);
    padding-left:0;
    padding-right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.about-page .forwhom__card:first-child {
    border-radius: 30px 0 0 ;
}
.about-page .forwhom__card:nth-child(3) {
    border-radius: 0 30px 0 0 ;
}
.about-page .forwhom__card:nth-child(4) {
    border-radius: 0 0 0 30px ;
}
.about-page .forwhom__card:last-child {
    border-radius: 0 0 30px 0 ;
}




/* ── Философия ── */
.about-philosophy {
    background: rgba(142,114,23,.12);
    border-radius: 30px;
    border: 2px solid transparent;
    background-clip: padding-box;
    outline: 2px solid rgba(255,219,115,.4);
    outline-offset: -2px;
    padding: 50px;
    display: flex;
    flex-direction: row;
    gap: 36px;
    align-items: flex-start;
    align-self: stretch;
}

.about-philosophy__title {
    background: var(--gradient-zheltyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-bebas);
    font-size: 54px;
    line-height: 56px;
    font-weight: 700;
    margin: 0;
    flex-shrink: 0;
}

.about-philosophy__text {
    background: var(--gradient-svetlyj);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-myriad);
    font-size: 20px;
    line-height: 26px;
    font-weight: 400;
    flex: 1;
}









/* ── Адаптив ── */
@media (max-width: 1200px) {
    .about-slider__thumb {
        width: 160px;
        height: 118px;
    }
}

@media (max-width: 1024px) {

    .about-page__wrap {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .about-page__title {
        font-size: clamp(32px, 5vw, 50px);
    }

    .about-slider {
        height: 420px;
    }

    .about-slider__thumbs {
        right: 30px;
        bottom: 30px;
        max-width: calc(100% - 60px);
    }

    .about-slider__thumb {
        width: 130px;
        height: 96px;
        border-radius: 16px;
    }

    .about-slider__thumb img {
        border-radius: 14px;
    }


    .about-page .why__card:first-child {
        border-radius: 30px 0 0;
    }
    .about-page .why__card:nth-child(2)  {
        border-radius: 0 30px 0 0;
    }
    .about-page .why__card:nth-child(5)  {
        border-radius: 0 0 0 30px ;
    }
    .about-page .why__card:last-child {
        border-radius: 0 0 30px 0;
    }

}

@media (max-width: 1023px){  
    .about-page {
        padding: 130px 0 60px;
    }
}



@media (max-width: 768px) {
    .about-philosophy {
        flex-direction: column;
        gap: 20px;
        padding: 30px 24px;
    }

    .about-philosophy__title {
        font-size: clamp(36px, 8vw, 54px);
    }


    .about-page .forwhom__cards {
        grid-template-columns: 1fr 1fr;
    }


    .about-page .forwhom__card:nth-child(2) {
        border-radius: 0 30px 0 0 ;
    }

    .about-page .forwhom__card:nth-child(3) {
        border-radius: 0 ;
    }

    .about-page .forwhom__card:nth-child(4) {
        border-radius: 0 ;
    }
    .about-page .forwhom__card:nth-child(5) {
        border-radius: 0 0 0 30px ;
    }

}





@media (max-width: 599px) {
    .about-page__wrap {
        gap: 32px;
    }
    .about-slider {
        height: 300px;
    }

    .about-slider__thumb {
        width: 90px;
        height: 67px;
        border-radius: 12px;
    }

    .about-slider__thumb img {
        border-radius: 10px;
    }

    .about-slider__thumbs {
        right: 16px;
        bottom: 16px;
        max-width: calc(100% - 32px);
    }

    .about-page .why__card:first-child {
        border-radius: 30px 30px 0 0;
    }
    .about-page .why__card:nth-child(2) {
        border-radius: 0 ;
    }
    .about-page .why__card:nth-child(5) {
        border-radius: 0;
    }
    .about-page .why__card:last-child {
        border-radius: 0 0 30px 30px;
    }


}

@media (max-width: 480px) {

    .about-page {
        padding: 110px 0 60px;
    }

    .about-page .why__card {
        border-radius: 20px;
    }
    .about-page .why__card:first-child {
        border-radius: 20px;
    }
    .about-page .why__card:nth-child(2) {
        border-radius: 20px ;
    }
    .about-page .why__card:nth-child(5) {
        border-radius: 20px;
    }
    .about-page .why__card:last-child {
        border-radius: 20px;
    }

    .about-page .forwhom__cards {
        grid-template-columns: 1fr;
    }

    .about-page .forwhom__card:first-child {
        border-radius: 20px;
    }
        .about-page .forwhom__card:nth-child(2) {
            border-radius: 20px ;
        }
    .about-page .forwhom__card:nth-child(3) {
        border-radius: 20px ;
    }
    .about-page .forwhom__card:nth-child(4) {
        border-radius: 20px ;
    }
    .about-page .forwhom__card:nth-child(5) {
        border-radius: 20px ;
    }
    .about-page .forwhom__card:last-child {
        border-radius: 20px;
    }


    .about-philosophy__text {
      
        font-size: 15px;
        line-height: 18px;
    }

}