.image-case-study {
    min-height: 140px;
    min-width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    justify-content: center;
}

.image-case-study>p {
    position: absolute;
    bottom: 0.5em;
    padding: 0 1em;
}

.cardcase {
    background: #f7ecda;
    padding: 3em 2em 7em 2em;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    min-width: 30.52%;
}

.cardcase:nth-child(2) {
    background: #FAE1E4;
}

.cardcase:nth-child(6) {
    background: #f7ecda;
}

.cardcase:nth-child(3) {
    background: #E1ECFA;
}

.cardcase:nth-child(4) {
    background: #F4F0D4;
}

.cardcase:nth-child(5) {
    background: #E1FAF6;
}


.pre-footer {
    margin-top: 8em;
}

#site-footer>div>div.footer-content>nav>div>div>div>a {
    color: #fff !important;
}

header.site-header .logo img {
    filter: brightness(0) invert(1);
}

.nav-item>a {
    color: #fff !important;
}

.nav-child-item a {
    color: var(--canopy-blue) !important;
}

.nav-child-item a:hover {
    color: var(--canopy-orange)!important;
}

.menu-item-type-custom a:last-child {
    background: #fff !important;
    color: var(--canopy-blue) !important
}

.menu-item-type-custom a:last-child:hover {
    background: var(--canopy-orange) !important;
    color: #fff !important
}


header.site-header {
    box-shadow: none;
    -webkit-box-shadow: none;
    background: var(--canopy-blue);
}

#main-content {
    background-color: #fff;
    background-image: none !important;
}

.header-title {
    background: var(--canopy-blue);
    padding: 9em 0 5em 0;
}

.page-title {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
}

.date-event {
    font-size: 1.1em;
    color: #DFCF1C;
    font-weight: bold;
    padding-left: 0.7em;
    margin: -1em 0 1em 0;
    display: block;
}

.related-posts {
    color:  var(--nav-link-color);
    font-weight: 600;
    font-size: 1.3em;
}

.title-background {
    background-image: url(../png/bg-title-green.png)!important;
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    background-size: inherit;
    background-position: center left;
    background-repeat: no-repeat;
    margin-bottom: 0.8em;
    display: block;
}


/* MOBILE */
@media screen and (max-width: 800px) {
    .header-title {
        background: var(--canopy-blue);
        padding: 6em 0 2em 0;
    }
}


.splide__slide:before {
    display: none;
}


@media (min-width: 992px) {
    .splide__slide {
        transform: none !important;
        flex: 0 0 100% !important;
    }

    .splide__pagination {
        display: none !important;
    }

    .splide__list {
        padding: 1em !important;
    }
}


@media (max-width: 768px) {
    .fcard {
        margin: 0;
    }

    .splide__list {
        padding: 0 0.8em !important;
    }

}




.splide__pagination li:before {
    display: none;
}

.splide__pagination {
    bottom: -5px;
}

.splide__pagination .splide__pagination__page {
    background-color: #888;
}

.splide__pagination .splide__pagination__page.is-active {
    background-color: var(--nav-link-color-hover);
}


.recent-posts {
    background: url('../svg/bg-top-resources.svg');
    background-size: contain;
    background-color: white;
    background-repeat: no-repeat;
    background-position: -180px -150%;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ddd;
    padding-top: 0 !important;
    border-radius: 10px;
    box-shadow: 0 0 13px -5px #0000008a;
    transition: all .35s;
}

.card:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.10);
    transform: translateY(-6px);
}

.cards-body {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 1.25rem 60px 1.25rem
}

.post-date {
    color: #7D7D7D
}

.card-image {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.card-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 1.3s ease-in-out;
}

.card:hover .card-image::before {
    transform: scale(1.2);
}


.fcard {
    display: flex;
    margin-bottom: 20px;
}

.topic-section {
    padding: 3em 1em;
}

.topics {
    background: var(--canopy-blue)
}

.topic-link {
    color: #fff;
    border: solid 2px #fff;
    border-radius: 150px;
    padding: 0.2em 1em;
    text-decoration: none;
    font-weight: 500
}

