.menu-item-has-children::after {
    content: "\f078";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 11px;
    display: inline-block;
    position: relative;
    top: -1px;
    right: -3px;
    color: #fff;
    transition: transform 0.1s linear;
}

.menu-item-has-children:hover::after {
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(1px);
    }
}


@media (min-width: 1200px) {
    /**********
    BENEFICIARY — desktop: tab list fills full pill width
    **********/
    .homebeneficiary-tab-list {
        width: 100%;
    }
}

@media (max-width: 1100px) {
    /**********
    HOME HERO
    **********/
    .homehero-content-card {
        padding: 2.5rem;
    }

    .homehero-content-card h2 {
        font-size: 2.7rem;
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .homehero-content-card p {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    img.homehero-c-image {
        max-width: 105%;
        left: 0px !important;
        top: -20px !important;
    }
}

@media (max-width: 1024px) {
    /**********
    HOME HERO
    **********/
    .wave-divider {
        height: 98px;
    }

    .wave-divider img {
        left: -60px;
        height: 90px;
    }

    #homehero .container:after,
    #homehero .container:before {
        height: 90px;
    }

    #homehero .container:before {
        left: calc(-100% + 0px);
    }
}

@media (min-width:992px) and (max-width:1200px) {
    /**********
    WAVE DIVIDER
    **********/
    .wave-divider img {
        object-fit: cover;
        width: auto;
        height: 95px;
        object-position: left;
        left: -70px;
    }

    img.homehero-c-image {
        left: -100px;
        top: -20px;
    }

    /**********
    HOME HERO CONTAINER
    **********/
    #homehero .container:after,
    #homehero .container:before {
        height: 94px;
    }

    #homehero .container:after {
        right: -220px;
        width: 380px;
        height: 94px;
    }

    #homehero .container:before {
        left: calc(-100% + -10px);
    }
}

@media (min-width: 1101px) and (max-width: 1200px) {
    img.homehero-c-image {
        left: -30px;
        top: -20px;
        max-width: 111%;
    }
}

@media (max-width: 1200px) {
    /**********
    BENEFICIARY — shrink tabs a bit
    **********/
    .homebeneficiary-tab-list {
        gap: 0.3rem;
        padding: 0.7rem;
    }

    .homebeneficiary-tab {
        padding: 0.8rem 1.6rem;
    }

    .homebeneficiary-tab img {
        max-height: 3.6rem;
    }

    .homebeneficiary-card-logo {
        max-width: 100%;
        max-height: 65px;
    }

    /**********
    HOME NEWS
    **********/
    .home-news-slider .slick-slide {
        margin: 1rem 1rem;
        height: auto;
    }

    .home-news-arrow i {
        font-size: 20px;
        line-height: 1;
    }

    /**********
    FOOTER
    **********/
    .header .logo-top-left,
    .header .logo-img,
    .header .logo-top-right,
    .footer-logo-left,
    .footer-logo-center,
    .footer-logo-right {
        display: block;
        margin: 0 auto;
        max-width: 90%;
    }
}

@media (max-width: 1199px) {
    /**********
    HOME PROJECTS
    **********/
    .homeproject-card-content p {
        font-size: 1.9rem;
    }

    .homeproject-card-link {
        font-size: 1.4rem;
    }

}

@media only screen and (min-width: 1201px) {
    .header nav.nav .sub-menu li {
        width: 100%;
        margin-left: 0;
        display: block;
        padding: 8px 20px;
        width: 300px !important;
        white-space: wrap;
    }
    nav.nav .menu-item-has-children.sub-menu-active>.sub-menu-inner {
        display:block;
    }
    nav.nav .sub-menu li {
        width: 100%;
        margin-left: 0;
        display: inline-block;
        white-space: unset;
        line-height: 1.2;
    }
}

@media (min-width: 992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1040px;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1040px;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1040px;
    }
}

@media (min-width:1201px) {
    .header-nav ul {
        list-style: none;
        display: flex;
        margin-bottom: 0;
        padding-left:0;
        flex-direction: row;
        justify-content: center;
    }
}


