/*
Theme Name: Theatre Child
Template: astra
Version: 1.0
*/






/* переопределите глобальные цвета через CSS цвет ссылок */
:root {
    --ast-global-color-0: #93202f;
    --ast-global-color-1: #93202f;
}
 
/* Глобальный шрифт — один для всего сайта */
body {
    font-family: 'Roboto';
    background-color: #fff;
}


/* ========================================
   ОТБИВКА МЕЖДУ БЛОКАМИ 
   ======================================== */
/* Разделительная линия */
.global-divider {
  border: 0;
  border-top: 1px solid #000;
  margin: 20px 0 30px 0;
}

/* Адаптивность для мобильных */
@media (max-width: 992px) {
    .global-divider {
        margin: 30px 0;
    }
}



a:focus, a:focus-visible {
    outline: none;
}



/* Шапка сайта */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Сетка шапки — 5 столбцов, 2 строки */
.header-grid {
  display: grid;
  grid-template-columns:
    auto           /* 1: логотип */
    minmax(0, 80px)/* 2: пустой слева от меню */
    800px          /* 3: телефон + меню */
    minmax(0, 110px)/* 4: пустой справа от меню */
    auto;          /* 5: иконки */
  grid-template-rows: auto auto;
  height: 72px;
  align-items: center;
  gap: 0;
  margin-bottom: 10px;

  /* Для отладки (удалить позже) */
  /* border: 1px solid red; */
}

/* Логотип — столбец 1, обе строки */
.header-logo {
  grid-row: 1 / 3;
  grid-column: 1;
  display: flex;
  align-items: center;
  padding-left: 10px;
  width: 231px; /* ← фиксированная ширина */
  max-width: 100%; /* ← на мобильных не вылезает за границы */

  /* border: 1px solid blue; */
}

.header-logo .custom-logo {
  height: 50px;
  width: auto;
}

/* Пустой столбец слева — ничего не делаем */
.header-spacer-left {
  grid-row: 1 / 3;
  grid-column: 2;
  /* border: 1px dashed #aaa; */
}

/* Телефон — столбец 3, строка 1 */
.header-phone-wrapper {
  grid-row: 1;
  grid-column: 3;
  justify-self: end;
  padding-right: 10px;
  /* border: 1px solid green; */
}


/* Телефон — все состояния */
.header-phone,
.header-phone:link,
.header-phone:visited,
.header-phone:hover,
.header-phone:active {
  color: #222; /* или ваш основной цвет */
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-phone:hover,
.header-phone:active {
  color: #93202f; /* цвет при наведении и клике */
}


/* Меню — столбец 3, строка 2 */
.header-menu {
  grid-row: 2;
  grid-column: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 800px; /* ← фиксированная ширина */
  max-width: 100%; /* ← на мобильных не вылезает за границы */
/* border: 1px solid cyan; */
}

.header-menu .menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
  align-items: center;
  width: 100%;
  justify-content: space-between;

/* border: 1px dashed gray; */
}

.header-menu .menu-list > li {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.header-menu .menu-list a {
  text-decoration: none;
  color: #222;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s;
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
}

/* Только основное меню — заглавные */
.header-menu > .menu-list > li > a {
  text-transform: uppercase;
}

.header-menu .menu-list a:hover,
.header-menu .menu-list li:hover > a {
  color: #93202f;
/*  background: #f9f9f9; */
}

/* Активный пункт */
.header-menu .menu-list .current-menu-item > a, 
.header-menu .menu-list .current-menu-ancestor > a {
  color: #93202f;
  font-weight: 600;
} 

/* Пустой столбец справа — ничего не делаем */
.header-spacer-right {
  grid-row: 1 / 3;
  grid-column: 4;
  /* border: 1px dashed #bbb; */
}

/* Иконка поиска — столбец 5, строка 1 */
.header-icon-search {
  grid-row: 1;
  grid-column: 5;
  justify-self: start;
  padding-left: 10px;
  /* border: 1px solid orange; */
}

.search-icon {
  color: #222;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}

.search-icon:hover {
  color: #93202f;
}

/* Иконка для слабовидящих — столбец 5, строка 2 */
.header-icon-accessibility {
  grid-row: 2;
  grid-column: 5;
  justify-self: start;
  padding-left: 10px;
  /* border: 1px solid purple; */
}

.accessibility-icon {
  color: #222;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}

.accessibility-icon:hover {
  color: #93202f;
}

/* Подменю (оставляем без изменений) */
.header-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #e0e0e0;
  min-width: 200px;
  display: none;
  z-index: 100;
  border: 1px solid #ccc;
  padding: 8px 0;
  border-top: none;
  list-style: none;
  margin: 0;
}

.header-menu .sub-menu li {
  position: relative;
  display: block;
  list-style: none;
  margin: 0;
}

.header-menu .sub-menu a {
  padding: 10px 20px;
  color: #222;
  font-size: 16px;
  display: block;
  transition: background 0.2s;
  border-left: 4px solid transparent;
}

.header-menu .sub-menu a:hover {
  background: #d0d0d0;
  color: #93202f;
  border-left-color: #93202f;
}

.header-menu .sub-menu .sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #d0d0d0;
  min-width: 200px;
  display: none;
  z-index: 101;
  border: 1px solid #bbb;
  padding: 8px 0;
  border-left: none;
}

.header-menu .menu-list .sub-menu .current-menu-parent .current-menu-item a {
  padding: 10px 25px;
  color: #222;
}


.header-menu .menu-list .sub-menu a {
  padding: 10px 25px;
  color: #222;
}

.header-menu .menu-list .sub-menu .current_page_item a {
  padding: 10px 25px;
  color: #93202f;
}

.header-menu .menu-list .sub-menu .current-menu-parent a {
  padding: 10px 25px;
  color: #93202f;
}


.header-menu .sub-menu .sub-menu a {
  padding: 10px 25px;
  color: #222;
}

.header-menu .sub-menu .sub-menu a:hover {
  background: #c0c0c0;
  color: #93202f;
  border-left-color: #93202f;
}

.header-menu .menu-list li:hover > .sub-menu { 
   display: block; 
} 

.header-menu .sub-menu li:hover > .sub-menu {
  display: block;
}

/* Мобильное меню */
.mobile-toggle {
  display: none; /* скрыта на десктопе */
  flex-direction: column;
  grid-row: 1;        /* первая строка */
  grid-column: 5;     /* последний столбец */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
/* Убираем синюю подсветку при касании (iOS/Android) */
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  outline: none !important;
}

/* Цвет полосок — чёрный (или ваш основной цвет) */
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #222;
  margin: 4px 0;
  transition: 0.3s;
  height: 2px; /* тоньше */
  border-radius: 1px;
/*  background: #93202f !important; /* бордовый, как в меню */
}


/* Убираем фокус и активное состояние */
.mobile-toggle:focus,
.mobile-toggle:active,
.mobile-toggle:hover {
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
  border-color: transparent !important;
}


/* Адаптив */
@media (max-width: 992px) {
  .header-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    height: auto;
    padding: 16px 0;
  }

  .header-logo {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
  }

  .header-spacer-left,
  .header-spacer-right {
    display: none;
  }

  .header-phone-wrapper {
    grid-row: 2;
    grid-column: 1;
    justify-self: end;
    padding-right: 20px;
  }

  .header-menu {
    grid-row: 3;
    grid-column: 1;
    justify-self: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    display: none;
  }

  .header-menu.active {
    display: block;
  }

  .header-icon-search {
    grid-row: 4;
    grid-column: 1;
    justify-self: end;
    padding-right: 20px;
  }

  .header-icon-accessibility {
    grid-row: 5;
    grid-column: 1;
    justify-self: end;
    padding-right: 20px;
  }

  /* Показываем бургер только на мобильных */
  .mobile-toggle {
    display: flex;
    align-self: flex-end;
    display: block;
  }

  .header-menu .menu-list {
    flex-direction: column;
    gap: 16px;
  }

  .header-menu .sub-menu {
    position: static;
    display: block;
    margin-left: 20px;
  }
}


/* Убираем синий цвет при посещении для всех ссылок в шапке */
.search-icon:visited,
.accessibility-icon:visited {
  color: #222; /* или ваш основной цвет текста */
}

/* При наведении — бордовый */
.search-icon:hover,
.accessibility-icon:hover,
.header-menu .menu-list a:hover {
  color: #93202f;
}

/* Скрыть иконки на мобильных */
@media (max-width: 992px) {
  .header-icon-search,
  .header-icon-accessibility,
  .header-phone-wrapper {
    display: none !important;
  }
}




/* Мобильное меню — сайдбар */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 9999;
  transition: left 0.3s ease;
}

.sidebar-content {
  padding: 60px 20px 20px; /* отступ сверху = высоте шапки */
  height: 100%;
  overflow-y: auto;
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 28px;
  color: #222; /* ← чёрный цвет, видимый на белом фоне */
  cursor: pointer;
  float: right;
  margin-bottom: 20px;
  line-height: 1;
  padding: 0;
  width: auto;
  height: auto;
  position: relative;
  z-index: 10;
}

.mobile-sidebar.active {
  right: 0;
}



