/**
* Template Name: Mentor
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/* 
  Основные шрифты (ранее var(--default-font), var(--heading-font), var(--nav-font)):
  - Для body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
  - Для заголовков (h1-h6): "Raleway", sans-serif
  - Для навигации: "Poppins", sans-serif

  Основные цвета (ранее var(--default-color), var(--heading-color), var(--accent-color), var(--contrast-color), var(--surface-color)):
  - Базовый текст: #444444
  - Заголовки: #37423b
  - Акцентный: rgba(255, 255, 255, 0.15)
  - Контрастный (обычно белый): #ffffff
  - Поверхностный (фон карточек, блоков): #ffffff
  - Фон страницы по умолчанию (там, где ранее var(--background-color)): #ffffff

  Цвета для меню (ранее var(--nav-color), var(--nav-hover-color), var(--nav-mobile-background-color), var(--nav-dropdown-background-color), var(--nav-dropdown-color), var(--nav-dropdown-hover-color)):
  - Основной цвет ссылок меню: #272828
  - Ховер цвет ссылок меню: rgba(255, 255, 255, 0.15)
  - Фон мобильного меню: #ffffff
  - Фон dropdown: #ffffff
  - Цвет ссылок dropdown: #272828
  - Ховер цвет dropdown: rgba(255, 255, 255, 0.15)
*/

/*--------------------------------------------------------------
# Сброс и базовые стили
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth; /* Гладкая прокрутка вместо :root */
}

/* 1. Подключаем шрифты, если ещё не подключили */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;700&family=Prata&display=swap');

/* 2. Базовые стили: заголовки и текст */
body {
  font-family: 'Archivo', sans-serif; /* Базовый текстовый шрифт */
  color: #F9F1E7; /* Цвет основного текста */
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Prata', serif; /* Шрифт для заголовков */
  color: #131113; /* Цвет заголовков */
  margin: 0;
  /* Дополнительно: можете задать font-weight, размеры и т.п. */
}


a {
  color: #8F5738; /* Акцентный цвет */
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  /* Заменяем color-mix(in srgb, rgba(255, 255, 255, 0.15), transparent 25%) на rgba(95,207,128,0.75) 
     или любой другой вариант полупрозрачного акцента */
  color: rgba(143, 87, 56, 0.75);
  text-decoration: none;
}



/*--------------------------------------------------------------
# Классы для светлого и тёмного фона (были light-background, dark-background)
--------------------------------------------------------------*/
.light-background {
  /* Фон и поверхность для светлого режима */
  background-color: #f9f9f9;
}

.dark-background {
  /* Фон и цвета для тёмного режима */
  background-color: #060606;
  color: #ffffff; /* Текст станет белым */
}

.dark-background .surface-dark {
  /* Аналог var(--surface-color): #252525, если нужно для отдельных элементов */
  background-color: #252525;
}

/*--------------------------------------------------------------
# PHP Email Form Messages
--------------------------------------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: #ffffff; /* Ранее var(--surface-color) */
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid rgba(255, 255, 255, 0.15); /* Акцент */
  border-top-color: #ffffff; /* Поверхностный */
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Pulsating Play Button
--------------------------------------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  /* Радиа gradient с заменой переменной */
  background: radial-gradient(rgba(255, 255, 255, 0.15) 50%, rgba(95,207,128,0.25) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s forwards infinite steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(95,207,128,0.7);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid rgba(255, 255, 255, 0.15);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: #444444; /* Базовый цвет */
  background-color: rgba(143, 87, 56, 1); /* Прозрачность 90% не нужна, т.к. alpha=1 */
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-weight: 700;
  font-size: 30px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff; /* Белый текст лого */
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: #7e6253;
  background: #fedcc4;
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  /* Заменяем color-mix(in srgb, rgba(255, 255, 255, 0.15), transparent 15%) на rgba(95,207,128,0.85) */
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Навигация — Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu a,
  .navmenu a:focus {
    color: #e5d4c8; /* Новый цвет текста пунктов меню */
    padding: 18px 15px;
    font-size: 18px;
    font-family: "Poppins", sans-serif; /* Шрифт для меню */
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu li:last-child a {
    padding-right: 0;
  }
  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: rgba(255, 255, 255, 0.15); /* Ховер/актив — акцент */
  }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: #ffffff; /* Фон dropdown */
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: #272828; /* Цвет ссылок dropdown */
  }
  .navmenu .dropdown ul a i {
    font-size: 12px;
  }
  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: rgba(255, 255, 255, 0.15); /* Ховер в dropdown */
  }
  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Навигация — Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #272828;
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: #ffffff;
    /* Заменяем color-mix(in srgb, #444444, transparent 90%) на rgba(68,68,68,0.1) */
    border: 1px solid rgba(68, 68, 68, 0.1);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }
  .navmenu a,
  .navmenu a:focus {
    color: #e5d4c8; 
    padding: 10px 20px;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Заменяем color-mix(in srgb, rgba(255, 255, 255, 0.15), transparent 90%) на rgba(95,207,128,0.1) */
    background-color: rgba(95, 207, 128, 0.1);
    transition: 0.3s;
  }
  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: rgba(255, 255, 255, 0.15); 
    color: #ffffff;
  }
  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #e5d4c8;
  }
  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: #ffffff;
    transition: all 0.5s ease-in-out;
  }
  .navmenu .dropdown ul ul {
    /* Прозрачный беж: rgba(229, 212, 200, 0.1) */
    background-color: rgba(229, 212, 200, 0.1);
  }
  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  background-color: #F2DFCB; /* Светло-персиковый фон */
  padding: 40px 0;        /* Отступы сверху/снизу */
  font-family: "Archivo", sans-serif;
  color: #413731;
}

