* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ecebde;
  margin: 0;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Header Styles */
header {
  padding-right: 30px;
  padding-left: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: auto;
}
.bigtext-navigation {
  font-weight: 600; /* Увеличение жирности текста */
}
.header-mendger {
  margin-top: 18.4px; /* 80% от 23px */
  display: flex;
  width: 100%;
  justify-content: space-between;
  max-width: 1193.6px; /* 80% от 1492px */
  height: 88.8px; /* 80% от 111px */
}

.box-logo {
  width: 100%;
  max-width: 220px; /* 80% от 275px */
  height: 88.8px; /* 80% от 111px */
  flex-shrink: 0;
  border-radius: 16px; /* 80% от 20px */
  background: #295959;
  display: flex;
  justify-content: center;
  align-items: center;
}
.box-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-logo img {
  width: 100%;
  max-width: 194.4px; /* 80% от 243px */
}

.menu-toggle {
  margin-top: 8px; /* 80% от 10px */
  display: none; /* Изначально скрыто */
  background-color: #295959;
  height: 49.6px; /* 80% от 62px */
  width: 49.6px; /* 80% от 62px */
  border-radius: 16px; /* 80% от 20px */
  justify-content: center;
  align-items: center;
  font-size: 32px; /* 80% от 40px */
  cursor: pointer;
  color: #eddeb7;
  background: #295959; /* Основной фон */
  border: none;
  box-shadow: none;
  outline: none;
}
.box-Hamburger-Menu {
  display: flex;
  height: 49.6px; /* 80% от 62px */
  width: 49.6px; /* 80% от 62px */
  justify-content: center;
  align-items: center;
}
.box-Hamburger-Menu img {
  width: 27.2px; /* 80% от 34px */
}
.menu-toggle.active {
  display: flex;
}

.navigation-header {
  margin-top: 8px; /* 80% от 10px */
  margin-left: 24px; /* 80% от 30px */
  background-color: #295959;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 868px; /* 80% от 1085px */
  height: 49.6px; /* 80% от 62px */
  border-radius: 16px; /* 80% от 20px */
}

.navigation-header a {
  color: #eddeb7;
  font-family: "Roboto", serif;
  font-size: 20.8px; /* 80% от 26px */
  font-weight: 300;
  text-decoration: none;
  transition: transform 0.3s ease; /* Плавный переход */
}
.navigation-header a:hover {
  transform: scale(1.1); /* Увеличение размера текста на 10% */
}
.menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background-color: #295959;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: right 0.3s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  z-index: 50;
  z-index: 50;
}

.menu.active {
  right: 0;
}

.menu ul {
  list-style: none;
}

.menu ul li {
  margin: 20px 0;
  text-align: right;
}

.menu ul li a {
  color: #eddeb7;
  text-decoration: none;
  font-size: 18px;
  color: #eddeb7;
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: #eddeb7;
  font-family: Roboto;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.right-button {
  display: flex;
  justify-content: right;
  align-items: center;
}
.menu ul li a.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-align: center;

  transition: background-color 0.3s ease, color 0.3s ease;
}
.logout-button img {
  width: 28px;
}
/* Footer  */
.requisites-imge img {
  transition: transform 0.3s ease; /* Плавный переход для transform */
  display: inline-block; /* Делаем изображения блочными элементами */
}

/* Эффект увеличения при наведении */
.requisites-imge img:hover {
  transform: scale(1.1); /* Увеличение размера на 10% */
}

