/* --- FULL WIDTH BREAKOUT (Matches Home Banner) --- */
.aptly-osb-section {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    color: white;
    overflow: hidden;
    padding-top: 85px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.aptly-osb-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
        linear-gradient(270deg, rgba(0, 0, 0, 0.2) 15%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.aptly-osb-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 4rem;
}

/* Hero base: style.css. Section overrides (color, text-shadow) below. */
.aptly-osb-breadcrumb {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(12px, 1vw, 16px);
    color: rgb(156 163 175);
    margin-bottom: 0.75rem;
    margin-left: 0;
}

.aptly-osb-section .aptly-hero-heading {
    color: white;
    margin-left: 0 !important;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(80px);
    animation: aptlyHeroSlideUpFade 0.6s ease-out 0.15s forwards;
}

.aptly-osb-section .aptly-hero-description {
    color: white;
    max-width: 1000px;
    margin-bottom: 12px;
    margin-left: 0 !important;
    opacity: 0;
    transform: translateY(80px);
    animation: aptlyHeroSlideUpFade 0.6s ease-out 0.25s forwards;
}

@keyframes aptlyHeroSlideUpFade {
    from {
        opacity: 0;
        transform: translateY(80px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- TABLET (matches home-banner 1024px) --- */
@media (max-width: 1024px) {
    .aptly-osb-section {
        padding-top: 72px;
    }

    .aptly-osb-inner {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* --- MOBILE (matches home-banner 768px) --- */
@media (max-width: 768px) {
    .aptly-osb-section {
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        min-height: 70vh;
        padding-top: 72px;
    }

    .aptly-osb-inner {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .aptly-osb-section .aptly-hero-heading {
        font-size: 38px;
        line-height: 1.2;
    }

    .aptly-osb-section .aptly-hero-description {
        font-size: 20px;
    }

    .aptly-osb-breadcrumb {
        font-size: 12px;
    }
}

/* --- SMALL MOBILE --- */
@media (max-width: 480px) {
    .aptly-osb-section {
        min-height: 60vh;
    }

    .aptly-osb-section .aptly-hero-heading {
        font-size: 28px;
    }

    .aptly-osb-section .aptly-hero-description {
        font-size: 16px;
    }
}