.footer .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;    /* Разрешаем перенос строк при недостатке места */
  gap: 30px;
  justify-content: space-between;
}

/* Каждая колонка */
.footer-col {
  flex: 1 1 200px;   /* Каждая колонка по возможности ~200px */
  min-width: 160px;  /* Минимальная ширина */
}

/* Левая колонка: логотип и копирайт */
.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Заголовки в колонках */
.footer-col h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #1d1b1c;
}

/* Списки ссылок */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  margin-bottom: 8px;
}
.footer-list a {
  color: #1d1b1c;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-list a:hover {
  color: #9B5537;
}

/* Адаптив: при экранах менее 768px – колонки в столбик */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #ffffff; /* Ранее var(--background-color) */
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  /* border-color: accent transparent accent transparent => rgba(255, 255, 255, 0.15) */
  border-color: rgba(255, 255, 255, 0.15) transparent rgba(255, 255, 255, 0.15) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: rgba(255, 255, 255, 0.15); /* Акцент */
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #ffffff; /* Контрастный */
  line-height: 0;
}

.scroll-top:hover {
  /* Заменяем color-mix(in srgb, rgba(255, 255, 255, 0.15), transparent 20%) на rgba(255, 255, 255, 0.15) */
  background-color: rgba(95, 207, 128, 0.8);
  color: #ffffff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Убираем задержку анимации AOS на мобильных
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  /* Аналог var(--default-color)=#444, var(--accent-color)=rgba(255, 255, 255, 0.15), var(--contrast-color)=#fff */
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
}

.page-title .heading {
  padding: 0 0;
  /* Заменяем color-mix(in srgb, #444444, transparent 90%) на rgba(68,68,68,0.1) */
  border-top: 1px solid rgba(68,68,68,0.1);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  /* Заменяем color-mix(in srgb, rgba(255, 255, 255, 0.15) 90%, black 5%) => 
     можно приблизительно заменить на: #54c776 или rgba(95,207,128,0.9) */
  background-color: rgba(95,207,128,0.9);
  padding: 0px 0;
}

.page-title nav a {
  color: #ffffff;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 0px;
  /* Заменяем color-mix(in srgb, #ffffff, transparent 70%) => rgba(255,255,255,0.3) */
  color: rgba(255, 255, 255, 0.3);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: #444444;
  background-color: #F9F1E7;
  padding: 0 0;
  scroll-margin-top: 900px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 0;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  /* Заменяем color-mix(in srgb, #444444, transparent 50%) на rgba(68,68,68,0.5) */
  color: rgba(68, 68, 68, 0.5);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15); /* Акцент */
  margin: 4px 10px;
}

.section-title p {
  color: #37423b; /* Заголовочный цвет */
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: "Archivo", sans-serif;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh; /* Высота секции занимает всю высоту экрана */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fefcf9;
  padding: 0;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #8f5738 70%, #f9f1e7 30%);
  z-index: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  height: 100%; /* Добавлено: контейнер занимает всю высоту секции */
  z-index: 1;
  
  flex-grow: 1;
}