.close-sidebar svg {
  display: block;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list > li {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}

.mobile-menu-list a {
  display: block;
  padding: 12px 20px;
  color: #222;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.2s;
}

.mobile-menu-list a:hover {
  background: #f5f5f5;
  color: #93202f;
}

/* Подменю в сайдбаре */
.mobile-menu-list .sub-menu {
  display: none;
  margin-left: 20px;
  padding: 8px 0;
}

.mobile-menu-list .sub-menu.active {
  display: block;
}

.mobile-menu .menu-item-has-children > a::after {
  content: " ▼";
}

.mobile-menu-list .menu-item-has-children > a::after {
  content: " ▶";
  font-size: 10px;
  opacity: 0.6;
  margin-left: 6px;
}

/* Все уровни подменю в мобильном меню */
.mobile-menu .sub-menu {
  display: none;
  margin-left: 20px;
  padding: 10px 0;
  background: #f8f8f8;
  border-left: 2px solid #eee;
}

.mobile-menu .sub-menu.active {
  display: block;
}

/* Стрелка для всех пунктов с подменю */
.mobile-menu .menu-item-has-children > a::after {
  content: " ▼";
  float: right;
  font-size: 12px;
  opacity: 0.7;
}

.mobile-menu .sub-menu .sub-menu {
  margin-left: 15px; /* меньше отступ, чтобы не уйти за край */
  border-left-color: #ddd;
}

/* Активный пункт */
.mobile-menu-list .current-menu-item > a,
.mobile-menu-list .current-menu-ancestor > a {
  color: #93202f;
  font-weight: 600;
}



/* Блок в конце мобильного меню */
/* Иконки в конце мобильного меню — по левому краю */
.mobile-menu-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: left; /* ← выравнивание по левому краю */
  padding-left: 20px; /* ← отступ слева, чтобы не прилипали к краю */
}

.mobile-menu-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  margin: 10px 0;
  transition: color 0.2s;
  padding: 8px 0; /* ← убираем горизонтальные отступы */
}

.mobile-menu-footer a:hover {
  color: #93202f;
}


/* Общий фон */
body {
    background-color: #fff !important;
}



/* Главное фото */
.play-hero-image {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.play-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Фантомный контейнер — копия .container */
.hero-overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px; /* ← УКАЖИТЕ ТОТ ЖЕ MAX-WIDTH, ЧТО И В ШАПКЕ */
    height: 100%;
    pointer-events: none; /* чтобы не мешал кликам по фото */
}

/* Логотип Пушкинской карты */
.play-hero-image img.pushkin-card-logo {
    position: absolute;
    bottom: 12px;
    right: 0; /* привязан к правому краю фантомного контейнера */
    width: 48px;
    height: auto;
    z-index: 10;
    pointer-events: auto; /* чтобы можно было, например, скопировать alt */
}


@media (max-width: 1450px) {
    .hero-overlay-container {
        max-width: 100%;
        padding: 0 15px;
    }

    .play-hero-image img.pushkin-card-logo {
        right: 24px;
        bottom: 10px;
        width: 48px;
    }
}

/* Шрифты */
.display-4 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
}

/* Автор */
.main-info .author {
    font-size: 1.125rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0;
}

/* Название спектакля — жирное, заглавные */
.main-info .title {
    font-size: 4.6rem;
    font-weight: 700;          /* жирный */
    text-transform: uppercase; /* все заглавные */
    color: #212529;
    line-height: 1;
    margin: 0;
}

/* Жанр */
.main-info .genre {
    font-size: 1.125rem;
    font-weight: 400;
    color: #666;
    margin: 0; /* отступ перед плашкой */
}

/* Плашка сцены */
.scene-badge {
    display: inline-block;
    color: #212529;
    border: 1px solid #212529;
    padding: 0 20px;
    font-size: 1rem;
    font-weight: 500;          /* medium — для лучшей читаемости */
    text-decoration: none !important;
    cursor: default;
    margin: 30px 0 22px 0;     /* 30px до, 22px после */
    line-height: 1.8;
}

.scene-badge.archived {
    background-color: #dc3545;
    color: white;
    border: 1px solid #dc3545;
}

/* Блок информации */
.info-block p {
    font-size: 1.25rem;
    font-weight: 400;
    color: #212529;
    margin-bottom: 0rem;
    line-height: 1.4;
}

.info-block strong {
    font-weight: 400; /* не жирный! */
    color: #212529;
}

/* использовать сетку Astra / Flexbox, а не Bootstrap */
/* Основной контейнер */
.spectacle-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Верхняя секция: основная информация + показы */
.top-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 0rem;
}

.main-info {
    flex: 3;
  /* Для отладки (удалить позже) */
   /*border: 1px solid red; */
}


.upcoming-shows {
    flex: 2;
    background-color: #fff;
    padding-left: 3rem;
  /* Для отладки (удалить позже) */
/*   border: 1px solid red; */

}

/* Заголовок "Ближайшие показы" */
.upcoming-shows h3 {
    font-size: 2.25rem;
    font-weight: 700; /* жирный */
    color: #212529;
    border-bottom: 2px solid #333; /* линия под заголовком */
    padding-bottom: 0.5rem;
}

/* Каждый показ */
.show-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #333; /* горизонтальная линия между показами */
}

.show-item:last-child {
    border-bottom: none; /* у последнего нет линии */
}

.info-block .end-line {
    margin-bottom: 40px;
}

/* Дата */
.show-date {
    font-size: 1rem;
    color: #212529;
}

.show-date {
  line-height: 1.2;           /* или 1.1, 1.2 — чем меньше значение, тем плотнее строки */
}

.show-date span {
  display: block;           /* чтобы span вели себя как блочные элементы и line-height сработал предсказуемо */
}

.date-day {
    font-size: 1.75rem;
    font-weight: 500;
}

.date-month {
    font-size: 1.75rem;
    font-weight: 500;
}

.date-time {
    font-size: 1.25rem;
    color: #666;
}

/* Контейнер действий */
.show-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative; /* для позиционирования tickets-info */
}

/* Блок с информацией о билетах */
.tickets-info {
    position: absolute;
    top: -1.5rem; /* смещаем вверх над кнопкой */
    right: 0;     /* выравниваем по правому краю */
    text-align: right;
}


/* Текст "Остаток билетов" */
.tickets-left {
    font-size: 0.875rem;
    color: #93202f; /* наш цвет */
    font-weight: 500;
    white-space: nowrap; /* чтобы не переносился */
}

/* Кнопки */
.btn {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0.25rem;
    cursor: pointer;
}

.btn-dark {
    background-color: #212529;
    border-color: #212529;
    color: white;
}

/* При наведении — становится нашим цветом (или можно сделать темнее) */
.btn-dark:hover {
    background-color: #93202f; /* наш цвет */       /* или #7a1b26 — темнее */
    border-color: #93202f; /* наш цвет */
}

/* При нажатии — чёрный */
.btn-dark:active {
    background-color: #212529;
    border-color: #212529;
}

/* Неактивная кнопка — серая, отключена */
.btn-disabled {
    padding: 1rem 1.905rem;
    background-color: #e9ecef;      /* светло-серый */
    border-color: #ced4da;          /* серая рамка */
    color: #6c757d;                 /* серый текст */
    cursor: not-allowed;
    opacity: 1;                     /* не затемнять */
    pointer-events: none;           /* отключить клики */
}


/* Маленькая кнопка "Состав" */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-outline-secondary {
    background-color: transparent;
    border: 1px solid #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

/* Разделители */
.section-divider {
    border-top: 2px solid #333;
    margin: 2rem 0;
}

/* Разделители */
.section-divider1 {
    border-top: 2px solid #333;
    margin-bottom: 2rem;
}

/* О спектакле */
.about-play-section h2,
.gallery-section h2,
.team-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #212529;
}

.about-play-section{
    text-align: justify;
}


/* Постановщики и роли */
/* Две колонки */
/* Постановщики и роли */
/* Две колонки */
.team-columns {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-column {
    flex: 1;
}

.team-column h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #212529;
}

/* Строка: должность + исполнители */
.team-item {
    display: flex;
    gap: 1rem; /* Отступ между должностью и списком актеров */
    margin-bottom: 1rem;
    align-items: flex-start; /* Важно: выравнивание по верхнему краю, если текст переносится */
}

.team-role {
    flex: 0 0 280px; /* Жесткое ограничение: не сжимать, не растягивать, базовая ширина 280px */
    font-weight: 500;
    color: #212529;
    word-wrap: break-word; /* Принудительный перенос длинных слов */
    overflow-wrap: break-word;
}

.team-actors {
    flex: 1; /* Занимает всё оставшееся пространство справа */
}

/* Исполнитель */
.actor-item {
    margin-bottom: 0.25rem;
}

.actor-item:last-child {
    margin-bottom: 0;
}

.actor-item a {
    color: #93202f;
    text-decoration: none;
}

.actor-item a:hover {
    text-decoration: underline;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .team-columns {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .team-item {
        flex-direction: column; /* На телефонах должность и актеры встают друг под другом */
        gap: 0.25rem;
    }
    
    .team-role {
        flex: 1 1 100%; /* Разрешаем занимать всю ширину на мобильных */
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .top-section,
    .team-section {
        flex-direction: column;
    }

    .main-info,
    .upcoming-shows {
        flex: none;
        width: 100%;
    }
}

/* Галерея */
/* Общий контейнер слайдера */
.mySwiper {
    width: 100%;
    padding: 1rem 0;
}

/* Слайд */
.swiper-slide {
    aspect-ratio: 3 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Фото */
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Видео */
.swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    display: block;
}

/* Подпись */
.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    text-align: center;
}

/* Контейнер для видео */
.gallery-video-item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* Подпись к видео */
.gallery-video-item .photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    text-align: center;
}



/* Стрелки */
.swiper-button-next,
.swiper-button-prev {
    background-color: #ffffff !important;
    color: #93202f !important;          /* наш цвет */
    opacity: 1 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.3s ease !important;
    opacity: 0.5 !important;
}

.swiper-button-next {
    padding-left: 5px;
    right: 10px !important;
}

.swiper-button-prev {
    padding-right: 5px;
    left: 10px !important;
}

/* Стрелка "Вперёд" — треугольник вправо */
.swiper-button-next::after {
/*    content: "►" !important; /* ►▶ U+25BA — черный треугольник вправо */
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: #93202f !important;          /* наш цвет */
    display: block !important;
}

/* Стрелка "Назад" — треугольник влево */
.swiper-button-prev::after {
/*    content: "◄" !important; /* ◄◀ U+25C4 — черный треугольник влево */
    font-size: 1.5rem !important;
    font-weight: bold !important;
    color: #93202f !important;          /* наш цвет */
    display: block !important;
}


