@font-face {
    font-family: 'KharkivTone';
    src: url('../fonts/kharkiv_tone.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.page-template-page-custom .hero-image{
    margin-top: -45px;
}
.container{
    padding: 0px !important
}
.hero-image {
    position: relative;
    width: 100%;
    max-height: 80%; /* або будь-яке інше обмеження */
    overflow: hidden;
    margin-top:-15px
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    bottom: 150px;  /* Відступ від нижнього краю */
    right: 230px;   /* Відступ від правого краю */
    color: #fff;
    text-align: right;

}

.hero-text h1 {
    font-family: 'KharkivTone', sans-serif;
    font-size: 96px;
    margin: 0;
    font-weight: 400;
}
.font-kt{
    font-family: 'KharkivTone', sans-serif;
    font-size: 16px;
    font-weight: 400;
}
.landing h2{
    font-family: 'KharkivTone', sans-serif;
    font-size: 40px;
    font-weight: 400;
    margin-bottom: -10px;
}
.landing h3{
    font-family: 'KharkivTone', sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: -10px;
    margin-top:50px;
}
.landing h4{
    font-family: 'KharkivTone', sans-serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: -10px;

}
.p5{
    padding: 50px;
}
.mt-2{
    margin-top: 2em;
}
.mt-35{
    margin-top: 3.5em;
}
.row {
    display: flex;
    gap: 20px; /* Відступ між колонками */
}

.width-4 {
    padding: 10px;
    flex: 2; /* Вузька колонка */
}

.width-8 {
    padding: 10px;
    flex: 3; /* Широка колонка */
}
.width-3 {
    padding: 10px;
    flex: 3; /* Вузька колонка */
}

.width-9 {
    padding: 10px;
    flex: 2; /* Широка колонка */
}
.preview{
    width: 70%;
}
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top:35px;
}

.video-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.video-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

video {
    width: 100%;
    height: 385px;
    background: #555;
    border-radius: 15px;
    cursor: pointer;
}


/* Кнопки */
button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;

    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Змінюємо вміст кнопок на SVG */
button.prev {
    background-image: url('/wp-content/themes/veteranka_underscores/images/left-arrow.svg');

    background-repeat: no-repeat;
    background-position: center;
}

button.next {
    background-image: url('/wp-content/themes/veteranka_underscores/images/right-arrow.svg');

    background-repeat: no-repeat;
    background-position: center;
}


button.prev { left: -20px; }
button.next { right: -20px; }

/* Індикатор */
.slide-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 10px;
}
.support-block {
    font-family: sans-serif;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.support-block h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.support-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.support-item img {
    width: 36px;
    height: 36px;
    margin-top: 20px;
}

.support-item p {
    font-size: 16px;
    line-height: 1.4;
    font-family: "NAMU_400";
    width: 80%;
    margin-bottom: 0px;
}

.chatbot-btn {
    background: black;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    display: block;
    width: 50%;
    text-align: center;
    border-radius: 5px;
    margin-top:10px;
    text-decoration: none;
}
.chatbot-btn:hover {
   box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.35);
}
.chatbot-info {
    border: 1px solid #ccc;
    padding: 5px 15px 5px 15px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 5px;
}
.articles-block {
    display: flex;
    gap: 20px;
}

.article {
    width: 32%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.article:hover {
    transform: translateY(-5px);
    .article-content p, .article-content h3 {
        text-decoration: underline;
    }

}

.article img {
    width: 384px;
    height: 216px;
    border-radius: 12px;
}



.article-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 5px;
    color: #0b0b0b;
}

.article-content p {
    font-size: 16px;
    color: #666;
}
.contact-block {
    text-align: center;
    padding: 60px 20px;
}

.contact-block h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-block p {
    font-size: 18px;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    font-family:'KharkivTone', sans-serif;
}
.mobile{
    display: none;
}
@media (max-width: 1024px) {
    .hero-text {
        bottom: 100px;
        right: 50px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 72px;
    }
    .preview {
        width: 100%;
    }
    .row {
        flex-direction: column;
        gap: 10px;
    }
    .width-4, .width-8, .width-3, .width-9 {
        flex: 1;
        width: 100%;
    }
    .slider-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-template-page-custom .hero-image {
        margin-top: 70px;
    }
    .hero-text {
        bottom: 50px;
        right: 20px;
    }
    .hero-text h1 {
        font-size: 48px;
    }
    .landing h2 {
        font-size: 32px;
    }
    .landing h3, .landing h4 {
        font-size: 20px;
    }
    .p5 {
        padding: 20px;
    }
    video {
        height: 250px;
    }
    .mobile{
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-text {
        bottom: 20px;
        right: 10px;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .landing h2 {
        font-size: 28px;
    }
    .landing h3, .landing h4 {
        font-size: 18px;
    }
    .p5 {
        padding: 10px;
    }
    video {
        height: 200px;
    }
}
@media (max-width: 768px) {
    .articles-block {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .article {
        width: 100%;
    }


}
@media (max-width: 768px) {
    button.prev { left: 5px; top:110% }
    button.next { right: 5px;top:110% }

    /* Індикатор */
    .slide-indicator {
        bottom: -41px;
    }
}
