/*!
Theme Name: zkontra
Theme URI: https://github.com/Turgay-Alekberli
Author: Turgay Alekberli
Author URI: https://github.com/Turgay-Alekberli
Description: Description
Version: 1.0.4
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: zkontra
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

body {
    font-family: 'DM sans', sans-serif;
}

table {
    font-family: "DM Sans", sans-serif;
}

ol, ul {
    padding: 0 !important;
    margin: 0 !important;
}

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

input {
    color: #404CA4 !important;
}

input::placeholder {
    color: #404CA4 !important;
}

.mt-120 {
    margin-top: 120px;
}

.pt-120 {
    padding-top: 120px;
}

/*colors*/
:root {
    --color-primary: #0865FE;
    --color-black: #151515;
    --color-light-black: #00000099;
    --color-charcoal: #25262D;
    --color-light-charcoal: #2F3037;
    --color-light-white: #F5F5F5;
    --color-grey: #F1F2F4;
    --color-light-blue: #E6F0FF;
}

.custom-bg-color-primary {
    background-color: var(--color-primary);
}

.custom-bg-color-light-white {
    background-color: var(--color-light-white);
}

.custom-bg-color-light-blue {
    background-color: var(--color-light-blue);
}

/********************
    HEADER/FOOTER
********************/
.site-header {
    z-index: 1020;
    transition: transform 0.4s ease-out;
}

.site-header.header-is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    animation: slide-down 0.5s forwards ease-out;
}

@keyframes slide-down {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header .navbar {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.site-header .main-logo {
    max-height: 30px;
    width: auto;
}

.site-header .navbar-nav .nav-link {
    font-family: "Dm Sans", sans-serif;
    font-weight: 700;
    color: var(--color-black);
    padding: 10px 0px 10px 15px !important;
    margin-right: 20px;
    position: relative;
    transition: color 0.3s ease;
}


.site-header .navbar-nav .dropdown-menu {
    border: none !important; 
    min-width: 15rem;      
    /*border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);*/
    padding: 0.5rem 0;
    overflow: hidden;
}

.site-header .navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem; 
    color: #333;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500; 
}

.site-header .navbar-nav .dropdown-item:hover {
    background-color: #f0f0f0;
    color: #0d6efd;
}


.language-switcher .dropdown-toggle::after {
    display: none;
}

.language-switcher .lang-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}

.language-switcher .dropdown-menu {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    overflow: hidden;
}

.language-switcher .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.language-switcher .dropdown-item .lang-flag {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
}

.navbar-toggler {
    border: none !important;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* --- ИЗМЕНЕНИЯ ДЛЯ МОБИЛЬНОГО МЕНЮ --- */
@media (max-width: 991.98px) {
    .site-header .navbar > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-toggler {
        border: none !important;
        background-color: transparent;
        padding: 0;
        z-index: 1051;
        transition: opacity 0.3s ease;
    }

    .navbar-toggler[aria-expanded="true"] {
        opacity: 0;
        pointer-events: none;
    }

    /* Стили для оверлея (полноэкранного меню) */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 1050;
        
        padding: 40px 20px;
        overflow-y: auto;
    }
    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    /* Кнопка закрытия */
    .navbar-collapse .btn-close {
        position: fixed;
        top: 25px;
        right: 25px;
        font-size: 1.5rem;
        z-index: 1052;
    }

    .navbar-nav {
        text-align: center;
        width: 100%;
    }
    .navbar-nav .nav-item {
        margin-bottom: 0.8rem;
    }
    .navbar-nav .nav-link {
        font-size: 1.2rem; /* !!! ИЗМЕНЕНО: Шрифт еще уменьшен */
        font-weight: 500;
        padding: 0.5rem 0 !important;
        margin-right: 0;
        color: var(--color-black);
    }
    
    /* !!! ФИНАЛЬНОЕ ИСПРАВЛЕНИЕ ДЛЯ СТРЕЛКИ !!! */
    .navbar-nav .dropdown-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap; /* Запрещает перенос строки между текстом и стрелкой */
    }
    
    .navbar-nav .dropdown-toggle::after {
        display: inline-block; 
        margin-left: 0.5em;
        vertical-align: middle;
        border-top: 0.4em solid;
        border-right: 0.4em solid transparent;
        border-bottom: 0;
        border-left: 0.4em solid transparent;
    }

    .navbar-nav .dropdown-menu {
        background: transparent;
        border: none !important;
        box-shadow: none;
        text-align: center;
        min-width: auto;
        margin-top: 0.5rem;
        padding: 0;
    }

    .dropdown-menu .nav-item .nav-link {
        font-size: 0.9rem;
    }
}