.hero-content {
  flex: 1 1 50%;
  z-index: 1;
}

.hero-content h2 {
  font-family: 'Prata', serif; /* Используем шрифт Prata */
  font-size: 65px; /* Размер текста 65px */
  font-weight: 400; /* Regular (толщина шрифта) */
  line-height: 1.12; /* 112% от размера шрифта */
  letter-spacing: 0; /* Отсутствие межбуквенного интервала */
  color: #FEFCF9; /* Цвет текста */
  text-align: left; /* Центрирование текста */
  z-index: 1; /* Остаётся выше фона */
}



.hero-content p {
  font-size: 18px;
  color: #e7d1c1;
  z-index: 1;
}

.hero-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
}
/* Примерный минимум – при необходимости можете добавить в свой файл */
.about {
  padding-bottom: 60px;
  display: flex; /* Если у вас так было – можно оставить */
  align-items: center; 
  /* justify-content: center; <-- осторожнее с этим, иначе col-12 может «съёжиться» */
}

/* Обёртка, ограничивающая ширину текста и центрирующая его */
.about .text-wrapper {
  max-width: 1200px;  /* Ширина, при которой заголовок начнёт переноситься */
  margin: 0 auto;    /* Центрирование всей обёртки */
  text-align: center;
  padding: 2rem 1rem; /* При желании добавить вертикальных и горизонтальных отступов */
}
.about .text-paper {

  max-width: 600px;
  margin: 0 auto;    /* Центрирование всей обёртки */
  text-align: center;

}
.about h3 {
  margin-top: 2rem;
  font-family: 'Prata', serif; /* Если используете Prata */
  font-size: 4rem;             /* Крупный размер */
  font-weight: 200;            /* Как указали */
  line-height: 1;            /* Оптимальный межстрочный интервал */
  color: #131113;              /* Тёмный цвет */
}

/* Оформление текста */
.about .custom-text.fst-italic {
  color: #958E89;              /* Если нужно применить цвет для текста */
}

/* Чтобы картинка не растягивалась за границы */
.about img.img-fluid {
  max-width: 95%;
  height: auto;
  border-radius: 20px;
}



/* Общие стили для секции */
.courses-section {
  background-color: #F9F1E7; /* Светлый фон страницы */
  padding: 60px 0;
  font-family: Prata; /* Можно указать любой шрифт */
}
.team-section {
  background-color: #F9F1E7; /* Светлый фон страницы */
  padding: 60px 0;
  font-family: Prata; /* Можно указать любой шрифт */
}
/* Контейнер с фиксированной шириной (при желании можно оставить bootstrap-классы) */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Заголовки секции */
.section-title {
  font-size: 72px;
  text-align: center;
  margin-bottom: 10px;
  color: #1D1B1C;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #C48E7C;
  font-size: 28px;
}
.section-subtitle1 {
  text-align: center;
  margin-bottom: 40px;
  color: #7A7570;
  font-size: 21px;
}
.courses-wrap {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Общая карточка */
.course-item {
  flex: 1 1 30%;
  min-width: 300px;
  max-width: 420px;
  height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.course-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Цвета карточек */
.course-item-1 {
  background-color: #506056;
  color: #FCFAF3;
}
.course-item-2 {
  background-color: #F3E0CD;
  color: #2A2522;
}
.course-item-3 {
  background-color: #915339;
  color: #FCFAF3;
}

/* Изображение */
.course-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Заголовки */
.course-title1 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
  color: white;
}

.course-title2 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
}
/* Описания */
.course-description,
.course-description1,
.course-description2 {
  font-size: 18px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Тренер */
.trainer-profile {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 12px;
}

.trainer-profile img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

.trainer-link,
.trainer-link2 {
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.trainer-link:hover,
.trainer-link2:hover {
  color: #FFDDB5;
}

/* Профиль тренера */
.trainer-profile {
  display: flex;
  align-items: center;
  margin-top: 20px;
}
.trainer-profile img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}
.trainer-link {
  margin-left: 10px;
  font-weight: 600;
  font-size: 17px;
  color: #FCFAF3;
  text-decoration: none;
  transition: color 0.3s;
}
.trainer-link2 {
  margin-left: 10px;
  font-weight: 600;
  font-size: 17px;
  color: #6D5F55;
  text-decoration: none;
  transition: color 0.3s;
}
.trainer-link:hover {
  color: #dfbb91; /* Тот же оттенок, что и в примерах */
}

/* Кнопка "Go To Courses" */
.courses-button-wrap {
  text-align: center;
  margin-top: 40px;
}
.btn-courses {
  background-color: #995536; /* Цвет кнопки */
  color: #F4E4D3;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.3s;
}
.btn-courses:hover {
  color: #ffffff;
}

/* Адаптивность: расположение карточек в столбик на узких экранах */
@media (max-width: 768px) {
  .courses-wrap {
    flex-direction: column;
    align-items: center;
  }
}


/*--------------------------------------------------------------
# Trainers Index Section
--------------------------------------------------------------*/
.trainers-index .member {
  background-color: #ffffff;
  /* Заменяем color-mix(in srgb, #444444, transparent 90%) => rgba(68,68,68,0.1) */
  border: 1px solid rgba(68, 68, 68, 0.1);
  text-align: center;
  margin-bottom: 20px;
}

.trainers-index .member img {
  margin: -1px -1px 30px -1px;
}

.trainers-index .member .member-content {
  padding: 0 20px 30px 20px;
}

.trainers-index .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.trainers-index .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  /* Заменяем color-mix(in srgb, #444444, transparent 20%) => rgba(68,68,68,0.8) */
  color: rgba(68, 68, 68, 0.8);
}

