body {
    font-family: 'Fixel Display';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
 /*   background: url(../img/body.png) no-repeat top center / cover; */
    color: #09080A;
}

a {
    transition: all .3s;
}

h1 {.logo_container
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 70px;
}

.container {
    max-width: 1530px;
}

.main_header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header_container {
    border-radius: 20px;
    background: #ffffff;
    padding: 5px;
    padding-right: 20px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.header_container.scrolled {
    border: 1px solid #d2942f4a;   /* или любой цвет */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.logo_container {
    display: flex;
    align-items: center;
    gap: 20px;

    width: 344px;
    min-width: 344px;
    font-weight: 700;
    color: #d2942f;
        margin-left: 15px;
    text-decoration: none;
}
/*
.logo_container img {
    background: #fff; 
    padding: 8px; 
    border-radius: 12px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}*/
.logo_container:hover {
    text-decoration: none;
    color: #d2942f;
}

.logo_container .logo {
    width: 64px;
    min-width: 64px;
}

.main_header .nav {
    gap: 70px;
    height: 100%;
}

.menu-item {
    font-size: 18px;
    font-weight: 500;
    position: relative;
    height: 100%;
}

.main_header .menu-item {
    height: calc(100% + 10px);
    margin-top: -5px;
}

.menu-item a {
    color: #351F1C;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: auto;
}

.main_header .menu-item a {
    height: 100%;
}

.main_header .menu-item a:hover {
/*    background: linear-gradient(to right, #A464DD, #4E86DC); */
        background: linear-gradient(to right, #d2942f, #d2942f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: -1;
    visibility: hidden;
    opacity: 0;
    padding: 20px;
    background: #fff;
    margin: 0;
    border-radius: 0 0 10px 10px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all .3s ease;
}

.menu-item-has-children .sub-menu .menu-item {
    font-size: 16px;
}

.menu-item-has-children:hover .sub-menu {
    z-index: 1;
    visibility: visible;
    opacity: 1;
}

.main_header .menu-main-container {
    height: 100%;
}

.hp_hero_brand {
    width: 20%;
    justify-content: center;
    margin: 24px auto 24px;
    position: relative;
    z-index: 2; /* поверх фона */
}


.site-footer {
    padding: 60px 0;
    background: #351F1C;
}

.footer_container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.site-footer .logo_container {
    color: #fff;
}

.site-footer .logo, .site-footer .logo img {
    filter: grayscale(100%) brightness(500);
}

.site-footer .menu-item a, .mob_menu .menu-item a {
    color: #fff;
}

.site-footer .nav, .mob_menu .nav {
    gap: 30px;
}

.site-footer .menu-item-has-children .sub-menu, .mob_menu .menu-item-has-children .sub-menu {
    position: relative;
    top: auto;
    left: auto;
    background-color: transparent;
    opacity: 1;
    visibility: visible;
    z-index: 1;
    padding: 0;
    padding-top: 20px;
}

.mob_menu .menu-item-has-children .sub-menu {
    padding-left: 20px;
}

.copyrights {
    background: #09080A;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    padding: 10px 0;
}

.copyrights_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

 /*.hp_hero_decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
   background: url(../img/hp_hero.jpg) no-repeat center center / cover; 
}
*/
/* gradient  */
.hp_hero_decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;

    /* базовый фон */
    background-color: #351F1C;

    /* картинка + градиент */
    background-image: 
        url('../img/hero.png');

    background-size: cover, 400% 400%;
    background-position: center;
    background-repeat: no-repeat;

    background-blend-mode: overlay;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hp_hero {
    position: relative;
    padding-top: 115px;
    color: #fff;
    text-align: center;
}

.hp_hero h1 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hp_hero .desc {
    font-size: 16px;
    margin-bottom: 59px;
}

.cover_img {
    overflow: hidden;
}

.cover_img img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.hp_hero_img {
    border-radius: 10px;
    height: 549px;
}

.header_top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    position: absolute;
    right: 0.75rem;
}

.hp_hero .header_top {
    top: -170px;
}

.header_tel {
    background: url(../img/Phone.svg) no-repeat left center;
    padding-left: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.login {
    background: url(../img/Login.svg) no-repeat left center;
    padding-left: 30px;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}


section {
    padding: 100px 0;
}

h2 {
    font-weight: 500;
    font-size: 42px;
    margin-bottom: 70px;
}

.povnovazhennya h2 {
    max-width: 750px;
}

.povnovazhs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    font-size: 18px;
}

.povnovazh {
    padding-left: 24px;
    position: relative;
}

.povnovazh:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: #d2942f;
    border-radius: 2px;
}

