/* Footer structure and responsive helpers
   Added to make future footer updates easier without changing page content or functionality. */
.site-footer {
  background: #0a2540;
  color: #ffffff;
}

.site-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  display: flex;
  gap: 80px;
}

.site-footer__intro {
  flex: 0 0 340px;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.site-footer__copyright {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.site-footer__menus {
  flex: 1;
  display: flex;
  gap: 64px;
  justify-content: space-between;
}

.site-footer__menu-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 22px;
}

.site-footer__menu-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 56px !important;
  }

  .site-footer__inner {
    padding: 48px 22px 30px !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  .site-footer__intro {
    display: contents !important;
    padding-right: 0 !important;
  }

  .site-footer__intro-main {
    order: 1;
  }

  .site-footer__menus {
    order: 2;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 20px !important;
    width: 100%;
  }

  .site-footer__menu {
    min-width: 0;
  }

  .site-footer__menu-title {
    margin-bottom: 14px !important;
  }

  .site-footer__menu-links {
    gap: 11px !important;
  }

  .site-footer__menu-links a {
    line-height: 1.35;
  }

  .site-footer__copyright {
    order: 3;
    margin-top: 8px !important;
    padding-top: 22px !important;
    width: 100%;
  }
}

/* Mobile menu animation helpers */
.mobile-menu-overlay {
  animation: mobileMenuFadeIn .26s ease both;
}

.mobile-menu-panel {
  animation: mobileMenuSlideIn .34s cubic-bezier(.22, 1, .36, 1) both;
}

.mobile-menu-panel a,
.mobile-menu-panel button,
.mobile-menu-panel div {
  animation: mobileMenuItemIn .34s ease both;
}

@keyframes mobileMenuFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mobileMenuSlideIn {
  from { transform: translateX(100%); opacity: .98; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes mobileMenuItemIn {
  from { transform: translateX(14px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.story-slider {
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}

.story-slider:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .story-slider {
    touch-action: pan-y;
  }
}