.trainers-index .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  /* Заменяем color-mix(in srgb, #444444, transparent 40%) => rgba(68,68,68,0.6) */
  color: rgba(68, 68, 68, 0.6);
}

.trainers-index .member .social {
  margin-top: 15px;
}

.trainers-index .member .social a {
  /* Заменяем color-mix(in srgb, #444444, transparent 60%) => rgba(68,68,68,0.4) */
  color: rgba(68, 68, 68, 0.4);
  transition: 0.3s;
}

.trainers-index .member .social a:hover {
  color: rgba(255, 255, 255, 0.15);
}

.trainers-index .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  background-color: #ffffff;
  /* Заменяем color-mix(in srgb, #444444, transparent 90%) => rgba(68,68,68,0.1) */
  border: 1px solid rgba(68, 68, 68, 0.1);
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  position: relative;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #ffffff;
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  /* Заменяем color-mix(in srgb, #444444, transparent 50%) => rgba(68,68,68,0.5) */
  color: rgba(68,68,68,0.5);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  /* Заменяем color-mix(in srgb, rgba(255, 255, 255, 0.15), transparent 60%) => rgba(95,207,128,0.4) */
  color: rgba(95, 207, 128, 0.4);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: rgba(255, 255, 255, 0.15);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }
  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }
  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }
  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Courses Course Details Section
--------------------------------------------------------------*/
.courses-course-details {
  padding-bottom: 20px;
}

.courses-course-details h3 {
  font-size: 24px;
  margin: 30px 0 15px 0;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.courses-course-details h3:before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  /* Заменяем color-mix(in srgb, #444444, transparent 90%) => rgba(68,68,68,0.1) */
  height: 1px;
  background: rgba(68, 68, 68, 0.1);
  bottom: 0;
  left: 0;
}

.courses-course-details h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  bottom: 0;
  left: 0;
}

.courses-course-details .course-info {
  /* Заменяем color-mix(in srgb, #444444, transparent 95%) => rgba(68,68,68,0.05) */
  background: rgba(68,68,68,0.05);
  padding: 10px 15px;
  margin-bottom: 15px;
}

.courses-course-details .course-info h5 {
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.courses-course-details .course-info p {
  margin: 0;
  font-weight: 600;
}

.courses-course-details .course-info a {
  color: rgba(255, 255, 255, 0.15);
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  padding-top: 30;
}

.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  background-color: #ffffff;
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: #444444;
  border-radius: 0;
  /* Заменяем color-mix(in srgb, #444444, transparent 90%) => rgba(68,68,68,0.1) */
  border-right: 2px solid rgba(68,68,68,0.1);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: rgba(255, 255, 255, 0.15);
}

.tabs .nav-link.active {
  background-color: #ffffff;
  color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  /* Заменяем color-mix(in srgb, #444444, transparent 20%) => rgba(68,68,68,0.8) */
  color: rgba(68, 68, 68, 0.8);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }
  .tabs .nav-link.active {
    color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.15); 
  }
}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
.trainers .member {
  position: relative;
}

.trainers .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .trainers .member .member-img {
    margin: 0 60px;
  }
}

