/* IMPORTS */
@font-face {
    font-family: 'Wheaton';
    src: url('../../fonts/wheaton-capitals.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.impact-theme {
    padding-top: 64px;
    position: relative;
    min-height: 100vh;
    background-image: url('../images/impact-hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.impact-theme:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 60%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(180deg, #29509F 10.6%, rgba(15, 29, 57, 0.00) 50%);
}

.impact-theme-carousel-wrap {
    position: relative;
    z-index: 2;
    padding: 0 0 0 0 !important;
}

.impact-theme-title,
.impact-theme-people {
    position: relative;
    z-index: 1;
    padding: 0 80px !important;
}

.impact-theme-people{
    margin-top: -20px !important;
}

.impact-theme-hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0;
}

.impact-people {
    width: 1080px;
    height: 300px;
    display: flex;
    justify-self: center;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
}

@media (max-width: 856px) and (min-width: 800px) {
    .impact-theme {
        /*height: 106vh;*/
    }
}

@media (max-width: 799px) and (min-width: 0) {
    .impact-theme {
        /*height: 108vh;*/
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

/* Media query updates to maintain consistency */
@media (max-width: 1080px) and (min-width: 0) {
    .impact-theme-title{
        padding: 0 24px !important;
    }
}

@media (max-width: 445px) and (min-width: 0) {
    .impact-theme-carousel-wrap {
        padding-left: 24px !important;
    }
}


.impact-theme-hero-content > h1{
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

.hero-title-small,
.hero-title-big
{
    font-family: good-times, sans-serif;
    color: #F9CC34;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
}

.hero-title-small{
    font-size: 30px;
}
.hero-title-big{
    font-size: 50px;
}

.hero-description{
    max-width: 1000px;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    align-self: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.hero-description p {
    color:white;
}

.impact-theme-carousel{
    display: flex;
    gap: 32px;
    margin: auto;
    justify-content: center;
    overflow-x: visible;
    scroll-behavior: smooth;
    padding-top: 8px;
}

.impact-theme-carousel::-webkit-scrollbar {
    display: none;
}

.impact-theme-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.svg-margin-left{
    margin-left: 8px;
}

.svg-margin-right{
    margin-left: 8px;
}

.impact-theme-carousel-card {
    max-width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%), rgba(0, 0, 0, 0.35);
    padding: 24px;
    scroll-snap-align: start;
    transition: transform 300ms ease-in, background 300ms ease-in;
}

.impact-theme-carousel-card:hover {
    cursor: pointer;
    transform: translateY(-8px);
    border-radius: 14px;
    border: 1px solid #FFF;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%), rgba(0, 0, 0, 0.55);
}

.impact-theme-carousel-card:hover .impact-theme-card-button {
    opacity: 1;
    cursor: pointer;
}

.impact-theme-card-stat{
    font-family: "Inter Tight", sans-serif;
    font-size: 80px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
    color: #6EBCE2;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.impact-theme-card-stat.stat-color-1 {
    color: #6EBCE2;
}

.impact-theme-card-stat.stat-color-2 {
    color: #79B134;
}

.impact-theme-card-stat.stat-color-3 {
    color: #C177C2;
}

.popup-name-cont-mobile{
    display: none;
}
.impact-theme-card-description {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    min-height: 135px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    display: unset;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 0 !important;
}


.impact-theme-card-button{
    overflow: hidden;
    color: #FFF;
    text-overflow: ellipsis;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    background-color: transparent;
    border: none;
    max-width: 50px;
    padding: 0;
    opacity: 0.5;
    text-align: start;
    margin: 0 !important;
}

/*.impact-people{*/
/*    width: 1080px;*/
/*    height: 300px;*/
/*    margin-bottom: 160px;*/
/*    display: flex;*/
/*    justify-self: center;*/
/*    justify-content: space-between;*/
/*    margin-top: 8px;*/
/*}*/

.people-one,
.people-two,
.people-three,
.people-four,
.people-five,
.people-six,
.people-seven {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
}

.impact-people > div {
    position: relative;
}

.people-one,
.people-three,
.people-five,
.people-seven {
    z-index: 2;
}

.people-two,
.people-four,
.people-six {
    z-index: 1;
}

.people-one{
    background-image: url('../images/impact-people-one.svg');
    height: 271px;
    width: 149px;
}
.people-two{
    background-image: url('../images/impact-people-two.svg');
    width: 88px;
    height: 119px;
}
.people-three{
    background-image: url('../images/impact-people-three.svg');
    height: 184px;
    width: 149px;
}
.people-four{
    background-image: url('../images/impact-people-four.svg');
    height: 101px;
    width: 30px;
}
.people-five{
    background-image: url('../images/impact-people-five.svg');
    height: 300px;
    width: 175px;
}
.people-six{
    background-image: url('../images/impact-people-six.svg');
    height: 131px;
    width: 84px;
}
.people-seven{
    background-image: url('../images/impact-people-seven.svg');
    height: 172px;
    width: 51px;
}

.impact-popup-content{
    max-width: 1080px;
    padding: 24px;
    border-radius: 14px;
    border: 1px solid #FFF;
    background: radial-gradient(50% 50% at 50% 50%, #FFF 0%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(90deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.80) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.50) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.50) 0%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.20) 100%), rgba(0, 0, 0, 0.25);
    box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(25px);
    transform: translateY(100vh);
    transition: transform 0.5s ease-in-out;
}

.impact-popup-content.open {
    transform: translateY(0);
}

.impact-popup-content-inner{
    display: flex;
    gap: 32px;
}

.impact-popup-lhs{
    display: flex;
    flex-direction: column;
}

.impact-popup-title {
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 32px;
    text-transform: initial !important;
}

.popup-chart-placeholder{
    background-color: #D9D9D9;
    width: 100%;
    min-height: 298px;
    padding: 16px;
    box-sizing: border-box;
    color: #666;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    align-items: center;
    display: flex;
    justify-content: center;
}
.impact-popup-close{
    margin-bottom: 32px;
    justify-content: end;
    display: flex;
}

.popup-close,
.popup-prev,
.popup-next{
    color: #000;
    text-align: center;
    font-family: 'Wheaton', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    text-transform: uppercase;
    align-items: center;
    display: flex;
    cursor: pointer;
    width: 100%;
    padding: 8px;
    transition: 300ms ease-in;
    max-width: fit-content;
}

.popup-close:hover,
.popup-prev:hover,
.popup-next:hover{
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
    transition: 300ms ease-in;
}

.popup-next{
    justify-content: end;
}

.impact-popup-next-prev{
    display: flex;
    justify-content: space-between;
}


.impact-popup-rhs{
    position: relative;
    padding: 40px;
    max-width: 420px;
}

.popup-quotes{
    background-image: url('../images/impact-quote-icon.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 42px;
    height: 35px;
    top: 42px;
    left: 65px;
}

.portrait-cont{
    display: flex;
    justify-content: center;
    position: relative;
    min-height: 234px;
    align-items: end;
}

.popup-portrait{
    position: absolute;
    width: 259px;
    height: 100%;
    margin: auto;
}

.popup-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.portrait-content{
    background: #2166A1;
    padding: 25px 27px;
}

.portrait-text{
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
}

.portrait-background{
    background: linear-gradient(180deg, #F9CC34 50%, #FFBA38 100%);
    width: 300px;
    height: 187px;
}

.popup-name,
.popup-position,
.popup-name-mobile,
.popup-position-mobile{
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 16px !important;
    font-style: normal;
    line-height: 22px !important;
}

.popup-name,
.popup-position{
    padding-bottom: 0 !important;
    padding-top: 12px;
}

.popup-name,
.popup-name-mobile{
    font-weight: 700 !important;
}

.popup-position,
.popup-position-mobile{
    font-weight: 400 !important;
}

.popup-name-cont {
    display: flex;
    margin-top:10px;
}

/* IMPACT BODY SECTION */
.impact-article-container {
    max-width: 1360px;
    width: 100%;
    margin: 80px auto;
    justify-self: center;
    padding: 0 24px;
}

.impact-article-header-container{
    padding: 40px 80px;
}

.impact-article-header{
    color: #2166A1;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-transform: none !important;
}

@media (max-width: 800px) and (min-width: 0) {
    .impact-article-header {
        font-size: 28px;
    }

    .impact-theme-carousel-card {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%), rgba(0, 0, 0, 0.65);
    }
}

.impact-article-content-container {
    display: flex;
    width: 100%;
    min-height: 300px;
}

.impact-article-content-container > div {
    flex: 1;
}

.impact-article-content-lhs{
    position: relative;
    padding: 70px 40px 70px 40px;
}

.impact-article-color-background{
    position: absolute;
    min-width: 25%;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    background: #F9CC34;
}

.impact-article-image{
    height: 100%;
    width: 475px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    margin-left: 50px;
}

.impact-article-image-mobile{
    display: none;
}

.impact-article-content-rhs{
    padding: 70px 40px 70px 0;
    gap: 48px;
    display: flex;
    flex-direction: column;
}

.impact-article-card{
    position: relative;
}

.impact-article-title{
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    text-transform: none !important;
}

.impact-article-excerpt{
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 140% !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

ul.slick-dots{
    bottom: -48px;
}

ul.slick-dots li{
    line-height: 18px;
    margin: 0 6px;
}

ul.slick-dots li:before{
    display: none;
}

ul.slick-dots li button{
    padding: 0;
    margin: 0;
    width: 18px;
    height: 18px;
    display: block;
}
ul.slick-dots li button .slick-dot-icon:before{
    font-size: 18px;
}
ul.slick-dots li.slick-active button .slick-dot-icon:before{
    margin: 0;
}

.article-line{
    position: absolute;
    top: 0;
    width: 5px;
    height: 100%;
    left: -32px;
    background: #2167A0;
}

/* New article line color overrides */
.article-line.article-line-color-1 {
    background: #2167A0;
}

.article-line.article-line-color-2 {
    background: #79B134;
}

.article-line.article-line-color-3 {
    background: #872B80;
}

.article-line.article-line-color-4 {
    background: #39A6DB;
}

.impact-socials-container{
    position: relative;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.social-link svg {
    width: 60px;
    height: 61px;
    transition: fill 0.3s ease-in;
}

.social-link:hover svg path {
    fill: #39a7dc;
    transition: fill 0.3s ease-in;
}



.impact-socials-container-background{
    position: absolute;
    background-image: url('../images/impact-footer-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
}

.impact-socials-heading{
    color: #FFF;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.8px;
    margin-bottom: 40px;
}

.impact-icon-container{
    display: flex;
    justify-content: space-between;
    width: 420px;
    justify-self: center;
    margin-bottom: 40px;
    align-items: center;
}

.impact-carousel-buttons{
    display: flex;
    gap: 16px;
    justify-self: end;
    margin-right: 40px;
    margin-top: 8px;
    justify-content: flex-end;
    position: relative;
    z-index: 10;
}

.impact-carousel-left-button,
.impact-carousel-right-button{
    display: flex;
    width: 40px;
    height: 40px;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 10px;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.79);
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.20) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%), rgba(0, 0, 0, 0.25);
    transition: 300ms ease-in;
}

.impact-carousel-left-arrow{
    background-image: url('../images/impact-carousel-left-arrow.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    width: 25px;
    height:19px;
    transition: 300ms ease-in;
}

.impact-carousel-right-arrow{
    background-image: url('../images/impact-carousel-right-arrow.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 25px;
    height:19px;
    transition: 300ms ease-in;
}

.impact-article-card{
    text-decoration: none;
}

.impact-carousel-left-button:hover,
.impact-carousel-right-button:hover{
    display: flex;
    width: 40px;
    height: 40px;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid #FFF;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.20) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 100%), rgba(0, 0, 0, 0.25);
    transition: 300ms ease-in;
    cursor: pointer;
}

.impact-carousel-left-button:hover .impact-carousel-left-arrow ,
.impact-carousel-right-button:hover .impact-carousel-right-arrow{
    transition: 300ms ease-in;
    opacity: 1;
}

/*@media (max-width: 1200px) and (min-width: 0) {*/
/*    .impact-people{*/
/*        width: 95%;*/
/*    }*/
/*}*/

@media (max-width: 1200px) and (min-width: 0) {
    .impact-people{
        width: 95%;
    }
}

@media (max-width: 800px) and (min-width: 565px) {
    .impact-theme-people{
        padding: 0 !important;
    }
    .impact-people {
        background-image: url('../images/people-tablet.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100% !important;
        height: 291px !important;
        /*max-width: 95%;*/
        margin-top: -40px;
        padding: 0 !important;
    }
    .impact-people > div {
        display: none;
    }
}

@media (max-width: 800px) and (min-width: 0) {
    .impact-theme-people{
        padding: 0 !important;
    }
}

@media (max-width: 564px) and (min-width: 401px) {


    .impact-people {
        background-image: url('../images/people-tablet.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 210px;
    }
    .impact-people > div {
        display: none;
    }
}


@media (max-width: 1080px) and (min-width: 0) {

    .impact-article-image{
        margin-left: 0;
        height: 80%;
    }

    .impact-article-content-lhs {
        padding: 70px 90px 70px 40px;
    }

    .impact-theme-title{
        padding: 24px 24px 24px 24px !important;
    }

    .impact-theme-hero-content{
        margin-top: 0;
        margin-bottom: 0;
        margin-top:40px;
    }


}

@media (max-width: 950px) and (min-width: 0) {
    .impact-article-image {
        width: 350px;
    }

    .impact-article-content-container{
        flex-direction: column;
    }

    .impact-article-image-mobile{
        display: flex;
        height: 100%;
        width: 100%;
        min-height: 387px;
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        position: relative;
    }

    .impact-article-content-lhs{
        display: flex;
        justify-content: center;
        padding: 26px 46px;
    }

    .impact-article-content-rhs{
        padding: 40px 64px 0 64px;
        max-width: 700px;
        align-self: center;
    }

    .impact-article-image{
        display: none;
    }

    .impact-article-color-background{
        min-width: 35%;
        left: -81px
    }

    .impact-article-card{
        max-width: 800px;
    }
}

@media (max-width: 950px) and (min-width: 801px) {
    .impact-popup-rhs{
        max-width: 320px;
        padding: 30px;
    }
}
@media (max-width: 800px) and (min-width: 0) {
    .impact-article-container{
        margin-top: 0;
    }

    .impact-article-header-container{
        padding: 24px;
    }

    .impact-article-card{
        max-width: 600px;
        padding-left: 42px;
    }

    .article-line{
        left: 0;
    }

    .impact-article-excerpt{
        padding-bottom: 0;
        padding-top: 14px;
    }

    .impact-popup-content-inner{
        flex-direction: column;
        align-items: center;
    }

    .impact-article-content-rhs{
        padding: 0;
        margin-top: 40px;
        width: 100%;
    }
/*
    .impact-popup-rhs{
        display: flex;
        max-width: unset;
    }
*/
    .impact-popup-content {
        padding: 16px;
    }

    .popup-name-cont{
        display: none;
    }

    .popup-name-cont-mobile{
        display: flex;
        margin-top: -10px;
    }
/*
    .popup-portrait {
        width: 100px !important;
        height: 100px !important;
        margin-top: 25px;
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .portrait-background{
        width: 120px;
        height: 120px;
    }

    .portrait-cont{
        min-height: unset;
        align-items: start;
    }
*/
    .impact-popup-rhs{
        padding: 40px 0 0 0;
    }
}


@media (max-width: 1200px) and (min-width: 769px) {
    .impact-theme-carousel {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-left: calc((100vw - 80px - 844px) / 2);
        padding-right: calc((100vw - 80px - 844px) / 2 + 1px);
    }

    .impact-theme-carousel-card {
        scroll-snap-align: start;
    }


}


@media (min-width: 1201px) and (max-width: 1849px) {
    .impact-theme-carousel {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-left: calc((100vw - 80px - 1136px) / 2);
        padding-right: calc((100vw - 80px - 1136px) / 2 + 1px);
    }

    .impact-theme-carousel-card {
        scroll-snap-align: start;
    }

    .impact-theme {
        padding-left: 40px !important;
    }
}

@media (min-width: 1850px) {
    .impact-theme-carousel {
        justify-content: center;
        overflow-x: visible;
    }

    .impact-theme-carousel-card {
        scroll-snap-align: none;
    }
}

@media (max-width: 768px) and (min-width: 601px) {
    .impact-theme-carousel {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-left: calc((100vw - 80px - 552px) / 2);
        padding-right: calc((100vw - 80px - 552px) / 2 + 1px);
    }

    .impact-theme-carousel-card {
        scroll-snap-align: start;
    }

}

@media (max-width: 675px) and (min-width: 0px) {
    .impact-article-image-mobile {
        min-height: unset;
        aspect-ratio: 328 / 237.037;
    }
    .impact-article-content-lhs{
        padding: 26px 22px;
    }
}
@media (max-width: 675px) and (min-width: 550px) {    

    .impact-article-color-background{
        width: 40%;
    }
}

@media (max-width: 549px) and (min-width: 446px) {
    /*
    .impact-article-image-mobile {
        width: 250px;
        min-height: 250px;
    }
*/
    .impact-article-color-background{
        width: 44%;
    }
}

@media (max-width: 445px) and (min-width: 376px) {
    /*
    .impact-article-image-mobile {
        width: 200px;
        min-height: 200px;
    }
*/
    .impact-article-color-background{
        width: 49%;
    }


}
@media (max-width: 445px) and (min-width: 0) {
    .impact-article-content-lhs{
        padding: 26px 0;
    }
    .impact-icon-container {
        width: 300px;
    }

    .impact-theme-carousel-wrap{
        padding-left: 24px !important;
    }
}
/*@media (max-width: 375px) and (min-width: 0) {*/
/*    .impact-article-image-mobile {*/
/*        width: 175px;*/
/*        min-height: 175px;*/
/*    }*/

/*    .impact-article-color-background {*/
/*        width: 53%;*/
/*    }*/

/*    .impact-article-content-lhs {*/
/*        padding: 24px 24px 24px 24px;*/
/*    }*/

/*}*/

@media (max-width: 400px) and (min-width: 0) {
    /*
    .impact-article-image-mobile {
        width: 175px;
        min-height: 175px;
    }
    */
    .impact-article-color-background {
        width: 53%;
    }
/*
    .impact-article-content-lhs {
        padding: 24px 24px 24px 24px;
    }
*/
    .impact-people {
        background-image: url('../images/people-tablet.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 95%;
        height: 140px;
        max-width: 95%;
        margin-top: -40px
    }
    .impact-people > div {
        display: none;
    }
}

@media (max-width: 600px) {
    .impact-theme-carousel {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-left: calc((100vw - 80px - 260px) / 2);
        padding-right: calc((100vw - 80px - 260px) / 2 + 1px);
    }

    .impact-theme-carousel-card {
        max-width: 260px;
        scroll-snap-align: start;
    }

}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Add these rules to your CSS file */

.popup {
    overflow-y: auto;
}

/* Hide scrollbar for popup */
.popup::-webkit-scrollbar {
    display: none;
}

.popup {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Make popup content scrollable if it overflows */
.impact-popup-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Hide scrollbar for popup content */
.impact-popup-content::-webkit-scrollbar {
    display: none;
}

.impact-popup-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.popup-chart-placeholder {
    background-color: unset;
    width: 100%;
    min-height: 298px;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    align-items: center;
    display: flex;
    justify-content: center;
  }
  
.highcharts-background{
  fill: transparent;
}


@media (max-width: 800px) {
    .popup-chart-placeholder.first-chart {
        margin-top: -30px;
    }
}
@media (max-width: 800px) {
    .popup-quotes {
        left:10px;
    }
}
