@charset "UTF-8";

*,
:after,
:before {
    box-sizing: inherit;
}
/* ВОССТАНОВЛЕНИЕ БАЗОВЫХ СТИЛЕЙ ПОСЛЕ УДАЛЕНИЯ GLOBAL-STYLES-INLINE-CSS */

body {
    /* Обнуление базовых отступов */
    margin: 0;
    padding: 0;
}

/* * Если ваша тема использует стандартный контейнер Вордпресс, 
* который был центрирован стилями Gutenberg (особенно .wp-site-blocks)
*/
.wp-site-blocks,
.entry-content {
    /* Если макет слишком широкий, попробуйте задать максимальную ширину */
    /* max-width: 1200px; */ 
    
    /* Добавление горизонтального центрирования */
    margin-left: auto;
    margin-right: auto;
}
:root {
    font-size: 62.5%;
    font-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-weight: 400;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

@media (max-width: 479px) {
    :root {
        font-size: 9px;
    }

}

html {
    overflow-x: hidden !important;
}

body {
    width: 100vw;
    max-width: none;
    background-color: #fff;
    overflow-x: hidden;
}

body:not(.loaded) * {
    transition: all 0s !important;
}

body.pre-loaded {
    opacity: 1;
    transition: opacity 0.1s;
}

@media (max-width: 991px) {
    body {
        --alpha-corner-lg: 7px;
    }
}

.os-Windows {
    --alpha-scroll-w: 17px;
}

.os-Mac,
.os-Windows.browser-Opera {
    --alpha-scroll-w: 15px;
}

/*
.main {
    width:100%;
    display: block;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 0;
    flex: 1 1 auto;
    overflow-x: hidden;
}*/
.archive:not(.breadcrumb-divider-active) .breadcrumb-container+main {
    padding-top: 0;
}

.page-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width:100%;
    min-height: 100vh;
    transition: margin 0.4s, opacity 0.4s;
   
}

.main-content:after {
    content: "";
    display: block;
    clear: both;
}

