.elementor-3660 .elementor-element.elementor-element-226b085{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:768px){.elementor-3660 .elementor-element.elementor-element-226b085{--content-width:1563px;}}/* Start custom CSS for html, class: .elementor-element-5d1b5ae *//* ==========================================================
   #8MVOICES4PHC | AMREF KENYA
========================================================== */

:root {
    --amref-red: #D21034;
    --amref-red-dark: #A90D29;
    --amref-black: #000000;
    --amref-grey: #666666;
    --amref-light: #F5F5F5;
    --amref-white: #FFFFFF;
}


/* ==========================================================
   GLOBAL
========================================================== */

.eightm-hero,
.eightm-intro,
.eightm-voices,
.eightm-cta {
    width: 100%;
    box-sizing: border-box;
}

.eightm-hero *,
.eightm-intro *,
.eightm-voices *,
.eightm-cta * {
    box-sizing: border-box;
}

.eightm-hero a,
.eightm-intro a,
.eightm-voices a,
.eightm-cta a {
    text-decoration: none;
}


/* ==========================================================
   HERO
========================================================== */

.eightm-hero {
    position: relative;

    width: 100%;
    min-height: 650px;
    height: 76vh;
    max-height: 800px;

    overflow: hidden;

    display: flex;
    align-items: center;

    background: #111111;

    color: #FFFFFF;
}


/* ==========================================================
   HERO SLIDES
========================================================== */

.eightm-hero-slides {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


.eightm-hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-repeat: no-repeat;

    opacity: 0;

    animation: eightmHeroFade 24s infinite;

    transform: scale(1.02);
}


/* ==========================================================
   HERO IMAGE SETTINGS
========================================================== */

/*
   IMAGE 1
   This is a portrait photograph, so DO NOT use cover.

   We fit the entire photograph vertically.
   The surrounding area uses the dark hero background.
*/

.eightm-slide-1 {
    animation-delay: 0s;

    background-size: auto 100%;
    background-position: center center;

    background-repeat: no-repeat;

    background-color: #171717;
}


/*
   IMAGE 2
   Landscape image
*/

.eightm-slide-2 {
    animation-delay: 6s;

    background-size: cover;
    background-position: center 38%;
}


/*
   IMAGE 3
*/

.eightm-slide-3 {
    animation-delay: 12s;

    background-size: cover;
    background-position: center 45%;
}


/*
   IMAGE 4
*/

.eightm-slide-4 {
    animation-delay: 18s;

    background-size: cover;
    background-position: center 40%;
}


/* ==========================================================
   HERO ANIMATION
========================================================== */

@keyframes eightmHeroFade {

    0% {
        opacity: 0;
        transform: scale(1.02);
    }

    4% {
        opacity: 1;
    }

    23% {
        opacity: 1;
        transform: scale(1.045);
    }

    28% {
        opacity: 0;
        transform: scale(1.045);
    }

    100% {
        opacity: 0;
    }
}


/* ==========================================================
   HERO OVERLAY
========================================================== */

.eightm-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.78) 0%,
            rgba(0,0,0,0.62) 32%,
            rgba(0,0,0,0.34) 63%,
            rgba(0,0,0,0.14) 100%
        );
}


/* Amref red bottom line */

.eightm-hero::after {
    content: "";

    position: absolute;

    z-index: 5;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 6px;

    background: var(--amref-red);
}


/* ==========================================================
   HERO CONTENT
========================================================== */

.eightm-hero-content {
    position: relative;
    z-index: 4;

    width: min(1180px, 88%);

    margin: 0 auto;

    padding: 70px 0;
}


.eightm-hero-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 24px;

    padding: 10px 16px;

    background: var(--amref-red);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1.7px;
    text-transform: uppercase;

    color: #FFFFFF;
}


.eightm-hero h1 {
    max-width: 820px;

    margin: 0 0 26px;

    font-family:
        "Gill Sans",
        "Gill Sans MT",
        Arial,
        sans-serif;

    font-size: clamp(50px, 5.6vw, 82px);

    line-height: 0.98;

    font-weight: 600;

    letter-spacing: -1.8px;

    color: #FFFFFF;
}


.eightm-hero p {
    max-width: 650px;

    margin: 0 0 36px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 18px;

    line-height: 1.65;

    color: #FFFFFF;
}


/* ==========================================================
   HERO BUTTON
========================================================== */

.eightm-hero-button {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 15px 24px;

    background: var(--amref-red);

    border: 2px solid var(--amref-red);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.3px;

    color: #FFFFFF;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.eightm-hero-button:hover {
    background: var(--amref-red-dark);

    border-color: var(--amref-red-dark);

    color: #FFFFFF;

    transform: translateY(-2px);
}


/* ==========================================================
   SCROLL
========================================================== */