/* Ключевые кадры для пульсации */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1); /* Исходный размер */
  }
  50% {
    transform: scale(1.025); /* Легкое увеличение на 2.5% */
  }
}
.column-contact-text {
  color: #6c4127;
  font-family: Roboto;
  font-size: 18px; /* 60% от 30px */
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.column-contact-text-smoll {
  margin-top: 9px; /* 60% от 15px */
  color: #825c45;
  font-family: Roboto;
  font-size: 16.8px; /* 60% от 28px */
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.column-contact {
  text-align: center;
}
.m-top-0 {
  margin-top: 0px;
}
.menu ul li a.logout-button:hover {
  background-color: #1c3d3d;
  color: #ffffff;
}

.column-logo {
  max-width: 123.6px; /* 60% от 206px */
}
.column-details {
  width: 60%; /* 60% от 100% */
  max-width: 376.8px; /* 60% от 628px */
}
.column-details p {
  color: #825c45;
  font-family: Roboto;
  font-size: 18px; /* 60% от 30px */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.column a {
  text-decoration: none;
  color: #6c4127;
  font-family: Roboto;
  font-size: 18px; /* 60% от 30px */
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: left;
}
.column {
  display: flex;
  flex-direction: column;
  width: 60%; /* 60% от 100% */
  max-width: 159px; /* 60% от 265px */
}
.m-top-10 {
  margin-top: 6px; /* 60% от 10px */
}
.footer .logo {
  display: flex;
  align-items: center;
  gap: 6px; /* 60% от 10px */
}

.footer .logo img {
  width: 30px; /* 60% от 50px */
  height: 30px; /* 60% от 50px */
}

.footer a {
  text-decoration: none;
}

.footer .contact {
  line-height: 1.08; /* 60% от 1.8 */
}

.footer .details {
  font-size: 0.54em; /* 60% от 0.9em */
  line-height: 0.96; /* 60% от 1.6 */
}
.content {
  flex: 1;
}

.footer {
  background-color: #ecebde;
  color: #5a4035;
  padding: 12px; /* 60% от 20px */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  position: relative;
  bottom: 0;
}

.footer .column {
  flex: 1 1 150px; /* 60% от 250px */
}

.footer .logo {
  display: flex;
  align-items: center;
  gap: 6px; /* 60% от 10px */
}

.footer .logo img {
  width: 30px; /* 60% от 50px */
  height: 30px; /* 60% от 50px */
}

.footer .contact {
  line-height: 1.08; /* 60% от 1.8 */
}

.footer .details {
  font-size: 0.54em; /* 60% от 0.9em */
  line-height: 0.96; /* 60% от 1.6 */
}
.tex-display-block-1 {
  display: block;
}
.tex-display-none-1 {
  display: none;
}
.column-contact-text-smoll a {
  text-decoration: none; /* Убирает подчеркивание */
  color: inherit; /* Наследует цвет родительского элемента */
}
.column-contact-text a {
  text-decoration: none; /* Убирает подчеркивание */
  color: inherit; /* Наследует цвет родительского элемента */
}
.column-contact-text a,
.column-contact-text-smoll a {
  text-decoration: none; /* Убираем подчеркивание */
  display: inline-block; /* Добавляем это для корректной работы transform */
  transition: transform 0.3s ease; /* Плавный переход для масштабирования */
}

/* Стиль для маленьких текстов */

/* Эффект при наведении на ссылку */
.column-contact-text a:hover,
.column-contact-text-smoll a:hover {
  transform: scale(1.1); /* Увеличение размера текста на 10% */
}
/* Ключевые кадры для анимации */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1); /* Исходный размер */
  }
  50% {
    transform: scale(1.025); /* Увеличение на 10% */
  }
}
.requisites-imge {
  margin-top: 10px;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 4px;
}

.requisites-imge img {
  width: clamp(40px, 2.5vw, 40px);
}
.column-logo img {
  width: 206px;
}
.requisites-imge12345 img {
  transition: transform 0.3s ease; /* Плавный переход для transform */
  display: inline-block; /* Делаем изображения блочными элементами */
}

/* Эффект увеличения при наведении */
.requisites-imge12345 img:hover {
  transform: scale(1.1); /* Увеличение размера на 10% */
}
.requisites-imge12345 {
  margin-top: 5px;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 4px;
}

.requisites-imge12345 img {
  width: clamp(40px, 2.5vw, 40px);
}
/* Footer end */
/* main */

