.home-hero-banner-reference {
    display: none;
}

body.home-page .home-hero-banner-viewport {
    cursor: grab;
}

body.home-page .home-hero-banner-reference.is-dragging,
body.home-page .home-hero-banner-reference.is-dragging .home-hero-banner-viewport {
    cursor: grabbing;
    user-select: none;
}

@media (max-width: 760px) {
    body.home-page .landing-hero.home-hero-quote-reference {
        min-width: 0 !important;
        min-height: 0 !important;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
        display: block !important;
        padding: 12px 16px 0 !important;
        overflow: visible !important;
    }

    body.home-page .home-hero-quote-reference > .landing-hero-copy {
        display: none !important;
    }

    body.home-page .home-hero-quote-reference > .home-hero-quote-mount {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    body.home-page .home-hero-banner-reference {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        background: transparent;
    }

    body.home-page .home-hero-banner-viewport {
        width: 100%;
        height: auto;
        aspect-ratio: 1180 / 180;
        overflow: hidden;
        background: transparent;
        touch-action: pan-y;
    }

    body.home-page .home-hero-banner-cards {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: stretch;
        transition: transform 420ms ease;
        will-change: transform;
    }

    body.home-page .home-hero-banner-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: transparent;
    }

    body.home-page .home-hero-banner-card img {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0 auto;
        object-fit: contain;
        object-position: center center;
    }

    body.home-page .home-hero-banner-counter {
        position: absolute;
        top: 4px;
        right: 5px;
        z-index: 2;
        min-width: 34px;
        height: 18px;
        padding: 0 6px;
        border-radius: 999px;
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.9);
        color: #0b1f3a;
        font-size: 10px;
        font-weight: 600;
        line-height: 1;
    }
}

@media (min-width: 761px) {
  body.home-page .landing-hero.home-hero-quote-reference {
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  body.home-page .home-hero-quote-reference > .landing-hero-copy {
    display: none !important;
  }

  body.home-page .home-hero-quote-reference > .home-hero-quote-mount {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
  }

  body.home-page .home-hero-banner-reference {
    position: relative;
    width: min(1180px, 100%);
    max-width: 1180px;
    display: block;
    margin: 0 auto;
    outline: 0;
  }

  body.home-page .home-hero-banner-viewport {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 16px;
    background: transparent;
    touch-action: pan-y;
  }

  body.home-page .home-hero-banner-cards {
    width: 100%;
    height: 100%;
    display: flex;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  body.home-page .home-hero-banner-card {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #101820;
    text-decoration: none;
    box-shadow: none;
  }

  body.home-page .home-hero-banner-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
  }

  @media (max-width: 1180px) {
    body.home-page .home-hero-banner-viewport {
      height: auto;
      aspect-ratio: 1180 / 180;
    }
  }

  body.home-page .home-hero-banner-counter {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 16px;
    min-width: 58px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgb(255 255 255 / 88%);
    color: #142238;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 8px rgb(21 34 51 / 8%);
    backdrop-filter: blur(4px);
  }

  body.home-page .home-hero-banner-counter i {
    font-style: normal;
    color: #7d8795;
  }
}

/* Desktop: keep a fixed breathing space below the announcement marquee. */
@media (min-width: 1081px) {
  body.home-page .landing-hero.home-hero-quote-reference {
    padding-top: 20px !important;
  }
}