.trainers .member .member-img img {
  position: relative;
  z-index: 1;
}

.trainers .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.trainers .member .member-img .social a {
  transition: 0.3s;
  color: #ffffff;
  font-size: 20px;
  margin: 0 8px;
}

.trainers .member .member-img .social a:hover {
  color: rgba(255, 255, 255, 0.15);
}

.trainers .member .member-info {
  margin-top: 30px;
}

.trainers .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.trainers .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  /* Заменяем color-mix(in srgb, #444444, transparent 40%) => rgba(68,68,68,0.6) */
  color: rgba(68, 68, 68, 0.6);
  margin-bottom: 10px;
}

.trainers .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.trainers .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}
/* Общие стили для секции Events */
.events {
  padding: 60px 0;
  background-color: #fdf1e4; /* Светлый кремовый фон (можно заменить на свой) */
}

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

/* Заголовок и подзаголовок */
.events__title {
  text-align: center;
  font-size: 4rem;
  margin-bottom: 0.5rem;
  color: #444; 
}

.events__subtitle {
  text-align: center;
  color: #7A7570;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Блок одной “карточки” мероприятия */
.events__item {
  display: flex;
  flex-wrap: wrap; /* Чтобы на узких экранах перенести блоки друг под другим */
  align-items: center;
  gap: 5rem;
}

/* Изображение */
.events__image {
  flex: 1 1 300px; /* чтобы блок с фото ужимался при узком экране */
}
.events__image img {
  width: 800px;
  border-radius: 16px;
  object-fit: cover;
}

/* Текстовая часть */
.events__content {
  flex: 1 1 400px; /* чтобы текстовая часть тоже была гибкой */
  max-width: 600px;
}

.events__content-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #252223;
}

.events__content-date {
  font-style: italic;
  margin-bottom: 1rem;
}

.events__content-text {
  color: #6A6460;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Кнопка */
.events__btn {
  padding: 0.75rem 1.5rem;
  background-color: #b36442; /* Коричневый/ближе к оранжевому */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.events__btn:hover {
  background-color: #9b5537;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: #ffffff;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  /* Заменяем color-mix(in srgb, #444444, transparent 20%) => rgba(68,68,68,0.8) */
  color: rgba(68,68,68,0.8);
  /* Заменяем color-mix(in srgb, #444444, transparent 95%) => rgba(68,68,68,0.05) */
  background: rgba(68,68,68,0.05);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: "Raleway", sans-serif;
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  /* Заменяем color-mix(in srgb, #444444, transparent 40%) => rgba(68,68,68,0.6) */
  color: rgba(68,68,68,0.6);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: rgba(255, 255, 255, 0.15);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  /* Заменяем color-mix(in srgb, #444444, transparent 40%) => rgba(68,68,68,0.6) */
  color: rgba(68,68,68,0.6);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  /* Заменяем color-mix(in srgb, #444444, transparent 95%) => rgba(68,68,68,0.05) */
  background: rgba(68,68,68,0.05);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  /* Заменяем color-mix(in srgb, rgba(255, 255, 255, 0.15), transparent 20%) => rgba(255, 255, 255, 0.15) */
  background: rgba(255, 255, 255, 0.15);
}

.pricing .featured h3 {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.pricing .advanced {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/* ==== Общие стили для блока контактов ==== */
.contact {
  background-color: #F9F1E7; /* Бежевый/кремовый фон под форму и текст */
  /* При необходимости отрегулируйте отступы */
  padding-bottom: 60px; 
}

.contact__map-container {
  /* Ширина 90%, по центру */
  width: 90%;
  margin: 0 auto 40px auto;
  padding-top: 10px;
  /* При необходимости задайте фиксированную высоту */
  height: 380px; 
  /* Можно добавить скругления, тень и т.д. при желании */
}

.contact__map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* Контейнер для контента (иконки + форма) */
.contact__content {
  display: flex;
  flex-wrap: wrap; /* На мобильном устройстве перейдёт в столбик */
  gap: 80px;       /* Расстояние между левым и правым блоками */
  align-items: flex-start; 
}

/* Левая часть — информация */
.contact__info {
  flex: 1 1 300px; 
  max-width: 700px; /* Чтобы слишком широко не растягивалось */
}

.contact__title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.contact__description {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Расстояние между строками с иконками */
}

/* Один пункт с иконкой и текстом */
.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #333;
}

/* Правая часть — форма */
.contact__form {
  flex: 1 1 400px;
  max-width: 600px;
}

/* Группа (label + input/textarea) */
.contact__form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.contact__form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Две колонки в одной строке (для имени и фамилии) */
.contact__form-row {
  display: flex;
  gap: 20px;
}

.contact__form-row .contact__form-group {
  flex: 1;
}

/* Поля формы */
.contact__form-group input,
.contact__form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  border-radius: 4px;
  font-size: 14px;
  color: #444;
}

.contact__form-group input:focus,
.contact__form-group textarea:focus {
  outline: none;
  border-color: #999; /* Или любой другой hover-цвет */
}

/* Кнопка отправки */
.contact__btn-submit {
  padding: 10px 30px;
  background-color: #000;  /* Чёрная кнопка */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact__btn-submit:hover {
  background-color: #333; /* чуть светлее при ховере */
}

/* Адаптив: на очень узких экранах чтобы блоки 100% ширины */
@media (max-width: 768px) {
  .contact__content {
    flex-direction: column;
  }
}
/* Внешняя обёртка с фиксированной высотой */
.team-wrap {
  width: 680px;
  height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #F3E0CD;
  transition: transform 0.3s ease-in-out;
}

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

/* Обёртка, чтобы весь контент был распределён равномерно */
.team-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: center;

  text-align: center;
}

