    @media (min-width: 61em) {
    .gin--horizontal-toolbar #toolbar-administration .toolbar-lining {
        overflow-x: clip!important;
    }
  }
/* ====== БАЗОВЫЕ СТИЛИ ====== */
    body { font-family: 'Inter', sans-serif; color: #333; background: #f8fafc; margin: 0; }
    
    .top-bar { background: linear-gradient(135deg, #143d1f 0%, #236b32 40%, #1a4d26 80%, #ffc847 100%); color: #fff; padding: 6px 0; font-size: 12px; }
    .top-bar__container { max-width: 1350px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; }
    .top-bar__languages { display: flex; gap: 12px; }
    .lang-link { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
    .lang-link:hover, .lang-link--active { color: #ffc847; font-weight: 600; }

    .site-header { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
    .header__container { max-width: 1350px; margin: 0 auto; padding: 0 15px; height: 60px; display: flex; justify-content: space-between; align-items: center; }
    .header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
    .logo__icon { width: 120px; height: 50px; border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; gap: 5px;}
    .logo__icon img { height: 40px; }
    .logo__text h1 { font-size: 15px; font-weight: 700; color: #2d7a3e; line-height: 1.2;     max-width: 250px;     text-transform: uppercase;}
    .site-header .logo__text p { display: none; }
    .header__nav { display: flex; gap: 32px; }
    .nav-link { text-decoration: none; color: #444; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s; }
    .nav-link:hover { color: #ffc847; }
    .search-btn { background: transparent; border: none; cursor: pointer; color: #888; padding: 4px; }
    .search-btn:hover { color: #ffc847; }

    .hero-banner {
      background: linear-gradient(135deg, #0b2612 0%, #20582b 20%, #1a4d26 60%);
      /*background: linear-gradient(135deg, #0e2c16 0%, #18331e 40%, #2c4431 80%);*/
      color: #fff;
      position: relative;
      overflow: hidden;
      padding: 100px 24px;
      padding-top: 40px;
    }
.opacity-50{
  opacity: 0.5;
}
.absolute {
    position: absolute;
}
.inset-0 {
    inset: 0px;
}
    .hero__container {
      max-width: 1350px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 25px;
      align-items: start;
      z-index: 11;
      position: relative;
    }

    .hero__content { padding-top: 8px; }
    .hero__badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 200, 71, 0.15);
      transform: translateY(-2px);
      border: 1px solid rgba(255, 200, 71, 0.4);
      padding: 4px 12px;
      border-radius: 4px;
      margin-bottom: 16px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    .badge-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; }

    .hero__title-top {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 200, 71, 0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}


.hero__title {
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(255, 200, 71, 0.15);
  line-height: 1.1;
  letter-spacing: -0.5px;
  position: relative;
}


.hero__subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 2px solid rgba(255, 200, 71, 0.3);
  font-weight: 400;
  letter-spacing: 0.3px;
}


@media (max-width: 640px) {
  .hero__title-top { font-size: 12px; letter-spacing: 3px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 14px; padding-left: 12px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 24px; }
}

    .hero__actions { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
    .btn {
      padding: 10px 20px;
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .btn--primary {
      background: linear-gradient(135deg, #fff 0%, #fff8e6 100%);
      color: #143d1f;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: .88rem;
      font-weight: 600;
      transition: all .3s cubic-bezier(.4, 0, .2, 1);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    }
    .btn--primary:hover { transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
    .btn--ghost {
      background: rgba(255, 200, 71, 0.08);
      border: 1.5px solid rgba(255, 200, 71, 0.3);
      color: #fff;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: .88rem;
      font-weight: 500;
      transition: all .3s cubic-bezier(.4, 0, .2, 1);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      backdrop-filter: blur(6px);
    }
    .btn--ghost:hover { background: rgba(255, 200, 71, 0.15);
    transform: translateY(-2px); }

    .btn-special{ font-size: 13px; padding: 8px; }

    .hero__stats {
      display: flex;
      gap: 24px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,.12);
    }
    .stat-item { display: flex; flex-direction: column; }
    .stat-val { font-size: 18px; font-weight: 700; color: #ffc847; }
    .stat-label { font-size: 11px; color: rgba(255,200,71,0.8); margin-top: 2px; }

    .appeal-card {
      background: rgba(255, 255, 255, .1);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 20px;
      padding: 28px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
      overflow: hidden;
      transition: box-shadow 0.3s;
      display: grid;
      padding: 10px;
      grid-template-columns: 0.4fr 1fr;
      gap: 5px;
    }
    .appeal-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
    .appeal-body-bottom{ grid-column: span 2; padding-bottom: 15px; }
    .info_row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  grid-column: span 2;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.info_row-text {
  display: flex;
  gap: 12px;
  align-items: center;
}

.info_row-text .icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  transition: all 0.3s ease;
}

.info_row-text:hover .icon {
  background: rgba(255, 200, 71, 0.2);
  border-color: rgba(255, 200, 71, 0.4);
  transform: translateY(-2px);
}

.info_row-text span,
.info_row-text a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.info_row-text a:hover {
  color: #fff;
  text-decoration: underline;
}
     .appeal-img-container {
      overflow: hidden;
    position: relative;
    width: 150px;
    /*height: 100px;*/
    align-self: center;
    flex-shrink: 0;
    border-radius: 10px;
    }
    .appeal-img-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top;
    }
    .appeal-body { padding: 10px; }
    .appeal-tag {
      font-size: 12px;
      text-transform: uppercase;
      color: #ffc847;
      font-weight: 600;
      letter-spacing: 0.5px;
      margin-bottom: 6px;
      display: block;
    }
    .appeal-title {
      font-size: 14px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 8px;
      line-height: 1.2;
    }
    .appeal-text {
      font-size: 12px;
      color: #ffffffbf;
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 12px;
    }
    .appeal-link {
      font-size: 12px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 160px;
    background: rgba(255, 200, 71, 0.15);
    border: 1px solid rgba(255, 200, 71, 0.3);
    border-radius: 10px;
    padding: 8px;
    float: inline-end;
    justify-content: center;
    }
    .appeal-link:hover { text-decoration: underline; }

    /* ========== НОВЫЕ БЛОКИ: МЕНЮ-СЛАЙДЕР И ОБЪЯВЛЕНИЯ ========== */
    
    /* ===== БЛОК МЕНЮ-СЛАЙДЕР ===== */
    .menu-slider-section {
      max-width: 1350px;
      margin: 40px auto;
      padding: 0 24px;
    }

    .menu-slider-container {
      background: #fff;
      border-radius: 20px;
      padding: 32px;
      box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
      border: 1px solid #e2e8f0;
      position: relative;
      overflow: hidden;
    }

    .menu-slider-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #2d7a3e 0%, #ffc847 50%, #2d7a3e 100%);
    }

    .menu-slider-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    .menu-slider-title {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .menu-slider-icon {
      width: 44px;
      height: 44px;
      background: linear-gradient(135deg, #2d7a3e 0%, #1e5a2e 70%, #ffc847 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(37, 99, 168, 0.3);
    }

    .menu-slider-title h3 {
      font-size: 22px;
      font-weight: 700;
      color: #143d1f;
      margin: 0;
    }

    .menu-slider-nav {
      display: flex;
      gap: 8px;
    }

    .menu-slider-btn {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      border: 1px solid #e2e8f0;
      background: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      color: #64748b;
    }

    .menu-slider-btn:hover {
      background: #2d7a3e;
      color: #fff;
      border-color: #2d7a3e;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(37, 99, 168, 0.3);
    }

    .menu-slider-wrapper {
      overflow: hidden;
      position: relative;
    }

    .menu-slider-track {
      display: flex;
      gap: 16px;
      transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .menu-slide {
      min-width: calc(33.333% - 11px);
      flex-shrink: 0;
    }

    .menu-item-card {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px;
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      text-decoration: none;
      color: inherit;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .menu-item-card::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: linear-gradient(180deg, #2d7a3e 0%, #1e5a2e 100%);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .menu-item-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px -8px rgba(45, 122, 62, 0.15), 0 0 0 1px rgba(255, 200, 71, 0.1);
      border-color: #cbd5e1;
      background: #fff;
    }

    .menu-item-card:hover::before {
      opacity: 1;
    }

    .menu-item-icon {
      width: 56px;
      height: 56px;
      background: #fff;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      border: 1px solid #e2e8f0;
    }

    .menu-item-icon img {
      width: 32px;
      height: 32px;
      object-fit: contain;
    }

    .menu-item-content {
      flex: 1;
    }

    .menu-item-title {
      font-size: 14px;
      font-weight: 600;
      color: #1e293b;
      line-height: 1.4;
      margin: 0;
      transition: color 0.2s;
    }

    .menu-item-card:hover .menu-item-title {
      color: #2d7a3e;
    }

    .menu-item-arrow {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      transition: all 0.2s;
    }

    .menu-item-card:hover .menu-item-arrow {
      background: #2d7a3e;
      color: #fff;
      transform: translateX(4px);
    }

    /* ===== БЛОК ОБЪЯВЛЕНИЙ ===== */
    .announcements-section {
      max-width: 1350px;
      margin: 40px auto;
      padding: 0 24px;
    }

    .announcements-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .announcements-block {
      background: #fff;
      border-radius: 20px;
      padding: 28px;
      box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
      border: 1px solid #e2e8f0;
      position: relative;
      overflow: hidden;
    }

    .announcements-block::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
    }

    .announcements-block--urgent::before {
      background: linear-gradient(90deg, #dc2626 0%, #b91c1c 50%, #dc2626 100%);
    }

    .announcements-block--info::before {
      background: linear-gradient(90deg, #2d7a3e 0%, #ffc847 50%, #2d7a3e 100%);
    }

    .announcements-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid #e2e8f0;
    }

    .announcements-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .announcements-block--urgent .announcements-icon {
      background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    }

    .announcements-block--info .announcements-icon {
      background: linear-gradient(135deg, #2d7a3e 0%, #1e5a2e 70%, #ffc847 100%);
      box-shadow: 0 4px 12px rgba(37, 99, 168, 0.3);
    }

    .announcements-title {
      font-size: 20px;
      font-weight: 700;
      color: #143d1f;
      margin: 0;
    }

    .announcements-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .announcement-item {
      display: flex;
      gap: 16px;
      padding: 16px;
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      border-radius: 12px;
      border: 1px solid #e2e8f0;
      text-decoration: none;
      color: inherit;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }

    .announcement-item:hover {
      transform: translateX(8px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      background: #fff;
      border-color: #cbd5e1;
    }

    .announcement-date {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-width: 60px;
      padding: 12px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      border: 1px solid #e2e8f0;
    }

    .announcement-day {
      font-size: 24px;
      font-weight: 800;
      color: #2d7a3e;
      line-height: 1;
    }

    .announcement-month {
      font-size: 11px;
      font-weight: 600;
      color: #64748b;
      text-transform: uppercase;
      margin-top: 4px;
    }

    .announcement-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .announcement-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      width: fit-content;
      margin-bottom: 8px;
    }

    .announcements-block--urgent .announcement-badge {
      background: rgba(220, 38, 38, 0.1);
      color: #dc2626;
    }

    .announcements-block--info .announcement-badge {
      background: rgba(37, 99, 168, 0.1);
      color: #2d7a3e;
    }

    .announcement-text {
      font-size: 14px;
      font-weight: 600;
      color: #1e293b;
      line-height: 1.5;
      margin: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .announcement-item:hover .announcement-text {
      color: #2d7a3e;
    }

    .announcement-arrow {
      display: flex;
      align-items: center;
      color: #cbd5e1;
      transition: all 0.2s;
    }

    .announcement-item:hover .announcement-arrow {
      color: #2d7a3e;
      transform: translateX(4px);
    }

    .announcements-footer {
      margin-top: 20px;
      padding-top: 20px;
      border-top: 1px solid #e2e8f0;
      text-align: center;
    }

    .announcements-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #64748b;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s;
    }

    .announcements-link:hover {
      color: #2d7a3e;
      gap: 12px;
    }

    /* Адаптивность новых блоков */
    @media (max-width: 1024px) {
      .menu-slide {
        min-width: calc(50% - 8px);
      }
      .announcements-container {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .menu-slide {
        min-width: 100%;
      }
      .menu-slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }
      .menu-item-card {
        padding: 16px;
      }
      .menu-item-icon {
        width: 48px;
        height: 48px;
      }
      .announcement-item {
        flex-direction: column;
      }
      .announcement-date {
        flex-direction: row;
        gap: 8px;
        width: fit-content;
      }
    }

    /* ========== НОВОСТИ (сохраняем ваш стиль) ========== */
    .news-section-textured {
      max-width: 1350px;
      margin: 60px auto;
      padding: 0 24px;
      position: relative;
    }

    .news-section-textured::before {
  background: 
    radial-gradient(circle at 20% 80%, rgba(45, 122, 62, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 200, 71, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #f5f7f0 0%, #ffffff 100%);
}

    .news-header-textured {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
      padding-bottom: 20px;
      border-bottom: 2px solid #e2e8f0;
      position: relative;
    }

    .news-header-textured::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 120px;
      height: 2px;
      background: #2d7a3e;
    }

    .news-title-block {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .news-title-icon {
      width: 56px;
      height: 56px;
      background: #2d7a3e;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 
        0 10px 30px rgba(37, 99, 168, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
      position: relative;
      overflow: hidden;
    }

    .news-title-icon::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
      opacity: 0.5;
    }

    .news-title-text h2 {
      font-size: 32px;
      font-weight: 800;
      color: #143d1f;
      margin: 0;
      letter-spacing: -0.5px;
    }

    .news-title-text p {
      font-size: 14px;
      color: #64748b;
      margin: 4px 0 0 0;
    }

    .news-tabs-textured {
      display: flex;
      gap: 8px;
      background: #f1f5f9;
      padding: 6px;
      border-radius: 10px;
      position: relative;
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    }

    .tab-btn-textured {
      padding: 10px 15px;
      font-size: 14px;
      font-weight: 600;
      border-radius: 8px;
      border: none;
      background: transparent;
      color: #64748b;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      z-index: 2;
    }

    .tab-btn-textured.active {
      color: #fff;
      background: #2d7a3e;
      box-shadow: 
        0 4px 15px rgba(37, 99, 168, 0.4),
        0 1px 2px rgba(0,0,0,0.1);
      transform: translateY(-1px);
    }

    .tab-btn-textured:hover:not(.active) {
      color: #2d7a3e;
      background: rgba(45, 122, 62, 0.08);
    }

    .news-grid-textured {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 24px;
    }

    .main-news-textured {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      position: relative;
      box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
      border: 1px solid #e2e8f0;
    }

    .main-news-textured::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: #2d7a3e;
      z-index: 10;
    }

    .main-news-textured:hover {
      transform: translateY(-8px);
      box-shadow: 
        0 20px 40px -15px rgba(37, 99, 168, 0.3),
        0 0 0 1px rgba(37, 99, 168, 0.1);
    }

    .main-news-image-wrap {
      position: relative;
      height: 280px;
      overflow: hidden;
    }

    .main-news-image-textured {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-news-textured:hover .main-news-image-textured {
      transform: scale(1.08);
    }

    .main-news-image-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 50%;
      background: linear-gradient(180deg, transparent 0%, rgba(20, 61, 31, 0.8) 100%);
      pointer-events: none;
    }

    .main-news-badge {
      position: absolute;
      top: 20px;
      left: 20px;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      color: #2d7a3e;
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      border: 1px solid rgba(255,255,255,0.3);
    }

    .main-news-content-textured {
      padding: 28px;
      background: #ffffff;
      position: relative;
    }

    .main-news-content-textured::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
    }

    .main-news-date-textured {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: #2d7a3e;
      margin-bottom: 12px;
      padding: 6px 12px;
      background: rgba(45, 122, 62, 0.08);
      border-radius: 6px;
      width: fit-content;
    }

    .main-news-title-textured {
      font-size: 24px;
      font-weight: 700;
      color: #143d1f;
      line-height: 1.3;
      margin-bottom: 16px;
      transition: color 0.2s;
    }

    .main-news-textured:hover .main-news-title-textured {
      color: #2d7a3e;
    }

    .main-news-excerpt-textured {
      font-size: 15px;
      color: #475569;
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .main-news-link-textured {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #2d7a3e;
      font-weight: 600;
      font-size: 14px;
      text-decoration: none;
      padding: 10px 20px;
      background: #f1f5f9;
      border-radius: 8px;
      transition: all 0.3s;
      border: 1px solid #cbd5e1;
    }

    .main-news-textured:hover .main-news-link-textured {
      background: #2d7a3e;
      color: #fff;
      border-color: #2d7a3e;
      gap: 12px;
    }

    .small-news-grid-textured {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
    }

    .small-news-textured {
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      padding: 24px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

    .small-news-textured::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: #2d7a3e;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .small-news-textured:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px -8px rgba(45, 122, 62, 0.15), 0 0 0 1px rgba(255, 200, 71, 0.1);
      border-color: #cbd5e1;
    }

    .small-news-textured:hover::before {
      opacity: 1;
    }

    .small-news-date-textured {
      font-size: 12px;
      font-weight: 700;
      color: #2d7a3e;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .small-news-title-textured {
      font-size: 15px;
      font-weight: 600;
      color: #1e293b;
      line-height: 1.5;
      margin-bottom: 16px;
      flex: 1;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .small-news-link-textured {
      font-size: 13px;
      color: #64748b;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: auto;
      transition: all 0.2s;
    }

    .small-news-textured:hover .small-news-link-textured {
      color: #2d7a3e;
      gap: 10px;
    }

    .bottom-news-row-textured {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 24px;
    }

    .bottom-news-textured {
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      padding: 24px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      text-decoration: none;
      color: inherit;
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }

    .bottom-news-textured::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: #2d7a3e;
      transform: scaleX(0);
      transition: transform 0.3s;
    }

    .bottom-news-textured:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px -8px rgba(37, 99, 168, 0.15);
      border-color: #cbd5e1;
    }

    .bottom-news-textured:hover::after {
      transform: scaleX(1);
    }

    .bottom-news-date-textured {
      font-size: 12px;
      font-weight: 600;
      color: #64748b;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .bottom-news-title-textured {
      font-size: 16px;
      font-weight: 600;
      color: #1e293b;
      line-height: 1.5;
      margin-bottom: 16px;
    }

    .bottom-news-tag-textured {
      display: inline-block;
      padding: 6px 12px;
      background: #f1f5f9;
      color: #475569;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border-radius: 6px;
      border: 1px solid #cbd5e1;
    }

    .all-news-btn-textured {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: #2d7a3e;
      color: white;
      padding: 10px 15px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 14px;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 
        0 10px 30px rgba(37, 99, 168, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
      position: relative;
      overflow: hidden;
    }

    .all-news-btn-textured:hover {
      transform: translateY(-3px);
      box-shadow: 
        0 15px 40px rgba(37, 99, 168, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
      gap: 16px;
    }

    .hidden {
      display: none !important;
    }

    @media (max-width: 1024px) {
      .news-grid-textured {
        grid-template-columns: 1fr;
      }
      .small-news-grid-textured {
        grid-template-columns: repeat(2, 1fr);
      }
      .bottom-news-row-textured {
        grid-template-columns: repeat(2, 1fr);
      }
      .news-title-text h2 {
        font-size: 24px;
      }
    }

    @media (max-width: 640px) {
      .news-header-textured {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
      }
      .small-news-grid-textured {
        grid-template-columns: 1fr;
      }
      .bottom-news-row-textured {
        grid-template-columns: 1fr;
      }
      .main-news-image-wrap {
        height: 200px;
      }
      .main-news-title-textured {
        font-size: 18px;
      }
      .news-tabs-textured {
        width: 100%;
        justify-content: center;
      }
    }
  
    /* Соцсети в топ-баре */
    .topbar-social {
      display: flex;
      gap: 8px;
    }

    .social-icon-topbar {
      width: 28px;
      height: 28px;
      border-radius: 6px;
      background: rgba(255,255,255,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.7);
      transition: all 0.2s;
      border: 1px solid rgba(255,200,71,0.3);
    }

    .social-icon-topbar:hover {
      background: rgba(255,255,255,0.2);
      color: #fff;
      transform: translateY(-2px);
    }

    @media (max-width: 640px) {
      .topbar-social {
        display: none;
      }
    }

    /* ========== TEXTURES AND BACKGROUNDS ========== */

    /* Body background texture */
    /*body { 
      font-family: 'Inter', sans-serif; 
      color: #333; 
      background: #f5f7f0;
      }*/

    /* Section alternating backgrounds */
    .news-section-textured::before {
  background: 
    radial-gradient(circle at 20% 80%, rgba(45, 122, 62, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 200, 71, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, #f5f7f0 0%, #ffffff 100%);
}

    /* Card textures */
    
    .media-block {
      background: #fff;
      background-image: 
        linear-gradient(135deg, rgba(45, 122, 62, 0.02) 0%, transparent 50%),
        linear-gradient(225deg, rgba(255, 200, 71, 0.02) 0%, transparent 50%);
    }

    .announcements-block-simple {
      background: #fff;
      background-image: 
        radial-gradient(circle at 0% 100%, rgba(45, 122, 62, 0.03) 0%, transparent 50%);
    }

    .banners-container {
      background: #fff;
      background-image: 
        linear-gradient(90deg, rgba(45, 122, 62, 0.02) 0%, transparent 30%, transparent 70%, rgba(255, 200, 71, 0.02) 100%);
    }

    .resources-container {
      background: #fff;
      background-image: 
        radial-gradient(circle at 50% 50%, rgba(45, 122, 62, 0.015) 0%, transparent 70%);
    }

    /* Menu slider container texture */
    .menu-slider-container {
      background: #fff;
      background-image: 
        linear-gradient(180deg, rgba(45, 122, 62, 0.02) 0%, transparent 20%);
    }

    /* Hero banner texture overlay */
    .hero-banner::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffc847' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
      opacity: 0.5;
      pointer-events: none;
      z-index: 1;
    }

    /* Footer texture */
    .site-footer {
      background: linear-gradient(135deg, #143d1f 0%, #1e5a2e 50%, #1a4d26 100%);
      background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffc847' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #143d1f 0%, #1e5a2e 50%, #1a4d26 100%);
    }

    /* Appeal card texture */
    .appeal-card {
      background: rgba(255, 255, 255, .08);
      background-image: 
        radial-gradient(circle at 0% 0%, rgba(255, 200, 71, 0.08) 0%, transparent 50%);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 20px;
      padding: 28px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
      overflow: hidden;
      transition: box-shadow 0.3s;
      display: grid;
      padding: 10px;
      grid-template-columns: 0.4fr 1fr;
      gap: 5px;
    }

    /* News cards texture */
    .main-news-textured {
      background: #fff;
      background-image: 
        linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, rgba(45, 122, 62, 0.02) 100%);
    }

    .small-news-textured {
      background: #fff;
      background-image: 
        linear-gradient(135deg, #ffffff 0%, rgba(45, 122, 62, 0.01) 100%);
    }

    .bottom-news-textured {
      background: #fff;
      background-image: 
        linear-gradient(180deg, #ffffff 0%, rgba(255, 200, 71, 0.01) 100%);
    }

    /* Announcement items texture */
    .announcement-item {
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      background-image: 
        linear-gradient(135deg, #f8fafc 0%, rgba(45, 122, 62, 0.02) 100%);
    }

    .announcement-item-simple {
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      background-image: 
        linear-gradient(135deg, #f8fafc 0%, rgba(255, 200, 71, 0.02) 100%);
    }

    /* Menu item cards texture */
    .menu-item-card {
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      background-image: 
        linear-gradient(135deg, #f8fafc 0%, rgba(45, 122, 62, 0.02) 100%);
    }

    /* Popular cards texture */
    .popular-card {
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      background-image: 
        linear-gradient(135deg, #f8fafc 0%, rgba(255, 200, 71, 0.02) 100%);
    }

    /* Resource links texture */
    .resource-link {
      background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
      background-image: 
        linear-gradient(135deg, #f8fafc 0%, rgba(45, 122, 62, 0.015) 100%);
    }

    /* Subtle pattern overlay for main content areas */
    .category-cards {
      position: relative;
    }

    .category-cards::before {
      content: '';
      position: absolute;
      top: -40px;
      left: -40px;
      right: -40px;
      bottom: -40px;
      background: 
        radial-gradient(circle at 30% 70%, rgba(45, 122, 62, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 200, 71, 0.02) 0%, transparent 50%);
      z-index: -1;
      pointer-events: none;
    }

    /* Header texture */
    .site-header {
      background: #fff;
      background-image: 
        linear-gradient(180deg, rgba(45, 122, 62, 0.01) 0%, transparent 10%);
      border-bottom: 1px solid #e2e8f0;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    /* Top bar texture */
    .top-bar {
      background: linear-gradient(135deg, #143d1f 0%, #236b32 40%, #1a4d26 80%, #ffc847 100%);
          background: #2d7a3e;
      }

    /* Mobile menu texture */
    .mobile-menu-header {
      background: linear-gradient(135deg, #143d1f 0%, #236b32 70%, rgba(255,200,71,0.2) 100%);
      background-image: 
        url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #143d1f 0%, #236b32 70%, rgba(255,200,71,0.2) 100%);
    }
    .hero-texture{
      background-image: url('/themes/gorki/images/1779795972230-019e6419-7fb4-770f-9388-ff7b61b6d5d9.png');
  background-size: cover;
  background-position: center;
    }

    /* ========== СТИЛИ МЕНЮ ========== */

/* Десктопное меню */
.desktop-menu {
  display: flex;
  align-items: center;
  height: 100%;
}

.menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 60px;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.menu-nav{
      display: flex;
    align-items: center;
    height: 100%;
}
.menu-link:hover {
  color: #ffc847;
}

.menu-arrow {
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.menu-item:hover .menu-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Выпадающее подменю - простой список */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  min-width: 350px;
  max-width: 450px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 8px 0;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 30px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
}

.menu-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-link {
  display: block;
  padding: 10px 24px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.4;
  border-left: 3px solid transparent;
}

.submenu-link:hover {
  background: #f8fafc;
  color: #2d7a3e;
  border-left-color: #ffc847;
  padding-left: 28px;
}

/* Мобильное меню - кнопка */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-menu-toggle:hover {
  background: rgba(255,200,71,0.1);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #444;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное меню - панель */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #143d1f 0%, #236b32 70%, rgba(255,200,71,0.2) 100%);
  color: #fff;
}

.mobile-menu-title {
  font-size: 18px;
  font-weight: 700;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.mobile-menu-close:hover {
  background: rgba(255,255,255,0.2);
}



.mobile-accessibility-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 168, 0.3);
}

/* Затемнение фона */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .desktop-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .desktop-search {
    display: none;
  }
  
  .header__container {
    justify-content: space-between;
  }
  
  .site-header {
    position: sticky;
    top: 0;
  }


     .mobile-menu .desktop-menu {
      display: flex;
        flex: 1;
        overflow-y: auto;
        padding: 16px;
    }
    .mobile-menu .menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
            display: block;
        width: 100%;
}
.mobile-menu .menu-item {
    border-bottom: 1px solid #f1f5f9;
    display: flex;
        flex-direction: column;
}
.mobile-menu .menu-link {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
            height: auto;
        padding: 15px;
        width: 100%;
}
.mobile-menu .menu-link:hover {
    background: #f8fafc;
    color: #ffc847;
}
.mobile-menu .submenu {
            overflow: hidden;
        transition: max-height 0.3s ease;
        background: #f8fafc;
        border-radius: 0 0 8px 8px;
        position: relative;
        display: flex;
        opacity: 1;
        visibility: visible;
        flex-direction: column;
        box-shadow: none;
                max-height: 100%;
        max-width: 100%;
        min-width: 100%;
        top: 0;
        transform: translateY(0px);
}
}

@media (min-width: 1201px) {
  .mobile-menu,
  .mobile-overlay {
    display: none !important;
  }
}

/* Планшетная адаптация */
@media (max-width: 1100px) and (min-width: 1201px) {
  .menu-link {
    padding: 0 12px;
    font-size: 12px;
  }
}

/* Скроллбар для длинных подменю */
.submenu::-webkit-scrollbar {
  width: 6px;
}

.submenu::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.submenu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.submenu::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
/* Обертка поиска */
.search-block-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Кнопка поиска */
.search-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #888;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s;
  z-index: 2;
  position: relative;
}

.search-btn:hover {
  background: rgba(255, 200, 71, 0.1);
  color: #ffc847;
}

/* Скрываем стандартную кнопку submit внутри формы */
.search-form-expandable .form-submit {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

/* Раскрывающаяся форма */
.search-form-expandable {
  position: absolute;
  right: 44px; /* ширина кнопки */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
}

.search-form-expandable.active {
  width: 450px;
  opacity: 1;
  visibility: visible;
}

/* Поле ввода */
.search-form-expandable .form-search {
  width: 100%;
  height: 44px;
  padding: 0 50px 0 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.search-form-expandable .form-search:focus {
  border-color: #ffc847;
}

/* Скрываем label */
.search-form-expandable .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Скрываем стандартные обертки формы */
.search-form-expandable form,
.search-form-expandable .form-item,
.search-form-expandable .form-actions {
  margin: 0;
  padding: 0;
  display: block;
}

/* Скрываем contextual в поиске */
.search-block-wrapper .contextual {
  display: none;
}

/* Мобильная версия — скрываем десктопный поиск */
@media (max-width: 1200px) {
  .search-block-wrapper {
    display: none;
  }
}


/* ========== СПЕЦИАЛЬНЫЙ БАННЕР В HERO ========== */
.hero-banner-special {
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.12);
      display: flex;
    gap: 15px;
}

.banner-special-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255,200,71,0.12) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 10px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 300px;
  width: 100%;
}

.banner-special-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 200, 71, 0.25) 0%, rgba(255, 200, 71, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.banner-special-link:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.banner-special-link:hover::before {
  opacity: 1;
}

.banner-special-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.banner-special-image {
  width: 120px;
  height: 90px;
  background: #fff;
  border-radius: 12px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.banner-special-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.banner-special-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.banner-special-label {
  font-size: 12px;
  font-weight: 600;
  color: #ffc847;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.banner-special-year {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #ffc847 0%, #fff 50%, #ffc847 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-special-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.2);
}

.banner-special-link:hover .banner-special-arrow {
  background: linear-gradient(135deg, #ffc847 0%, #fff 100%);
  background: #ffc847;
  color: #143d1f;
  transform: translateX(4px);
}

/* Адаптивность */
@media (max-width: 640px) {
  .hero-banner-special {
    margin-top: 24px;
    padding-top: 20px;
  }
  
  .banner-special-link {
    padding: 12px 16px;
  }
  
  .banner-special-image {
    width: 60px;
    height: 60px;
  }
  
  .banner-special-year {
    font-size: 24px;
  }
  
  .banner-special-label {
    font-size: 12px;
  }
  
  .banner-special-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ========== БЛОК БАННЕРОВ В МЕДИА-СЕКЦИИ ========== */
.baner-blocks{
      max-width: 1350px;
    margin: 40px auto;
    padding: 0 24px;
}
.banners-block {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.banners-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2d7a3e;
}

.banners-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.banners-icon {
  width: 44px;
  height: 44px;
  background: #2d7a3e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 168, 0.3);
}

.banners-title {
  font-size: 22px;
  font-weight: 700;
  color: #143d1f;
  margin: 0;
}

.banners-grid {
  column-count: 6;
  column-gap: 8px;
}

.banner-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  margin-bottom: 16px;
  break-inside: avoid;
  -webkit-break-inside: avoid;
  page-break-inside: avoid;
}

.banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(45, 122, 62, 0.15), 0 0 0 1px rgba(255, 200, 71, 0.1);
  border-color: #cbd5e1;
}

.banner-image-wrap {
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-card:hover .banner-image-wrap img {
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .media-announcements-container {
    grid-template-columns: 1fr;
  }
  .banners-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .banners-grid {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .banners-grid {
    column-count: 1;
  }
}

/* ========== СЕКЦИЯ МЕДИА И ОБЪЯВЛЕНИЙ ========== */
.media-announcements-section {
  max-width: 1350px;
  margin: 40px auto;
  padding: 0 24px;
}

.media-announcements-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

/* ===== ЛЕВЫЙ БЛОК: Медиа ===== */
.media-block {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.media-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2d7a3e;
}

.media-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.media-tab {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-tab:hover {
  background: #e2e8f0;
  color: #2d7a3e;
}

.media-tab.active {
  background: #2d7a3e;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 168, 0.3);
}

.media-content {
  display: none;
}

.media-content.active {
  display: block;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.videos-grid {
  grid-template-columns: repeat(3, 1fr);
}

.media-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(45, 122, 62, 0.15), 0 0 0 1px rgba(255, 200, 71, 0.1);
  border-color: #cbd5e1;
}

.media-image-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.media-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.media-card:hover .media-image-wrap img {
  transform: scale(1.08);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(45, 122, 62, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}

.video-card:hover .video-play {
  background: #2d7a3e;
  transform: translate(-50%, -50%) scale(1.1);
}

.media-info {
  padding: 5px 10px;
}

.media-date {
  font-size: 11px;
  font-weight: 600;
  color: #2d7a3e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.media-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin: 6px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-card:hover .media-title {
  color: #2d7a3e;
}

.media-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.media-all-link:hover {
  color: #2d7a3e;
  gap: 12px;
}

/* ===== ПРАВЫЙ БЛОК: Объявления ===== */
.announcements-block-simple {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  height: fit-content;
}

.announcements-block-simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2d7a3e;
}

.announcements-header-simple {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.announcements-icon-simple {
  width: 44px;
  height: 44px;
  background: #2d7a3e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 168, 0.3);
}

.announcements-title-simple {
  font-size: 20px;
  font-weight: 700;
  color: #143d1f;
  margin: 0;
}

.announcements-list-simple {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.announcement-item-simple {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.announcement-item-simple:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: #fff;
  border-color: #2d7a3e;
}

.announcement-date-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.announcement-day-simple {
  font-size: 22px;
  font-weight: 800;
  color: #2d7a3e;
  line-height: 1;
}

.announcement-month-simple {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 4px;
}

.announcement-content-simple {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.announcement-badge-simple {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 6px;
  background: rgba(45, 122, 62, 0.1);
  color: #2d7a3e;
}

.announcement-text-simple {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.announcement-item-simple:hover .announcement-text-simple {
  color: #1e293b;
}

.announcements-footer-simple {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.announcements-link-simple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.announcements-link-simple:hover {
  color: #2d7a3e;
  gap: 12px;
}

/* Адаптивность */
@media (max-width: 1024px) {
  .media-announcements-container {
    grid-template-columns: 1fr;
  }

  .media-grid, .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .media-grid, .videos-grid {
    grid-template-columns: 1fr;
  }

  .media-tabs {
    flex-wrap: wrap;
  }

  .announcement-item-simple {
    flex-direction: column;
  }

  .announcement-date-simple {
    flex-direction: row;
    gap: 8px;
    width: fit-content;
  }
}

/* ========== ПОПУЛЯРНЫЕ РАЗДЕЛЫ ========== */
.popular-section {
  max-width: 1350px;
  margin: 40px auto;
  padding: 0 24px;
}

.popular-container {
  background: linear-gradient(135deg, #143d1f 0%, #1e5a2e 50%, #1a4d26 100%);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 60px -15px rgba(20, 61, 31, 0.4), 0 0 0 1px rgba(255, 200, 71, 0.15);
  position: relative;
  overflow: hidden;
}

.popular-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://mogilev-region.gov.by/themes/region/images/Group.svg");
  background-size: 50px;
  opacity: 0.04;
  pointer-events: none;
}

.popular-container::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 200, 71, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.popular-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}

.popular-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.popular-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ffc847 0%, #e6a800 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 200, 71, 0.3);
  flex-shrink: 0;
}

.popular-title h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.3px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
  z-index: 1;
}

.popular-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 56px;
}

.popular-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ffc847 0%, #e6a800 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.popular-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 200, 71, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.popular-card:hover::before {
  opacity: 1;
}

.popular-card-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 200, 71, 0.15);
  border: 1px solid rgba(255, 200, 71, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffc847;
  transition: all 0.3s;
}

.popular-card:hover .popular-card-icon {
  background: linear-gradient(135deg, #ffc847 0%, #e6a800 100%);
  color: #143d1f;
  border-color: #ffc847;
  transform: scale(1.05);
}

.popular-card-content {
  flex: 1;
  min-width: 0;
}

.popular-card-title {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
  line-height: 1.4;
  margin: 0;
}

.popular-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 200, 71, 0.5);
  flex-shrink: 0;
  transition: all 0.3s;
  opacity: 0;
  transform: translateX(-8px);
}

.popular-card:hover .popular-card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #143d1f;
  background: linear-gradient(135deg, #ffc847 0%, #e6a800 100%);
}

@media (max-width: 1200px) {
  .popular-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .popular-title h3 {
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .popular-section {
    padding: 0 16px;
  }
  .popular-container {
    padding: 20px;
  }
  .popular-grid {
    grid-template-columns: 1fr;
  }
  .popular-card {
    padding: 12px 14px;
  }
  .popular-title h3 {
    font-size: 18px;
  }
}

/* ========== БЛОК БАННЕРОВ ========== */
.banners-section {
  max-width: 1350px;
  margin: 40px auto;
  padding: 0 24px;
}

.banners-container {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.banners-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2d7a3e;
}

.banners-slider {
  overflow: hidden;
  position: relative;
}

.banners-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
  min-width: calc(16.666% - 14px); /* 6 слайдов = 100% / 6 = 16.666%, минус gap */
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: block;
}

.banner-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(37, 99, 168, 0.2);
}

.banner-slide img {
  width: 100%;
  height: 80px; /* Уменьшена высота баннеров */
  object-fit: contain;
  object-position: center;
  display: block;
}

.banners-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.banners-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #64748b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.banners-btn:hover {
  background: #2d7a3e;
  color: #fff;
  border-color: #2d7a3e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 168, 0.3);
}

/* Адаптивность */
@media (max-width: 1200px) {
  .banner-slide {
    min-width: calc(20% - 13px); /* 5 слайдов на планшетах */
  }
  .banner-slide img {
    height: 70px;
  }
}

@media (max-width: 992px) {
  .banner-slide {
    min-width: calc(25% - 12px); /* 4 слайда */
  }
  .banner-slide img {
    height: 65px;
  }
}

@media (max-width: 768px) {
  .banner-slide {
    min-width: calc(33.333% - 11px); /* 3 слайда */
  }
  .banner-slide img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .banner-slide {
    min-width: calc(50% - 8px); /* 2 слайда на мобильных */
  }
  .banner-slide img {
    height: 55px;
  }
}

/* ========== БЛОК ИНТЕРНЕТ-РЕСУРСЫ ========== */
.resources-section {
  max-width: 1350px;
  margin: 40px auto;
  padding: 0 24px;
}

.resources-container {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.resources-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2d7a3e;
}

.resources-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.resources-icon {
  width: 44px;
  height: 44px;
  background: #2d7a3e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 168, 0.3);
}

.resources-title {
  font-size: 22px;
  font-weight: 700;
  color: #143d1f;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: #1e293b;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.resource-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #2d7a3e 0%, #1e5a2e 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.resource-link:hover {
  background: #fff;
  border-color: #cbd5e1;
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(37, 99, 168, 0.1);
}

.resource-link:hover::before {
  opacity: 1;
}

.resource-dot {
  width: 8px;
  height: 8px;
  background: #2d7a3e;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.2s;
}

.resource-link:hover .resource-dot {
  opacity: 1;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(45, 122, 62, 0.6);
}

.resource-text {
  flex: 1;
  line-height: 1.4;
  transition: color 0.2s;
}

.resource-link:hover .resource-text {
  color: #2d7a3e;
}

.resource-arrow {
  color: #94a3b8;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s;
  flex-shrink: 0;
}

.resource-link:hover .resource-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #2d7a3e;
}

@media (max-width: 768px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== ФУТЕР ========== */
.site-footer {
 /* background: linear-gradient(135deg, #143d1f 0%, #236b32 40%, #1a4d26 80%, #ffc847 100%);*/
  color: #fff;
  margin-top: 60px;
  padding-top: 60px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d7a3e 0%, #ffc847 50%, #2d7a3e 100%);
}

.footer-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}


.footer-logo .logo__text h1 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #fff;
      text-transform: none;
}

.footer-logo .logo__text p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin: 2px 0 0 0;
}


.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
  background: linear-gradient(135deg, #2d7a3e 0%, #ffc847 100%);
  border-color: #2d7a3e;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #ffc847;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffc847;
  transform: translateX(4px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.5;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #ffc847;
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #ffc847;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 1220px) {
.hero__container {
    grid-template-columns: 1fr 350px;
}
.hero-banner-special {
    flex-wrap: wrap;
}

}
@media (max-width: 1085px) {
  .banner-special-link {
    max-width: 240px;
}
}
@media (max-width: 962px) {
  .banner-special-link {
    max-width: 220px;
}
.banner-special-image {
    width: 100px;
    height: 80px;
}
}