/* Иконки внутри стрелок 
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.125rem !important;
    font-weight: bold !important;
    color: #93202f !important;          /* наш цвет 
} */

/* Стрелки — неактивные (в начале или в конце) */
.swiper-button-disabled {
    opacity: 0.15 !important;
    cursor: default !important;
}


/* Адаптивность */
@media (max-width: 992px) {
    .swiper-slide {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2; /* 450x300 */
    }

    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}

#modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin-bottom: 0rem;
}

#modal-caption {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    width: 100%;
    padding: 0 1rem;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
}

.close:hover {
    color: #93202f;          /* наш цвет */
}




/* ===== ОБЩИЙ СТИЛЬ КАРТОЧКИ ===== */
.team-member-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.6;
}

/* ==== ЗАГОЛОВОК И ФОТО ==== */
.member-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 0px;
}


.member-photo {
    flex-shrink: 0;
    margin-bottom: 20px;
}

.member-photo img {
    width: 360px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.member-info h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #222;
}

.position {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 15px 0;
}

.bio {
    font-size: 1rem;
    color: #333;
    text-align: justify;
}


/* ==== УНИФИЦИРОВАННЫЕ БЛОКИ ==== */
.section-row {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 40px;
}

.section-label {
    flex-shrink: 0;
    width: 360px;
}

.section-label h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
    margin: 0 0 15px 0;
    padding-bottom: 5px;
}

.section-content {
    flex-grow: 1;
    min-width: 0; /* Чтобы не выходило за границы при маленьком экране */
}

/* ==== РОЛИ В СПЕКТАКЛЯХ ==== */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 0px;
}

.role-card {
    display: block;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
}

.role-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.role-thumb {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 10px;
}

.role-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}



/* ==== ПРОШЛЫЕ РАБОТЫ (обновлённый стиль) ==== */
.past-works-table {
    width: 100%;
    border-collapse: collapse !important;
    border: 0px;
    margin-top: 0px;
    font-size: 1rem;
    line-height: 1.6;
}

.past-works-table td {
//    padding: 12px 0;
    vertical-align: top;
}

/* Чередование строк */
.past-works-table tr.even {
    background-color: #ffffff;
}
.past-works-table tr.odd {
    background-color: #f0f0f0; /* ≈10% чёрного на белом */
}

/* Столбец "Роль" — жирный */
.role-col {
    width: 30%;
    font-size: 1rem;
    font-weight: bold;
    color: #222;
    border: 0px;
}

/* Столбец "Спектакль, Автор" */
.play-col {
    width: 70%;
    font-size: 1rem;
    color: #333;
    border: 0px;
}



/* ==== НАГРАДЫ ==== */
.awards-list {
    padding-left: 20px;
    list-style-type: disc;
    font-size: 1rem;
    color: #333;
    margin: 0px;
}

.awards-list li {
    margin-bottom: 8px;
    text-align: justify;
}

/* ==== АДАПТИВНОСТЬ ==== */
@media (max-width: 992px) {
    .member-header,
    .section-row {
        flex-direction: column;
        gap: 20px;
    }

    .member-photo img,
    .section-label {
        width: 100%;
        max-width: 400px;
    }

    .roles-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .role-card {
        padding: 12px;
        font-size: 0.9rem;
    }

    .role-col,
    .play-col {
        width: auto;
//        display: block;
//        padding: 8px 0;
    }

    .past-works-table tr {
        border-bottom: 1px solid #eee;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .past-works-table tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .awards-list {
        font-size: 0.9rem;
    }

    .section-divider {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .team-member-wrapper {
        padding: 10px;
    }

    .member-photo img {
        max-width: 250px;
    }

    .role-card {
        font-size: 0.85rem;
    }
}

/* ---------------- page-spectacles.php - start------------------------------- */

.spectacles-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.page-header {
    display: flex;
    align-items: flex-end; /* ← выравнивание по нижнему краю */
    gap: 2rem;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 64px;
    line-height: 1;
    margin: 0;
    padding: 0;
    font-weight: 400; /* или 400 — как в макете */
    color: #212529;
}

.nav-tabs {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-tab {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #6c757d; /* серый */
    text-decoration: none;
    padding: 0.5rem 1rem 0.25rem 1rem;
    border-radius: 0.25rem;
    transition: color 0.3s ease;
}

.nav-tab:hover {
    color: #93202f; /* ваш цвет */
}

.nav-tab.active {
    color: #212529; /* черный */
    font-weight: 500;
}

.tag-menu {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.tag-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #6c757d; /* серый */
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: color 0.3s ease;
}

.tag-link:hover {
    color: #93202f; /* ваш цвет */
}

.tag-link.active {
    color: #212529; /* черный */
    font-weight: 500;
}

.spectacles-layout {
    display: flex;
    gap: 0.5rem;
}

.left-column {
    flex: 0 0 28%;
}

.right-column {
    flex: 0 0 72%;
}

.play-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.play-list li {
    margin-bottom: 0.5rem;
}

.play-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.play-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-bottom: 2rem;
}

.card-image {
    width: 600px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.card-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pushkin-card-mini {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: auto;
    z-index: 2;
}


/* Индикатор премьеры в списке */
.premiere-indicator {
    color: #93202f; /* ваш цвет */
    font-size: 0.875rem; 
    line-height: 1;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -3px;  /* где-то середина строки */
}


/* Бейдж премьеры на карточке */
.premiere-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #93202f;
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}

.card-info {
    flex: 1;
}

.card-info .author{
    font-size: 0.875rem;
    color: #212529;
    font-weight: 300;
    margin-bottom: 0.8rem;
}

.card-info .genre {
    font-size: 0.875rem;
    color: #212529;
    font-weight: 300;
    margin-bottom: 0rem;
    margin-top: 0.7rem;
}

.card-info .premiere{
    font-size: 0.875rem;
    color: #93202f;
    font-weight: 300;
    margin-bottom: 0rem;
    padding-bottom: 1rem;
}

.card-info .age {
    font-size: 1.15rem;
    color: #212529;
    font-weight: 100;
    margin-bottom: 0rem;
    padding-top: 0.5rem;
}

.card-info .play-title {
    font-size: 1.5rem;
    line-height: 1;
}

/* Адаптивность */
@media (max-width: 1123px) {
    .tag-menu {
        gap: 0rem;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    .tag-menu {
        gap: 0rem;
    }
    .spectacles-layout {
        flex-direction: column;
    }

    .left-column {
        display: none; /* ← Скрываем список названий на мобильных */
    }

    .right-column {
        flex: 1 1 100%; /* ← Карточки занимают всю ширину */
    }

    .play-card {
        flex-direction: column;
    }

    .card-image {
        width: 100%;
        aspect-ratio: 3 / 2;
        overflow: hidden;
        position: relative;
    }
}

/* Общий стиль для названия спектакля */
.play-title {
    font-size: 0.875rem; /* или как в макете */
    font-weight: 500;
    color: #212529; /* чёрный */
    text-decoration: none; /* без подчёркивания */
    text-transform: uppercase; /* ВСЕ ЗАГЛАВНЫЕ */
    transition: color 0.2s ease;
}

.play-title:hover {
    color: #93202f; /* ваш цвет при наведении */
}

/* ---------------- page-spectacles.php - end------------------------------- */


/* -------------------- Футер ----------------------------- */
.site-footer {
    color: #212529;
}

/* Черная панель: подписка */
/* Общий контейнер */
.subscribe-bar {
    background-color: #212529;
    padding: 2rem 1rem;
    color: white;
}

.subscribe-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
}

/* Текст слева */
.subscribe-text-wrapper {
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.subscribe-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}


/* Форма справа */
.vendosoft-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

/* Поля и кнопка в одной строке */
.vendosoft-form .row {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding-right: 3rem;
}

.vendosoft-form .row input {
    flex: 1; /* Занимают равную ширину */
    min-width: 0; /* Чтобы не ломалось при маленьких экранах */
}

.vendosoft-form input {
    padding: 0.5rem 1rem;
    border: 1px solid #6c757d;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    width: 100%;
}

.btn-subscribe {
    background-color: #fff;
    color: #212529;
    border: 1px solid #6c757d;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.btn-subscribe:hover {
    background-color: #e9ecef;
    color: #93202f;
    border: 1px solid #6c757d;
}

.btn-subscribe:focus {
    background-color: #fff;
    color: #212529;
    border: 1px solid #6c757d;
}

/* Согласие — под полем "Имя" */
.subscribe-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
}

.subscribe-consent input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.subscribe-consent label {
    font-size: 0.75rem !important;
    color: #adb5bd !important;
    font-weight: normal !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    cursor: pointer;
}






/* Белая часть */
.footer-main {
    background-color: #fff;
    padding: 3rem 1rem 2rem;
}

.footer-columns {
    display: flex;
    gap: 0rem;
    flex-wrap: wrap;
}

.footer-column1, 
.footer-column2, 
.footer-column3, 
.footer-column4, 
.footer-column {
    flex: 1;
    min-width: 230px;
}

.footer-column1 {
    min-width: 470px;
}

.footer-column2 {
    min-width: 345px;
}

.footer-column3 {
    min-width: 50px;
}

.footer-column1 h4, 
.footer-column2 h4, 
.footer-column3 h4, 
.footer-column4 h4, 
.footer-column h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #212529;
}

.footer-column1 ul, 
.footer-column2 ul, 
.footer-column3 ul, 
.footer-column4 ul, 
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column1 li, 
.footer-column2 li, 
.footer-column3 li, 
.footer-column4 li, 
.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column1 a, 
.footer-column2 a, 
.footer-column3 a, 
.footer-column4 a, 
.footer-column a {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-column1 a:hover, 
.footer-column2 a:hover, 
.footer-column3 a:hover, 
.footer-column4 a:hover, 
.footer-column a:hover {
    color: #93202f;
    text-decoration: none;
}

/* Логотип и контакты */
.footer-logo img {
    max-width: 370px;
    height: auto;
    margin-bottom: 2rem;
}

.footer-contact {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin-top: 15px;
    flex-wrap: wrap;
}

.social-links strong {
    font-size: 14px;
    color: #212529;
    text-transform: uppercase;
}

.social-icons-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}



