/* styles.css */
.container {
  outline: solid 1px red !important;
}
[class*="mask-icon"] {
  width: 3.6rem;
  height: 3.6rem;
  display: inline-flex;
  align-items: center;
  background: #000;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  position: relative;
}

.row {
  --bs-gutter-x: 1.5rem * 2;
}

::-webkit-scrollbar-thumb {
  background-color: #0076bf;
  border-radius: 30px;
}
::-webkit-scrollbar-track {
  background-color: #fff;
}
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background-color: #fff;
  position: relative;
  z-index: 10;
}

.mask-icon-pin {
  mask-image: url(svg/pin.svg);
}

.mask-icon-phone {
  mask-image: url(svg/phone.svg);
}

.body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Минимальная высота равна высоте окна */
  padding-top: 38rem;
  overflow-x: hidden;
}

.wrapper {
  flex: 1; /* Растягиваем контент на всю доступную высоту */
}

p {
  line-height: 125%;
}

/* Футер */
.footer {
  background-color: #0076bf;
  color: #fff;
  padding: 4.5rem 0;
  margin-top: auto; /* Чтобы футер прижимался к низу */
}

/* Ряды футера */
.footer__row--top {
  margin-bottom: 0;
  justify-content: space-between;
}

/* Колонки футера */
.footer__col {
  margin-bottom: 20px;
}

.footer__title {
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 8px;
}

