.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!important;
    box-shadow: 0 0 13px -5px #0000008a;
    transition: all .35s;
    width: 100%;
}

.card:hover {
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.10);
    transform: translateY(-6px);
}

.cards-body {
    flex: 1!important;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 1.25rem 60px 1.25rem!important
}

.resources-top-two-posts {
    height: 47.5%;
}


.resources-top-two-posts .card-image {
    width: 150px;
    background-position: center center
}

.post-date {
    color: #7D7D7D
}

.recent-posts .card {
    border-radius: 10px;;
}
.card-image {
    position: relative;
    height: 100%;
    /* width: 100%; */
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    min-height: 162px;
}

.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;
}

/* Zoom image hover */
/* .card:hover .card-image::before {
    transform: scale(1.2);
} */

@media (min-width: 992px) {
    .recent-posts .resources-top-two-posts {
        max-height: 225px;
    }
}


.fcard {
    display: flex;
    margin-bottom: 20px;
	padding-top: 1rem;
}

.topic-section {
    padding: 3em 1em;
}

.topic-section:nth-child(odd) {
    background: #F8F5F0;
}

.topics {
    background: var(--canopy-blue)
}

.topic-link {
    color: #fff!important;
    border: solid 2px #fff;
    border-radius: 150px;
    padding: 0.2em 1em 0.3em 1em;
    text-decoration: none;
    font-weight: 500
}

.topic-link:hover {
    color: var(--canopy-blue)!important;
    padding: 0.2em 1em;
    text-decoration: none;
    background: #fff;
}

.type-link {
    color: #fff!important;
    border: solid 2px #fff;
    border-radius: 150px;
    padding: 0.2em 1em 0.3em 1em;
    text-decoration: none;
    font-weight: 500
}

.type-link:hover {
    color: var(--canopy-blue)!important;
    padding: 0.2em 1em;
    text-decoration: none;
    background: #fff;
}


.topic-post-date {
    color: #7D7D7D;
    font-size: 0.65em
}

.link-orange {
    color: var(--canopy-orange);
}

.title-post {
    color: var(--canopy-blue)!important;
    font-weight: bold !important;
    font-size: 1em!important;
    text-align: left !important;
    text-transform: none!important;
}
@media screen and (max-width: 768px) {
    .title-post {
        line-height: 1.1rem!important;
    }
}

.topic-title-post {
    font-size: 1em;
}

.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;
}

.title-background {
    background-image: url('../png/bg-title.png');
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    background-size: inherit;
    background-position: left;
    background-repeat: no-repeat;
    margin-bottom: 0.8em;
}

.read-link {
    position: absolute!important;
    bottom: 20px!important;
    color: var(--canopy-orange)!important;
    font-weight: 600!important;
}

.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: 500;
    text-transform: capitalize;
}

.topic-title-white {
    color: #fff;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 1em;
    text-align: left!important;
}

.flex-container {
    display: flex;
    gap: 10px;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.topic-pill {
    background: var(--canopy-blue);
    color: #fff;
    border-radius: 50px;
    padding: 2px 16px;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-style: italic;
    float: left;
    margin: 0.6em 0;
}

.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: 1px 16px;
    position: absolute;
    top: 1em;
    right: 1em;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-style: italic;
    font-size: 0.65em;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",carbona,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.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!important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-all-btn {
    position: relative;
    padding-right: 30px;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease, border 0.3s ease, color 0.3s ease, padding 0.3s ease;

    border: solid 2px var(--nav-link-color-hover);
    color: var(--nav-link-color-hover);
    padding: 4px 20px;
    border-radius: 150px;
    text-decoration: none;
}

.view-all-btn::after {
    content: '';
    /* Conteúdo vazio */
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../svg/arrow-right.svg') no-repeat center;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    transition: transform 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.view-all-btn:hover::after {
    transform: translateY(-50%) translateX(10%);
    opacity: 1;
    transition: transform 0.3s ease, padding 0.3s ease;
}


.view-all-btn:hover {
    transform: translateX(-6px);
    background-color: var(--nav-link-color-hover);
    border: solid 2px var(--nav-link-color-hover);
    text-decoration: none;
    color: #ffffff;
    padding: 4px 36px 4px 20px;
    transition: transform 0.3s ease, padding 0.3s ease;
}



/* 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: 42%;
    transform: translateY(-50%) translateX(-100%);
    transition: transform 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.recent-posts .card:hover .read-link-btn::before,
.topic-section .card:hover .read-link-btn::before {
    transform: translateY(-40%) translateX(-150%) scale(0.8) !important;
    opacity: 1;
    transition: transform 0.3s ease, padding 0.3s ease;
}

.recent-posts .card:hover .read-link-btn,
.topic-section .card:hover .read-link-btn{
    color: var(--nav-link-color-hover);
    text-decoration: none;
    transform: translateX(16px);
    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) {
    /* .resources-background {
        position: absolute;
        transform: rotate(-90deg);
        left: 6em;
        top: 15em;
        transform-origin: 0 0;
    } */

    .recent-posts {
        background-position: -42vh -150%;
        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) {
    .resources-background {
        position: absolute;
        transform: rotate(-90deg);
        left: 6em;
        top: 15em;
        transform-origin: 0 0;
    }

    .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;
    }

    .splide__arrow--prev {
        left: -1.5em;
    }

    .splide__arrow--next {
        right: -1.5em;
    }

    .explore-by-type {
        margin-top: 2em!important;
    }

    .card-image {
        height: 200px!important;
        width: 100%!important;
    }

}


@media screen and (min-device-width: 901px) {
    .hide-desktop {
        display: none;
    }

    .splide__arrow--prev {
        left: -3em;
    }

    .splide__arrow--next {
        right: -3em;
    }

}


.splide__arrow svg {
    fill: var(--canopy-dark-orange);
    height: 1.5em;
    width: 1.5em;
}

.splide__arrow {
    background: transparent;
    border: solid 2px var(--canopy-dark-orange);
    padding: 8px;
}

button:focus {
    outline: 5px auto #b5724f;
}