@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.woff') format('woff');
  font-weight: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.woff') format('woff');
  font-weight: 500;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.woff') format('woff');
  font-weight: bold;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Thin.woff') format('woff');
  font-weight: 100;
  /* Thin */
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Light.woff') format('woff');
  font-weight: 300;
  /* Light */
}
* {
  font-family: 'Montserrat', sans-serif;
}
html,
body {
  height: 100%;
  margin: 0;
}
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background-color: #D7C7AC;
  background-size: cover;
}
body .account h1 {
  text-align: center;
  padding-bottom: 20px;
}
body .content-wrapper h3 {
  margin: 20px 0;
  display: grid;
  position: relative;
  padding-bottom: 16px;
}
body .content-wrapper h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background-image: url('/images/divider2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
.public-container,
.private-container {
  justify-content: center;
  align-items: center;
  flex: 1 0 auto;
}
.public-container .content-wrapper,
.private-container .content-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 50px;
}
.public-container .content-wrapper h3,
.private-container .content-wrapper h3 {
  text-align: center;
}
.public-container .content-wrapper .title-divider,
.private-container .content-wrapper .title-divider {
  padding-bottom: 20px;
  width: 100%;
  max-width: 610px;
  height: 2px;
  display: block;
  background-image: url('/images/divider2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 2px;
}
@media (max-width: 576px) {
  .public-container,
  .private-container {
    padding-top: 50px;
  }
}
.public-container:has(.main-page) {
  padding-top: 0;
}
.public-container:has(.main-page) .content-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 0;
}
.btn-primary,
.btn-secondary,
.btn-danger {
  margin-right: 8px;
  min-height: 40px;
  padding: 10px 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
  text-align: center;
}
.btn-primary {
  background-color: #58A2AC;
  border: 1px solid #58A2AC;
  color: #F5F5F5;
  margin: 10px 0;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #58A2AC !important;
  border-color: #58A2AC !important;
  color: #F5F5F5 !important;
  opacity: 0.9;
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-secondary {
  padding: 12px 28px;
  border-radius: 15px;
  border: 1px solid #58A2AC;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background: #58A2AC;
  color: #F5F5F5;
}
.btn-secondary.is-disabled,
.btn-secondary:disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.btn-danger {
  background-color: rgba(187, 45, 59, 0.5);
  border: 1px solid rgba(187, 45, 59, 0.5);
  color: #F5F5F5;
  box-shadow: inset 0 0 0 1px rgba(187, 45, 59, 0.5);
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  background-color: rgba(187, 45, 59, 0.5) !important;
  border-color: rgba(187, 45, 59, 0.5) !important;
  color: #F5F5F5 !important;
  opacity: 0.9;
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.admin-mark {
  color: #F5F5F5;
  font-size: 22px;
}
@media (max-width: 768px) {
  .admin-mark {
    font-size: 16px;
  }
}
.news-title {
  text-align: center;
  margin: 24px 0 28px;
}
.news-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: repeat(3, 400px);
  /* вот это главное: остаток ширины идёт в промежутки */
  justify-content: space-between;
  row-gap: 48px;
  column-gap: 24px;
  /* fallback на случай, если места мало */
}
.news-card {
  height: 520px;
}
@media (max-width: 1320px) {
  .news-page {
    grid-template-columns: repeat(2, 400px);
    justify-content: space-between;
  }
}
@media (max-width: 860px) {
  .news-page {
    grid-template-columns: 1fr;
    justify-content: start;
    row-gap: 28px;
  }
  .news-card {
    width: 100%;
    max-width: 400px;
    justify-self: center;
    /* чтобы красиво по центру в 1 колонку */
  }
}
@media (max-width: 576px) {
  .news-page {
    padding: 0;
  }
  .news-card {
    max-width: 100%;
  }
}
/* картинка */
.news-card .card-img-top {
  width: calc(100% - 40px);
  height: 230px;
  margin: 20px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}
/* тело карточки */
.news-card .card-body {
  height: calc(520px - 230px - 40px);
  /* картинка + отступы */
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-card .card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.news-card .date {
  font-size: 12px;
  opacity: 0.7;
}
/* текст: чтобы не раздувал карточку */
.news-card .card-text {
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  /* сколько строк текста показывать */
  -webkit-box-orient: vertical;
}
/* кнопка вниз */
.news-card .btn {
  width: 100%;
  margin-top: auto;
  padding: 7px 0;
  font-size: 16px;
  letter-spacing: 0.3px;
}
.news-card {
  width: 400px;
  height: 520px;
  border: 0;
  border-radius: 18px;
  background: #d8cfbf;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover {
  transform: scale(1.01);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}
header {
  position: absolute;
  top: 30px;
  width: 100%;
  z-index: 100;
}
header .top-content {
  max-width: 1440px;
  padding-right: 40px;
  padding-left: 40px;
}
/* Navbar */
.custom-navbar {
  background-color: rgba(0, 0, 0, 0.4);
  height: 50px;
  padding: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Мобильный бургер */
}
.custom-navbar .nav-link {
  color: white !important;
}
.custom-navbar .navbar-brand {
  height: 50px;
  display: flex;
  align-items: center;
}
.custom-navbar .navbar-brand .logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.custom-navbar .navbar-nav {
  margin: 0;
  height: 50px;
  display: flex;
  align-items: center;
}
.custom-navbar .mobile-menu-btn {
  height: 50px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
}
.custom-navbar .mobile-menu-btn .burger-bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.custom-navbar .mobile-menu-btn.open .burger-bar:first-child {
  transform: rotate(45deg) translate(4px, 4px);
}
.custom-navbar .mobile-menu-btn.open .burger-bar:last-child {
  transform: rotate(-45deg) translate(4px, -4px);
}
@media (max-width: 576px) {
  .custom-navbar {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0 20px;
  }
  .custom-navbar .navbar-brand .logo-img {
    display: none;
  }
}
/* Десктоп dropdown фон */
.custom-dropdown-menu.dropdown-menu {
  background-color: rgba(0, 0, 0, 0.8) !important;
  color: white;
}
.custom-dropdown-menu.dropdown-menu .dropdown-item {
  color: white !important;
}
/* Мобильное меню fullscreen */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  flex-direction: column;
}
.mobile-menu .mobile-menu-header {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
}
.mobile-menu .mobile-menu-header .close-menu {
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.mobile-menu .navbar-nav {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 0;
}
.mobile-menu .navbar-nav .nav-link {
  padding: 20px;
  font-size: 22px;
  color: white !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-menu.active {
  display: flex;
}
/* Мобилка — убираем отступы top-content и фиксируем top */
@media (max-width: 576px) {
  header {
    top: 0;
  }
  header .top-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: auto 0;
  }
}
.banner-container {
  --banner-bg-a: none;
  --banner-bg-b: none;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.banner-container::before,
.banner-container::after {
  content: "";
  position: absolute;
  inset: -180px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(32px) brightness(0.8);
  transform: scale(1.35);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.banner-container::before {
  background-image: var(--banner-bg-a);
}
.banner-container::after {
  background-image: var(--banner-bg-b);
}
.banner-container[data-blur="a"]::before {
  opacity: 1;
}
.banner-container[data-blur="b"]::after {
  opacity: 1;
}
@media (max-width: 576px) {
  .banner-container {
    padding-top: 50px;
  }
}
.banner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  aspect-ratio: 1440 / 760;
  z-index: 1;
}
.banner .banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.banner .banner-slide.active {
  opacity: 1;
  z-index: 2;
}
.banner .sub-logos {
  position: absolute;
  top: 110px;
  z-index: 2;
}
.banner .sub-logos img {
  display: block;
}
@media (max-width: 1200px) {
  .banner .sub-logos {
    top: 80px;
  }
  .banner .sub-logos img {
    height: 100px;
  }
}
@media (max-width: 576px) {
  .banner .sub-logos {
    display: none;
  }
}
.banner .banner-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 2;
}
.banner .banner-bottom-bar .main-logo {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 4;
}
.banner .banner-bottom-bar .main-logo img {
  height: 50px;
  max-width: 300px;
  width: auto;
  display: block;
}
.banner .banner-bottom-bar .banner-dash {
  position: absolute;
  bottom: 50%;
  left: calc(50% + 160px);
  transform: translateY(50%);
  z-index: 4;
  font-size: 24px;
  color: #F5F5F5;
  line-height: 1;
  margin-left: 10px;
}
.banner .banner-bottom-bar .banner-text-box {
  position: absolute;
  bottom: 50%;
  right: 0;
  width: calc(50% + 600px);
  transform: translateY(50%);
  color: #F5F5F5;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  z-index: 3;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  min-height: 50px;
  max-height: 100px;
  padding-right: 40px;
  display: inline-block;
}
.banner .banner-bottom-bar .banner-text-box p {
  display: block;
  max-width: 470px;
  margin: 0.8rem 0;
  float: right;
}
@media (max-width: 1400px) {
  .banner .banner-bottom-bar .banner-text-box p {
    font-size: 22px;
    max-width: 370px;
  }
}
@media (max-width: 1200px) {
  .banner .banner-bottom-bar .banner-dash {
    display: none;
  }
  .banner .banner-bottom-bar .banner-text-box {
    bottom: 0;
    height: 80px;
    right: 50%;
    transform: translateX(50%);
    width: 100%;
    text-align: center;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    padding: 0;
  }
  .banner .banner-bottom-bar .banner-text-box p {
    float: none;
    margin: 50px auto;
    font-size: 20px;
    max-width: 470px;
  }
}
@media (max-width: 576px) {
  .banner .banner-bottom-bar .main-logo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
  }
  .banner .banner-bottom-bar .banner-text-box {
    height: 50px;
  }
  .banner .banner-bottom-bar .banner-text-box p {
    display: none;
  }
}
.banner .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #F5F5F5;
  cursor: pointer;
  z-index: 4;
}
.banner .slider-arrow.left {
  left: 20px;
}
.banner .slider-arrow.right {
  right: 20px;
}
@media (max-width: 768px) {
  .banner .slider-arrow {
    font-size: 28px;
  }
}
.banner .slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}
.banner .slider-dots span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.banner .slider-dots span.active {
  background: #F5F5F5;
}
@media (max-width: 768px) {
  .banner .slider-dots span {
    width: 8px;
    height: 8px;
  }
}
.banner-container.inner-banner {
  height: 80px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}