.site-boxed .page-wrapper {
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

[tabindex="-1"]:focus:not(:focus-visible) {
    outline: 0 !important;
}

abbr[data-bs-original-title],
abbr[title] {
    text-decoration: underline;
    text-decoration: underline dotted;
    cursor: help;
    text-decoration-skip-ink: none;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

sub,
sup {
    position: relative;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

code,
kbd,
pre,
samp {
    direction: ltr;
    unicode-bidi: bidi-override;
}

pre {
    display: block;
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
}

pre code {
    word-break: normal;
}

code {
    word-wrap: break-word;
}

table {
    margin-bottom: 2rem;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table td,
table th {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--alpha-change-border-color);
}

dd {
    margin-left: 1rem;
}

dl dt {
    font-weight: 700;
    font-size: 1.1em;
}

dl dd {
    margin-bottom: 0.5rem;
}

ul {
    padding-inline-start: 20px;
}

@supports (-ms-ime-align: auto) {
    ul {
        padding-left: 20px;
    }
}

ol,
ul {
    margin-bottom: 2rem;
}

li ol,
li ul {
    margin-bottom: 0;
}

ol ol {
    list-style: upper-alpha;
}

ol ol ol {
    list-style: lower-roman;
}

.comment-text>ul {
    list-style: disc;
}

.comment-text>ul ul {
    list-style: circle;
}

.comment-text>ul ul ul {
    list-style: square;
}

.comment-text>ol {
    list-style: decimal;
}

.comment-text>ol ol {
    list-style: upper-alpha;
}

.comment-text>ol ol ol {
    list-style: lower-roman;
}

.breadcrumb,
.comment>ol,
.commentlist,
.comments>ol,
.dropdown-box,
.image-gallery,
.image-gallery ul,
.list,
.menu,
.menu ul,
.mobile-menu,
.mobile-menu ul,
.nav,
.nav-filters,
.nav ul,
.pagination,
.product-category ul,
.product-nav,
.product-tabs>div ul,
.products,
.products ul,
.tabs,
.widget ul,
.woocommerce-error,
ol.wp-block-latest-comments {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.dynamic-image-gallery {
    list-style: none;
}

.alpha-price-filter a,
.breadcrumb a,
.card-header a,
.cart_item a,
.menu li>a,
.mobile-icon-bar a,
.mobile-menu-wrapper a,
.nav-filters a,
.pagination a,
.post-cats a,
.post-meta a,
.post-title a,
.product-cat a,
.product-category a,
.product .woocommerce-loop-product__title a,
.product_meta a,
.tagcloud a,
.widget_product_categories a,
.yith-woocommerce-ajax-product-filter a,
header a {
    color: inherit;
}

a {
    text-decoration: none;
    color: var(--alpha-primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--alpha-primary-color-hover);
}

.brand-name a,
.vendor-widget a {
    color: inherit;
}

.brand-name a:focus,
.brand-name a:hover,
.vendor-widget a:focus,
.vendor-widget a:hover {
    color: var(--alpha-primary-color-hover);
}

.single-attachment .attachment>a {
    display: inline-block;
}

:focus {
    outline: 0;
}

figure {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: cover;
}

svg {
    vertical-align: middle;
}

hr {
    margin-bottom: 2rem;
    border: 0;
    border-top: 1px solid var(--alpha-change-border-color);
}

input {
    padding: 0;
    font-family: inherit;
    background: transparent;
}

input:focus {
    outline: 0;
}

button,
select {
    text-transform: none;
}

select {
    word-wrap: normal;
}

::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

textarea {
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

::-webkit-search-decoration {
    appearance: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::file-selector-button {
    font: inherit;
}

::-webkit-file-upload-button {
    font: inherit;
    appearance: button;
}

output {
    display: inline-block;
}

iframe {
    border: 0;
}

summary {
    display: list-item;
    cursor: pointer;
}

progress {
    vertical-align: baseline;
}

[hidden] {
    display: none;
}

ins {
    text-decoration: none;
}

button:focus {
    outline: none !important;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    margin: 0;
}

code {
    display: inline-block;
    border-radius: var(--alpha-corner-sm);
    padding: 2px 5px;
    font-size: 1.4rem;
    color: var(--alpha-primary-color);
}

pre {
    margin: 20px 0;
    padding: 20px;
    color: var(--alpha-primary-color);
    background-color: var(--alpha-change-color-light-2);
    overflow: auto;
    font-size: 1.6rem;
}

legend {
    padding-left: 0;
    padding-right: 0;
}

script {
    display: none !important;
}

body {
    --alpha-form-field-placeholder: 0.7;
    --alpha-form-field-color: var(--alpha-body-color);
    --alpha-form-field-font-size: var(--alpha-body-font-size);
    --alpha-form-field-bg-color: transparent;
    --alpha-form-field-border-width: 1px;
    --alpha-form-field-border-color: var(--alpha-change-border-color);
    --alpha-form-field-focus-border-color: var(--alpha-grey-color);
    --alpha-border-radius: 0;
    --alpha-form-field-padding: 11px 2rem;
    font-family: var(--alpha-body-font-family), sans-serif;
    font-weight: var(--alpha-body-font-weight);
    font-size: var(--alpha-body-font-size);
    line-height: var(--alpha-body-line-height);
    letter-spacing: var(--alpha-body-letter-spacing);
    text-transform: var(--alpha-body-text-transform);
    color: var(--alpha-body-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 2rem;
    font-family: var(--alpha-heading-font-family), var(--alpha-body-font-family), sans-serif;
    font-weight: var(--alpha-heading-font-weight, 600);
    font-size: var(--alpha-heading-font-size);
    line-height: var(--alpha-heading-line-height, var(--alpha-body-line-height));
    letter-spacing: var(--alpha-heading-letter-spacing, var(--alpha-body-letter-spacing));
    text-transform: var(--alpha-heading-text-transform, var(--alpha-body-text-transform));
    color: var(--alpha-heading-color, var(--alpha-body-color));
}

p {
    margin: 0 0 2rem;
}

h1 {
    font-size: var(--alpha-h1-font-size, 5rem);
}

h2 {
    font-size: var(--alpha-h2-font-size, 3.8rem);
}

h3 {
    font-size: var(--alpha-h3-font-size, 2.8rem);
}

h4 {
    font-size: var(--alpha-h4-font-size, 2.2rem);
}

h5 {
    font-size: var(--alpha-h5-font-size, 1.8rem);
}

h6 {
    font-size: var(--alpha-h6-font-size, 1.6rem);
}

input[type="number"] {
    appearance: textfield;
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="reset"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
textarea {
    min-height: 4.1rem;
    padding: var(--alpha-form-field-padding);
    border: 1px solid var(--alpha-form-field-border-color);
    border-width: var(--alpha-form-field-border-width);
    border-radius: var(--alpha-border-radius);
    font-size: var(--alpha-form-field-font-size);
    line-height: 1.5;
    font-weight: 400;
    color: var(--alpha-form-field-color);
    background-color: var(--alpha-form-field-bg-color);
    box-shadow: none;
    outline: 0;
    vertical-align: middle;
}

input[type="date"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder,
input[type="password"]::placeholder,
input[type="reset"]::placeholder,
input[type="search"]::placeholder,
input[type="tel"]::placeholder,
input[type="text"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder {
    color: inherit;
    opacity: var(--alpha-form-field-placeholder);
    transition: opacity 0.3s;
}

input[type="date"]:focus::placeholder,
input[type="email"]:focus::placeholder,
input[type="number"]:focus::placeholder,
input[type="password"]:focus::placeholder,
input[type="reset"]:focus::placeholder,
input[type="search"]:focus::placeholder,
input[type="tel"]:focus::placeholder,
input[type="text"]:focus::placeholder,
input[type="url"]:focus::placeholder,
textarea:focus::placeholder {
    opacity: 0;
}

.container,
.container-fluid {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
}

.container-fluid .container-fluid,
.container .container-fluid {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.container .container {
    width: 100%;
}

.sticky-content>.container {
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 479px) {

    .container,
    .container-fluid,
    .sticky-content>.container {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.container-fluid {
    max-width: var(--alpha-container-fluid-width);
}

.container-fluid .container {
    max-width: calc(var(--alpha-container-fluid-width) - 30px);
}

.container {
    max-width: var(--alpha-container-width);
}

.divider {
    display: inline-block;
    vertical-align: middle;
    height: 1.9rem;
    width: 1px;
    background-color: var(--alpha-change-border-color);
}



.menu-icon {
    display: inline-block;
    color: var(--alpha-change-color-light-1);
    width: 1.7rem;
}

.menu-icon:after,
.menu-icon:before {
    display: block;
    content: "";
    width: 100%;
}

.menu-icon:before {
    height: 6px;
    border-top: 2px solid;
    border-bottom: 2px solid;
}

.menu-icon:after {
    height: 4px;
    border-bottom: 2px solid;
}

.close-icon {
    display: block;
    position: relative;
    width: 2.9rem;
    height: 2.9rem;
    color: var(--alpha-change-color-light-3);
    transform: rotateZ(45deg);
}

.page-header svg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    fill: var(--alpha-change-color-light-1);
}

.page-header>img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header .parallax-background {
    margin-left: -2rem;
}

.page-header-animate>.parallax-background,
.page-header-animate>img {
    animation: 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) ptbBgAnimate;
}

.page-header-animate .page-title-bar {
    animation: 0.6s ease-out 0.5s both pbtContentAnimate;
}

@keyframes ptbBgAnimate {
    0% {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}

@keyframes pbtContentAnimate {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.page-title-bar {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
    z-index: 3;
}

.page-title-bar .breadcrumb {
    padding: 0;
    justify-content: center;
}

.page-title-bar .breadcrumb:first-child {
    margin-top: 0;
}

.page-title-bar .search-wrapper {
    margin-top: 1em;
    max-width: 450px;
}

.page-title-bar.type-left {
    align-items: flex-start;
}

.page-title-bar.type-center {
    text-align: center;
}

.breadcrumb-container {
    width: 100%;
    margin: 0 auto;
}

.breadcrumb-container:empty+main {
    margin-top: 5rem;
}

.breadcrumb-wrap {
    border-bottom: 1px solid var(--alpha-change-border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.2rem 0.2rem;
    font-family: var(--alpha-ptb-breadcrumb-font-family), var(--alpha-body-font-family), sans-serif;
    font-weight: var(--alpha-ptb-breadcrumb-font-weight, var(--alpha-body-font-weight));
    font-size: var(--alpha-ptb-breadcrumb-font-size, var(--alpha-body-font-size));
    line-height: var(--alpha-ptb-breadcrumb-line-height, var(--alpha-body-line-height));
    letter-spacing: var(--alpha-ptb-breadcrumb-letter-spacing, var(--alpha-body-letter-spacing));
    text-transform: var(--alpha-ptb-breadcrumb-text-transform, var(--alpha-body-text-transform));
    color: var(--alpha-ptb-breadcrumb-color, var(--alpha-body-color));
}

.breadcrumb .delimiter {
    opacity: 0.6;
    margin: 0 0.6em;
    font-size: 1.1em;
    line-height: 1;
}

.breadcrumb .delimiter i {
    position: relative;
    top: 1px;
}

.breadcrumb a {
    opacity: 0.7;
    transition: color 0.3s, opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
    color: inherit;
}

.breadcrumb.home-icon>li:first-of-type>a:before {
    font-family: "alpha";
    content: "";
}

.breadcrumb_wrapper .breadcrumb {
    color: inherit;
}

.type-center .breadcrumb {
    justify-content: center;
}

.archive .breadcrumb,
.error404 .breadcrumb,
.product-archive-page .breadcrumb,
.single-post .breadcrumb,
.single-product .breadcrumb {
    border: none;
}

.breadcrumb-divider-active .breadcrumb {
    border-bottom: 1px solid var(--alpha-change-border-color);
}

.breadcrumb svg {
    width: 1em;
    height: auto;
}

@media (min-width: 992px) {
    .page-title-bar.type-inline {
        justify-content: space-between;
        flex-direction: row;
    }

    .page-title-bar.type-inline .breadcrumb {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .page-title-bar .page-title {
        font-size: 3rem;
    }
}

.default-header {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.default-header .logo {
    width: 13.5rem;
}

.default-header .menu>.menu-item-has-children>a:after {
    right: -0.5rem;
}

.custom-header a.logo {
    margin: 0;
}

.absolute-header,
.sticky-header .custom-header {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 1040;
}
@media (min-width:1025px) {
.langbox {
    width: 40px;
    height: auto;
    display: inline-block;
    align-items: center;
    margin: auto 0;
    position: relative; /* ВАЖНО */
}

.langbox-content {
    display:flex;
    top:0;
}

/* скрываем другие языки */
.langbox-content a {
    display: none;
    margin:0 0 10px;
    
}
.langbox-content a.gt-current-lang {
    display: flex; /* Или block / inline-block, в зависимости от того, как выглядит флаг */
}
/* раскрытое меню - .open вместо :hover*/
.langbox-content:hover {
    position: absolute;
    top: -16px;  /* ФИКСИРОВАННОЕ ПОЛОЖЕНИЕ */
    left: 0;   /* ВСЕГДА С ПРАВА */
    display: block;
    padding: 0;
    background-color:transparent;
}

.langbox-content:hover a {
     display: block;
   border-radius: 5px;
   box-sizing: border-box;
    color: white;
    background-color:#323334;
}
}
.mobile-menu-toggle {
    --alpha-menu-toggle-size: 27px;
    --alpha-menu-toggle-color: #fff;
    --alpha-menu-toggle-hover-color: var(--alpha-primary-color);
    display: block;
    line-height: 1;
    color: var(--alpha-menu-toggle-color);
    transition: color 0.3s, background-color 0.3s;
}

.mobile-menu-toggle.direction-top {
    overflow: hidden;
}

.mobile-menu-toggle i {
    font-size: var(--alpha-menu-toggle-size);
}

.mobile-menu-toggle:hover {
    color: var(--alpha-menu-toggle-hover-color);
}

@media (min-width: 992px) {
    .elementor-widget-udesign_header_mmenu_toggle {
        display: none !important;
    }
}

.logo {
    display: block;
}

.site-logo {
    width: 100%;
}

.site-sticky-logo {
    display: none;
}

.site-sticky-logo,
.site-sticky-logo~.site-logo {
    transition: opacity 0.3s, transform 0.3s;
}

.sticky-content .site-sticky-logo {
    display: block;
}

.sticky-content:not(.fixed) .site-sticky-logo {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transform: translateX(30px);
}

.fixed .site-sticky-logo~.site-logo {
    position: absolute;
    top: -9999px;
    opacity: 0;
    transform: translateY(-30px);
}

@media (min-width: 768px) {
    .site-mobile-logo {
        position: absolute;
        top: -9999px;
    }
}

@media (max-width: 767px) {
    .site-logo:not(:last-child) {
        display: none;
    }

    .site-mobile-logo {
        display: block;
    }
}

@media (max-width: 479px) {
    .welcome-msg {
        white-space: nowrap;
        transform: translateX(0);
        animation: 6s linear 2s 1 show_msg_first, 12s linear 8s infinite show_msg;
    }
}

@keyframes show_msg_first {
    0% {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes show_msg {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

:root {
    --alpha-menu-has-children-arrow: 2rem;
    --alpha-dropdown-triangle-pos: calc(100% - 22px);
}

.dropdown-menu,
.toggle-menu,
nav .menu {
    display: inline-block;
}

.horizontal-menu.menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.menu-active-underline>li>a:before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 2px solid;
    transform-origin: right center;
    transform: scale(0, 1);
    transition: transform 0.3s;
}

.menu-active-underline>li.current-menu-ancestor>a,
.menu-active-underline>li.current-menu-item>a,
.menu-active-underline>li:hover>a,
.menu-active-underline>li>a:hover {
    color: inherit;
}

.menu-active-underline>li.current-menu-ancestor>a:before,
.menu-active-underline>li.current-menu-item>a:before,
.menu-active-underline>li:hover>a:before,
.menu-active-underline>li>a:hover:before {
    transform-origin: left center;
    transform: scale(1, 1);
}

.menu-active-underline>li.current-menu-item~.current-menu-item>a:before {
    transform-origin: right center;
    transform: scale(0, 1);
}

.tip {
    display: inline-block;
    position: relative;
    top: -1px;
    left: 8px;
    border-radius: 2px;
    padding: 4px 6.5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    color: var(--alpha-white-color);
    text-transform: uppercase;
}

.tip.tip-hot {
    color: var(--alpha-secondary-color);
}

.tip.tip-new {
    color: var(--alpha-primary-color);
}

.menu .toggle-btn,
.mobile-menu .toggle-btn,
.toggle-btn {
    display: flex;
    align-items: center;
    position: absolute;
    padding: 6px;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.6;
    cursor: pointer;
}

.toggle-btn:before {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.5s;
}

.menu .toggle-btn:before,
.mobile-menu .toggle-btn:before {
    font-family: "alpha";
    content: "";
    position: static;
    border: none;
    width: auto;
}

.menu .toggle-btn,
.mobile-menu .toggle-btn {
    width: auto;
}

.menu .toggle-btn:after,
.mobile-menu .toggle-btn:after {
    content: none;
}

.show>.toggle-btn:before,
.show>a .toggle-btn:before {
    transform: rotate(270deg);
}

.mobile-menu-wrapper {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    transition: visibility 0.4s;
}

.mobile-menu-wrapper .loading1:after,
.mobile-menu-wrapper .loading1:before,
.mobile-menu-wrapper .loading2:after,
.mobile-menu-wrapper .loading2:before {
    background: var(--alpha-change-color-light-1);
}

.mobile-menu-wrapper .loading1:before {
    box-shadow: inset 0 0 0 2px var(--alpha-change-color-light-1);
}

.mobile-menu-container {
    position: relative;
    max-width: var(--alpha-menu-width);
    padding: 2rem 1.5rem;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #222;
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.5);
    margin-left: calc(-1 * var(--alpha-menu-width));
    transition: margin 0.4s;
}

.mmenu-from-end .mobile-menu-container {
    margin-left: auto;
    margin-right: calc(-1 * var(--alpha-menu-width));
}

.mobile-menu-container .d-loading:before {
    background: transparent;
}

.mobile-menu-container .hs-simple .input-wrapper {
    display: flex;
    margin-bottom: 0.6rem;
    border: none;
}

.mobile-menu-container .hs-simple .input-wrapper .form-control {
    color: #e1e1e1;
    padding: 1.4rem 1.9rem;
    border: none;
    border-radius: var(--alpha-corner-sm) 0 0 var(--alpha-corner-sm);
}

.mobile-menu-container .hs-simple .input-wrapper .btn-search {
    color: var(--alpha-white-color);
    border-radius: 0 var(--alpha-corner-sm) var(--alpha-corner-sm) 0;
}

.mobile-menu-container .hs-simple .input-wrapper .btn-search,
.mobile-menu-container .hs-simple .input-wrapper .form-control {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-container .hs-simple .input-wrapper .btn-search {
    padding: 0;
    border: 0;
}

.mobile-menu-container .hs-simple .input-wrapper i {
    vertical-align: initial;
    margin: 0;
    font-size: inherit;
}

.mobile-menu-container .mobile-menu {
    margin-bottom: 0.5rem;
}

.mobile-menu-container .mobile-menu .menu-item>a>i {
    min-width: 20px;
    text-align: center;
    font-size: 18px;
    margin-right: 1rem;
    vertical-align: -3px;
}

.mobile-menu-container .tab {
    margin-top: 2.5rem;
}

.mobile-menu-container .tab-pane {
    padding: 1rem 0 0;
}

.mobile-menu-container .nav {
    border-bottom: 2px solid var(--alpha-change-border-color-light);
}

.mobile-menu-container .nav-wrapper {
    overflow: hidden;
}

.mobile-menu-container .nav-link {
    margin-bottom: -2px;
    padding: 10px;
    font-size: 13px;
    color: var(--alpha-change-color-light-1);
    border-bottom: 2px solid transparent;
}

.mobile-menu-container .nav-item:hover .nav-link {
    color: var(--alpha-change-color-light-1);
    border-color: transparent;
}

.mobile-menu-container .nav-item .nav-link.active,
.mobile-menu-container .nav-item.show .nav-link {
    color: var(--alpha-primary-color);
    border-color: var(--alpha-primary-color);
}

.mobile-menu-container .nav-item+.nav-item {
    margin-left: 1px;
}

.mobile-menu-container .nav-item {
    margin-bottom: 0;
}

.mobile-menu {
    --alpha-menu-has-children-arrow: 1rem;
    color: #e1e1e1;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.mobile-menu ul {
    display: none;
    width: 100% !important;
}

.mobile-menu>li:first-child {
    padding-top: 0.5rem;
}

.mobile-menu>li:last-child {
    padding-bottom: 0.5rem;
}

.mobile-menu>li:not(:last-child) {
    border-bottom: 1px solid #323334;
}

.mobile-menu>li>ul {
    margin-bottom: 1.3rem;
}

.mobile-menu li a {
    display: block;
    position: relative;
    padding: 13px 6px 13px 10px;
}

.mobile-menu li li a {
    padding-left: 2.4rem;
}

.mobile-menu li li li a {
    padding-left: 3.6rem;
}

.mobile-menu .active>a,
.mobile-menu .expanded {
    background: var(--alpha-change-color-dark-1);
}

.mobile-menu .menu-item-has-children>a:after {
    content: none;
}

.mobile-menu-title {
    margin-bottom: 0.5rem;
    color: var(--alpha-change-color-light-1);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-menu-overlay {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #000;
    opacity: 0;
    transition: opacity 0.4s;
}

.mobile-menu-close {
    position: fixed;
    left: calc(100vw - 50px);
    top: 25px;
    transition: opacity 0.3s;
    opacity: 0;
}

.mmenu-from-end .mobile-menu-close {
    left: auto;
    right: calc(100vw - 50px);
}

.mobile-menu-close i {
    font-size: 2.8rem;
    color: #e1e1e1;
}

.mobile-menu-light .mobile-menu-container {
    background: #fff;
}

.mobile-menu-light .hs-simple .input-wrapper .btn-search,
.mobile-menu-light .hs-simple .input-wrapper .form-control {
    background-color: #f1f1f1;
}

.mobile-menu-light .hs-simple .input-wrapper .btn-search {
    color: #222;
}

.mobile-menu-light .hs-simple .input-wrapper .form-control {
    color: #888;
}

.mobile-menu-light .mobile-menu {
    color: #323334;
}

.mobile-menu-light .mobile-menu>li:not(:last-child) {
    border-color: #e5e5e5;
}

.mobile-menu-light .nav-link {
    color: #323334;
}

.mmenu-active {
    overflow: hidden;
}

.mmenu-active .mobile-menu-wrapper {
    visibility: visible;
    z-index: 10002;
}

.mmenu-active .mobile-menu-container {
    margin-left: 0;
}

.mmenu-active.mmenu-from-end .mobile-menu-container {
    margin-left: auto;
    margin-right: 0;
}

.mmenu-active .mobile-menu-overlay {
    opacity: 1;
}

.mmenu-active .mobile-menu-close {
    opacity: 1;
}

@media (max-width: 400px) {
    .mobile-menu-close {
        left: calc(100vw - 40px);
        top: 10px;
    }

    .mmenu-from-end .mobile-menu-close {
        left: auto;
        right: calc(100vw - 40px);
    }
}

.lazy-menu>li:hover>ul {
    height: 32rem;
    min-width: 22rem;
}

@media (min-width: 768px) {
    #scroll-top {
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        bottom: 2rem;
        right: 1.5rem;
        z-index: 999989;
        width: 46px;
        height: 46px;
        font-size: 14px;
        font-weight: 700;
        color: var(--alpha-dark-color);
        opacity: 0;
        transition: bottom 0.3s, opacity 0.3s;
    }

    #scroll-top.show {
        opacity: 1;
        bottom: calc(100vh * 0.1);
    }

    #scroll-top:focus,
    #scroll-top:hover {
        text-decoration: none;
    }

    #scroll-top:hover {
        opacity: 0.8;
    }

    #scroll-top i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: var(--alpha-white-color);
        background-color: var(--alpha-dark-color);
        border: 2px solid var(--alpha-dark-color);
        border-radius: 50%;
        z-index: 1;
    }

    #scroll-top svg {
        position: absolute;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        top: 1px;
        left: 1px;
        transform: rotate(-90deg); /* Поворачиваем, чтобы круг начинался сверху */
    overflow: visible;
    }

    #scroll-top svg circle {
        stroke: var(--header-logo-color);
        stroke-width: 4px;
        stroke-linecap: round;
        stroke-dasharray: 1, 400;
    }
}

@media (max-width: 767px) {
    #scroll-top {
        display: none;
    }
}

.appear-animate {
    visibility: hidden;
    opacity: 0;
}

.appear-animation-visible {
    visibility: visible;
    opacity: 1;
}

.appear-animation-visible.animated-done {
    animation: none;
}

.animated-svg svg {
    width: 100%;
    height: 100%;
}

.animated {
    animation-timing-function: cubic-bezier(0.3, 0.3, 0.15, 1);
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated[data-plugin="scrolling"] {
    animation-fill-mode: none;
}

.revealInDown:after,
.revealInLeft:after,
.revealInRight:after,
.revealInUp:after {
    content: "";
    display: block !important;
    position: absolute;
    background-color: var(--alpha-reveal-animation-color);
    visibility: visible;
    animation-duration: inherit;
    animation-delay: inherit;
    animation-timing-function: inherit;
    z-index: 10;
}

.revealInDown>*,
.revealInLeft>*,
.revealInRight>*,
.revealInUp>* {
    visibility: inherit !important;
}

@keyframes revealContent {
    0% {
        visibility: hidden;
    }

    50% {
        visibility: hidden;
    }

    50.1% {
        visibility: visible;
    }
}

.maskUp {
    animation-name: maskUp;
}

.maskRight {
    animation-name: maskRight;
}

.maskDown {
    animation-name: maskDown;
}

.maskLeft {
    animation-name: maskLeft;
}

@keyframes maskUp {
    0% {
        transform: translate(0, 100%);
    }

    to {
        transform: translate(0, 0);
    }
}

@keyframes maskRight {
    0% {
        transform: translate(-100%, 0);
    }

    to {
        transform: translate(0, 0);
    }
}

@keyframes maskDown {
    0% {
        transform: translate(0, -100%);
    }

    to {
        transform: translate(0, 0);
    }
}

@keyframes maskLeft {
    0% {
        transform: translate(100%, 0);
    }

    to {
        transform: translate(0, 0);
    }
}

.blink {
    animation-name: blink;
}

@keyframes blink {

    0%,
    to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.animated .customLineAnim {
    animation: 5s customLineAnim;
}

@keyframes customLineAnim {
    0% {
        opacity: 1;
        stroke-dasharray: 2000;
        stroke-dashoffset: 2000;
        stroke-linecap: square;
    }

    to {
        opacity: 1;
        stroke-dasharray: 3000;
        stroke-dashoffset: 2000;
        stroke-linecap: square;
    }
}

.kenBurnsToRight {
    -webkit-animation-name: kenBurnsToRight;
    animation-name: kenBurnsToRight;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    transform-origin: right;
}

.kenBurnsToLeft {
    -webkit-animation-name: kenBurnsToLeft;
    animation-name: kenBurnsToLeft;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    transform-origin: left;
}

.kenBurnsToLeftTop {
    -webkit-animation-name: kenBurnsToLeft;
    animation-name: kenBurnsToLeft;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    transform-origin: left top;
}

.kenBurnsToRightTop {
    -webkit-animation-name: kenBurnsToRight;
    animation-name: kenBurnsToRight;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    transform-origin: right top;
}

@keyframes kenBurnsToRight {
    0% {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}

@keyframes kenBurnsToLeft {
    0% {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}

.particle-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.snowfall {
    background-image: url(../images/s1.png), url(../images/s2.png), url(../images/s3.png);
    animation: snow 10s linear infinite;
    z-index: 1;
}

.effect-snow {
    background-image: url(../images/s4.png), url(../images/s5.png);
    animation: snowsecond 20s linear infinite;
}

@keyframes snow {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }

    50% {
        background-position: 500px 500px, 100px 300px, -200px 250px;
    }

    to {
        background-position: 400px 800px, 300px 600px, -200px 400px;
    }
}

@keyframes snowsecond {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }

    to {
        background-position: 500px 1000px, 400px 400px, 300px 300px;
    }
}

.sparkle {
    background-image: url(../images/sparkle1.png), url(../images/sparkle2.png);
    animation: sparkle 60s linear infinite;
}

@keyframes sparkle {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px;
    }

    to {
        background-position: -500px -1000px, -400px -400px, 300px 300px;
    }
}

.fa-spin {
    animation-name: fa-spin;
    animation-delay: var(--fa-animation-delay, 0s);
    animation-direction: var(--fa-animation-direction, normal);
    animation-duration: var(--fa-animation-duration, 2s);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-timing-function: var(--fa-animation-timing, linear);
}

.fa-pulse {
    animation-name: fa-spin;
    animation-direction: var(--fa-animation-direction, normal);
    animation-duration: var(--fa-animation-duration, 1s);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-timing-function: var(--fa-animation-timing, steps(8));
}

@media (prefers-reduced-motion: reduce) {

    .fa-pulse,
    .fa-spin {
        animation-delay: -1ms;
        animation-duration: 1ms;
        animation-iteration-count: 1;
        transition-delay: 0s;
        transition-duration: 0s;
    }
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================  Базовые стили  ===================================================================== */
.tooltip-container {
    /* 1. Обязательно для позиционирования тултипа относительно этого элемента */
    position: relative;
    display: inline-block; /* Чтобы элемент занимал только нужную ширину */
    cursor: pointer;
    padding: 5px;
}

.tooltip-container::after {
    /* 2. Содержимое: берем текст из атрибута data-tooltip */
    content: attr(data-tooltip);

    /* 3. Позиционирование и внешний вид */
    position: absolute;
    bottom: 135%; /* Размещаем тултип над элементом (100% + небольшой отступ) */
    left: 50%;
    transform: translateX(-50%); /* Центрирование по горизонтали */
    
    /* 4. Стили текста и фона */
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 8px 12px;
    border-radius: 4px;
    width: auto;
    white-space: nowrap; /* Запрет переноса строки */
    z-index: 10;
    overflow: hidden;
    /* 5. Скрытие по умолчанию */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s; /* Плавный переход */
}

/* 6. Отображение тултипа при наведении */
.tooltip-container:hover::after {
    visibility: visible;
    opacity: 1;
}
.header-wrapper {
    max-width: 100% !important;
    height: 4rem;
    padding:0px;
    overflow-x: hidden;
}

.page-header {
    position: fixed;
    top: 0;
    left:0;
    padding: 0.5rem 0;
    margin:0 ;
    justify-content: space-evenly;
    width: 100% ;

    height: auto;
    background-color: var(--header-bg-color);
    color: var(--header-text-color);
    box-sizing: border-box;
    border-bottom: 1px solid #cdcdcd;
    transition: all 0.3s ease-in-out;
    z-index: 100000011 !important;
    /* Плавный переход для эффектов */
}

/* Стили для основного блока с логотипом и меню */
.header-main {
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    transition: padding 0.3s ease, transform 0.3s ease;
    z-index: 100010000;
}

.header-content {
    display: flex;
    flex-direction: row;
    width: 90%;
    top: 0;
    height: 1.5rem !important;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin: 0 auto;
    font-size: 11px;
    transition: opacity 0.6s ease, transform 0.7s ease, translate 0.7s ease;
    opacity: 1;
    transform: translateY(0);
}

/* ==== Когда шапка сжата ==== */
.page-header.shrunk {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    padding:0;
}

.page-header.shrunk .header-main {
    padding: 1px 5px;
    transform: scale(0.95);
}

.page-header.shrunk .header-logo img {
    width: 100%;
    margin-left: 5%;
    max-width: calc(var(--logo-max-width) * 0.5) !important;
    transition: max-width 1.7s ease;
}

/* Плавное исчезновение верхней полоски */
.page-header.shrunk .header-content {
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
}

.header-contact {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 50%;
    height: 1.5rem;
    gap: 20px;
}

.header-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    width: 50%;
    height: 1.5rem;
    gap: 20px;
}

.contact-phone {
    display: flex;
    color: #fff;
}

.contact-email a,
.contact-schedule .text,
.help-link a {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}

.contact-email .icon,
.contact-schedule .icon,
.help-link .icon {
    margin-right: 5px;
}


.social-icons a {
    color: var(--copyright-color);
    padding: 5px;
    margin: 0 5px;
}

.social-icons a:hover {
    color: var(--copyright-color);
    padding: 5px;
    margin: 0 5px;
}

@media (min-width:1024px) {
/* 3. Стилизация логотипа и названия */
.header-logo {
    width:auto;
    max-width: 30%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    flex-wrap: nowrap;
    flex-direction: row;
}
}
.header-logo a {
    display: flex;
    /* Включаем Flexbox */
    align-items: center;
    /* Выравнивание по центру по вертикали */
    text-decoration: none;
    /* Убираем подчеркивание */
}

.header-logo .custom-logo {
    margin: 0 5px;
    /* Отступ справа от логотипа */
}

.header-logo .site-title-text {
    font-size: var(--logo-title-size);
    color: var(--header-logo-color);
    font-family: var(--logo-font-family);
    font-weight: var(--logo-title-weight);
    font-style: var(--logo-font-style);
    line-height: 1;
    flex-wrap: nowrap;
}
.header-menu {
    width:40%;
}
.custom-logo img {
    /* Если логотип - это изображение */
    display: flex;
    height: auto;
    max-height: 60px;
    /* Базовая высота логотипа */
    width: var(--logo-max-width) !important;
    margin: 0 5px;
    transition: max-height 0.3s ease-in-out;
}

.header-logo h1 {
    /* Если логотип - это название сайта */
    font-size: var(--logo-title-size);

    margin: 0;
    line-height: 1;
    font-family: var(--logo-font-family);
    font-weight: var(--logo-title-weight);
    font-style: var(--logo-font-style);
    color: var(--header-logo-color);
    /* Используем цвет текста хедера */
}
.login {background-color: #09f2e2 !important;}
/* Навигационное меню */
.main-menu {
    list-style: none;
    margin: 0 0 0 30px;
    padding: 0;
    display: flex;
    justify-content: flex-end;
     z-index: 10000000001;
}

.menu-item {
    position: relative;
    
    line-height: 1.1;
     z-index: 10000000001;
}

.menu-item a {margin: 0 8px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
     z-index: 10000000001;
}

.menu-item a .fa-caret-down {
    position: relative;
    display: inline;
    float: right;

    margin-right: 5px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -25%;
    list-style: none;
    line-height: 1.3;
    padding: 10px 5px;
    font-size: 13px;
    color: #fff;
    background: #141414;
    border-radius: 10px;
    z-index: 100000001;
}

.has-submenu .menu-item li {
    display: flex;
    justify-content: flex-start;
    padding: 20px 0 !important;
}

.has-submenu li {
    padding: 5px 0 5px 7px !important;
}

.has-submenu:hover .submenu {
    display: block;
    width: 180px;
    height:auto;
    max-height:250px;
    overflow-y: scroll;
    border-radius: 10px !important;
    position: absolute;
    z-index: 10000001 !important;
}

.has-submenu li:hover {
    color: #09f2e2;
}
.submenu::-webkit-scrollbar {
  width: 12px; /* Для вертикального скроллбара */
  height: 12px; /* Для горизонтального скроллбара */
}
.submenu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px; /* Скругление углов дорожки */
}
.submenu::-webkit-scrollbar-thumb {
  background: #888;
  width:auto;
  height:5px !important;
  border-radius: 10px; /* Скругление углов бегунка */
  border: 3px solid #f1f1f1; /* Добавление отступа вокруг бегунка (цвет фона дорожки) */
}
.submenu::-webkit-scrollbar-thumb:hover {
  background: #555; /* Цвет при наведении */
}

/* Кнопки и формы */
.search-form {
    align-items: center;
    padding:0 10px;
}

/* Стили для формы поиска по умолчанию */
.search-box {
    display: none;
}

/* Стили для активной формы */
.search-box.is-active {
    display: block;
    position: absolute;
    top: 10px;
    right: 1rem;
}

/* Стили для мобильного меню */
.mobile-menu-toggle {
    display: none;
    /* Скрыть на десктопе */
}

/* Стили для мобильного вида */
@media (max-width: 991px) {

}


.main {
    width: 100%;
    height: auto;
    background-color: transparent;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
     z-index: 1;
}

.first {
    align-self: center;
    flex: 0 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden !important;
    transition: all 0s !important;
    padding: 22rem 0rem 3.2rem 0rem;
    background-color: var(--service-bg-color);
}

.second {
    align-self: center;
    flex: 0 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden !important;
    transition: all 0s !important;
    padding: 20.9rem 0rem 3.2rem 0rem;
    background-color: #141414;
}

.main-gap-no {
    display: block;
    justify-content: center;
    width: 100vw;
    max-width: 100%;
    height: calc(100vh - 70%);
    background-color: #141414;
    margin: 3.5rem auto -30px;
    top: 0 !important;
    padding: 60px 60px 0;
    box-sizing: border-box;
}


.service-container {
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0 15px;
    margin: 15px auto;
    flex-flow: column wrap;
}


.duplex-header {
    display: block;
    justify-content: flex-end;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 10vh;
    padding: 30px 0 0;
    top: -9.5rem;
    left: -10%;
    z-index: 0;
}

.duplex-header span {
    font-family: var(--duplex-span-font-family);
    display: flex;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    white-space: nowrap;
    color: var(--duplex-span-color);
    font-size: var(--duplex-span-size);
    font-weight: var(--duplex-span-font-weight);
    line-height: 1;
    letter-spacing: -0.01em;
    -webkit-text-stroke-color: var(--duplex-span-color);
    position: absolute;
    bottom: 0.5vw;
    left: 4%;
    margin:0;
    padding:0;
    text-transform: uppercase;
    z-index: 99;
    opacity: 0.7;
}

.duplex-header h2 {
    width: inherit;
    display: flex;
    flex-wrap: nowrap;
    color: var(--duplex-header-color);
    font-size:var(--duplex-header-size);
    font-weight: var(--duplex-header-weight);
    font-family: var(--duplex-header-font-family);
    line-height: 1;
    bottom: 0;
    left: 11%;
    z-index: 100;
    position: absolute;
}

.service-block {
    display: block;
    width: 100%;
    height: auto;
}

.service-row {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    column-count: 3;
    margin-bottom: 60px;
    gap: 30px;
    box-sizing: border-box;
}

.service-content {
    /* Рассчитываем ширину для 3 элементов в ряду с учетом отступа */
    width: calc(33.333% - 33.333px);
    /* (2 * 50px) / 3 = 33.333px */
    box-sizing: border-box;
    /* Учитываем padding и border в общей ширине */
    margin-bottom: 50px;
    /* Отступ между рядами */
}

.service-content-box {
    width: 25vw;
    height: 200px;
    display: block;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;

}

.service-content-img {
    display: block;
    width: 6.2rem;
    height: auto;

}

.service-content h3 {
    display: inline-flex;
    width: 100%;
    text-align: left;
    height: 30px;
    font-size: 2.2rem;
    padding: 10px 0;
}

.service-content p {
    align-items: flex-start;
    font-size: 1.4rem;
    width: 100%;
    height: 100px;
    padding-right: 20px;
    line-height: 1.2;
}


.about-section {
    align-self: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden !important;
    transition: all 0s !important;
    background-color: #141414;
}

.about-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 20px 0;
}

.about-content {
    display: flex;
    flex-direction: row;
    ;
    width: 80%;
    height: auto;
    align-content: center !important;
    flex-wrap: nowrap;
    position: relative;
    padding: 60px 10px;
}

.about-img {
    align-self: center;
    border: none;
    border-radius: 20px;
    box-shadow: none;
    height: auto;
    width: 80%;
}

.about-conten-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: 65vw;
    position: absolute;
    flex: 0 0 100%;
    top: 10%;
    left: 0;
    padding: 5% 0;
    text-align: right;
    justify-content: center;
    align-items: flex-end;
    z-index: 10 !important;
    color: #fff;
    gap: 2%;
}

.about-conten-text h1 {
    font-family: 'a_AvanteBs', Arial, sans-serif !important;
    -webkit-text-stroke: 5px #ff4e18;
    color: rgba(0, 0, 0, 0.0);
    font-size: calc(100vw / 9) !important;
    font-weight: 600;
    line-height: 1.2;
    z-index: 1;
    max-width: 100% !important;
    text-transform: uppercase;
    opacity: 1;

}

.about-conten-text h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
}

.about-conten-text h6 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
}

.about-conten-text h4 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
}

.about-conten-text h5 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
}

.about-button {
    display: inline-flex;
    width: auto;
    height: auto;
    color: #ff4e18;
    font-size: 14px;
}

.a-icon-long-arrow-right {
    display: flex;
    align-items: center;
    margin-left: 10px;
    padding: 5px 0;
}

/* =============Project Page CSS ===============*/
.project-page-section {
    width:80%;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    transition: all 0s !important;
    padding: 10rem;
    margin:0 auto 60px;
    background-color: #FFFFFF;
}

.project-page-wrap {
    width: 100%;
    height: auto;
    display: block;
    flex-direction: column;
    justify-content: center;

    padding: 0 25px;
    margin: 15px auto;

}

.project-page-header {
    width: auto;
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    left: 5px;
    z-index: 100;
    position: absolute;
}

#project-page-posts-grid {
    justify-content: center;
    align-content: center;
    display: grid;
    place-items: center;
    grid-template-columns: repeat(3, auto);
    padding: 0 20px;
    gap: 40px;
}

.project-page-item-box {
    width: auto;
    max-width: 23vw;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 15px auto;
}

.project-page-item-box-img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5/3;
    position: relative;
}

.project-page-item-box-img img {
    margin: 10px auto;
    object-fit: fill;
    object-position: 50% 60%;
}

.tb-hover-content {
    display: inline-flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 45%;
    left: 45%;
    width: 40px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 300px;
}

.tb-hover-content a {
    font-size: 2.5rem;
    padding: 5px;
    z-index: 1 !important;
}

.project-page-item-box-text {
    width: 100%;
    height: 250px;
    margin: 0;
    padding: 10px 0;
}

.project-page-item-box-span {
    width: 100%;
    height: 15px;
    text-align: left;
    font-size: 0.8vw;
    color: #000;
    font-weight: 300;
}

.project-page-item-box-title {
    width: 100%;
    height: 2.5rem;
    margin: 10px auto;
    padding-right: 5px;
}

.project-page-item-box-title h3 {
    font-size: 1.2vw;
    font-weight: 600;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

}

.project-page-item-box-title a {
    color: #000;
}

.project-page-item-box-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 70px;
    margin: 10px auto;
    box-sizing: border-box;
}

.project-page-item-box-content-1,
.project-page-item-box-content-2 {
    display: flex;

    width: 100%;
    height: 35px;
    font-size: 0.85em;
    line-height: 1.1;
    padding: 3px 0;
    border-top: #141414 1px dotted;
}

.project-page-left {
    align-items: flex-start;
    float: left;
    width: 25%;
    font-weight: 600;
    text-align: left;
    line-height: 1.1;
}

.project-page-right {
    width: 73%;
    float: right;
    font-weight: 300;
    text-align: left;
    line-height: 1.1;
    padding-left: 17px;
}

.project-page-item-box-content-2 {
    display: flex;
    align-items: center;
    width: 100%;
    height: 35px;
    column-count: 2;
    column-fill: balance;
    flex: 1 auto;
    line-height: 1.1;
    border-bottom: #141414 1px dotted;
}

.project-page-left-2 {
    display: inline-flex;
    justify-content: flex-end;
    font-weight: 300;
    text-align: left;
    line-height: 1.1;
}

.project-page-right-2 {
    display: inline-flex;
    justify-content: flex-end;

    font-weight: 300;
    text-align: right;
    line-height: 1.1;
}

/* ============== Poject CSS =================*/

.project-section {
    align-self: center;
    flex: 0 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    transition: all 0s !important;
    padding: 20rem 0 0;

    background-color: var(--project-bg-color);
}

.project-wrap {
    width: 80%;
    height: auto;
    display: block;
    justify-content: center;
    padding: 0 5px;
    margin: 15px auto;
    flex-direction: column;
}
#project-posts-grid {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0;
        margin:0 auto;
    }
.project-posts-grid-container {
    display: grid;

}


.project-posts-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 400px;
    overflow: hidden;
    gap: 20px;
    /* Здесь задаем отступы */
}

.project-item-box {
    width:25vw;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin: 0 .5vw;
    padding:0 15px;
}

.project-item-box-img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    min-width: 100%;
    height:auto;
    aspect-ratio: 4/3;
    position: relative;

}

