/*Theme Name: My Custom Theme
Theme URI: https://ruetalon.ru/
Author: Daniil
Author URI: https://polinadegtyrova.ru/
Description: Это моя тема WordPress.
Version: 1.0
*/

/*-------------ROOT-------------*/
html{
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;

}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;

}
*, *::after, *::before{
    box-sizing: inherit;
}
.body{
    margin: 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;

}
.container{
    padding: 5px;
    max-width: 1100px;
    margin: 0 auto;
}
/*.header{
    min-height: 817px;
}
*/

/*---------------------HEADER---------------------*/
/* Основные стили */
body {
    font-family: 'Onest';
}

.header {
    padding: 10px 0 0 0;
    font-family: 'Inter';
}

.header__nav {
    font-weight: 500;
    font-size: 16px;
    color: #222;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 962px;
    line-height: 19px;
}

.header__nav ul {
    display: flex; /* По умолчанию показываем меню */
}

.header__nav ul li {
    position: relative;
    float: left;
}

.header__nav ul li a {
    padding: 6px;
    color: black;
    display: block;
    font-size: 16px;
    background: #eaf5ed;
    border-radius: 65px;
    margin-left: 10px;
    margin: 0 46px 0 0;
}

.header__nav ul li a:hover {
    background: #229741;
    color: #fff;
}

.header__nav ul li:hover > ul {
    display: initial; /* Показываем вложенное меню при наведении */
}

.header__nav ul li ul {
    position: absolute;
    left: 0;
    width: 180px;
    display: none; /* Скрываем вложенное меню по умолчанию */
}

.header__nav ul li ul li {
    width: 100%;
    border: none;
}

.button__nav {
    padding-right: 10px;
    background: linear-gradient(#3B9254, #32BB78, #3B9254);
    color: #fff;
    width: 180px;
    height: 51px;
    font-size: 15px;
    font-weight: 500;
    border: none; 
    border-radius: 10px;
    font-family: 'Inter';
    margin-right: 15%;
}

/* Бургер-меню */
.burger {
    font-size: 30px;
    color: white;
    cursor: pointer;
    display: none; 
}

.dropdown-bg{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 225px;
    height: 100%;
    background-color: rgb(234 245 237);
    z-index: 0;
    border-radius: 14px;
    transition: transform 0.3s ease;
}

@media (max-width: 1280px) {

.button__nav {
margin: 0;
}
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .burger {
        padding: 10px 10px 10px 32px;
        margin: 0 auto;
        height: 40px;
        width: 90px;
        border-radius: 12px;
        background: #EAF5ED;
        align-items: center;
        display: block;
        color: #000000;
    }

    .button__nav{
        display: none;
    }
    #nav {
        display: none; /* Скрываем меню по умолчанию на мобильных устройствах */
        flex-direction: column; /* Вертикальное расположение */
        position: absolute; /* Позиционирование для выпадающего меню */
        top: calc(100% + 10px); /* Расположение под заголовком */
        left: 0;
        width: 100%;
        z-index: 1000; /* Убедитесь, что меню будет поверх других элементов */
    }

    #nav.show {
        display: flex; /* Показываем меню при открытии */
    }
}

/* Для больших экранов */
@media (min-width: 600px) {
    .burger {
        display: none; /* Скрываем бургер-меню на больших экранах */
    }

    #nav {
        display: flex; /* Показываем меню на больших экранах */
        flex-direction: row; /* Горизонтальное расположение */
    }
}

                /*-----------------WELCOME-----------------*/
.welcome{
color: #000;
margin: 5vh 0 0 0;
}
.welcome__grid{
    display: grid;
    display: -ms-grid;
    grid-template-columns: repeat(3, 1fr); /* 5 равных колонок */
    grid-template-rows: repeat(4, auto);
    gap: 10px; /* Отступы между блоками */

}

.welcome__heading{
font-weight: 400;
font-size: 80px;
letter-spacing: 2px;
text-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
grid-column: 1 / span 2; 
grid-row: 1;
max-width: 90%;

}
.welcome__preheading{
font-weight: 400;
font-size: 24px;
line-height: 267%;
color: #222;
max-width: 650px;
line-height: 30px;
grid-column: 1;
 margin-top: 0; /* Убираем отрицательный margin */
transform: translateY(-15%); /* Используем трансформацию */
grid-column: 1 / span 2; 
grid-row: 2;

}