.content-manager {
  flex-direction: column;

  display: flex; /* Включаем flex для дочерних элементов */
  width: 100%; /* Контейнер занимает всю ширину */
}
.content {
  display: flex;
  flex-direction: column; /* Вертикальное расположение */
  align-items: center;
  padding-left: 6.188vw;
  padding-right: 6.188vw;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 2.4vw;
}
.palka228 {
  margin-top: 2.031vw;
  height: 0; /* Ensure no height */
  overflow: hidden; /* Hide any overflow content */
  visibility: hidden; /* Make sure it's not visible */
}
/* Обновленный CSS */
.article-container {
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 47.125vw;
  background-color: #d2d2c7;
  border-radius: 1.042vw;
  padding: 1.375vw;
  margin-bottom: 2vw;
  box-sizing: border-box;
  min-height: auto; /* Автоматическая высота */
  transition: all 0.3s ease; /* Плавное изменение высоты */
}
.swiper {
  height: auto; /* Изменяем высоту на автоматическую */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Скрываем переполнение изображения */
  border-radius: 0.5vw; /* Добавляем скругление углов */
}
.swiper-slide img {
  width: 100%; /* Изображение займет всю доступную ширину родительского контейнера */
  height: clamp(400px, 36.458vw, 700px); /* Адаптивная высота с ограничениями */
  object-fit: cover; /* Сохраняет пропорции и обрезает лишнее при необходимости */
  border-radius: 0.5vw; /* Добавляем скругление углов */
}

.swiper-slide video {
  width: 100%; /* Изображение займет всю доступную ширину родительского контейнера */
  height: clamp(400px, 36.458vw, 700px); /* Адаптивная высота с ограничениями */
  object-fit: cover; /* Сохраняет пропорции и обрезает лишнее при необходимости */
  border-radius: 0.5vw; /* Добавляем скругление углов */
}
.news-article-video {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.5vw;
}
.swiper-pagination {
  position: absolute;
  bottom: 10px; /* Расположение точек внизу Swiper */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* Убедитесь, что точки поверх слайдов */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #fff; /* Цвет точек */
  opacity: 0.5;
  margin: 0 4px;
  border-radius: 50%;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1; /* Активная точка */
}
.news-article-image {
  height: auto; /* Изменяем высоту на автоматическую */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Скрываем переполнение изображения */
  border-radius: 0.5vw; /* Добавляем скругление углов */
}

.news-article-image img {
  width: 100%; /* Изображение займет всю доступную ширину родительского контейнера */
  height: clamp(400px, 36.458vw, 700px); /* Адаптивная высота с ограничениями */
  object-fit: cover; /* Сохраняет пропорции и обрезает лишнее при необходимости */
  border-radius: 0.5vw; /* Добавляем скругление углов */
}

.text-medium-smol1 {
  color: #6c4127;
  font-family: "Roboto", sans-serif;
  font-size: clamp(18px, 1.2498vw, 2.083vw);
  font-weight: 600;
  margin-top: 1vw;
  line-height: 1.4; /* Улучшаем читаемость текста */
}

.text-medium-smol2 {
  color: #6c4127;
  font-family: "Roboto", sans-serif;
  font-size: clamp(17px, 1vw, 1.5vw);
  font-weight: 400;
  margin-top: 1vw;
  overflow: hidden; /* Скрываем переполнение текста */
  text-overflow: ellipsis; /* Добавляем многоточие */
  display: -webkit-box; /* Для многострочного текста */
  text-align: justify; /* Выравнивание текста по ширине */
  -webkit-box-orient: vertical;
  transition: max-height 0.3s ease; /* Плавное раскрытие текста */
  word-wrap: break-word; /* Разрешаем перенос слов */
  white-space: normal; /* Нормальный перенос строк */
}

.expand-button {
  margin-top: 1vw;
  align-self: flex-start; /* Кнопка слева */
  background-color: #295959;

  color: #eddeb7;
  border: none;
  padding: 0.5vw 1vw;
  font-family: "Roboto", sans-serif;
  font-size: clamp(14px, 1vw, 1.5vw);
  cursor: pointer;
  border-radius: 0.5vw;
  transition: background-color 0.3s ease; /* Плавное изменение цвета при наведении */
}

.expand-button:hover {
  background-color: #225050;
}
.post-date {
  color: #6c4127;
  font-family: "Roboto", sans-serif;
  font-size: clamp(17px, 1vw, 1.5vw);
  font-weight: 400;
  margin-top: 1vw;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  transition: max-height 0.3s ease;
  word-wrap: break-word;
  white-space: normal;
}