@media only screen and (max-width: 1200px) {
    .mobile-header-cta {
        display: block !important;
        margin: 0 40px;
    }
    #home-hero:before {
        content: '';
        height: 30%;
        width: 100%;
        background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
        position: absolute;
        top: 0;
        z-index: 4;
        opacity: 0.5;
    }
    #home-hero {
        padding: 150px 0 300px;
    }

}

@media (max-width: 991px) {
    /**********
    HEADER
    **********/

    .header-top .row,
    .footer-top .row {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
    }

    .header-top .row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-col-logo a {
        justify-content: center;
        display: flex;
        padding: 0.6rem 1.5rem;
    }

    /* Main logo — full width, centered, first row */
    .header-col-logo {
        order: -1;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        display: flex;
        justify-content: center;
        position: relative;
        padding-bottom: 1rem;
    }

    /* Partner logos — 50% each, second row */
    .header-col-imo,
    .header-col-mof {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        border-top: 1px solid #e5e5e5;
        height: 60px;
        margin-top: 5px;
        padding-top: 10px;
    }

    .header-top .row {
        flex-wrap: wrap !important;
    }

    /**********
    BURGER NAV
    **********/
    #burgerNav {
        display: block;
        position: absolute;
        left: 10px;
        top: 40%;
        transform: translateY(-50%);
        width: 26px;
        height: 14px;
        cursor: pointer;
        z-index: 90;
    }

    #burgerNav .innerBurger {
        position: relative;
        height: 100%;
    }

    #burgerNav .innerBurger span {
        width: 100%;
        height: 3px;
        border-radius: 25px;
        background-color: #0a0a0a;
        position: absolute;
        opacity: 1;
        transition: all 300ms;
        transform: rotate(0deg);
    }

    .fix #burgerNav .innerBurger span {
        background-color: #262b5b;
    }

    #burgerNav .innerBurger span:nth-child(1) {
        top: 0%;
    }

    #burgerNav .innerBurger span:nth-child(2) {
        top: 50%;
    }

    #burgerNav .innerBurger span:nth-child(3) {
        top: 100%;
    }

    #burgerNav.change .innerBurger span:nth-child(1) {
        top: 50%;
        transform: rotate(-45deg);
    }

    #burgerNav.change .innerBurger span:nth-child(2) {
        opacity: 0;
    }

    #burgerNav.change .innerBurger span:nth-child(3) {
        top: 50%;
        transform: rotate(45deg);
    }

    /**********
    MOBILE NAV
    **********/
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }

    /* Hide desktop nav on mobile */
    .headermenu-desktop {
        display: none;
    }

    /* Mobile dropdown */
    .headermenu-mobile {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        background: #fff;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        border-radius: 0 0 14px 14px;
        z-index: 100;
    }

    .headermenu-mobile.navActive {
        display: block;
        animation: slideDown 0.25s ease forwards;
    }

    .header-top .headermenu-mobile a {
        width: 600px;
        margin: 0 auto;
        max-width: 100%;
    }

    li#menu-item-82 {
        border-top: 1px solid #ebebeb;
        margin-top: 10px;
        padding-top: 10px;
    }

    header .nav {
        position: static;
        height: auto;
        width: 100%;
        background: transparent;
        box-shadow: none;
        left: auto;
        top: auto;
    }

    header .nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    header .nav > ul {
        margin-top: 0;
        box-sizing: border-box;
        padding: 1rem 0;
        flex-direction: column;
        justify-content: flex-start !important;
    }

    header .nav > ul li {
        position: relative;
        display: block;
        width: 100%;
    }

    header .nav > ul li a {
        font-weight: 600;
        padding: 0.7rem 0.5rem;
        width: 100%;
    }

    .menu-item-has-children::after {
        position: absolute;
        right: 0;
    }

    nav.nav .sub-menu {
        max-height: 0;
        overflow: hidden;
        flex-wrap: wrap;
        transition: all 200ms;
    }

    nav.nav .menu-item-has-children.sub-menu-active .sub-menu {
        max-height: 900px;
    }

    /**********
    HOME HERO
    **********/
    #homehero .row {
        flex-direction: column-reverse;
    }

    .homehero-c-image {
        margin: 30px auto;
        width: 470px;
        max-width: 100%;
    }

    .homehero-content-card {
        max-width: 100%;
        margin-left: 0;
        padding: 2.8rem 2.2rem;
        margin-top: -25px;
    }

    .homehero-content-card h2 {
        font-size: clamp(3.5rem, 8.5vw, 3.5rem);
        margin-bottom: 15px;
    }

    .homehero-content-card p {
        font-size: 1.5rem;
    }

    /**********
    BENEFICIARY — tablet: swap tabs → dropdown, use tablet map
    **********/
    .homebeneficiary {
        padding-top: 4rem;
    }

    .homebeneficiary-title {
        font-size: 3.4rem;
        margin-bottom: 2rem;
    }

    .homebeneficiary-tab-list {
        display: none;
    }

    .homebeneficiary-dropdown {
        display: block;
    }

    .homebeneficiary-map {
        background-image: var(--map-tablet, var(--map-desktop));
        background-size: contain;
        background-position: center top;
    }

    .homebeneficiary-map-wrap {
        aspect-ratio: 1668 / 1858;
        height: auto;
        margin-top: 1.5rem;
    }

    .homebeneficiary-card {
        padding: 2.2rem 0;
    }

    .homebeneficiary-card-inner {
        gap: 2.5rem;
    }

    .homebeneficiary-card-logo {
        max-width: 100%;
        max-height: 65px;
    }

    .homebeneficiary-discover {
        font-size: 1.3rem;
    }

    /**********
    HOME NEWS
    **********/
    .home-news-arrow i {
        font-size: 20px;
        line-height: 1;
    }

    /**********
    WAVE DIVIDER
    **********/
    .wave-divider {
        height: auto;
        margin-top: -80px;
    }

    .wave-divider img {
        left: 0px;
        height: 100px;
        margin-top: 0px;
    }

    /**********
    HOME HERO CONTAINER
    **********/
    #homehero .container:after,
    #homehero .container:before {
        height: 100px;
        width: 150px;
    }

    #homehero .container:after {
        right: -170px;
        opacity: 1 !important;
        width: 180px !important;
        bottom: -2px;
        height: 100px;
    }

    #homehero .container:before {
        left: -130px;
        opacity: 1 !important;
        width: 170px !important;
        bottom: -2px !important;
    }

}