.social-icon {
    display: block;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Цвета при наведении для разных соцсетей */
.social-vk:hover img {
    filter: none;
}

.social-telegram:hover img {
    filter: none;
}

.social-ok:hover img {
    filter: none;
}

.social-instagram:hover img {
    filter: none;
}

.social-facebook:hover img {
    filter: none;
}

.social-youtube:hover img {
    filter: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-icons-wrapper {
        gap: 10px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
    
    .social-icon img {
        width: 20px;
        height: 20px;
    }
}

/* Версия для слабовидящих */
.footer-bottom {
    margin-top: 2rem;
    text-align: right;
}

.accessibility {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
}

.accessibility .eye-icon {
    font-size: 1.25rem;
}

.accessibility a {
    color: #666;
    text-decoration: none;
}

.accessibility a:hover {
    color: #93202f;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 1400px) {
    .footer-column {
        min-width: 200px;
    }

    .footer-column1 {
        min-width: 400px;
    }

    .footer-column2 {
        min-width: 200px;
    }

    .footer-column3 {
        min-width: 50px;
    }
}
@media (max-width: 1150px) {
    .footer-column {
        min-width: 50px;
    }

    .footer-column1 {
        min-width: 400px;
    }

    .footer-column2 {
        min-width: 200px;
    }

    .footer-column3 {
        min-width: 50px;
    }
} 

/* Мобильный футер — скрыт по умолчанию */
.mobile-footer {
    display: none;
}

/* Показываем только на мобильных */
@media (max-width: 992px) {
    .site-footer {
        display: none; /* Скрываем десктопный футер */
    }

    .mobile-footer {
        display: block;
        background-color: #fff;
        padding: 0rem;
    }

    /* Красная панель подписки */
    .subscribe-mobile {
        background-color: #93202f;
        padding: 2rem 1rem;
        color: white;
        text-align: center;
    }

    .subscribe-mobile p {
        margin: 0 0 1rem 0;
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .subscribe-mobile form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .subscribe-mobile input {
        padding: 0.5rem 1rem;
        border: 0px solid #fff;
        border-bottom-width: 2px;
        border-radius: 0rem;
        box-shadow: none;
        font-size: 0.875rem;
        width: 100%;
        background-color: #93202f;
        color: white;
    }

    .subscribe-mobile input:focus {
        background-color: rgba(255,255,255,0.2);
        border: 0px solid #fff;
        box-shadow: none;
    }

    .subscribe-mobile input::placeholder { 
        text-align: center; /* Центрируем только там, где это нужно */ 
    }

    .subscribe-mobile button {
        background-color: #93202f;
        color: white;
        border: 1px solid #fff;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        text-transform: uppercase;
        cursor: pointer;
        align-self: center;
    }

    .subscribe-mobile button:hover {
        background-color: rgba(255,255,255,0.2);
    }

    .subscribe-consent {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        margin-top: 0.5rem;
        width: 100%;
        min-width: 0px;
    }

    .subscribe-consent input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
        margin-bottom: 0.25rem;
        flex-shrink: 0;
    }

    .subscribe-consent label {
        font-size: 0.75rem !important;
        color: #fff !important;
        font-weight: normal !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        cursor: pointer;
    }

    /* Контакты */
    .mobile-contact {
        padding: 2rem 0;
        text-align: left;
    }

    .mobile-contact img {
        max-width: 200px;
        height: auto;
        margin-bottom: 1rem;
    }

    .footer-contact {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        color: black;
    }

    .social-links {
        display: flex;
        justify-content: flex-start;
        gap: 2rem;
    }

    .social-icon {
        display: block;
        width: 36px;
        height: 36px;
    }

    .social-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Кнопка наверх */
    .back-to-top {
        text-align: center;
        padding: 1rem 0;
    }

    .back-to-top button {
        background-color: #212529;
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        text-transform: uppercase;
        cursor: pointer;
        width: 100%;
        max-width: 300px;
    }

    .back-to-top button:hover {
        background-color: #1a1d21;
    }
}
/* -------------------- Футер ----------------------------- */




/* ============================================================================*/

/* Основные стили для раздела "О театре" */

/* ========================================
   РАЗДЕЛ "О ТЕАТРЕ"
   ======================================== */

/* Полное соответствие вашим требованиям */
.theatre-about {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 30px;
}

/* Выравнивание по низу и разрыв 60px между заголовком и меню */
.about-header {
  display: flex;
  align-items: flex-end; /* Выравнивание по нижней границе */
  gap: 60px; /* ТОЧНО 60 ПИКСЕЛЕЙ МЕЖДУ ЗАГОЛОВКОМ И МЕНЮ */
}

.theatre-about h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
  margin: 0;
}

/* Убираем все подчеркивание и линии */
.about-tabs {
  display: flex;
  gap: 46px;
  border-bottom: none !important;
}

.about-tabs .tab-link {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 10px;
  position: relative;
  transition: color 0.3s;
  text-decoration: none !important;
}

.about-tabs .tab-link.active {
  color: #93202f;
  /* ПОЛНОСТЬЮ УБИРАЕМ ЛИНИИ И ПОДЧЕРКИВАНИЯ */
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Стили для контента */
.about-content {
  margin-bottom: 50px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Стили для наград */
.award-item {
  margin-bottom: 15px;
  line-height: 1.5;
}

.award-item p {
  margin: 0;
  padding: 0;
}

/* Выделение активной вкладки в выпадающем меню */
.sub-menu a.active {
  color: #93202f !important;
  font-weight: 700;
}

/* Адаптивность */
@media (max-width: 768px) {
  .about-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 20px;
  }
  
  .about-tabs {
    width: 100%;
    gap: 15px;
  }
  
  .about-tabs .tab-link {
    font-size: 14px;
  }
  
  .theatre-about h1 {
    font-size: 36px;
  }
}


/* ============================================================================*/
                  
/* ========================================
   РАЗДЕЛ "ЗРИТЕЛЯМ"
   ======================================== */

.visitors-section {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 30px;
}

/* Заголовок и меню */
.visitors-header {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 20px;
  position: relative;
}

.visitors-header h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
  padding-top: 20px;
  margin: 0;
}

/* Основное меню */
.visitors-tabs {
  display: flex;
  gap: 0 50px; /* ИСПРАВЛЕНО: убрано "0" */
  flex-wrap: wrap;
  margin: 0 10px;
  border-bottom: none !important;
  position: relative;
  z-index: 2;
  justify-content: space-between;
}


.visitors-tabs .tab2-link {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 10px;
  position: relative;
  transition: color 0.3s;
  text-decoration: none !important;
}

.visitors-tabs .tab2-link.active {
  color: #93202f;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ========================================
   РАЗДЕЛ "ЗРИТЕЛЯМ" - ИСПРАВЛЕНИЕ ПОДМЕНЮ
   ======================================== */

/* Подменю для "Проекты и услуги" */
.visitors-sub-tabs {
  display: none;
  gap: 20px;
  margin-top: 0;
  background-color: #f5f5f5; /* Серый фон */
  padding: 0 20px;
  width: 100%;
  text-align: center;
  border-bottom: none !important;
  /* ИСПРАВЛЕНО: расположение под основным меню */
  position: absolute;
  top: 100%; /* Расположить под основным меню */
  left: 0;
  z-index: 10; /* Чтобы подменю было поверх других элементов */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.visitors-sub-tabs.active {
  display: flex;
  flex-wrap: wrap;
/*  justify-content: space-between; */
  justify-content: space-evenly
}

.visitors-sub-tabs .sub-tab2-link {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 15px;
  position: relative;
  transition: color 0.3s;
  text-decoration: none !important;
}

.visitors-sub-tabs .sub-tab2-link.active {
  color: #00c853; /* Зеленый цвет для активного пункта */
  font-weight: bold;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Содержимое разделов */
.visitors-content {
  margin-top: 30px;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.content-section h2 {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .visitors-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
  }
  
  .visitors-tabs {
    gap: 15px;
    justify-content: flex-start;
  }
  
  .visitors-tabs .tab2-link {
    font-size: 14px;
  }
  
  .visitors-sub-tabs {
    gap: 10px;
  }
  
  .visitors-sub-tabs .sub-tab2-link {
    font-size: 12px;
    padding: 3px 10px;
  }
}  


/* ========================================
   СТРАНИЦА "КОНТАКТЫ"
   ======================================== */

.contacts-section {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 50px;
}

.contacts-section h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

/* Левая колонка */
.contacts-left {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-box,
.contact-team-card {
  padding: 13px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-box h3, .contact-team-card h3 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
/*  margin-bottom: 15px; */
}

.contact-box p {
  margin: 0; 
  line-height: 1.6;
}

.contact-box a {
  color: #93202f;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

.box-office-phone {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
/*  color: #000; */
/*  margin-bottom: 15px; */
}

p.box-office-collective {
  margin-top: 15px; 
}

.contact-team-card .team-name {
  font-weight: 700;
  font-size: 16px;
  margin: 10px 0;
}

.contact-team-card .team-position,
.contact-team-card .team-phone,
.contact-team-card .team-email {
  margin: 5px 0;
  font-size: 14px;
}

.contact-institution,
.contact-address-block,
.contact-additional-info {
  padding: 0 15px;
  text-align:justify;
}

.contact-institution p {
  margin-top: 30px;
  margin-bottom: 0px;
  font-weight: 700;
}

.contact-address-block p {
  margin: 0;
}

.contact-additional-info p {
  margin-bottom: 20px;
}

/* Правая колонка */
.contacts-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info-block {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-info-block .info-item {
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-info-block .info-item strong {
  font-weight: 700;
}

.contact-info-block a {
  color: #93202f;
  text-decoration: none;
}

.contact-info-block a:hover {
  text-decoration: underline;
}

.contact-map {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
}

.contact-team-cards {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.team-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}

.team-contact-card {
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 4px;
}


/* Улучшенные стили для карточек команды на странице контактов */
.team-contact-card h5 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.team-contact-card .card-name {
  font-weight: 500;
  font-size: 14px;
//  color: #000;
  margin: 8px 0;
}

.team-contact-card .card-phone,
.team-contact-card .card-additional-phone,
.team-contact-card .card-email {
  margin: 4px 0;
  font-size: 13px;
  color: #333;
}

.team-contact-card a {
  color: #93202f;
  text-decoration: none;
  transition: color 0.3s;
}

.team-contact-card a:hover {
  color: #000;
  text-decoration: underline;
}

/* Адаптивность для карточек */
@media (max-width: 768px) {
  .team-cards-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .team-contact-card {
    padding: 12px;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .contacts-section h1 {
    font-size: 36px;
  }
}

/* ========================================
   ПЕРЕКЛЮЧАТЕЛЬ КАРТ (КОНТАКТЫ)
   ======================================== */

.contact-map-wrapper {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.map-switcher {
  display: flex;
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
  padding: 10px;
}

.map-switcher-label {
  flex: 1;
  cursor: pointer;
  padding: 10px 20px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s;
  font-weight: 500;
  user-select: none;
}

.map-switcher-label:hover {
  background-color: #e0e0e0;
}

.map-switcher-label.active {
  background-color: #93202f;
  color: #fff;
  border-color: #93202f;
}

.map-switcher-label input[type="radio"] {
  display: none;
}

.map-switcher-label span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
}

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

.map-content {
  display: none;
  width: 100%;
  height: 400px;
}

.map-content.active {
  display: block;
}

.map-content iframe,
.map-content script,
.map-content .dg-widget-link {
  width: 100%;
}


/* Адаптивность */
@media (max-width: 768px) {
  .map-switcher {
    flex-direction: column;
    padding: 5px;
  }
  
  .map-switcher-label {
    padding: 8px 15px;
    margin: 2px 0;
  }
  
  .map-content {
    height: 300px;
  }
}



/* ============================================================================*/

/* ========================================
   РАЗДЕЛ "ПАРТНЁРЫ"
   ======================================== */

.partners-section {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 50px;
}

.partners-section h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Сетка партнёров */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Карточка партнёра ======================================================================================================== */
/* Дополнительно: эффект для карточки */
.partner-card {
  text-align: center;
  padding: 20px;
//  border: 1px solid #eee;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-5px);
//  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
//  border-color: #93202f;
}

/* Ссылка на логотип */
.partner-card a {
  display: block;
  text-decoration: none;
}

/* Логотип партнёра — по умолчанию серый с прозрачностью */
.partner-logo {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
  
  /* Эффект: серый + полупрозрачный */
  filter: grayscale(100%);
  opacity: 0.5;
  
  /* Плавный переход */
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* При наведении — цветной и полностью видимый */
.partner-card:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.partner-title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  margin: 10px 0;
}

.partner-desc {
  font-size: 13px;
  color: #666;
  margin: 10px 0 0;
  line-height: 1.4;
}

.no-partners {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

/* Приветственный текст */
.partners-intro {
  margin: 30px 0 40px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.partners-intro p {
  margin-bottom: 15px;
}

.partners-intro p:last-child {
  margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .partners-section h1 {
    font-size: 36px;
  }
  
  .partners-intro {
    margin: 20px 0 30px;
    font-size: 14px;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .partner-card {
    padding: 15px;
  }
  
  .partner-logo {
    max-height: 100px;
  }
}


/* ========================================
   РАЗДЕЛ "ДОКУМЕНТЫ"
   ======================================== */

.documents-section {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 50px;
}

.documents-section h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Аккордеон */
.documents-accordion {
  margin-top: 30px;
}

.document-section {
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}

/* Заголовок раздела */
.document-section-header {
  width: 100%;
  padding: 15px 20px;
  background: #fff !important;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
}

.document-section-header:hover {
  background: #f9f9f9;
}

.document-section-header[aria-expanded="true"] {
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 0.5px;
}

.section-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93202f;
  transition: transform 0.3s;
}

.section-title:hover {
  color: #93202f;
}

.document-section-header[aria-expanded="true"] .section-toggle .icon-plus {
  display: none;
}

.document-section-header[aria-expanded="true"] .section-toggle .icon-minus {
  display: block;
}

.document-section-header[aria-expanded="false"] .section-toggle .icon-minus {
  display: none;
}

.document-section-header[aria-expanded="false"] .section-toggle .icon-plus {
  display: block;
}

.section-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Содержимое раздела */
.document-section-content {
  display: none;
  padding: 20px;
  background: #fff;
}

.document-section-content.active {
  display: block;
}

/* Список документов */
.documents-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.document-item:last-child {
  border-bottom: none;
}

.document-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #000;
  transition: color 0.3s;
}

.document-link:hover {
  color: #93202f;
}

.document-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93202f;
}

.document-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.document-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.document-name {
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
}

.document-desc {
  font-size: 13px;
  color: #666;
}

.document-meta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.document-format {
  font-size: 12px;
  font-weight: 700;
  color: #93202f;
  background: #f5f5f5;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.document-date {
  font-size: 12px;
  color: #666;
}

/* Сообщения об отсутствии контента */
.no-documents,
.no-sections {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .documents-section h1 {
    font-size: 36px;
  }
  
  .document-section-header {
    padding: 12px 15px;
  }
  
  .section-title {
    font-size: 14px;
  }
  
  .document-link {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .document-info {
    order: 2;
    width: 100%;
  }
  
  .document-icon {
    order: 1;
  }
  
  .document-meta {
    order: 3;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
  }
  
  .document-name {
    font-size: 14px;
  }
  
  .document-desc {
    font-size: 12px;
  }
}




/* ========================================
   РАЗДЕЛ "КОМАНДА"
   ======================================== */

.team-section {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 50px;
}

/* Заголовок и меню */
.team-header {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 20px;
}

.team-section h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
  margin: 0;
}


/* Меню подразделов */
.team-tabs {
  display: flex;
  gap: 46px;
}


.team-tabs .tab3-link {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 10px;
  position: relative;
  transition: color 0.3s;
  text-decoration: none !important;
}

.team-tabs .tab3-link.active {
  color: #93202f;
  /* ПОЛНОСТЬЮ УБИРАЕМ ЛИНИИ И ПОДЧЕРКИВАНИЯ */
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Сетка команды */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 30px;
}

/* Карточка участника */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
}

/* Аватар */
.team-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
  background: #f5f5f5;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.team-card:hover .team-photo {
  filter: grayscale(0%);
}

/* Заглушка для фото */
.team-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
  color: #999;
}

.team-placeholder svg {
  width: 80px;
  height: 80px;
  fill: #999;
}

/* Имя */
.team-name {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.name-first,
.name-last {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  line-height: 1.2;
}

.team-card:hover .name-first,
.team-card:hover .name-last {
  color: #93202f;
}

/* Сообщение об отсутствии участников */
.no-members {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
}

/* Скрытие неактивных разделов */
.team-category {
  display: none;
}

.team-category.active {
  display: block;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .team-section h1 {
    font-size: 36px;
  }
  
  .team-tabs {
    gap: 20px;
  }
  
  .team-tabs .tab-link {
    font-size: 14px;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .team-avatar {
    width: 140px;
    height: 140px;
  }
  
  .team-placeholder svg {
    width: 60px;
    height: 60px;
  }
  
  .name-first,
  .name-last {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .team-avatar {
    width: 120px;
    height: 120px;
  }
}




/* ========================================
   РАЗДЕЛ "НОВОСТИ"
   ======================================== */

/* ========================================
   РАЗДЕЛ "НОВОСТИ"
   ======================================== */

.news-section {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 50px;
}

/* Заголовок и меню */
.news-header {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 20px;
}

.news-header h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
  margin: 0;
}

/* Переключение подразделов */
.news-tabs {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  margin: 0 10px;
  border-bottom: none !important;
  position: relative;
  z-index: 2;
}

.news-tabs .news-tab-link {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 10px;
  position: relative;
  transition: color 0.3s;
  text-decoration: none !important;
}

.news-tabs .news-tab-link.active {
  color: #93202f;
  border-bottom: none !important;
}

/* Контент разделов */
.news-content {
  margin: 30px 0 40px 0;
}

.news-subsection {
  display: none;
}

.news-subsection.active {
  display: block;
}

/* Заголовок подраздела и календарь */
.news-subsection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.news-subsection-header h2 {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin: 0;
}

/* Навигация по месяцам */
.news-month-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.news-month-nav .month-prev,
.news-month-nav .month-next {
  font-size: 24px;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
  padding: 5px 10px;
}

.news-month-nav .month-prev:hover,
.news-month-nav .month-next:hover {
  color: #93202f;
}

.news-month-nav .month-current {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  min-width: 150px;
  text-align: center;
}

.calendar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #000;
  transition: color 0.3s;
}

.calendar-toggle:hover {
  color: #93202f;
}

/* Выпадающий календарь */
.news-calendar-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 100;
}

.news-calendar-dropdown.active {
  display: block;
}

.news-calendar-dropdown #wp-calendar {
  width: 100%;
  border-collapse: collapse;
}

.news-calendar-dropdown #wp-calendar caption {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #000;
}

.news-calendar-dropdown #wp-calendar th,
.news-calendar-dropdown #wp-calendar td {
  padding: 8px;
  text-align: center;
  border: 1px solid #eee;
}

.news-calendar-dropdown #wp-calendar th {
  font-weight: 700;
  background: #f9f9f9;
}

.news-calendar-dropdown #wp-calendar a {
  color: #93202f;
  text-decoration: none;
  font-weight: 700;
}

/* Сетка новостей */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

/* Карточка новости */
.news-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.news-card-image {
  display: block;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.news-card-content {
  padding: 20px;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-card-title a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.news-card-title a:hover {
  color: #93202f;
}

.news-card-date {
  font-size: 13px;
  color: #666;
  text-transform: lowercase;
}

.news-card-date::first-letter {
  text-transform: uppercase;
}

/* Ссылка "Все новости" */
.news-all-link {
  text-align: center;
  margin: 40px 0;
}

.btn-all-news {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #000;
  transition: all 0.3s;
}

.btn-all-news:hover {
  background: #93202f;
  color: #fff;
  border-color: #93202f;
}

/* Баннеры */
.news-banners {
  margin-top: 50px;
}

/* Сообщения об отсутствии контента */
.no-news {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 16px;
  grid-column: 1 / -1;
}

/* Адаптивность */
@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .news-header h1 {
    font-size: 36px;
  }
  
  .news-tabs {
    gap: 20px;
  }
  
  .news-tabs .news-tab-link {
    font-size: 14px;
  }
  
  .news-subsection-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .news-subsection-header h2 {
    font-size: 28px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-card-image img {
    height: 200px;
  }
  
  .news-calendar-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 350px;
  }
}





/* Календарь новостей */
.news-calendar {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.news-calendar caption {
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px;
  color: #000;
  border-bottom: 1px solid #ddd;
}

.news-calendar th {
  padding: 8px 5px;
  text-align: center;
  font-weight: 700;
  background: #f5f5f5;
  color: #000;
  border-bottom: 1px solid #ddd;
}

.news-calendar td {
  padding: 8px 5px;
  text-align: center;
  border: 1px solid #eee;
  height: 35px;
  vertical-align: middle;
}

.news-calendar .calendar-day {
  cursor: default;
  transition: background 0.3s;
}

.news-calendar .calendar-day.has-news {
  background: #fff5f5;
}

.news-calendar .calendar-day.has-news a {
  color: #93202f;
  font-weight: 700;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  transition: background 0.3s;
}

.news-calendar .calendar-day.has-news a:hover {
  background: #93202f;
  color: #fff;
}

.news-calendar .calendar-day.today {
  background: #93202f;
  color: #fff;
  font-weight: 700;
}

.news-calendar .calendar-day:hover:not(.today):not(.has-news) {
  background: #f9f9f9;
}


/* Заголовок подраздела и календарь */
.news-subsection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
  position: relative; /* ВАЖНО: для позиционирования календаря */
}

/* Выпадающий календарь */
.news-calendar-dropdown {
  display: none; /* Скрыт по умолчанию */
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 1000; /* Поверх всех элементов */
  min-width: 280px;
  margin-top: 10px;
}

.news-calendar-dropdown.active {
  display: block; /* Показываем когда есть класс active */
}

/* Изображения новостей */
.news-card-image {
  display: block;
  overflow: hidden;
  position: relative;
  background: #f5f5f5;
}

.news-card-image img,
.news-thumbnail {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s;
}

.news-card:hover .news-card-image img,
.news-card:hover .news-thumbnail {
  transform: scale(1.05);
}

/* Адаптивность */
@media (max-width: 768px) {
  .news-card-image img,
  .news-thumbnail {
    height: 250px;
  }
}

 /* Выбор месяца и года в календаре */
.calendar-month-year-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding: 0 5px;
}

.calendar-month-select,
.calendar-year-select {
  flex: 1;
  padding: 8px 12px;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.calendar-month-select:hover,
.calendar-year-select:hover {
  border-color: #93202f;
}

.calendar-month-select:focus,
.calendar-year-select:focus {
  outline: none;
  border-color: #93202f;
  box-shadow: 0 0 0 2px rgba(147, 32, 47, 0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .calendar-month-year-selector {
    gap: 5px;
  }
  
  .calendar-month-select,
  .calendar-year-select {
    font-size: 12px;
    padding: 6px 10px;
  }
}




/* Стили для выпадающего списка годов с бегунком */
.calendar-month-select[size="12"]{
    height: auto; /* Высота под 12 элементов */
    background-image: none; /* Убираем стрелку, так как это список */
    overflow-y: hidden; /* Принудительный скролл */
    padding: 5px;
}
.calendar-year-select[size="12"] {
    height: auto; /* Высота под 12 элементов */
    background-image: none; /* Убираем стрелку, так как это список */
    overflow-y: scroll; /* Принудительный скролл */
    padding: 5px;
}

/* Для мобильных устройств список годов лучше сделать обычным выпадающим */
@media (max-width: 768px) {
    .calendar-month-select,
    .calendar-year-select {
        size: 1; /* На телефоне обычный dropdown */
        height: auto;
    }
}



/* Пагинация архива новостей */
.news-pagination {
  margin: 40px 0 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.news-pagination a:hover {
  background: #f5f5f5;
  border-color: #93202f;
  color: #93202f;
}

.news-pagination .current {
  background: #93202f;
  border-color: #93202f;
  color: #fff;
  font-weight: 700;
  cursor: default;
}

.news-pagination .dots {
  border: none;
  background: transparent;
  cursor: default;
}


/* Кнопка "Загрузить ещё" */

.btn-toggle-all {
    display: inline-block;
    padding: 12px 40px;
    background: transparent !important;
    color: #000 !important;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    border: 0px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: none !important;
}

.btn-toggle-all:hover {
    background: #93202f !important;
    color: #fff !important;
}

.btn-toggle-all:focus {
    outline: none !important;
    box-shadow: none !important;
}


.load-more-wrapper {
  text-align: center;
  margin: 40px 0 20px;
}

.btn-load-more {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #000;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #000;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Roboto', sans-serif;
}

.btn-load-more:hover:not(:disabled) {
  background: #93202f;
  color: #fff;
  border-color: #93202f;
}

.btn-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: #ccc;
  color: #999;
}





/* ========================================
   ОДИНОЧНАЯ НОВОСТЬ
   ======================================== */

.single-news-section {
  font-family: 'Roboto', sans-serif;
  margin-bottom: 50px;
  padding-top: 60px;  /* ← Больший отступ */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Дата */
.news-single-date {
  font-size: 14px;
  color: #666;
  text-transform: lowercase;
  margin-bottom: 15px;
}

.news-single-date::first-letter {
  text-transform: uppercase;
}

/* Заголовок */
.news-single-title {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* Изображение */
.news-single-featured-image {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 4px;
}

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

/* Контент новости */
.news-single-content {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 40px;
}

.news-single-content p {
  margin-bottom: 20px;
}

.news-single-content h2,
.news-single-content h3,
.news-single-content h4 {
  margin: 30px 0 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.news-single-content h2 {
  font-size: 28px;
}

.news-single-content h3 {
  font-size: 24px;
}

.news-single-content h4 {
  font-size: 20px;
}

.news-single-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 4px;
}

.news-single-content a {
  color: #93202f;
  text-decoration: underline;
}

.news-single-content a:hover {
  text-decoration: none;
}

.news-single-content ul,
.news-single-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.news-single-content li {
  margin-bottom: 10px;
}

.news-single-content blockquote {
  border-left: 4px solid #93202f;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #666;
}

/* Кнопка "Все новости" */
.news-single-back {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  text-align: left;
}

.btn-back-to-news {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #000;
  transition: all 0.3s;
}

.btn-back-to-news:hover {
  background: #93202f;
  color: #fff;
  border-color: #93202f;
}

/* Адаптивность */
@media (max-width: 768px) {
  .single-news-section {
    padding: 0 15px;
  }
  
  .news-single-title {
    font-size: 32px;
  }
  
  .news-single-content {
    font-size: 15px;
  }
  
  .news-single-content h2 {
    font-size: 24px;
  }
  
  .news-single-content h3 {
    font-size: 20px;
  }
}





/* Сетка архива: строго 2 столбца */
.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .news-archive-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Кнопка возврата в архиве */
.news-archive-back {
  margin-top: 40px;
  margin-bottom: 50px;  /* ← Добавлен отступ снизу */
  padding-top: 30px;
  border-top: 1px solid #ddd;
  text-align: left;
}

.btn-back-to-news {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid #000;
  transition: all 0.3s;
}

.btn-back-to-news:hover {
  background: #93202f;
  color: #fff;
  border-color: #93202f;
}







/* ========================================
   АФИША
   ======================================== */

/* ========================================
   АФИША - ШАПКА
   ======================================== */

.afisha-section {
    padding: 40px 0 60px;
    font-family: 'Roboto', sans-serif;
}

/* ✅ Основная сетка шапки: две колонки */
.afisha-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.afisha-header h1 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1px;
    margin: 0;
}

/* Левая колонка: заголовок + вкладки + кнопка */
.afisha-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 300px;
}

/* Строка заголовка и вкладок */
.afisha-title-row {
    display: flex;
    align-items: baseline;
    gap: 25px;
    flex-wrap: wrap;
}

.afisha-title {
    font-size: 64px;
    font-weight: 700;
    margin: 0;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
}

.afisha-months-tabs {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.afisha-month-tab {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.afisha-month-tab:hover {
    color: #93202f;
}

.afisha-month-tab.active {
    color: #93202f;
    font-weight: 700;
}

/* ✅ Кнопка скачивания — сразу под заголовком */
.afisha-download-row {
    margin-top: 5px;
}

.afisha-download-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    font-size: 14px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.afisha-download-btn:hover {
    background: #93202f;
    color: #fff;
    border-color: #93202f;
}

.afisha-download-btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
    color: #999;
}

/* Правая колонка: фильтры */
.afisha-header-right {
    margin-top: 20px;
    flex-shrink: 0;
}

.afisha-filters-form {
    margin: 0;
}

.afisha-filters-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.afisha-filter-select select {
    padding: 10px 35px 10px 15px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    min-width: 220px;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Чекбоксы в столбик */
.afisha-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.afisha-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.afisha-checkbox input[type="checkbox"] {
    cursor: pointer;
    accent-color: #93202f;
    width: 16px;
    height: 16px;
    margin: 0;
}

/* ✅ Карточка события — кнопка привязана по низу */
.afisha-event-card {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid #000; /* ✅ Разделитель сверху */
    align-items: stretch; /* Растягиваем колонки по высоте */
}

.afisha-event-card:last-child {
    border-bottom: 1px solid #000;
}

/* Дата (левая колонка) */
.afisha-event-date {
    min-width: 100px;
    text-align: left;
    padding-top: 5px;
    flex-shrink: 0;
}

.afisha-date-day {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}

.afisha-date-month {
    font-size: 14px;
    text-transform: lowercase;
    color: #000;
    margin-top: 2px;
}

.afisha-date-weekday {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-transform: lowercase;
}

.afisha-date-time {
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    color: #000;
}

.afisha-time-start {
    font-weight: 700;
}

.afisha-time-end {
    color: #666;
    font-weight: 400;
}

/* Фото */
.afisha-event-image {
    flex-shrink: 0;
    align-self: flex-start;
}

.afisha-event-image img {
    width: 240px;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.afisha-event-image a:hover img {
    transform: scale(1.02);
}

/* Информация (центр) */
.afisha-event-info {
    flex: 1;
    min-width: 0;
}

.afisha-event-author {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-style: italic;
}

.afisha-event-title {
    font-size: 22px;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #000;
}

.afisha-event-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.afisha-event-title-link:hover {
    color: #93202f;
}

.afisha-premiere-badge {
    color: #93202f;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.afisha-event-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.afisha-age {
    font-weight: 500;
}

.afisha-event-scene {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

/* ✅ Действия (правая колонка) — кнопка по низу */
.afisha-event-actions {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Пушкинская сверху, кнопка снизу */
    align-items: flex-end;
    padding-top: 5px;
    flex-shrink: 0;
}

.afisha-pushkin-card {
    margin-bottom: 10px;
}

.afisha-pushkin-card img {
    max-width: 70px;
    height: auto;
    display: block;
}

.afisha-buy-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-top: auto; /* ✅ Прижимаем к низу */
}

.afisha-buy-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.afisha-buy-btn:hover {
    background: #93202f;
}

.afisha-vacancies-text {
    font-size: 12px;
    color: #93202f;
    font-weight: 500;
    text-align: right;
}

/* ✅ Текст "Все билеты проданы" — привязан по низу, стиль как в макете */
.afisha-buy-status {
    font-size: 12px;
    color: #93202f;
    line-height: 1.5;
    text-align: right;
    max-width: 220px;
    margin-top: auto; /* ✅ Прижимаем к низу */
}

.afisha-buy-status a {
    color: #93202f;
    text-decoration: none;
}

.afisha-buy-status a:hover {
    text-decoration: underline;
}

.afisha-buy-status--unavailable {
    color: #666;
    font-style: italic;
}

.afisha-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

@media (max-width: 1024px) {
    .afisha-event-card {
        gap: 15px;
    }
    
    .afisha-event-image img {
        width: 200px;
        height: 133px;
    }
    
    .afisha-event-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .afisha-title {
        font-size: 42px;
    }
    
    .afisha-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .afisha-months-tabs {
        gap: 12px;
    }
    
    .afisha-month-tab {
        font-size: 14px;
    }
    
    /* Карточка в мобильной версии — вертикальная */
    .afisha-event-card {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .afisha-event-date {
        display: flex;
        gap: 10px;
        align-items: baseline;
        min-width: auto;
        padding-top: 0;
    }
    
    .afisha-date-day {
        font-size: 28px;
    }
    
    .afisha-date-month,
    .afisha-date-weekday,
    .afisha-date-time {
        margin-top: 0;
    }
    
    .afisha-event-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 3/2;
    }
    
    .afisha-event-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-width: auto;
        padding-top: 10px;
    }
    
    .afisha-buy-block {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-top: 0;
    }
    
    .afisha-buy-status {
        text-align: left;
        max-width: none;
        margin-top: 0;
    }
    
    .afisha-filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .afisha-filter-select select {
        width: 100%;
        min-width: auto;
    }
    
    .afisha-filter-checkboxes {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .afisha-title {
        font-size: 32px;
    }
    
    .afisha-event-title {
        font-size: 18px;
    }
    
    .afisha-date-day {
        font-size: 24px;
    }
    
    .afisha-buy-btn {
        padding: 10px 18px;
        font-size: 11px;
    }
}



/* ========================================
   УНИВЕРСАЛЬНЫЙ СЛАЙДЕР БАННЕРОВ
   ======================================== */

.universal-banner-slider {
    margin: 30px 0;
    padding: 0;
}

.universal-swiper {
    width: 100%;
    padding: 1rem 0;
}

.universal-swiper .swiper-slide {
    aspect-ratio: 3 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 4px;
}

.universal-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.universal-swiper .swiper-slide:hover img {
    transform: scale(1.02);
}

.universal-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Навигация */
.universal-swiper .swiper-pagination {
    position: relative !important;
    margin-top: 15px;
}

.universal-swiper .swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 1 !important;
}

.universal-swiper .swiper-pagination-bullet-active {
    background: #93202f !important;
}

.universal-swiper .swiper-button-next,
.universal-swiper .swiper-button-prev {
    background-color: #ffffff !important;
    color: #93202f !important;
    opacity: 0.7 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    transition: opacity 0.3s !important;
}

.universal-swiper .swiper-button-next:hover,
.universal-swiper .swiper-button-prev:hover {
    opacity: 1 !important;
}

.universal-swiper .swiper-button-next::after,
.universal-swiper .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold !important;
    color: #93202f !important;
}

.universal-swiper .swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: default !important;
}


/* Адаптивность */
@media (max-width: 768px) {
    .universal-banner-slider {
        margin: 20px 0;
    }
    
    .universal-swiper .swiper-slide {
        aspect-ratio: 16 / 9;
    }
}

/*****************************************/
/* ==========================================================================================
   ============================      ГЛАВНАЯ СТРАНИЦА   =====================================
   ========================================================================================== 
*/


/* ========================================
   СЛАЙДЕР ГЛАВНОЙ СТРАНИЦЫ
   ======================================== */

.main-slider-section {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.main-slider-swiper {
    width: 100%;
    height: 100%;
}

.main-slider-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

/* ========================================
   СЛАЙДЕР ГЛАВНОЙ СТРАНИЦЫ (через <img>)
   ======================================== */
/* ✅ Фоновое изображение через <img> */
.main-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Фоновое изображение *
.main-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} 
*/

/* Затемнение */
.main-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

/* Контент */
.main-slider-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
/*    padding-bottom: 80px; */
}

/* Левая часть: информация */
.main-slider-info {
    max-width: 600px;
    color: #fff;
}

/* Даты — плашка */
.main-slider-dates {
    margin-bottom: 20px;
    display: inline-block;
}

.main-slider-dates-wrapper {
    background: rgba(255, 255, 255, 0.7);
    color: #000;
    padding: 4px 8px;
    font-size: 19px;
    font-weight: 500;
    display: inline-block;
    border-radius: 2px;
}

.dates-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Автор */
.main-slider-author {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Название */
.main-slider-title {
    font-size: 64px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0px 0;
    line-height: 1;
    letter-spacing: -1px;
}

.main-slider-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.main-slider-title a:hover {
    color: #93202f;
}

/* Жанр и возраст — приподняты */
.main-slider-meta {
    display: flex;
    gap: 15px;
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px; /* ← Отрыв от низа */
}

.meta-genre::after {
    content: ',';
    margin-right: 5px;
}

/* Правая часть: действия */
.main-slider-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.main-slider-pushkin img {
    max-width: 80px;
    height: auto;
}

/* Кнопка с прозрачностью */
.main-slider-btn {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.7); /* ← Прозрачность */
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.main-slider-btn:hover {
    background: rgba(147, 32, 47, 0.9); /* ← Бордовый с прозрачностью */
    color: #fff;
}


/* Навигация */
.main-slider-button-next,
.main-slider-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-slider-button-next:hover,
.main-slider-button-prev:hover {
    background: rgba(255,255,255,0.4);
}

.main-slider-button-next {
    right: 30px;
}

.main-slider-button-prev {
    left: 30px;
}

.main-slider-button-next::after,
.main-slider-button-prev::after {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
}

.main-slider-button-next::after {
    content: '›';
}

.main-slider-button-prev::after {
    content: '‹';
}

/* Адаптивность */
@media (max-width: 1024px) {
    .main-slider-section {
        height: 550px;
    }
    
    .main-slider-title {
        font-size: 48px;
    }
    
    .main-slider-date-item .date-day {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .main-slider-section {
        height: 500px;
    }
    
    .main-slider-content {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        padding-bottom: 40px;
    }
    
    .main-slider-info {
        max-width: 100%;
    }
    
    .main-slider-title {
        font-size: 36px;
    }
    
    .main-slider-dates {
        gap: 20px;
    }
    
    .main-slider-date-item .date-day {
        font-size: 28px;
    }
    
    .main-slider-actions {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        margin-top: 20px;
    }
    
    .main-slider-button-next,
    .main-slider-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .main-slider-button-next {
        right: 15px;
    }
    
    .main-slider-button-prev {
        left: 15px;
    }
}


/* ========================================
   КУСОКИ НА ГЛАВНОЙ
   ======================================== */

.main-section {
    padding: 40px 0 40px;
    font-family: 'Roboto', sans-serif;
}

/* Шапка: заголовок + стрелка */
.main-header {
    margin-bottom: 15px;
}

.main-title {
    font-size: 64px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    letter-spacing: -1px;
    line-height: 1;
    margin: 0;
}

.main-header h1 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1px;
    margin: 0;
}


/* Ссылка теперь объединяет текст и стрелку в единую flex-область */
.main-title a {
    display: inline-flex;
    align-items: center;
    gap: 15px; /* Отступ между словом и стрелкой */
    color: #000 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-title a:hover {
    color: #93202f !important;
}

/* Контейнер стрелки */
.main-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Движение стрелки при наведении на любую часть ссылки (включая слово "Новости") */
.main-title a:hover .main-arrow {
    transform: translateX(5px);
}

.main-arrow svg {
    width: 60px;
    height: 60px;
    fill: currentColor; /* Автоматически покрасится в #93202f при ховере ссылки */
}



/* ========================================
   УНИВЕРСАЛЬНАЯ КНОПКА "ВСЕ..."
   Используется в Афише, Новостях и др.
   ======================================== */
.btn-toggle-all {
    display: inline-block;
    padding: 12px 40px;
    background: transparent !important;
    color: #000 !important;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    border: 0px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: none !important;
}

.btn-toggle-all:hover {
    background: #93202f !important;
    color: #fff !important;
}

.btn-toggle-all:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* ========================================
   КУСОК АФИШИ НА ГЛАВНОЙ
   ======================================== */


/* Шапка куска афиши - как на странице Афиша */
.main-afisha-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.main-afisha-title {
    font-size: 64px;
    font-weight: 700;
    margin: 0;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
}

.main-afisha-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.main-afisha-title a:hover {
    color: #93202f;
}

/* Вкладки месяцев */
.main-afisha-months-tabs {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.main-afisha-month-tab {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.main-afisha-month-tab:hover {
    color: #93202f;
}

.main-afisha-month-tab.active {
    color: #93202f;
    font-weight: 700;
}

/* Фильтры */
.main-afisha-filters {
    margin-bottom: 20px;
}

.main-afisha-filters-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.main-afisha-filter-select select {
    padding: 10px 35px 10px 15px;
    border: 1px solid #ccc;
    font-size: 14px;
    min-width: 220px;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.main-afisha-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-afisha-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.main-afisha-checkbox input[type="checkbox"] {
    cursor: pointer;
    accent-color: #93202f;
    width: 16px;
    height: 16px;
}

/* Карточка события */
.main-afisha-event-card {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-top: 1px solid #000;
    align-items: stretch;
}

.main-afisha-event-card:last-child {
    border-bottom: 1px solid #000;
}

.main-afisha-event-date {
    min-width: 100px;
    text-align: left;
    padding-top: 5px;
    flex-shrink: 0;
}

.main-afisha-date-day {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #000;
}

.main-afisha-date-month {
    font-size: 14px;
    text-transform: lowercase;
    color: #000;
    margin-top: 2px;
}

.main-afisha-date-weekday {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-transform: lowercase;
}

.main-afisha-date-time {
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    color: #000;
}

.main-afisha-time-start {
    font-weight: 700;
}

.main-afisha-time-end {
    color: #666;
    font-weight: 400;
}

.main-afisha-event-image {
    flex-shrink: 0;
    align-self: flex-start;
}

.main-afisha-event-image img {
    width: 240px;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.main-afisha-event-image a:hover img {
    transform: scale(1.02);
}

.main-afisha-event-info {
    flex: 1;
    min-width: 0;
}

.main-afisha-event-author {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-style: italic;
}

.main-afisha-event-title {
    font-size: 22px;
    margin: 0 0 10px 0;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #000;
}

.main-afisha-event-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.main-afisha-event-title-link:hover {
    color: #93202f;
}

.main-afisha-premiere-badge {
    color: #93202f;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.main-afisha-event-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.main-afisha-age {
    font-weight: 500;
}

.main-afisha-event-scene {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.main-afisha-event-actions {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 5px;
    flex-shrink: 0;
}

.main-afisha-pushkin-card {
    margin-bottom: 10px;
}

.main-afisha-pushkin-card img {
    max-width: 70px;
    height: auto;
    display: block;
}

.main-afisha-buy-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-top: auto;
}

.main-afisha-buy-btn {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.main-afisha-buy-btn:hover {
    background: #93202f;
}

.main-afisha-vacancies-text {
    font-size: 12px;
    color: #93202f;
    font-weight: 500;
    text-align: right;
}

.main-afisha-buy-status {
    font-size: 12px;
    color: #93202f;
    line-height: 1.5;
    text-align: right;
    max-width: 220px;
    margin-top: auto;
}

.main-afisha-buy-status a {
    color: #93202f;
    text-decoration: none;
}

.main-afisha-buy-status a:hover {
    text-decoration: underline;
}

.main-afisha-buy-status--unavailable {
    color: #666;
    font-style: italic;
}

/* Кнопка "Вся афиша" */
.main-afisha-toggle {
    text-align: center;
    margin-top: 30px;
}

.btn-toggle-afisha {
    display: inline-block;
    padding: 12px 40px;
    background: transparent;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.btn-toggle-afisha:hover {
    background: #93202f;
    color: #fff;
    border-color: #93202f;
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-afisha-title {
        font-size: 36px;
    }
    
    .main-afisha-event-card {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .main-afisha-event-date {
        display: flex;
        gap: 10px;
        align-items: baseline;
        min-width: auto;
        padding-top: 0;
    }
    
    .main-afisha-date-day {
        font-size: 28px;
    }
    
    .main-afisha-event-image img {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 3/2;
    }
    
    .main-afisha-event-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-width: auto;
        padding-top: 10px;
    }
    
    .main-afisha-buy-block {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-top: 0;
    }
    
    .main-afisha-buy-status {
        text-align: left;
        max-width: none;
        margin-top: 0;
    }
    
    .main-afisha-filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .main-afisha-filter-select select {
        width: 100%;
        min-width: auto;
    }
    
    .main-afisha-filter-checkboxes {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Заголовок "Афиша" всегда черный, при наведении - бордовый */
.afisha-title a,
.main-afisha-title a {
    color: #000 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.afisha-title a:hover,
.main-afisha-title a:hover {
    color: #93202f !important;
}


/* ========================================
   НОВОСТИ НА ГЛАВНОЙ СТРАНИЦЕ
   ======================================== */

/* Сетка новостей — 2 колонки */
.main-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

/* Карточка новости */
.main-news-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s;
}

.main-news-card:hover {
    transform: translateY(-5px);
}

.main-news-card-image {
    display: block;
    overflow: hidden;
}

.main-news-card-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s;
}

.main-news-card:hover .main-news-card-image img {
    transform: scale(1.05);
}

.main-news-card-content {
    padding: 20px 5px;
}

.main-news-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.main-news-card-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

.main-news-card-title a:hover {
    color: #93202f;
}

.main-news-card-date {
    font-size: 13px;
    color: #666;
    text-transform: lowercase;
}

.main-news-card-date::first-letter {
    text-transform: uppercase;
}

/* Кнопка "Все новости" */
.main-news-toggle {
    text-align: center;
    margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-news-title {
        font-size: 42px;
    }
    
    .main-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-news-card-image img {
        height: 220px;
    }
    
    .main-news-card-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .main-news-title {
        font-size: 36px;
    }
}


/* ========================================
   ПАРТНЁРЫ НА ГЛАВНОЙ СТРАНИЦЕ
   ======================================== */

/* Сетка логотипов */
.main-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

/* Карточка партнёра */
.main-partner-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s;
}

.main-partner-card:hover {
    transform: translateY(-3px);
}

.main-partner-card a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Логотип — серый по умолчанию */
.main-partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

/* При наведении — цветной */
.main-partner-card:hover .main-partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Запасной вариант: название вместо логотипа */
.main-partner-name {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-partner-card:hover .main-partner-name {
    color: #93202f;
}

/* Кнопка "Все партнёры" */
.main-partners-toggle {
    text-align: center;
    margin-top: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-partners-title {
        font-size: 42px;
    }
    
    .main-partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 20px;
    }
    
    .main-partner-logo {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .main-partners-title {
        font-size: 36px;
    }
    
    .main-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}





/* ========================================
   МОДАЛЬНОЕ ОКНО ПОИСКА (СВЕТЛОЕ)
   ======================================== */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.search-modal-container {
    position: relative;
    max-width: 800px;
    margin: 80px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: calc(100vh - 160px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    padding-top: 5px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 10;
}

.search-close-icon {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    display: block;
}

.search-modal-close:hover {
    background: #93202f;
    color: #fff;
    transform: rotate(90deg);
}

.search-modal-content {
    padding: 40px;
    overflow-y: auto;
    max-height: calc(100vh - 160px);
}

.search-modal-title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

/* Форма поиска */
.search-form {
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    border: none;
    border-bottom: 2px solid #000;
    outline: none;
    transition: border-color 0.3s;
    color: #000;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    border-bottom-color: #93202f;
}

/* Результаты поиска */
.search-results {
    margin-top: 20px;
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-result-item {
    margin: 0;
}

.search-result-link {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: #000;
    transition: color 0.3s;
}

.search-result-link:hover {
    color: #93202f;
}

.search-result-type {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #93202f;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.search-result-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.search-result-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.search-result-divider {
    border-top: 1px solid #000;
    margin: 0;
}

/* Состояния */
.search-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.search-error {
    text-align: center;
    padding: 40px 20px;
    color: #93202f;
    font-size: 16px;
}

/* Дата в результатах поиска (для новостей) */
.search-result-date {
    font-size: 13px;
    color: #666;
    text-transform: lowercase;
}

.search-result-date::first-letter {
    text-transform: uppercase;
}

/* Адаптивность */
@media (max-width: 768px) {
    .search-modal-container {
        margin: 0;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .search-modal-content {
        padding: 30px 20px;
        max-height: 100vh;
    }
    
    .search-modal-title {
        font-size: 24px;
    }
    
    .search-input {
        font-size: 16px;
    }
    
    .search-result-title {
        font-size: 18px;
    }
}







/* ========================================
   ВЕРСИЯ ДЛЯ СЛАБОВИДЯЩИХ
   ======================================== */























/* */