.project-item-box-img img {
    margin: 10px auto;
    object-fit: fill;
    object-position: 50% 60%;
    border-radius: 15px;
    border: 2px #fff solid;
}

.tb-hover-content {
    display: inline-flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    top: 45%;
    left: 45%;
    width: 40px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 300px;
}

.tb-hover-content a {
    font-size: 2.5rem;
    padding: 5px;

    z-index: 9999;
}

.project-item-box-text {
    width: 100%;
    height: 250px;
    margin: 0;
    padding: 10px 0;
}

.project-item-box-span {
    width: 100%;
    height: 15px;
    text-align: left;
    font-size: 0.8vw;
    color: #000;
    font-weight: 300;
}

.project-item-box-title {
    width: 100%;
    height: 2.5rem;
    margin: 10px auto;
    padding-right: 5px;
}

.project-item-box-title h3 {
    font-size: 1.2vw;
    font-weight: 600;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

}

.project-item-box-title a {
    color: #000;
}

.project-item-box-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 70px;
    margin: 10px auto;
    box-sizing: border-box;
}

.project-item-box-content-1,
.project-item-box-content-2 {
    display: flex;

    width: 100%;
    height: 35px;
    font-size: 0.85em;
    line-height: 1.1;
    padding: 3px 0;
    border-top: #141414 1px dotted;
}