.img__welcome{
margin-right: 140px;
grid-column: 3;
grid-row: 1 / span 3;
}
.button__welcome{
        display: flex;
        line-height: 24px;
        font-family: 'Inter';
       margin-top: 0;
    transform: translateY(-35%);
        grid-column: 1;
        grid-row: 3;
        background: linear-gradient(#3B9254, #32BB78, #3B9254);
        color: #fff;
        width: 186px;
        height: 51px;
        font-size: 20px;
        font-weight: 500;
        border: 0px solid green;
        border-radius: 10px;
        text-align: center;
        padding: 13px 20px;
        vertical-align: middle;

    
}
.welcome__text{
    padding: 10px 0 0 0;
    margin-top: 0;
    transform: translateY(-35%);
    grid-column: 2;
    grid-row: 3;
    background-color: #EAF5ED;
    max-height: 60px;
    font-family: 'Inter';
font-size: 16px;
font-weight: 400;
line-height: 19.36px;
text-align: center;
color: #32BB78;
border-radius: 12px;
max-width: 205px;
}
.welcome__down{
margin: 0 auto;
grid-column: 1 / span 3;
grid-row: 4;
text-align: center;
color: #000;
text-align: center;
font-family: Inter;
font-size: 30px;
font-style: normal;
font-weight: 400;
line-height: normal;
z-index: 1;
border-radius: 20px;
background: #FFF;
width: 85%;
height: 100px;
padding: 11px 16px 15px 33px;
}


@media screen and (max-width: 1280px){

    .welcome__heading{
        max-width: 100%;
        font-size: 70px;
    }

    .img__welcome{

        margin: 0;
    }

    .button__welcome{
        margin-top: -22%;

    }

    .welcome__preheading{
        padding-bottom: 70px;
    }

    .welcome__text{
        margin-top: -22%;
    }
    
}

@media screen and (max-width: 768px)
{


    .welcome{
        margin: 2vh 0 0 0;
    }
    .welcome__grid{
        display: grid;
        display: -ms-grid;
        grid-template-columns: repeat(1, 1fr); /* 5 равных колонок */
        grid-template-rows: repeat(7, auto);
        gap: 30px; /* Отступы между блоками */
    }    



    .welcome__heading{

        grid-column: 1;
        grid-row: 1;
        color: #000;
        text-align: center;
        font-size: 48px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        width: 100%;
    }

    .welcome__preheading{
        margin: 0 auto;
        max-width: 90%;
        grid-column: 1;
        grid-row: 2;
        color: #222;
        text-align: center;
        font-size: 22px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        padding-bottom: 0;
    }

    .img__welcome{
        width: 337px;
        height: 390PX;
        grid-column: 1;
        grid-row: 3;
        margin: 0 auto;    
    }

    .button__welcome{
        color: #FFF;
        font-family: 'Inter';
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        grid-column: 1;
        grid-row: 5;
        margin: 0 auto;
    }


    .welcome__text{
        color: #32BB78;
        text-align: center;
        font-family: 'Inter';
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        grid-column: 1;
        grid-row: 6;
        z-index: 1000;
        margin: 0 auto;
    }

    .welcome__down{
        color: #000;
        text-align: center;
        font-family: 'Onest';
        font-size: 22px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        grid-column: 1;
        grid-row: 7;
    }


}






/*-------------------------------SERVICES-------------------------*/
.services{
    clip-path: polygon(0 0, 18% 3%, 36% 4%, 61% 4%, 82% 3%, 100% 0, 100% 100%, 0 100%);
    margin-top: -10%;
    padding: 16% 0;
    background-color: #EAF5ED;

}
.section__h2 .section__h4{
    text-align: center;
    color: #000;
}

.section__h2{
margin-bottom: 40px;
text-align: center;
font-weight: 400;
font-size: 48px;

}

.section__h4{
margin: 0 auto;
max-width: 162px;
text-transform: uppercase;
font-weight: 400;
}

.services__grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    text-align: center;
}

.text-h4.services__h4{
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    grid-column: 1 /span 2;
    padding: 15px;
    
}

.services_icon_wb{
padding: 0px 0px 10px 28px;
}
.services_icon_ozon{
    padding: 15px 20px 12px 0px;
    grid-column: 2;

}

.services_icon{
  
    grid-column: 1 / span 2;
    margin: 7px 19px 10px 10px;
}

.services__grid-item{
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    background-color: #FFFFFF;
    width: 342px;
    text-align: center;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 400;
    display: grid;
    justify-items: center;
    
    
}
/*.services__grid-item:hover {
    background-color: #399B5C;
    color: white;
    transition: background-color 0.3s, color 0.3s
}
       */
    
.services__grid-item.hovered {
    background-color: #399B5C;
    color: white;
}
 

@media screen and (max-width: 1280px)
{
    
    .services__grid{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 2fr);

    }
    .services__grid-item{
        width: 100%;

    }
}
    @media screen and (max-width: 768px)
{
    .services{
        margin-top: -95%;
        padding-left: 15px;
        padding-right: 15px;
        padding: 120% 0 85% 0;
    }
    .services__grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .services__grid-item{
        width: 87%;
        padding: 11px 0 0 0;
        min-height: 132px;

    }
    .text-h4.services__h4{
        padding: 5% 4% 6% 4%;

    }
}






/*-------------------FOR WHO?-------------------*/


.forwho__grid{
    padding:  62px 62px 70px;
    background-color: #EAF5ED;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(3, auto);
    gap: 20px;
    border-radius: 20px;
}

.forwho-h2{
    font-size: 48px;
    line-height: 61px;
font-weight: 400;
    grid-column: 1;
    grid-row: 1;
    text-align: left;
}

.forwhopart1-h4{
    grid-column: 1;
    grid-row: 2;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    padding-bottom: 88px;

}
.forwhopart2-h4{
    margin-top: -15%;
    grid-column: 1;
    grid-row: 3;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;

}