.team-description {
  margin-bottom: auto; /* <-- Важный момент: отталкивает блок вниз */
  display: flex;
  align-items: center;
  justify-content: center;
}


.team-description p {
  font-size: 32px;
  line-height: 1.6;
  color: #8D7D72;
  max-width: 90%;
}


/* Фото */
.team-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 5px solid #ddd;
}

/* Имя */
.team-item h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #554B40;
  text-align: center;
}

/* Должность */
.team-item h4 {
  font-size: 1.2rem;
  color: #B67E68;
  margin-bottom: 15px;
  text-align: center;
}

/* Описание */
.team-item p {
  font-size: 20px;
  line-height: 1.6;
  color: #8D7D72;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* Обеспечить равную высоту карточек внутри свайпера */
.swiper-slide {
  display: flex;
  align-items: stretch;
}

/* Обеспечить, чтобы весь swiper был равномерным по высоте */
.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.bi-quote {
  color: #ff4a57;
  font-size: 1.2rem;
}

.language-switcher {
  /* 
    Если у вас уже весь header окрашен в #8F5738, 
    можно убрать фон здесь и оставить только выравнивание.
  */
  /* background-color: #8F5738;  <-- добавьте, если нужно именно тут фон */
  
  display: flex;
  align-items: center;
  gap: 5px; /* расстояние между ссылками */
}

.language-switcher a {
  text-decoration: none;
  color: #fedcc4;   /* Белый текст — контрастно на #8F5738 */
  font-weight: 500;
  
  /* «Таблетка»: небольшие отступы и скруглённые края */
  padding: 3px 12px;
  border-radius: 4px; 
  transition: background-color 0.3s ease;
}

.language-switcher a:hover {
  /* При наведении — лёгкая полупрозрачная заливка */
  background-color: rgba(255, 255, 255, 0.15)
}

.language-switcher a.active {
  /* Активный язык: белая «пилюля» с коричнево-рыжим текстом */
  background-color: #fedcc4;
  color: #8F5738;
  font-weight: 600;
}


.custom-container {
  width: 100%;
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 0;
  padding-left: 0;
}

.customm-margin {
  margin-left: 0px; /* Сдвигает элемент вправо */
}

.collaborations-section {
  padding: 60px 0 60px 0;
  background: #faf7f3;
}

.collaborations-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #3c2e28;
  letter-spacing: 0.01em;
}

.collaboration-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.collab-column {
  flex: 1 1 360px;
  min-width: 300px;
}

.collab-column h3 {
  font-size: 1.4rem;
  color: #7a5c48;
  margin-bottom: 22px;
  font-weight: 600;
  border-left: 4px solid #d6c6b5;
  padding-left: 13px;
  letter-spacing: 0.01em;
}

.collab-box {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 24px 0 rgba(144, 108, 81, 0.07);
  padding: 28px 26px;
}

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

.collab-links li {
  margin-bottom: 14px;
}

