/* ═══════════════════════════════════════════════════════════ */
/* ABOUT HEADER */
/* ═══════════════════════════════════════════════════════════ */
.about-banner {
    position: relative;
    background-image: url('../../images/content/bristol-pilot-banner.webp');
    /* background-image: url('../../images/content/about_banner.webp'); */
    background-size: cover;
    background-position: 30% center;
    /* height: 400px; */
    height: clamp(400px, 45vw, 600px);
    width: 100%;
}

.about-heading-box {
    position: absolute;
    top: 30px;
    left: 0;
    background: linear-gradient(to bottom, rgba(236, 237, 232, 0.9), rgba(218, 226, 234, 0.9));
    padding: var(--spacing-md);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.about-heading-box h1 {
    font-size: var(--font-size-hero);
    color: var(--brand-primary-500);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 1 - What is the Bristol Pilot */
/* ═══════════════════════════════════════════════════════════ */

.what-is-the-bristol-pilot-about h2,
.how-it-works h2,
.who-is-behind-it h2,
.used-for-box h2,
.research-study h2,
.download-app h2 {
    font-size: clamp(1.6rem, calc(1.6rem + 0.5vw), 2rem);
    padding-left: 0;
    padding-right: 0;
}

.what-is-the-bristol-pilot-about {
    background-color: color-mix(in srgb, var(--accent-gold-tint-100) 40%, white);
    padding-bottom: 40px;
}

.pilot-content {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.what-is-the-bristol-pilot-box {
    padding-top: var(--spacing-2xl);
    padding-bottom: 20px;
}

.pilot-dates {
    display: inline-block;
    background-color: var(--accent-gold-tint-100);
    color: var(--brand-primary-500);
    border: 1px solid var(--accent-gold-500);
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

img.street-img {
    width: auto;
    max-width: 100%;
    max-height: 500px;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-blue);
}

img.research-img {
    width: auto;
    max-width: 100%;
    max-height: 350px;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-blue);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION: HOW IT WORKS */
/* ═══════════════════════════════════════════════════════════ */

.how-it-works {
    padding: var(--spacing-3xl) 0;
    padding-bottom: 90px;
    background-color: color-mix(in srgb, var(--brand-primary-tint-100) 35%, white);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 30px;
}

.steps-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-gold-600);
    margin-bottom: var(--spacing-md);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--brand-primary-500);
}

.step p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .steps-row {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--spacing-xl);
    }

    .step {
        flex: 1;
    }
}

/* Background Container for sections 2-3 */
.bg-container {
    padding: var(--spacing-xl) var(--spacing-md);
    padding-top: 0;
    background: radial-gradient(ellipse 150% 50% at 50% 50%, var(--brand-primary-tint-100) 0%, white 100%);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 2 - Who is behind the Bristol Pilot */
/* ═══════════════════════════════════════════════════════════ */

.who-is-behind-it {
    padding: var(--spacing-2xl) var(--spacing-md);
    padding-top: 50px;
    padding-bottom: 50px;
}

.who-is-behind-it-box {
    text-align: start;
}

/* Logo styles/ layout */
.org-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    align-items: center;
    width: 100%;
    max-width: 700px;
    padding-top: 25px

}

.org-logo {
    flex: 0 1 auto;
    width: auto;
    object-fit: contain;
}

.ate-logo {
    height: clamp(60px, 23vw, 120px);
}

.uwe-logo {
    height: clamp(40px, 11vw, 70px);
}

.wwct-logo {
    height: clamp(28px, 6.5vw, 45px);
    padding-left: 0;
}

.bristol-pilot-row {
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-xl);
}

/* ═══════════════════════════════════════════════════════════ */
/* SECTION 3 - Download the App */
/* ═══════════════════════════════════════════════════════════ */

#used-for-box {
    position: relative;
}

#used-for-box::before {
    content: '';
    position: absolute;
    inset: 0;
    left: calc(-1 * var(--spacing-md));
    right: calc(-1 * var(--spacing-md));
    background-color: color-mix(in srgb, var(--brand-primary-tint-100) 35%, white);
}

#used-for-box > * {
    position: relative;
    padding-bottom: 50px;
}

.used-for-box {
    text-align: start;
    
}

.used-for-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.used-for-cards .card {
    border: none;
    border-left: 3px solid var(--brand-primary-tint-200);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background-color: var(--surface-background);
}

.research-study {
    background-color: var(--surface-background);
    margin-left: calc(-1 * var(--spacing-md));
    margin-right: calc(-1 * var(--spacing-md));
    padding: var(--spacing-2xl) var(--spacing-md);
    padding-bottom: 0;
}

.download-container {
    margin: auto;
    max-width: 700px;
}

.download-app {
    padding: var(--spacing-xl) 0;
}

/* ═══════════════════════════════════════════════════════════ */
/* MEDIA QUERIES */
/* ═══════════════════════════════════════════════════════════ */

/* SCREEN SIZE - X-SMALL to SMALL */
@media screen and (max-width: 575px) {
    /* Stack logos vertically one per line, larger sizes */
    .org-logos {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 50px;
        padding-bottom: 0;
    }

    .org-logo {
        flex: 0 0 auto;
        width: 100%;
        max-width: 200px;
        padding: 0;
    }

    .org-logos a {
        display: flex;
        justify-content: center;
    }

    .ate-logo {
        height: clamp(130px, 30vw, 160px);
    }

    .uwe-logo {
        height: clamp(80px, 15vw, 100px);
    }

    .wwct-logo {
        height: clamp(50px, 9vw, 65px);
        margin-top: 20px;
    }

    .used-for-cards {
        padding-left: 0;
        padding-right: 0;
    }
}

/* SCREEN SIZE - SMALL */
@media screen and (min-width: 576px) {
    .org-logos {
        justify-content: center !important;
        gap: var(--spacing-3xl);
    }
}

/* SCREEN SIZE - MEDIUM */
@media screen and (min-width: 768px) {
    .pilot-content {
        padding-left: 0;
        padding-right: 0;
    }

    img.research-img {
        max-height: 300px;
    }
}

/* SCREEN SIZE - LARGE */
@media screen and (min-width: 1024px) {
    /* .org-logos {
        gap: var(--spacing-xl);
    } */
}