/* Базовые стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: 300;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Запрет прокрутки при открытом бургер-меню */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

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

/* Шапка */
.site-header {
    background: #293844;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.site-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: -1;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    color: white;
    font-size: 0.9rem;
    margin-right: 15px;
}

.header-hours {
    white-space: nowrap;
    font-weight: 500;
}

.header-email {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.header-email:hover {
    color: #e67e22;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-phones {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.header-phone {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.header-phone:hover {
    color: #e67e22;
}

.logo img {
    height: 90px;
    width: auto;
    transition: all 0.3s;
}

.help-button {
    background: #e67e22;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    margin-left: 0;
    order: 2;
    cursor: pointer;
    border-radius: 25px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.help-button:hover {
    background: #d35400;
}

main {
    flex: 1 0 auto;
    padding: 20px 0;
}

.main-nav {
    display: flex;
}

.main-nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #e67e22;
}

.main-nav li {
    position: relative;
}

.main-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: #2c3e50;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-nav li:hover .dropdown {
    display: block;
}

.main-nav .dropdown li {
    padding: 0.5rem 1rem;
}

.main-nav .dropdown a {
    color: white !important;
    font-size: 1rem;
    z-index: 1000;
    min-width: auto;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
}

.main-nav .dropdown a:hover {
    color: #e67e22 !important;
}

/* Бургер меню */
.burger-menu {
    display: none;
}

.burger-checkbox {
    position: absolute;
    visibility: hidden;
}

.burger {
    position: relative;
    z-index: 1;
    cursor: pointer;
    display: block;
    border: none;
    background: transparent;
    width: 30px;
    height: 24px;
}

.burger::before,
.burger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform-origin: center;
    top: 50%;
    transform: translateY(-50%);
}

.burger::before {
    top: 0;
    transform: translateY(0);
}

.burger::after {
    bottom: 0;
    transform: translateY(0);
}

.burger-checkbox:checked + .burger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger-checkbox:checked + .burger::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.burger-checkbox:checked + .burger span {
    opacity: 0;
}

.burger-checkbox:checked ~ .mobile-menu {
    top: 100%; 
    position: absolute;
    width: 100%;
    left: 0;
}

.burger:hover::before,
.burger:hover::after {
    background: #e67e22;
}

.burger:hover span {
    background: #e67e22 !important;
}

/* Основной контент */
/* Hero section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.main-image {
    margin: 2rem auto;
    max-width: 1000px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.image-caption {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #2c3e50;
}

.appeal-section {
  padding: 60px 20px;
  background-color: #f7f5f2;
  font-family: "Segoe UI", Arial, sans-serif;
}

.appeal-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.appeal-title {
  font-size: 26px;
  margin-bottom: 25px;
  text-align: center;
  color: #2c2c2c;
}

.appeal-container p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

.appeal-highlight {
  font-weight: 600;
  color: #2f3e46;
}

.appeal-list {
  margin: 20px 0 30px;
  padding-left: 20px;
}

.appeal-list li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.appeal-final {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 30px;
  color: #1b4332;
}

.appeal-thanks {
  text-align: center;
  font-style: italic;
  color: #555;
  margin-top: 15px;
}

.appeal-contacts {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid #d6cfc4;
  text-align: center;
  font-size: 15px;
  color: #444;
}

.contacts-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #2c2c2c;
  letter-spacing: 0.5px;
}

.appeal-contacts p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.appeal-contacts a {
  color: #7a6a3a;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #b7a77a;
}

.appeal-contacts a:hover {
  color: #1b4332;
  border-bottom-color: #1b4332;
}

.restoration-preview {
  margin: 60px auto 40px;
  max-width: 900px;
  text-align: center;
}

.preview-title {
  font-size: 22px;
  margin-bottom: 25px;
  color: #2c2c2c;
}

.preview-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.preview-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.preview-gallery img:hover {
  transform: scale(1.03);
}

.preview-link {
  margin-top: 25px;
}

.preview-link a {
  font-size: 15px;
  font-weight: 600;
  color: #7a6a3a;
  text-decoration: none;
  border-bottom: 1px dashed #b7a77a;
}

.preview-link a:hover {
  color: #1b4332;
  border-bottom-color: #1b4332;
}

/* 📱 Адаптация */
@media (max-width: 768px) {
  .preview-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .preview-gallery img {
    height: 140px;
  }
}


.worktime-frame {
  margin: 60px auto 0;
  max-width: 760px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e7e2d9, #f6f4f0);
}

.frame-inner {
  background: #ffffff;
  border: 2px solid #cfc6b8;
  border-radius: 14px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: inset 0 0 0 1px #eee;
}