.forwho_img{
    position: relative;
    grid-template-columns: repeat(10, auto);
    display: grid;
    width: 460px;
    background: linear-gradient(334.68deg, #399B5C 31.04%, #32BA77 71.26%);
    border-radius: 20px;
    grid-column: 2;
    grid-row: 1 / span 3;
}

.forwho_imgimg{
    grid-column: 3;
    bottom: -1vh;
    position: absolute;
}
/*------------------------ABOUT--------------------*/
.for_who__h2{
    max-width: 330px ;
    max-height: 122px;
    line-height: 61px;
    font-weight: 400;
    font-size: 48px;
}
.for_who__h4{
    max-width: 530px ;
    max-height: 95px;
    line-height: 30px;
    font-weight: 400;
}

.begginers__grid{
    padding: 100px 0 25px 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 30px;
    justify-items: center;
}
.begginers_h2_grid-item{
    max-width: 330px ;
    max-height: 122px;
    line-height: 61px;
    font-weight: 400;
    font-size: 48px;
}
.begginers_h4_grid-item{
    padding: 10px 0 0 0;
    font-weight: 400;
    max-width: 530px ;
    max-height: 95px;
    line-height: 30px;
    font-size: 24px;
}

@media screen and (max-width: 768px)
{
    .forwho__grid{
    background-color: #FFFFFF;
    margin: 0 auto;
    width: 90%;
    padding: 62px 30px 70px;
    grid-template-columns: repeat(1, auto);
    }

    .welcome__heading{
        margin: 0 auto;
        grid-column: 1;
        grid-row: 1;
        max-width: 95%;
    }

    .begginers_h4_grid-item{
        text-align: center;
        padding: 10px 40px 30px;
    }


    .button__welcome{
    grid-column: 1;
    grid-row: 5;
    z-index: 1000;
    }

    .forwho_img{
    grid-column: 1;
    grid-row: 1;
    width: auto;
    }
    .forwho_imgimg{
        grid-column: 2;
    }
    
    .forwho-h2{
        text-align: center;
        grid-row: 2;
        font-size: 40px;
    }
    .forwhopart1-h4{
        font-size: 22px;
        grid-row: 3;
        text-align: center;
    }

    .forwhopart2-h4{
        font-size: 22px;
        grid-row: 4;
        text-align: center;
    }


    .begginers__grid{
        grid-template-columns:repeat(1, 1fr);
    }


    .begginers_h2_grid-item{
        padding: 0 0 0 10%;
        margin: 0 auto;
        max-width: 80%;
        max-height: 182px;
        line-height: 61px;
        font-weight: 400;
        font-size: 40px;
    }

    .begginers_h4_grid-item{
        font-size: 22px;
        margin: 0 0 4vh 0;
    }

    .forwho__grid__whiteromb{
        background-color: #eaf5ed;
        padding: 10vh 0px 10vh 0px;
    }
    }



.about{
padding: 100px 0 0 0;
}
.about__grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}
.about__num{
    grid-row: 1 / span 2;
    font-size: 48px;
    color: #399B5C;
    padding: 0 20px 0 50px;

    }

.text-h4.about__h4{
    max-width: 430px;
    min-height: 100%;
    padding: 30px 30px 0 55px;
font-size: 20px;
line-height: 25px;
font-weight: 400;
text-align: left;
}

.text-h5.about__h5{
padding: 0px 0 0 68px;
font-weight: 400;
grid-row: 2;
grid-column: 2;
font-size: 16px;
color: #404040;
}


.about_icon{
margin: 0 auto 3px;
}

.about__grid-item{
    min-width: 100%;
    padding: 10px 0;
    background-color: #EAF5ED;
    width: 342px;
    height: 138px;
    text-align: center;
    border-radius: 10px;
    display: grid;
    display: -ms-grid;
    grid-template-columns: 1fr auto; /* Текст занимает всю оставшуюся ширину, число будет справа */
    align-items: center; /* Выровняет элементы по вертикали */
}


/* Основной стиль */
.about_oneprocent {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    border: 1px solid green;
    border-radius: 10px;
    padding: 20px;
    gap: 20px;
    max-width: 1200px;
    margin-bottom: 10vh;
}

.about__oneprocent_icon {
    max-width: 100%;
    height: auto;
}

.about__oneprocent_content h2 {
    margin: 0;
    color: #2d8c4b;
    font-size: 1.5rem;
    text-align: center;
}

.about__oneprocent_content p {
    margin: 0;
    color: #333;
    font-size: 1rem;
    text-align: center;
}

.about__oneprocent_button {
    text-align: center;
}

.about__oneprocent_button button {
    background-color: #2d8c4b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Onest';
}

.about__oneprocent_button button:hover {
    background-color: #248238;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .about_oneprocent {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about__oneprocent_icon {
        max-width: 50%;
        margin: 0 auto;
    }
    .about__oneprocent_icon img {
        max-width: 100%;
    
    }

    .about__oneprocent_content h2 {
        font-size: 1.2rem;
    }

    .about__oneprocent_content p {
        font-size: 0.9rem;
    }

    .about__oneprocent_button button {
        padding: 15px 20px;
        width: 65%
    }

    .about__num{
        padding: 0;
    }
}



