/* Responsive media queries */
@media (max-width: 1200px) {
  .header-up { padding: 0 48px 0 28px; }
}
@media (max-width: 992px) {
  .header-up { padding: 0 32px 0 20px; }
  .hero { height: 160px; gap: 28px; }
  .bottom-btn { padding: 0 48px; gap: 16px; }
}
@media (max-width: 768px) {
  html {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body {
    display: block !important;
    flex-direction: unset !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    height: auto;
    min-height: 100vh;
    max-height: none;
    -webkit-touch-callout: default !important;
  }
  
  .main-content,
  .middle,
  section {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
  
  .main-content {
    min-height: auto !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }
  .header-up { padding: 0 20px 0 16px; }
  .hero { height: 140px; gap: 20px; }
  .btn-text { padding: 6px 10px; font-size: 14px; }
  .middle { padding: 28px 14px; gap: 20px; }
  .bottom-btn { padding: 0 20px; flex-wrap: wrap; height: auto; }
}
@media (max-width: 576px) {
  .hero { height: 120px; gap: 14px; padding: 0 12px 18px 12px; }
  .btn-text { padding: 6px 8px; font-size: 13px; }
}

/* Header tweaks for 425px and 375px */
@media (max-width: 425px) {
  html {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  body {
    display: block !important;
    flex-direction: unset !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    -webkit-touch-callout: default !important;
  }
  
  .main-content,
  .middle,
  section {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
  
  .main-content {
    min-height: auto !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  .header-up { padding: 0 12px; height: 57px; }
  .header-left, .header-right { gap: 6px; }
  .header_booking, .header_contact, .header_language { font-size: 12px; white-space: nowrap; line-height: 1; }
  .header_contact { margin-right: 8px; }
  .header_alarm, .header_call { width: 16px; height: 16px; }
}
@media (max-width: 375px) {
  html {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  body {
    display: block !important;
    flex-direction: unset !important;
    height: auto !important;
    min-height: 100vh !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    -webkit-touch-callout: default !important;
  }
  
  .main-content,
  .middle,
  section {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }
  
  .main-content {
    min-height: auto !important;
  }
  
  body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
  }
  
  .header-up { padding: 0 10px; height: 57px; }
  .header-left, .header-right { gap: 5px; }
  .header_booking, .header_contact, .header_language { font-size: 11px; white-space: nowrap; line-height: 1; }
  .header_contact { margin-right: 6px; }
  .header_alarm, .header_call { width: 14px; height: 14px; }
}
/* Существующие стили */
html {
  height: auto;
  min-height: 100%;
  max-height: none;
  overflow-x: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  position: relative;
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: none;
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;
    min-height: 100vh;
    height: auto;
    max-height: none;
    display: flex;
    position: relative;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  .header-up {
      width: 100%;
      height: 57px;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      box-sizing: border-box;
      background: #a56b00;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 87px 0 40px;
  }
  
  .header-left {
      display: flex;
      align-items: center;
      gap: 5px;
  }
  
  .header-right {
      display: flex;
      align-items: center;
  }
  
  .header_alarm {
      width: 24px;
      height: 24px;
  }
  
  .header_booking,
  .header_contact,
  .header_language {
      font: 400 16px/21px 'Inter', sans-serif;
      color: #fff;
      display: flex;
      align-items: center;
  }
  
  .header_booking{
      margin-top: 1;
  }
  
  .header_contact{
      margin-right: 21px ;
  }
  
  .header_call{
      margin-right: 6.6;
  }
  
  .header_language_logo {
      width: 16px;
      height: 11px;
      margin-left: 8px;
  }
  
  /* Mobile menu button */
  .mobile-menu-btn { background: transparent; border: 1px solid rgba(255,255,255,0.25); border-radius: 8px; padding: 6px; margin-left: 10px; cursor: pointer; display: none; flex-direction: column; gap: 3px; }
  .mobile-menu-btn__bar { width: 18px; height: 2px; background: #fff; display: block; }
  
  /* Show button on small screens */
  @media (max-width: 425px) { #mobileMenuBtn[hidden]{ display:inline-flex !important; } }
  @media (max-width: 375px) { #mobileMenuBtn[hidden]{ display:inline-flex !important; } }
  
  /* Keep hero visible on small screens (nav hidden separately) */
  
  /* Mobile dropdown menu styling */
  .mobile-menu { position: fixed; top: 57px; left: 0; right: 0; background: rgba(0,0,0,0.98); border-bottom: 1px solid rgba(255,255,255,0.14); z-index: 1500; display: none; grid-template-columns: 1fr; gap: 6px; padding: 12px 14px; box-sizing: border-box; }
  .mobile-menu .btn-text { display:block; width:100%; text-align:left; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; background: rgba(255,255,255,0.04); }
  .mobile-menu .btn-text:hover { background: rgba(255,255,255,0.08); }
  
  /* Show menu only when toggled */
  @media (max-width: 425px){ body.menu-open #mobileMenu { display: grid !important; } }
  @media (max-width: 375px){ body.menu-open #mobileMenu { display: grid !important; } }
  
  .main-content {
      margin-top: 57px;
      flex: 1;
      min-height: 0;
      width: 100%;
      overflow-x: hidden;
      overflow-y: visible;
      height: auto;
  }
  
  /* Hero с логотипом — компактный и без лишних отступов */
  .hero {
      width: 100%;
      height: 120px;
      background-color: #370617;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0;
      padding: 15px 20px 10px 20px;
      box-sizing: border-box;
  }

  .hero-logo {
      width: 200px;
      height: 50px;
      object-fit: contain;
      margin: 0 0 12px 0;
      cursor: pointer;
      transition: opacity 0.3s ease;
  }

  .hero-logo:hover {
      opacity: 0.8;
  }

  .hero a {
      text-decoration: none;
      display: inline-block;
  }

  /* Навигация скрывается только на мобильных */
  @media (max-width: 768px){ .hero-nav { display: none !important; } }
  
  .btn-text {
      background: transparent;
      border: none;
      color: white;
      font: 400 16px/1.5 'Inter', sans-serif;
      padding: 8px 16px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      margin-bottom: 0; /* убираем лишние отступы */
  }
  
  .btn-text:hover {
      color: #cccccc;
      transform: translateY(-2px);
  }
  
  .btn-text:active {
      transform: translateY(0);
  }
  
  
  .middle {
      width: 100%;
      height: auto;
      min-height: auto;
      max-height: none;
      background-color: #000;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
      overflow-y: visible;
      align-items: center;
      padding: 32px 20px;
      box-sizing: border-box;
  }
  
  .news-title {
      color: rgba(255, 207, 132, 1);
      font-family: 'Inter', sans-serif;
      font-size: 64px;
      font-weight: 400;
      line-height: 77px;
      text-align: center;
      margin: 0 0 50px 0;
  }
  
  .news-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      width: 100%;
      max-width: 1400px;
      box-sizing: border-box;
  }
  
  .news-card {
      display: flex;
      flex-direction: column;
      width: 100%;
      background-color: #000;
      overflow: hidden;
  }
  
  .news-image {
      width: 100%;
      height: 210px;
      background-color: #333;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
  }
  
  .news-title-text {
      color: rgba(255, 255, 255, 1);
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      font-weight: 400;
      line-height: 1.5;
      padding: 16px;
      text-align: left;
      min-height: 50px;
      display: flex;
      align-items: center;
      cursor: pointer;
      transition: color 0.3s ease;
      text-decoration: none;
  }
  
  .news-title-text:hover {
      color: rgba(255, 207, 132, 1);
  }
  
  /* Pagination styles */
  .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
    flex-wrap: wrap;
  }
  
  .pagination-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
  }
  
  .pagination-btn:hover:not(:disabled) {
    background: rgba(255, 207, 132, 0.2);
    border-color: rgba(255, 207, 132, 0.5);
  }
  
  .pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  
  .pagination-btn.active {
    background: rgba(255, 207, 132, 0.3);
    border-color: rgba(255, 207, 132, 0.6);
    color: rgba(255, 207, 132, 1);
  }
  
  .pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin: 0 10px;
  }
  
  /* Article page styles */
  .article-middle {
      width: 100%;
      min-height: calc(100vh - 57px);
      background-color: #000;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 50px 20px;
      box-sizing: border-box;
  }
  
  .article-title {
      color: rgba(255, 207, 132, 1);
      font-family: 'Inter', sans-serif;
      font-size: 64px;
      font-weight: 400;
      line-height: 77px;
      text-align: center;
      margin: 0 0 30px 0;
      max-width: 1200px;
  }
  
  .article-content {
      color: rgba(255, 255, 255, 1);
      font-family: 'Inter', sans-serif;
      font-size: 18px;
      font-weight: 400;
      line-height: 1.6;
      text-align: left;
      max-width: 1200px;
      width: 100%;
      margin: 0 0 40px 0;
      white-space: pre-wrap;
      word-wrap: break-word;
  }
  
  .article-image {
      width: 100%;
      max-width: 1200px;
      height: 600px;
      background-color: #333;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      margin: 40px 0;
  }
  
  .book {
      width: 100%;
      height: 50px;
      background-color: #211708;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      padding: 0 20px;
      box-sizing: border-box;
  }
  
  .book-group {
      display: flex;
      align-items: center;
      gap: 10px;
  }
  
  .book .alarm,
  .book .call-contact {
      width: 24px;
      height: 24px;
  }
  
  .alarm-booking,
  .call-contactus {
      color: rgba(255, 255, 255, 1);
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      font-weight: 400;
      line-height: 44px;
  }
  
  .reserved{
      width: 100%;
      height: 20px;
      background-color: #370617;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      padding: 0 20px;
      box-sizing: border-box;
  }
  
  .reserved-text{
      color: rgba(255, 255, 255, 1);
  
      font-family: Inter;
      font-size: 16px;
      font-weight: 400;
      line-height: 20px;
      letter-spacing: 0px;
      text-align: center;
  }
  
  .bottom-btn {
      width: 100%;
      height: 60px;
      background-color: #211708;
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 0 200px; /* одинаковые отступы слева и справа */
      box-sizing: border-box;
  }
  
  .RoyalEscort-bottom {
      color: rgba(255, 255, 255, 1);
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      font-weight: 400;
      line-height: 19px;
      margin-left: auto; /* автоматический отступ слева выталкивает элемент вправо */
  }

/* Hide bottom buttons on tablets and below */
@media (max-width: 768px) { .bottom-btn { display: none; } }

body.news-page { background-color: #000; color: #fff; }
.news-page .main-content { display: flex; flex-direction: column; min-height: calc(100vh - 57px); overflow-x: hidden; overflow-y: visible; height: auto; }
.news-page .footer-start { margin-top: auto; }

  /* Адаптация для 1440px */
@media (max-width: 1440px) {
    .header-up {
      padding: 0 30px;
    }
  
    .hero { height: 100px; padding: 12px 40px 8px 40px; gap: 0; }
    .hero-logo { width: 180px; height: 45px; margin-bottom: 10px; }
  
    .btn-text {
      font-size: 14px;
      padding: 7px 12px;
    }
  
    .news-title {
      font-size: 52px;
      line-height: 1.2;
      margin-bottom: 40px;
    }
  
    .news-container {
      max-width: 1200px;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 18px;
    }
  
    .news-image {
      height: 180px;
    }
  
    .news-title-text {
      font-size: 15px;
      padding: 14px;
    }
  
    .article-title {
      font-size: 52px;
      line-height: 1.2;
      margin-bottom: 25px;
    }
  
    .article-content {
      font-size: 17px;
      max-width: 1000px;
    }
  
    .article-image {
      max-width: 1000px;
      height: 500px;
      margin: 30px 0;
    }
  
    .bottom-btn {
      padding: 0 50px;
    }
  }
  
  /* Адаптация для 1024px */
  @media (max-width: 1024px) {
    .header-up {
      padding: 0 25px;
    }
  
    .hero { height: 90px; padding: 10px 30px 6px 30px; gap: 0; }
    .hero-logo { width: 170px; height: 42px; margin-bottom: 10px; }
  
    .btn-text {
      font-size: 13px;
      padding: 6px 10px;
    }
  
    .middle {
      padding: 28px 15px;
    }
  
    .news-title {
      font-size: 44px;
      margin-bottom: 35px;
    }
  
    .news-container {
      max-width: 900px;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }
  
    .news-image {
      height: 160px;
    }
  
    .news-title-text {
      font-size: 14px;
      padding: 12px;
    }
  
    .article-middle {
      padding: 40px 15px;
    }
  
    .article-title {
      font-size: 44px;
      margin-bottom: 20px;
    }
  
    .article-content {
      font-size: 16px;
      max-width: 800px;
      margin-bottom: 30px;
    }
  
    .article-image {
      max-width: 800px;
      height: 400px;
      margin: 25px 0;
    }
  
    .book {
      gap: 15px;
    }
  
    .bottom-btn {
      padding: 0 30px;
      gap: 12px;
    }
  
    .RoyalEscort-bottom {
      font-size: 13px;
    }
  }
  
  /* Адаптация для 768px */
  @media (max-width: 768px) {
    .header-up {
      padding: 0 15px;
      height: 57px;
    }
  
    .header_booking,
    .header_contact,
    .header_language {
      font-size: 13px;
    }
  
    .header_contact {
      margin-right: 12px;
    }
  
    .header_alarm,
    .header_call {
      width: 18px;
      height: 18px;
    }
  
    .hero { height: 80px; padding: 8px 20px 4px 20px; gap: 0; }
    .hero-logo { width: 160px; height: auto; margin-bottom: 8px; }
  
    .btn-text {
      font-size: 12px;
      padding: 5px 8px;
    }
  
    .middle {
      padding: 24px 10px;
    }
  
    .news-title {
      font-size: 36px;
      margin-bottom: 30px;
    }
  
    .news-container {
      grid-template-columns: 1fr;
      gap: 20px;
      max-width: 500px;
    }
    
    .pagination-container {
      margin-top: 30px;
      padding: 15px 0;
      gap: 8px;
    }
    
    .pagination-btn {
      padding: 8px 12px;
      font-size: 14px;
      min-width: 35px;
    }
    
    .pagination-info {
      font-size: 14px;
      margin: 0 5px;
    }
  
    .news-image {
      height: 200px;
    }
  
    .news-title-text {
      font-size: 15px;
      padding: 15px;
      min-height: 40px;
    }
  
    .article-middle {
      padding: 30px 10px;
    }
  
    .article-title {
      font-size: 36px;
      margin-bottom: 20px;
    }
  
    .article-content {
      font-size: 15px;
      max-width: 100%;
      margin-bottom: 25px;
    }
  
    .article-image {
      height: 300px;
      margin: 20px 0;
    }
  
    .book {
      height: 40px;
      gap: 12px;
      padding: 0 10px;
    }
  
    .reserved {
      height: 16px;
      padding: 0 10px;
    }
  
    .reserved-text {
      font-size: 12px;
    }
  
    .bottom-btn { display: none !important; }
    /* Показываем кнопку меню на 768 и ниже */
    .mobile-menu-btn { display: inline-flex !important; margin-left: 12px; }
    #mobileMenuBtn[hidden] { display: inline-flex !important; }
    body.menu-open .mobile-menu { display: grid !important; top: 50px; }
  }
  
  /* Адаптация для 425px */
  @media (max-width: 425px) {
    .header-up {
      padding: 0 10px;
      height: 57px;
    }
  
    .header_booking,
    .header_contact,
    .header_language {
      font-size: 12px;
    }
  
    .header_contact {
      margin-right: 8px;
    }
  
    .header_alarm,
    .header_call {
      width: 16px;
      height: 16px;
    }
  
    .hero { height: 70px; padding: 6px 12px 2px 12px; }
    .hero-logo { width: 140px; height: auto; margin-bottom: 6px; }
  
    .mobile-menu-btn { display: inline-flex !important; margin-left: 8px; padding: 3px; }
  
    .mobile-menu-btn__bar {
      width: 14px;
      height: 2px;
    }
  
    .middle {
      padding: 20px 8px;
    }
  
    .news-title {
      font-size: 28px;
      margin-bottom: 25px;
    }
  
    .news-container {
      gap: 16px;
      max-width: 100%;
    }
    
    .news-image {
      height: 180px;
    }
    
    .news-title-text {
      font-size: 14px;
      padding: 12px;
      min-height: 35px;
    }
    
    .pagination-container {
      margin-top: 24px;
      padding: 12px 0;
      gap: 6px;
    }
    
    .pagination-btn {
      padding: 6px 10px;
      font-size: 13px;
      min-width: 32px;
    }
    
    .pagination-info {
      font-size: 13px;
      margin: 0 4px;
    }
  
    .article-middle {
      padding: 20px 8px;
    }
  
    .article-title {
      font-size: 28px;
      margin-bottom: 15px;
    }
  
    .article-content {
      font-size: 14px;
      margin-bottom: 20px;
    }
  
    .article-image {
      height: 250px;
      margin: 15px 0;
    }
  
    .book {
      height: 35px;
      gap: 10px;
      padding: 0 8px;
    }
  
    .alarm-booking,
    .call-contactus {
      font-size: 12px;
    }
  
    .reserved {
      height: 14px;
      padding: 0 8px;
    }
  
    .reserved-text {
      font-size: 11px;
    }
  }
  
  /* Адаптация для 375px */
  @media (max-width: 375px) {
    .header-up {
      padding: 0 8px;
      height: 57px;
    }
  
    .header_booking,
    .header_contact,
    .header_language {
      font-size: 11px;
    }
  
    .header_contact {
      margin-right: 6px;
    }
  
    .header_alarm,
    .header_call {
      width: 14px;
      height: 14px;
    }
  
    .hero { height: 60px; padding: 4px 12px 0 12px; }
    .hero-logo { width: 130px; height: auto; margin-bottom: 4px; }
    .mobile-menu-btn { display: inline-flex !important; margin-left: 6px; padding: 2px; }
    body.menu-open .mobile-menu { top: 42px; }
  
    .mobile-menu-btn__bar {
      width: 12px;
    }
  
    .middle {
      padding: 16px 6px;
    }
  
    .news-title {
      font-size: 24px;
      margin-bottom: 20px;
    }
  
    .news-container {
      gap: 14px;
    }
    
    .news-image {
      height: 160px;
    }
    
    .news-title-text {
      font-size: 13px;
      padding: 10px;
      min-height: 30px;
    }
    
    .pagination-container {
      margin-top: 20px;
      padding: 10px 0;
      gap: 5px;
    }
    
    .pagination-btn {
      padding: 6px 8px;
      font-size: 12px;
      min-width: 30px;
    }
    
    .pagination-info {
      font-size: 12px;
      margin: 0 3px;
    }
  
    .article-middle {
      padding: 16px 6px;
    }
  
    .article-title {
      font-size: 24px;
      margin-bottom: 12px;
    }
  
    .article-content {
      font-size: 13px;
      margin-bottom: 16px;
    }
  
    .article-image {
      height: 200px;
      margin: 12px 0;
    }
  
    .book {
      gap: 8px;
      padding: 0 6px;
    }
  
    .alarm-booking,
    .call-contactus {
      font-size: 11px;
    }
  
    .reserved-text {
      font-size: 10px;
    }
  }
  
  /* Гарантированно скрываем кнопку меню на всех экранах шире 425px */
  @media (min-width: 426px) {
    .mobile-menu-btn {
      display: none !important;
    }
    
    .mobile-menu {
      display: none !important;
    }
  }
  
  /* Стили для мобильного меню (только для маленьких экранов) */
  @media (max-width: 425px) {
    .mobile-menu {
      position: fixed;
      top: 45px;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.98);
      border-bottom: 1px solid rgba(255, 255, 255, 0.14);
      z-index: 1500;
      display: none;
      flex-direction: column;
      gap: 4px;
      padding: 8px;
      box-sizing: border-box;
      backdrop-filter: blur(10px);
    }
  
    .mobile-menu .btn-text {
      display: block;
      width: 100%;
      text-align: left;
      padding: 8px 10px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.04);
      color: white;
      font-family: 'Inter', sans-serif;
      font-size: 12px;
      text-decoration: none;
    }
  
    body.menu-open .mobile-menu {
      display: flex !important;
    }
  }
  
  @media (max-width: 375px) {
    .mobile-menu {
      top: 42px;
      padding: 6px;
    }
    
    .mobile-menu .btn-text {
      font-size: 11px;
      padding: 6px 8px;
    }
  }
  
  /* Глобальные фиксы для предотвращения горизонтального скролла */
  body {
      overflow-x: hidden;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
      overscroll-behavior-y: none;
      overscroll-behavior: none;
      width: 100%;
  }
  
  .main-content {
      overflow-x: hidden;
      width: 100%;
  }
  
  .middle,
  .article-middle {
      overflow-x: hidden;
      width: 100%;
  }
  
  .news-container,
  .article-title,
  .article-content,
  .article-image {
      margin-left: auto;
      margin-right: auto;
  }

/* КРИТИЧЕСКИЙ ФИКС ДЛЯ МОБИЛЬНЫХ - переопределяем все возможные блокировки */
@media (max-width: 768px) {
    html, body {
        -webkit-overflow-scrolling: touch !important;
    }
    
    body {
        display: block !important;
        flex-direction: unset !important;
        overflow-y: auto !important;
        touch-action: pan-y !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
    }
    
    .main-content,
    .middle,
    .article-middle,
    section,
    div {
        overflow: visible !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Убеждаемся, что контент может быть выше экрана */
    main,
    .main-content {
        min-height: auto !important;
        height: auto !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }
}