.header-title {
   /* background: linear-gradient(to right, #FFD700 0%, #998100 51%, #CCAC00 93%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  color: gold;
  font-size: 4.5rem; /* Размер заголовка */
  margin-bottom: 20px; /* Отступ снизу */
  /*font-weight: 800;*/
  position: relative;
  z-index: 10;
  font-family: PlayfairDisplay;

}

.z-index{
    z-index: 999;
}

/* .single-video-module {
    padding-top: 150px;
} */

.big-video-container {
  position: relative;
    border: 1px solid #555;
    height: 768px;
    padding: 0 !important;
}

.bg-banner{
    position: relative;
    background-image: url('/wp-content/themes/yourist/img/bg-banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

}

.bg-banner:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.6);
    z-index: 0;
}
 
.map-contact{
    position: relative;
}

/* Контейнер для карты и блока с информацией */
.map-container {
    position: relative;  /* Важно для абсолютного позиционирования блока */
    width: 100%;       /* Растягиваем карту на всю ширину */
}

/* Контейнер для iframe карты */
.iframe-container {
    width: 100%;
    padding-bottom: 56.25%; /* Соотношение сторон для iframe (обычно 16:9) */
    height: 0;
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Стиль для блока с контактной информацией */
.contact-info {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 7px;     /* Расстояние от нижнего края карты */
    right: 0;      /* Расстояние от правого края карты */
    background-image: url('/wp-content/themes/yourist/img/gold-button.png'); /* Замените на ваш путь */
    background-size: cover;
    color: black;
    padding: 20px;     
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Тень для выделения блока */
    width: 50%;
    height: 25%;
}

.banner-module{
    position: relative;
    background-size: 100% 100%;
}

.banner-module:before { 
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.4); /* Затемнение фона */

}

/* Стили для иконок */
.contact-info i {
    margin-right: 5px;
}

/* Стили для ссылок в блоке */
.contact-info a {
    color: black;
    text-decoration: none; /* Убираем подчеркивание */
}

/* Дополнительные стили для адаптивности (по желанию) */
@media (max-width: 768px) { /* Пример: для экранов до 768px шириной */
    .contact-info {
        width: 90%;   /* Растягиваем блок на всю ширину экрана */
        left: 5%;      /* Выравниваем по центру */
        right: auto;   /* Сбрасываем положение справа */
        bottom: 10px;  /* Отступ от нижнего края */
    }
}


.cases-page, .services-module2 {
    background-image: url(/wp-content/themes/yourist/img/fon3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 700px;
    position: relative;
} 

.services-module2::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.5); /* Затемнение фона */
}


/* Стилизация пагинации */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 12px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease-in-out;
}

.pagination a:hover {
  background: #007bff;
  color: #fff;
}

.pagination .current {
  background: #007bff;
  color: #fff;
  font-weight: bold;
}

.services-list li {
padding-top: 1rem;
padding-bottom: 1rem;
font-size: 1.2rem;

}


.banner-module h1 {
    color: gold;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: gold;
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}


.certificates {
    background-image: url(/wp-content/themes/yourist/img/fon-sert.png);
    background-repeat: no-repeat;
    /*background-size: 100% 100%;*/
    background-position: center;
    min-height: 700px;
}

.certificates h2 {
    
    margin-bottom: 30px;
}

.certificate-item {
    padding: 5px;
    text-align: center;
}

.certificate-item img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: transform 0.3s ease; /* Плавная анимация */
}

.certificate-item img:hover {
    transform: scale(1.05); /* Небольшое увеличение при наведении */
}

.certificates-container{
    display: flex;
}

.modal-title{
    font-size: 1.5rem;
}


.has-fade-bottom-banner {
    position: relative;
}

.has-fade-bottom-banner::after {
    content: "";
    position: absolute;
    bottom: -3rem;
    left: -10px;
    width: 110%;
    height: 200px;
    background:  #0E0E0E;
    pointer-events: none;
    filter: blur(20px);
    z-index: 3;
}

.has-fade-bottom {
    position: relative;
}

.has-fade-bottom::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 120px;
    background:  #0E0E0E;
    pointer-events: none;
    filter: blur(20px);
    z-index: 3;
}

.has-fade-top {
    position: relative;
}

.has-fade-top::before {
    content: "";
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 120px;
    background:  #0E0E0E;
    pointer-events: none;
    filter: blur(20px);
    z-index: 3;
}

.z-index-100{
    position: relative;
    z-index: 10;
} 



.team-section {  
    color: #fff;
    /*min-height: 700px;*/
}

.team-carousel .item {
    width: 500px; /* Фиксированная ширина */
    height: 600px; /* Фиксированная высота */
    height: auto;
    display: flex;
    transition: transform 0.3s ease-in-out;
    justify-content: center;
}

/* Базовый размер карточек */
.team-member {
   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Размещение элементов */
    background-color: #0E0E0E !important;
    transition: transform 0.3s ease-in-out;
    padding: 1rem;
    position: relative;
    overflow: hidden; /* Чтобы элементы не выходили за пределы при увеличении */
    width: 95%;
}