/* Новый класс для раскрытого состояния */
.expanded {
}
/* main end*/
@media (max-width: 1700px) {
}
@media (max-width: 1497px) {
  .column-logo img {
    width: 160px;
  }
  @media (max-width: 1380px) {
    .column-details {
      display: none;
    }
    .footer {
      justify-content: space-around;
    }
  }
  .column a,
  .column-contact p,
  .column-details p {
    font-size: 1.5625vw;
  }
}
@media (max-width: 1250px) {
  .menu-toggle {
    display: flex;
  }

  .navigation-header {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #295959;
    width: 100%;
    max-width: 250px;
    border-radius: 0 0 20px 20px;
  }
  .navigation-header a {
    display: none;
  }

  .navigation-header.active {
  }

  .navigation-header a {
    padding: 10px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #d4c1a3;
  }

  .navigation-header a:last-child {
    border-bottom: none;
  }
  .column-logo img {
    max-width: 15vw;
  }
}
@media (max-width: 1150px) {
  .column a,
  .column-contact p,
  .column-details p {
    font-size: 18px;
  }
  .column {
    padding-right: 1px;
  }
  .column {
    max-width: 160px;
  }
}
@media (max-width: 1024px) {
}

@media (max-width: 768px) {
  .column-contact-text a,
  .column-contact-text-smoll a {
    text-decoration: none;

    display: inline-block; /* Чтобы работало transform */
    backface-visibility: hidden; /* Убираем размытие */
    will-change: contents; /* Оптимизация для анимации */
  }

  /* Стили для маленьких контактов */
  .column-contact-text-smoll a {
  }

  /* Анимация для автоматического увеличения/уменьшения */
  .animated-link a {
    animation: pulse 1.3s infinite ease-in-out; /* Анимация "пульсации" */
    transform: translateZ(1); /* Форсируем аппаратное ускорение */
  }
  .header-mendger {
    margin-bottom: 23px;
    height: auto;
  }
  .column-logo {
    max-width: 206px;
  }
  .column {
    max-width: 160px;
  }
  .footer {
    justify-content: space-around;
  }

  .footer-content {
    justify-content: space-around;
  }

  .column,
  .column-contact,
  .column-details {
    text-align: center;

    margin-top: 10px;
  }

  .box-Hamburger-Menu img {
    width: 28px;
  }
  .box-logo {
    max-width: 200px;
    height: 90px;
    border-radius: 15px;
  }

  .box-logo img {
    max-width: 180px;
  }

  .menu-toggle {
    height: 50px;
    width: 50px;
    border-radius: 15px;
  }

  .navigation-header a {
    font-size: 18px;
  }
  footer {
  }

  .footer .column {
    flex: 1 1 160px;
  }
}
@media (max-width: 761px) {
  .content {
    padding-left: 5%;
    padding-right: 5%;
  }
  .palka228 {
    display: none; /* Completely hide on mobile */
    height: 0;
    margin: 0;
  }
  .article-container {
    padding: 15px;
    min-width: 360px; /* Увеличиваем ширину для лучшего заполнения экрана */
    margin-bottom: 10px;
    max-width: auto;
    border-radius: 10px; /* Делаем углы более скругленными */
  }

  .news-article-image {
    border-radius: 1vw; /* Увеличиваем скругление изображения */
  }

  .news-article-image img {
    border-radius: 1vw;
  }

  .text-medium-smol1 {
    margin-top: 7.7px;
    font-size: 18px;
  }

  .text-medium-smol2 {
    margin-top: 7.7px;
    font-size: 17px;
  }

  .expand-button {
    margin-top: 7.7px;
    max-width: auto;
    min-width: 143px;
    min-height: 25.63px;
    border-radius: 5px;
  }
}

@media (max-width: 640px) {
}
@media (max-width: 480px) {
  .column a,
  .column-contact p,
  .column-details p {
    font-size: 18px;
  }
  .column {
    display: none;
  }
  .column-logo img {
    max-width: 80px;
  }

  .box-logo {
    max-width: 150px;
    height: 70px;
    border-radius: 10px;
  }

  .box-logo img {
    max-width: 130px;
  }

  .menu-toggle {
    height: 50px;
    width: 50px;
    border-radius: 15px;
  }

  .navigation-header a {
    font-size: 16px;
  }
}
@media (max-width: 416px) {
}
@media (max-width: 400px) {
  .article-container {
    min-width: 340px;
  }
}
