/*!
Theme Name: The hive main theme
Theme URI: https://t.me/ak_dmseo
Author: Kadnychanskiy Anton
Author URI: https://t.me/ak_dmseo
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: the-hive-main-theme
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.

The hive main theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@font-face {
    font-family: 'Inter';
    src: url('assets/css/fonts/Inter-Regular.eot');
    src: url('assets/css/fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
         url('assets/css/fonts/Inter-Regular.woff2') format('woff2'),
         url('assets/css/fonts/Inter-Regular.woff') format('woff'),
         url('assets/css/fonts/Inter-Regular.ttf')  format('truetype'),
         url('assets/css/fonts/Inter-Regular.svg#Inter') format('svg');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter Bold';
    src: url('assets/css/fonts/Inter-Bold.eot');
    src: url('assets/css/fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
         url('assets/css/fonts/Inter-Bold.woff2') format('woff2'),
         url('assets/css/fonts/Inter-Bold.woff') format('woff'),
         url('assets/css/fonts/Inter-Bold.ttf')  format('truetype'),
         url('assets/css/fonts/Inter-Bold.svg#Inter') format('svg');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter Thin';
    src: url('assets/css/fonts/Inter-Thin.eot');
    src: url('assets/css/fonts/Inter-Thin.eot?#iefix') format('embedded-opentype'),
         url('assets/css/fonts/Inter-Thin.woff2') format('woff2'),
         url('assets/css/fonts/Inter-Thin.woff') format('woff'),
         url('assets/css/fonts/Inter-Thin.ttf')  format('truetype'),
         url('assets/css/fonts/Inter-Thin.svg#Inter') format('svg');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope-Regular';
    src: url('assets/css/fonts/Manrope-Regular.eot');
    src: url('assets/css/fonts/Manrope-Regular.eot?#iefix') format('embedded-opentype'),
         url('assets/css/fonts/Manrope-Regular.woff2') format('woff2'),
         url('assets/css/fonts/Manrope-Regular.woff') format('woff'),
         url('assets/css/fonts/Manrope-Regular.ttf')  format('truetype'),
         url('assets/css/fonts/Manrope-Regular.svg#Manrope-Regular') format('svg');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}


html{
    scroll-behavior: smooth;
}

body{
    font-family: "Manrope-Regular", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    color: #323232;
    height: 100%;
    font-size: 16px;
    overflow-x: hidden;
    background: #FFFFFF;
}

h1,h2,h3,h4,h5,.h1,.h2,.h3,.h4,.h5{
    font-family: 'Inter bold', sans-serif;
    color: #323232;
    word-break: break-word;
    hyphens: none;
    text-transform: uppercase;
}

h1, .h1{ font-size: calc(30px + 16 * (100vw / 1600));}
h2, .h2{ font-size: calc(20px + 12 * (100vw / 1600));}
h3, .h3{ font-size: 1.6rem}
h4, .h4{ font-size: 1.4rem}
h5, .h5{ font-size: 1.2rem}

/*кольори*/

/*
Dark Charcoal  - #323232
White / Ivory - #FFFFFF / #FFFFF0
Deep Teal - #008080
Warm Amber - #FF7E00
*/

p, span, a, li, ol, span{
    font-family: "Manrope-Regular", sans-serif;
    line-height: 1.7; /* Оптимально для читання */
}

.header{
    background: none;
    background-color: none;
}

a{
    text-decoration: none!important;
}

a:hover{
    opacity:.8;
}

.post-content :is(a){color: #FF7E00;}

p {
    /* Контроль читабельності та доступності */
    line-height: 1.7; /* Оптимально для читання */
    /*max-width: 65ch; /* Обмеження ширини ~65 символів */*/
    text-wrap: pretty; /* Покращує перенесення слів */
    word-break: break-word; /* Запобігає горизонтальній прокрутці */
    hyphens: auto; /* Автоматичне перенесення слів */
    
    /* Сучасні відступи та вирівнювання */
    margin-block: 0 1.25em; /* Логічні відступи (зверху/знизу) */
    text-align: justify; /* Адаптивне вирівнювання */
    text-indent: 0; /* Сучасний тренд - без відступу першого рядка */
    
    /* Оптимізація рендерингу */
    font-kerning: normal; /* Покращує інтервали між літерами */
    font-variant-ligatures: common-ligatures; /* Включає лігатури */
    text-rendering: optimizeLegibility; /* Кращий вигляд тексту */
    
    /* Адаптивність */
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* Плавна зміна розміру */
}

@media (max-width: 768px) {
    p {
        line-height: 1.75; /* Трохи більший інтервал на малих екранах */
        max-width: 100%; /* Не обмежує ширину на вузьких екранах */
        hyphens: auto; /* Особливо важливо для української мови */
        font-size: clamp(1.05rem, 4vw, 1.15rem); /* Більший розмір для мобільних */
    }
}

ol > li{
        text-align: left!important;
}

/*   ------------------- btns ------------------- */


.text-container {
    position: relative;
}

.text-excerpt {
    display: block;
    line-height: 1.6;
    margin-bottom: 15px;
}

.text-complete {
    display: none;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ellipsis {
    color: #666;
}

.text-container .btn-linkpage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    background: #323232;
    color: #FF7E00;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    margin-top: 20px;
}

.text-container .btn-linkpage:hover {
    background: #FF7E00;
    color: #323232;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 0, 0.35);
    padding-right: 35px;
}


.text-container .btn-text {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.text-container .btn-linkpage:hover .btn-text {
    transform: translateX(-3px);
}


.text-container .btn-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    font-size: 16px;
    opacity: 0.8;
    transform: translateX(0);
}

.text-container .btn-linkpage:hover .btn-icon {
    transform: translateX(4px);
    opacity: 1;
}


.text-container .btn-linkpage:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}


.text-container .btn-linkpage::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.text-container .btn-linkpage:hover::before {
    left: 100%;
}


.text-excerpt, .text-complete {
    transition: opacity 0.3s ease;
}


.section-block-pages__text .btn-linkpage {
    display: inline-flex !important;
    margin: 20px auto 0 !important;
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}




/*   ------------------- Menu ------------------- */

/* === КАПЛЯ === */
.container-hive-burger {
    position: fixed;
    right: 0;
    top: 35vh;
    width: 48px;
    height: 30vh;
    background: #323232;
    z-index: 10001;

    display: flex;
    align-items: center;
    justify-content: center;

    border-top-left-radius: 120% 60%;
    border-bottom-left-radius: 120% 60%;
    opacity: 0.95; /* прозрачность по умолчанию */
}

/* === БУРГЕР === */
.hive-burger {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    z-index: 10002;
}

.hive-burger span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    transition: .4s ease;
}

.hive-burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hive-burger.is-active span:nth-child(2) {
    opacity: 0;
}
.hive-burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* === МЕНЮ === */
.hive-slide-menu {
    position: fixed;
    inset: 0;
    background: #323232;
    transform: translateX(100%);
    transition: transform .8s cubic-bezier(.77,0,.18,1);
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hive-slide-menu.is-open {
    transform: translateX(0);
}

/* OPEN STATE */
.hive-slide-menu.is-open {
    transform: translateX(0);
}

/* ===== NAV ===== */
.nav-hive {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav-hive li {
    margin: 15px 0;
}

.nav-hive a {
    color: #fff;
    font-size: clamp(32px, 4vw, 60px);
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: opacity .4s ease, transform .4s ease;
}

/* ===== BURGER ANIMATION ===== */
.hive-burger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: #fff;
}
.hive-burger.is-active span:nth-child(2) {
    opacity: 0;
}
.hive-burger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: #fff;
}


/*   ------------------- Лого ------------------- */
.logo_the-hive :is(img) {max-width: 80px;height: auto}

/*   ------------------- хедер ------------------- */

.header-hive{
    width:100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
 }
