/* Preserve complete 1946x808 hero artwork on narrow screens. */
@media (max-width: 767px) {
 .tj-slider-section .tj-slider-item { min-height: 0 !important; height: auto !important; background: #03172f !important; }
 .tj-slider-section .slider-bg-image { position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 1946 / 808; background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }
 .tj-slider-section .tj-slider-item .slider-wrapper { padding: 20px 0 48px !important; min-height: 0 !important; }
 .tj-slider-section .tj-slider-item::after { display: none !important; }
 .tj-slider-section .slider-content { position: relative; z-index: 2; }
 .inner-product-banner { min-height: 0 !important; height: auto !important; display: block !important; background-size: 100% auto !important; background-position: center top !important; background-repeat: no-repeat !important; padding-top: calc(100vw * 808 / 1946) !important; background-color: #03172f !important; }
 .inner-product-banner .row { min-height: 0 !important; height: auto !important; align-items: initial !important; }
 .inner-product-banner .vp-hero-copy, .inner-product-banner .sp3d-hero-copy, .inner-product-banner .solve3d-hero-copy { padding-top: 24px !important; padding-bottom: 45px !important; }
 .inner-product-banner:before { display: none !important; }
 .inner-product-banner .row > .col-lg-5 { display: none !important; }
}

/* Mobile: keep page banners beneath the navigation, not underneath it. */
@media (max-width: 767px) {
  body > .header-area.header-absolute,
  .header-area.header-2.header-absolute:not(.header-duplicate) {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
  }
  .header-area.header-duplicate { pointer-events: auto; }
  .tj-slider-section .slider-content .slider-btn {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .tj-slider-section .slider-content .slider-btn > a {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 10px 7px !important;
    display: inline-flex !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    font-size: clamp(10px, 3vw, 13px) !important;
  }
  .tj-slider-section .slider-content .slider-btn .btn-icon { flex-shrink: 0; }
}

/* Mobile: full-height banner with the RIGHT side of artwork in view. */
@media (max-width: 767px) {
  .tj-slider-section .tj-slider-item { position: relative !important; min-height: 540px !important; height: 540px !important; overflow: hidden !important; }
  .tj-slider-section .slider-bg-image { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; background-size: cover !important; background-position: right center !important; background-repeat: no-repeat !important; }
  .tj-slider-section .tj-slider-item .slider-wrapper { position: relative !important; min-height: 540px !important; height: 100% !important; padding: 175px 0 45px !important; }
  .tj-slider-section .tj-slider-item::after { display: block !important; }
  .inner-product-banner { position: relative !important; min-height: 540px !important; height: auto !important; background-size: cover !important; background-position: right center !important; background-repeat: no-repeat !important; padding-top: 90px !important; padding-bottom: 45px !important; }
}

/* Mobile v4: subtly darken banners and shift crop toward the centre. */
@media (max-width: 767px) {
  .tj-slider-section .slider-bg-image {
    background-position: 65% center !important;
  }
  .tj-slider-section .tj-slider-item::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.32) !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  .tj-slider-section .tj-slider-item .slider-wrapper { z-index: 2 !important; }
  .inner-product-banner {
    background-position: 65% center !important;
    isolation: isolate;
  }
  .inner-product-banner::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.32) !important;
    pointer-events: none !important;
    z-index: -1 !important;
  }
}