/* --- СТИЛИ ДЛЯ ДЕСКТОПА --- */
@media (min-width: 992px) {
    .site-header .dropdown {
        position: relative;
    }

    .site-header .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        margin-top: 0.5rem;
    }

    .site-header .navbar-nav .dropdown-menu {
        right: auto;
        left: 0;
    }

    .site-header .dropdown:hover > .dropdown-menu {
        display: block;
    }
    
    .site-header .navbar-nav .nav-item.dropdown {
        display: flex;
        align-items: center;
        margin-right: 20px;
    }

    .site-header .navbar-nav .nav-item.dropdown > .nav-link {
        margin-right: 0;
    }
    
    .site-header .navbar-nav .nav-item.dropdown > a.nav-link:not(.dropdown-toggle-split) {
        padding-right: 5px !important;
    }
    
    .site-header .navbar-nav .nav-item.dropdown > a.dropdown-toggle-split {
        padding-left: 0 !important;
    }
}



.footer-section {
	padding: 70px 0px;
    background-color: var(--color-black);
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-email {
    font-family: "DM Sans", sans-serif;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--color-primary) !important;
}

.footer-link {
    font-family: "DM Sans", sans-serif;
}

.footer-title {
	font-family: "DM Sans", sans-serif;
	font-weight: 700;
	font-size: 20px;
}

.footer-links {
	margin-top: 24px !important;
}

.footer-links li {
	list-style: none;
	margin-bottom: 10px;
}

.footer-links li a {
	font-family: "DM Sans", sans-serif;
	font-weight: 400;
	font-size: 17px;
	color: #fff;
	text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--color-primary) !important;
}

.footer-copyright-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.footer-copyright-links li {
    display: inline-block;
}