@media (min-width: 576px) and (max-width: 767px) {
    .homeproject-card-image {
        height: 25rem;
    }
}

@media (max-width: 767px) {
    /**********
    FOOTER
    **********/
    .footer-top .col-auto a {
        padding: 0;
    }

    .footer-logo-left {
        max-height: 155px;
        max-width: 100%;
    }

    /**********
    HOME HERO
    **********/
    .homehero-content-card {
        margin-top: -10px;
    }

    .homehero-content-card h2 {
        font-size: 3rem;
    }

    .homehero-c-image {
        width: 450px;
        margin-top: 30px;
    }

    .wave-divider img {
        height: 70px;
        margin-top: 15px;
        left: calc(50% + 15px);
        transform: translateX(-50%);
    }

    #homehero .container:after,
    #homehero .container:before {
        height: 71px;
        bottom: -2px !important;
    }

    #homehero .container:before {
        left: -130px;
    }

    .getintouch-wrap {
        max-width: 100%;
    }

    .homebeneficiary-title {
        font-size: 2.8rem;
        margin-bottom: 1.6rem;
    }

    .homebeneficiary-map-wrap {
        aspect-ratio: 1668 / 1858;
        height: auto;
    }

    .homebeneficiary-card-inner {
        flex-direction: column;
        gap: 1.2rem;
    }

    .homebeneficiary-card-col {
        width: 100%;
        flex: 0 0 100%;
        justify-content: center;
    }

    .homebeneficiary-card-body {
        text-align: center;
        width: 100%;
    }

    .homebeneficiary-card-countries {
        font-size: 1.5rem;
    }

    .homebeneficiary-discover {
        font-size: 1.4rem;
        margin-top: 10px;
        margin-bottom: 8px;
    }

    .home-news-prev {
        left: -30px;
    }

    .home-news-next {
        right: -30px;
    }

    .home-news-arrow i {
        font-size: 25px;
    }

    .homeproject-card {
        width: 340px;
        max-width: 100%;
        margin: 0 auto;
    }

    .homeproject-card-content p {
        font-size: 1.6rem;
    }

    .homeproject-card-logo {
        height: auto;
    }
}