@media (max-width: 576px) {
  .banner-container.inner-banner {
    display: none;
  }
}
.menu-button .nav-link.dropdown-toggle {
  background-color: rgba(179, 168, 150, 0.25);
  border-radius: 15px;
  color: #FFF;
  padding: 4px 16px;
  font-size: 22px;
  font-weight: 500;
  width: 174px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  /* расстояние между текстом и бургером */
  /* Убираем стрелку bootstrap */
  /* SVG бургер справа */
}
.menu-button .nav-link.dropdown-toggle::after {
  display: none;
  content: '';
  width: 0;
  height: 0;
}
.menu-button .nav-link.dropdown-toggle .burger-icon {
  width: 60px;
  height: 21px;
  display: block;
  margin-right: 4px;
}
.menu-button .nav-link.dropdown-toggle:hover,
.menu-button .nav-link.dropdown-toggle:focus {
  background-color: rgba(179, 168, 150, 0.35);
  color: #FFF;
}
/* Стили открытого меню (твои исходные) */
.custom-dropdown-menu {
  border-radius: 15px;
  padding: 12px 0;
  min-width: 315px;
  max-width: 315px;
  margin-top: 16px;
  font-weight: 500;
  font-size: 16px;
}
.custom-dropdown-menu .dropdown-item {
  padding: 8px 20px;
  border-radius: 15px;
  transition: all 0.3s;
  position: relative;
}
.custom-dropdown-menu .dropdown-item:hover {
  background-color: rgba(201, 145, 54, 0.5);
  padding-left: 15px;
}
.menu-button .custom-dropdown-menu {
  top: calc(100% + 16px) !important;
}
@media (max-width: 768px) {
  .custom-dropdown-menu {
    display: none;
  }
}
.info-block {
  position: relative;
  margin: 50px auto;
  max-width: 1440px;
  height: auto;
  min-height: 0;
  text-align: right;
  overflow: hidden;
  background-color: #DFD3BF;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
}
.info-block *,
.info-block *::before,
.info-block *::after {
  box-sizing: border-box;
}
.info-block .info-block-wrapper {
  padding: 0;
  width: 100%;
  height: auto;
  display: block;
}
.info-block .info-block-content {
  position: relative;
  width: 100%;
  z-index: 2;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 0;
  min-width: 0;
}
.info-block .info-block-content::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: min(50%, 555px);
  height: 80%;
  z-index: 1;
  border-radius: 15px;
  background: linear-gradient(to right, #000000, rgba(0, 0, 0, 0));
  pointer-events: none;
}
.info-block .info-block-image {
  position: relative;
  z-index: 2;
  width: 335px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  flex: 0 0 auto;
}
.info-block .info-block-text {
  max-width: 900px;
  position: relative;
  z-index: 3;
  color: #333;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.info-block .info-block-text h2 {
  font-size: 32px;
  margin: 0 60px;
}
.info-block .info-block-text .title-divider {
  width: 100%;
  max-width: 610px;
  height: 2px;
  margin: 0 auto;
  display: block;
  background-image: url('/images/divider2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 2px;
}
.info-block .info-block-text p {
  font-weight: 300;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}
.info-block.reverse .info-block-content {
  flex-direction: row-reverse;
  text-align: left;
}
.info-block.reverse .info-block-content::before {
  left: auto;
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}
@media (max-width: 1440px) {
  .info-block {
    margin: 40px;
  }
}
@media (max-width: 1230px) {
  .info-block .info-block-text {
    max-width: 700px;
  }
  .info-block .info-block-text h2 {
    font-size: 26px;
  }
  .info-block .info-block-text p {
    font-size: 22px;
  }
  .info-block .info-block-text .title-divider {
    max-width: 250px;
  }
}
@media (max-width: 1130px) {
  .info-block .info-block-text {
    max-width: 500px;
  }
}
@media (max-width: 934px) {
  .info-block .info-block-text h2 {
    font-size: 24px;
  }
  .info-block .info-block-text p {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .info-block {
    padding: 20px 15px;
    text-align: center;
  }
  .info-block .info-block-content {
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
  }
  .info-block .info-block-content::before {
    display: none;
  }
  .info-block .info-block-image {
    width: min(90%, 335px);
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    display: block;
    flex: 0 0 auto;
  }
  .info-block .info-block-text {
    max-width: 100%;
    width: 100%;
    padding: 10px 10px 0;
    text-align: center;
  }
  .info-block .info-block-text h2 {
    font-size: 28px;
    margin: 0;
  }
  .info-block .info-block-text .title-divider {
    max-width: 200px;
    margin: 0 auto;
  }
  .info-block .info-block-text p {
    font-size: 22px;
    line-height: 1.2;
  }
  .info-block .info-block-image {
    position: relative;
  }
  .info-block .info-block-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 80%;
    border-radius: 15px;
    z-index: 1;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }
  .info-block.reverse .info-block-image::before {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 50%);
  }
}
@media (max-width: 576px) {
  .info-block {
    margin: 20px;
    padding: 18px 12px;
  }
  .info-block .info-block-text {
    max-width: 100%;
  }
  .info-block .info-block-text h2 {
    font-size: 22px;
  }
  .info-block .info-block-text p {
    font-size: 18px;
    line-height: 1;
  }
  .info-block .info-block-text .title-divider {
    max-width: 200px;
  }
  .info-block .info-block-image {
    max-width: 80%;
  }
}
.news-block {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}
.news-block-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}
.news-block-title {
  position: absolute;
  top: 420px;
  left: 0;
  height: 46px;
  z-index: 2;
  width: 100%;
  background: linear-gradient(to right, #1f1f1f, rgba(31, 31, 31, 0.8), rgba(0, 0, 0, 0) 60%);
}
.news-block-title .text {
  margin: 0 auto;
  max-width: 1440px;
}
.news-block-title .text p {
  font-size: 32px;
  font-weight: 500;
  color: #F5F5F5;
  margin: 0 0 0 40px;
}
.news-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  z-index: 3;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #000000 10%, #000000 90%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.news-slider {
  display: flex;
  gap: 20px;
  width: 1200px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  cursor: grab;
  transition: none;
}
.news-slider:active {
  cursor: grabbing;
}
.news-slider .news-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 400px;
  height: 450px;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: 15px;
  color: #F5F5F5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}