.footer-copyright-links li a {
	font-family: "DM Sans", sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #fff;
	text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright-links li a:hover {
    color: var(--color-primary) !important;
}

.social-icons {
    display: flex;
    gap: 32px;
}

.icon-circle {
    background: var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

.icon-circle i {
    color: #fff;
    font-size: 2.2rem;
}



/***************************
    BREADCRUMB SECTION
***************************/
.breadcrumb-section {
    padding: 30px 0px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap; /* Добавлено для мобильных */
    align-items: center; /* Выравнивание по центру */
}

.breadcrumb-text {
    font-family: "DM Sans", sans-serif;
    font-weight: bold;
}

.breadcrumb li {
    display: flex; /* Добавлено для правильного выравнивания */
    align-items: center; /* Выравнивание содержимого по центру */
}

.breadcrumb li + li::before {
    content: "/";
    font-weight: bold;
    padding: 0 7px 3px 7px;
    flex-shrink: 0; /* Запрещает сжатие сепаратора */
    white-space: nowrap; /* Запрещает перенос */
}

.breadcrumb li span {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
}

.breadcrumb li a,
.breadcrumb-item a,
.breadcrumb-link {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap; /* Запрещает перенос текста ссылок */
}

.breadcrumb li a.white {
    color: #fff;
}

.breadcrumb li a.black {
    color: #000;
}

.breadcrumb-separator {
    font-weight: bold;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .breadcrumb {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .breadcrumb::-webkit-scrollbar {
        display: none;
    }
    
    .breadcrumb li a,
    .breadcrumb-item a,
    .breadcrumb-link {
        font-size: 14px;
    }
    
    .breadcrumb li + li::before {
        padding: 0 6px;
    }
}

@media (max-width: 576px) {
    .breadcrumb li a,
    .breadcrumb-item a,
    .breadcrumb-link {
        font-size: 11px;
    }

    .breadcrumb-item span.breadcrumb-text {
        font-size: 11px;
    }

    ol.breadcrumb li span {
        font-size: 11px;
    }
    
    .breadcrumb li + li::before {
        font-size: 11px;
        padding: 0 4px;
    }

    .breadcrumb-separator {
        font-size: 11px;
    }
}



/******************************
    TABLE OF CONTENT SECTION
******************************/
.table-of-contents-container {
    --toc-active-color: var(--color-primary, #4A90E2);
    --toc-text-color: var(--color-black, #333);
    --toc-text-color-light: #555;
    --toc-bg-mobile: #EAEAEA;
    --toc-sticky-offset: 40px;
    --toc-transition-speed: 0.3s;
    
    margin-bottom: 30px;
    font-family: 'DM Sans', sans-serif;
}

.toc-accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: var(--toc-bg-mobile);
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--toc-text-color);
    margin: 0;
    transition: background-color var(--toc-transition-speed) ease;
}

.toc-accordion-title:hover {
    background-color: #efefef;
}

.toc-accordion-title svg {
    transition: transform var(--toc-transition-speed) ease;
}

.toc-accordion-title.open svg {
    transform: rotate(180deg);
}

.toc-nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out;
    background-color: #fdfdfd;
    border-radius: 0 0 8px 8px;
}

.toc-nav.open {
    max-height: 1000px;
    padding: 10px 14px;
}

.toc-list, .toc-list li {
    list-style: none;
    list-style-type: none;
}

.toc-list {
    padding: 0 15px;
    margin: 0;
}

.toc-list li {
    margin-bottom: 15px;
}

.toc-list li a {
    text-decoration: none;
    color: var(--toc-text-color-light);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    transition: color var(--toc-transition-speed) ease, 
                font-weight var(--toc-transition-speed) ease;
}

.toc-list li a:hover {
    color: var(--toc-active-color);
}

.toc-list li.active a {
    color: var(--toc-text-color);
    font-weight: 600;
}

.toc-sublist {
    margin-top: 10px !important;
}

@media (min-width: 992px) {
    .table-of-contents-container {
        position: sticky;
        top: var(--toc-sticky-offset);
        margin-bottom: 0;
    }

    .toc-accordion-title {
        background-color: transparent;
        cursor: default;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .toc-accordion-title:hover {
        background-color: transparent;
    }

    .toc-accordion-title svg {
        display: none;
    }

    .toc-nav {
        max-height: none;
        overflow: visible;
        background-color: transparent;
        padding: 0;
    }

    .toc-list {
        padding: 0;
    }
    
    .toc-list li {
        padding-left: 10px;
        border-left: 3px solid transparent;
        transition: border-color var(--toc-transition-speed) ease;
    }
    
    .toc-list li.active {
        border-left-color: var(--toc-active-color);
    }
    
    .toc-list .toc-level-3 {
        margin-left: 20px;
    }
}




/************************
    SERVICES SECTION
************************/
.service {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 12px;
    margin: 10px;
    padding: 30px;
    background-color: #fff;
    min-height: 370px;
}

.service-icon img {
    width: 42px;
}

.service-title {
    margin-bottom: 5px;
}

.service-title h3 {
    font-family: "DM Sans", sans-serif;
    font-size: 36px;
    font-weight: 900;
    overflow: hidden;
}

.service-short-desc {
    min-height: 110px;
    overflow: hidden;
}

.service-short-desc p {
	font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

.service-button a {
	font-family: "DM sans", sans-serif;
    font-weight: 600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
}

.service-button a {
    display: block;
    min-width: 100%;
    text-align: center;
    background-color: var(--color-primary);
}

.service-section-main {
    background-color: var(--color-light-blue);
}

.service-section-content {
    background-color: var(--color-light-white);
}

.service-section-intro,
.service-section-imgs {
    max-height: 400px;
}

.service-section-img-wrapper {
    width: 50%;
    box-sizing: border-box;
    display: inline-block;
}

.service-section-img-wrapper img {
    min-width: 100%;
}

.service-section-title h1 {
    font-style: 48px;
    font-weight: 900;
}

.service-section-desc p {
    font-size: 18px;
    font-weight: 400;
}

.service-section-consultation a {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-primary);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
}


.service-toc-title {
    margin-bottom: 20px;
}

.service-toc-title h6 {
    font-size: 20px;
    font-weight: 600;
}

.service-toc ul {
    list-style: none;
    padding-left: 0px;
}

.service-toc ul li {
    padding: 10px;
    padding-left: 13px; /* 10px + 3px для границы */
    box-sizing: border-box;
}

.service-toc ul li.active {
    border-left: 3px solid var(--color-primary);
    padding-left: 10px; /* вернуть изначальный padding */
}

.service-toc ul li.active a {
    color: var(--color-primary);
    font-weight: 600;
}

.service-toc ul li a {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    text-decoration: none;
}



/********************
    STEPS SECTION
********************/
.step {
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0px 4px 34px 0px #EDEDEF;
}

.step-num {
    margin-bottom: 20px;
    text-align: left;
}

.step-num span {
	font-family: "DM Sans", sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #8DB8FF;
}

.step-title h5 {
	font-family: "DM Sans", sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #000;
    text-align: left;
}

@media (max-width: 768px) {
    .step-title h5 {
        font-size: 32px;
    }
}

.step-desc p {
	font-family: "DM Sans", sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #7A7B7B;
	min-height: 130px;
    text-align: left;
}

@media (max-width: 768px) {
    .step-desc p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .step-desc p {
        font-size: 12px;
    }
}



/*****************
    FAQ SECTION
******************/
.accordion-header button.accordion-button {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-black);
    padding: 30px !important;
}

.accordion-body {
    padding: 0px 30px 30px 30px !important;
}

.accordion-body p {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--color-charcoal);
    margin: 0px !important;
}

.accordion-item {
    border: none !important;
    border-radius: 10px;
    margin-bottom: 20px;
}

.accordion-button {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
    color: var(--color-primary) !important;
}

.accordion-button:not(.collapsed) {
    background: none !important;
    box-shadow: none !important;
}

.accordion-collapse {
    border: none !important;
}



/************************
    CLOUT CATEOGORIES
************************/
.cloud-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* горизонтальный и вертикальный */
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px; /* добавим внутренний отступ, чтобы текст не прилипал к краям */
}