@media screen and (max-width: 768px)
{


    .about{
        padding: 0;
    }
    .about__grid{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 30px;
        justify-items: center;
       padding: 15px 15px 0 15px;
    }

.about__grid-item{
    min-width: 100%;
    padding: 5px 18px 18px 0px;
    background-color: #EAF5ED;
    width: 342px;
    height: 175px;
    text-align: center;
    border-radius: 10px;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(1, auto);
    grid-template-rows: repeat(2, auto);
    
}


.text-h4.about__h4{
padding: 0;
text-align: center;
margin: 0 auto;
max-width: 90%;
}
}



/*---------------GARANTEE-------------------*/

.garantee{
    clip-path: polygon(0 0, 21% 4%, 40% 6%, 56% 6%, 75% 5%, 100% 0, 100% 100%, 75% 95%, 56% 94%, 40% 94%, 21% 96%, 0 100%);
    padding-top: 100px;
    height: 540px;
    background-color: #F5F5F5;
    padding: 100px 0 100px 0;
}
.garantee_h2{
    font-weight: 400;
    line-height: 51px;
    font-size: 40px;
    grid-column: 1 / span 2;
    }

.garantee__grid{
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(3, 83px);
    gap: 35px 0;
    justify-items: center;
    position: relative;
}
.garantee_info_1{
        display: flex;
        justify-content: center;
        text-align: left;
        padding: 27px 33px 25px 20px;
        border-radius: 20px;
        background-color: white;
        grid-column: 1;
        grid-row: 2 / span 3;
        width: 501px;
        font-size: 20px;
        line-height: 25.5px;
        height: 188px;


}
.garantee_info_2{
        display: flex;
        justify-content: center;
        text-align: left;
        padding: 11px 19px 14px 20px;
        border-radius: 20px;
        background-color: white;
        grid-column: 2;
        grid-row: 2;
        width: 564px;
        font-size: 20px;
        line-height: 25.5px;
        height: 110px;



}

.garantee_info_3{
    margin-top: 40px;
    display: flex;
    justify-content: center;
    text-align: left;
    padding: 16px 33px 15px 20px;
    border-radius: 20px;
    background-color: white;
    grid-column: 2;
    grid-row: 3;
    width: 560px;
    font-size: 20px;
    line-height: 25.5px;
    height: 110px;

}

.garantee__clock{
    position: absolute;
    left: -29%;
}


.garantee_icon{
    margin: 5% 5% 0 0;
    width: 36px;
    height: 36px;
}


@media screen and (max-width: 1280px)
{

    .garantee{
        padding: 10vh 0 80vh;
    }

    .garantee__clock{
       padding: 0;
        max-width: 100%;
        margin-top: 31rem;
        position: absolute;
        margin-left:50%;
    }
    .garantee_icon {
        margin: 6% 2% 2% 0;
        width: 36px;
        height: 36px;
    }

    
    .garantee__grid{
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(3, auto);

    }
    .garantee_h2{
        text-align: center;
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        margin: 0 auto;

    }
    .services_icon{
        float: none;
        display: inline;

    }

    .garantee_info_1{
        text-align: center;
        grid-column: 1;
        grid-row: 2;
        width: 85%;
        height: 100%;
        padding: 0 10px 10px 10px;
    }


    .garantee_info_2{
        text-align: center;
        grid-column: 1;
        grid-row: 3;
        width: 85%;
        height: 100%;
        padding: 0 10px 10px 10px;
    }

    .garantee_info_3{
        text-align: center;
        grid-column: 1;
        grid-row: 4;
        width: 85%;
        height: 100%;
        padding: 0 10px 10px 10px;
    }
}
@media screen and (max-width: 768px)
{

    .garantee{
        padding: 10vh 0 165vh;
    }

    .garantee__clock{
       padding: 0;
        max-width: 100%;
        margin-top: 56rem;
        position: absolute;
        margin-left:26%;
    }
    .garantee__grid{
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(3, auto);

    }
    .garantee_h2{
        text-align: center;
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        margin: 0 auto;

    }
    .services_icon{
        float: none;
        display: inline;

    }

    .garantee_info_1{
        flex-wrap: wrap;
        grid-column: 1;
        grid-row: 2;
        width: 85%;
        height: 100%;
        padding: 0 10px 10px 10px;
    }


    .garantee_info_2{
        flex-wrap: wrap;
        grid-column: 1;
        grid-row: 3;
        width: 85%;
        height: 100%;
        padding: 0 10px 10px 10px;
    }

    .garantee_info_3{
        flex-wrap: wrap;
        grid-column: 1;
        grid-row: 4;
        width: 85%;
        height: 100%;
        padding: 0 10px 10px 10px;
    }
}




/*-------------------------FAQ---------------------------*/
.faq__h2{
    text-align: center;
    color: #000;
text-align: center;
font-size: 48px;
font-style: normal;
font-weight: 400;
line-height: normal;
padding: 0 0 3% 0;
}
.faq-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10vh 0 6vh 0;
  }
  
  .faq-item {
    margin-bottom: 10px;
  }
  
  .faq-question {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    background: #EAF5ED;
    color: #222;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    height: 96px;
    width: 70%;
    margin: 0 0 0 15%;
    padding: 10px 10px 7px 19px;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    border-bottom: 1px solid #ccc;
    font-family: 'Onest';
  }
  
  .faq-answer {
    width: 72%;
    margin-left: 15%;
    max-height: 0;
  overflow: hidden;
  padding: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fafafa;
  border-left: 2px solid #3a9a5b;
  }

  .faq-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
  }

  .faq-question.active .faq-icon {
    transform: rotate(45deg); /* Превращаем плюс в минус */
  }


  .faq-answer p {
    margin: 0;
    padding: 10px;

    
  }