.news-slider .news-card:hover {
  transform: scale(1.05);
}
.news-slider .news-card .card-wrapper {
  position: absolute;
  inset: 20px;
  background-color: rgba(249, 249, 249, 0.2);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 40px);
}
.news-slider .news-card .news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}
.news-slider .news-card .card-header {
  margin-left: -20px;
  width: calc(100% + 20px);
  padding: 10px 20px;
  border-radius: 15px;
  background: linear-gradient(to right, rgba(195, 195, 195, 0.8), rgba(0, 0, 0, 0) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.news-slider .news-card .card-header .title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #1e1e1e;
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.news-slider .news-card .card-header .date {
  font-size: 14px;
  font-weight: 300;
  color: #F5F5F5;
  white-space: nowrap;
  flex: 0 0 auto;
}
.news-slider .news-card p {
  margin: 20px 20px 0 20px;
  color: #F5F5F5;
  line-height: 1.4;
}
.news-slider .news-card a {
  margin-top: auto;
  align-self: flex-end;
  margin-right: 20px;
  margin-bottom: 20px;
  text-decoration: none;
  font-weight: bold;
  color: #58A2AC;
}
.news-slider .news-card a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .news-slider-wrapper {
    width: 90%;
    height: 100%;
    position: relative;
  }
  .news-slider {
    position: absolute;
    top: 50%;
    left: 0;
    right: auto;
    width: 100%;
    transform: translateY(-50%);
  }
  .news-slider .news-card {
    flex: 0 0 85%;
    height: 400px;
  }
  .news-slider .news-card a {
    margin-right: 12px;
    margin-bottom: 12px;
  }
  .news-slider .news-card .card-header {
    margin-left: -12px;
    width: calc(100% + 12px);
    padding: 14px 12px;
  }
  .news-slider .news-card p {
    margin: 12px;
    font-size: 12px;
  }
  .news-slider .news-card .card-wrapper {
    inset: 12px;
    height: calc(100% - 24px);
  }
  .news-slider .news-card .news-image {
    height: 200px;
  }
}
.main-page-settings {
  margin: 0 40px;
}
.main-page-settings h5 {
  margin-top: 20px;
}
@media (max-width: 576px) {
  .news-block-title {
    top: 530px;
    background: linear-gradient(to right, #1f1f1f, rgba(31, 31, 31, 0.8), rgba(0, 0, 0, 0.4) 60%);
  }
  .news-block-title .text p {
    margin: 0 0 0 20px;
  }
  .news-block-bg {
    background-position: 45% center;
  }
  .main-page-settings {
    margin: 0 20px;
  }
}
/* ===== Base ===== */
.footer-wrapper {
  width: 100%;
  background-color: #6E6D6D;
  flex-shrink: 0;
  overflow-x: hidden;
}
.footer-wrapper,
.footer-wrapper * {
  box-sizing: border-box;
}
.footer-bottom-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 100px 10px;
  text-align: center;
}
/* ===== Divider (PNG, стабильно на всех экранах) ===== */
.footer-divider,
.footer-content-divider {
  width: 100%;
  height: 2px;
  display: block;
  background-image: url('/images/divider.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
/* footer-divider всегда виден */
.footer-divider {
  display: block;
}
/* ===== Desktop ===== */
.footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 40px 10px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  color: #F5F5F5;
  gap: clamp(16px, 4vw, 80px);
  /* divider между колонками в десктопе не нужен */
}
.footer .footer-logo {
  flex: 0 0 auto;
}
.footer .footer-logo img {
  width: 190px;
  height: auto;
  display: block;
}
.footer .footer-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 80px);
}
.footer .footer-column {
  flex: 0 1 auto;
  min-width: clamp(180px, 18vw, 260px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
}
.footer .footer-column.nav-links a {
  color: #F5F5F5;
  text-decoration: none;
}
.footer .footer-column.nav-links a:hover {
  text-decoration: underline;
}
.footer .footer-column.owner-info {
  max-width: clamp(220px, 18vw, 280px);
  overflow-wrap: anywhere;
}
.footer .footer-column.owner-info a {
  color: #F5F5F5;
  text-decoration: none;
}
.footer .footer-column.owner-info a:hover {
  text-decoration: underline;
}
.footer .footer-column.owner-info .social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 8px;
}
.footer .footer-column.owner-info .social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
}
.footer .footer-image {
  flex: 0 0 auto;
}
.footer .footer-image img {
  width: 120px;
  min-width: 120px;
  height: auto;
  display: block;
}
.footer .footer-content-divider {
  display: none;
}
/* ===== Stack (адаптив в столбик) ===== */
@media (max-width: 1100px) {
  .footer {
    flex-direction: column;
    align-items: center;
    padding: 60px 30px 30px;
    gap: 20px;
    /* divider между блоками — только здесь */
  }
  .footer .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }
  .footer .footer-content-divider {
    display: block;
    align-self: stretch;
  }
  .footer .footer-column {
    text-align: center;
    min-width: 0;
    max-width: 100%;
  }
  .footer .footer-column.owner-info {
    max-width: 100%;
  }
  .footer .footer-column.owner-info .social-links {
    justify-content: center;
  }
  .footer .footer-logo,
  .footer .footer-image {
    text-align: center;
    align-self: center;
  }
}
/* ===== Tablet ===== */
@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 20px;
  }
  .footer .footer-column {
    gap: 12px;
    font-size: 14px;
  }
  .footer .footer-logo img {
    width: 140px;
  }
  .footer-bottom-wrapper {
    padding: 20px 20px 10px;
  }
}
/* ===== Mobile ===== */
@media (max-width: 480px) {
  .footer {
    padding: 30px 15px 15px;
  }
  .footer .footer-column {
    font-size: 14px;
  }
  .footer .social-links a {
    width: 35px;
    height: 35px;
  }
  .footer .footer-logo img {
    width: 120px;
  }
  .footer .footer-image img {
    max-height: none;
    height: auto;
  }
  .footer-bottom-wrapper {
    padding: 20px 15px 10px;
  }
}
.breadcrumb {
  width: 100%;
  font-size: 14px;
  background: #f9f9f9;
  padding: 10px 0;
  margin-bottom: 0;
}
.breadcrumb-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb-item-custom {
  display: flex;
  align-items: center;
  margin-right: 5px;
  position: relative;
}
.breadcrumb-item-custom svg {
  margin-right: 2px;
  display: inline-flex;
  align-items: center;
  color: #B5B8B1;
}
.breadcrumb-item-custom a,
.breadcrumb-item-custom span {
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: #555;
  padding: 0 2px;
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
}
.breadcrumb-item-custom a {
  color: #58A2AC;
}
.breadcrumb-item-custom a:hover {
  color: #3d737b;
  transform: scale(1.05);
}
.breadcrumb-item-custom a::after,
.breadcrumb-item-custom span::after {
  content: "➔";
  margin-left: 8px;
  color: #B5B8B1;
  font-size: 14px;
}
.breadcrumb-item-custom.last a::after,
.breadcrumb-item-custom.last span::after {
  content: "";
}
@media (max-width: 576px) {
  .breadcrumb {
    padding: 10px 20px;
  }
  .breadcrumb .breadcrumb-content {
    padding: 0 0;
  }
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 20px;
  padding: 20px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 15px;
  background: #fafafa;
  transition: transform 0.2s, box-shadow 0.2s;
}
.icon-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.icon-item icon {
  font-size: 32px;
  /* размер иконки */
  margin-bottom: 8px;
}
.icon-label {
  font-size: 12px;
  color: #333;
  text-align: center;
  word-break: break-word;
}
/* ===============================
   SOCIAL ICONS (SVG MASK)
   =============================== */
