.custom-call-button {
    height: 42px; /* Задай потрібну висоту, підбери під другу кнопку */
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-call-button .uk-flex-column {
    line-height: 1.7; /* Зменшує відстань між номером і "Колл-центр" */
}

/* Стилі кнопки */
.accessibility-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
}
.accessibility-button:hover {
    background: #0056b3;
}

/* Стилі панелі */
.accessibility-panel {
    position: relative;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 15px;
    display: none; /* Прихована за замовчуванням */
}
.accessibility-panel.active {
    display: block;
}
.accessibility-panel .uk-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}
.accessibility-option {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
}
.accessibility-option:hover {
    background: #333;
    border-radius: 3px;
}
.accessibility-icon {
    width: 24px;
    height: 24px;
}


/* Чорно-білий режим */
.gray-vision .tm-page, /* Основний контейнер вмісту в YOOtheme */
.gray-vision .uk-modal { /* Модальні вікна */
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

/* Масштабування */
body {
    transition: zoom 0.3s ease;
}

.custom-slidenav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.nav-arrows {
    display: flex;
    align-items: center;
    gap: 5px;
}

.all-news-btn {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    padding: 8px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-right: 20px;
}

.uk-slidenav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
}

.uk-slidenav.uk-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.uk-slidenav.uk-disabled svg path {
    stroke: #999;
}

#custom-prev-news.uk-disabled,
#custom-next-news.uk-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#custom-prev-news.uk-disabled svg path,
#custom-next-news.uk-disabled svg path {
    stroke: #999;
}

/*.tm-toolbar {
    background: #1a1a1a;
    padding: 0;
    }*/
.tm-toolbar {
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
    }

/* Робимо таби горизонтально скролюваними */
.el-nav.uk-subnav {
  display: flex;
  flex-wrap: nowrap;          /* Не переносити на новий рядок */
  overflow-x: auto;           /* Горизонтальний скрол */
  -webkit-overflow-scrolling: touch; /* Плавний скрол на iOS */
  scrollbar-width: none;      /* Приховати скрол у Firefox */
}

.el-nav.uk-subnav::-webkit-scrollbar {
  display: none; /* Приховати скрол у Chrome/Safari */
}

/* Щоб пункти не стискалися */
.el-nav.uk-subnav > li {
  flex: 0 0 auto;
}

.wpcf7-spinner {
  display: none !important; /* повністю ховаємо */
}

.wpcf7 .submitting .wpcf7-spinner {
  display: inline-block !important; /* показуємо тільки при відправці */
  vertical-align: middle;
  margin-left: 10px;
}
