.insurance-band {
    position: relative;
    z-index: 0;
    width: 100%;
    min-height: unset;
    padding: 88px 0 72px;
    background: #ffffff;
    overflow: hidden;
}

.insurance-band__inner {
    width: min(1290px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.insurance-band__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    width: 100%;
}

.insurance-band__content {
    width: min(760px, 100%);
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.insurance-band__location {
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-size: 47px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #4a5565;
    max-width: 640px;
}

.insurance-band__body {
    margin: 0;
    max-width: 760px;
    font-family: "Nunito", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    color: #101828;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.insurance-band__body p {
    margin: 0 0 1em;
}

.insurance-band__body p:last-child {
    margin-bottom: 0;
}

.insurance-band__body.is-collapsed p:nth-of-type(n + 2) {
    display: none;
}

.insurance-band__show-more {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #007893;
    font: 600 16px/1.2 "Nunito", sans-serif;
    cursor: pointer;
}

.insurance-band__show-more[hidden] {
    display: none;
}

.insurance-band__show-more svg {
    transition: transform 0.2s ease;
}

.insurance-band__show-more[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.insurance-band__callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: min(640px, 100%);
    background: #f0fafb;
    border: 1.5px solid #b2dfe8;
    border-radius: 12px;
    padding: 20px 24px;
    text-align: left;
}

.insurance-band__callout-icon {
    flex: 0 0 20px;
    margin-top: 2px;
    color: #007893;
}

.insurance-band__callout-text {
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #1d4f5c;
}

.insurance-band__logos-viewport {
    width: min(960px, 100%);
    max-width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.insurance-band__logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(18px, 3vw, 40px);
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
    width: max-content;
    min-width: 0;
    animation: insurance-band-marquee 28s linear infinite;
    will-change: transform;
}

.insurance-band__body.is-collapsed {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0));
}

.insurance-band__logos-viewport:hover .insurance-band__logos,
.insurance-band__logos-viewport:focus-within .insurance-band__logos {
    animation-play-state: paused;
}

.insurance-band__logo {
    width: 180px;
    height: 180px;
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.insurance-band__logo img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.insurance-band__logos--text {
    gap: 24px;
}

.insurance-band__logo--text {
    width: auto;
    min-width: min(720px, calc(100vw - 120px));
    height: auto;
    flex: 0 0 auto;
    padding: 0 16px;
}

.insurance-band__text-slide {
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    line-height: 1.35;
    font-weight: 600;
    color: #4a5565;
    text-align: center;
}

.insurance-band__logo:hover,
.insurance-band__logo:focus-within {
    transform: translateY(-4px);
    filter: drop-shadow(0 10px 18px rgba(16, 24, 40, 0.12));
}

.insurance-band__logo:hover img,
.insurance-band__logo:focus-within img {
    transform: scale(1.03);
}

.insurance-band__logo-placeholder {
    display: block;
    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    max-width: none;
    background: #d9d9d9;
    border-radius: 0;
}

.insurance-band__quote {
    width: 1268px;
    max-width: 100%;
    margin: 0;
    margin-inline: auto;
    text-align: center;
    font-family: "Nunito", sans-serif;
    font-size: 56px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.1;
    color: #4a5565;
}

.insurance-band__quote p {
    margin: 0;
}

@keyframes insurance-band-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - (clamp(18px, 3vw, 40px) / 2)));
    }
}

@media (max-width: 1360px) {
    .insurance-band {
        min-height: unset;
        padding: 72px 0 56px;
    }

    .insurance-band__inner {
        gap: 0;
    }

    .insurance-band__row {
        gap: 36px;
    }

    .insurance-band__location {
        font-size: clamp(2rem, 3vw, 2.9375rem);
    }

    .insurance-band__logos {
        gap: clamp(1.5rem, 4vw, 3rem);
    }

    .insurance-band__logo,
    .insurance-band__logo img,
    .insurance-band__logo-placeholder {
        width: clamp(6.5rem, 12vw, 11.25rem);
        height: clamp(6.5rem, 12vw, 11.25rem);
        flex-basis: clamp(6.5rem, 12vw, 11.25rem);
    }

    .insurance-band__quote {
        width: min(1268px, 100%);
        font-size: clamp(2rem, 4.2vw, 3.5rem);
    }
}

@media (max-width: 980px) {
    .insurance-band {
        padding: 48px 0 40px;
    }

    .insurance-band__inner {
        width: min(1290px, calc(100% - 40px));
        gap: 40px;
    }

    .insurance-band__row {
        gap: 32px;
    }

    .insurance-band__location {
        font-size: clamp(1.75rem, 5.2vw, 2.25rem);
    }

    .insurance-band__body {
        max-width: 680px;
    }

    .insurance-band__logos-viewport {
        width: 100%;
    }

    .insurance-band__logos {
        gap: 24px;
        animation-duration: 24s;
    }

    .insurance-band__logo,
    .insurance-band__logo img,
    .insurance-band__logo-placeholder {
        width: clamp(6rem, 24vw, 9rem);
        height: clamp(6rem, 24vw, 9rem);
        flex-basis: clamp(6rem, 24vw, 9rem);
    }

    .insurance-band__logo--text {
        min-width: min(560px, calc(100vw - 80px));
        padding: 0 8px;
    }

    .insurance-band__quote {
        font-size: clamp(1.75rem, 5.4vw, 2.75rem);
    }
}

@media (max-width: 640px) {
    .insurance-band {
        padding: 36px 0 32px;
    }

    .insurance-band__inner {
        width: calc(100% - 32px);
        gap: 28px;
    }

    .insurance-band__row {
        gap: 24px;
    }

    .insurance-band__quote {
        font-size: clamp(1.4rem, 8vw, 2rem);
        line-height: 1.15;
    }

    .insurance-band__body {
        font-size: 15px;
    }

    .insurance-band__show-more {
        font-size: 16px;
    }

    .insurance-band__logos {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        animation: none;
        will-change: auto;
    }

    .insurance-band__logo--text {
        min-width: 0;
        width: 100%;
        padding: 0;
    }

    .insurance-band__text-slide {
        font-size: 1.125rem;
    }

    .insurance-band__logo[aria-hidden="true"] {
        display: none;
    }

    .insurance-band__logos-viewport {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .insurance-band__show-more svg {
        transition: none;
    }

    .insurance-band__logos {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        animation: none;
    }

    .insurance-band__logo[aria-hidden="true"] {
        display: none;
    }

    .insurance-band__logos-viewport {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }
}
