.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.block-title.reveal.active {
    display: none;
}
.logo-svg {
    display: none;
}
a.logout-btn {
    font-weight: 300;
    padding-bottom: 5px;
    margin-left: 20px;
}
a.logout-btn:hover {
    border-bottom: 0.5px solid red;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
body {
    padding: 0;
    margin: 0;
    text-decoration: none;
    background: var(--secondary-color-light-grey, #000000);
    font-family: 'Open Sans', sans-serif;
}

a, a:visited, a:hover, a:active {
    color: inherit;
    text-decoration: none;
}

.nav-mobile-wrapper {
    display: none !important;
}

/* .container {
    max-width: 100%;
    margin: 0px auto;

} */

/* NavBar */
nav .container {
    width: 100%;
    max-width: 1400px;
}
nav {
    height: 100px;
    flex-shrink: 0;
    color: #ffffff;
    color: var(--secondary-color-dark-grey, #ffffff);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: 90%;
}

nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav .container {
    width: 100%;
}

nav ul {
    list-style-type: none;
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.links {
    display: flex;
}

nav li {
    margin: 0 2.25rem;
}

nav a {
    text-decoration: none;
}

nav a:visited {
    text-decoration: none;
    color: #ffffff;
}
.links.navbar-body {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
.languages.navbar-body {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}
nav a.menu.active {
    padding: 0 0 15px;
    border-bottom: 2px solid #7BAF21;
}

/* Стили кнопок навигации для категорий */
.categories-swiper-button-prev,
.categories-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.categories-swiper-button-prev { left: 205px; }
.categories-swiper-button-next { right: 205px; }

/* Стили кнопок навигации для новостей */
.news-swiper-button-prev,
.news-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.news-swiper-button-prev { left: 205px; }
.news-swiper-button-next { right: 205px; }

/* Добавляем стандартные иконки Swiper */
.categories-swiper-button-prev::after, .categories-swiper-button-next::after, .news-swiper-button-prev::after, .news-swiper-button-next::after {
    font-size: 100px;
    font-weight: 100;
    color: #8f8f8f;
    content: '›';
}

.categories-swiper-button-prev::after,
.news-swiper-button-prev::after {
    content: '‹'; /* Стрелка влево */
}

.languages {
    display: flex;
    padding: 0px;
    justify-content: center;
}

nav .language-link {
    margin: 0 0 0 1.5rem;
}

.language-link {
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    font-size: 11px;
}
.languages li {
    padding: 0;
    margin: 0;
}

.language-link.active {
    background-color: #7BAF21;
    border-radius: 10px;
    color: white;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 11px;
}

.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-body {
    display: flex;
}

.navbar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: none;
    flex-direction: column;
}


.navbar-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: none; /* Hide the links by default */
}

#toggle-icon {
    cursor: pointer;
    margin: 100px auto;
    display: table;
}

.bar1, .bar2, .bar3 {
    background-color: #7BAF21;
    width: 40px;
    height: 4px;
    transition: 0.5s;
    margin: 7px 0;
}

.rotate-icon .bar1 {
    -webkit-transform: rotate(-45deg) translate(-8px, 6px);
    transform: rotate(-45deg) translate(-8px, 6px);
}

.rotate-icon .bar2 {
    opacity: 0;
}

.rotate-icon .bar3 {
    -webkit-transform: rotate(42deg) translate(-9px, -8px);
    transform: rotate(42deg) translate(-9px, -8px);
}
@media only screen and (max-width: 1450px) {
    .categories-swiper-button-prev { left: 1%; }
    .categories-swiper-button-next { right: 1%; }

    .news-swiper-button-prev { left: 1%; }
    .news-swiper-button-next { right: 1%; }   
}
/* Media query for smaller screens */
@media only screen and (max-width: 1185px) {
    /* .nav-blank-mobile {
        height: 4rem;
    } */

    .nav ul {
        padding-top: 0 !important;
    }

    .nav-mobile-wrapper {
        display: flex !important;
        width: 100%;
        height: 100vh;
        top: 0;
        position: fixed;
        right: -100%;
        transition: right 0.3s ease;
        background-color: #000;
        z-index: 9999999;
    }

    .nav-mobile-wrapper.active {
        right: 0;
    }

    .nav-mobile-wrapper > .content {
        margin: 6.25rem 1.25rem 2rem;
        width: 100%;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .nav-mobile-wrapper > .content > .links {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .nav-mobile-wrapper > .content > .links > .item {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 0.625rem;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 600;
        line-height: 1.75rem; /* 140% */
        color: #6C6C6C;

    }

    .nav-mobile-wrapper > .content > .links > .item > a {
        text-decoration: none;
        color: inherit;
    }

    .nav-mobile-wrapper > .content > .links > .item.active {
        border-radius: 0.25rem;
        background: #7BAF21;
        color: white;
    }

    .nav-mobile-wrapper > .content > .links > .item > .menu {
        margin: 0.625rem 1rem;

    }

    .nav-mobile-wrapper > .content > .languages {
        display: none;
    }
    nav {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10000000;
    }

    .nav ul {
        padding: 0rem;
    }

    .navbar-body {
        display: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-header {
        width: 100%;
    }

    .navbar-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; /* Adjust as needed based on your header height */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .navbar-links.active {
        display: flex; /* Show the links when the navbar is active */
    }

}

/* Footer */
.block-footer-none {
    width: 100%;
    height: 150px;
}

footer {
    height: 22.62 5rem;
    background: var(--main-color-light-green, #7BAF21);

}

footer .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.up-block-footer {
    display: flex;
    flex-direction: row;
    /* width: 100%; */
}

footer .left {
    width: 20.4rem;
    border-left: 1px #D9D9D9;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--secondary-color-light-grey, #F6F6F6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 3.5rem;
    padding: 0 5rem;
}

footer .list {
    padding: 0;
    display: flex;
    flex-direction: column;
}

footer .element {
    display: flex;
    margin: 7px 0;
}

footer .element * {
    padding: 0 10px 0 0;
}

footer .element p {
    margin: 0;
}
nav {
    position: fixed;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
    background: rgb(53 53 53 / 42%);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

footer .company {
    color: var(--secondary-color-light-grey, #F6F6F6);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 133.682%; /* 18.715px */
    letter-spacing: -0.21px;
    padding: 20px 0px;
    padding-bottom: 1.9rem;
}

footer .company-mobile {
    display: none;
}


footer .right {
    width: 61.125rem;
    border-left: 2px #D9D9D9 solid;
    color: var(--main-color-white, #FFF);
    font-size: 0.875rem;
    font-style: normal;
    line-height: normal;
    text-decoration: none;
}

footer .right ul {
    display: flex;
    padding: 0;
    margin: 3.5rem 5rem 0;
    gap: 2.25rem;
    list-style-type: none;
}

footer .right ul li a {
    text-decoration: none;
}

footer .right ul li a:visited {
    text-decoration: none;
    color: var(--main-color-white, #FFF);
}

footer .right .top {
    /*border-bottom: 1px #D9D9D9 solid;*/
    font-weight: 600;
}

footer .right .top .navbar-toggle {
    display: none;
}

footer .right .bottom {
    /* height: 11.5rem; */
    font-weight: 400;
    padding: 20px 5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}
footer .right .bottom .copyright-2 { 
    margin: 20px 0;
    width: 55%;
}
footer .right .bottom .copyright {
    width: 17.875rem;
    height: 4.5625rem;
    flex-shrink: 0;
    color: var(--secondary-color-light-grey, #F6F6F6);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

footer .social {
    display: flex;
    justify-content: end;
    gap: 5rem;
}

.icon {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: center;
}

.icon a {
    display: inline-block;
    transition: transform 0.3s, opacity 0.3s;
}

.icon a:hover {
    transform: scale(1.1);
}

.icon a:active {
    transform: scale(0.9);
}


@media only screen and (max-width: 1485px) {
    footer .right {
        width: 40rem;
    }
    footer .right .bottom .copyright-2 {
        width: 90%;
    }
    footer .right ul {
        display: flex;
        padding: 0;
        margin: 3.5rem 0 0 5rem;
        gap: 1.5rem;
        list-style-type: none;
    }
}
@media only screen and (max-width: 1440px) {
    .container {
        padding: 0;
        width: 100%;
        margin: 0px auto;

    }

    .nav {
        padding: 0;
    }
}
@media only screen and (max-width: 1400px) {
    nav .container {
        width: 97%;
    }    
}

@media only screen and (max-width: 1130px) {
    footer .right {
        width: 30rem;
    }
        footer .right ul {
        margin: 3.5rem 0 0 3rem;
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
    }
    footer .social {
        display: flex;
        gap: 5rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    footer .right .bottom {
        margin: 3.5rem 0 0 3rem;
        padding: 0;
    }
}
@media only screen and (max-width: 995px) {
    .up-block-footer {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
}
@media only screen and (max-width: 870px) {
    .up-block-footer {
        display: flex;
        width: 100%;
        justify-content: space-between;
        flex-direction: column-reverse;
        align-items: center;
    }
    footer .right .bottom {
        margin: 0;
        padding: 0;
    }
    footer .right {
        border-left: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
    footer .left {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        padding: 0;
    }
    .block-footer-none {
        width: 0;
        height: 0;
    }
    footer .right .bottom {
        display: flex;
        align-items: center;
    }
    footer .right ul {
        margin: 0;
    }
    .copyright {
        text-align: center;
    }
    footer .social {
        gap: 0;
        margin: 20px 0;
    }
    footer .list {
        width: 90%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: row;
    }
    footer .right .bottom .copyright-2 {
        text-align: center;
    }
}

@media (max-width: 768px) {


    nav ul {
        display: flex;
        flex-direction: row;
        text-align: center;
    }

    .links {
        flex-direction: column;
        margin-top: 1rem;
    }

    nav li {
        margin: 0.5rem 0;
    }

    .languages {
        margin-top: 0;
    }

    footer .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    footer .top {
        display: none;
    }

    footer .left {
        width: 100%;
        border-left: none;
        padding: 0;
    }

    footer .right {
        width: auto;
        border-left: none;
    }

    footer .right .top {
        border-bottom: none;
    }

    footer .right .top ul > li {
        display: none;
    }

    footer .social {
        display: flex;
        flex-direction: column-reverse;
    }

    .social > .icon {
        width: 100%;
        margin: 0 auto;
        gap: 0;
        justify-content: space-evenly;
        display: flex;
    }
    footer .right .bottom {
        height: fit-content;
        padding: 1.25rem;
        border: none !important;
    }

    footer .company {
        display: none;
    }

    footer .company-mobile {
        display: block;
    }

    footer .list {
        padding: 1.25rem;
    }

    footer .right .bottom .copyright {
        width: auto;
        height: fit-content;
        padding-bottom: 2rem;
    }

}
@media only screen and (max-width: 470px) {
    .languages.navbar-body {
        display: none;
    }
    .nav-mobile-wrapper > .content > .languages {
        display: flex;
        justify-content: center;
        align-items: center;
    }
.language-link {
    width: 50px;
}
a.language-link:hover {
    color: white;
}
.languages a {
    color: white;
}
footer .list {
    width: 90%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}
}