/*
Theme Name: RostovCastle
Theme URI: https://rostovcastle.ru
Author: A.Krasutskiy
Author URI: https://shacur.ru
Description: Ростовская крепость
Version: 1.0
Text Domain: RostovCastle
*/

@font-face {
  font-family: "Bookman Old Style";
  src: url("/wp-content/themes/RostovCastle/fonts/bookman-old-style.woff2") format("woff2"),
       url("/wp-content/themes/RostovCastle/fonts/bookman-old-style.woff") format("woff");
       url("/wp-content/themes/RostovCastle/fonts/roboto-regular.woff2") format("woff");
       url("/wp-content/themes/RostovCastle/fonts/roboto-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {margin: 0 !important;}

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

/* Главный слайд */
.main-slide {
    background-image: url(/wp-content/themes/RostovCastle/main-img/main-new-2.jpg); 
    background-position: center center; 
    background-size: auto; 
    background-repeat: no-repeat;
}

@media (max-width: 1280px) {
    .main-slide {
    	background-position: right center;
    	background-size: cover;
    }
}

/* Стили шапки */
.header {
    background-color: #fbfaf9;
    box-shadow: 0 12px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Логотип */
.logo img {
    display: block;
}

/* Мобильная кнопка меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s;
}

.menu-toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle--active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -5px);
}

/* Навигационное меню */
.menu {
    display: flex;
}

.menu__list {
    display: flex;
    list-style: none;
}

.menu__item {
    margin-left: 2rem;
}

.menu__link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 2px;
}

.menu__link:hover {
    text-decoration: underline;
}

/* Адаптивность — для экранов меньше 768px */
@media (max-width: 768px) {
    .no-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        width: 100%;
    }

    .menu--active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu__list {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .menu__item {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .menu__item:last-child {
        border-bottom: none;
    }

    .menu__link {
        display: block;
        padding: 1rem;
    }
}

.fa {margin: 0 10px 0 0;}

.rostov-page {
  background: #fbfaf9;
  color: #fbfaf9;
  font-family: "Roboto", sans-serif;
}

.rostov-page *,
.rostov-page *::before,
.rostov-page *::after {
  box-sizing: border-box;
}

.rostov-container {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.rostov-section {
  padding: 50px 0 40px;
}

/* .rostov-section--cards {
  padding-top: 18px;
} */

.rostov-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef3f9;
  color: #36527a;
  font-size: 14px;
  font-weight: 600;
}

.rostov-title {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #101d2a;
  font-family: "Bookman Old Style", sans-serif;
}

.rostov-title-museum {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #101d2a;
  font-family: "Bookman Old Style", sans-serif;
}


.rostov-lead {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 20px;
  color: #4d5f78;
}

/* .rostov-about-museum {height: 780px;} */
.rostov-about-img {
  border-radius: 24px;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.image-with-button {
  position: relative;
  display: inline-block;
}

.image-with-button img {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 24px;
  /* background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #fff;
  border-radius: 30px; */
  color: #333;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  text-align: center;
  line-height: 1;
  font-family: Arial, sans-serif;
}

.overlay-button:hover {
  /* background-color: rgba(255, 255, 255, 1); */
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Стили для всплывающего окна */
.modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Полупрозрачный фон */
}

/* Показываем окно, когда URL содержит #video-modal */
#video-modal:target {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  padding: 0;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  text-align: center;
  top: 10%;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  text-decoration: none;
}

.close:hover {
  color: #000;
}

#video-player, iframe {
  width: 720px;
  min-height: 405px;
}

.rostov-hero {
  padding: 50px 0 40px;
}

.rostov-hero-muzeum {
  padding: 50px 0 40px;
}


.rostov-hero__content p{
  color: #333;;
  font-size:16px !important;
  text-shadow: 1px 0 3px #fff;
}

.rostov-hero__content ul, ol, li {
  color: #18385d;;
  font-size:16px !important;
}


.rostov-hero__content li>a, .news-content a {color: #1f2f46; text-decoration: underline;}
.rostov-hero__content li>a:hover, .news-content a:hover {text-decoration: none;}
.news-content ul, ol, li {color: #333 !important;}

.rostov-hero__content li {
  padding: 3px 0;
}


.rostov-hero__grid {
  display: flex;
  flex-direction: column; /* На мобильных — вертикально */
  gap: 20px;
}

.rostov-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.rostov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}

.rostov-btn--primary {
  background: #d09b32;
  color: #fff;
}

.btn-podval {
  text-decoration: none !important;
}

.rostov-btn--primary:hover {
  background: #b98623;
  color: #fff;
}

.rostov-btn--ghost {
  border: 1px solid #274a74;
  color: #274a74;
  background: #fff;
}

.rostov-btn--ghost:hover {
  background: #f4f8fc;
  color: #274a74;
}

.rostov-features {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.rostov-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  gap: 8px;
}

.rostov-feature__icon {
  width: 75px;
  height: 75px;
  border-radius: 14px;
  background: #f2f6fb;
  color: #274a74;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.rostov-feature__icon-slide {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  background: #f2f6fb;
  color: #274a74;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}


.rostov-feature__text {
  font-size: 14px;
  color: #35506f;
  font-weight: 600;
}

.rostov-hero__visual {
  position: relative;
}

.rostov-hero__image-wrap {
  position: relative;
  min-height: 620px;
  float: right;
  /* border-radius: 28px; */
  overflow: hidden;
  /* background: linear-gradient(180deg, #f1f6fb 0%, #e2ebf4 100%); */
}

.rostov-hero__image {
  width: 45px;
  height: 45px;
  object-fit: cover;
  display: block;
}

.rostov-hero__image-slide {
  width: 30px;
  height: 30px;
  object-fit: cover;
  display: block;
}


.rostov-hero__image-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.rostov-map-card {
  position: absolute;
  left: 24px;
  bottom: 170px;
  width: 280px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 18px 50px rgba(24, 49, 84, 0.12);
}

.rostov-map-card__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #101d2a;
}

.rostov-map-card__text {
  font-size: 14px;
  color: #5a6a80;
}

.rostov-phone-card {
  position: absolute;
  right: 18px;
  bottom: 70px;
  width: 260px;
  padding: 10px;
  border-radius: 36px;
  /* background: #131313;
  box-shadow: 0 26px 60px rgba(0,0,0,.22); */
}

.rostov-phone-card__screen {
  overflow: hidden;
  border-radius: 28px;
}

.rostov-phone-card__screen img {
  display: block;
  width: 100%;
  height: auto;
}

.rostov-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.rostov-card {
  display: block;
  overflow: hidden;
  border-radius: 26px;
  text-decoration: none;
  color: inherit;
  background: #f7f9fc;
  box-shadow: 0 10px 30px rgba(39, 74, 116, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.rostov-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(39, 74, 116, 0.10);
}

.rostov-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.rostov-card__body {
  padding: 22px;
}

.news-content h1 {
  margin: 0 0 50px !important;
}

.rostov-card__body h3 {
  margin: 5px 0 15px 0;
  font-size: 24px;
  line-height: 1.1;
  color: #18385d;
  text-shadow: none !important;
}

.news-content h3, .news-content h2, .news-content h1 {
  margin: 0 0 -5px;
  line-height: 1.1;
  color: #18385d;
  font-family: "Bookman Old Style", sans-serif;
  text-shadow: none !important;
}

.news-content h1 {
  font-size: 36px;
}

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

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


.rostov-card__body p {
  margin: 0 0 14px;
  color: #333;
}

.rostov-card__body span {
  color: #24476f;
  font-weight: 700;
}

.rostov-card--blue {
  background: #edf3f9;
}

.rostov-card--sand {
  background: #f5efe3;
}

.rostov-section-head {
  margin-bottom: 24px;
}

.rostov-section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.rostov-section-head--tight {
  margin-bottom: 18px;
}

.rostov-section-head h2, .head-museum {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.05;
  color: #101d2a;
  font-family: "Bookman Old Style", sans-serif;
}

.rostov-section-head p {
  margin: 0;
  color: #61728a;
  font-size: 18px;
}

.rostov-link-more {
  text-decoration: none;
  color: #274a74;
  font-weight: 700;
}

.rostov-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.rostov-step {
  padding: 28px 24px;
  border-radius: 22px;
  background: #f7fafc;
  border: 1px solid #edf2f7;
}

.rostov-step__num {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #d09b32;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rostov-step h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #101d2a;
}

.rostov-step p {
  margin: 0;
  color: #61728a;
}

.rostov-route {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
  background: #f7fafc;
  border-radius: 28px;
  padding: 30px;
}

.rostov-route__content h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  color: #101d2a;
  font-family: "Bookman Old Style", sans-serif;
}

.rostov-route__content p {
  margin: 0 0 18px;
  color: #5f7087;
  font-size: 18px;
}

.rostov-list {
  margin: 0 0 24px;
  padding-left: 18px;
  color: #40516a;
}

.rostov-list li + li {
  margin-top: 8px;
}

.rostov-route__visual img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.rostov-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rostov-events-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rostov-events-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
.rostov-events-4col {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 768px) {
.rostov-events-4col {grid-template-columns: repeat(1, 1fr);}
}


.rostov-event, .rostov-news  {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #edf1f6;
  box-shadow: 0 8px 24px rgba(39, 74, 116, 0.05);
}

.rostov-event__date {
  padding: 14px 18px 0;
  color: #b07b1d;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

.rostov-event__body {
  padding: 25px 18px 14px;
  min-height: 145px;
}

.rostov-event__body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
  color: #101d2a;
  font-family: "Roboto", sans-serif !important;
}

.rostov-event__body p {
  margin: 0;
  color: #61728a;
}

.rostov-event__body-news {
  padding: 8px 18px 14px;
  min-height: 145px;
}

.rostov-event__body-news h3 {
  margin: 20px 0 10px 0;
  font-size: 24px;
  line-height: 1.15;
  color: #101d2a;
}

.rostov-event__body-news p, .rostov-event__body p {
  margin: 0;
  color: #333;
  margin-bottom: 14px;
  font-family: "Roboto", sans-serif;
}

.rostov-event__body-news a, .rostov-event__body a, .rostov-card__body a {
  color: #24476f !important;
  font-weight: 700;
  text-decoration: none !important;
}
.rostov-event__body-news a:hover, .rostov-event__body a:hover, .rostov-card__body a:hover {
  text-decoration: underline !important;
}


.rostov-event img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.rostov-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.rostov-panel {
  border-radius: 26px;
  padding: 28px;
}

.rostov-panel--sand {
  background: #f5efe3;
}

.muzeum-title {
  font-size:24px !important;
}

.rostov-panel--sand p {color: #333;}
.rostov-panel--sand ul> li, .rostov-panel--sand ol> li {color: #1f2f46; padding:3px;}
.rostov-panel--sand ul {color: #1f2f46; margin: 0 0 20px 0;}
.rostov-ex {margin: 30px 0;}

.rostov-panel--blue {
  /* background: #edf3f9; */
}

.strelec {
  background-image: url(/wp-content/themes/RostovCastle/main-img/progulka-so-strelczom-1.jpg); 
  background-size: cover; 
  background-repeat: no-repeat; 
  background-position: center top;
}
.strelec h2 {
  text-shadow: 5px 5px 20px #f5efe3;
  margin: 50% 0 0 0;
  background: #fff;
  opacity: 0.9;
  padding: 15px;
}

.strelec p {
  color: #101d2a !important;
}
.strelec-text {
  background: #fff;
  opacity: 0.9;
  padding: 15px;
  border-radius: 5px;
  line-height: 40px;
  margin-top:70%;
}

.strelec-text p {font-size:120%;}
.strelec-text a {color: #1f262d; text-decoration: none;}
.strelec-text a:hover {color: #1f262d; text-decoration: underline;}
.strelec-btn {margin-top: 20px;}
.icon-call, .icon-envolop {padding: 0 15px;}

.ex1 {
  background-image: url(/wp-content/themes/RostovCastle/main-img/svg1.svg);
  background-repeat: no-repeat;
  padding: 0 0 0 40px;
  margin: 20px;
}
.ex2 {
  background-image: url(/wp-content/themes/RostovCastle/main-img/svg2.svg);
  background-repeat: no-repeat;
  padding: 0 0 0 40px;
  margin: 20px;
}
.ex3 {
  background-image: url(/wp-content/themes/RostovCastle/main-img/svg3.svg);
  background-repeat: no-repeat;
  padding: 0 0 0 40px;
  margin: 20px;
}
.ex4 {
  background-image: url(/wp-content/themes/RostovCastle/main-img/svg4.svg);
  background-repeat: no-repeat;
  padding: 0 0 0 40px;
}

.ex5 {
  background-image: url(/wp-content/themes/RostovCastle/main-img/svg1.svg);
  background-repeat: no-repeat;
  padding: 10px 0 0 0;
}


.rostov-excursions {
  display: grid;
  gap: 14px;
}

.rostov-excursions-valy {
  color: #000;
  line-height: 26px;
  margin-top:30px;
}

.rostov-excursion-item {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  text-decoration: none;
  color: #1f2f46;
}

.rostov-excursion-item-dop {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: #101d2a;
  border: 2px solid #274a74;
  background: #fff;
}

.rostov-excursion-item-dop strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}


.rostov-excursion-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.rostov-excursion-item span {
  color: #61728a;
}

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

.rostov-links-list li + li {
  margin-top: 12px;
}

.rostov-links-list a {
  text-decoration: none;
  color: #274a74;
  font-weight: 700;
}

.rostov-footer {
  margin-top: 30px;
  padding: 28px 0;
  background: url(/main-img/plue-pattern.png) no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

.rostov-footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.rostov-footer__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: "Bookman Old Style", sans-serif;
}

.rostov-footer__text {
  color: rgba(255,255,255,.78);
}

.rostov-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.rostov-footer__nav a {
  color: #fff;
  text-decoration: none;
}

.footer-white {
  margin-top: -75px;
  background: #fbfaf9;
  color: #61728a;
  padding: 30px 40px;
  border-radius: 24px 24px 0 0;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-white a {
  color: #61728a;
  text-decoration: underline;
}

.footer-white a:hover {
  text-decoration: none;
}


/* ADAPTIVE */
@media (max-width: 1199px) {
  .rostov-cards,
  .rostov-steps,
  .rostov-events {
    grid-template-columns: repeat(2, 1fr);
  }

  .rostov-hero__grid,
  .rostov-route {
    grid-template-columns: 1fr;
  }

  .rostov-hero__image-wrap {
    min-height: 540px;
  }
}

@media (max-width: 767px) {
  .rostov-container {
    width: min(100% - 24px, 1280px);
  }

  .rostov-section {
    padding: 28px 0;
  }

  .rostov-title {
    font-size: 42px;
  }

  .rostov-lead {
    font-size: 17px;
  }

  .rostov-cards,
  .rostov-steps,
  .rostov-events,
  .rostov-bottom-grid {
    grid-template-columns: 1fr;
  }

  .rostov-section-head--row,
  .rostov-footer__grid {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .rostov-phone-card {
    width: 160px;
    right: 12px;
    bottom: 12px;
  }

  .rostov-map-card {
    left: 12px;
    bottom: 12px;
    width: 210px;
    padding: 14px;
  }

  .rostov-card__body h3, .news-content h3
  .rostov-event__body h3 {
    font-size: 22px;
  }

  .rostov-hero__image-wrap {
    min-height: 420px;
    border-radius: 22px;
  }

  .rostov-route {
    padding: 18px;
  }

  .rostov-panel {
    padding: 22px;
  }
}

.slider-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    /* height: 380px; */
    display: none;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s;
}

.wpcf7-submit {
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px; font-size:200%;
}

.next {
    right: 10px; font-size:200%;
}

.footer {
    background: url(/wp-content/themes/RostovCastle/main-img/plue-pattern.png) no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 100px 120px 150px 120px;
    font-size:18px;
    /* margin-top:100px; */
    color: #fbfaf9;
    font-family: "Roboto", sans-serif;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.logo-column {
    text-align: center;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.footer-description {
    margin-top: 15px;
    line-height: 1.5;
    color: #fff;
    text-align: left;
}

.menu-column,
.contacts-column {
    text-align: left;
}

.footer-title {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 22px;
    padding-bottom: 8px;
}

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

.footer-menu li {
    margin-bottom: 25px;
}

.footer-menu a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    text-decoration: none;
}

.footer-contacts p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 40px;
    background: #fff;
	padding-bottom: 50px;
	margin-bottom: 20px;
}

.news-title {
    text-align: center;
    margin: 0 0 50px 0;
}

.news-title-new {
    text-align: center;
    font-weight:bold;
	font-size:clamp(1.8rem,4.5vw,3.1rem) !important;
	line-height:1.15;
	margin:0 0 18px;
	text-shadow:0 2px 14px rgba(0,0,0,.4);
	color:#fff !important;
}

.featured-image img {
    max-width: 100%;
    height: auto;
}

.entry-content p {
    text-align: justify;
    color: #333;
    font-size: 17px !important;
}

.partners-logos {
  display: flex;
  justify-content: space-between; /* Равномерные отступы между логотипами */
  align-items: center; /* Выравнивание по вертикали */
  flex-wrap: nowrap; /* Запрет переноса на новую строку */
  padding: 20px 0;
  box-sizing: border-box;
  overflow-x: hidden; /* Скрываем горизонтальную прокрутку, если она вдруг появится */
}

.logo-item {
  flex: 0 1 auto; /* Не растягиваем, но даём сжиматься при необходимости */
  min-width: 0; /* Разрешаем сжимать элемент ниже его содержимого */
  display: flex;
  justify-content: center;
}

.logo-item img {
  max-width: 100%; /* Логотип не выходит за границы своего блока */
  height: auto; /* Сохраняем пропорции */
  display: block;
}

.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea {
  background: #fff;
  border: 1px solid #eeeeee;
  padding: 14px 18px;
  border-radius: 3px;
  padding-right: 40px;
}

.wpcf7-response-output {
  color: #333;
}

.valls {
  width: 50px; margin: 0 10px -20px 0; background: #f2f6fb;; padding: 10px; border-radius: 50%;
}
.valls-block p {
  margin: 0 0 30px 0; color: #35506f; font-weight: 600;
}

.privacy {text-align: right;}

.main-title {width: 60%;}

.fond {
	display:inline-block;
	font-size:.72rem;
	letter-spacing:.14em;
	text-transform:uppercase;
	padding:6px 14px;
	border:1px solid rgba(255,255,255,.55);
	border-radius:40px;
	margin-bottom:22px;
	color:#fff !important;
}

.events-img {
	position:relative;
	border-radius:6px;
	overflow:hidden;
	padding:64px 32px;
	color:#fff;
	text-align:center;
	background-size:cover;
	background-position:center;
}

.more-events-block {text-align:center;}
.more-events, #load-more-news {margin: 50px auto 0 auto; padding: 20px; border: none; cursor: pointer; font-size: 16px; border-radius: 10px;}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
        padding: 100px 50px 150px 50px;
    }
    .main-title {width: 100%;}
    .privacy {
        text-align: left;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .social-links a {
        margin-right: 10px;
        font-size: 14px;
    }
    .rostov-title {
        color: #fff; 
        text-shadow: 5px 3px 10px #000;
    }
    .rostov-feature__text {
        color: #fff;
    }
}

/* Для планшетов и выше (от 768px) */
@media (min-width: 768px) {
  .rostov-hero__grid {
    flex-direction: row; /* На планшетах — горизонтально */
    align-items: center;
  }

  .rostov-hero__content {
    order: 1;
    flex: 1;
    padding-right: 30px;
  }

  .rostov-hero__visual {
    order: 2;
    flex: 1;
  }

  .rostov-about-img {
    max-width: 100%;
  }
}

/* Для десктопов (от 1024px) */
@media (min-width: 1024px) {
  .rostov-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .rostov-hero__content {
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  
  .muzeum-title {
    font-size: 1.2rem;
  }
  
  .rostov-section-head--tight h2 {
    font-size: 1.3rem;
  }
}

.grecaptcha-badge { visibility: hidden; }

.dscf7_lt {color:#333;}