.topic-link:hover {
    color:  var(--nav-link-color);
    padding: 0.2em 1em;
    text-decoration: none;
    background: #fff;
}

.topic-post-date {
    color: #7D7D7D;
    padding: 0 0.8em;
}

.link-orange {
    color: var(--canopy-orange);
}

.title-post {
    color:  var(--nav-link-color);
    font-weight: bold !important;
    font-size: 1.3em;
    text-align: left !important;
    text-transform: none;
}

.topic-title-post {
    font-size: 1.3em;
}

.topic-card-text {
    font-weight: 400 !important;
}

.topic-read-link {
    position: absolute;
    bottom: 20px;
    color: var(--nav-link-color-hover);
    font-size: 0.75em;
    font-weight: 600;
}

.read-link {
    position: absolute;
    bottom: 20px;
    color: var(--nav-link-color-hover);
    font-weight: 600;
}

.card-text {
    font-size: 16px;
    color: #7D7D7D;
    line-height: 20px;

}

.topic-title {
    color:  var(--nav-link-color);
    font-size: 1.2em;
    font-weight: 700;
}

.resources-title {
    color:  var(--nav-link-color);
    font-size: 1.7em;
    font-weight: 700;
    text-transform: capitalize;
}

.topic-title-white {
    color: #fff;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 1em;

}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 20%;
}

.topic-pill {
    color: var(--nav-link-color-hover);
    border-radius: 50px;
    padding: 4px 16px;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-style: italic;
    float: right;
}

.row-top-post {
    padding: 0 0.6rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.topic-row-top-post {
    padding: 0;
}


.topic-pill-post {
    background: var(--canopy-blue);
    color: #fff;
    border-radius: 50px;
    padding: 4px 16px;
    position: absolute;
    top: 1em;
    right: 1em;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-style: italic;
    font-size: 0.7em;
}

.icon-container {
    width: 24px;
    /* ajuste conforme necessário */
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.card-side-image {
    height: 100% !important;
    border-radius: 10px 0 0 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Read post icon */
.read-link-btn {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease, padding 0.3s ease;
    text-decoration: none;
    color: var(--nav-link-color-hover);
}

.read-link-btn::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../svg/arrow-right-orange.svg') no-repeat center;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    transition: transform 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.read-link-btn:hover::before {
    transform: translateY(-40%) translateX(-150%) scale(0.8) !important;
    opacity: 1;
    transition: transform 0.3s ease, padding 0.3s ease;
}

.read-link-btn:hover {
    color: var(--nav-link-color-hover);
    text-decoration: none;
    transform: translateX(16px);
    transition: transform 0.3s ease, padding 0.3s ease;
}




/* First Fold Small Desktop */

/* ----------- Non-Retina Screens ----------- */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    .recent-posts {
        padding-bottom: 30px;
    }
}

/* ----------- Retina Screens ----------- */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) {
    .recent-posts {
        padding-bottom: 30px;
    }
}

@media screen and (max-device-width: 900px) {
    .first-card {
        margin-bottom: 1em;
    }

    nav.mobile-nav .nav-item a {
        color: var(--nav-link-color-hover);
        display: block;
        padding: 10px 30px 5px 30px;
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 400;
        line-height: 1.3;
    }

    nav.mobile-nav .nav-item a:hover {
        color: #14233b;
    }

    .flex-container {
        padding: 0 10%;
    }

    .hide-mobile {
        display: none;
    }

    .view-all-btn {
        margin-top: 20px;
    }
}

@media screen and (min-device-width: 901px) {
    .hide-desktop {
        display: none;
    }
}

a {
    color: var(--nav-link-color-hover);
}


.goal {background:#EBFFFA;padding:1.5em; border-radius:10px;}
.results {padding:1.5em;}
.goal >h2 {color:var(--canopy-orange);}
.results >h2 {color:var(--canopy-orange);}

.grey-cta {
    padding: 2em;
    background: #efefef;
    border-radius: 10px;
    margin-bottom: 2em;
}
.grey-cta > p{
    margin-bottom: 0;
}