a.cloud-category {
    font-family: "DM Sans", sans-serif;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 16px; /* немного уменьшаем размер шрифта для адаптивности */
    border-radius: 20px;
    padding: 6px 16px;
    text-decoration: none;
    border: 1px solid var(--color-primary);
    background: none;
    display: inline-block;
    margin: 0; /* убедитесь, что лишнего отступа нет */
    white-space: nowrap; /* предотвратит перенос текста */
}

a.cloud-category.active {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}



/*****************
    BLOG SECTION
******************/
.blog-page-title {
    font-family: "DM Sans", sans-serif;
    font-size: 56px;
    font-weight: 900;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .blog-page-title {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .blog-page-title {
        font-size: 32px;
    }
}

.blog-post {
    padding: 10px 20px 10px 20px;
    border-radius: 10px;
}

/*.blog-post-thumb {
    padding-bottom: 20px;
}*/

.blog-post-thumb img {
    width: 100%;
    border-radius: 10px;
}

.blog-post-thumb a img {
    border-radius: 10px;
}

.blog-post-author-thumb {
    border-radius: 50%;
}

.blog-post-author-link a {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-black);
    text-decoration: none;
}

.blog-post-author-link span {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--color-black);
    text-decoration: none;
}

.blog-post-title h2,
.blog-post-title h3 {
    text-align: left;
    min-height: 75px;
    overflow: hidden;
    line-height: 1;
}

.blog-post-title h2 a,
.blog-post-title h3 a {
    display: inline;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--color-black) !important;
    transition: color 0.3s ease;
}

.blog-post-title h2 a:hover,
.blog-post-title h3 a:hover {
    color: var(--color-primary) !important;
}

.blog-post-content {

}

.blog-post-content h2,
.blog-post-content h3 {
    scroll-margin-top: 60px;
}

.blog-post-content h2 {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700 !important;
    font-size: 40px;
}

.blog-post-content h3 {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700 !important;
    font-size: 28px !important;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-left: 24px !important;
    padding-left: 24px !important;
    margin-bottom: 24px !important;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    margin-top: 40px;
    margin-bottom: 10px;
}

.blog-post-content h2:first-child {
    margin-top: 0px;
}