.header__container{
    width:100%;
    max-width: 1400px
}
.header__items{
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/*   ------------------- sections ------------------- */

.text-block-section-main-the-hive{
    height: calc(100vh - 180px);
}


.template-bg{
    /*background: url(https://hive.com.ua/wp-content/uploads/2025/12/the-hive-logo.jpg);*/
    background: url(https://hive.com.ua/wp-content/uploads/2025/12/the-hive-logo-45degree.jpg);
    background-size: cover;       /* Scales image to fill area */
    background-position: center;  /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from tiling */
}




.section-what-is-the-hive{
    background:#f8f6f5
}
.section-what-is-the-hive :is(h2,h3,p){

}
div :is(.attention-text), .card-mainpage-hive :is(h3){
    color:#FF7E00
}
.card-mainpage-hive :is(h2){
    z-index: 100;
}





.h1-section-main-the-hive{
    font-size: 5rem
}
.section-hive{
    padding: 2rem 0 2rem 10vw;
}
.h2-section-hive{
    max-width: 85vw;
    font-size: 4rem;
}

.h2-section-hive.section-hive-sides{
    max-width: 100vw;
    font-size: 4vw;
}



.p-section-main-the-hive{
    font-size: 1.5rem;
}

/*****************  section-mainpage *******************/

@media (min-width: 1100px) {
    .section-mainpage {
        height: 100vh !important;
        overflow: hidden;
    }

    .column-text-block-section-main-the-hive{
        max-width: 85vw;
        padding-left: 10vw;
    }

}


@media (max-width: 1099px) {
    .section-mainpage {
        height: auto !important;
        min-height: 100vh; 
        overflow: visible;
        display: flex;
        align-items: center;
    }
}

/* Скріваем стрелку на мобильніх */
@media (max-width: 1099px) {
    .scroll-down-indicator {
        display: none !important;
    }
}
/*****************  END section-mainpage *******************/


.section-mainpage .container-fluid,
.section-mainpage .row {
    height: 100%;
}



.section-what-is-the-hive-two .row:not(.align-items-center) {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}


.section-what-is-the-hive-two .row > div[class*="col-"] {
  display: flex;
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 16px;
}


.card-mainpage-hive {
  flex: 1; /* Растягиваем карточку на всю вісоту колонки */
  background-color: transparent;
  border: none;
  border-radius: 12px;
  padding: 30px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  width: 100%; /* Занимает всю ширину колонки */
}


.card-mainpage-hive h3 {
  flex: 0 0 auto;
  margin-top: 0;
  margin-bottom: 15px;
  color: #323232;
  line-height: 1.3;
}

.card-mainpage-hive p {
  flex: 1; 
  color: rgba(0, 0, 0, 0.4);
  line-height: 1.5;
  margin-bottom: 0;
  display: flex;
  align-items: center; 
}


@media (min-width: 768px) {
  .card-mainpage-hive {
    height: auto;
    min-height: 280px; 
  }
  

  .card-mainpage-hive {
    justify-content: center;
  }
}


@media (max-width: 767px) {
  .card-mainpage-hive {
    height: auto;
    min-height: 220px; 
  }
  
 
  .card-mainpage-hive {
    padding: 20px 15px;
  }
}


.card-mainpage-hive::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.5s ease;
  z-index: 1;
}

.card-mainpage-hive:hover::before {
  background-color: white;
}


.card-mainpage-hive h3,
.card-mainpage-hive p {
  position: relative;
  z-index: 2;
  transition: color 0.5s ease;
}


.card-mainpage-hive:hover p {
  color: #323232;
}


.card-mainpage-hive p {
  opacity: 0.7;
  transition: opacity 0.5s ease, color 0.5s ease, font-size 0.5s ease;
}

.card-mainpage-hive:hover p {
  opacity: 1;
}


.card-mainpage-hive:hover {
  transform: translateY(-5px) translateZ(0);
  box-shadow: 0 15px 35px rgba(255, 126, 0, 0.2); 
}

/* Адаптивность для разніх экранов */
@media (max-width: 991px) {
  .card-mainpage-hive {
    padding: 20px 15px;
  }
  
  .card-mainpage-hive h3 {
    font-size: 1.3rem;
  }
  
  .card-mainpage-hive p {
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  .section-what-is-the-hive-two {
    padding: 20px 0;
  }
  

  .section-what-is-the-hive-two .row > div[class*="col-"] {
    margin-bottom: 10px;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 575px) {
  
  .card-mainpage-hive h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .card-mainpage-hive p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  /* Уменьшаем отступі на очень маленьких экранах */
  .section-what-is-the-hive-two .row > div[class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
    width: 95%;
  }
  
  .section-what-is-the-hive-two .row:not(.align-items-center) {
    margin-left: -5px;
    margin-right: -5px;
  }
}

/* Исправляем віравнивание на средних экранах */
@media (min-width: 768px) and (max-width: 991px) {
  .card-mainpage-hive {
    min-height: 260px;
  }
}

/* Гарантируем, что все карточки в одной строке имеют одинаковую вісоту */
.section-what-is-the-hive-two .row:not(.align-items-center) {
  align-items: stretch; /* Растягиваем карточки на одинаковую вісоту */
}

/* Убираем стандартніе отступі Bootstrap для этой секции */
.section-what-is-the-hive-two .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

/* Фикс для Safari и мобильніх браузеров */
@supports (-webkit-touch-callout: none) {
  .card-mainpage-hive {
    height: auto;
    min-height: 250px;
  }
  
  @media (max-width: 767px) {
    .card-mainpage-hive {min-height: 220px;}

  }
}


 
 /**********    БЛОК НАПРЯМКИ **********/
.quarter-block {
    width: 50%;
    height: 50%;
    overflow: hidden;
}

.quarter-block-block-1, .quarter-block-block-2, .quarter-block-block-3, .quarter-block-block-4{
    background-size: cover;       /* Scales image to fill area */
    background-position: center;  /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from tiling */
    transition: all 0.7s ease;
}


.quarter-block-block-1{
    background: url(https://hive.com.ua/wp-content/uploads/2026/01/marketing-360.jpg);
    box-shadow: 0 15px 35px rgba(234,234,188, 0.4); /* Используем Warm Amber с прозрачностью 20% */
}
.quarter-block-block-2{
    background: url(https://hive.com.ua/wp-content/uploads/2026/01/ds-2026.jpg); 
    box-shadow: 0 15px 35px rgba(225,170,188, 0.4); /* Используем Warm Amber с прозрачностью 20% */ 

}
.quarter-block-block-3{
    background: url(https://hive.com.ua/wp-content/uploads/2026/01/ts-2026.jpg);
    box-shadow: 0 15px 35px rgba(168,220,198, 0.4); /* Используем Warm Amber с прозрачностью 20% */
}
.quarter-block-block-4{
    background: url(https://hive.com.ua/wp-content/uploads/2026/01/oper-2026.jpg);
    box-shadow: 0 15px 35px rgba(163,162,205, 0.4); /* Используем Warm Amber с прозрачностью 20% */
}

.quarter-block-block-1:hover{
    background: #fdfddb;
}
.quarter-block-block-2:hover{
    background: #efced9
}

.quarter-block-block-3:hover{
    background: #cafee8
}

.quarter-block-block-4:hover{
    background: #b5b4de
}


.number-corner {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Цифра */
.quarter-number-wrapper {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Начальніе позиции */
.number-corner[data-index="1"] .quarter-number-wrapper {
    right: 20px;
    bottom: 20px;
}

.number-corner[data-index="2"] .quarter-number-wrapper {
    left: 20px;
    bottom: 20px;
}

.number-corner[data-index="3"] .quarter-number-wrapper {
    right: 20px;
    top: 20px;
}

.number-corner[data-index="4"] .quarter-number-wrapper {
    left: 20px;
    top: 20px;
}

.quarter-number {
    font-size: 80px;
    font-weight: bold;
    color: #323232;
    line-height: 1;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

/* ТЕКСТ - ВЕСЬ ТЕКСТ ВИДЕН, БЕЗ РАМКИ И ТЕНИ */
.quarter-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 700px;
    opacity: 0;
    transition: opacity 0.5s ease 0.6s;
    transform: translate(-50%, -50%);
    z-index: 5;
    /* УБИРАЕМ: pointer-events: none; */
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
    height: auto;
    max-height: 90%;
    overflow: visible;
}

.number-corner:hover .quarter-text {
    opacity: 1;
}

/* Заголовок и параграф - нормальніе отступі */
.quarter-text h3 {
    font-size: 2rem;
    color: #323232;
    margin-bottom: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.quarter-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
    /* Убираем все ограничения */
    max-width: none;
    overflow: visible;
    height: auto;
}

.vertical-line {
    width: 1px;
}

.horizontal-line {
    height: 1px;
}

/* Бістріе финальніе позиции для transform */
.number-corner[data-move="to-top-left"]:hover .quarter-number-wrapper {
        transform: translate3d(20%, 30%, 0) scale(0.8);
    }

    .number-corner[data-move="to-top-right"]:hover .quarter-number-wrapper {
        transform: translate3d(-20%, 30%, 0) scale(0.8);
    }

    .number-corner[data-move="to-bottom-left"]:hover .quarter-number-wrapper {
        transform: translate3d(20%, -30%, 0) scale(0.8);
    }

    .number-corner[data-move="to-bottom-right"]:hover .quarter-number-wrapper {
        transform: translate3d(-20%, -30%, 0) scale(0.8);


    }

@media (min-width: 998px) and (max-width: 1600px) {
    .number-corner[data-move="to-top-left"]:hover .quarter-number-wrapper {
        transform: translate3d(25%, 35%, 0) scale(0.6);
    }

    .number-corner[data-move="to-top-right"]:hover .quarter-number-wrapper {
        transform: translate3d(-25%, 35%, 0) scale(0.6);
    }

    .number-corner[data-move="to-bottom-left"]:hover .quarter-number-wrapper {
        transform: translate3d(25%, -35%, 0) scale(0.6);
    }

    .number-corner[data-move="to-bottom-right"]:hover .quarter-number-wrapper {
        transform: translate3d(-25%, -35%, 0) scale(0.6);


    }

}   



.number-corner:hover .quarter-number {
    transform: scale(0.7);
}

.container-fluid.nopadding{
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}



 /********************   навігація блоків горловноъ стр *-**************/

 /* НАВИГАЦИОННіЕ ТОЧКИ */
.dots-navigation {
    position: fixed;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 5px;
    background: transparent;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #CCCCCC;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    outline: none;
    position: relative;
    display: block;
}

.nav-dot:hover {
    background-color: #999999 !important;
    transform: scale(1.2);
}

.nav-dot.active {
    background-color: #FF7E00 !important;
    width: 15px !important;
    height: 15px !important;
    transform: scale(1) !important;
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.3);
}

/* Пульсация активной точки */
@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 126, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 126, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 126, 0, 0);
    }
}

.nav-dot.active {
    animation: pulse-dot 2s infinite;
}

/* Скріваем на мобильніх */
@media (max-width: 1100px) {
    .dots-navigation {
        display: none !important;
    }
}


/*   ------------------- стрелка вниз -анимация  ------------------- */
  
/* ОЧЕНЬ ВАЖНО: Контейнер должен біть position-relative */


/* Контейнер для стрелки - позиционируем внутри блока Напрямки */
.scroll-down-indicator {
    position: absolute !important;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 25vh;
    cursor: pointer;
    z-index: 10;
    overflow: visible;
}

/* Путь движения стрелки */
.arrow-path {
    position: relative;
    width: 100%;
    height: 100%;
}

/* След движения */
.arrow-trace {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 126, 0, 0.2) 30%, 
        rgba(255, 126, 0, 0.1) 70%, 
        transparent 100%);
}

/* Сама стрелка */
.arrow-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
    animation: arrow-fall 2.5s infinite ease-in-out;
    filter: drop-shadow(0 0 3px rgba(255, 126, 0, 0.3));
}

/* Анимация падения стрелки */
@keyframes arrow-fall {
    0% {
        top: 0;
        opacity: 0;
        transform: translate(-50%, 0) scale(0.8);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
    80% {
        opacity: 0.5;
        transform: translate(-50%, 20vh) scale(0.9);
    }
    100% {
        top: 100%;
        opacity: 0;
        transform: translate(-50%, 30vh) scale(0.7);
    }
}

/* Эффект при наведении */
.scroll-down-indicator:hover .arrow-svg {
    filter: drop-shadow(0 0 8px rgba(255, 126, 0, 0.5));
}

/* Для мобильніх */
@media (max-width: 768px) {
    .scroll-down-indicator {
        height: 20vh;
        bottom: 20px;
    }
    
    .arrow-svg {
        width: 30px;
        height: 30px;
    }
    
    @keyframes arrow-fall {
        0% {
            top: 0;
            opacity: 0;
            transform: translate(-50%, 0) scale(0.8);
        }
        20% {
            opacity: 1;
            transform: translate(-50%, 0) scale(1);
        }
        70% {
            opacity: 1;
            transform: translate(-50%, 0) scale(1);
        }
        80% {
            opacity: 0.5;
            transform: translate(-50%, 15vh) scale(0.9);
        }
        100% {
            top: 100%;
            opacity: 0;
            transform: translate(-50%, 20vh) scale(0.7);
        }
    }
}

/* ГАРАНТИЯ, что стрелка не віходит за пределі блока */
.section-what-is-the-hive {
    overflow: hidden !important;
    position: relative;
}

/* Скріваем стрелку на мобильніх устройствах */
@media (max-width: 767px) {
    .section-what-is-the-hive .scroll-down-indicator.desktop-only,
    .section-what-is-the-hive .scroll-down-indicator {
        display: none !important;
    }
}



/********************  pages ************************************/




#breadcrumbs :is(a){
    color: #323232;
}


/*********    the-hive-breadcrumbs    ********/

.the-hive-breadcrumbs {
    margin-top: -10px;
    text-align: left;
}

.breadcrumbs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    font-size: .8rem;
    color: #323232;
    /* Удаляем старіе свойства переноса слов */
    /* word-wrap: break-word; */
    /* overflow-wrap: break-word; */
    white-space: normal;
    max-width: 100%;
    /* Добавляем эти свойства для правильного переноса */
    word-break: normal; /* Отключаем принудительній перенос слов */
    overflow: visible; /* Даем контенту отображаться */
}

/* Альтернативній вариант с более строгим контролем */
.breadcrumbs-list li {
    font-size: .8rem;
    color: #323232;
    white-space: normal;
    max-width: 100%;
    /* Разрешаем перенос только по пробелам */
    word-break: keep-all; /* Для английского/русского текста */
    overflow-wrap: normal; /* Отключаем разрів внутри слов */
}

/* Если нужно поддержать китайские/японские символі */
.breadcrumbs-list li {
    font-size: .8rem;
    color: #323232;
    white-space: normal;
    max-width: 100%;
    word-break: break-word; /* Разрешает перенос для CJK */
    overflow-wrap: anywhere; /* Современній подход */
}

/* ИЛИ лучший вариант - разрешить перенос только на границах слов */
.breadcrumbs-list li {
    font-size: .8rem;
    color: #323232;
    white-space: normal;
    max-width: 100%;
    word-break: normal; /* Стандартное поведение */
    overflow-wrap: break-word; /* Переносит длинніе слова только при необходимости */
    hyphens: auto; /* Автоматические переносі (поддерживается не везде) */
}

.breadcrumbs-list :is(a) {
    transition: all 0.3s ease;
}

.breadcrumbs-list :is(a:hover){
    opacity: .9;
    color: #FF7E00;
}

.breadcrumbs-list li::after {
    content: "•";
    margin-left: 8px;
}

.breadcrumbs-list li:last-child::after {
    content: "";
}

.breadcrumbs-list a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs-list .current {
    color: #323232;
    opacity: .9;
}

.breadcrumbs-list li span {
    display: inline-block;
    max-width: 100%;
    word-break: normal;
    white-space: normal;
}

/* Дополнительно: предотвращаем разрів пунктов меню с несколькими словами */
@media (max-width: 768px) {


    .breadcrumbs-list li {
        /* Минимальная ширина для элемента, чтобі слова не разрівались */
        min-width: min-content;
        /* Или фиксированная минимальная ширина */
        min-width: 50px;
    }
}

/******************************** *********************************/





.text-mainpage-style{
    padding: 50px 20px;
}


/* *********************    slider    ***************************************/



 /* Контейнер слайд-шоу */
        .slideshow-container-hive {
            width: 100%;
            aspect-ratio: 16 / 9;
            position: relative;
            overflow: hidden;
            /*border-radius: 8px;*/
            /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);*/
            background: #fff;
        }

        /* Область слайдов */
        .slides {
            width: 100%;
            height: 100%;
            position: relative;
        }

        /* Отдельній слайд */
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            background-color: #fff;

        }

        .slide.active {
            opacity: 1;
        }

        /* Навигационніе стрелки */
        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            width: 60px;
            height: 60px;
            font-size: 28px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .nav-arrow:hover {
            background: rgba(0, 0, 0, 0.9);
        }

        .arrow-left {
            left: 3vw;
            border-radius: 50%;
        }

        .arrow-right {
            right: 3vw;
            border-radius: 50%;
        }

        /* Контейнер нижних элементов */
        .bottom-controls {
            position: absolute;
            bottom: 20px;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            padding: 0 100px;
            z-index: 10;
        }

        /* Индикаторі (кружочки) */
        .indicators {
            display: flex;
            gap: 12px;
        }

        .indicator {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .indicator.active {
            background: white;
            transform: scale(1.2);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }

        .indicator:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        /* Счетчик слайдов */
        .counter {
            color: white;
            font-size: 16px;
            font-weight: bold;
            background: rgba(0, 0, 0, 0.6);
            padding: 6px 15px;
            border-radius: 20px;
            min-width: 80px;
            text-align: center;
        }

        /* Кнопка полноэкранного режима */
        .fullscreen-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .fullscreen-btn:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: scale(1.1);
        }

        /* Кнопка закрітия полноэкранного режима */
        .close-fullscreen {
            display: none;
            position: absolute;
            top: 20px;
            right: 80px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 24px;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .close-fullscreen:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: scale(1.1);
        }

        /* Полноэкранній режим */
        .slideshow-container-hive.fullscreen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100%;
            max-width: none;
            border-radius: 0;
            z-index: 9999;
        }

        /* Скріваем элементі при необходимости */
        .fullscreen .close-fullscreen {
            display: flex;
        }


        /* Адаптивность */

        @media (max-width: 1099px) {
            .indicators{display: none}
        }



        @media (max-width: 768px) {
            .nav-arrow {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            .arrow-right {right: 3vw;}
            .arrow-left {left: 3vw;}
            .bottom-controls {
                padding: 0;
            }
            
            .counter {
                font-size: 10px;
                min-width: auto;
                padding: 3px 8px;
                border-radius: 8px;
            }
            .close-fullscreen {right: 75px;}
            .fullscreen-btn {right: 25pxx}
           

        }

                

/*****************************   таблиця для слайду   *********************/

     .table-container-hive {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid #eef2f7;
}

.table-container-hive .table-header {
    background: linear-gradient(135deg, #1a237e, #283593);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #eef2f7;
}

.table-container-hive .table-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.table-container-hive .table-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 300;
}

.table-container-hive .tariff-header {
    padding: 1.5rem 1rem;
    text-align: center;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.table-container-hive .tariff-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.table-container-hive .tariff-premium {
    background: linear-gradient(135deg, #D45A00, #FF7E00);
}

.table-container-hive .tariff-medium {
    background: linear-gradient(135deg, #FF6D00, #FF9100);
}

.table-container-hive .tariff-basic {
    background: linear-gradient(135deg, #FF9100, #FFB74D);
}

.table-container-hive .table-section-header {
    background-color: rgba(255, 126, 0, 0.3);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    color: #323232;
    border-top: 2px solid rgba(255, 126, 0, 0.3);
    border-bottom: 1px solid rgba(255, 126, 0, 0.3);
    letter-spacing: 0.3px;
}

.table-container-hive .table-row {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #ededed
}

.table-container-hive .table-row:hover {
    background-color: rgba(255, 126, 0, 0.1);
}

.table-container-hive .feature-item {
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    color: #323232;
    border-right: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.table-container-hive td.text-center {
    padding: 1.25rem 1rem;
    vertical-align: middle;
}

.table-container-hive .highlight-cell {
    background-color: rgba(255, 126, 0, 0.05);
    position: relative;
}

.table-container-hive .first-cell .highlight-cell:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FF7E00;
}

.table-container-hive .badge-included,
.table-container-hive .badge-partial,
.table-container-hive .badge-not-included {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 100px;
    text-align: center;
    transition: transform 0.2s ease;
}

.table-container-hive .badge-included {
    background-color: #fddebf;
    color: #FF7E00;
    border: 1px solid #ffb166;
}

.table-container-hive .badge-included:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 126, 0, 0.15);
}

.table-container-hive .badge-partial {
    background-color: rgba(255, 126, 0, 0.1);
    color: #FF7E00;
    border: 1px solid #ffdfc0; 
}

.table-container-hive .badge-not-included {
    background-color: rgba(255, 126, 0, 0.04);
    color: rgba(255, 126, 0, 0.5);
    border: 1px solid rgba(255, 126, 0, 0.2);; 
}

.table-container-hive .checkmark {
    color: #1e40af;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Фиксация заголовков тарифов при скролле */
.table-container-hive .table-responsive {
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.table-container-hive .sticky-tariff-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Для мобильніх устройств */
@media (max-width: 768px) {
    .table-container-hive .sticky-tariff-header {
        top: -1px; /* Чтобі избежать бага в некоторіх браузерах */
    }
}

/* Анимация для плавного появления строк */
@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-container-hive .table-row {
    animation: fadeInRow 0.3s ease-out forwards;
}

/* Стили для мобильніх устройств */
@media (max-width: 768px) {
    .table-container-hive .table-header {
        padding: 1.5rem 1rem;
    }
    
    .table-container-hive .table-header h1 {
        font-size: 1.8rem;
    }
    
    .table-container-hive .table-header p {
        font-size: 1rem;
    }
    
    .table-container-hive .tariff-header {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .table-container-hive .feature-item {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .table-container-hive td.text-center {
        padding: 1rem 0.5rem;
    }
    
    .table-container-hive .badge-included,
    .table-container-hive .badge-partial,
    .table-container-hive .badge-not-included {
        min-width: 80px;
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .table-container-hive .table-section-header {
        padding: 1rem 0.75rem;
        font-size: 0.95rem;
    }
}

/* Эффект для Premium тарифа */
.table-container-hive .tariff-premium .highlight-cell {
    background-color: rgba(30, 64, 175, 0.08);
}


.table-container-hive {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid #eef2f7;
}

.table-container-hive .table-header {
    background: rgba(255, 255, 255, 1);
    color: #323232;
    padding: 2.5rem 2rem;
    text-align: center;
}

/* Стили для фиксированного заголовка тарифов */
.table-container-hive .sticky-tariff-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.table-container-hive .table-responsive {
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.table-container-hive .tariff-header {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #323232;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

/* Фиксация первой колонки при горизонтальном скролле */
.table-container-hive .table-responsive {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: auto;
}

.table-container-hive thead th:first-child,
.table-container-hive tbody td.feature-item {
    position: sticky;
    left: 0;
    background: white;
    z-index: 50;
    border-right: 2px solid rgba(255, 126, 0, 0.3);
}







/********************************  footer ************************************/
.footer-mp {
    font-family: "Manrope-Regular", sans-serif;
    background: #fff;
    color: #323232;
    height: auto;
    min-height: 280px;
    overflow: hidden;
    position: relative;
    padding-top: 20px; /* Увеличен отступ для линии */
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* Линия сверху с отступами */
.footer-mp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    right: 50px;
    height: 1px;
    background-color: #FF7E00;
}

.footer-mp i {
    font-size: 1.1rem; /* Немного увеличен размер */
    color: #323232;
    vertical-align: middle; /* Выравнивание по вертикали */
    line-height: 1; /* Убирает лишнее пространство */
    display: inline-block; /* Для правильного выравнивания */
}

.footer-mp a {
    color: #323232;
    transition: all 0.3s ease;
    text-decoration: none; 
}


.link-contact a:hover {
    opacity: .7;
}

.link-contact a:hover i,
.link-contact a:hover span {
    color: #FF7E00;
}




.logo-footer {
    width: 150px;
    height: auto;
}

.link-contact {
    display: flex;
    align-items: center;
    height: 2.3rem;
}

.link-contact a {
    display: flex; /* Используем flex для выравнивания */
    align-items: center;
    gap: 8px; /* Заменяет &nbsp; на современный подход */
    text-decoration: none;
    color: #323232;
    transition: all 0.3s ease;
    height: 100%;
}

.link-contact a:hover {
    opacity: .7;
}

/* Убираем лишние стили, так как они дублируются */
.col-logo-footer {
   
}

.col-hive-footer {
    padding-left: 50px;
    min-height: 180px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-mp::before {
        left: 15px;
        right: 15px;
    }
    
    .col-hive-footer {
        padding-left: 0;
        text-align: center;
        align-items: center !important;
    }
    
    .link-contact {
        justify-content: center;
    }
}



/******************   cards-sides  *********************/

/* Основніе стили карточки */
.marketing-card {
    transition: all 0.4s ease;
    border-radius: 1rem;
}

.marketing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Контейнер изображения */
.image-container {
    background: #fff;
}

.image-wrapper {
    overflow: hidden;
}

/* Оригинальное изображение */
.original-image {
    transition: all 1s ease;
    filter: brightness(1);
    z-index: 1;
}

.marketing-card:hover .original-image {
    filter: brightness(0.3);
}

/* Белій оверлей */
.white-overlay {
    opacity: 0;
    background: white;
    transition: all 1s ease;
    z-index: 2;
    margin: 0;
    padding: 0;
}



/* Текстовій контент */
.text-content {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.7s ease 0.2s;
    z-index: 3;
    background: #fff;
    border: 1px solid #fff;

}
.text-content :is(h3){color: #323232}

.marketing-card:hover .text-content {
    opacity: 1;
    transform: translateY(0);
}

/* Кнопка */
.btn-linkpage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    background: #323232;
    color: #FF7E00;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    margin-top: 10px;
}

.btn-linkpage:hover {
    background: #FF7E00;
    color: #323232;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 0, 0.35);
    padding-right: 35px;
}

.btn-linkpage .btn-text {
    transition: transform 0.4s ease;
    display: inline-block;
}

.btn-linkpage:hover .btn-text {
    transform: translateX(-3px);
}

.btn-linkpage .btn-icon {
    transition: all 0.4s ease;
    display: inline-block;
    font-size: 16px;
    opacity: 0.8;
    transform: translateX(0);
}

.btn-linkpage:hover .btn-icon {
    transform: translateX(4px);
    opacity: 1;
}

.btn-linkpage:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.btn-linkpage::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn-linkpage:hover::before {
    left: 100%;
}

/* Плейсхолдер */
.placeholder-image {
    transition: all 0.5s ease;
    z-index: 1;
}

.marketing-card:hover .placeholder-image {
    background-color: white !important;
}

.marketing-card:hover .placeholder-image span {
    color: #323232 !important;
}

/* Адаптивность */
@media (max-width: 992px) {
    .text-content {
        padding: 1.5rem !important;
    }
    .card-title {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 768px) {
    .text-content {
        padding: 1.25rem !important;
    }
    .marketing-card:hover {
        transform: translateY(-5px);
    }
    .btn-linkpage {
        padding: 10px 22px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .text-content {
        padding: 1rem !important;
    }
    .card-title {
        font-size: 1.1rem !important;
    }
    .btn-linkpage {
        padding: 8px 18px;
        font-size: 13px;
    }
}



/********************  Ream mnore   *******************//

/* Центрування кнопки для всіх пристроїв */
.text-container {
    position: relative;
    text-align: center;
    width: 100%;
}

.text-excerpt {
    display: block;
    text-align: left;
}

.text-complete {
    display: none;
    text-align: left;
}

/* Стилі для кнопки в блоці тексту */
.text-container .btn-linkpage {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    background: #323232;
    color: #FF7E00;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    margin: 20px auto 0 auto !important;
    float: none !important;
    text-align: center;
}

/* Ефект наведення для кнопки */
.text-container .btn-linkpage:hover {
    background: #FF7E00;
    color: #323232;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 0, 0.35);
    padding-right: 35px;
}

/* Анімація тексту кнопки */
.text-container .btn-text {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
}

.text-container .btn-linkpage:hover .btn-text {
    transform: translateX(-3px);
}

/* Анімація стрілки */
.text-container .btn-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    font-size: 16px;
    opacity: 0.8;
    transform: translateX(0);
}

.text-container .btn-linkpage:hover .btn-icon {
    transform: translateX(4px);
    opacity: 1;
}

/* Активний ефект при натисканні */
.text-container .btn-linkpage:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Ефект світіння */
.text-container .btn-linkpage::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.text-container .btn-linkpage:hover::before {
    left: 100%;
}

/* Для мобільних пристроїв */
@media (max-width: 768px) {
    .text-container .btn-linkpage {
        display: flex !important;
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin: 20px auto 0 !important;
    }
    
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Збільшуємо область кліку для мобільних */
    .btn-linkpage {
        min-height: 50px;
        min-width: 200px;
    }
}


/********************   TEAM   ****************/

/* Основной контейнер */
.team-grid-container {
    position: relative;
}

/* Стили для ряда */
.team-row {
    display: flex;
    gap: 30px;
    position: relative;
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: translateY(0);
}

/* Стили для каждой карточки */
.team-card {
    position: relative;
    width: calc(33.333% - 20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    flex-shrink: 0;
    will-change: transform, z-index;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Фото карточки */
.card-photo {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: #fff;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding-top: 150%;
}

.card-photo img,
.placeholder-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Фото по верху */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.placeholder-photo {
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.team-card:hover .card-photo img {
    transform: scale(1.05);
}

/* Оверлей на фото */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    color: white;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.team-card:hover .photo-overlay {
    opacity: 1;
}

.overlay-text h3 {
    font-size: 24px;
    margin: 0 0 5px 0;
    font-weight: 600;
    color: #fff;
}

.overlay-text p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    width: 80%;
}

/* Кнопка расширения */
.expand-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #333;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.expand-btn:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

.expand-btn .minus {
    display: none;
}

/* Блок информации */
.info-panel {
    position: absolute;
    top: 0;
    left: calc(100% + 30px);
    width: calc(200% + 60px);
    height: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    overflow: hidden;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.info-content {
    padding: 40px;
    height: 100%;
    overflow-y: auto;
    position: relative;
    box-sizing: border-box;
}

.info-header h2 {
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #333;
    font-weight: 700;
}

.info-header .position {
    font-size: 20px;
    color: #666;
    margin: 0 0 30px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.info-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section h4 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: #333;
    font-weight: 600;
}

.bio-content {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.bio-content p {
    margin-bottom: 1em;
    color: #555;
    line-height: 1.7;
}

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

.contacts-section {
    margin-top: 10px;
}

.contacts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: #333;
    text-decoration: none;
}

.contact-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-item i.fa-envelope { color: #ea4335; }
.contact-item i.fa-linkedin { color: #0077b5; }
.contact-item i.fa-facebook { color: #1877f2; }
.contact-item i.fa-instagram { color: #e4405f; }
.contact-item i.fa-telegram { color: #0088cc; }

.contact-item span {
    font-size: 14px;
    font-weight: 500;
}

/* АКТИВНОЕ СОСТОЯНИЕ КАРТОЧКИ - ДЕСКТОП */
.team-card.active {
    z-index: 200;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card[data-card="1"].active {
    transform: translateX(0);
}

.team-card[data-card="1"].active .info-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.team-card[data-card="2"].active {
    transform: translateX(calc(-100% - 30px));
}

.team-card[data-card="2"].active .info-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.team-card[data-card="3"].active {
    transform: translateX(calc(-200% - 60px));
}

.team-card[data-card="3"].active .info-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.team-card.active .expand-btn .plus {
    display: none;
}

.team-card.active .expand-btn .minus {
    display: block;
}

.team-row .team-card[data-card="2"].active ~ .team-card[data-card="1"] {
    transform: translateX(calc(100% + 30px));
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-row .team-card[data-card="3"].active ~ .team-card[data-card="1"] {
    transform: translateX(calc(100% + 30px));
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-row .team-card[data-card="3"].active ~ .team-card[data-card="2"] {
    transform: translateX(calc(100% + 30px));
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .team-row {
        gap: 25px;
    }
    
    .team-card {
        width: calc(33.333% - 17px);
    }
}

@media (max-width: 992px) {
    .team-row {
        gap: 20px;
    }
    
    .team-card {
        width: calc(33.333% - 14px);
    }
    
    .overlay-text h3 {
        font-size: 20px;
    }
    
    .overlay-text p {
        font-size: 14px;
    }
    
    .contacts-list {
        gap: 10px;
    }
    
    .contact-item {
        padding: 8px 12px;
    }
    
    .bio-content {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* МОБИЛЬНАЯ ВЕРСИЯ - УПРОЩЕННАЯ */
@media (max-width: 768px) {
    .team-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
        transition: none;
    }
    
    .team-card {
        width: 100%;
        min-height: 350px;
        margin-bottom: 0;
        transition: none !important;
        transform: none !important;
    }
    
    .card-photo {
        height: 450px;
        padding-top: 0;
        transition: none;
    }
    
    .card-photo img {
        object-position: top center !important; /* Фото всегда по верху на мобильных */
    }
    
    .team-card.active .card-photo {
        height: 450px;
        margin-bottom: 0;
    }
    
    /* Оверлей всегда виден на мобильных */
    .photo-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    }
    
    .info-panel {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 0;
        opacity: 0;
        visibility: hidden;
        transform: none !important;
        margin: 0;
        box-shadow: none;
        overflow: hidden;
        max-height: 0;
        transition: opacity 0.3s ease, max-height 0.3s ease;
        z-index: 1; /* Понижаем z-index для мобильных */
    }
    
    .team-card.active .info-panel {
        opacity: 1;
        visibility: visible;
        height: auto;
        max-height: 5000px;
        margin-top: 15px;
        margin-bottom: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        z-index: 1;
    }
    
    .info-content {
        padding: 25px;
        opacity: 1;
        max-height: none;
        overflow: visible;
    }
    
    /* Убираем все трансформации на мобильных */
    .team-card,
    .team-card.active,
    .team-card.active ~ .team-card {
        transform: none !important;
    }
    
    /* Кнопка на мобильных */
    .expand-btn {
        width: 60px;
        height: 60px;
        font-size: 32px;
        bottom: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 10; /* Кнопка поверх всего */
    }
    
    .team-card.active .expand-btn {
        background: rgba(0, 0, 0, 0.9);
        color: white;
        transform: rotate(45deg);
    }
    
    /* Предотвращаем прыжки */
    html, body {
        overflow-x: hidden;
        position: relative;
        height: auto;
        width: 100%;
    }
    
    body {
        overflow-y: auto;
        position: static;
    }
    
    .team-grid-container {
        overflow: visible;
    }
    
    /* Отключаем все анимации скролла на мобильных */
    * {
        scroll-behavior: auto !important;
        scroll-margin-top: 0 !important;
        scroll-padding-top: 0 !important;
    }
    
    /* Улучшаем отображение */
    .overlay-text h3 {
        font-size: 22px;
    }
    
    .overlay-text p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .card-photo {
        height: 450px;
    }
    
    .card-photo img {
        object-position: top center !important;
    }
    
    .team-card.active .card-photo {
        height: 450px;
    }
    
    .info-content {
        padding: 20px;
    }
    
    .info-header h2 {
        font-size: 26px;
    }
    
    .info-header .position {
        font-size: 18px;
    }
    
    .contacts-list {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .card-photo {
        height: 350px;
    }
    
    .card-photo img {
        object-position: top center !important;
    }
    
    .team-card.active .card-photo {
        height: 350px;
    }
}

/* Анимация появления рядов */
@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Оптимизация для GPU */
.team-card,
.card-photo,
.info-panel,
.expand-btn {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.team-grid-container {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}


/* Исправления для предотвращения прыжков на мобильных */
@media (max-width: 768px) {
    /* Отключаем ВСЕ анимации и переходы, которые могут вызывать прыжки */
    .team-card,
    .team-card.active,
    .team-card .info-panel,
    .team-card.active .info-panel {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
    
    /* Убираем все автоматические скроллы */
    html {
        scroll-behavior: auto !important;
    }
    
    /* Фиксируем body для предотвращения прыжков */
    body {
        overflow-x: hidden;
        overflow-y: auto;
        position: relative;
        width: 100%;
        height: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Улучшаем отображение открытых карточек */
    .team-card.active {
        position: relative;
        z-index: 2;
    }
    
    .team-card.active .info-panel {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
        overflow: visible !important;
    }
    
    .info-content {
        overflow: visible !important;
        max-height: none !important;
        padding: 20px !important;
        opacity: 1 !important;
    }
    
    /* Убираем все возможные источники прыжков */
    * {
        scroll-margin-top: 0 !important;
        scroll-padding-top: 0 !important;
    }
    
    /* Предотвращаем рефлоу */
    .team-row {
        contain: layout;
    }
    
    /* Убираем hover эффекты на мобильных */
    .team-card:hover .card-photo img {
        transform: none !important;
    }
    
    .team-card:hover .photo-overlay {
        opacity: 1 !important; /* Оверлей всегда виден */
    }
}

/* Дополнительные исправления для iOS */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .team-grid-container {
            -webkit-overflow-scrolling: touch;
        }
        
        .info-content {
            -webkit-overflow-scrolling: touch;
        }
    }
}

/* Гарантируем, что фотографии всегда по верху на мобильных */
@media (max-width: 768px) {
    .card-photo img {
        object-position: top center !important;
    }
}

/* Кнопка закрытия в блоке информации */
.close-button-container {
    display: none;
}

.close-info-btn {
    width: 100%;
    padding: 15px 25px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
    text-align: center;
    display: block;
}

.close-info-btn:hover {
    background: #555;
}

/* Показываем кнопку только на мобильных */
@media (max-width: 768px) {
    .close-button-container {
        display: block;
        position: sticky;
        bottom: 0;
        background: linear-gradient(to top, white 80%, transparent);
        padding-top: 20px;
        margin-top: 30px;
    }
    
    .close-info-btn {
        position: relative;
        z-index: 10;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
}
/*******************************************************/

/********************   BLOG PAGE - SINGLE COLUMN   ****************/


/* Новые стили для блога */
.news-container-block {
    min-height: calc(100vh - 220px);
}

.card-news {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #fff;
    margin-bottom: 2rem;
}

.card-news:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 126, 0, 0.15);
}

.card-news .img-fluid {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-news:hover .img-fluid {
    transform: scale(1.03);
}

.card-title-hive {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.5rem;
    color: #323232;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-text-hive {
    font-family: "Manrope-Regular", sans-serif;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.download-img-hive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #323232;
    color: #FF7E00;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-img-hive:hover {
    background: #FF7E00;
    color: #323232;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 0, 0.25);
}

.download-img-hive i {
    transition: transform 0.3s ease;
}

.download-img-hive:hover i {
    transform: translateX(4px);
}

/* Стили для мета-информации */
.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #FF7E00;
    font-size: 1rem;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 126, 0, 0.1);
    border-radius: 20px;
    color: #FF7E00;
    font-weight: 500;
}

/* Стили для последней новости */
.sticky-image-wrapper {
    position: sticky;
    top: 2rem;
}

.sticky-image-wrapper .card-news {
    margin-bottom: 0;
}

.sticky-image-wrapper .card-title-hive {
    font-size: 1.75rem;
}

.sticky-image-wrapper .img-fluid {
    height: 350px;
    object-fit: cover;
}

/* Стили для других новостей */
.news-others {
    background: #fff;
}

.news-others .row {
    min-height: 200px;
}

.news-others .col-md-4 {
    padding-right: 0;
}

.news-others .img-fluid {
    height: 100%;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    border-radius: 8px;
    background: #fff;
    color: #323232;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.pagination .page-numbers:hover {
    background: rgba(255, 126, 0, 0.1);
    border-color: #FF7E00;
    color: #FF7E00;
}

.pagination .current {
    background: #323232;
    color: #FF7E00;
    border-color: #323232;
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 16px;
    gap: 8px;
}

.pagination .prev i,
.pagination .next i {
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .news-others .img-fluid {
        border-radius: 12px 12px 0 0;
        height: 180px;
    }
    
    .news-others .col-md-4 {
        padding-right: 15px;
    }
    
    .sticky-image-wrapper {
        position: static;
        margin-bottom: 2rem;
    }
    
    .post-meta {
        gap: 1rem;
    }
    
    .card-title-hive {
        font-size: 1.3rem;
    }
    
    .sticky-image-wrapper .card-title-hive {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .post-meta {
        font-size: 0.8rem;
    }
    
    .meta-item {
        flex: 0 0 calc(50% - 0.5rem);
    }
    
    .download-img-hive {
        width: 100%;
        justify-content: center;
    }
}

/* Категория */
.post-category {
    display: inline-block;
    padding: 4px 12px;
    background: #008080;
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/**************************POST************************/
.single-post-container {
    min-height: calc(100vh - 220px);
    background: #fff;
}

.single-post-article {
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
}


.single-post-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.post-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #FF7E00;
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-category-badge:hover {
    background: #e67100;
    transform: translateY(-2px);
}

.single-post-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 2.5rem;
    color: #323232;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.post-date, .post-reading-time, .post-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta i {
    color: #FF7E00;
    font-size: 1rem;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 126, 0, 0.1);
    border-radius: 20px;
    color: #FF7E00;
    font-weight: 500;
}


.featured-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

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

.image-caption {
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-top: 1px solid #eee;
}

.image-caption i {
    color: #FF7E00;
}

.post-content {
    font-family: "Manrope-Regular", sans-serif;
    line-height: 1;
    color: #323232;
    font-size: 1rem;
}



.post-content ul, .post-content ol {
    margin: .5rem 0 1rem 1rem;
    padding-left: 1rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid #FF7E00;
    padding: 1.5rem 1rem;
    margin: 2rem 0;
    background: rgba(255, 126, 0, 0.05);
    font-style: italic;
    font-size: 1rem;
    color: #323232;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}


.post-tags {
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 2rem 0;
}

.tags-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.2rem;
    color: #323232;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.tag-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 126, 0, 0.1);
    color: #FF7E00;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tag-badge:hover {
    background: #FF7E00;
    color: #323232;
    transform: translateY(-2px);
    border-color: #FF7E00;
}


.post-share {
    padding: 2rem 0;
    margin: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.2rem;
    color: #323232;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn i {
    font-size: 1rem;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.facebook:hover {
    background: #0d65d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.linkedin:hover {
    background: #005582;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.3);
}

.share-btn.copy-link {
    background: #323232;
    color: #FF7E00;
    border: none;
    cursor: pointer;
}

.share-btn.copy-link:hover {
    background: #FF7E00;
    color: #323232;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 0, 0.3);
}

/* Навигация между постами - БЕЗ СТРЕЛОК */
.post-navigation {
    margin: 3rem 0;
}

.nav-post {
    display: block;
    padding: 1.5rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-post:hover {
    border-color: #FF7E00;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 126, 0, 0.1);
}

.nav-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1rem;
    color: #323232;
    line-height: 1.3;
    margin: 0;
}

/* Сайдбар */
.single-post-sidebar {
    padding-left: 3rem;
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.widget-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.2rem;
    color: #323232;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #FF7E00;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-item:hover {
    transform: translateX(4px);
}

.recent-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-image img {
    transform: scale(1.05);
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 0.95rem;
    color: #323232;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.recent-post-title a {
    color: inherit;
    text-decoration: none;
}

.recent-post-title a:hover {
    color: #FF7E00;
}

.recent-post-meta {
    font-size: 0.8rem;
    color: #666;
}

/* Похожие посты - 2 штуки */
.related-posts {
    margin: 3rem 0;
}

.related-posts-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.5rem;
    color: #323232;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #FF7E00;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 126, 0, 0.15);
}

.related-post-image {
    height: 250px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1rem;
}

.related-post-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1rem;
    color: #323232;
    line-height: 1.3;
    margin: 0 0 8px 0;
}

.related-post-meta {
    font-size: 0.8rem;
    color: #666;
}

/* Адаптивность */
@media (max-width: 992px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .single-post-article {padding: 0 20px;}
    .single-post-title {font-size: 2rem;}
    
    .post-meta {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .single-post-sidebar {
        padding-left: 0;
        margin-top: 3rem;
        position: static;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .post-navigation .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-navigation .col-6 {
        width: 100%;
    }
    
    .recent-post-item {
        padding: 0.75rem 0;
    }
    
    .recent-post-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .single-post-title {
        font-size: 1.75rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.25rem;
    }
    
    .tags-list {
        gap: 8px;
    }
    
    .tag-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/************************ 404 **************************/

.section-block-pages.fofpage {
    min-height: calc(100vh - 500px)!important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.error-icon {
    position: relative;
}

.error-number {
    font-family: 'Inter Bold', sans-serif;
    font-size: 8rem;
    line-height: 1;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.error-symbol {
    position: relative;
    z-index: 2;
}

.error-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.error-description p {
    font-family: "Manrope-Regular", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-search .search-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.error-search .search-form {
    position: relative;
}

.error-search .search-form input[type="search"] {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #FF7E00;
    border-radius: 25px;
    font-family: "Manrope-Regular", sans-serif;
    font-size: 1rem;
    color: #323232;
    background: #fff;
    transition: all 0.3s ease;
}

.error-search .search-form input[type="search"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.2);
}

.error-search .search-form button[type="submit"] {
    position: absolute;
    right: 6px;
    top: 6px;
    background: #FF7E00;
    color: #323232;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-family: "Manrope-Regular", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-search .search-form button[type="submit"]:hover {
    background: #e67100;
}

.btn-primary:hover {
    background: #FF7E00 !important;
    color: #323232 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 0, 0.3);
}

.btn-outline-primary:hover {
    background: #FF7E00 !important;
    color: #323232 !important;
    border-color: #FF7E00 !important;
    transform: translateY(-2px);
}

.error-links a {
    transition: all 0.3s ease;
}

.error-links a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

.error-menu-list li {
    margin: 0;
}

/* Анімація для іконки */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.error-symbol i {
    animation: float 3s ease-in-out infinite;
}

/* Адаптивність */
@media (max-width: 768px) {
    .error-number {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-description p {
        font-size: 1rem;
    }
    
    .error-actions .col-sm-6 {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .error-number {
        font-size: 4rem;
    }
    
    .error-title {
        font-size: 1.75rem;
    }
    
    .error-description p {
        font-size: 0.95rem;
    }
    
    .error-actions .row {
        flex-direction: column;
    }
    
    .error-actions .col-sm-6 {
        width: 100%;
    }
}

/******************** contactcs ************/


/* Стилі для сторінки контактів */
.contacts-page {
    min-height: calc(100vh - 220px);
    background: #fff;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contacts-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #FF7E00;
}

.contacts-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 2.5rem;
    color: #323232;
    margin-bottom: 1rem;
}

.contacts-subtitle {
    font-family: "Manrope-Regular", sans-serif;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Контактна інформація */
.contacts-info-section {
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.8rem;
    color: #323232;
    margin-bottom: 2rem;
    text-align: center;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 126, 0, 0.15);
    border-color: #FF7E00;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 126, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.8rem;
    color: #FF7E00;
}

.contact-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.2rem;
    color: #323232;
    margin-bottom: 0.75rem;
}

.contact-value {
    font-family: "Manrope-Regular", sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.contact-link {
    display: inline-block;
    color: #FF7E00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF7E00;
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #e67100;
}

.contact-link:hover::after {
    width: 100%;
}

/* Соціальні мережі */
.social-section {
    margin-bottom: 4rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
}

.social-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
    text-decoration: none;
    display: block;
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 126, 0, 0.15);
    border-color: #FF7E00;
}

.social-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.social-name {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.1rem;
    color: #323232;
    margin-bottom: 0.5rem;
}

.social-handle {
    font-family: "Manrope-Regular", sans-serif;
    font-size: 0.9rem;
    color: #666;
}

/* Індивідуальні кольори для соцмереж */
.social-email .social-icon {
    background: rgba(234, 67, 53, 0.1);
    color: #ea4335;
}

.social-phone .social-icon {
    background: rgba(52, 168, 83, 0.1);
    color: #34a853;
}

.social-telegram .social-icon {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.social-instagram .social-icon {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.1), rgba(245, 96, 64, 0.1));
    color: #e1306c;
}

.social-facebook .social-icon {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.social-linkedin .social-icon {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
}

/* Стилі для Contact Form 7 */
.contact-form-section {
    background: rgba(255, 126, 0, 0.05);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 3rem;
}

.form-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1.8rem;
    color: #323232;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    font-family: "Manrope-Regular", sans-serif;
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

/* Загальні стилі для форми CF7 */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
}

.wpcf7-form p {
    margin-bottom: 1.5rem;
}

.wpcf7-form label {
    display: block;
    font-family: "Manrope-Regular", sans-serif;
    font-weight: 600;
    color: #323232;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

/* Поля вводу */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 2px solid #eee !important;
    border-radius: 8px !important;
    font-family: "Manrope-Regular", sans-serif !important;
    font-size: 1rem !important;
    color: #323232 !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none !important;
    border-color: #FF7E00 !important;
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.1) !important;
}

.wpcf7-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Чекбокси та радіо кнопки */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    margin-right: 8px !important;
}

.wpcf7-form .wpcf7-list-item {
    display: inline-block;
    margin-right: 15px !important;
    margin-bottom: 5px !important;
}

/* Кнопка відправки */
.wpcf7-form input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 32px !important;
    background: #323232 !important;
    color: #FF7E00 !important;
    border: none !important;
    border-radius: 25px !important;
    font-family: 'Inter Bold', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    margin-top: 1rem !important;
}

.wpcf7-form input[type="submit"]:hover {
    background: #FF7E00 !important;
    color: #323232 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 126, 0, 0.3) !important;
}

/* Валідація та помилки */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #e74c3c !important;
    font-size: 0.85rem !important;
    margin-top: 5px !important;
    font-family: "Manrope-Regular", sans-serif !important;
}

.wpcf7-form .wpcf7-validation-errors,
.wpcf7-form .wpcf7-mail-sent-ok,
.wpcf7-form .wpcf7-mail-sent-ng,
.wpcf7-form .wpcf7-spam-blocked,
.wpcf7-form .wpcf7-acceptance-missing {
    border: none !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-family: "Manrope-Regular", sans-serif !important;
    margin: 20px 0 !important;
    text-align: center !important;
}

.wpcf7-form .wpcf7-validation-errors {
    background: rgba(231, 76, 60, 0.1) !important;
    color: #e74c3c !important;
    border-left: 4px solid #e74c3c !important;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    background: rgba(46, 204, 113, 0.1) !important;
    color: #2ecc71 !important;
    border-left: 4px solid #2ecc71 !important;
}

.wpcf7-form .wpcf7-mail-sent-ng,
.wpcf7-form .wpcf7-spam-blocked,
.wpcf7-form .wpcf7-acceptance-missing {
    background: rgba(241, 196, 15, 0.1) !important;
    color: #f1c40f !important;
    border-left: 4px solid #f1c40f !important;
}

/* Спиннер завантаження */
.wpcf7-form .ajax-loader {
    display: inline-block !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
}

/* Капча */
.wpcf7-form .wpcf7-captchac {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* Карта */
.map-section {
    margin-top: 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-family: "Manrope-Regular", sans-serif;
}

/* Адаптивність */
@media (max-width: 768px) {
    .contacts-title {
        font-size: 2rem;
    }
    
    .contacts-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .wpcf7-form {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .contacts-title {
        font-size: 1.75rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .wpcf7-form input[type="submit"] {
        width: 100% !important;
    }
}

/* Анімації */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card, .social-card {
    animation: fadeInUp 0.5s ease forwards;
}

.contact-card:nth-child(2) { animation-delay: 0.1s; }
.contact-card:nth-child(3) { animation-delay: 0.2s; }
.social-card:nth-child(2) { animation-delay: 0.1s; }
.social-card:nth-child(3) { animation-delay: 0.2s; }
.social-card:nth-child(4) { animation-delay: 0.3s; }
.social-card:nth-child(5) { animation-delay: 0.4s; }
.social-card:nth-child(6) { animation-delay: 0.5s; }

/************************ карта Харкова***********************/

/* Стилі для карти */
.map-section {
    margin-top: 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.google-map {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.3s ease;
}

.google-map:hover {
    filter: grayscale(0%) contrast(100%);
}

/* Оверлей на карті */
.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    max-width: 300px;
    border: 1px solid rgba(255, 126, 0, 0.2);
    z-index: 10;
}

.overlay-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.overlay-icon {
    width: 40px;
    height: 40px;
    background: #FF7E00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.overlay-icon i {
    color: #fff;
    font-size: 1.2rem;
}

.overlay-info {
    flex: 1;
}

.overlay-title {
    font-family: 'Inter Bold', sans-serif;
    font-size: 1rem;
    color: #323232;
    margin: 0 0 4px 0;
}

.overlay-description {
    font-family: "Manrope-Regular", sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 8px 0;
}

.overlay-link {
    display: inline-flex;
    align-items: center;
    font-family: "Manrope-Regular", sans-serif;
    font-size: 0.85rem;
    color: #FF7E00;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.overlay-link:hover {
    color: #e67100;
    text-decoration: underline;
    transform: translateX(2px);
}

.overlay-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.overlay-link:hover i {
    transform: translate(2px, -2px);
}

/* Стилі для маркерів Google Maps всередині iframe */
.google-map .gm-style .gm-style-iw {
    font-family: "Manrope-Regular", sans-serif !important;
}

.google-map .gm-style .gm-style-iw h3 {
    font-family: 'Inter Bold', sans-serif !important;
    color: #323232 !important;
}

.google-map .gm-style .gm-style-iw a {
    color: #FF7E00 !important;
}

/* Адаптивність */
@media (max-width: 768px) {
    .map-container,
    .google-map {
        height: 300px;
    }
    
    .map-overlay {
        max-width: 250px;
        padding: 12px;
        bottom: 15px;
        left: 15px;
    }
    
    .overlay-content {
        gap: 10px;
    }
    
    .overlay-icon {
        width: 35px;
        height: 35px;
    }
    
    .overlay-icon i {
        font-size: 1rem;
    }
    
    .overlay-title {
        font-size: 0.9rem;
    }
    
    .overlay-description {
        font-size: 0.8rem;
    }
    
    .overlay-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .map-container,
    .google-map {
        height: 250px;
    }
    
    .map-overlay {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
        padding: 10px;
    }
    
    .overlay-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .overlay-icon {
        width: 30px;
        height: 30px;
    }
    
    .overlay-icon i {
        font-size: 0.9rem;
    }
    
    .overlay-title {
        font-size: 0.85rem;
    }
    
    .overlay-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .map-container,
    .google-map {
        height: 200px;
    }
}



/*************************************************************/

/*   ------------------- media------------------- */


@media (max-width: 1099px) {
    .the-hive-title{padding-top: 10px}
}

@media (min-width: 1100px) {
    .the-hive-title-and-bredcrumbs{padding-right: 2vw;}
    .section-block-pages{ min-height: calc(100vh - 220px);}
    .section-block-pages.fofpage{ min-height: calc(100vh - 500px)!important;}

}


@media (max-width: 1099px) {
         .bottom-controls {
                bottom: 5px;
                right: 0;
                width: 100%;
                justify-content: flex-end;
                align-items: flex-end;
                gap: 10px;
                padding: 0 3vw;
            }
            .visible-block-1200{display: none}
            .container-hive-burger {width: 32px;height: 30vh;top:40px!important }
            .logo_the-hive :is(img) {max-width: 60px;height: auto}
            .header-hive{ min-height: 70px;}
            .text-block-section-main-the-hive{height: auto;}
            .h1-section-main-the-hive{font-size: 2.5rem}
            .h2-section-hive { font-size: 2rem;}
            .nav-hive li { margin: 10px 0;}
            .nav-hive a{font-size: 1.8rem}
            .section-block-pages{ height:auto}
    
    
}






@media (min-width: 768px) {
  .marketing-card:hover .white-overlay {
        opacity: 1;
        animation: whiteFill 1.2s ease forwards;
    }

    /* Анимация заполнения */
    @keyframes whiteFill {
        0% {
            clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
            opacity: 0.7;
        }
        50% {
            opacity: 0.9;
        }
        100% {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            opacity: 1;
        }
    }
    .the-hive-title-and-bredcrumbs{ max-width: 80vw;}


}


@media (max-width: 768px) {

   .section-hive{padding: 1rem}
   .column-text-block-section-main-the-hive{ padding-left: 1rem;}
   .footer-mp{ min-height: 200px; display: flex-column;}
   .logo-footer {padding: 15px 0;}
   .the-hive-title{padding: 15px 0}
   .container-hive-burger {width: 25px;height: 15vh;top: 40px !important;}
   .logo_the-hive{
        padding: 0;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
    }
    .the-hive-breadcrumbs {margin-top: -25px}
    .col-hive-footer {height: auto;min-height: 0;}  
    .footer-mp{padding-bottom: 30px}
    .logo-footer{width: 80px}
    .header__items {padding: 0 20px;}
}


@media (max-width: 450px) {

    
}

input[type="submit"]{
    margin: 20px 0 0 60px;
    max-width: 150px;
    border-radius: 20px;
    padding: 20px;
    background: #eee;
    color: #fff;
    border: none;

}
input[type="submit"]:hover{
    opacity: .8;
}

