/*
 Theme Name:   Voxel Child
 Template:     voxel
 Version:      1.0.0
 Description:  Дочерняя тема для Voxel
 Author:       Твоё Имя
*/

/* === КАСТОМНЫЕ СТИЛИ ДЛЯ ДОЧЕРНЕЙ ТЕМЫ === */


/* === GLOBAL === */

@media (max-width: 575.98px) {
    .pum-container.pum-responsive {
        overflow: scroll !important;
        max-height: 90%;
    }
}

.container {
    padding: 0px 60px !important;
}

.content {
    margin: 40px 0px 120px 0px !important;
}

@media (max-width: 1366px) {
    .content {
        margin: 40px 0px 60px 0px !important;
    }
}

@media (max-width: 880px) {
    .container {
        padding: 0px 20px !important;
    }

    .content {
        margin: 40px 0px 60px 0px !important;
    }
}


.ts-btn-2 {
    color: #FFF !important;
    background-color: #3dbb99 !important;
}

.ts-btn-2:hover {
    background-color: #27C686 !important;
}

.ts-btn-2 svg {
    fill: #fff !important;
}

.h-full {
    height: 100% !important;
}

.social svg path {
    transition: all .3s ease-in-out;
}

.social:hover svg path {
    fill: #F44E3F
}

/* === NEWS === */
.news__preview-content {
    height: 100% !important;
    flex-wrap: nowrap !important;
}

*:has(> .news__preview-card) {
    display: flex !important;
    height: 100% !important;
}

/* === GRADIENT ANIMATION === */

.radial-gradient {
    background: #416FCC;
    background: radial-gradient(circle, #416FCC, #091E33);
    transition: background 0.3s ease;
}

.gradient__title {
    font-weight: 700;
    background: -webkit-linear-gradient(left, #7796CB, #048A81, #7796CB);
    background-size: 1600px 200px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-duration: 3s;
    animation-name: animationgradienttitle;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

.gradient__title--orange {
    background: -webkit-linear-gradient(left, #FF9933, #F44E3F, #FF9933);
    -webkit-background-clip: text;
}

@keyframes animationgradienttitle {
    0% {
        background-position: 0 1600px;
    }

    100% {
        background-position: 1600px 0;
    }
}

/* === ссылка с стрелкой === */
.link__arrow svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

.link__arrow:hover svg {
    transform: rotate(45deg);
}


.arrow {
    transition: all 0.3s ease-in-out;
}

.arrow--light svg path {
    fill: #FFFFFF;
}

.arrow--grey svg path {
    fill: #6B6B6B;
    transition: all 0.3s ease-in-out;
}

.arrow--grey:hover svg path {
    fill: #F44E3F;
}


.social__link svg path {
    fill: #090809;
    transition: all 0.3s ease-in-out;
}

.social__link:hover svg path {
    fill: #F44E3F;
}


/* === карточка продукта на главной === */

.product__link:hover .arrow {
    transform: translate(15px, -15px);
    /* transition: transform 0.3s ease; */
}

.product__svg svg path {
    stroke: #C8C8C8;
    transition: all 0.3s ease-in-out;
}

.product__svg--dark svg path {
    stroke: #6B6B6B;
    transition: all 0.3s ease-in-out;
}

.product__link:hover .product__svg svg path,
.product__link:hover .product__svg--dark svg path {
    stroke: #F44E3F;
}

.feature-card {}

.feature-card__count {
    transition: all .3s ease-in-out !important;
}

.feature-card__description {
    transition: all .3s ease-in-out !important;
    opacity: 0;
    transform: translateY(10px);
}

.feature-card__icon {
    transition: opacity .3s ease-in-out !important;
    opacity: 1;
}

.feature-card__img {
    transition: opacity .3s ease-in-out !important;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .feature-card:hover .feature-card__description {
        transform: translateY(0px);
        opacity: 1;
    }

    .feature-card:hover .feature-card__icon {
        opacity: 0;
    }

    .feature-card:hover .feature-card__count {
        font-weight: 600 !important;
        color: #F44E3F !important;
    }

    .feature-card:hover .feature-card__img {
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .feature-card__description {
        opacity: 1;
        transform: translateY(0px);
    }

    .feature-card__img {
        position: static !important;
    }

    .feature-card__count--accent {
        font-weight: 600 !important;
        color: #F44E3F !important;
    }
}

@media (max-width: 576px) {
    .feature-card--dark {
        background-color: rgba(9, 8, 9, 0.9) !important;
    }
}


/*=== breadcrumb  === */
.rank-math-breadcrumb {
    font-size: 12px;
    color: rgba(9, 8, 9, 0.25);
    font-family: "Inter", sans-serif;
}

.rank-math-breadcrumb p {
    display: flex;
    gap: 8px;
}

.rank-math-breadcrumb a {
    color: inherit;
}