/* ════════════════════════════════════════════════
   about-banner.css — About Us section 1 (CR 11-10-2026, F3)
   Used by the Dubai Way About page (Pages/Shared/_AboutUsBanner), whose Elevating Standards section is
   not itself a banner. Tour Guide, Safari Driver and Nanny instead feed the banner into their hero.
   The admin's uploaded image is set inline; otherwise each portal falls back to its Home hero's
   default image. A dark wash keeps the white text readable on either.
   ════════════════════════════════════════════════ */

/* Height in line with the other portals' About heroes (Tour Guide 690px, Safari Driver 785px, Nanny 820px);
   steps down for tablets and phones below. Content is vertically centred, as in those heroes. */
.about-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 690px;
    padding: 180px 56px 64px;
    color: #fff;
    background-color: #0a3d62;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
}

.about-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.25) 100%);
}

[dir="rtl"] .about-banner::before {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.about-banner__inner {
    position: relative;
    max-width: 760px;
    text-align: start;
}

.about-banner__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: inherit;
    margin: 0 0 16px;
    overflow-wrap: anywhere;
}

.about-banner__sub {
    font-size: 1.125rem;
    line-height: 1.8rem;
    color: inherit;
    opacity: 0.92;
    margin: 0;
    overflow-wrap: anywhere;
}

/* ── Per portal: default image (the Home hero's) and room for the header ── */

.about-banner--dubaiway {
    background-image: url('/images/dubaiway/top-section.svg');
}

/* ── The Elevating Standards hero below the banner no longer sits under the header ── */

.ab-hero.about-after-banner {
    padding-top: 72px;
}

@media (max-width: 1024px) {
    .about-banner {
        min-height: 560px;
    }
}

@media (max-width: 768px) {
    .about-banner {
        min-height: 360px;
        padding: 140px 20px 40px;
    }

    .about-banner__title {
        font-size: 2.25rem;
    }

    .ab-hero.about-after-banner {
        padding-top: 40px;
    }
}