.eightm-scroll-indicator {
    position: absolute;

    z-index: 5;

    right: 5%;
    bottom: 27px;

    display: flex;

    align-items: center;

    gap: 12px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.8px;

    color: #FFFFFF;
}


.eightm-scroll-indicator span {
    display: block;

    width: 35px;
    height: 2px;

    background: var(--amref-red);
}


/* ==========================================================
   INTRO
========================================================== */

.eightm-intro {
    padding: 105px 0;

    background: var(--amref-light);
}


.eightm-intro-inner {
    width: min(1180px, 88%);

    margin: 0 auto;
}


.eightm-intro-label,
.eightm-section-label {
    margin-bottom: 17px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.2px;

    text-transform: uppercase;

    color: var(--amref-red);
}


.eightm-intro h2 {
    max-width: 100%;

    margin: 0 0 65px;

    font-family:
        "Gill Sans",
        "Gill Sans MT",
        Arial,
        sans-serif;

    font-size: clamp(39px, 4.8vw, 62px);

    line-height: 1.06;

    font-weight: 500;

    color: #000000;
}


/* ==========================================================
   INTRO GRID
========================================================== */

.eightm-intro-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: center;
}


.eightm-intro-statement {
    display: flex;

    flex-direction: column;

    padding-left: 30px;

    border-left: 6px solid var(--amref-red);
}


.eightm-big-number {
    font-family:
        "Gill Sans",
        "Gill Sans MT",
        Arial,
        sans-serif;

    font-size: clamp(90px, 11vw, 155px);

    line-height: 0.82;

    font-weight: 600;

    letter-spacing: -5px;

    color: var(--amref-red);
}


.eightm-number-label {
    margin-top: 22px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 4px;

    color: #000000;
}


.eightm-intro-text {
    max-width: 650px;
}


/* ALL NORMAL PARAGRAPHS BLACK */

.eightm-intro-text p {
    margin: 0 0 24px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 18px;

    line-height: 1.75;

    color: #000000;
}


/* ==========================================================
   VOICES
========================================================== */

.eightm-voices {
    padding: 110px 0;

    background: #FFFFFF;
}


/*
   THIS IS THE IMPORTANT FIX.

   Previously this was:

   grid-template-columns: 1.15fr 0.85fr;

   That forced the heading into roughly half the page.

   Now the heading spans the full content width.
*/

.eightm-voices-header {
    width: min(1320px, 92%);

    margin: 0 auto 60px;

    display: block;
}


/* FULL-WIDTH HEADING */

