/**
 * Inner Page Banner Section Block Styles
 *
 * @package ACF Child Theme
 */

:root {
    --color-yellow: #e3cd51;
    --color-light: #e7e9ed;
    --color-text: #595959;
    --color-teal: #375663;
    --color-white: #ffffff;
    --font-primary: 'Aptos', sans-serif;
}

/* ── Section Wrapper — full-width background image ───────────────────────── */
.inner-page-banner {
    position: relative;
    width: 100%;
    background-color: #d9e8ef; /* fallback when no image is set */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 0 !important;
}

/* ── Invisible sizer — natural image dimensions drive the section height ─── */
.inner-page-banner__sizer {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    pointer-events: none;
    user-select: none;
}

/* ── Content Container — absolutely overlaid, WordPress layout width ─────── */
.inner-page-banner__container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--theme-normal-container-max-width, 1290px);
    padding: 0 20px;
    box-sizing: border-box;
}

/* ── Logo image ──────────────────────────────────────────────────────────── */
.inner-page-banner__logo-wrap {
    padding-top: 60px;
}

.inner-page-banner__logo {
    display: block;
    height: 3rem;
}

/* ── Tablet ───────────────────────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1023px) {
    .inner-page-banner__logo-wrap {
        padding-top: 50px;
    }

    .inner-page-banner__logo {
        max-width: 180px;
    }
}

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .inner-page-banner__logo-wrap {
        padding-top: 30px;
    }

    .inner-page-banner__logo {
        max-width: 130px;
    }
}