.project-left {
    align-items: flex-start;
    float: left;
    width: 25%;
    font-weight: 600;
    text-align: left;
    line-height: 1.1;
}

.project-right {
    width: 73%;
    float: right;
    font-weight: 300;
    text-align: left;
    line-height: 1.1;
    padding-left: 17px;
}

.project-item-box-content-2 {
    display: flex;
    align-items: center;
    width: 100%;
    height: 35px;
    column-count: 2;
    column-fill: balance;
    flex: 1 auto;
    line-height: 1.1;
    border-bottom: #141414 1px dotted;
}

.bottom-left {
    justify-content: flex-start;
    float: left;
    width: 30%;
    height: auto;
    font-weight: 700;
    text-align: left;
    line-height: 1.1;
}

.bottom-right {
    justify-content: flex-start;
    flex: 1 auto;
    float: right;
    font-weight: 700;
    text-align: left;
    margin-left: 15px;
    line-height: 1.1;
}

.project-left-2 {
    display: inline-flex;
    justify-content: flex-end;
    font-weight: 300;
    text-align: left;
    line-height: 1.1;
}

.project-right-2 {
    display: inline-flex;
    justify-content: flex-end;

    font-weight: 300;
    text-align: right;
    line-height: 1.1;
}

/*------------------------------------------------------------------------Slider Simple Wrapper---------------------------------------------*/
.slider-simple-wrapper {
    display: flex;
    overflow: hidden;
    /* Оставляем overflow:hidden для скрытия неактивных постов */
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;


    position: relative;
    /* Важно: позиционирование для стрелок */
    margin-top: 50%;
    /* Этот margin-top, вероятно, двигает весь блок, но не стрелки относительно него */
    margin: 0 40px;
    /* Компенсируем padding, чтобы стрелки были по краям */
    padding: 0 10px;
}

/* Скрываем стандартный скроллбар для WebKit-браузеров (Chrome, Safari) */
.slider-simple-wrapper::-webkit-scrollbar {
    display: none;
}

/* Стили для отдельных элементов слайдера */
.slider-simple-wrapper .project-item-box {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: calc((100% / 3) - 20px - (20px / 3));
    box-sizing: border-box;
}

/* Адаптивность: 2 элемента на планшетах */
@media (max-width: 1024px) and (min-width:768px) {
    .slider-simple-wrapper .project-item-box {
        width: calc((100% / 2) - (20px / 2));
        scroll-snap-align: start;
    }
}

/* Адаптивность: 1 элемент на мобильных */
@media (max-width: 767px) {
    .slider-simple-wrapper .project-item-box {
        width: 100%;
        flex: 1 0 100%;
        justify-content: center;
        margin: 0 15px;
        /* Компенсируем padding, чтобы стрелки были по краям */
        padding: 10px !important;
        scroll-snap-align: start;
    }

    .slider-next {
        /* margin-left:50px !important; <--- УДАЛИТЬ ЭТУ СТРОКУ */
        display: none !important;
    }

    .slider-prev {
        /* margin-right:50px !important; <--- УДАЛИТЬ ЭТУ СТРОКУ */
        display: none !important;
    }
}

/* --- Измененные стили для стрелок навигации --- */
.slider-navigation {
    /* Этот блок остаётся как есть, он управляет общим позиционированием и flex-контейнером */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Позволяет кликам проходить сквозь, чтобы можно было взаимодействовать со слайдами */
    padding: 0 5px;
    /* Отступ от краев контейнера слайдера */
    box-sizing: border-box;
    z-index: 1;
    /* Чтобы стрелки были над содержимым */
}

.slider-arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease;
    margin-top: 6%;

    /* --- Вот здесь ключевые изменения для позиционирования стрелок --- */
    position: absolute;
    /* Делаем стрелки абсолютно позиционированными */
    top: 0;
    /* Центрируем стрелку по вертикали относительно родителя */
    transform: translateY(-50%);
    /* Точная вертикальная центровка */
    /* Теперь удалите margin-left и margin-right из .slider-next и .slider-prev */
    /* Эти стили будут перекрыты правилами left/right ниже */
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-next {
    /* margin-left:50px !important; <--- УДАЛИТЬ ЭТУ СТРОКУ */
    right: -65px;
    /* Сдвигаем на 50px вправо от правого края родителя */
    z-index: 1000;
}

.slider-prev {
    /* margin-right:50px !important; <--- УДАЛИТЬ ЭТУ СТРОКУ */
    left: -65px;
    /* Сдвигаем на 50px влево от левого края родителя */
    z-index: 1000;
}

.project-posts-grid {
    padding: 10px;
}

.section-counter {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a202c;
    color: #ffffff;
}

.container {
    display: flex;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 64px 16px;
}

.flex-container {
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 60px;
}

.column-1 {
    display: flex;
    align-self: left;
    position: absolute;
    flex-direction: row;
    margin-top: -3%;
    left: 12%;
    order: 1;
    z-index: 11;
    width: 90%;
    padding: 16px;
}

.column-2 {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 10px 0;
    flex-basis: 500px;
    flex-grow: 1;
    left: 40%;
    order: 2;
    z-index: 10;
}