.blog-post-content p {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.blog-post-content ul li,
.blog-post-content ol li {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.blog-post-content .wp-block-image {
    margin-bottom: 20px;
}

.blog-post-author span {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.blog-post-author-thumb img {
    width: 42px;
    height: 42px;
}

.blog-post-date span {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.blog-post-all {
    font-size: 18px;
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}

.blog-categories-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.blog-cloud-category {
    margin-bottom: 15px;
}

.blog-cloud-category a {
    color: var(--color-primary);
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    border-radius: 24px;
    padding: 10px 14px;
    text-decoration: none;
    border: 1px solid var(--color-primary);
}

.blog-cloud-category a.active {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.blog-post-main {
    background-color: var(--color-light-blue);
}

.blog-post-wrapper {
    background-color: var(--color-light-white);
}

.blog-post-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.blog-post-info h1 {
    font-family: "DM Sans", sans-serif;
    font-weight: 900;
    font-size: 44px;
    color: var(--color-black);
}

@media (max-width: 576px) {
    .blog-page-info h1 {
        font-size: 30px;
    }
}

.blog-post-info span {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
}

.blog-post-banner {
    border-radius: 10px;
}

.blog-post-banner img {
    max-width: 100%;
    border-radius: 10px;
    height: 100%;
}

.blog-related-posts {
    padding-top: 80px;
    padding-bottom: 80px;
}

.blog-related-posts-section-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 900;
    font-size: 56px;
    color: var(--color-black);
}

@media (max-width: 768px) {
    .blog-related-posts-section-title {
        font-size: 48px;
    }
}

@media (max-width: 576px) {
    .blog-related-posts-section-title {
        font-size: 30px;
    }
}

.breadcrumb-padding-top {
    padding-top: 130px;
}

@media (max-width: 768px) {
    .breadcrumb-padding-top {
        padding-top: 120px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-padding-top {
        padding-top: 110px;
    }
}

.blog-post-information {
    margin-top: 30px;
    width: 100%;
    display: flex;
    align-items: center;
}

.blog-post-information > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-post-information > *:not(:last-child) {
    margin-right: 20px;
}

.blog-post-information a {
    color: var(--color-black);
/*    text-decoration: none;*/
}

.avatar {
    display: block;
    vertical-align: middle;
}

@media (max-width: 576px) {
    .blog-post-information {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}



/* AUTHOR PROFILE BOX */
.author-profile-box {}

.author-header {
    display: flex; 
    align-items: center; 
    gap: 25px; 
    margin-bottom: 25px; 
}

.author-avatar img {
    border-radius: 50%; 
    display: block;
}

.author-details {}

.author-title {
    font-family: "DM Sans", sans-serif;
    margin-top: 0;
    margin-bottom: 5px;
}

.author-specialty {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    margin: 0 0 15px 0; 
    letter-spacing: 0.5px;
}

.author-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dee2e6; 
    border-radius: 6px; 
    color: #212529;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.author-socials a:hover {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

.author-bio {
    max-width: 800px;
}

.author-bio p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.author-section-title {
    font-family: "DM Sans", sans-serif;
    margin-bottom: 20px;
}



/************************
    PROJECTS SECTION
************************/
.project-item-wrap-a {
    display: block;
}

.project-item {
    border-radius: 12px;
    margin: 10px;
    padding: 30px 20px 30px 20px;
    min-height: 290px;
}

.project-logo {
    margin-bottom: 30px;
    min-height: 40px;
}

.project-logo img {
    width: 180px;
}

.project-short-desc {
    color: var(--color-black);
    font-weight: 700;
    font-size: 22px;
    margin: 25px 0 40px;
}

.project-button a {
    font-weight: 600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

/*.project-tag {
    padding-bottom: 15px;
}*/

.project-tag a {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    background-color: var(--color-light-blue);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    cursor: default;
}

.project-banner-section {
    background-color: var(--color-light-blue);
    padding: 0px 0px 50px;
}

.project-banner {
    background-color: #fff;
    border-radius: 24px;
    padding: 70px 0 70px 0;
}

/*.project-banner, 
.project-banner img {
    max-width: 100%;
}*/

.project-banner-image {

}

.project-banner img {

}

.project-title h1 {
    font-family: "DM Sans", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--color-black);
}

.project-title {
    margin-bottom: 40px;
    min-height: 100px;
}

.project-title h3 a {
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    transition: color 0.3s ease;
}

.project-title h3 a:hover {
    color: var(--color-primary);
}

.project-content p {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.project-content ul.wp-block-list {
    margin-left: 24px !important;
    padding-left: 24px !important;
    margin-bottom: 24px !important;
}

.project-content ul li {
    font-weight: 400;
    font-size: 18px;
}

.project-content h1, 
.project-content h2, 
.project-content h3, 
.project-content h4, 
.project-content h5, 
.project-content h6 {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 700 !important;
    margin-top: 40px;
    margin-bottom: 10px;
}

.project-content h2 {
    font-size: 40px !important;
}

.project-content h3 {
    font-size: 28px !important;
}

.project-feature-items {
    display: flex;
    gap: 10px;
    width: 100%;
}

.project-feature-item {
    background-color: #D9F3EA;
    border-radius: 10px;
    padding: 50px 25px;
    flex-grow: 1;
    text-align: center;
}

.project-feature-item span {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 24px;
}

@media (max-width: 768px) {
    .project-feature-items {
        flex-direction: column;
    }
    .project-feature-item {
        width: 100%;
        padding: 20px 10px;
    }
}

.other-projects {
    background-color: var(--color-light-blue);
}



/******************
    PAGINATION
*******************/
/* Пагинация - переопределение Bootstrap стилей */
nav .pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    padding-left: 0 !important;
    margin: 20px 0 !important;
    list-style: none !important;
}

nav .pagination .page-item {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important; /* Убираем Bootstrap отступы */
}

nav .pagination .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 9px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: var(--color-primary); !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    margin: 0 !important; /* Убираем Bootstrap отступы */
}

nav .pagination .page-link img {
    width: 16px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

nav .pagination .page-item.active .page-link,
nav .pagination .page-link:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-color: var(--color-primary) !important;
}

nav .pagination .page-item.disabled .page-link,
nav .pagination .page-item.disabled span.page-link {
    color: #6c757d !important;
    pointer-events: none !important;
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
}



/***************************
    CONTACT FORM SECTION
***************************/
.contact-form input,
.contact-form textarea {
    font-family: "DM Sans", sans-serif;
    background-color: var(--color-light-blue);
}

input.form-control {
    padding: 15px !important;
    border-radius: 10px !important;
    border: none !important;
}

form.consultation input,
form.consultation textarea {
    background-color: var(--color-light-blue);
}

form span, 
form label, 
form button {
    font-family: "DM Sans", sans-serif !important;
}

.contact-form-title {
    height: 100%;
    display: flex;
    align-items: center;
}

.contact-form-title h3 {
    color: #fff;
    font-size: 86px;
    font-weight: 900;
}

.contact-form-title-img {

}

/* contact form */
.wpcf7-form {
    font-family: "DM Sans", sans-serif;
}

.wpcf7-form .wpcf7-form-control {
    font-family: "DM Sans", sans-serif;
    background-color: var(--color-light-blue);
    padding: 15px !important;
    border-radius: 10px !important;
    border: none !important;
    width: 100%;
    box-sizing: border-box;
}

.wpcf7-form textarea.wpcf7-form-control {
    height: 120px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7-form .wpcf7-submit {
    width: 100%;
    background-color: var(--color-primary); /* ВАШЕ ПРАВИЛО СОХРАНЕНО */
    color: #fff !important;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: #3a4ad8;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-interest-services {
    color: #fff;
    margin-bottom: 10px;
}

.wpcf7-form .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 25px; 
}

.wpcf7-form .wpcf7-list-item {
    margin: 0;
}

.wpcf7-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wpcf7-form input[type="checkbox"] {
    width: 18px;  
    height: 18px; 
    margin: 0 10px 0 0;
}

.wpcf7-form .wpcf7-list-item-label {
    font-family: "DM Sans", sans-serif !important;
    color: #fff;
    font-size: 17px;
}

.wpcf7-form input[type="checkbox"]:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.wpcf7-form span[data-name="xidmetler"] > .wpcf7-form-control.wpcf7-checkbox {
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important; 
}



/* SUBSCRIBE SECTION */
.subscribe-section {
    background-color: var(--color-light-blue);
    padding: 70px 0 70px 0;
}

.subscribe-title {
    color: var(--color-black);
    font-size: clamp(1.75rem, 5vw, 2.25rem); /* Адаптивный размер шрифта */
}

.subscribe-form-wrapper {
    background-color: #fff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.subscribe-form-wrapper .input-group {
    background: transparent;
}

.subscribe-form-wrapper .form-control {
    border: none;
    box-shadow: none;
    background: transparent;
    color: var(--color-charcoal);
    padding: .5rem 1rem; 
}
.subscribe-form-wrapper .form-control::placeholder {
    color: var(--color-charcoal);
    opacity: 0.7;
}

.subscribe-form-wrapper .btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: 8px !important;
    padding: .75rem 1.5rem;
}
.subscribe-form-wrapper .btn-primary:hover {
    background-color: #0653d1; 
    border-color: #0653d1;
}

.subscribe-form-wrapper .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}