.home-impact {
    width: 100%;
    margin: 24px 0;
    position: relative;
}

.home-impact .c {
    max-width: 1760px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.acf-block-preview .home-impact h2,
.home-impact h2 {
    margin: 0 0 20px;
    color: #333;
    text-align: center;
}

.home-impact .subtitle-legend {
    margin: 0 0 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
}

.acf-block-preview .home-impact .subtitle-legend h3,
.home-impact .subtitle-legend h3 {
    margin: 0;
}

.acf-block-preview .home-impact .subtitle-legend .legend,
.home-impact .subtitle-legend .legend {
    margin: 20px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px 60px;
    list-style: none;
}

@media screen and (min-width: 768px) { 
    .home-impact .subtitle-legend .legend {
        margin: 0;
        justify-content: center;
        gap: 0 60px;
    }
}

.home-impact .subtitle-legend .legend li {
    display: inline-flex;
    align-items: center;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

.home-impact .subtitle-legend .legend li .dot {
    width: 24px;
    height: 24px;
    margin-right: 14px;
    border-radius: 100%;
}

.home-impact .subtitle-legend .legend li .dot--locations {
    background: #f37232;
}

.home-impact .subtitle-legend .legend li .dot--global {
    background: #542e91;
}

.home-impact .subtitle-legend .legend li .dot--regional {
    background: #099dd9;
}

.home-impact .card-map {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 20px 0 40px;
    position: relative;
}

.home-impact .impact-card {
    max-width: calc(100% - 22px);
    background: #515151;
    min-height: 520px;
    margin: 20px 0 0;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 0 0 #f27232 inset;
    order: 2;
}

.home-impact .impact-card--global {
    box-shadow: 0 10px 0 0 #542e91 inset;
}

.home-impact .impact-card--regional {
    box-shadow: 0 10px 0 0 #099dd9 inset;
}

.home-impact .card-ctn {
    height: 0;
    overflow: hidden;
}

.home-impact .card-ctn > * {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
}

.home-impact .card-ctn a {
    color: #FFF;
    margin-top: auto;
}

.home-impact .card-ctn.card-active {
    height: 100%;
    min-height: 495px;
    display: flex;
    flex-direction: column;
}

.home-impact .card-ctn.card-active > * {
    opacity: 1;
    transform: translate3d(0,0,0);
    transition: 0.3s;
}

.acf-block-preview .home-impact .impact-card h3,
.home-impact .impact-card h3 {
    margin: 0 0 30px;
}

.acf-block-preview .home-impact .impact-card h3,
.acf-block-preview .home-impact .impact-card span,
.acf-block-preview .home-impact .impact-card p,
.home-impact .impact-card h3,
.home-impact .impact-card span,
.home-impact .impact-card p {
    color: #FFF;
}

.home-impact .impact-card span {
    display: block;
    margin: 0 0 30px;
    text-transform: uppercase;
}

.acf-block-preview .home-impact .impact-card img,
.home-impact .impact-card img {
    margin: 20px 0;
    display: block;
    aspect-ratio: 16 / 9;
}

.impact-map {
    display: flex;
    align-items: start;
    justify-content: center;
    position: relative;
    width: calc(100% + 40px);
    margin-left: -60px;
    margin-top: 90px;
    padding-top: 20px;
}

.acf-block-preview .pins,
.pins {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pin {
    background: #FFF;
    position: absolute;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    border-radius: 100%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 0 0 0 2px;
    cursor: pointer;
    border: 2px solid #000;
    box-shadow: 0px 0px 1px 1px #0000001a;
    transition: 0.4s;
    animation: pulse-animation 2s infinite;
}

.pin.type-locations {
    border-color: #f37232;
}

.pin.type-global {
    border-color: #542e91;
    display: none;
}

.pin.type-regional {
    border-color: #099dd9;
}

.pin::before,
.pin::after {
    content: '';
    width: 14px;
    height: 2px;
    position: absolute;
    left: 50%;
    top: 50%;
    transition: 0.3s;
    border-radius: 8px;
}

.pin.type-locations::before,
.pin.type-locations::after {
    background: #f37232;
}

.pin.type-global::before,
.pin.type-global::after {
    background: #542e91;
}

.pin.type-regional::before,
.pin.type-regional::after {
    background: #099dd9;
}

.pin::before {
    transform: translate3d(-50%,-50%,0);
}

.pin::after {
    transform: translate3d(-50%,-50%,0) rotate(90deg);
}

.pin.pin-active {
    background: #f37232;
    animation: none;
    border: 2px solid #fff;
    box-shadow: none;
}

.pin.type-global.pin-active {
    background: #542e91;
}

.pin.type-regional.pin-active {
    background: #099dd9;
}

.pin.pin-active::before,
.pin.pin-active::after {
    background: #FFF;
}

.pin.pin-active::after  {
    transform: translate3d(-50%,-50%,0);
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(0,0,0, 0.4);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(0, 0, 0, 0);
    }
}

.pin--1 {
    left: 130px;
    top: 55px;
}

.pin--2 {
    left: 120px;
    top: 80px;
}

.pin--3 {
    left: 220px;
    top: 45px;
}

.pin--4 {
    left: 235px;
    top: 20px;
}

.pin--5 {
    left: 250px;
    top: 40px;
}

.pin--6 {
    left: 220px;
    top: 80px;
}

.pin--7 {
    left: 250px;
    top: 70px;
}

.pin--8 {
    left: 295px;
    top: 40px;
}

.pin--9 {
    left: 300px;
    top: 70px;
}

.pin--10 {
    left: 350px;
    top: 90px;
}

.pin--11 {
    left: 240px;
    top: 120px;
}

.impact-map svg {
    max-width: 385px;
    min-width: 385px;
    width: 385px;
    margin: 0 auto;
    height: auto;
}

.impact-map svg path {
    fill: #9a9b9f;
    stroke: #FFF;
    stroke-width: 1px;
    stroke-opacity: 0.4;
}

.impact-map svg .active {
    fill: #542e91;    
}

.home-impact-items {
    background: #542e91;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 10px 20px;
    border-radius: 12px;
}

.home-impact-number {
    width: 100%;
    min-height: 100px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
}

.home-impact-number:not(:last-child) {
    border-bottom: 1px solid #FFF;
}

.home-impact-number-top {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.acf-block-preview .home-impact-number-top h4,
.home-impact-number-top h4 {
    margin: 0;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.acf-block-preview .home-impact-number-top img,
.home-impact-number-top img {
    width: 40px;
    height: auto;
    display: block;
    margin: 0 0 auto;
}

.acf-block-preview .home-impact-number .h1,
.home-impact-number .h1 {
    display: flex;
    margin: 0 0 10px;
    line-height: 1;
    font-weight: 700;
    font-size: 26px;
}

@media screen and (min-width: 768px) {
    .home-impact .c {
        max-width: 1360px;
        padding: 0 24px;
    }

    .acf-block-preview .home-impact h2,
    .home-impact h2 {
        margin: 0 0 40px;
    }

    .home-impact {
        margin: 80px 0;
    }

    .home-impact-items {
        background: #542e91;
        position: relative;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        margin: 0 0 40px;
        padding: 20px 0;
        border-radius: 12px;
    }

    .acf-block-preview .home-impact-number .h1,
    .home-impact-number .h1 {
        font-size: 36px;
    }

    .acf-block-preview .home-impact-number-top h4,
    .home-impact-number-top h4 {
        font-size: 18px;
    }

    .home-impact-number {
        width: 100%;
        min-height: 100px;
        padding: 10px 20px;
    }
    
    .home-impact-number:not(:last-child) {
        border-bottom: none;
        border-right: 2px solid #FFF;
    }

    .home-impact .card-map {
        grid-template-columns: 400px 1fr;
        margin: 20px 0 40px;
    }

    .home-impact .impact-card { 
        max-width: 100%;
        order: 0;
        margin: 0;
        z-index: 2;
    }

    .home-impact .subtitle-legend {
        left: 470px;
    }

    .impact-map {
        width: calc(100% + 80px);
        margin-left: -80px;
        margin-top: 60px;
        padding-top: 40px;
        z-index: 1;
    }

    .pin {
        width: 30px;
        height: 30px;
    }
    
    .impact-map svg {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
        margin: 0 auto;
        height: auto;
    }
}

@media screen and (min-width: 1900px) {
    .home-impact .c {
        max-width: 1760px;
        padding: 0 50px;
    }
}