.eightm-voices-header h2 {
    display: block;

    width: 100%;

    max-width: 100%;

    margin: 0 0 35px;

    font-family:
        "Gill Sans",
        "Gill Sans MT",
        Arial,
        sans-serif;

    font-size: clamp(46px, 6vw, 82px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -1.5px;

    color: #000000;
}


/* Supporting paragraph */

.eightm-voices-header &gt; p {
    width: min(700px, 100%);

    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 17px;

    line-height: 1.7;

    color: #000000;
}


/* ==========================================================
   QUOTE GRID
========================================================== */

.eightm-quote-grid {
    width: min(1320px, 92%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;

    align-items: start;
}


/* ==========================================================
   QUOTE CARDS
========================================================== */

.eightm-quote-card,
.eightm-card-large,
.eightm-card-wide {
    position: relative;

    width: 100%;

    height: auto;

    min-height: 0;

    overflow: hidden;

    grid-column: span 1;

    grid-row: span 1;

    background: #FFFFFF;

    border: 1px solid #E7E7E7;

    border-radius: 2px;

    box-shadow:
        0 5px 20px rgba(0,0,0,0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* FULL QUOTE GRAPHIC */

.eightm-quote-card img {
    position: relative;

    display: block;

    width: 100%;

    height: auto;

    max-width: 100%;

    object-fit: contain;

    object-position: center;

    background: #FFFFFF;

    transition: transform 0.4s ease;
}


/* Remove artificial overlay */

.eightm-quote-card .eightm-card-overlay {
    display: none;
}


/* Remove artificial text */

.eightm-quote-card .eightm-card-content {
    display: none;
}


/* Hover */

.eightm-quote-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 32px rgba(0,0,0,0.11);
}


.eightm-quote-card:hover img {
    transform: scale(1.012);
}


/* ==========================================================
   CTA
========================================================== */

.eightm-cta {
    position: relative;

    padding: 110px 0;

    overflow: hidden;

    background: var(--amref-red);

    text-align: center;

    color: #FFFFFF;
}


.eightm-cta::before {
    content: "8M";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-family:
        "Gill Sans",
        "Gill Sans MT",
        Arial,
        sans-serif;

    font-size: min(40vw, 500px);

    line-height: 1;

    font-weight: 700;

    color: rgba(255,255,255,0.05);

    pointer-events: none;
}


.eightm-cta-inner {
    position: relative;

    z-index: 2;

    width: min(900px, 88%);

    margin: 0 auto;
}


.eightm-cta .eightm-section-label {
    color: #FFFFFF;
}


.eightm-cta h2 {
    margin: 0 auto 24px;

    font-family:
        "Gill Sans",
        "Gill Sans MT",
        Arial,
        sans-serif;

    font-size: clamp(44px, 5.5vw, 72px);

    line-height: 1;

    font-weight: 500;

    color: #FFFFFF;
}


/* CTA paragraph stays WHITE */

.eightm-cta p {
    margin: 0 0 36px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 19px;

    color: #FFFFFF;
}


.eightm-cta-button {
    display: inline-block;

    padding: 16px 27px;

    background: #FFFFFF;

    border: 2px solid #FFFFFF;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.4px;

    color: var(--amref-red);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.eightm-cta-button:hover {
    background: transparent;

    color: #FFFFFF;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1024px) {

    .eightm-hero {
        min-height: 600px;

        height: 70vh;
    }


    /*
       On tablet, let the portrait image occupy the full
       height without aggressive cropping.
    */

    .eightm-slide-1 {
        background-size: auto 100%;
        background-position: center center;
    }


    .eightm-slide-2,
    .eightm-slide-3,
    .eightm-slide-4 {
        background-size: cover;
        background-position: center center;
    }


    .eightm-intro-grid {
        gap: 50px;
    }


    .eightm-quote-grid {
        width: 90%;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 22px;
    }


    .eightm-voices-header h2 {
        font-size: clamp(44px, 6vw, 68px);
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    /* HERO */

    .eightm-hero {
        min-height: 650px;

        height: 82vh;

        max-height: 760px;

        align-items: flex-end;
    }


    /*
       On mobile, portrait image can fit much better.
    */

    .eightm-slide-1 {
        background-size: auto 100%;
        background-position: center center;
    }


    .eightm-slide-2 {
        background-size: cover;
        background-position: center center;
    }


    .eightm-slide-3 {
        background-size: cover;
        background-position: center center;
    }


    .eightm-slide-4 {
        background-size: cover;
        background-position: center center;
    }


    .eightm-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,0.10) 0%,
                rgba(0,0,0,0.25) 32%,
                rgba(0,0,0,0.76) 70%,
                rgba(0,0,0,0.94) 100%
            );
    }


    .eightm-hero-content {
        width: 88%;

        padding: 60px 0 62px;
    }


    .eightm-hero h1 {
        font-size: clamp(42px, 11.5vw, 56px);

        letter-spacing: -1px;
    }


    .eightm-hero p {
        font-size: 15.5px;

        line-height: 1.55;

        color: #FFFFFF;
    }


    .eightm-scroll-indicator {
        display: none;
    }


    /* INTRO */

    .eightm-intro {
        padding: 70px 0;
    }


    .eightm-intro-inner {
        width: 88%;
    }


    .eightm-intro h2 {
        font-size: 39px;

        max-width: 100%;
    }


    .eightm-intro-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .eightm-intro-text p {
        font-size: 16px;

        color: #000000;
    }


    /* VOICES */

    .eightm-voices {
        padding: 75px 0;
    }


    .eightm-voices-header {
        width: 92%;

        display: block;

        margin-bottom: 40px;
    }


    /*
       Full-width heading on mobile too.
    */

    .eightm-voices-header h2 {
        width: 100%;

        max-width: 100%;

        font-size: 42px;

        line-height: 1;

        margin-bottom: 28px;
    }


    .eightm-voices-header &gt; p {
        width: 100%;

        font-size: 16px;

        color: #000000;
    }


    /* QUOTE CARDS */

    .eightm-quote-grid {
        width: 92%;

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .eightm-quote-card,
    .eightm-card-large,
    .eightm-card-wide {
        width: 100%;

        height: auto;

        min-height: 0;

        grid-column: span 1;

        grid-row: span 1;
    }


    .eightm-quote-card img {
        width: 100%;

        height: auto;

        object-fit: contain;
    }


    /* CTA */

    .eightm-cta {
        padding: 80px 0;
    }


    .eightm-cta h2 {
        font-size: 42px;
    }


    .eightm-cta p {
        font-size: 17px;

        color: #FFFFFF;
    }
}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 480px) {

    .eightm-hero {
        min-height: 620px;
    }


    .eightm-hero h1 {
        font-size: 41px;
    }


    .eightm-hero p {
        font-size: 15px;
    }


    .eightm-quote-grid {
        width: 94%;

        gap: 18px;
    }
}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .eightm-hero-slide {
        animation: none;

        transform: none;
    }


    .eightm-hero-slide:first-child {
        opacity: 1;
    }


    .eightm-quote-card,
    .eightm-quote-card img,
    .eightm-hero-button,
    .eightm-cta-button {
        transition: none;
    }
}/* End custom CSS */