.hp_news {
  /*  background: linear-gradient(135deg, #EDE1FE 0%, #F3E8FF 100%); */
  /*  background: linear-gradient(135deg, #f6f4f0 0%, #ffffff 100%); */
    padding: 80px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hp_news h2 {
    font-size: 36px;
    font-weight: 700;
    color: #4A0E78;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: #6B46C1;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 15px;
}

.news-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.news-nav-btn {
    background: #6B46C1;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.news-nav-btn:hover {
    background: #553C9A;
}

.all-news-link {
    color: #6B46C1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.all-news-link:hover {
    color: #553C9A;
}

.news_trumbnail {
    border-radius: 10px;
    margin-bottom: 24px;
    height: 260px;
}

.news_item_dates {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.news_item_date {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 500;
}

.date_label {
    color: #5E5E62;
    min-width: 106px;
}

.news_item {
    text-decoration: none;
    color: #09080A;
}

.news_item h3 {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 24px;
    transition: all .3s ease;
}

.news_item:hover h3 {
    color: #d2942f;
    text-decoration: underline;
}

.all_news_link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #d2942f;
    font-weight: 600;
    text-decoration: none;
}

.all_news_link:hover {
    background: linear-gradient(to right, #A464DD, #4E86DC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.swiper-button-prev:after, .swiper-button-next:after {
    content: "";
    display: none;
}

.swiper-button-prev, .swiper-button-next {
    width: 22px;
    height: 22px;
    background: url(../img/prev.svg) no-repeat center center / contain;
}

.swiper-button-next {
    background: url(../img/next.svg) no-repeat center center / contain;
}

.hp_news_navigation {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 9px;
}

.hp_news_navigation .swiper-button-next, .hp_news_navigation .swiper-button-prev {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0;
}

.useful_service {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    height: 100%;
    text-decoration: none;
    font-weight: 500;
    font-size: 24px;
    padding: 29px 30px;
    text-decoration: none;
    border-radius: 10px;
 /*   background: linear-gradient(to right, #A982BF, #612475, #A982BF); */
    background: linear-gradient(to right, #d2942f, #f2c86b, #b97a1f);
    background-size: 200% 200%;
    background-position: 0 center;
}

.useful_service:hover {
    background-position: 99% center;
}

.useful_service svg {
    min-width: 60px;
}

.callback_form {
    padding: 80px 60px;
    background: #e7eef2;
}

.form_container {
    position: relative;
}

.form_container label{
    color: #5E5E62;
    position: absolute;
    top: 10px;
    left: 0;
    transition: all .3s ease;
}

.form-floating>.form-control-plaintext~label, .form-floating>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
    color: #5E5E62;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.form-floating>.form-control-plaintext~label::after, .form-floating>.form-control:focus~label::after, .form-floating>.form-control:not(:placeholder-shown)~label::after, .form-floating>.form-select~label::after {
    display: none;
}

input, textarea, select, .form-control, input[type="date"] {
    padding: 10px 0;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #09080A;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 0;
}

textarea, .form-floating>textarea.form-control {
    resize: none;
    height: 82px;
}

.form-control:focus {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #09080A;
    box-shadow: none;
}

input:active, .form-control:active, input:focus, .form-control:focus {
    outline: none;
}

.form_container input:focus+label {
    top: -10px;
}

.btn:active, .btn:focus {
    box-shadow: none;
}

.btn {
    border-radius: 40px;
    padding: 20px 40px;
  /* background: linear-gradient(to right, #A464DD, #4E86DC, #A464DD); */
    background: linear-gradient(to right, #d2942f, #f2c86b, #b97a1f);
    background-size: 200% 200%;
    background-position: 0 center;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all .3s ease;
}

.btn:hover {
    color: #fff;
    background-position: 99% center;
}

.useful_services .swiper-wrapper, .useful_links .swiper-wrapper {
    align-items: stretch;
}

.useful_services .swiper-slide, .useful_links .swiper-slide {
    height: auto;
}

.useful_links .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.useful_links_slider {
    background: #fff;
    padding: 70px 140px;
}

.useful_links_slider .swiper-button-prev {
    margin: 0;
    left: 40px;
}

.useful_links_slider .swiper-button-next {
    margin: 0;
    right: 40px;
}
/* Основні стилі */
.useful_services .swiper-wrapper, 
.useful_links .swiper-wrapper {
    align-items: stretch;
}

.useful_services .swiper-slide, 
.useful_links .swiper-slide {
    height: auto;
}

.useful_links .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Покращений контейнер слайдера */
.useful_links_slider {
    background: #fff;
    padding: 70px 140px;
}

/* Покращені стилі для посилань та зображень */
.useful_links .swiper-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px; /* Фіксована висота для всіх карток */
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.useful_links .swiper-slide a:hover {
    border-color: #d2942f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.useful_links .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* Стилі кнопок навігації */
.useful_links_slider .swiper-button-prev,
.useful_links_slider .swiper-button-next {
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
}

.useful_links_slider .swiper-button-prev {
    margin: 0;
    left: 40px;
    background-image: url(../img/prev.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.useful_links_slider .swiper-button-next {
    margin: 0;
    right: 40px;
    background-image: url(../img/next.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.useful_links_slider .swiper-button-prev:after,
.useful_links_slider .swiper-button-next:after {
    display: none; /* Ховаємо стандартні стрілки Swiper */
}

.useful_links_slider .swiper-button-prev:hover,
.useful_links_slider .swiper-button-next:hover {
    background-color: #e5e7eb;
    transform: scale(1.05);
}

.useful_links_slider .swiper-button-prev:active,
.useful_links_slider .swiper-button-next:active {
    transform: scale(0.95);
}

/* Заголовок */
.container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 3rem;
}

/* Адаптивність */
@media (max-width: 1200px) {
    .useful_links_slider {
        padding: 60px 100px;
    }
}

@media (max-width: 992px) {
    .useful_links_slider {
        padding: 50px 80px;
    }
    
    .useful_links .swiper-slide a {
        height: 180px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .useful_links_slider {
        padding: 40px 60px;
    }
    
    .useful_links_slider .swiper-button-prev {
        left: 20px;
    }
    
    .useful_links_slider .swiper-button-next {
        right: 20px;
    }
    
    .useful_links .swiper-slide a {
        height: 160px;
        padding: 20px;
    }
}

.useful_links .swiper {
  overflow: hidden;              /* ВАЖНО: вернули hidden */
}

/* 2) Внутри можно выпускать тени/сдвиги */
.useful_links .swiper-wrapper,
.useful_links .swiper-slide {
  overflow: visible;
}

/* 3) Немного «воздуха» сверху, чтобы translateY не резался */
.useful_links .swiper-slide {
  padding-top: 3px;              /* = величине сдвига на hover */
}

/* 4) Карточка и hover */
.useful_links .swiper-slide a {
  position: relative;
  z-index: 1;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.useful_links .swiper-slide a:hover {
  transform: translateY(-3px);   /* совпадает с padding-top у .swiper-slide */
  z-index: 2;
}


/*
.rec1, .rec2, .rec3, .rec4 {
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
}

.rec1 {
    background: linear-gradient(to right, rgba(255,255,255,.2), rgba(255,255,255,.05));
    left: 17%;
}

.rec2 {
    background: linear-gradient(to right, rgba(255,255,255,.2), rgba(255,255,255,.05));
    left: 23.7%;
}

.rec3 {
    background: linear-gradient(to left, rgba(255,255,255,.2), rgba(255,255,255,.05));
    right: 17%;
}

.rec4 {
    background: linear-gradient(to left, rgba(255,255,255,.2), rgba(255,255,255,.05));
    right: 23.7%;
}
*/
#pojo-a11y-toolbar {
    top: 40px !important;
}

.footer_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0;
    font-weight: 500;
}

.footer_link {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer_link_label {
    min-width: 73px;
    color: #fff;
}

.footer_link a {
    color: #fff;
    text-decoration: none;
}

.burger {
    position: relative;
    width: 24px;
    min-width: 24px;
    height: 20px;
    cursor: pointer;

}

.burger .line {
    background: #09080A;
    border-radius: 2px;
    height: 2px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all .6s;
}

.burger .line:nth-child(2) {
    top: 9px;
}

.burger .line:nth-child(3) {
    top: 18px;
}

.burger.active .line:nth-child(2) {
    opacity: 0;
}

.burger.active .line:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.burger.active .line:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

.mob_menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #6080DD;
    z-index: 999;
    padding: 40px 20px;
    padding-top: 148px;
    overflow: auto;
    transition: all .6s ease;
}

.mob_menu.active {
    left: 0;
}

.top_decor {
    background: linear-gradient(to right, #A464DD, #4E86DC);
    height: 108px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.mob_menu .header_top {
    position: relative;
    top: auto;
    max-width: 350px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.page_top {
    padding-top: 100px;
    padding-bottom: 15px;
   /* background: linear-gradient(130deg, #a464dd 0%, #4e86dc 100%); */
   background: linear-gradient(130deg, #351F1C 0%, #d2942f 100%);
    position: relative;
}

.breadcrumbs, .breadcrumbs ul {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    color: #fff;
    padding: 0;
    overflow: auto;
    white-space: nowrap;
    position: relative;
}

.breadcrumbs ul {
    list-style: none;
    margin-bottom: 0;
}

.breadcrumbs ul li {
    padding: 0;
    margin-bottom: 0;
    color: #d2942f;
    display: flex;
    align-items: center;
    gap: 15px;
}

.breadcrumbs ul li:before {
    display: none;
}

.breadcrumbs ul li:not(:last-child):after {
    content: '';
    background: no-repeat center center;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 0.999999L6.5 6L1.5 11' stroke='%23EDE1FE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-block;
}

.breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs .cur_page {
    color: #ede1fe;
}

/* Основний контейнер поста */
.post_content {
    padding-top: 60px;
    max-width: 1010px;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* Заголовок */
.post_content h1 {
    font-weight: 600;
    font-size: 36px;
    line-height: 1.3;
    text-align: center;
    color: #09080a;
    margin-bottom: 20px;
}

/* Дата публікації */
.post_date {
    font-weight: 500;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.post_date::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #d2942f;
    border-radius: 50%;
}

/* Головне зображення */
.post_trumb {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.post_trumb img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.post_trumb:hover img {
    transform: scale(1.02);
}

/* Підзаголовки */
.post_content h2 {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: #1f2937;
    margin-bottom: 24px;
    margin-top: 40px;
    padding-left: 20px;
    border-left: 4px solid #d2942f;
}

/* Параграфи */
.post_content p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
}

.post_content p a {
    color: #d2942f;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post_content p a:hover {
    color: #b87a3f;
}

/* Цитата */
.post_content .wp-block-pullquote {
    background: linear-gradient(135deg, #ede1fe 0%, #f3e8ff 100%);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #6080dd;
    margin: 40px 0;
    position: relative;
    box-shadow: 0 2px 12px rgba(96, 128, 221, 0.1);
}

.post_content .wp-block-pullquote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    font-weight: 700;
    color: rgba(96, 128, 221, 0.2);
    line-height: 1;
}

.post_content .wp-block-pullquote blockquote {
    margin: 0;
    padding-left: 30px;
}

.post_content .wp-block-pullquote blockquote cite {
    font-weight: 400;
    font-size: 17px;
    font-style: normal;
    line-height: 1.6;
    color: #374151;
    display: block;
}

.post_content .wp-block-pullquote blockquote p {
    margin-bottom: 0;
}

/* Слайдер блок */
.post_content .slider_block {
    margin: 50px 0;
}

.post_content .slider_block .swiper-slide {
    text-align: center;
}

.post_content .slider_block .swiper-slide img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Навігація слайдера */
.slider_navs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.slider_navs .swiper-button-next, 
.slider_navs .swiper-button-prev {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    width: 44px;
    min-width: 44px;
    height: 44px;
    background-color: #f3f4f6;
    border-radius: 50%;
    background-size: 20px 20px;
    transition: all 0.3s ease;
}

.slider_navs .swiper-button-next:hover, 
.slider_navs .swiper-button-prev:hover {
    background-color: #e5e7eb;
    transform: scale(1.05);
}

.slider_navs .swiper-button-next::after,
.slider_navs .swiper-button-prev::after {
    display: none;
}

.slider_navs .swiper-button-prev {
    background-image: url(../img/prev.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

.slider_navs .swiper-button-next {
    background-image: url(../img/next.svg);
    background-repeat: no-repeat;
    background-position: center center;
}

/* Пагінація */
.slider_navs .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    bottom: auto;
    top: auto;
    left: auto;
    right: auto;
    width: max-content;
}

.slider_navs .swiper-pagination-bullet {
    width: 10px;
    min-width: 10px;
    height: 10px;
    opacity: 1;
    background: #d1d5db;
    transition: all 0.3s ease;
    margin: 0;
}

.slider_navs .swiper-pagination-bullet:hover {
    background: #9ca3af;
}

.slider_navs .swiper-pagination-bullet-active {
    background: #d2942f;
    width: 30px;
    border-radius: 5px;
}

/* Кнопка "Усі новини" */
.pink_btn {
    background: linear-gradient(135deg, #dca851 0%, #d2942f 100%);
    padding: 20px 30px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid #351F1C;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(53, 31, 28, 0.2);
}

.pink_btn:hover {
    color: #351F1C;
    background: #fff;
    border-color: #d2942f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 148, 47, 0.3);
}


.pink_btn svg {
    transition: transform 0.3s ease;
}

.pink_btn:hover svg {
    transform: translateX(4px);
}

/* Сітка новин */
.news_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Адаптивність */
@media (max-width: 1200px) {
    .post_content {
        max-width: 900px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .news_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .post_content {
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .post_content h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .post_content h2 {
        font-size: 20px;
        padding-left: 16px;
    }
    
    .post_trumb {
        margin-bottom: 30px;
    }
    
    .post_content .wp-block-pullquote {
        padding: 20px;
    }
    
    .post_content .wp-block-pullquote blockquote cite {
        font-size: 15px;
    }
    
    .slider_navs {
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    
    .slider_navs .swiper-button-next, 
    .slider_navs .swiper-button-prev {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }
    
    .news_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pink_btn {
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* Додаткові елементи контенту */
.post_content ul,
.post_content ol {
    margin: 24px 0;
    padding-left: 30px;
}

.post_content li {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 12px;
}

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

/* Хлібні крихти (якщо є) */
.breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumbs a {
    color: #d2942f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #b87a3f;
    text-decoration: underline;
}
.news_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page_navigate_link {
    margin-top: 100px;
    padding-top: 20px;
    border-top: 2px solid #d2942f;
}

.page_pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 29px;
    font-weight: 500;
}

.page_pagination a {
    color: #09080a;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: 1px solid rgba(0,0,0,0);
    width: 30px;
    min-width: 30px;
    height: 30px;
}

.page_pagination a:hover {
    color: #09080a;
    border: 1px solid #09080a;
}

.page_pagination .pagination_cur_page, .page-numbers.current {
    color: #09080a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    border: 1px solid #09080a;
    width: 30px;
    min-width: 30px;
    height: 30px;
}

.page-content {
    padding-top: 100px;
    padding-bottom: 130px;
}

.text_blocks {
    padding-bottom: 30px;
}

.text_block {
    margin-bottom: 70px;
}

.text_block p:last-child {
    margin-bottom: 0;
}

.text_block_img {
    border-radius: 10px;
}

.goals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
    column-gap: 30px;
}

.goal {
    padding: 20px;
    border-radius: 0 10px 10px 0;
    position: relative;
    padding-left: 24px;
}

.goal:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: #d2942f;
    border-radius: 4px;
}

.goal h3, .faq h3 {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
}

.position_block {
    padding: 40px;
    background: #f0f4f8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.position_block:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.position_block h2 {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 25px;
    color: #351F1C;
    border-bottom: 2px solid #d2942f;
    padding-bottom: 10px;
}

.position_block_txt {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.position_block_txt_inner {
    max-width: 1178px;
    line-height: 1.6;
    color: #34495e;
}

.positions .position_block:not(:last-child) {
    margin-bottom: 50px;
}

.law {
     background: #fff;
            padding: 32px;
            display: flex;
            align-items: flex-start;
            gap: 30px;
            color: #2c3e50;
            text-decoration: none;
            transition: all .3s ease;
            font-weight: 400;
            font-size: 18px;
            border: 1px solid #e8ecef;
            border-radius: 12px;
            position: relative;
}

.law_date {
    min-width: 124px;
   /* background: #d2942f; */
    border-radius: 10px;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    transition: all .3s ease;
}

.law h2 {
    color: #2c3e50;
            line-height: 1.4;
            margin: 0;
                font-size: 25px;
}

.law:hover {
      transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border-color: #d2942f;
}

.law:hover .law_date, .law:hover .dis_date {
    background: #fff;
}

.law:hover h2 {
    color: #d2942f;
    text-decoration: underline;
}

.laws .law:not(:last-child) {
    margin-bottom: 20px;
}

.faqs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
    column-gap: 30px;
}

.faq {
    padding-left: 24px;
    position: relative;
}

.faq:before, .contact_row:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: #d2942f;
    border-radius: 4px;
}
/* Contacts Page Styles */

.page_content.contacts {
  background: linear-gradient(135deg, #f8f4f0 0%, #fdf9f5 100%);
  padding: 60px 0 80px;
  position: relative;
}

.page_content.contacts h1 {
  font-size: 42px;
  font-weight: 700;
  color: #351F1C;
  margin-bottom: 50px;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .page_content.contacts h1 {
    font-size: 32px;
    margin-bottom: 40px;
  }
}

/* Contact Row Card */
.contact_row {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(53, 31, 28, 0.08);
  border: 1px solid rgba(210, 148, 47, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact_row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #d2942f 0%, #b67d28 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact_row:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(53, 31, 28, 0.12);
  border-color: rgba(210, 148, 47, 0.3);
}

.contact_row:hover::before {
  opacity: 1;
}

/* Contact Title */
.contact_ttl {
  font-size: 14px;
  font-weight: 600;
  color: #d2942f;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact_ttl::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #d2942f;
  border-radius: 50%;
}

/* Contact Text */
.contact_txt {
  color: #351F1C;
  font-size: 16px;
  line-height: 1.6;
}

.contact_txt p {
  margin-bottom: 12px;
}

.contact_txt p:last-child {
  margin-bottom: 0;
}

.contact_txt a {
  color: #d2942f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact_txt a:hover {
  color: #b67d28;
  text-decoration: underline;
}

/* Action Buttons (если нужны) */
.contact_actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #d2942f 0%, #b67d28 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(210, 148, 47, 0.3);
  color: #ffffff;
}

.contact_btn.secondary {
  background: #f5f5f5;
  color: #351F1C;
}

.contact_btn.secondary:hover {
  background: #ebebeb;
  box-shadow: 0 6px 20px rgba(53, 31, 28, 0.1);
}

/* Map Column */
.col-lg-6:has(.contact_map),
.col-lg-6 > div:not(.contact_row) {
  position: sticky;
  top: 100px;
  height: fit-content;
}

/* Map Container */
.contact_map,
.col-lg-6 > iframe,
.col-lg-6 > div > iframe {
  width: 100%;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(53, 31, 28, 0.12);
  border: 1px solid rgba(210, 148, 47, 0.2);
}

@media (max-width: 991px) {
  .contact_map,
  .col-lg-6 > iframe,
  .col-lg-6 > div > iframe {
    height: 450px;
    margin-top: 30px;
  }
  
  .col-lg-6:has(.contact_map),
  .col-lg-6 > div:not(.contact_row) {
    position: static;
  }
}

/* Icons for specific contact types */
.contact_row.address .contact_ttl::before {
  content: '📍';
  width: auto;
  height: auto;
  background: none;
  font-size: 16px;
}

.contact_row.phone .contact_ttl::before {
  content: '📞';
  width: auto;
  height: auto;
  background: none;
  font-size: 16px;
}

.contact_row.email .contact_ttl::before {
  content: '✉️';
  width: auto;
  height: auto;
  background: none;
  font-size: 16px;
}

.contact_row.time .contact_ttl::before {
  content: '🕐';
  width: auto;
  height: auto;
  background: none;
  font-size: 16px;
}

/* Working Hours Special Style */
.contact_row.working_hours {
  background: linear-gradient(135deg, #d2942f 0%, #b67d28 100%);
  border: none;
}

.contact_row.working_hours .contact_ttl {
  color: #ffffff;
}

.contact_row.working_hours .contact_txt {
  color: rgba(255, 255, 255, 0.95);
}

.contact_row.working_hours::before {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact_row {
    padding: 24px;
    margin-bottom: 16px;
  }
  
  .contact_ttl {
    font-size: 12px;
  }
  
  .contact_txt {
    font-size: 15px;
  }
  
  .contact_btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Grid Layout Enhancement */
.page_content.contacts .row {
  align-items: flex-start;
}

.page_content.contacts .col-lg-6:first-child {
  padding-right: 30px;
}

.page_content.contacts .col-lg-6:last-child {
  padding-left: 30px;
}

@media (max-width: 991px) {
  .page_content.contacts .col-lg-6:first-child,
  .page_content.contacts .col-lg-6:last-child {
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* Additional decorative elements */
.page_content.contacts::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(210, 148, 47, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page_content.contacts::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(53, 31, 28, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.fin_date {
    max-width: max-content;
    margin-bottom: 40px;
}

.fin_first_text {
    margin-bottom: 50px;
}

.fin_docs {
    margin-bottom: 50px;
}

.fin_doc {
    padding: 20px;
    background: #ede1fe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 20px;
}

.fin_doc_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.fin_doc_part {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fin_doc_link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 16px;
}

.fin_doc_type {
    text-transform: uppercase;
    color: #fff;
    border-radius: 5px;
    padding: 2px 6px;
    background: #d2942f;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

.dop_name {
    color: #5e5e62;
}

.fin_table, .fin_table table {
    background-color: transparent;
}

.fin_table {
    margin-bottom: 70px;
}

.fin_table td {
    padding: 20px 0;
    background-color: transparent;
    border: 2px solid #ede1fe;
    border-left: none;
    border-right: none;
}

.search_input {
    border-radius: 10px;
    padding: 20px;
    padding-right: 68px;
    border: none;
    background: #f5f8fa;
    width: 100%;
    margin-bottom: 0;
}

.search_icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
}

.input_label {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #5e5e62;
    opacity: .7;
}

select {
    background: none;
    height: 45px;
}

/* 
* calendar body
*/

root {
    --dark-body-bg: #232429;
    --light-body-bg: #F5F7FB;

    --dark-input: #323741;
    --light-input: #ffffff;

    --dark-border: #484D5A;
    --light-border: #B8BCCB;

    --dark-date-foreground: #FFFFFF;
    --dark-inactive-fg: #636A78;
    --dark-active-fg: #9CA0B1;
    --dark-current-year: #3B414A;
    --dark-current-year-fg: #B2B8C9;
    --dark-selected: #1D5EFF;
    --dark-hover: #2C437B;
    --dark-arrows-bg: #B0B8CC;
    --dark-arrows-fill: #333641;
}

#date_picker, #date_pickerp {
    width: 300px;
    margin: 0 auto;
    transform: scale(1.2);
    position: relative;
    top: 15%;
}

#date_picker_input, #date_picker_inputp {
    margin-bottom: 8px;
    position: relative;
}

label {
    display: block;
    color: #8A8F9F;
    font-size: 1.02rem;
    font-weight: 300;
    margin-bottom: 10px;
}

#date {

}

#date:hover, #datep:hover {
    cursor: pointer;
}

#date.onFocus:focus, #datep.onFocus:focus {
    outline: none;
}

#date_picker_input:after, #date_picker_inputp:after {
    content: "▾";
    padding: 12px 15px;
    position: absolute;
    right: 4px;
    top: 42%;
    color: #8A8F9F;
}

#date_picker_input.showCal:after, #date_picker_inputp.showCal:after {
    transform: rotate(180deg);
}

#date_picker_calendar, #date_picker_calendarp {
    min-height: fit-content;
    box-shadow: 10px 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    padding: 12px;
    position: absolute;
    top: 100%;
    left: 0;
}

#date,
#date_picker_calendar,
#datep,
#date_picker_calendarp {
    background: #fff;
    border: none;
    width: 100%;
}

#date, #datep {
    padding: 10px 0;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #09080A;
    width: 100%;
}

/* 
* calendar body
*/

#calendar_header, #calendar_headerp {
    width: 100%;
    min-height: 30px;
    /*   background: pink; */
    margin-bottom: 8px;
    color: var(--dark-date-foreground);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cal-btn {
    width: 32px;
    height: 32px;
    background: var(--White);
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.cal-btn img {
    width: 32px;
    height: 32px;
}

.cal-btn.back img {
    /*transform: rotate(90deg);*/
}

.cal-btn.front img {
    transform: rotate(180deg);
}

#cal_days,
#calendar_main,
#cal_daysp,
#calendar_mainp {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 5px;
    column-gap: 5px;
    color: var(--dark-inactive-fg);
}

#cal_days, #cal_daysp {
    margin-top: 10px;
    margin-bottom: 10px;
}

#calendar_main,#calendar_mainp {
    grid-template-rows: repeat(5, min(30px));
}

.cell_wrapper {
    /*   background: yellow; */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    position: relative;
}

.current {
    background: var(--dark-current-year);
    color: var(--dark-current-year-fg);
}

.current:not(.active):hover {
    background: #d2942f;
    color: #fff;
}

.cal-btn:hover,
.current:hover {
    cursor: pointer;
}

.current.active {
    background: #6080dd;
    color: #fff;
}

.inactive_indicator:after {
    /*   text-decoration: underline; */
    content: '';
    width: 3px;
    height: 3px;
    background: red;
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
    left: 50%;
}

.hidden {
    /*visibility: hidden;*/
    display: none;
}

.is_evt {
    background: #6080dd;
    color: #fff;
}

/* calendar End */

.publ-date {
    font-size: 18px;
    color: #5e5e62;
    margin-bottom: 40px;
}

.page404 {
    padding: 100px 0;
}

.error404m {
    margin: 40px auto;
    font-weight: 500;
    font-size: 42px;
    text-align: center;
}

.callback_form p {
    margin-bottom: 40px;
}

.form_note {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 70px;
}

.modal {
    background: rgba(231,238,242,.9);
}

.modal-content {
    position: relative;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    background: #fff;
    border: 2px solid #ede1fe;
    border-radius: 10px;
    padding: 40px;
}

.close_modal {
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    padding: 5px;
}

.modal_ttl {
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.dis_date {
    border-radius: 10px;
    padding: 20px;
/*    background: #ede1fe;*/
    min-width: 200px;
    font-weight: 500;
    color: #000;
    text-transform: lowercase;
}

.dis_date span {
    font-weight: 400;
    color: #5e5e62;
}

.dis_date_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dis_date .dis_date_row:first-child {
    margin-bottom: 10px;
}

.comment-respond {
    padding: 80px 60px;
    background: #e7eef2;
    margin-top: 40px;
}

#reply-title {
    font-weight: 500;
    font-size: 42px;
    color: #202428;
    margin-bottom: 70px;
}

.comments-area {
    margin-top: 70px;
}

.comment-list {
    padding-left: 0;
}

.comment-list, ul.children {
    list-style: none;
}

.comment-avatar {
    border-radius: 50%;
    min-width: 48px;
}

.comment-body {
    display: flex;
    gap: 10px;
    padding-bottom: 20px;
}

.comment_top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.comment-author {
    font-weight: 700;
    color: #09080a;
}

.comment-date {
    font-weight: 700;
    color: #5e5e62;
}

.reply a {
    text-decoration: none;
    font-weight: 600;
    color: #6080dd;
}

.reply a:hover {
    background: linear-gradient(to right, #A464DD, #4E86DC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tab_container {
    display: flex;
    gap: 30px;
}

.tab_container .nav {
    width: 260px;
    min-width: 260px;
}

.tab_container .nav-link {
    border-radius: 0;
    padding: 20px;
    background: #ede1fe;
    color: #6080dd;
    font-weight: 600;
}

.tab_container .nav-link.active {
    color: #fff;
    background: linear-gradient(130deg, #a464dd 0%, #4e86dc 100%);
}

.tab_container .nav-link.active svg * {
    fill: #fff;
}

.user_info {
    padding: 20px;
    background: #e7eef2;
    font-weight: 500;
    margin-bottom: 70px;
}

.user_info span {
    color: #5e5e62;
}

.tab_container h3 {
    font-weight: 500;
    font-size: 30px;
    margin-bottom: 40px;
}

input.error {
    border-color: red !important;
}

.comment_post_title {
    display: flex;
    gap: 20px;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 40px;
}

.comment_post_title div {
    min-width: max-content;
}

.comment_post_title a {
    text-decoration: none;
    color: #6080DD;
}

.lk_ul {
    list-style: none;
}

.overhead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding-top: 6px;
}

@media screen and (max-width: 1659.8px) {
    #pojo-a11y-toolbar {
        top: 120px !important;
    }
}

@media screen and (max-width: 1529.8px) {
    .useful_services .swiper-slide {
        width: 282px;
    }
    /*    .useful_services .swiper {
            margin-right: -.75rem;
        }*/
}

@media screen and (max-width: 1399.8px) {
    .footer_container {
        flex-direction: column;
    }
    .header_top, .overhead {
        display: none;
    }
    .mob_menu .header_top {
        display: flex;
    }
    .main_header {
        top: 15px;
    }
    .header_container {
        align-items: center;
    }
    .page_top {
        padding-top: 100px;
    }
}

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

}

@media screen and (max-width: 991.8px) {
    h2 {
        margin-bottom: 40px;
    }
    .povnovazhs {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp_hero_img {
        height: 350px;
    }
    .news_grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .goals {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
}

@media screen and (max-width: 767.8px) {
    .hp_hero h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .hp_hero_brand {
    width: 40%;

}
    .hp_hero .desc, .povnovazh {
        font-size: 17px;
    }
    .povnovazh {
        padding-left: 14px;
    }
    .hp_hero .desc {
        margin-bottom: 20px;
    }
    .hp_hero {
        padding-top: 65px;
    }
    .hp_hero_decor {
        height: 442px;
    }
    .main_header {
        top: 15px;
    }
    section, .post_content {
        padding: 50px 0;
    }
    .news_item h3, .useful_service, .goal h3, .faq h3, .position_block h2, .law h2 {
        font-size: 18px;
    }
    h1, .post_content h1 {
        font-size: 28px;
        margin-bottom: 35px;
    }
    h2, #reply-title {
        font-size: 23px;
        margin-bottom: 35px;
    }
    .povnovazhs {
        gap: 20px;
    }
    .callback_form, .hp_news, .comment-respond, .position_block {
        padding: 40px 20px;
        margin: 0 -.75rem;
    }
    .news_trumbnail {
        height: 202px;
    }
    .useful_service {
        padding: 25px;
    }
    .useful_service svg {
        width: 50px;
        min-width: 50px;
        height: 50px;
    }
    .useful_links_slider {
        padding: 40px;
    }
    .useful_links_slider .swiper-button-next {
        right: 10px;
    }
    .useful_links_slider .swiper-button-prev {
        left: 10px;
    }
    .copyrights_content {
        flex-direction: column;
        text-align: center;
        align-content: center;
    }
    .page_navigate_link {
        margin-top: 40px;
    }
    .goals, .faqs {
        grid-template-columns: repeat(1, 1fr);
    }
    .text_block {
        margin-bottom: 35px;
    }
    .position_block h2 {
        margin-bottom: 20px;
    }
    .position_block_txt, .law {
        padding: 15px;
    }
    .law {
        gap: 15px;
        font-size: 16px;
    }
    .tab_container, .comment_post_title {
        flex-direction: column;
    }
    .tab_container .nav {
        width: 100%;
    }
    .modal-content {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 575.8px) {
    .povnovazhs {
        grid-template-columns: repeat(1, 1fr);
    }
    .hp_hero_img {
        height: 200px;
    }
    .useful_links_slider {
        padding: 40px 20px;
        margin-bottom: 60px;
    }
    .useful_links_slider .swiper-button-next {
        right: 10px;
        top: calc(100% + 30px);
    }
    .useful_links_slider .swiper-button-prev {
        left: 10px;
        top: calc(100% + 30px);
    }
    .logo_container {
        font-size: 11px;
        gap: 10px;
        width: 223px;
        min-width: 223px;
    }
    .logo_container .logo {
        width: 43px;
        min-width: 43px;
    }
    .mob_menu .top_decor {
        height: 95px;
    }
    .mob_menu {
        padding-top: 128px;
    }
    .law, .fin_doc {
        flex-direction: column;
    }
    .contact_row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 35px;
    }
    .fin_doc {
        gap: 20px;
        align-items: flex-start;
    }
    .lk_ul {
        padding-left: 10px;
    }
}


    .tabs-container {
      width: 100%;
      background: #ffffff;
      border-radius: 24px;
      padding: 8px;
    }

    .tabs-header {
      display: flex;
      gap: 4px;
      margin-bottom: 8px;
      max-width: 500px;
    }

    .tab-btn {
      flex: 1;
      padding: 18px 32px;
      border: none;
      border-radius: 18px;
      background: transparent;
      color: #a08060;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-family: inherit;
    }

    .tab-btn:hover {
      background: rgba(210, 148, 47, 0.08);
      color: #d2942f;
    }

    .tab-btn.active {
      background: linear-gradient(135deg, #d2942f 0%, #e5a840 100%);
      color: #351F1C;
      box-shadow: 0 10px 30px -5px rgba(210, 148, 47, 0.4);
    }

    .tab-btn svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
    }

    .tabs-content {
         background: linear-gradient(145deg, #ffffff 0%, #e9e9e938 100%);
      border-radius: 20px;
      border: 1px solid rgba(210, 148, 47, 0.1);
    }

    .tab-panel {
      display: none;
      padding: 32px 40px;
    }

    .tab-panel.active {
      display: block;
    }

    /* Contact Cards */
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-bottom: 32px;
    }

    @media (max-width: 1200px) {
      .contact-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 600px) {
      .contact-grid {
        grid-template-columns: 1fr;
      }
      
      .tab-panel {
        padding: 24px 20px;
      }
    }

    .contact-card {
      background: #ffffff;
      border-radius: 16px;
      padding: 24px 20px;
      text-align: center;
      border: 1px solid rgba(210, 148, 47, 0.12);
      transition: all 0.3s ease;
    }

    .contact-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(210, 148, 47, 0.12);
    }

    .contact-card-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: linear-gradient(135deg, #d2942f 0%, #e5a840 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 14px;
      color: #351F1C;
      box-shadow: 0 4px 12px rgba(210, 148, 47, 0.3);
    }

    .contact-card-icon svg {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
    }

    .contact-card-label {
      font-size: 11px;
      color: #999;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .contact-card-value {
      font-size: 15px;
      color: #351F1C;
      font-weight: 600;
      line-height: 1.4;
    }

    .contact-card-sub {
      font-size: 13px;
      color: #888;
      margin-top: 4px;
    }

    /* Staff List */
    .staff-list {
      background: #ffffff;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid rgba(210, 148, 47, 0.1);
    }

    .staff-item {
      display: flex;
      align-items: center;
      padding: 24px 32px;
      gap: 24px;
      border-bottom: 1px solid rgba(210, 148, 47, 0.08);
      transition: all 0.3s ease;
    }

    .staff-item:last-child {
      border-bottom: none;
    }

    .staff-item:hover {
      background: rgba(210, 148, 47, 0.03);
    }

    .staff-item.main {
      background: linear-gradient(90deg, rgba(210, 148, 47, 0.06) 0%, transparent 100%);
    }

    .staff-avatar {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      background: linear-gradient(135deg, #e8e2dc 0%, #d9d1c9 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #8a7f76;
      font-weight: 700;
      font-size: 18px;
      flex-shrink: 0;
    }

    .staff-item.main .staff-avatar {
      background: linear-gradient(135deg, #d2942f 0%, #e5a840 100%);
      color: #351F1C;
      box-shadow: 0 4px 12px rgba(210, 148, 47, 0.3);
    }

    .staff-info {
      flex: 1;
      min-width: 0;
    }

    .staff-name {
      font-size: 17px;
      font-weight: 600;
      color: #351F1C;
      margin-bottom: 6px;
    }

    .staff-position {
      font-size: 14px;
      color: #777;
      line-height: 1.5;
    }

    .staff-badge {
      padding: 8px 18px;
      background: linear-gradient(135deg, #351F1C 0%, #4a2925 100%);
      border-radius: 20px;
      font-size: 12px;
      color: #d2942f;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      flex-shrink: 0;
    }

    @media (max-width: 768px) {
      .staff-item {
        flex-wrap: wrap;
        padding: 20px 24px;
      }
      
      .staff-badge {
        margin-left: 80px;
        margin-top: -8px;
      }
    }

    /* Website Link */
    .website-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 24px;
      padding: 16px 28px;
      background: linear-gradient(135deg, #351F1C 0%, #4a2925 100%);
      border-radius: 14px;
      color: #d2942f;
      text-decoration: none;
      font-size: 15px;
      font-weight: 600;
      transition: all 0.3s ease;
    }

    .website-link:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(53, 31, 28, 0.3);
    }

    .website-link svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
    }

    /* Services List */
    .services-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    @media (max-width: 900px) {
      .services-list {
        grid-template-columns: 1fr;
      }
    }

    .service-item {
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 22px 28px;
      background: #ffffff;
      border-radius: 16px;
      border: 1px solid rgba(210, 148, 47, 0.1);
      transition: all 0.3s ease;
    }

    .service-item:hover {
      transform: translateX(4px);
      box-shadow: 0 4px 16px rgba(210, 148, 47, 0.1);
      border-color: rgba(210, 148, 47, 0.25);
    }

    .service-number {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: linear-gradient(135deg, #d2942f 0%, #e5a840 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #351F1C;
      font-weight: 700;
      font-size: 15px;
      flex-shrink: 0;
      box-shadow: 0 4px 12px rgba(210, 148, 47, 0.25);
    }

    .service-text {
      font-size: 15px;
      color: #444;
      line-height: 1.5;
      flex: 1;
    }

    .service-arrow {
      color: #d2942f;
      opacity: 0.4;
      flex-shrink: 0;
      transition: all 0.3s ease;
    }

    .service-item:hover .service-arrow {
      opacity: 1;
      transform: translateX(4px);
    }

    .service-arrow svg {
      width: 20px;
      height: 20px;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
    }

    /* CTA Block */.tabs-container
    .cta-block {
      margin-top: 28px;
      padding: 28px 36px;
      background: linear-gradient(135deg, #351F1C 0%, #4a2925 100%);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    @media (max-width: 600px) {
      .cta-block {
        flex-direction: column;
        text-align: center;
        padding: 24px;
      }
    }

    .cta-text {
      font-size: 14px;
      color: rgba(255,255,255,0.6);
      margin-bottom: 6px;
    }

    .cta-phone {
      font-size: 24px;
      color: #d2942f;
      font-weight: 700;
    }

    .cta-button {
      padding: 16px 36px;
      background: linear-gradient(135deg, #d2942f 0%, #e5a840 100%);
      border-radius: 14px;
      color: #351F1C;
      text-decoration: none;
      font-weight: 600;
      font-size: 15px;
      box-shadow: 0 8px 20px rgba(210, 148, 47, 0.4);
      transition: all 0.3s ease;
      white-space: nowrap;
    }

    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 28px rgba(210, 148, 47, 0.5);
    }