/* Фон под фото через псевдоэлемент */
.team-member-photo {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Фон под фото через псевдоэлемент */
.team-member-photo::before {
    content: '';
    background-image: url('/wp-content/themes/yourist/img/gold-button.png');
    /*background-size: cover;*/
    position: absolute;
    top: 6rem;
    left: 0;
    right: 0;
    bottom: 1%;
    z-index: 1; /* Фон будет ниже */
}

/* Изображение */
.team-member-photo img {
     width: 80% !important; /* Фиксированная ширина */
    height: 100%; /* Фиксированная высота */
    object-fit: cover;
    padding: 1rem 1rem 0rem 1rem;
    position: relative;
    z-index: 2; /* Изображение будет выше фона */
}

/* Увеличение активной карточки, но не для текста */
.team-carousel .center .team-member {
    transform: scale(1.1);
}

/* Картинка остается без изменений */
.team-carousel .center .team-member .team-member-photo {
    transform: scale(1.1);
}

/* Текст остается на месте */
.team-carousel .center .team-member .card-body {
    transform: scale(1);
}

/* Кастомные кнопки */
.team-carousel .owl-nav {
    position: absolute;
    top: -50px;
    right: 0;
}

.team-carousel .owl-nav button {
    border: none;
    /*font-size: 24px;*/
    color: gold;
}

.team-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.team-carousel .owl-item img {
   display: inline !important;
}


.consultation-form-container{
    /* margin: 0 5rem 0 5rem; */
}

.form-group{
    display: flex;
    gap: 10px;
}

.blog-sidebar {
    display: flex0;
    flex-direction: column;
}

.content-container p,
.content-container ul,
.content-container ol,
.content-container li{
    font-size: 1rem;
    padding-left: 0;
}

.post-text p,
.post-text ul,
.post-text ol,
.post-text li{
    font-size: 1rem;
    padding-left: 0;
}

.post-text h2, .post-text h3{
    margin-top: 0.5rem;
}

.post-text img{
    display: block;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.content-container {
    position: relative;
    z-index: 3;
}

.news-card:hover{
    text-decoration: none;
}

.news-card img:hover{
    border: none;
}
/* Основной блок формы */
#overtimeForm {
    background: linear-gradient(to bottom, rgba(40, 40, 40, 0.7), rgba(75, 75, 75, 0));
    padding: .5rem;
    border: 2px solid #555;
}

/* Метки */
#overtimeForm label {
    color: #fff;
}

/* Заголовок формы */
.form-title {
    text-align: center;
}

/* Кнопка формы */
.form-btn-div {
    text-align: center;
}

/* Таблица */
.tbl {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
    /*display: block;*/
    table-layout: fixed;
}

.tbl th, .tbl td {
    border: 1px solid;
    text-align: center;
    padding: .5rem;
}

.tbl th {
    font-size: 14px;
}

.tbl td {
    font-size: 12px;
}

/* Поля, выровненные по горизонтали */
.input-double {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.div-sd {
    width: 100%;
}

/* Кнопка */
.form-button {
    background-color: transparent;
    font-size: 1rem;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid gold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    margin-top: 10px;
}


.win-cases {
    position: relative;
    z-index: 10;
    color: #fff;
}


.case-list{
    display: flex;
    gap: 5rem;
    color: #fff;
}


.seo-text{
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
}

.seo-text ul, .seo-text ol{
    padding: 0;
}
.faq-item {
    transition: background-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: 1px solid gold;

}


.faq-item:hover {
    /*background-color: #e9ecef;*/
}

.faq-header {
    /*font-weight: bold;*/
    font-size: 1.2rem;
    color: #fff;
}

.faq-body {
    font-size: 0.9rem;
    color: #fff;
}


.seo-section {
    padding: 40px 0;
}
.seo-text-wrapper {
    /*max-width: 900px;*/
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    position: relative;
}
.seo-text-inner {
    max-height: 200px; /* Ограничение высоты */
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.show-more-link:hover {
    color: gold;
}


.our-team{
    color: #fff;
}

.container.my-6 {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Карточка сотрудника */
.team-card {
  height: 420px;
  border-radius: 15px;
}

/* Обертка изображения */
.team-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Фото */
.team-img {
  transition: all 0.4s ease;
}

/* Затемнение при наведении */
.team-card:hover .team-img {
  filter: brightness(0.6);
}

/* Текст снизу */
.team-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.team-card:hover .team-text {
  opacity: 1;
  transform: translateY(0);
}

/* Адаптив */
@media (max-width: 768px) {
  .team-card {
    height: 320px;
  }
}

.benefits {
    position: relative;
}

.has-fade-bottom-benefits::after {
    content: "";
    position: absolute;
    bottom: -9rem;
    left: 0;
    width: 100%;
    height: 120px;
    background:  #0E0E0E;
    pointer-events: none;
    filter: blur(20px);
    z-index: 3;
}


.service-card{
    padding: 1.5rem;
    height: 20rem;
    /*text-align: center;*/
    color: #fff;
    border: 2px solid #555;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;


}

.service-button{
    z-index: 3;
}

.service-card:before{
    content: '';
    position: absolute;
    padding: 1.5rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 0;
}

.service-title{
    position: relative;
    color: gold !important;
    /*font-size: 1rem;*/
    font-weight: 400;
    z-index: 1;
}

.form-description{
    margin-bottom: 1rem;
}


/* Затемнение фона */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Контент popup */
.popup-content {
  background-color: #fff;
  /* padding: 30px; */
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

/* Кнопка закрытия */
.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
}

.form-input-group{
    display: flex;
}

@media (max-width: 768px) {
.popup-overlay .form-checkbox label{
margin: 0;
padding: 0 1rem;
} 



} 

.popup-btn {
  background-color: transparent;
  font-size: 1rem;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border: 1px solid gold;
  border-radius: 0;
  display: inline-flex;
align-items: center;
  margin-top: 10px;
  justify-content: center;
  width: 40%;    
}

/* Адаптивность */
/* @media (max-width: 600px) {
  .popup-content {
    padding: 20px;
  }
} */