@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&display=swap');

/* ─── Banner hero ────────────────────────────────────────────────────────── */

.banner {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-color: #3B0764;
    background-image: url('https://abouttrials.com/wp-content/uploads/2026/02/AboutTrials_landing-page_final-1-1-scaled-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59,7,100,0.9) 0%, rgba(107,33,168,0.55) 50%, rgba(107,33,168,0.45) 100%);
    z-index: 0;
}

.banner * {
    z-index: 1;
}

/* ─── Logo image ─────────────────────────────────────────────────────────── */

.banner .elementor-widget-image img,
.banner img {
    display: block;
    max-width: 260px;
    height: auto;
    margin: 0 0 18px 0;
}

/* ─── Pill badge  "C.Diff Vaccine Study for Adults 65+"
       font-weight intentionally 700 (compact badge label)             ──── */

.banner h3.elementor-heading-title {
    display: inline-block;
    background-color: #7C3AED;
    padding: 5px 14px;
    border-radius: 4px;
    font-family: 'Archivo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff !important;
    line-height: 1.5;
    margin: 0 0 14px 0;
    text-shadow: none;
}

/* ─── Hero heading  "A clinical study is evaluating…"
       font-weight 800 across ALL breakpoints — only font-size changes  ── */

.banner h1.elementor-heading-title,
.banner h1 {
    font-family: 'Archivo', sans-serif;
    font-size: 28px;          /* mobile */
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.08;
    margin: 6px 0 0 0;
}

/* ─── Paragraph text ─────────────────────────────────────────────────────── */

.banner p,
.banner .elementor-widget-text-editor p {
    font-family: 'Archivo', sans-serif;
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    font-weight: 400;
    max-width: 700px;
    margin: 10px 0 16px 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
}

/* ─── CTA button ─────────────────────────────────────────────────────────── */

.banner .elementor-button,
.banner .elementor-button.elementor-size-sm,
.banner .elementor-button-link {
    display: inline-block;
    background: rgba(59,7,100,0.55);
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.12);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all .18s ease;
    font-weight: 600;
    box-shadow: none;
}

.banner .elementor-button:hover,
.banner .elementor-button-link:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.26);
}

/* ─── Layout helpers ─────────────────────────────────────────────────────── */

.banner .elementor-element,
.banner .elementor-widget {
    width: 100%;
}

/* ─── Tablet  ≥ 600px ────────────────────────────────────────────────────── */

@media (min-width: 600px) {
    .banner {
        min-height: 380px;
        padding: 50px 28px;
    }

    .banner h3.elementor-heading-title {
        font-size: 13px;
    }

    .banner h1.elementor-heading-title,
    .banner h1 {
        font-size: 42px;
        /* font-weight stays 800 — not overridden */
    }

    .banner p,
    .banner .elementor-widget-text-editor p {
        font-size: 15px;
    }

    .banner img {
        max-width: 300px;
    }
}

/* ─── Desktop  ≥ 992px ───────────────────────────────────────────────────── */

@media (min-width: 992px) {
    .banner {
        min-height: 500px;
        padding: 60px 80px;
        align-items: center;
        justify-content: flex-start;
    }

    .banner .elementor-element-bd4e93c,
    .banner .elementor-element-2ba2aed,
    .banner .elementor-element-51d625e {
        max-width: 1000px;
    }

    .banner h3.elementor-heading-title {
        font-size: 13px;
    }

    .banner h1.elementor-heading-title,
    .banner h1 {
        font-size: 60px;
        /* font-weight stays 800 — not overridden */
    }

    .banner p,
    .banner .elementor-widget-text-editor p {
        font-size: 18px;
        line-height: 28px;
    }

    .banner img {
        position: absolute;
        right: 80px;
        top: 40.65px;
        max-width: 280px;
    }

    .banner .elementor-button {
        padding: 12px 28px;
    }
}