.collab-links a {
  font-size: 1.12rem;
  color: #423b33;
  text-decoration: none;
  transition: color 0.23s cubic-bezier(.22,.61,.36,1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px dotted #eee2d2;
  padding-bottom: 1px;
}

.collab-links a:hover {
  color: #a06c4e;
  border-bottom: 1px solid #e2be9f;
}

.collab-arrow {
  font-size: 1.1em;
  color: #a06c4e;
  opacity: 0.7;
  margin-left: 3px;
  transition: opacity 0.2s;
}

.collab-links a:hover .collab-arrow {
  opacity: 1;
}

@media (max-width: 900px) {
  .collaboration-grid {
    flex-direction: column;
    gap: 26px;
  }
  .collab-column {
    min-width: 0;
    width: 100%;
  }
}

.publications-section {
  background: #faf7f3;
  padding: 56px 0 56px 0;
}

.publications-container {
  max-width: 750px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 36px;
  color: #3c2e28;
}

.publications-list-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 28px 0 rgba(160, 108, 78, 0.07);
  padding: 34px 34px 28px 34px;
}

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

.publications-list li {
  margin-bottom: 17px;
}

.publications-list a {
  font-size: 1.13rem;
  color: #473b2f;
  text-decoration: none;
  transition: color 0.23s cubic-bezier(.22,.61,.36,1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px dotted #eee2d2;
  padding-bottom: 1px;
}

.publications-list a:hover {
  color: #a06c4e;
  border-bottom: 1px solid #a06c4e;
}

.pub-arrow {
  font-size: 1.12em;
  color: #a06c4e;
  opacity: 0.7;
  margin-left: 2px;
  transition: opacity 0.2s;
}

.publications-list a:hover .pub-arrow {
  opacity: 1;
}

@media (max-width: 600px) {
  .publications-list-box {
    padding: 20px 10px 16px 10px;
  }
}
/* Контейнер секции */
.events .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Список ивентов */
.events__list {
  display: flex;
  flex-direction: column;
  gap: 46px;
  margin-top: 34px;
}

/* Карточка ивента */
.events__item {
  display: flex;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(160, 108, 78, 0.11), 0 1.5px 8px rgba(80, 96, 86, .09);
  overflow: hidden;
  align-items: stretch;
  transition: box-shadow 0.25s;
  max-width: 1200px;
  margin: 0 auto;
}

.events__item:hover {
  box-shadow: 0 8px 48px rgba(160,108,78,0.18), 0 1.5px 14px rgba(80,96,86,.17);
}

/* Фото */
.events__image {
  flex: 0 0 360px;
  max-width: 360px;
  min-height: 290px;
  background: #f3e0cd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.events__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Текст */
.events__content {
  padding: 44px 44px 44px 60px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events__content-title {
  font-size: 1.36rem;
  font-weight: 700;
  color: #473c31;
  margin-bottom: 9px;
  font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
}

.events__content-date {
  font-size: 1.07rem;
  color: #a07c53;
  margin-bottom: 13px;
  font-weight: 500;
  font-style: italic;
}

.events__content-text {
  font-size: 1.09rem;
  color: #4c3b2a;
  margin-bottom: 22px;
  max-width: 600px;
  line-height: 1.59;
}

.events__btn {
  align-self: flex-start;
  background: #a06c4e;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 32px;
  font-size: 1.13rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 6px rgba(160,108,78,0.13);
}
.events__btn:hover {
  background: #7a4e2f;
  color: #fff;
  box-shadow: 0 4px 22px rgba(160,108,78,0.17);
}

@media (max-width: 1100px) {
  .events__item {
    max-width: 98vw;
  }
  .events__image {
    flex: 0 0 220px;
    max-width: 220px;
    min-height: 160px;
  }
  .events__content {
    padding: 24px 20px 26px 22px;
  }
}

@media (max-width: 850px) {
  .events__item {
    flex-direction: column;
    max-width: 99vw;
  }
  .events__image {
    max-width: 100%;
    width: 100%;
    border-radius: 22px 22px 0 0;
    min-height: 180px;
  }
  .events__content {
    padding: 18px 13px 24px 16px;
  }
}
@media (max-width: 600px) {
  .events .container {
    padding: 0 2px;
  }
  .events__content-title {
    font-size: 1.03rem;
  }
  .events__content-date,
  .events__content-text {
    font-size: 0.98rem;
  }
  .events__btn {
    font-size: 0.97rem;
    padding: 9px 15px;
  }
}
.page-side-padding {
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 768px) {
    .page-side-padding {
        padding-left: 16px;
        padding-right: 16px;
    }
}