.frame-title {
  font-size: 24px;
  margin-bottom: 25px;
  letter-spacing: 1px;
  color: #2b2b2b;
  position: relative;
}

.frame-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #b7a77a;
  margin: 12px auto 0;
}

.frame-times {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}

.frame-time {
  min-width: 180px;
}

.frame-days {
  display: block;
  font-size: 14px;
  color: #777;
  margin-bottom: 6px;
}

.frame-hours {
  font-size: 28px;
  font-weight: 700;
  color: #000;
}

.frame-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 12px;
}

.frame-note {
  font-style: italic;
  color: #555;
  margin-top: 15px;
}

/* 📱 Адаптация */
@media (max-width: 600px) {
  .frame-times {
    flex-direction: column;
    gap: 20px;
  }

  .frame-hours {
    font-size: 24px;
  }
}


.donation-link {
  color: #7a6a3a;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed #b7a77a;
  transition: all 0.3s ease;
}

.donation-link:hover {
  color: #1b4332;
  border-bottom-color: #1b4332;
}


/* YouTube Video Section */
.video-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.youtube-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    position: relative;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transition: transform 0.3s ease;
}

.video-caption {
    text-align: center;
    margin: 1.5rem 0 0;
    font-size: 1.1rem;
    color: #2c3e50;
    padding: 0 15px;
    font-style: italic;
}

/* Стили для секции еврейских праздников */
#images-of-holidays {
    text-align: center;
    padding: 40px 20px;
    background: #f4f4f4;
  }
  
  #images-of-holidays h2 {
    margin-bottom: 20px;
  }
  
    /* Стили для изображений еврейских праздников */
  .images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .images-container .page {
    flex: 1 1 calc(50% - 15px); /* Две страницы в ряд */
    max-width: 500px;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .images-container .page:hover {
    transform: scale(1.05);
  }
  
  .page img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }

/* Стили для секции брошюры */
#brochure {
    text-align: center;
    padding: 40px 20px;
    background: #f4f4f4;
  }
  
  #brochure h2 {
    margin-bottom: 20px;
  }
  
  /* Стили для основных изображений */
  .main-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .main-images .page {
    flex: 0 1 auto;
    max-width: 500px;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .main-images .page:hover {
    transform: scale(1.05);
  }
  
  /* Стили для изображений брошюры */
  .brochure-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .brochure-container .page {
    flex: 1 1 calc(50% - 15px); /* Две страницы в ряд */
    max-width: 500px;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .brochure-container .page:hover {
    transform: scale(1.05);
  }
  
  .page img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  /* Стили для модального окна */
  .modal {
    display: none;
    position: fixed;
    z-index: 10000; /* Достаточно высокий, чтобы перекрыть прочий контент */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
  }
  
  .modal-content-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
  }
  
  .close:hover,
  .close:focus {
    color: #ddd;
  }
  
  /* Стили для навигационных стрелок */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    transition: color 0.3s;
  }
  
  .prev:hover, .next:hover {
    color: #ddd;
  }
  
  .prev {
    left: 20px;
  }
  
  .next {
    right: 20px;
  }

    .download-box {
      max-width: 400px;
      margin: 50px auto;
      padding: 30px;
      background: linear-gradient(135deg, #f0f4ff, #dbe9ff);
      border-radius: 12px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      text-align: center;
      font-family: 'Segoe UI', sans-serif;
    }

    .download-box h2 {
      margin-bottom: 15px;
      color: #2c3e50;
      font-size: 24px;
    }

    .download-box p {
      color: #555;
      font-size: 16px;
      margin-bottom: 25px;
    }

    .download-btn {
      display: inline-block;
      padding: 12px 24px;
      background-color: #3498db;
      color: white;
      text-decoration: none;
      font-weight: bold;
      border-radius: 8px;
      transition: background-color 0.3s ease;
    }

    .download-btn:hover {
      background-color: #2980b9;
    }

/* Стили для карточек кратких новостей */
.short-news-item {
    display: block;
    min-height: 100px;
    margin: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.short-news-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* Стили содержимого карточки кратких новостей */
.short-news-item h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.short-news-item p {
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.short-news-item time {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Стили для карточек новостей */
.news-item {
    display: flex;
    min-height: 150px;
    margin: 0.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.news-link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.news-image {
    flex: 0 0 200px; /* Фиксированная ширина изображения */
    position: relative;
    overflow: hidden;
    border-right: 1px solid #eee;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
}

.news-content h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.news-content p {
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content time {
    margin-top: auto;
    display: block;
    color: #666;
    font-size: 0.9em;
    order: 2;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Стили для кнопки "Читать далее" */
.news-content .read-more {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background: #e67e22;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.3s ease;
    align-self: flex-start;
    order: 3;
}

.news-content .read-more:hover {
    background: #d35400;
    cursor: pointer;
}

/* Эффекты при наведении */
.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

/* QR-коды */
.qr-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.qr-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.qr-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.qr-image {
    width: 180px;
    height: 180px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 10px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.qr-caption {
    margin-top: 1rem;
    font-weight: 500;
    color: #2c3e50;
    font-size: 1.1rem;
}

/* Эффекты при наведении */
.qr-item:hover .qr-image {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.qr-item:hover .qr-caption {
    color: #e67e22;
}

/* Календарь */
.calendar {
    padding: 3rem 0;
    background: #ecf0f1;
    display: none;  /* пока что календарь выключен */
}

/* Стили для карты */
.map-section {
    margin: 3rem 0;
    padding: 2rem 0;
    background: #f9f9f9;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #2c3e50;
}

.map-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.map-container {
    width: 100%;
    max-width: 800px; /* Ограничиваем максимальную ширину карты */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container iframe:hover {
    transform: scale(1.02); /* Легкое увеличение при наведении */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Подвал */
.site-footer {
    background: #293844;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer {
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.work-time {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.work-time span {
    font-size: 0.9em;
    color: #666;
}

.footer-copyright {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.footer-email {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #e67e22;
}

.footer-phone {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.footer-phone:hover {
    color: #e67e22;
}

@media (max-width: 1200px) {
    .youtube-wrapper {
        margin: 0 20px;
    }
}

@media screen and (orientation: landscape) and (max-width: 1024px) {
    .header-contacts {
        display: none;
    }

    .main-nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }

    .main-nav ul {
        gap: 10px;
    }

    .header-row {
        gap: 10px;
    }
}

@media (min-width: 769px) {
    .main-nav {
        display: flex !important;
    }
}

@media (max-width: 768px) {

    .site-header {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .header-row {
        padding: 15px 0;
    }

    .header-right-group {
        order: 2;
    }
    
    .header-contacts {
        margin-right: 0.5rem;
    }

    .header-contacts,
    .header-phone {
        display: none;
    }

    .logo img {
        height: 70px;
    }

    .help-button {
        order: 1;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #293844;
        padding: 20px;
    }

    .main-nav li {
        padding: 0.5rem 0;
    }

    .main-nav.active {
        display: block;
        border-top-color: #405365;
    }
    
    .main-nav .dropdown {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        padding: 0 0 0 20px;
    }
    
    .main-nav .dropdown li {
        padding: 0;
    }

    .main-nav li:hover .dropdown {
        display: block;
    }

    .main-nav .dropdown a {
        padding: 12px 0;
        font-size: 1rem;
        color: #e67e22;
    }

    .main-nav > ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid #405365;
    }
    
    .main-nav > ul > li > a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
    }

    .burger-menu {
        display: block;
        margin-left: 15px;
        order: 3;
    }

    .video-section {
        padding: 2rem 0;
    }
    
    .youtube-wrapper {
        border-radius: 8px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
    
    .video-caption {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .main-images {
        flex-direction: column;
        align-items: center;
    }
    
    .brochure-container .page {
        flex: 1 1 100%;
        max-width: none;
    }

   .modal-content {
     max-width: 100%;
     max-height: 100%;
    }
  
    .close {
     font-size: 30px;
     top: 10px;
     right: 20px;
    }
  
    .prev, .next {
     font-size: 24px;
     padding: 10px;
    }

    .news-item {
        flex-direction: row;
        margin: 0.75rem;
    }
    
    .news-image {
        flex: 0 0 40%;
        max-width: 100%;
        height: auto;
    }
    
    .news-image img {
        width: 100%;
        height: auto;
    }
    
    .news-content {
        padding: 1rem;
    }
    
    .news-content h3 {
        font-size: 1rem;
    }
    
    .news-content p {
        font-size: 0.9rem; 
    }
    
    .read-more {
        padding: 0.5rem 1rem; 
        font-size: 0.9rem;
    }

    .qr-codes {
        gap: 2rem;
        flex-direction: column;
    }
    
    .qr-image {
        width: 160px;
        height: 160px;
    }
    
    .map-container {
        max-width: 100%; /* На мобильных карта занимает всю ширину */
    }

    .map-container iframe {
        height: 300px; /* Уменьшаем высоту на мобильных */
    }

    .footer-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
        width: 100%;
    }
    
    .work-time {
        align-items: center;
    }

    .burger-checkbox:checked ~ .main-nav {
        display: block;
    }
}

@media (max-width: 480px) {
    .video-container {
        padding-bottom: 70%;
    }
    
    .video-caption {
        font-size: 0.9rem;
    }
}