.button__faq{
    margin: 0 auto;
    text-align: center;
    display: block;
    width: 342px;
height: 68px;
    align-items: center;
    padding-right: 10px;
background: linear-gradient(#3B9254,#32BB78,#3B9254);
color: #fff;
border: 0px solid green;
border-radius: 10px;
font-family: 'Inter';
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: normal;
text-transform: uppercase;
}

.button__welcome svg{
    height: 24px;
    width: 24px;
    margin: 0px 10px 0 0;
}


@media screen and (max-width: 768px)
{

    .faq-question {
        height: 100%;
        padding: 30px;
        margin: 0 auto;
        width: 90%;
        font-size: 22px;

    }
    .faq__h2{
        font-size: 40px;
    }
    .button__faq {
        margin: 0 auto;
        width: 77%;
        margin-left: 11%;
    }

    .faq-answer{
        margin-left: 4%;
    }
}

/*-----------------------MATTERS--------------------*/



.matters{
    margin: 15vh 0 40vh 0;
}
.matters__grid{
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    color: #212823;
}


.matters_h2{
    color: #000;
text-align: center;
font-size: 48px;
font-style: normal;
font-weight: 400;
line-height: normal;
text-align: center;
padding: 0 0 50px 0;
}



.matters__h4{
text-align: center;
font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.matters__h5{
margin: 0 auto;
max-width: 75%;
padding-top: 10px;
text-align: center;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: normal;
}



.matters_icon{
margin: 0 auto 3px;
}

.matters__grid-item{
    padding: 10px 0;
    background-color: #EAF5ED;
    width: 342px;
    height: 138px;
    text-align: center;
    border-radius: 10px;
}
.matters__grid-item.right{
    grid-column: 3;
}


.matters__img{
    position: absolute;
}

.matters__grid-item.hovered{
    background-color: #399B5C;
    color: #EAF5ED;
}



@media (max-width: 1280px) {

    .matters{
        margin: 15vh 0 22vh 0;
    
        }
    .matters__grid{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 30px;
        justify-items: center;
    }
    
    .matters__grid-item.right{
        grid-column: 1;
    }
    
    .matters__img{
        max-width: 100%;
        top: 54rem;
        position: absolute;
    }
    
    }

@media (max-width: 768px) {

.matters{
    margin: 15vh 0 22vh 0;

    }
.matters__grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

.matters__grid-item.right{
    grid-column: 1;
}

.matters__img{
    max-width: 100%;
    top: 63rem;
    position: absolute;
}

}


/*----------------------TARIFF-----------------------*/




.tariff{
    clip-path: (0 0, 21% 4%, 40% 6%, 56% 6%, 75% 5%, 100% 0, 100% 100%, 75% 95%, 56% 94%, 40% 94%, 21% 96%, 0 100%);
    background-color: #F5F5F5;
    padding: 100px 0 0 0;
    
}

.pricing-section {
    position: relative;
    margin: 50px 0;
    text-align: center;
  }

  .green-background {
    position: absolute;
    top: 0;
    left: 50%;
    width: 70%;
    height: 50%;
    background-color: #00A65A;
    transform: translateX(-50%);
    border-radius: 20px;
    z-index: -1;
  }

  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }

  .pricing-title {
    color: #000;
    background-color: white;
    font-weight: 400;
    font-size: 48px;
    padding: 70px 0 0 30px;
    text-align: left;

  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px 0;
  }

  .pricing-grid > :nth-child(-n+4) {
    margin-bottom: -10px; /* Сглаживаем нижний gap */
  }
 
  .pricing_name-ooo{
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 18px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 33%;
    max-height: 55px;
    font-weight: 400;


  }
  .pricing_name-mp{
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 18px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 33%;
    max-height: 55px;
    font-weight: 400;

  } .pricing_name-ip{
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 18px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 33%;
    max-height: 55px;
    font-weight: 400;


  }
  .pricing-price__1 h5{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-price__2 h5{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-price__3 h5{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-price__4 h5{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-price__5 h5{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-price__6 h5{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-price__7 h5{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-price__8 h5{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-price__9 h5{
    font-size: 24px;
    font-weight: 400;
  }

  .pricing-price__1 p{
    font-size: 14px;
    color: #404040;
    

  }
  .pricing-price__2 p{
    font-size: 14px;
    color: #404040;

  }
  .pricing-price__3 p{
    font-size: 14px;
    color: #404040;

  }
  .pricing-price__4 p{
    font-size: 14px;
    color: #404040;

  }
  .pricing-price__5 p{
    font-size: 14px;
    color: #404040;

  }
  .pricing-price__6 p{
    font-size: 14px;
    color: #404040;

  }
  .pricing-price__7 p{
    font-size: 14px;
    color: #404040;

  }
  .pricing-price__8 p{
    font-size: 14px;
    color: #404040;

  }
  .pricing-price__9 p{
    font-size: 14px;
    color: #404040;

  }

  .pricing-plan_base h4{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-plan__standart h4{
    font-size: 24px;
    font-weight: 400;
  }
  .pricing-plan__premium h4{
    font-size: 24px;
    font-weight: 400;
  }

  .pricing-plan__premium{
  background-color: #EAF5ED;
  padding: 20px;
    text-align: left;
    border-radius: 20px 0px 0px 20px;
  }

  .pricing-plan_base{
    background-color: #EAF5ED;
    padding: 20px;
    text-align: left;
    border-radius: 20px 0px 0px 20px;
    min-height: 96px;
    min-height: unset;

    }
    

 .pricing-plan__standart{
   background-color: #EAF5ED;
   padding: 20px;
    text-align: left; 
    border-radius: 20px 0px 0px 20px;
  }

  .pricing-price__1{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;

  }
  .pricing-price__2{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;

  }
  .pricing-price__3{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;
    border-radius: 0px 20px 20px 0px;


  }
  .pricing-price__4{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;

  }
  .pricing-price__5{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;

  }
  .pricing-price__6{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;
    border-radius: 0px 20px 20px 0px;


  }
  .pricing-price__7{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;

  }
  .pricing-price__8{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;

  }
  .pricing-price__9{
    background-color: #EAF5ED;
    padding: 40px 0 0 0;
    border-radius: 0px 20px 20px 0px;


  }

  .pricing-button {
    padding-right: 10px;
    background: linear-gradient(#3B9254, #32BB78, #3B9254);
    color: #fff;
    width: 180px;
    height: 51px;
    font-size: 15px;
    font-weight: 500;
    border: none; 
    border-radius: 10px;
    font-family: 'Inter';
    margin: 0 auto;
    grid-column: 1 / span 4;

  }

  .pricing-button:hover {
    background-color: #008a4b;
  }


  .pricing_name-ip_formobile{
    display: none;
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 30px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 25%;
    max-height: 40px;
  }
  .pricing_name-ooo_formobile{
    display: none;
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 30px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 25%;
    max-height: 40px;
  }
  .pricing_name-mp_formobile{
    display: none;
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 30px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 25%;
    max-height: 40px;
  }
  .pricing_name-ip_formobile1{
    display: none;
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 30px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 25%;
    max-height: 40px;
  }
  .pricing_name-ooo_formobile1{
    display: none;
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 30px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 25%;
    max-height: 40px;
  }
  .pricing_name-mp_formobile1{
    display: none;
    border-radius: 20px 20px 0 0;
    background-color: #399B5C;
    color: white;
    font-size: 22px;
    padding: 30px 0 0 0;
    width: 65%;
    margin-left: 17%;
    margin-top: 25%;
    max-height: 40px;
  }

  /* Адаптивность для мобильных устройств */
  @media (max-width: 1100px) {
    .pricing_name-ip {
        border-radius: 20px 20px 0 0;
        background-color: #399B5C;
        color: white;
        font-size: 22px;
        padding: 1px 0 0 0;
        width: 65%;
        margin-left: 17%;
        margin-top: 44%;
        max-height: 55px;
        font-weight: 400;
    }

    .pricing_name-ooo {
        border-radius: 20px 20px 0 0;
        background-color: #399B5C;
        color: white;
        font-size: 22px;
        padding: 1px 0 0 0;
        width: 65%;
        margin-left: 17%;
        margin-top: 44%;
        max-height: 55px;
        font-weight: 400;
    }

    .pricing_name-mp {
        border-radius: 20px 20px 0 0;
        background-color: #399B5C;
        color: white;
        font-size: 22px;
        padding: 14px 0 0 0;
        width: 65%;
        margin-left: 17%;
        margin-top: 44%;
        max-height: 55px;
        font-weight: 400;

    }

  }
  
  
  
  
  
  @media (max-width: 768px) {
    .pricing-grid {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(14, auto);

    }

    .pricing-section {
        margin: 20vh 0;
    }
    .green-background {
      height: 150px;
    }

    .pricing-title {
      font-size: 40px;
      grid-column: 1 / span 2;
      text-align: center;
      padding: 13% 12% 3%;
    }

    .pricing-price__1{
        width: 85%;
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 3;
        grid-column: 2;
        padding: 10px 0 4px 0;
    }
    .pricing-price__2{
        width: 85%;
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 4;
        grid-column: 2;
        padding: 10px 0 5px 0;
    }
    .pricing-price__3{
        width: 85%;
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 5;
        grid-column: 2;
        padding: 10px 0 4px 0;
    }
    .pricing-price__4{
        width: 85%;
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 7;
        grid-column: 2;
        padding: 10px 0 0 0;
    }
    .pricing-price__5{
        width: 85%;
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 8;
        grid-column: 2;
        padding: 10px 0 0 0;
    }
    .pricing-price__6{
        width: 85%;
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 9;
        grid-column: 2;
        padding: 10px 0 0 0;
    }
    .pricing-price__7{
        width: 85%;
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 11;
        grid-column: 2;
        padding: 10px 0 0 0;
    }
    .pricing-price__8{
        width: 85%;
    
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 12;
        grid-column: 2;
        padding: 10px 0 0 0;
    }
    .pricing-price__9{
        width: 85%;
        border-radius: 0px 20px 20px 0px;
        color: white;
        background-color: #399B5C;
        grid-row: 13;
        grid-column: 2;
        padding: 10px 0 0 0;
    }
    
  .pricing_name-ip_formobile{
    grid-row: 7;
    margin-top: 0;
    display: block;
    grid-column: 1;
    border-radius: 20px 0px 0px 20px;
    background-color: #399B5C;
    color: white;
    font-size: 20px;
    padding: 14px 0 0 0;
    width: 85%;
    margin-left: 17%;
    min-height: 58px;
  }
  .pricing_name-ooo_formobile{
    grid-row: 8;
    margin-top: 0;
    display: block;
    grid-column: 1;
    border-radius: 20px 0px 0px 20px;
    background-color: #399B5C;
    color: white;
    font-size: 20px;
    padding: 7px 0 0 0;
    width: 85%;
    margin-left: 17%;
    min-height: 58px;
  }
  .pricing_name-mp_formobile{
    grid-row: 9;
    margin-top: 0;
    display: block;
    grid-column: 1;
    border-radius: 20px 0px 0px 20px;
    background-color: #399B5C;
    color: white;
    font-size: 20px;
    padding: 14px 0 0 0;
    width: 85%;
    margin-left: 17%;
    min-height: 58px;
  }
  .pricing_name-ip_formobile1{
    grid-row: 11;
    margin-top: 0;
    display: block;
    grid-column: 1;
    border-radius: 20px 0px 0px 20px;
    background-color: #399B5C;
    color: white;
    font-size: 20px;
    padding: 14px 0 0 0;
    width: 85%;
    margin-left: 17%;
    min-height: 58px;
  }
  .pricing_name-ooo_formobile1{
    grid-row: 12;
    margin-top: 0;
    display: block;
    grid-column: 1;
    border-radius: 20px 0px 0px 20px;
    background-color: #399B5C;
    color: white;
    font-size: 20px;
    padding: 7px 0 0 0;
    width: 85%;
    margin-left: 17%;
    min-height: 58px;
  }
  .pricing_name-mp_formobile1{
    grid-row: 13;
    margin-top: 0;
    display: block;
    grid-column: 1;
    border-radius: 20px 0px 0px 20px;
    background-color: #399B5C;
    color: white;
    font-size: 20px;
    padding: 14px 0 0 0;
    width: 85%;
    margin-left: 17%;
    min-height: 58px;
  }

    .pricing-plan__standart{
        grid-row: 6;
        grid-column: 1 / span 2;
        text-align: center;
    }
    .pricing-plan_base{
        grid-row: 2;
        grid-column: 1 / span 2;
        text-align: center;
    }
    .pricing-plan__premium{
        grid-column: 1 / span 2;
        text-align: center;
    }
    .pricing_name-ip{
        grid-row: 3;
        grid-column: 1;
        border-radius: 20px 0px 0px 20px;
        background-color: #399B5C;
        color: white;
        font-size: 20px;
        padding: 14px 0 0 0;
        width: 85%;
        margin-left: 17%;
        margin-top: 0;
        min-height: 58px;
    }

    .pricing_name-ooo{
        grid-row: 4;
        grid-column: 1;
        border-radius: 20px 0px 0px 20px;
        background-color: #399B5C;
        color: white;
        font-size: 20px;
        padding: 14px 0 0 0;
        width: 85%;
        margin-left: 17%;
        margin-top: 0;
        min-height: 58px;
    }

    .pricing_name-mp{
        grid-row: 5;
        border-radius: 20px 0px 0px 20px;
        background-color: #399B5C;
        color: white;
        font-size: 20px;
        padding: 14px 0 0 0;
        width: 85%;
        margin-left: 17%;
        margin-top: 0;
        min-height: 58px;
    }
    .pricing-price__1 p{
        font-size: 14px;
        color: #C5C5C5;
        
    
      }
      .pricing-price__2 p{
        font-size: 14px;
        color: #C5C5C5;
    
      }
      .pricing-price__3 p{
        font-size: 14px;
        color: #C5C5C5;
    
      }
      .pricing-price__4 p{
        font-size: 14px;
        color: #C5C5C5;
    
      }
      .pricing-price__5 p{
        font-size: 14px;
        color: #C5C5C5;
    
      }
      .pricing-price__6 p{
        font-size: 14px;
        color: #C5C5C5;
    
      }
      .pricing-price__7 p{
        font-size: 14px;
        color: #C5C5C5;
    
      }
      .pricing-price__8 p{
        font-size: 14px;
        color: #C5C5C5;
    
      }
      .pricing-price__9 p{
        font-size: 14px;
        color: #C5C5C5;
    
      }



    .pricing-button{
        grid-column: 1 /span 2;
        margin-top: 30px;
    }
    .container{
        padding: 0px !important;
        margin: 0px !important;
    }
  }

/*----------------------------TEAM------------------------*/



/* Контейнер для команды */
.text_team_h2 {
    font-weight: 400;
    font-size: 48px;
    text-align: center;
}
.team-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr)); 
    gap: 20px;
    padding: 20px;
  }
  
  /* Стиль каждого члена команды */
  .team-member {
    background-color: #f0f7f4;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Добавляем тень для красоты */
  }
  
  /* Стиль изображения */
  .team-member img {
    width: 150px; /* Явная ширина изображения */
    height: 150px; /* Явная высота изображения */
    border-radius: 50%;
    object-fit: cover; /* Для правильного отображения изображений */
    margin-bottom: 15px;
  }
  
  /* Стиль текста */
  .team-member h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
  }
  
  .team-member p {
    font-size: 0.9em;
    color: #666;
  }
  
  /* Адаптивность для мобильных устройств */
  @media (max-width: 768px) {
    .team-container {
      grid-template-columns: 1fr;
    }
  }
  


/*-----------------------------------REVIWS-----------------------------------*/
.reviews {
  padding-top: 100px;
}

.text_reviews-h2 {
  text-align: center;
  padding-bottom: 40px;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.video-slider {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  gap: 15px;
}

.slide {
  background-color: #EAF5ED;
  flex: 0 0 calc(100% / 3);
  box-sizing: border-box;
  padding: 0 10px;
}

.video-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.video-info {
  text-align: center;
  margin-top: 10px;
}

.video-title {
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0;
}

.video-description {
  font-size: 14px;
  color: #555;
}

.slider-btn {
  background-color: #fff;
  color: #BDBDBD;
  border: none;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  font-size: 24px;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.indicator {
  text-align: center;
  margin-top: 10px;
}

.dot {
  display: inline-block;
  width: 45px;
  height: 2px;
  margin: 0 5px;
  background-color: #bbb;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #717171;
}

@media screen and (max-width: 1024px) {
  .slide {
    flex: 0 0 98%;
  }
}



/*-----------------------------FOOTER-------------------------------*/
.footer__grid{
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(4, auto);
}
.footer{
    clip-path: polygon(0 0, 18% 3%, 36% 4%, 61% 4%, 82% 3%, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(338deg, #39995a 0%, #32ba77 100%);
    padding: 5rem 0 5rem 0;
    background-color: #39995A;
    color: white;
}


.footer__documents1{
grid-row: 3;
grid-column: 1;
}

.footer__documents2{
    grid-row:4;
    grid-column: 1;
}

.footer__map{
    border: 40px;
    grid-column: 2;
    grid-row: 1 / span 3;
}

.footer__social{
    grid-column: 1;
    grid-row: 2;
  
}
.footer__social a:hover img {
    transform: scale(1.2); /* Увеличение картинки на 20% */
    transition: transform 0.3s ease; /* Плавный переход */

}
iframe {
    width: 100%;
    border-radius: 8px;
}


.footer__social img{
width: 62px;
height: 56px;
}

.footer__phone-link{
    color: #f8fcfa;
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
}

@media screen and (max-width: 768px)
{

    .footer{
        padding: 5rem 0 10vh 0;
    }
   .footer__grid{
    grid-template-columns: repeat(3, auto);
    grid-template-rows: repeat(6, auto);
   }

   .footer__map{
    grid-column: 1 / span 3;
    grid-row: 1;
    margin: 0 auto;
    width: 85%;
   }
   .footer__map_tittle{
    grid-row: 2;
    margin: 0 auto;
    width: 85%;
    grid-column: 1 / span 3;
   }
   .footer__number-item{
   grid-column: 1 / span 3;
    grid-row: 3;
    margin: 0 auto;
    margin-top: 11%;
   }

   .footer__social{
    grid-column: 1 / span 3;
    grid-row: 4;
    margin: 0 auto;
    margin-top: 8%;
   }

   .footer__documents1{
    grid-row: 5;
    grid-column: 1 / span 3;
    margin: 0 auto;
    margin-top: 10%;
   }

   .footer__documents2{
    grid-row: 6;
    grid-column: 1 / span 3;
    margin: 0 auto;
    margin-top: 2%;
   }
}














/*----------------------------------NEWS---------------------------------------*/
.news-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.news-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fafafa;
}

.news-item h2 {
    margin-top: 0;
    font-size: 1.5em;
}

.news-item h2 a {
    text-decoration: none;
    color: #333;
}

.news-item h2 a:hover {
    color: #007BFF;
}

.news-excerpt {
    color: #666;
}



/* Контейнер блога */
.blog-container {
    max-width: 1100px; /* Увеличил ширину */
    margin: 0 auto;
    padding: 30px 20px;
}

/* Заголовок блога */
.blog-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

/* Блок со статьями */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Карточка поста */
.blog-post {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-post:hover {
    transform: translateY(-5px);
}

/* Изображение статьи */
.post-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Заголовок статьи */
.post-title {
    font-size: 26px;
    margin: 5px 0;
    font-weight: bold;
}

.post-title a {
    text-decoration: none;
    color: #222;
    transition: color 0.2s ease-in-out;
}

.post-title a:hover {
    color: #0073aa;
}

/* Метаданные статьи */
.post-meta {
    font-size: 14px;
    color: #777;
}

/* Краткое описание */
.post-excerpt {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
}

/* Кнопка "Читать дальше" */
.read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    align-self: flex-start;
}

.read-more:hover {
    background: #005f8d;
}

/* Навигация по страницам */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.pagination a:hover {
    background: #005f8d;
}

/* Страница отдельной записи */
.single-container {
    max-width: 1000px; /* Сделал шире */
    margin: 0 auto;
    padding: 30px 20px;
}

.single-container .single-post {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.single-title {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
}

.single-thumbnail {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.single-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

/* Навигация внутри поста */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.post-navigation a {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
}

.post-navigation a:hover {
    color: #005f8d;
}