@media (max-width: 991px) {
    .footer-top .col-auto {
        flex: 0 0 calc(33.333% - 0.5rem);
        max-width: calc(33.333% - 0.5rem);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-logo-left {
        max-height: 38px;
    }

    .footer-logo-right {
        max-height: 40px;
    }

    .footer-bottom .row {
        width: 410px;
        margin: 0 auto;
        max-width: 100%;
        justify-content: center;
    }
}

@media (max-width: 479px) {
    /**********
    FOOTER
    **********/
    .footer-top .row {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo-center-wrap {
        order: -1;
    }

    .footer-logo-left,
    .footer-logo-right {
        max-height: 70px;
    }

    .footer-top .col-auto {
        max-width: 100%;
        width: 280px;
        padding: 10px;
    }

    /**********
    HEADER
    **********/
    .header .header-col-logo img {
        max-width: 80%;
    }

    /**********
    WAVE DIVIDER
    **********/
    .wave-divider img {
        width: 640px;
        height: 85px;
        object-position: 0%;
        left: calc(50% + 0px);
        max-width: 590px;
    }

    .homehero-c-image {
        width: 390px;
        margin-top: 30px;
    }

    /**********
    HOME HERO CONTAINER
    **********/
    #homehero .container:after,
    #homehero .container:before {
        height: 64px;
        bottom: 0px !important;
    }

    #homehero .container:after {
        right: -80px;
        width: 140px !important;
    }

    #homehero .container:before {
        left: -100px;
    }

    .homebeneficiary-dropdown-current-logo {
        height: 3.8rem;
        left: 0;
    }

    /**********
    BENEFICIARY — mobile: portrait map, stacked card bar
    **********/
    .homebeneficiary {
        padding-top: 3rem;
    }

    .homebeneficiary-title {
        font-size: 2.6rem;
        margin-bottom: 1.4rem;
    }

    .homebeneficiary-map {
        background-image: var(--map-mobile, var(--map-tablet, var(--map-desktop)));
        background-size: contain;
        background-position: center top;
    }

    .homebeneficiary-map-wrap {
        aspect-ratio: 856 / 1524;
        height: auto;
        margin-top: 1.2rem;
    }

    .homebeneficiary-dropdown {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .homebeneficiary-dropdown-toggle {
        padding: 1.1rem 4rem 1.1rem 1.6rem;
        width: 100%;
        max-width: 34rem;
    }

    .homebeneficiary-dropdown-option img {
        height: 3rem;
    }

    .homebeneficiary-card {
        padding: 2rem 0;
    }

    .homebeneficiary-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }

    .homebeneficiary-card-logo {
        max-width: 100%;
        max-height: 55px;
    }

}

@media (max-width: 575px) {
	.homebeneficiary-card-countries {
		width: 350px;
		margin: 0 auto;
		max-width: 90%;
	}
}


@media (max-width: 479px) {
    #homehero {
        position: relative;
    }

    #homehero .container {
        position: static !important;
        padding: 0 8px;
    }

    .homehero-content-card {
        max-width: 100%;
        margin-left: 0;
        padding: 2rem 2rem 2.4rem;
        margin: 0 15px 0;
    }

    .wave-divider img {
        width: 590px;
        height: 75px;
        object-position: -20%;
        left: calc(50% + -30px);
        max-width: 590px;
    }

    .homehero-content-card h2 {
        font-size: 2.6rem;
    }

    .homehero-content-card p {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .homeproject-card {
        width: 340px;
        max-width: 100%;
        margin: 0 auto;
    }

    .homeproject-card-content p {
        font-size: 1.7rem;
    }

    .homeproject-card-logo {
        height: 60px;
    }

    .homeprojects-grid {
        gap: 2.3rem;
    }

    .home-news-prev {
        left: -25px;
    }

    .home-news-next {
        right: -25px;
    }

    #homehero .container:after,
    #homehero .container:before {
        display: none;
    }
}