.social-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-color: #58A2AC;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
.social-icon:hover {
  transform: scale(1.1);
}
/* ===== ИКОНКИ ===== */
.social-icon.tg {
  -webkit-mask-image: url('/images/telegram.svg');
  mask-image: url('/images/telegram.svg');
}
.social-icon.wa {
  -webkit-mask-image: url('/images/whatsapp.svg');
  mask-image: url('/images/whatsapp.svg');
}
.social-icon.vk {
  -webkit-mask-image: url('/images/vk.svg');
  mask-image: url('/images/vk.svg');
}
.tabulator {
  background-color: #F5F5F5;
  border: 1px solid #B5B8B1;
  color: #333;
  border-radius: 15px;
  /* Hover */
  /* Последняя колонка без правой границы */
  /* Контейнер с горизонтальным скроллом */
}
.tabulator .tabulator-header {
  background-color: #B5B8B1;
  color: #333;
  font-weight: bold;
}
.tabulator .tabulator-cell {
  background-color: #F5F5F5;
  color: #333;
  border-right: 1px solid #B5B8B1;
  border-bottom: 1px solid #B5B8B1;
}
.tabulator .tabulator-cell button.btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  width: 40px;
  height: 40px;
}
.tabulator .tabulator-row.tabulator-row-even .tabulator-cell {
  background-color: #ffffff;
}
.tabulator .tabulator-row:hover .tabulator-cell {
  background-color: #e8e9e6;
}
.tabulator .tabulator-cell:last-child,
.tabulator .tabulator-header:last-child {
  border-right: none;
}
.tabulator .tabulator-tableHolder {
  overflow-x: auto;
  background-color: #F5F5F5;
}
.tabulator img {
  border-radius: 15px;
}
.tabulator-footer {
  background-color: #B5B8B1;
}
/* Селекторы пагинации */
.tabulator-paginator {
  color: #333;
}
.tabulator-paginator .tabulator-page-size label {
  color: #333;
}
.tabulator-paginator button {
  background-color: #B5B8B1;
  color: #333;
  border: none;
  margin: 0 2px;
}
.tabulator-paginator button:hover {
  background-color: #9ca096;
}
#imageModal .modal-body {
  position: relative;
  padding: 0;
  text-align: center;
}
#imageModal .modal-body img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 15px;
  display: inline-block;
}
#imageModal .modal-body .image-close-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
#imageModal .modal-body .image-close-btn:hover {
  border-radius: 15px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}
