.wp-block-cover.hahn-image-info {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    margin-block: 0;
    padding: clamp(60px, 7vw, 140px) 6.5%;
}

.hahn-image-info .hahn-image-info__card {
    box-sizing: border-box;
    width: min(100%, 810px);
    margin: 0;
    padding: clamp(24px, 2vw, 42px);
    background: var(--wp--preset--color--accent-2, #3eb1c8);
    color: var(--wp--preset--color--accent-1, #00263a);
}

.hahn-image-info__card .wp-block-heading {
    color: inherit;
    font-size: clamp(34px, 3vw, 60px);
    line-height: 1.15;
    margin: 0 0 30px;
}

.hahn-image-info__card p {
    font-size: clamp(18px, 1.25vw, 25px);
    line-height: 1.55;
    margin: 0 0 32px;
}

.hahn-image-info__card .hahn-image-info__retailers {
    columns: 2;
    column-gap: 40px;
    padding-left: 24px;
    margin-block: 0;
    font-size: clamp(16px, 1.1vw, 22px);
    line-height: 1.5;
}

.hahn-image-info__retailers > li {
    break-inside: avoid;
    padding-left: 4px;
    margin-bottom: 14px;
}

.hahn-image-info__card a { color: inherit; text-decoration: underline; }
.hahn-image-info__card a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.hahn-image-info__card > :last-child { margin-bottom: 0; }

@media (max-width: 767px) {
    .wp-block-cover.hahn-image-info { padding: 120px 20px 60px; }
    .hahn-image-info .hahn-image-info__card {
        max-width: 520px;
        margin-inline: auto;
        background: color-mix(in srgb, var(--wp--preset--color--accent-2, #3eb1c8) 95%, transparent);
    }
    .hahn-image-info__card .hahn-image-info__retailers { columns: 1; }
    .hahn-image-info__card p { font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
    .hahn-image-info__card .hahn-image-info__retailers { font-size: 15px; }
}

/* Attach the decoration to the Cover itself, outside its padded content area. */
.wp-block-cover.is-style-navy-bottom-tear {
    position: relative;
    isolation: isolate;
    padding-bottom: max(100px, 9vw);
    margin-bottom: 0;
}

.wp-block-cover.is-style-navy-bottom-tear::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    width: 100%;
    max-width: none;
    height: clamp(50px, 7vw, 130px);
    margin: 0;
    background: var(--wp--preset--color--accent-1, #00263a);
    mask: url('../images/paper-tear-mask.svg') center bottom / 100% 100% no-repeat;
    z-index: 2;
    pointer-events: none;
}

/* Full-width carousel: keep controls inside the image, clear of card content. */
.wp-block-cb-carousel-v2.hahn-image-info-carousel {
    margin-block: 0;
    /* Contain Swiper's layers below the neighboring section's overlapping tear. */
    position: relative;
    isolation: isolate;
    z-index: 0;
}
.hahn-image-info-carousel .swiper-wrapper { align-items: stretch; }
.hahn-image-info-carousel .swiper-slide { height: auto; }
.hahn-image-info-carousel .swiper-slide > .hahn-image-info { height: 100%; }
.wp-block-cb-carousel-v2.hahn-image-info-carousel[data-cb-pagination=true] .swiper-horizontal { margin-bottom: 0; }
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-prev,
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-next {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    margin: 0;
    width: 52px;
    height: 60px;
    background: rgb(0 38 58 / 65%);
    border-radius: 6px;
    color: #fff;
    z-index: 5;
}
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-prev::after,
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-next::after {
    content: "";
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    border-top: 5px solid currentColor;
    border-right: 5px solid currentColor;
    transform: rotate(45deg);
    margin-right: 8px;
}
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-prev::after { transform: rotate(-135deg); margin-right: 0; margin-left: 8px; }
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-prev:hover,
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-next:hover { background: #00263a; color: #fff; }
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-prev { left: 24px; right: auto; }
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-next { right: 24px; left: auto; }
.wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-pagination { bottom: 35px; pointer-events: none; }
.hahn-image-info-carousel .swiper-pagination-bullet { background: #fff; opacity: 0.65; pointer-events: auto; }
.hahn-image-info-carousel .swiper-pagination-bullet-active { background: #3eb1c8; opacity: 1; }
.hahn-image-info-carousel .cb-button-prev:focus-visible,
.hahn-image-info-carousel .cb-button-next:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hahn-image-info-carousel .wp-block-cover.hahn-image-info { padding-bottom: max(110px, 7vw); }
.hahn-image-info--testimonial .hahn-image-info__card { padding: clamp(28px, 2.6vw, 54px); }
.hahn-image-info--testimonial .hahn-image-info__card p { font-size: clamp(20px, 1.6vw, 32px); line-height: 1.4; }
.hahn-image-info--testimonial .wp-block-button__link {
    background: var(--wp--preset--color--primary, #c8102e);
    color: #fff;
    border-radius: 0;
    padding: 16px 32px;
    font-size: clamp(18px, 1.3vw, 26px);
}
@media (max-width: 767px) {
    .hahn-image-info-carousel .wp-block-cover.hahn-image-info { padding-inline: 56px; }
    .wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-prev { left: 2px; }
    .wp-block-cb-carousel-v2.hahn-image-info-carousel .cb-button-next { right: 2px; }
    .hahn-image-info--testimonial .hahn-image-info__card { padding: 24px 20px; }
    .hahn-image-info--testimonial .hahn-image-info__card p { font-size: 16px; line-height: 1.5; }
}
.wp-block-cb-carousel-v2.is-style-navy-bottom-tear::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    width: 100%;
    height: clamp(50px, 7vw, 130px);
    background: var(--wp--preset--color--accent-1, #00263a);
    mask: url('../images/paper-tear-mask.svg') center bottom / 100% 100% no-repeat;
    pointer-events: none;
    z-index: 3;
}
.hahn-image-info-carousel.is-style-navy-bottom-tear .wp-block-cover.hahn-image-info {
    padding-bottom: max(130px, 10vw);
}
@media (prefers-reduced-motion: reduce) {
    .hahn-image-info-carousel .swiper-wrapper { transition-duration: 0ms !important; }
}

html.hahn-carousel-video-open { overflow: hidden; }
.hahn-carousel-video {
    box-sizing: border-box;
    width: min(1100px, 94vw, calc((90dvh - 56px) * 16 / 9));
    max-width: 94vw;
    max-height: 94dvh;
    padding: 0;
    border: 0;
    background: #00263a;
    color: #fff;
}
.hahn-carousel-video::backdrop { background: rgb(0 0 0 / 80%); }
.hahn-carousel-video__close {
    display: block;
    margin-left: auto;
    min-height: 48px;
    padding: 10px 18px;
    background: transparent;
    border: 0;
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.hahn-carousel-video__close:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.hahn-carousel-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