.title {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.description {
    font-size: 1.125rem;
    color: #000;
}


.counters {
    width: 36%;
    display: flex;
    column-count: 3;
    gap: 32px;
}

.counter-box {
    width: 145px;
    align-content: space-around;
    text-align: center;
    background-color: #374151;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.counter-number {
    height: 50px;
    font-size: 3rem;
    font-weight: 700;
    margin: 10px auto;
}

.counter-suffix {
    font-size: 3rem;
    font-weight: 700;
}

.counter-title {
    height: 20px;
    font-size: 1.25rem;
    margin: 15px auto;
    color: #d1d5db;
}


.image-container {
    position: relative;
    width: 75%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-overlay {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 10;
    padding: 32px;
    max-width: 80%;
    height: 80%;
    text-align: center;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.5);
}

.text-overlay .title {
    font-size: 3rem;
    font-weight: 700;
}

.text-overlay .subtitle {
    font-size: 2rem;
    font-weight: 600;
}

.text-overlay .description {
    font-size: 1.5rem;
    font-weight: 400;
}


/*.flex-container {
    width:80%;
    display: flex;
    flex-direction:row;
    align-items: center;
    justify-content: space-around;
    gap:60px;
}
.column-1 {
    width: 40%;
    padding: 16px;
}
.column-2 {
    width: 60%;
    padding: 10px;
    flex-basis: 500px;
    flex-grow: 1;
}
   
.title {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 8px;
}
.subtitle {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}
.description {
    font-size: 1.125rem;
    color: #000;
}

.counters {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
}
.counter-box {
    width:145px;
    align-content: space-around;
    text-align: center;
    background-color: #374151;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.counter-number {
    height:50px;
    font-size: 3rem;
    font-weight: 700;
    margin:10px auto;
}
.counter-suffix {
    font-size: 3rem;
    font-weight: 700;
}
.counter-title {
    height:20px;
    font-size: 1.25rem;
    margin:15px auto;
    color: #d1d5db;
}
        
 
.image-container {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}
.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.text-overlay {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 10;
    padding: 32px;
    max-width: 600px;
    height:80%;
    text-align: center;
    border-radius: 100px;
    background-color: rgba(255, 255, 255, 0.5);
}
.text-overlay .title {
    font-size: 3rem;
    font-weight: 700;
}
.text-overlay .subtitle {
    font-size: 2rem;
    font-weight: 600;
}
.text-overlay .description{
    font-size: 1.5rem;
    font-weight: 400;
} */




#reviews-section .slider-list {
    transition: transform 0.6s ease-in-out !important;
}

.review-section {
    display: flex;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 1 auto;
    position: relative;
    transition: all 0s !important;
    padding: 10.9rem 0rem 3.2rem 0rem;
    background-color: #cdd1d4;
    transition: transform 0.6s ease-in-out !important;
}

.review-wrap {
    display: flex;
    position: relative;
    margin: 10px auto;
    max-width: calc(100vw - 60px + 2 * 2);

}

.reviews {
    width: 100%;
    background-color: #f4f7f6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100vw;
    box-sizing: border-box;
    position: relative;
}

.testimon-slider {
    width: 80%;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.testimon-container {
    display: flex;
    flex-direction: row;
    padding: 0 20px;
    gap: 4vw;
    transition: transform 0.5s ease-in-out;

}

.reviews-text-container p {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    margin: 20px auto;
    padding: 0 20px;
}

.review-item {
    background-color: rgba(255, 266, 255, 0.3);
    border-radius: 50%;
    padding: 1.5rem;
    flex-shrink: 0;
    width: 100%;
    height: 300px;
    display: block;
    flex-direction: column;
    justify-content: space-between;
}

.review-blockquote {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);

}

.review-quote-image {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;

}

.review-quote-image img {
    width: 100%;
    height: auto;
}

.review-comment {
    font-size: 1.7rem;
    line-height: 1.6;
    color: #333;
    padding: 0 10px;
    margin: 1.5rem 0;
    flex-grow: 1;
    text-align: center;
}

.review-author {
    font-style: normal;
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}

.review-author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.review-author-role {
    font-size: 0.9rem;
    color: #777;
    margin-top: 4px;
}

.slider-nav {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    box-sizing: border-box;
    pointer-events: none;
}

.slider-nav button {
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    color: #000;
}

.slider-nav button:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #333;
}

.partner-section {
    align-self: center;
    flex: 0 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden !important;
    transition: all 0s !important;
    padding: 20rem 0 10rem;
    z-index: 100;
    background-color: var(--partners-bg-color);
   background-image:var(--partners-bg-image);
}
.partner-section-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Помещаем фон ПОД контент секции */
    content: '';
    /* background-image, background-size и filter будут добавлены ИНЛАЙН из PHP */
}
.partner-wrap {
    width: 80% !important;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5px 60px;
    margin: 0 auto;
    flex-direction: column;

}

.partner-header {
    width: 80%;
    display: flex;
    align-items: flex-end;
    margin-top: 0;
    margin-bottom: 120px;
    padding-top: 50px;
    left: 10%;
    z-index: 100;
    position: relative;
}

/* --- Review CSS --- */
.slider-container {
    display: flex;
    justify-content: center !important;
    width: 80%;
    height: auto;
    position: relative;
    margin: 30px auto;
    padding: 40px 60px;
    /* Отступы для стрелок */
    background: linear-gradient(135deg, #e6e9f0, #c3c4e0);
    border-radius: 100px / 50px;
    /* Делаем овальную форму */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    margin: 30px auto;
    max-width: calc(100vw - 60px + 2 * 2);
}

.slider-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: translate-x ease-in-out;
}

.slider-item {
    display: flex;
    justify-content: center;
    align-self: center;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 200px;
    margin: 10px auto;
}

/* --- Стили карточки отзыва --- */
.review-card {
    width: 80%;
    text-align: center;
    color: #333;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    /* Делаем круглым */
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.review-card blockquote {
    font-size: 1.1em;
    color: #555;
    font-style: italic;
    margin: 0 0 15px;
}

.review-card .author {
    font-weight: 600;
    color: #222;
}

/* --- Стили для стрелок --- */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 2.5em;
    color: #888;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.arrow.prev {
    left: 10px;
}

.arrow.next {
    right: 10px;
}

.arrow:hover {
    background: #007bff;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-wrapper {
    /* Переменные для настройки ширины и отступов */
    --slider-width: 100%;
    /* Новая переменная для ширины всего контейнера */
    --slider-margin-top: 80px;
    /* Новая переменная для внешних отступов */
    --slider-margin-bottom: 80px;
    --slider-margin-left: 0;
    --slider-margin-right: 0;
    --item-width: 200px;
    /* Ширина одного элемента слайдера */
    --item-height: auto;
    --gap: 30px;
    /* Отступ между элементами */
    --num-items: 10;
    /* Количество элементов */
    --backgound-opacity-color: rgba(21, 20, 18, 0.0);
    animation-name: slide;
    animation-duration: var(--ani-speed);
    animation-timing-function: ease-in-out;
    /* Вот здесь вы можете задать плавность! */
    animation-iteration-count: infinite;

    /* Применяем переменные */
    width: var(--slider-width);
    margin-top: var(--slider-margin-top);
    margin-bottom: var(--slider-margin-bottom);
    margin-left: var(--slider-margin-left);
    margin-right: var(--slider-margin-right);
    justify-content: center;
    height: var(--item-height);
    overflow: hidden;
    position: relative;
    justify-content: flex-start;
}

/*.carousel-wrapper::before,
.carousel-wrapper::after {
    content: '';
    position: absolute;
    width: 10%;
    height: 100%;
    z-index: 1;
    top: 0; 
    background-color:transparent;
}

.carousel-wrapper::before {
    left: 0;
    /*background: #263C95;
background: linear-gradient(90deg, rgba(38, 60, 149, 0.85) 0%, rgba(80, 107, 212, 0.64) 34%, rgba(255, 255, 255, 0) 100%);
}

.carousel-wrapper::after {
    right: 0;
    /*background: #263C95;
background: linear-gradient(270deg, rgba(38, 60, 149, 0.85) 0%, rgba(80, 107, 212, 0.64) 34%, rgba(255, 255, 255, 0) 100%);
}
*/
.carousel {
    display: flex;
    /* Устанавливаем общую ширину для всех элементов */
    width: calc((var(--item-width) + var(--gap)) * var(--num-items));
    gap: var(--gap);
    display: flex;
    align-items: center;
    will-change: transform;
    /* Оптимизация для плавной анимации */
}

.item {
    width: var(--item-width);
    height: auto;
    flex: 1 0 auto;
    text-align: center;
    padding: 0.5rem;
    object-fit: contain;
    
}

.item img {
    width: 100%;
    height: auto;
    border-radius:20% !important;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(var(--total-width) * -1));
    }
}

/*----Duplex  class---*/

/* --- Общие стили и макет --- */
.news-page-section {
    padding: 80px 20px;
    background-color: var(--news-bg-color);
    overflow: hidden;
    margin: 0 auto;
}

.news-page-container {
    width: 80% ;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 0 5px;
    margin: 15px auto;
    flex-direction: column;
    column-count: 3;
}

.news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding:30px 0 20px;
}

/* --- Карточка новости --- */
.news-page-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.news-section {
    padding: 80px 20px;
    background-color: var(--news-bg-color);
    overflow: hidden;
    margin: 0 auto;
}

.news-container {
    width: 80% !important;
    height: auto;
    display: flex;
    justify-content: center;
    padding: 10rem 0;
    margin: 15px auto;
    flex-direction: column;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-subheading {
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.news-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* --- Сетка новостей --- */
.news-grid {
    display: grid;
    align-items: center;
    align-content: center;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* --- Карточка новости --- */
.news-item {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.8s ease, box-shadow 0.3s ease;
    text-align: left;
}

.news-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-image-container {
    width: 100%;
    height: auto;
    max-height: 300px;
    position: relative;
}

.news-image {
    width: 100%;
    height: 300px;
    object-fit: fill;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.news-content {
    max-height: 240px;
    padding: 10px 5px;
}

.news-date {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px 0;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #007bff;
}

.news-excerpt {
    display: block;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.news-author a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.news-author a:hover {
    color: #007bff;
}

.news-actions a {
    text-decoration: none;
    color: #888;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.news-actions a:hover {
    color: #e53935;
    /* Красный для лайков */
}

/* --- Адаптивность --- */
@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


.dark-footer {
    width: 100%;
    height: 100%;
    background-color: #141414;
    display: flex;
    justify-content: center;
    padding-bottom: 30px;

}

.footer-container {
    width: 80%;
    height: 100%;
    display: block;
    justify-content: space-between;
    margin: 30px auto 0;
    padding: 0 0 0 20px;
    gap: 45px;
}

.row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
    padding: 20px 0 20px 25px;
    margin: 0 auto;
    gap: 70px;
}

.row-2 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}

/* 3. Стилизация логотипа и названия */
.footer-logo {
    display: flex;
    width: auto;
    height: auto;
    margin: 0 0 20px -10px;
    justify-content: flex-start;
    align-items: center;
    min-width: 300px;
    flex-wrap: nowrap;
    flex-direction: row;
}

.footer-logo a {
    display: flex;
    /* Включаем Flexbox */
    align-items: center;
    /* Выравнивание по центру по вертикали */
    text-decoration: none;
    /* Убираем подчеркивание */
}

.footer-logo .custom-logo {
    /* Стиль для изображения логотипа, которое выводит the_custom_logo() */
    margin: 0 5px;
    /* Отступ справа от логотипа */
    max-height: auto;
    /* Ограничение высоты */
    width: var(--logo-max-width);
}

.footer-logo .site-title-text {
    font-size: var(--footer-logo-title-size);
    font-weight: bold;
    color: var(--header-logo-color);
    /* Используем цвет хедера */
    line-height: 1;
    font-family: var(--logo-font-family);
    font-style: var(--logo-font-style)
}

.footer-logo img {
    /* Если логотип - это изображение */
    display: block;
    height: auto;
    max-height: auto;
    /* Базовая высота логотипа */
    width: var(--logo-max-width);
    margin: 0 5px;
    transition: max-height 0.3s ease-in-out;
}

.footer-logo h1 {
    /* Если логотип - это название сайта */
    font-size: 24px;
    margin: 0;
    line-height: 1;
    color: var(--header-logo-color);
    /* Используем цвет текста хедера */
}

.col-lg-3 {
    width: 27%;
    height: 26vh;
    align-self: center;
    color: #fff;
    padding: 0 15px 30px;
    margin-left: 50px;
    box-sizing: border-box;
    gap: 50px;
}

.col-lg-3 h4 {
    color: #fff;
}

.col-lg-3 p {
    display: inline-flex;
    width: 16vw;
    padding: 0;
    margin: 10px 0;
}

.col-lg-full {
    width: 100%;
    height: 200px;
    justify-content: center;
    padding: 10px 0;
    margin-bottom: 20px;
}

.col-lg-full h4 {
    color: #fff;
    text-indent: 5%;
}

iframe {
    width: 100%;
    height: 200px;
    margin: 10pz auto;
    border-radius: 5px;
    border: 2px solid #4f84f7
}

.footer-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    background-color: var(--copyright-bg-color);
    margin-bottom: 0;
    padding: 0 60px 30px;
}

.footer-content .left {
    display: block;
    width: 50%;
    height: 1rem;
    float: left;
    left: 0;
    padding-left: 10px;
    margin: 15px auto;
    font-size: 13px;
    font-family: "Montserrat";
    color: var(--copyright-color);
}

.footer-content .right {
    display: block;
    width: 50%;
    height: 1rem;
    justify-content: flex-end;
    text-align: right;
    left: 100%;
    padding-right: 10px;
    margin: 15px auto;
    font-size: 13px;
    font-family: "Montserrat";
    color: var(--copyright-color);

}

.footer-content .right i {
    color: var(--copyright-color) !important;
}

.footer-menu {
    display: block;
    width: 100%;
    height: auto;

}

.footer-menu ul {
    flex-direction: column;
    padding-left: 25px;
}

.footer-menu ul li a {
    font-size: 13px;
    font-family: "Montserrat";
    color: aqua;
}

#copyrights {
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: space-around;
    bottom: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

#copyrights i.footer-icon {
    position: relative;
    top: 1px;
    font-size: var(--cnvs-copyrights-font-size);
    width: var(--cnvs-copyrights-font-size);
    text-align: center;
    padding-right: 3px;
}

#copyrights .text-end a:last-child {
    margin-right: 0;
}

