/* Full-width fixed header: the blue surface must reach both viewport edges. */
.legal-page {
  padding-top: 0 !important;
}

.site-shell-header {
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  padding-left: max(20px, calc((100vw - 1180px) / 2)) !important;
  padding-right: max(20px, calc((100vw - 1180px) / 2)) !important;
  box-sizing: border-box !important;
}

/* Keep the desktop navigation text vertically centered and fully visible. */
@media (min-width: 768px) {
  .site-shell-header {
    height: 80px !important;
    min-height: 80px !important;
    align-items: center !important;
  }
  .site-nav {
    height: 58px !important;
    min-height: 58px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .site-nav ul {
    height: 58px !important;
    min-height: 58px !important;
    align-items: center !important;
    overflow: visible !important;
  }
  .site-nav li,
  .site-nav a {
    height: auto !important;
    min-height: 30px !important;
    overflow: visible !important;
    line-height: 1.35 !important;
  }
  .site-nav a {
    display: flex !important;
    align-items: center !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
  }
}

@media (max-width: 767px) {
  body { padding-top: 64px !important; }
  .site-shell-header {
    height: 64px !important;
    width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .carousel-benefits .mb-carousel {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    touch-action: auto !important;
    overscroll-behavior-x: contain !important;
  }
  .carousel-benefits .mb-carousel::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
  }
  .carousel-benefits .mb-carousel .swiper-wrapper {
    gap: 7px !important;
    width: max-content !important;
    transform: none !important;
    transition: none !important;
  }
  .carousel-benefits .mb-carousel .swiper-slide {
    width: 77vw !important;
    min-width: 230px !important;
    max-width: 280px !important;
    height: 315px !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }
  .carousel-benefits .mb-carousel .swiper-slide > * {
    width: 100% !important;
    height: 315px !important;
    min-height: 315px !important;
    max-height: 315px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }
  .carousel-benefits .mb-carousel img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .mb-benefits-controls { display: none !important; }
  .site-nav {
    z-index: 2001 !important;
    top: 64px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    background: #100e9f !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
  }
  .site-nav ul {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
  }
  /* Keep the complete Telegram artwork inside the rounded contact card. */
  .nPRfcaDA7ew- {
    right: 12px !important;
    max-width: calc(100% - 24px) !important;
    object-fit: contain !important;
    object-position: right bottom !important;
  }
  h1[id], h2[id] { scroll-margin-top: 76px !important; }
}

/* High-contrast Telegram button in the footer. */
._7l4PwhBzT-E- {
  background: #229ed9 !important;
  box-shadow: 0 6px 18px rgba(34, 158, 217, .35) !important;
}
._7l4PwhBzT-E- path {
  stroke: #fff !important;
  stroke-opacity: 1 !important;
}

.partner-comparison-copy {
  margin: 12px 0 0 !important;
  color: #292a4a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.desktop-header-callout {
  display: none !important;
}

@media (min-width: 768px) {
  .desktop-header-callout {
    display: block !important;
    flex: 1 1 auto !important;
    margin: 0 24px 0 32px !important;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}