.footer__title-link {
  text-decoration: none !important;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__item {
  margin-bottom: 0;
  line-height: 100%;
}

.footer__link,
.footer__link-contact {
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 400;
  line-height: 100%;
}

.footer__link {
  text-transform: uppercase;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__link-contact {
  font-size: 11px;
  margin-bottom: 10px;
  line-height: 150%;
}

.footer__link-contact a {
  font-weight: 600;
}

/* Логотип и текст */
.footer__logo-img {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
}

.footer__text {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.7rem;
}

.footer a {
  color: #fff;
}

.footer__list-social {
  display: flex;
  gap: 1.3rem;
}

@media (min-width: 1500px) {
  .footer__title-social {
    text-align: right;
  }
  .footer__list-social {
    justify-content: end;
  }
}

.footer__logo * {
  fill: #fff;
}

.footer__col--logo {
  display: flex;
  align-items: center;
  gap: 2.7rem;
}

.footer__menu-block {
  margin-bottom: 5.8rem;
}

.footer__menu-block:last-child {
  margin-bottom: 0;
}

.main {
  padding-bottom: 9rem;
}

/* Хэдер */
.header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding-top: 38px;
  transition: all 0.3s;
}

/* Первый ряд */
.header__top {
  padding: 15px 0;
}

.header__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo-img {
  transition: all 0.3s ease;
}

.header__logo-text {
  color: rgb(51, 51, 51);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 4.3rem;
  padding-top: 1.8rem;
  letter-spacing: 0.05px;
}

.header__logo-link {
  gap: 3.5rem;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.header__contacts {
  padding-left: 3rem;
  gap: 15px;
  display: flex;
  flex-direction: column;
  padding-top: 11px;
}

.header__phone,
.header__address {
  display: flex;
  align-items: center;
  font-weight: 300;
  font-size: 15px;
  gap: 2.2rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: 0;
}

.header__booking {
  padding: 2.5rem 0 0 0;
}

.header__booking-link {
  font-weight: 500;
  position: relative;
  margin-left: auto !important;
}

.header__booking-link:after {
  content: url(svg/jiraff-1.svg);
  position: absolute;
  left: -8rem;
  transition: all 0.3s ease;
}

.header__booking-link:hover:after {
}

/* Второй ряд: навигация */
.header__bottom {
  margin-top: 5.8rem;
}

.header__nav-list {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.header__nav-link {
  color: #0f3b73;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header__nav-link:hover {
}

/* Подменю */
.header__submenu {
  display: none;
  position: absolute;
  background-color: #fff;
  padding: 10px;
  border-radius: 25px;
  border: solid 3px #0f3b73;
  left: 10%;
  list-style: none;
  padding: 2.2rem 0 1.4rem;
  transition: all 0.3 ease;
  margin-top: 10px;
  min-width: 440px;
  left: 50%; /* Сдвигаем меню на 50% вправо относительно родителя */
  transform: translateX(-50%);
}

.header__submenu:before {
  content: "";
  width: 100%;
  height: 20px;
  background: transparent;
  display: block;
  top: -20px;
  position: absolute;
}

.header__nav-item:hover .header__submenu {
  display: block;
}
.header__nav-item {
  position: relative;
  padding: 0;
  outline: #0076bf 1px solid !important;
}

.header__nav-item:nth-child(even) > a {
  position: relative;
  left: -12px;
}
.header__nav-item:nth-child(odd) > a {
  position: relative;
  right: -12px;
}

.header__submenu-link {
  text-transform: uppercase;
  text-decoration: none !important;
  display: block;
  font-weight: 300;
  text-align: center;
  font-size: 16px;
  letter-spacing: -0.75px;
  padding: 3px 25px;
  position: relative;
  transition: all 0.3s ease;
}

.header__submenu-link::after {
  content: attr(data-title);
  opacity: 1;
  font-weight: 600;
  position: absolute;
  top: 3px;
  width: 100%;
  left: 0;
  color: transparent;
  transition: all 0.3s ease;
  padding: 0 25px;
}

.header__submenu-link:hover {
  color: transparent;
}

.header__submenu-link:hover::after {
  color: #0f3b73;
}

.nav-item__logo {
  width: 0;
  height: 0;
  display: none;
  transition: all 0.3s;
}

.nav-item__logo-img {
  width: 80px;
  position: relative;
  top: -5px;
  transform: scale(1.25);
}

.header--minimized .header__nav-link.jiraff-button {
  min-width: 190px;
  max-width: 210px;
}

.header--minimized .header__nav-item:nth-child(2) {
  margin-left: auto;
}

.header--minimized .nav-item__logo {
  display: block;
  width: 80px;
  height: auto;
  margin-right: 15px;
}

.header--minimized.header {
  padding-top: 0;
}

.header--minimized .header__top {
  display: none;
}

.header--minimized .header__bottom {
  margin-top: 1rem;
  padding-bottom: 1rem;
}

.jiraff-button {
  min-width: 214px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 66px;
  text-decoration: none !important;
  position: relative;
  border: 0;
  background: transparent;

  max-width: 210px;
}

.header__nav-item:last-child {
}

.jiraff-button::before {
  content: "";
  border: solid 3px #0f3b73;
  border-radius: 15px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: perspective(240px) rotateY(15deg);
  transition: all 0.3s ease;
}

.jiraff-button:nth-child(even)::before,
.jiraff-button.even::before {
  transform: perspective(240px) rotateY(-15deg);
  text-indent: 10px;
}

.header__nav-item.current .jiraff-button::before,
.header__nav-item:hover .jiraff-button::before,
.jiraff-button:hover::before {
  color: #fff;
  background-color: #f7931e;
  /*transform: perspective(240px) rotateY(0deg);*/
}

.jiraff-button__title {
  position: absolute;
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  left: 0%;
  top: 5%;
  line-height: 100%;
  gap: 0;
  justify-content: center;
  transition: all 0.3s;
}

.jiraff-button:nth-child(even) .jiraff-button__title,
.jiraff-button.even .jiraff-button__title {
  left: 10%;
}

.jiraff-button__subtitle-1 {
  font-weight: 600;
  font-size: 18px;
  padding: 0 0 0 3px;
  letter-spacing: 0.01px;
}

.jiraff-button__subtitle-2 {
  font-weight: 300;
  font-size: 16px;
}

.jiraff-button__hover-icon {
  width: 100%;
  z-index: -1;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s;
}
.header__nav-item:hover .jiraff-button .jiraff-button__hover-icon,
.jiraff-button:hover .jiraff-button__hover-icon {
  opacity: 1;
  top: -74%;
}

.header--minimized .jiraff-button__hover-icon {
  display: none;
}

/* Контейнер слайдера */
.swiper-container {
  max-height: 383px;
  overflow: hidden;
  margin-bottom: 6rem;
  position: relative;
}

/* Слайд */
.swiper-slide {
}

/* Изображение */
.slider__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Текст */
.slider__title {
  font-size: 32px;
  font-weight: bold;
  color: #0f3b73;
  margin-bottom: 4rem;
}

.slider__text {
  font-size: 20px;
  font-weight: 300;
  color: #333;
  line-height: 1.5;
}

/* Навигация */
.swiper-button-next,
.swiper-button-prev {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  font-size: 24px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 24px;
}

/* Адаптивность */
@media (max-width: 767.98px) {
  .swiper-slide .row {
    flex-direction: column;
  }

  .slider__image {
    margin-bottom: 20px;
  }
}

.slider__image-wrap {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  max-width: 620px;
}

.slider__image-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(svg/slider-border.png);
  background-size: cover;
  z-index: 10;
}

.swiper-slide .col-md-6:first-child {
  padding-left: 7rem;
}

.swiper-slide .col-md-6:last-child {
  padding: 1rem 5.5rem 0 4rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: transparent;
  background: url(svg/arrow-prev.svg) no-repeat;
  height: 5rem;
  margin-top: -3.6rem;
}

.swiper-button-next {
  transform: rotate(180deg);
  margin-right: 0;
}

.swiper-button-prev {
  margin-left: 0;
}

.map,
.map__container {
  height: 60rem;
  position: relative;
}

.map__container {
  position: absolute;
  width: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.map__legend {
  background: #0076bf;
  font-size: 3.2rem;
  border-radius: 2.7rem;
  color: #fff;
  display: inline-block;
  padding: 3rem 4.5rem;
  margin-left: 2.1rem;
  margin-top: 33rem;
  line-height: 120%;
}

/* Блок новостей */
.news {
  padding: 4rem 0 0 0;
  margin-bottom: 2rem;
}

/* Плитка новости */
.news__item {
  display: flex;
  flex-direction: column;
  align-items: center; /* Выравнивание по центру по горизонтали */
  justify-content: center; /* Выравнивание по центру по вертикали */
  text-align: center;
  text-decoration: none; /* Убираем подчеркивание */
  color: inherit; /* Наследуем цвет текста */
  margin-bottom: 3rem; /* Расстояние между плитками */
  text-decoration: none !important;
}

.news__item img {
  transition: all 0.3s;
}

.news__item:hover img {
  transform: scale(1.1);
}

/* Изображение */
.news__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 25px;
}

/* Текст */
.news__text {
  font-size: 20px;
  font-weight: 400;
  color: #333;
  margin: 2.85rem 0 0;
  align-items: center;
  height: 6.8rem;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  max-height: none;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Адаптивность */
@media (max-width: 767.98px) {
  .news__item {
    margin-bottom: 2rem;
  }
}

.news__title-wrapper {
  border-top: solid 3px var(--bs-heading-color);
  text-align: center;
  margin-bottom: 5px;
}

.news__title {
  display: inline-flex;
  align-items: center;
  background: #fff;
  position: relative;
  top: -34px;
  padding: 0 15px;
}

.news__title:before {
  content: url(svg/j-news.svg);
  transform: scale(1.4);
  margin-right: 6rem;
  position: relative;
  left: 2rem;
}

hr {
  height: 3px;
  background: #0f3b73;
  opacity: 1;
}

.hotlinks {
  margin-top: 6rem;
}

.hotlinks__container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  max-width: 1410px;
}

.hotlinks__item {
  text-align: center;
  justify-self: center;
  text-decoration: none !important;
  transition: all 0.3s;
}

.hotlinks__item:hover h4 {
  font-weight: 900;
}

.hotlinks__item h4 {
  font-weight: 300;
  font-size: 3.2rem;
  margin: 10px 0 0 0;
}

.hotlinks__text {
  margin-top: 4rem;
}

.hotlinks__text p {
  line-height: 125%;
}

.hotlinks__container2 {
  max-width: 1410px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12rem;
  margin-top: 15rem;
  position: relative;
  left: -1.5%;
}

.hotlinks__item2 {
  display: flex;
  align-items: center;
}

.hotlinks__item2 .jiraff-button {
  transform: scale(1.15);
}

.icon-hover-orange {
  transition: all 0.3s;
}
a:hover .icon-hover-orange {
  fill: #f7931e;
}

.category-menu {
  gap: 1px 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.category-menu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  line-height: 200%;
  letter-spacing: 0%;
  text-align: center;
  gap: 10px;
  display: inline-flex;
}

.category-menu a.current {
  font-weight: 900;
}

.category-menu a + a:before {
  content: "/";
  font-weight: 300;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pagination a,
.pagination span {
  margin: 0 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  font-weight: 400;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination .active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.aricle-content {
  margin-bottom: 4rem;
  margin-top: 4.3rem;
}

.clear {
  clear: both;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  margin-bottom: 0;
  gap: 5px;
}

.breadcrumb-item::before {
  content: "/";
  color: var(--bs-heading-color);
}

.breadcrumb-item {
  padding: 0 !important;
  display: flex;
  gap: 5px;
  color: var(--bs-heading-color) !important;
  font-size: 15px;
  text-transform: uppercase;
}
.breadcrumb-item a {
  text-decoration: none;
  color: var(--bs-heading-color);
}
.breadcrumb-item:last-child {
  font-weight: 800;
}
.breadcrumb-item:last-child::before {
  display: none;
}
h1 {
  margin-bottom: 3rem;
}

.aricle-content-img {
  margin: 0 3rem 0px 0;
  float: left;
  width: 50%;
  max-width: 620px;
}

.aricle-content-img .slider__image-wrap,
.aricle-content-img .slider__image-wrap img {
  max-width: 100%;
}

/* Стили для галереи типа fit */
.gallery[data-type="fit"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.gallery[data-type="fit"] picture {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery[data-type="fit"] picture:hover {
  transform: scale(1.05);
}

.gallery[data-type="fit"] img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Стили для галереи типа slider */
.gallery[data-type="slider"] {
  position: relative;
  margin: 20px 0;
}

.gallery[data-type="slider"] .swiper {
  width: 100%;
  height: 340px;
  padding: 10px 0;
}

.gallery[data-type="slider"] .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
}

.gallery[data-type="slider"] img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  border-radius: 8px;
}

.gallery[data-type="slider"] .swiper-button-next:after,
.gallery[data-type="slider"] .swiper-button-prev:after {
  font-size: 18px;
}

.gallery[data-type="slider"] .swiper-pagination-bullet {
  background: #333;
  opacity: 0.3;
}

.gallery[data-type="slider"] .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Кастомные стили для Fancybox */
.fancybox__backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.fancybox__toolbar {
  background: transparent;
}

.fancybox__nav {
  --f-button-width: 50px;
  --f-button-height: 50px;
}

.fancybox__slide {
  padding: 44px 0;
}

.fancybox__image {
  border-radius: 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .gallery[data-type="fit"] {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .gallery[data-type="fit"] img {
    height: 150px;
  }

  .gallery[data-type="slider"] .swiper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .gallery[data-type="fit"] {
    grid-template-columns: 1fr 1fr;
  }

  .gallery[data-type="fit"] img {
    height: 120px;
  }

  .gallery[data-type="slider"] .swiper {
    height: 250px;
  }
}

.gallery[data-type="slider"] .swiper-button-next {
  margin-right: 1rem;
}

.gallery[data-type="slider"] .swiper-button-prev {
  margin-left: 1rem;
}

hr,
.ce-delimiter::before {
  background: var(--bs-heading-color);
  margin: 3rem 0;
  clear: both;
}

.table {
  margin: 3rem 0;
}
.card {
  margin: 3rem 0;
}
.alert {
  padding: 1rem 3rem;
  margin: 3rem 0;
  border-radius: 10px;
  --bs-alert-border-color: transparent !important;
}
.alert-warning {
  --bs-alert-color: #000 !important;
  --bs-alert-bg: #f7931e;
  --bs-alert-link-color: #000 !important;
}
.alert h2 {
  margin-bottom: 0;
  color: #000;
}