#imageModal .modal-body .image-close-btn::before,
#imageModal .modal-body .image-close-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 1.7rem;
  background-color: #F5F5F5;
  border-radius: 2px;
}
#imageModal .modal-body .image-close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#imageModal .modal-body .image-close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* =========================
   NEWS MODAL (FINAL)
   ========================= */
.news-modal {
  /* ограничиваем ширину модалки */
  /* не трогаем bootstrap */
  /* =========================
     BODY
     ========================= */
  /* =========================
     IMAGE
     ========================= */
  /* =========================
     META
     ========================= */
  /* =========================
     TITLE PILL
     ========================= */
  /* =========================
     TEXT
     ========================= */
  /* =========================
     CLOSE (same as imageModal)
     ========================= */
}
.news-modal .modal-dialog {
  max-width: 640px;
  margin: 1.75rem auto;
}
.news-modal .modal-content {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.news-modal__body {
  position: relative;
  background: #EFE7D8;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: visible;
}
.news-modal__image-wrap {
  text-align: center;
}
.news-modal__image {
  width: 600px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 15px;
}
.news-modal__meta {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  background: transparent;
  overflow: visible;
  height: auto;
  margin-top: 10px;
}
.news-modal__date {
  opacity: 0.75;
  white-space: nowrap;
  z-index: 2;
  font-weight: 300;
  font-size: 18px;
}
.news-modal__title {
  position: relative;
  margin-left: auto;
  top: 0;
  right: -40px;
  width: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  z-index: 2;
  padding: 10px 0;
}
.news-modal__title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  background: linear-gradient(to left, #c3c3c3 10%, #c3c3c3 11%, rgba(195, 195, 195, 0) 100%);
  z-index: -1;
  pointer-events: none;
}
.news-modal__text {
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.news-modal .image-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.news-modal .image-close-btn:hover {
  border-radius: 15px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}
.news-modal .image-close-btn::before,
.news-modal .image-close-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 1.7rem;
  background-color: #F5F5F5;
  border-radius: 2px;
}
.news-modal .image-close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.news-modal .image-close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 768px) {
  .news-modal .modal-dialog {
    max-width: calc(100% - 20px);
    margin: 10px auto;
  }
  .news-modal__image {
    width: 100%;
  }
  .news-modal__meta {
    padding: 0;
  }
  .news-modal__date {
    padding-left: 10px;
    font-size: 16px;
  }
  .news-modal__title {
    right: 0;
    width: 100%;
    justify-content: end;
    padding-right: 10px;
    text-align: right;
    max-width: 60%;
    font-size: 16px;
  }
}
.news-load-more {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}
.news-load-more__btn {
  padding: 12px 28px;
  border-radius: 15px;
  border: 1px solid #58A2AC;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #333;
}
.news-load-more__btn:hover {
  background: #58A2AC;
  color: #F5F5F5;
}
.news-load-more__btn.is-disabled,
.news-load-more__btn:disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.news-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.news-card--hidden {
  opacity: 0;
  transform: translateY(20px);
}
.news-card--visible {
  opacity: 1;
  transform: translateY(0);
}
