/**
 * HomePresentationReview block — warehouse banner + Skeepers reviews.
 * Mirrors the legacy Ebotic `.avis` section (home.scss:471-548).
 * No hardcoded brand colours — tokens from themes/hummingbird/assets/css/heho.css.
 * Pro-palette logo swap via ancestor [data-heho-theme="pro"].
 */

.hehoblocks-home-presentation-review {
    width: 100%;
}

.hehoblocks-home-presentation-review__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* === Left column : warehouse banner =================================== */

.hehoblocks-home-presentation-review__about {
    flex: 1 1 auto;
    max-width: calc(100% - 21.875rem); /* 100% - 350px */
    padding: 6.25rem var(--heho-container-padding-x-lg, 1.5rem); /* 100px vertical */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--heho-color-bg, #fff);
}

.hehoblocks-home-presentation-review__logo {
    height: 4.375rem; /* 70px */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.hehoblocks-home-presentation-review__logo--pro {
    display: none;
}

[data-heho-theme="pro"] .hehoblocks-home-presentation-review__logo--regular {
    display: none;
}

[data-heho-theme="pro"] .hehoblocks-home-presentation-review__logo--pro {
    display: block;
}

.hehoblocks-home-presentation-review__copy {
    margin-top: var(--heho-space-8, 2.5rem);
    max-width: 50%;
    color: var(--heho-color-bg, #fff);
    font-size: var(--heho-font-size-sm, 0.875rem);
    font-weight: var(--heho-font-weight-medium, 500);
    line-height: var(--heho-line-height-loose, 1.7);
}

.hehoblocks-home-presentation-review__copy :is(strong, b, .fw-600) {
    font-weight: var(--heho-font-weight-semibold, 600);
}

.hehoblocks-home-presentation-review__cta {
    margin-top: var(--heho-space-7, 1.875rem);
}

/* === Right column : Skeepers reviews carousel ========================== */

.hehoblocks-home-presentation-review__reviews {
    position: relative;
    flex: 0 0 21.875rem; /* 350px */
    background-color: var(--heho-color-bg, #fff);
    padding: var(--heho-space-8, 2.5rem) var(--heho-space-10, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--heho-shadow-card, 0 0 1.5625rem rgba(28, 28, 28, 0.39));
}

/* Legacy decorative triangle that bites into the left banner */
.hehoblocks-home-presentation-review__reviews::before {
    content: "";
    position: absolute;
    top: -2.5rem; /* -40px */
    right: 0;
    width: 100%;
    border-bottom: 2.5rem solid var(--heho-color-bg, #fff);
    border-left: 1.5625rem solid transparent; /* 25px */
    pointer-events: none;
}

.hehoblocks-home-presentation-review__reviews .skeepers_carousel_container {
    width: 100%;
    margin: 0;
}

/* === Responsive ======================================================= */

@media (max-width: 991px) {
    .hehoblocks-home-presentation-review__inner {
        flex-direction: column;
    }

    .hehoblocks-home-presentation-review__about {
        max-width: 100%;
        padding-top: var(--heho-space-8, 2.5rem);
        padding-bottom: 4.375rem; /* 70px legacy */
    }

    .hehoblocks-home-presentation-review__logo {
        height: 3.125rem; /* 50px */
    }

    .hehoblocks-home-presentation-review__copy {
        max-width: 100%;
    }

    .hehoblocks-home-presentation-review__cta {
        margin-top: var(--heho-space-5, 1.25rem);
    }

    .hehoblocks-home-presentation-review__reviews {
        flex: 1 1 auto;
        max-width: 100%;
        padding: var(--heho-space-7, 1.875rem) var(--heho-space-6, 1.5rem);
    }

    .hehoblocks-home-presentation-review__reviews::before {
        display: none;
    }
}