.copyright-links {
    margin-top: 0.5rem;
    color: var(--cnvs-copyrights-link-color);
}

.copyright-links a {
    display: inline-block;
    margin: 0 0.25rem;
    color: var(--cnvs-copyrights-link-color);
    border-bottom: 1px dotted var(--cnvs-copyrights-link-color);
}

.copyright-links a:hover {
    opacity: 0.91;
}

.copyright-links a:first-child {
    margin-left: 0;
}

.copyrights-menu {
    margin-bottom: 10px;
}

.copyrights-menu a {
    font-size: var(--cnvs-copyrights-font-size);
    margin: 0 auto;
    border-bottom: 0 !important;
}

.copyrights-menu a:first-child {
    margin-left: 0;
}

#copyrights.dark,
.dark #copyrights {
    width: 100%;
    height: 300px;
    color: rgba(255, 255, 255, 0.4);
    background-color: var(--copyright-bg-color);
    bottom: 0;
}

/*==================================================================Mobile Style===========================================================================*/

@media (max-width:767px) {
    .header-wrapper {
        width: 100%;
        height: 4rem;
    }

    .page-header {
        position: relative;
        padding: 0.5rem 2rem;
        z-index: 10000001;
        justify-content: center;
        width: 100%;
        height: auto;
        min-height: 80px;
        background-color: var(--header-bg-color);
        color: var(--header-text-color);
        box-sizing: border-box;
        border-bottom: 1px solid #cdcdcd;
        transition: all 0.3s ease-in-out;
        /* Плавный переход для эффектов */
    }


    .header-content {
        display: flex;
        flex-direction: row;
        width: 100%;
        top: 0;
        height: 1.5rem !important;
        justify-content: space-between;
        align-items: center;
        padding: 3px 10px;
        margin: 5px auto;
        font-size: 11px;
    }

    .header-contact {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 50%;
        height: 1.5rem;
    }

    .header-links {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        width: 50%;
        margin: 10px 0;
        height: 1.5rem;
        overflow: hidden;
    }

    .contact-email a,
    .contact-info {
        width: auto;
        display: flex;
        align-items: center;
        color: #fff;
    }

    .contact-schedule .text,
    .help-link a {
        display: none;
        align-items: center;
        overflow: hidden;
    }

    .social-icons a {
        color: var(--copyright-color);
        padding: 5px;
        margin: 0 5px;
    }

    .social-icons a:hover {
        color: var(--copyright-color);
        padding: 5px;
        margin: 0 5px;
    }

    .header-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding:10px 30px 3px;
        margin: 0 auto;
    }

    /* 3. Стилизация логотипа и названия */

    .header-logo {
        display: inline-flex;
        width: 100%;
        justify-content: center !important;
        align-items: flex-start;
        height: auto;
        flex-wrap: nowrap;
        flex-direction: row;
        top: 0;
        order:2;
    }

    .header-logo a {
        display: flex;
        /* Включаем Flexbox */
        align-items: center;
        /* Выравнивание по центру по вертикали */
        text-decoration: none;
        /* Убираем подчеркивание */
    }

    .header-logo .custom-logo {
        /* Стиль для изображения логотипа, которое выводит the_custom_logo() */
        margin: 0 5px;
        /* Отступ справа от логотипа */
        max-height: auto;
        /* Ограничение высоты */
        width: var(--logo-max-width);
    }

    .header-logo .site-title-text {
        font-size: calc(var(--logo-title-size) * 0.5) !important;
        font-weight: bold;
        color: var(--header-logo-color);
        /* Используем цвет хедера */
        line-height: 1;
        font-family: var(--logo-font-family);
        font-style: var(--logo-font-style)
    }

    .header-logo img {
        /* Если логотип - это изображение */
        display: block;
        height: auto;
        max-height: auto;
        /* Базовая высота логотипа */
        width: calc(var(--logo-max-width) * 0.4) !important;
        margin: 0 5px;
        transition: max-height 0.3s ease-in-out;
    }

    .header-logo h1 {
        /* Если логотип - это название сайта */
        font-size: 24px;
        margin: 0;
        line-height: 1;
        color: var(--header-logo-color);
        /* Используем цвет текста хедера */
    }

    .header-menu,
    .search-form {
        display: none;
    }
    .header-actions,
    .mobile-menu-toggle {
        display: block;
        order:3;
    }
    .langbox {
    width: 30px;
    height: auto;
    display: inline-block;
    margin:5px auto 0;
    position: relative; /* ВАЖНО */
    order:1;
}

.langbox-content {
    display:block;
    padding:0;
}

/* скрываем другие языки */
.langbox-content a {
    display: none;
}
.langbox-content a.gt-current-lang {
    display: flex; /* Или block / inline-block, в зависимости от того, как выглядит флаг */
}
/* раскрытое меню */
.langbox-content.open {
    width: 40px;
    height: 40px;
    position: absolute;
    top: -15px;  /* ФИКСИРОВАННОЕ ПОЛОЖЕНИЕ */
    left: -5px;   /* ВСЕГДА С ПРАВА */
    display: flex;
    padding: 0;
    background-color:transparent;
}

