.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: rgb(248, 245, 240);
    background: linear-gradient(180deg, rgba(248, 245, 240, 1) 0%, rgba(248, 245, 240, 1) 40vh, rgba(255, 255, 255, 1) 40vh);
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #ddd;
    padding-top: 0 !important;
    border-radius: 8px;
    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;
    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;
}

/* Zoom image hover */
/* .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;
    font-size: 0.65em
}

.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: 1em;
    line-height: 1.25rem;
}

.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;
    bottom: 20px;
    color: var(--nav-link-color-hover);
    font-weight: 600;
}

.card-text {
    font-size: 16px;
    color: #7D7D7D;
    line-height: 20px;

}
.card-body {
    flex: 1!important;
    overflow: hidden!important;
    position: relative!important;
    padding: 0.5rem 1.25rem 60px 1.25rem!important;
}
.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;
}

.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: 3px 16px;
    position: absolute;
    top: 1em;
    right: 1em;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-style: italic;
    font-size: 0.9em;
}

.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;
}

.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;
}

.related-posts-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;
}

.related-posts-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) {
    .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) {
    .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;
    }
}


@media screen and (min-device-width: 901px) {
    .hide-desktop {
        display: none;
    }
}