/* ==========================================================================
   Block — Image + Text
   Mobile-first, breakpoint at 768px
   ========================================================================== */

/* ── Section ── */
.block-image-text {
    position: relative;
    padding: var(--section-padding-y) 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-off-white);
}

/* White overlay */
.block-image-text::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

/* ── Inner wrapper ── */
.block-image-text__inner {
    position: relative;
    z-index: 1;
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: 0 var(--grid-margin);
}

/* ── Header (eyebrow + heading) ── */
.block-image-text__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block-image-text__eyebrow {
    display: flex;
    align-items: center;
    gap: 4px;
}

.block-image-text__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-orange-dark);
    flex-shrink: 0;
}

.block-image-text__eyebrow-label {
    font-family: var(--font-body);
    font-size: var(--body-small-size);
    font-weight: var(--weight-regular);
    line-height: var(--body-small-line-height);
    color: var(--color-grey-ultra-dark);
}

.block-image-text__heading {
    font-family: var(--font-heading);
    font-size: var(--h3-size);
    font-weight: var(--weight-medium);
    line-height: var(--h3-line-height);
    color: var(--color-orange-dark);
}

/* ── Body (media + text) ── */
.block-image-text__body {
    display: flex;
    flex-direction: column;
    gap: 36px;
    margin-top: 36px;
}

/* ── Media ── */
.block-image-text__media {
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 330px;
}

.block-image-text__media img,
.block-image-text__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Text Column ── */
.block-image-text__text {
    border-left: 1px solid var(--color-white);
    padding-left: 13px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.block-image-text__subheading {
    font-family: var(--font-body);
    font-size: var(--h6-size);
    font-weight: var(--weight-medium);
    line-height: var(--h6-line-height);
    color: var(--color-grey-ultra-dark);
}

.block-image-text__body-copy {
    font-family: var(--font-body);
    font-size: var(--body-mid-size);
    font-weight: var(--weight-regular);
    line-height: var(--body-mid-line-height);
    color: var(--color-grey-ultra-dark);
}

/* ── CTA (secondary button) ── */
.block-image-text__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    height: var(--btn-secondary-height);
    padding-left: var(--space-sm);
    padding-right: 2px;
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-color);
    font-family: var(--font-body);
    font-size: var(--btn-secondary-font-size);
    font-weight: var(--btn-secondary-font-weight);
    line-height: 1;
    border-radius: var(--btn-secondary-radius);
    text-decoration: none;
    transition: opacity 0.2s ease;
    align-self: flex-start;
}

.block-image-text__cta:hover {
    opacity: 0.9;
}

.block-image-text__cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--btn-secondary-icon-size);
    height: var(--btn-secondary-icon-size);
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-primary-orange);
    flex-shrink: 0;
}

.block-image-text__cta-icon svg {
    width: 14px;
    height: 14px;
}

/* ══════════════════════════════════════════════════════════════════════════
   Desktop (≥ 768px)
   ══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {

    .block-image-text__header {
        gap: var(--space-md);
        max-width: 628px;
    }

    .block-image-text__heading {
        font-size: var(--h2-size);
        line-height: var(--h2-line-height);
    }

    .block-image-text__body {
        flex-direction: row;
        gap: var(--space-md);
        align-items: flex-end;
        margin-top: var(--space-xl);
    }

    .block-image-text__media {
        flex-shrink: 0;
        width: 57.5%;
        height: 659px;
    }

    .block-image-text__text {
        padding-left: 20px;
        max-width: 518px;
    }

    .block-image-text__subheading {
        font-size: var(--h5-size);
        line-height: var(--h5-line-height);
    }

    .block-image-text__body-copy {
        font-size: var(--body-large-size);
        line-height: var(--body-large-line-height);
    }
}