.langbox-content.open a {
    display: block;
    padding: 5px;
   border-radius: 5px;
    box-sizing: border-box;
    color: white;
    background-color:#323334;
}

    .main {
        width: 100%;
        height: auto;
        background-color: transparent;
        margin-top: 0;
align-items: flex-start;
        padding-top: -80px !important;
    }

    .first {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        align-items: center;
        flex: 1 1 auto;
        position: relative;
        display: flex;
        justify-content: center;
        overflow: hidden !important;
        transition: all 0s !important;
        padding: 7rem 8px 0;
        background-color: var(--service-bg-color);
    }

    .second {
        align-self: center;
        flex: 0 0 auto;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden !important;
        transition: all 0s !important;
        padding: 20.9rem 0rem 3.2rem 0rem;
        background-color: #141414;
    }

    .main-gap-no {
        width: 100%;
        height: calc(100vh - 70%);
        background-color: #141414;
        margin-top: -30px !important;
        top: 0 !important;
        padding: 20px 10px 0;
    }

    .page-wrapper {
        width: 100vw;
        position: relative;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        transition: margin 0.4s, opacity 0.4s;
    }

    .service-container {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        padding:7rem 0 5rem;
        margin: 15px auto;
        flex-flow: column wrap;
    }

    

    .duplex-header {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        flex-direction: column;
        position: relative;
        width: 100%;
        height: 10vh;
        padding:0 0;
        top: -9.5rem;
        left: 0;
        z-index: 0;
        
    }

    .duplex-header span {
        font-family: var(--duplex-span-font-family);
        display: flex;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke-width: 1px;
        white-space: nowrap;
        color: #4f84f7;
        font-size:var(--duplex-span-size);
        font-weight: var(--duplex-span-font-weight);
        line-height: 1em;
        letter-spacing: -0.01em;
        -webkit-text-stroke-color: var(--duplex-span-color);
        position: absolute;
        bottom: 0;
        left: 5px;
        text-transform: uppercase;
        z-index: 99;
        opacity: 0.6;
    }

    .duplex-header h2 {
        width: inherit;
        display: flex;
        flex-wrap: nowrap;
        bottom:0;
        font-family: var(--duplex-header-font-family);
        font-size:var(--duplex-header-size);
        font-weight: var(--duplex-header-font-weight);
        bottom: 2%;
        left: 5%;
        z-index: 100;
        position: absolute;
        margin:unset;
    }

    .service-block {
        display: flex;
        justify-content: center;
        width: 100%;
        height: auto;

    }

    .service-row {
        width: 100%;
        height: auto;
        display: block;
        flex-direction: column;
        column-count: 2;
        justify-content: center;
        align-self: center;
        align-items: center;
        margin: 0 15px;
        padding: 0 10px;
        gap: 3px;
        box-sizing: border-box;
    }

    .service-content {
        width: calc(100% - 5px);
        margin-bottom:20px;
    }

    .service-content-box {
        width: 90%;
        height: 200px;
        display: flex;
        flex-direction: column;

    }

    .service-content-img {
        display: block;
        width: 6.2rem;
        height: auto;
        padding-left: 5px;
    }

    .service-content h3 {
        display: inline-flex;
        width: 100%;
        height: 30px;
        text-align: left;
        font-size: 1.9rem;
        line-height: 1;
        margin: 10px 0;
        padding: 0;
    }

    .service-content p {
        align-items: flex-start;
        font-size: 1.2rem;
        width: 100%;
        height: 100px;
        line-height: 1.2;
        padding-right: 5px;
    }

    .about-section {
        width: 100%;
        align-self: center;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden !important;
        transition: all 0s !important;
        background-color: #141414;
    }

    .about-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto;
        margin: 10px auto;
    }

    .about-content {
        display: flex;
        flex-direction: row;
        width: 80%;
        height: auto;
        align-content: center !important;
        flex-wrap: nowrap;
        position: relative;
        padding: 10px;
    }

    .about-img {
        align-self: center;
        border: none;
        border-radius: 20px;
        box-shadow: none;
        height: auto;
        width: 100%;
        margin-left: -10px;
        filter: brightness(70%);
    }

    .about-conten-text {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        position: absolute;
        flex: 0 0 100%;
        top: 0;
        left: 0;
        padding: 5% 0;
        text-align: right;
        justify-content: center;
        align-items: flex-end;
        z-index: 10000 !important;
        color: #fff;
        gap: 2%;
    }

    .about-conten-text h1 {
        font-family: 'a_AvanteBs', Arial, sans-serif !important;
        -webkit-text-stroke: 2px #ff4e18;
        color: rgba(255, 255, 255, 0.0);
        font-size: calc(100vw / 9) !important;
        font-weight: 600;
        line-height: 1.2;
        z-index: 1000;
        max-width: 100% !important;
        text-transform: uppercase;
        opacity: 1;
        filter:brightness(1.3)
    }

    .about-conten-text h2 {
        color: #fff;
        font-size: 2.5rem;
        font-weight: 600;
    }

    .about-conten-text h6 {
        color: #fff;
        font-size: 1.6rem;
        font-weight: 600;
    }

    .about-conten-text h4 {
        color: #fff;
        font-size: 2.5rem;
        font-weight: 600;
    }

    .about-conten-text h5 {
        color: #fff;
        font-size: 1.8rem;
        font-weight: 600;
    }

    .about-button {
        display: inline-flex;
        width: auto;
        height: auto;
        color: #ff4e18;
        font-size: 14px;
    }

    .a-icon-long-arrow-right {
        display: flex;
        align-items: center;
        margin-left: 10px;
        padding: 5px 0;
    }

    /* =============Project Page CSS ===============*/
    .project-page-section {
        width: 100%;
        height: auto;
        align-self: center;
        flex: 0 0 auto;
        position: relative;
        display: flex;
        justify-content: center;

        transition: all 0s !important;
        padding: 7rem 5px 0;
        margin-bottom: 10px;
        background-color: #FFFFFF;
    }

    .project-page-wrap {
        width: 100%;
        display: block;
        flex-direction: column;
        justify-content: center;
        padding: 0 5px;
        margin: 15px 0;

    }

    .project-page-header {
        width: auto;
        display: flex;
        align-items: flex-start;
        margin-top: 10px;
        left: 5px;
        z-index: 100;
        position: absolute;
    }

    #project-page-posts-grid {
        justify-content: center;
        align-content: center;
        display: grid;
        place-items: center;
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }

    .project-page-item-box {
        width: 320px;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        margin: 15px 20px;
    }

    .project-page-item-box-img {
        display: block;
        flex: 0 0 auto;
        width: auto;
        min-width: 100%;
        height: auto;
        min-height: 400px;
        position: relative;
    }

    .project-page-item-box-img img {
        margin: 10px auto;
        object-fit: cover;
        object-position: 50% 60%;
    }

    .tb-hover-content {
        display: inline-flex;
        position: relative;
        justify-content: center;
        align-items: center;
        top: 45%;
        left: 45%;
        width: 40px;
        height: 30px;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 300px;
    }

    .tb-hover-content a {
        font-size: 2.5rem;
        padding: 5px;
    }

    .project-page-item-box-text {
        width: 100%;
        height: 150px;
        margin: 0;
        padding: 10px 0;
    }

    .project-page-item-box-span {
        width: 100%;
        height: 15px;
        text-align: left;
        font-size: 1.5rem;
        color: #000;
        font-weight: 300;
    }

    .project-page-item-box-title {
        width: 100%;
        height: 2.5rem;
        margin: 10px auto;
        padding-right: 5px;
    }

    .project-page-item-box-title h3 {
        font-size: 2rem;
        font-weight: 600;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;

    }

    .project-page-item-box-title a {
        color: #000;
    }

    .project-page-item-box-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 70px;
        margin: 10px auto;
        box-sizing: border-box;
    }

    .project-page-item-box-content-1,
    .project-page-item-box-content-2 {
        display: flex;

        width: 100%;
        height: 35px;
        font-size: 1.2rem;
        line-height: 1.1;
        padding: 3px 0;
        border-top: #141414 1px dotted;
    }

    .project-page-left {
        align-items: flex-start;
        float: left;
        width: 25%;
        font-weight: 600;
        text-align: left;
        line-height: 1.1;
    }

    .project-page-right {
        width: 73%;
        float: right;
        font-weight: 300;
        text-align: left;
        line-height: 1.1;
        padding-left: 17px;
    }

    .project-page-item-box-content-2 {
        display: flex;
        align-items: center;
        width: 100%;
        height: 35px;
        column-count: 2;
        column-fill: balance;
        flex: 1 auto;
        line-height: 1.1;
        border-bottom: #141414 1px dotted;
    }

    .project-page-left-2 {
        display: inline-flex;
        justify-content: flex-end;
        font-weight: 300;
        text-align: left;
        line-height: 1.1;
    }

    .project-page-right-2 {
        display: inline-flex;
        justify-content: flex-end;

        font-weight: 300;
        text-align: right;
        line-height: 1.1;
    }

    .project-section {
        align-self: center;
        flex: 0 0 auto;
        position: relative;
        display:flex;
        justify-content: center;
        overflow: hidden;
        transition: all 0s;
        padding:7rem 5px 0;
        background-color: var(--project-bg-color);
    }

    .project-wrap {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
       
        margin: 5px auto;
        flex-direction: column;
    }

    #project-posts-grid {
        display: block;
        justify-content: center;
        width: 100%;
        height: auto;
        margin:0 auto; 
        padding-left: 20px;
    }

    .project-posts-grid-container {
        width: 100%;
        height:auto;
        margin:0  !important;
        padding:0 10px;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap:50px;
    scroll-snap-type: x mandatory; /* Включить привязку к элементу */
    -webkit-overflow-scrolling: touch; /* Для iOS */
    }

    .project-item-box {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-self: center;
        align-items: center;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    .project-item-box-img {
        display: block;
        flex: 1 0 100%;
        width: 100% ;
        height: 100%;
        padding: 0 auto;
        justify-content: center;
        position: relative;
    }

    .project-item-box-img img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        padding: 0 ;
        border-radius: 15px;
        border: 2px #fff solid;
    }

    .tb-hover-content {
        display: flex;
        position: absolute;

        top: 45%;
        left: 45%;
        width: 40px;
        height: 40px;
    }

    .tb-hover-content a {
        padding: 0 10px;
        margin: 0 20px;
        font-size: 3rem;
        z-index: 9999;
    }

    .tb-hover-content a i {
        display: block;
        align-self: center;
    }

    .project-item-box-text {
        width: 100%;
        height: 250px;
        margin: 0;
        padding: 10px 0;
    }

    .project-item-box-span {
        width: 100%;
        height: 15px;
        text-align: left;
        font-size: 13px;
        color: #000;
        font-weight: 300;
    }

    .project-item-box-title {
        width: 100%;
        height: 2.5rem;
        margin: 10px auto;
        padding-right: 5px;
    }

    .project-item-box-title h3 {
        font-size: 2rem;
        font-weight: 600;
        line-height: 1;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;

    }

    .project-item-box-title a {
        color: #000;
    }

    .project-item-box-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 80px;

    }

    .project-item-box-content-1 .project-item-box-content-2 {
        display: block;
        width: 100%;
        height: 35px;
        font-size: unset !important;
        line-height: 1.1;
        margin: 5px auto;
    }

    .project-left {
        float: left;
        width: 25%;
        font-weight: 600;
        text-align: left;
        line-height: 1.1;
    }

    .project-right {
        width: 73%;
        float: right;
        font-weight: 300 !important;
        text-align: left;
        line-height: 1.1;
        padding-left: 17px;
    }

    .social-icon {
        color: #fff;
    }

    .project-item-box-content-2 {
        display: flex;
        width: 100%;
        column-count: 2;
        column-fill: balance;
        flex: 1 auto;
        line-height: 1.1;
    }

    .bottom-left {
        justify-content: flex-start;
        float: left;
        width: 30%;
        font-weight: 600;
        text-align: left;
        line-height: 1.1;
    }

    .bottom-right {
        justify-content: flex-start;
        flex: 1 auto;
        float: right;
        font-weight: 600;
        text-align: left;
        margin-left: 15px;
        line-height: 1.1;
    }

    .project-left-2 {
        display: inline-flex;
        justify-content: flex-end;

        font-weight: 300;
        text-align: left;
        line-height: 1.1;
    }

    .project-right-2 {
        display: inline-flex;
        justify-content: flex-end;

        font-weight: 300;
        text-align: right;
        line-height: 1.1;
    }

    .section-counter {
        font-family: 'Inter', sans-serif;
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #1a202c;
        color: #ffffff;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 24px 16px;
    }

    .flex-container {
        width: 100%;
        height: 100vh;
        display: block;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
    }

    .column-1 {
        position: absolute;
        display: flex;
        flex-direction: row !important;
        width: 100%;
        margin-top: 0;
        margin-bottom: auto;
        left: 0;
        padding: 0 40px;
        order: 1;
    }

    .column-2 {
        width: 100%;
        height: 100vh;
        padding-top: 20vh;
        flex-basis: 100%;
        flex-grow: 0;
        order: 2;
    }

    .title {
        font-size: 1.25rem;
        font-weight: 600;
        text-transform: uppercase;
        color: #000;
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    .description {
        font-size: 1.125rem;
        color: #000;
    }

    .counters {
        width: 100%;
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        padding: 0 15px;
        gap: 22px;
    }

    .counter-box {
        display: block;
        width: 70px;
        height: 80px;
        align-content: space-around;
        justify-content: center;
        align-items: center;
        background-color: #374151;
        padding: 10px 35px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .counter-number {
        height: 50px;
        font-size: 2.5rem;
        font-weight: 600;
        margin-left: -16px;
        margin-bottom: 45%;
    }

    .counter-suffix {
        font-size: 3rem;
        font-weight: 700;
    }

    .counter-title {
        position: absolute;
        left: 40%;
        margin-top: 50%;
        height: 1.2rem;
        font-size: 2rem;
        margin: 15px auto;
        color: #d1d5db;
    }

    .image-container {
        position: relative;
        width: 100%;
        height:auto;
        overflow: hidden;
        display: block;
        align-items: center;
        justify-content: center;
        padding:10px;
    }

    .image-background {
        position: absolute;
        top: 20%;
        left: 0;
        width: 100%;
        height: auto;
        object-fit: fill;
        border-radius: 15px;
        aspect-ratio: 5 / 6;
    }

    .text-overlay {
        display:flex;
        justify-content: center;
        align-content: center;
        position:relative;
        top:26%;
        z-index: 10;
        margin:10px 26px;
        max-width: 80%;
        height:auto;
        max-height: 70%;
        text-align: center;
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.5);
    }

    /*---------Review CSS-----------*/
    #reviews-section .slider-list {
        transition: transform 0.6s ease-in-out !important;
    }

    .slider-container {
        justify-content: center;
        width: 90%;
        height: 40vh;
        position: relative;
        margin: 30px;
        padding: 0;
        background: linear-gradient(135deg, #e6e9f0, #c3c4e0);
        border-radius: 100px / 100px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .slider-wrapper {
        display: flex;
        margin: 30px auto;
        max-width: calc(100vw - 20px);
    }

    .slider-list {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        transition: translate-x ease-in-out;
    }

    .slider-item {
        display: flex;
        justify-content: center;
        align-self: center;
        align-items: center;
        flex-direction: column;
        flex-shrink: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
        margin: 10px auto;
    }

    .review-card {
        text-align: center;
        color: #333;
    }

    .avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 20px;
        border: 4px solid #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .review-card blockquote {
        font-size: 1.1em;
        color: #555;
        font-style: italic;
        margin: 0 0 15px;
    }

    .review-card .author {
        font-weight: 600;
        color: #222;
    }

    .arrow {
        display: none;
    }

    .partner-section {
        width: 100%;
        height: auto;
        align-self: center;
        flex: 0 0 auto;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden !important;
        transition: all 0s !important;
        padding: 7rem 0 5rem;
        background-color: var(--partners-bg-color);
        background-image: var(--partners-bg-image);
    }

    .partner-wrap {
        width: 100% !important;
        height: inherit !important;
        display: flex;
        justify-content: center;
        align-items: center;
        align-content: center;
        padding: 0 10px;
        margin: 0 auto;
        flex-direction: column;
    }

    .partner-header {
        width: 100%;
        display: flex;
        align-items: center;
        margin-top: 0;
        margin-bottom: 30px;
        z-index: 100;
        position: relative;
    }

    .carousel-wrapper {
        /* Переменные для настройки ширины и отступов */
        --slider-width: 100%;
        /* Новая переменная для ширины всего контейнера */
        --slider-margin-top: 20px;
        /* Новая переменная для внешних отступов */
        --slider-margin-bottom: 20px;
        --slider-margin-left: 0;
        --slider-margin-right: 0;
        --item-width: 80px;
        /* Ширина одного элемента слайдера */
        --gap: 20px;
        /* Отступ между элементами */
        --num-items: 12;
        /* Количество элементов */
        --backgound-opacity-color: rgba(21, 20, 18, 0.5);
        animation-name: slide;
        animation-duration: var(--ani-speed);
        animation-timing-function: ease-in-out;
        /* Вот здесь вы можете задать плавность! */
        animation-iteration-count: infinite;

        /* Применяем переменные */
        width: var(--slider-width);
        margin-top: var(--slider-margin-top);
        margin-bottom: var(--slider-margin-bottom);
        margin-left: var(--slider-margin-left);
        margin-right: var(--slider-margin-right);
        justify-content: center;
        max-height: 300px !important;
        overflow: hidden;
        position: relative;
        justify-content: flex-start;
    }

    .carousel-wrapper::before,
    .carousel-wrapper::after {
        content: '';
        position: absolute;
        width: 10%;
        height: 100%;
        z-index: 1;
        top: 0;
        background-color: var(--carousel-wrapper-bg-color);
    }

    .carousel-wrapper::before {
        left: 0;

        /*background: #263C95;
    background: linear-gradient(90deg, rgba(38, 60, 149, 0.85) 0%, rgba(80, 107, 212, 0.64) 34%, rgba(255, 255, 255, 0) 100%);*/
    }

    .carousel-wrapper::after {
        right: 0;

        /*background: #263C95;
    background: linear-gradient(270deg, rgba(38, 60, 149, 0.85) 0%, rgba(80, 107, 212, 0.64) 34%, rgba(255, 255, 255, 0) 100%);*/
    }

    .carousel {
        display: flex;
        /* Устанавливаем общую ширину для всех элементов */
        width: calc((var(--item-width) + var(--gap)) * var(--num-items));
        gap: var(--gap);
        display: flex;
        align-items: center;
        will-change: transform;
        /* Оптимизация для плавной анимации */
    }

    .item {
        width: 70px;
        height: auto;
        flex: 1 0 auto;
        text-align: center;
        padding: 0.5rem;
        object-fit: contain;
    }


    .item>img {
        width: 100%;
        height: auto;

    }

    @keyframes slide {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(var(--total-width) * -1));
        }
    }

    .news-page-section {
        width: 100%;
        display: block;
        padding: 0 10px;
        background-color: var(--news-bg-color);
        overflow: hidden;
        margin: 0 auto;
    }

    .news-page-container {
        width: 100% !important;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 5px;
        margin: 15px auto;
        flex-direction: column;
    }

    .news-page-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding:20px 0 10px;
    }

    /* --- Карточка новости --- */
    .news-page-item {
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: left;
    }

    .news-section {
        padding: 7rem 5px 5rem;
        background-color: #fcfcfc;
        overflow: hidden;
    }

    .news-container {
        width: 100% !important;
        height: auto;
        display: flex;
        justify-content: center;
        padding: 20px 5px;
        margin: 0 auto;
        flex-direction: column;
    }

    .news-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .news-subheading {
        font-weight: 600;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
        display: block;
    }

    .news-heading {
        font-size: 2.5rem;
        font-weight: 700;
        color: #222;
        margin: 0;
    }

    /* --- Сетка новостей --- */
    .news-grid {
        display: grid;
        padding:0 10px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* --- Карточка новости --- */
    .news-item {
        background-color: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: left;
    }

    .news-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .news-image-container {
        width: 100%;
        height: 20%;
        max-height:300px;
        overflow: hidden;
        position: relative;
        border-radius: 8px ;
        object-fit: contain;
    }

    .news-image {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;
    }

    .news-item:hover .news-image {
        transform: scale(1.05);
    }

    .news-content {
        max-height: 200px;
        padding: 25px;
    }

    .news-date {
        display: block;
        font-size: 0.85rem;
        color: #888;
        margin-bottom: 10px;
    }

    .news-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #222;
        margin: 0 0 10px 0;
    }

    .news-title a {
        text-decoration: none;
        color: inherit;
        transition: color 0.3s ease;
    }

    .news-title a:hover {
        color: #007bff;
    }

    .news-excerpt {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 20px;
    }

    .news-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        color: #888;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }

    .news-author a {
        text-decoration: none;
        color: #555;
        font-weight: 600;
        margin-left: 5px;
        transition: color 0.3s ease;
    }

    .news-author a:hover {
        color: #007bff;
    }

    .news-actions a {
        text-decoration: none;
        color: #888;
        margin-left: 15px;
        transition: color 0.3s ease;
    }

    .news-actions a:hover {
        color: #e53935;
        /* Красный для лайков */
    }

    .dark-footer {
        width: 100%;
        height: 100%;
        background-color: var(--dark-footer-color);
        display: flex;
        justify-content: center;
        padding-bottom: 30px;
    }

    .footer-container {
        width: 90%;
        height: 100%;
        display: block;
        flex-direction: column;
        align-items: space-around;
        margin-top: 30px;
        padding: 0 7px;
    }

    .footer-logo {
        width: 200px !important;
        height: auto;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0 0 25px;
        margin: 0 auto;
        gap: 20px;
    }

    .row-2 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px 0;
        margin: 0 auto;
    }

    .col-lg-3 {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        color: #fff;
        padding-bottom: 30px;
        margin: 0;
        gap: 10px;
        order: 1;
    }

    .col-lg-3 h4 {
        color: #fff;
        margin: 5px auto;
    }

    .col-lg-3 p {
        display: inline;
        width: 100%;
        padding: 0 0 0 20px !important;
        margin: 0 !important;
    }

    .col-lg-full {
        width: 100%;
        height: auto;
        justify-content: center;
        padding: 10px;
        order: 2;
    }

    .col-lg-full h4 {
        width: 100%;
        color: #fff;
        padding: 0 0 10px;
    }

    .map {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;

    }

    iframe {
        width: 100%;
        height: 150px;
        border-radius: 10px !important;
    }

    .footer-content {
        position: relative;
        top: 100%;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: var(--copyright-bg-color) !important;
        margin-bottom: 0;
        padding: 0 10px 10px;
        order: 3;
    }

    .footer-content .left {
        display: block;
        justify-content: center;
        text-align: center;
        width: 100%;
        height: 1rem;
        margin: 15px 0;
        padding: 0 20px;
        font-size: 12px;
        font-family: "Montserrat";
        color: var(--copyright-color);
        order: 2;
    }

    .footer-content .right {
        display: flex;
        width: 90%;
        height: 1rem;
        justify-content: center;
        margin: 15px auto;
        font-size: 13px;
        font-family: "Montserrat";
        color: var(--copyright-color);
        order: 1;
    }

    .footer-content .right i {
        color: var(--copyright-color) !important;
    }

    .footer-menu {
        display: block;
        width: 100%;
        height: auto;
        padding-left: 20px;
    }

    .footer-menu ul {
        flex-direction: column;
        padding-left: 25px;
    }

    .footer-menu ul li a {
        font-size: 13px;
        font-family: "Montserrat";
        color: aqua;
    }

    #copyrights {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        bottom: 0;
        padding: 0;
        font-size: 16px;
        line-height: 1;
    }

    #copyrights i.footer-icon {
        position: relative;
        top: 1px;
        font-size: var(--cnvs-copyrights-font-size);
        width: var(--cnvs-copyrights-font-size);
        text-align: center;
        padding-right: 3px;
    }

    #copyrights .text-end a:last-child {
        margin-right: 0;
    }

    .copyright-links {
        margin-top: 0.5rem;
        color: var(--cnvs-copyrights-link-color);
    }

    .copyright-links a {
        display: inline-block;
        margin: 0 0.25rem;
        color: var(--cnvs-copyrights-link-color);
        border-bottom: 1px dotted var(--cnvs-copyrights-link-color);
    }

    .copyright-links a:hover {
        opacity: 0.91;
    }

    .copyright-links a:first-child {
        margin-left: 0;
    }

    .copyrights-menu {
        margin-bottom: 10px;
    }

    .copyrights-menu a {
        font-size: var(--cnvs-copyrights-font-size);
        margin: 0 auto;
        border-bottom: 0 !important;
    }

    .copyrights-menu a:first-child {
        margin-left: 0;
    }

    #copyrights.dark,
    .dark #copyrights {
        width: 100%;
        height: 300px;
        color: rgba(255, 255, 255, 0.4);
        background-color: #141414;
        bottom: 0;
    }

}

@media (min-width:768px) and (max-width:1024px) {
    .page-header {
        width:100%;
        padding:20px 15px;
    }
    .header-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    top: 0;
    height: 1.5rem !important;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin: 0 auto;
    font-size: 11px;
    transition: opacity 0.6s ease, transform 0.7s ease, translate 0.7s ease;
    opacity: 1;
    transform: translateY(0);
}
.header-main {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding:10px 30px 3px;
        margin: 0 auto;
    }
       .header-links {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        width: auto;
        margin: 10px 0;
        height: 1.5rem;
        overflow: hidden;
    }
.header-logo {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0 auto;
    height: auto;
    flex-wrap: nowrap;
    flex-direction: row;
    order:2;
}
    .contact-email a,
    .contact-info {
        width: auto;
        display: flex;
        align-items: center;
        color: #fff;
    }

    .contact-schedule .text,
    .help-link a {
        width:100%;
        height:2.5rem;
        line-height: 1;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
.header-menu,
    .search-form {
        display: none;
    }
    .header-actions,
    .mobile-menu-toggle {
        display: block;
        order:3;
    }
    .langbox {
    width: 30px;
    height: auto;
    display: inline-block;
    justify-content: flex-start;
    align-items: center;
    position: relative; /* ВАЖНО */
    order:1;
}

.langbox-content {
    display:flex;
}

/* скрываем другие языки */
.langbox-content a {
    display: none;
}
.langbox-content a.gt-current-lang {
    display: flex; /* Или block / inline-block, в зависимости от того, как выглядит флаг */
}
/* раскрытое меню */
.langbox-content.open {
    position: absolute;
    top: -17px;  /* ФИКСИРОВАННОЕ ПОЛОЖЕНИЕ */
    left: -5px;   /* ВСЕГДА С ПРАВА */
    display: flex;
    padding: 0;
    background-color:transparent;
}

.langbox-content.open a {
    display: block;
    padding: 5px;
   border-radius: 5px;
    box-sizing: border-box;
    color: white;
    background-color:#323334;
}

    .main-gap-no {
        width: 100%;
        height: calc(100vh - 70%);
        background-color: #141414;
        margin-top: 0;
        top: 0 !important;
        padding: 135px 10px 0;
    }
     .duplex-header {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        flex-direction: column;
        position: relative;
        width: 100%;
        height: 10vh;
        padding:0 0;
        top: -9.5rem;
        left: -7%;
        z-index: 0;
        
    }

    .duplex-header span {
        font-family: var(--duplex-span-font-family);
        display: flex;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke-width: 1px;
        white-space: nowrap;
        color: #4f84f7;
        font-size:var(--duplex-span-size);
        font-weight: var(--duplex-span-font-weight);
        line-height: 1em;
        letter-spacing: -0.01em;
        -webkit-text-stroke-color: var(--duplex-span-color);
        position: absolute;
        bottom: 0;
        left: 5px;
        text-transform: uppercase;
        z-index: 99;
        opacity: 0.6;
    }

    .duplex-header h2 {
        width: inherit;
        display: flex;
        flex-wrap: nowrap;
        bottom:2%;
        font-family: var(--duplex-header-font-family);
        font-size:var(--duplex-header-size);
        font-weight: var(--duplex-header-font-weight);
        bottom: 2%;
        left: 5%;
        z-index: 100;
        position: absolute;
        margin:unset;
    }
    .first {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        align-items: center;
        flex: 1 1 auto;
        position: relative;
        display: flex;
        justify-content: center;
        overflow: hidden !important;
        transition: all 0s !important;
        padding: 10rem 0 5rem;
        background-color: var(--service-bg-color);
    }
     .project-section {
        align-self: center;
        flex: 0 0 auto;
        position: relative;
        display:flex;
        justify-content: center;
        overflow: hidden;
        transition: all 0s;
        padding: 10rem 0 5rem;
        background-color: var(--project-bg-color);
    }

    .project-posts-grid-container {
        width: 100%;
        height:auto;
        margin: 0 auto 0 !important;
        padding:0 20px;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap:60px;
    scroll-snap-type: x mandatory; /* Включить привязку к элементу */
    -webkit-overflow-scrolling: touch; /* Для iOS */
    }

    .project-item-box {
        width: calc(100% / 2 + 10px);
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    .project-item-box-img {
        display: block;
        flex: 1 0 100%;
        width: 100% ;
        height: 100%;
        padding: 0 auto;
        justify-content: center;
        position: relative;
    }

    .project-item-box-img img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        padding: 0 ;
        border-radius: 15px;
        border: 2px #fff solid;
    }
.partner-section {
    align-self: center;
    flex: 0 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden !important;
    transition: all 0s !important;
    padding: 10rem 0 5rem;
    z-index: 100;
    background-color: var(--partners-bg-color);
   background-image:var(--partners-bg-image);
}
     .news-section {
        padding: 10rem 0 5rem;
        background-color: #fcfcfc;
        overflow: hidden;
    }
    
   .news-container {
        width: 85% !important;
        height: auto;
        display: flex;
        flex: 0 0 auto;
        
        justify-content: center;
        padding: 20px 15px;
        margin: 0 auto;
        flex-direction: column;
    }

.news-page-container {
    width:100% ;
    height: auto;
    display: flex;
    justify-content: center;
    align-items:center;
    padding: 0 5px;
    margin: 15px auto;
    flex-direction: column;
    column-count: 2;
}

    .news-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content:center;
        align-items: center;
        max-width:100%;
        height:auto;
        overflow: hidden;
        margin: 0 auto;
        gap: 30px;

    }

    .news-image-container {
        width: 100%;
        height: 15vh;
        position: relative;
    }

    .news-image {
        width: 100%;
        height: 15vh;
        object-fit: fill;
        display: block;
        border-radius: 15px;
        transition: transform 0.3s ease;
    }

}
/*--------------------------------------------------Mmobile Menu-----------------------------------------------------------*/
#wpadminbar {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    margin-bottom: -10px;
    z-index: 9999999999 !important;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.7);
    /* Полупрозрачный фон */

    /* Высокое значение, чтобы быть поверх других элементов */
    display: none;
    /* Скрываем по умолчанию */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    /* Плавное появление */
}
/* 1. Позиционирование значка */
.mobile-menu-overlay .menu-item-has-children > a {
    /* Делаем ссылку контейнером для значка */
    position: relative; 
}

.submenu-toggle-icon {
    /* Значок справа */
    position: absolute;
    right: 15px; 
    top: 50%;
    transform: translateY(-50%);
    
    /* Стили для значка */
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    line-height: 1; /* Чтобы + и - выглядели одинаково */
}
.mid-line span {
    background-color: #fff;
    color:red;
}
/* 2. Изменение значка при открытии (уже задано в JS: + -> -) */
/* Если вы используете стрелки, то можно использовать transform: rotate() */
.mobile-menu-overlay .menu-item-has-children.is-open .submenu-toggle-icon {
    /* Здесь можно добавить стили для открытого состояния */
    color: #FF0000; /* Например, изменить цвет */
    font-size:20px;
}

/* 3. Важно: Скрываем подменю по умолчанию */
.mobile-menu-overlay .sub-menu {
    display: none;
}

/* 4. Показываем подменю при открытии */
.mobile-menu-overlay .menu-item-has-children.is-open > .sub-menu {
    display: block;
}
.mobile-menu-overlay.is-active {
    display: block;
    opacity: 1;
    z-index: 999999999;
}

.mobile-menu-content {
    background-color: #141414;
    padding-top: 10px;
    margin: 0;
    width: 80%;
    z-index: 10000000001;
    height: auto;
    min-height: 60vh;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    /* Скрываем за пределами экрана */
    transition: transform 0.3s ease-in-out;
}
.mobile-menu-content ul {
    margin-left:5%;
}
.mobile-menu-content ul li {
    margin:10px 0;
}
.mobile-menu-content ul li a {
    color:#fff;
}
.mobile-menu-content ul li ul li a {
    color: aqua;
    filter:brightness(80%);
}
.mobile-menu-overlay.is-active .mobile-menu-content {

    transform: translateX(0);
    /* Выдвигаем на экран */
}
/* Пунктирная граница */
hr.dashed {
  border-bottom: 3px dashed #bbb;
  width: 100%;
}

/* Пунктирная граница */
hr.dotted {
  border-top: 3px dotted #bbb;
}

/* Сплошная граница */
hr.solid {
  border-top: 3px solid #bbb;
}

/* Закругленная граница */
hr.rounded {
  border-top: 8px solid #bbb;
  border-radius: 5px;
}
/*--------------------------------------------------Pages CSS-------------------------------------------------------------*/
.site-main {
    background-color: transparent !important;
    padding: unset;
    border-top: frba(255, 255, 255, 0.7);
    border-bottom: frba(255, 255, 255, 0.7);
    padding-top: 20px;

}

.post-main {
    background-color: #fff !important;
    padding: unset !important;
    border-bottom: frba(255, 255, 255, 0.7);
}
.wp-block-heading h4 {
    padding:0 !important;
    margin:unset !important;
}
.wp-block-column,
.has-small-font-size p {
    padding:5px 0 !important;
    margin:0 auto !important;
}
.wp-block-column h4 {
    margin: 10px 0 5px !important;
}

.wp-block-uagb-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.wp-block-getwid-section__foreground {
    background-color: #141414 !important;
}
/*--------------------------------------------------------------------Admin-page-CSS-------------------------------------------------------*/

