.agroflix-list,
.ebooks-list,
.noticias-list {
    justify-content: space-between;
}

.ebooks-item {
    max-width: 269px;
    flex: 1;
    margin: 0 5px;
}

.ebooks-item img {
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
    width: 100%;
}

.ebooks-item img:hover {
    -webkit-box-shadow: 2px 4px 27px 12px #C1C1C1;
    box-shadow: 2px 4px 27px 12px #C1C1C1;

    -webkit-box-shadow: 0px 4px 5px 0px rgba(133, 133, 133, 1);
    -moz-box-shadow: 0px 4px 5px 0px rgba(133, 133, 133, 1);
    box-shadow: 0px 4px 5px 0px rgba(133, 133, 133, 1);

    transform: scale(1.01);
}


.agroflix-item {
    max-width: 369px;
    flex: 1;
    margin: 0 5px;
}

.agroflix-thumb {
    width: 369px;
    height: 206px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;

    align-items: center;
    justify-content: center;
}

.agroflix-thumb {
    width: 100%;
}

.agroflix-thumb-item {
    position: absolute;

    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
    width: 100%;
}

.agroflix-thumb-item:hover {
    -webkit-box-shadow: 0px 4px 5px 0px rgba(133, 133, 133, 1);
    -moz-box-shadow: 0px 4px 5px 0px rgba(133, 133, 133, 1);
    box-shadow: 0px 4px 5px 0px rgba(133, 133, 133, 1);

    transform: scale(1.01);
}

.agroflix-item>h4,
.ebooks-item>h4 {
    margin: 16px 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-green-dark);
}

.agroflix-item>a,
.ebooks-item>a {
    font-size: 14px;
}

@media screen and (max-width: 1199px) {

    .agroflix-list {
        width: 100%;
        overflow-x: scroll;
        height: max-content;
        touch-action: pan-x;
    }

    .agroflix-item {
        margin-right: 8px;
        width: max-content;
        flex: 0 0 auto;
    }

    .agroflix-thumb {
        width: 369px;
    }

    .agroflix-item h4 {
        font-size: 16px;
        line-height: 19.2px;
    }

    .ebooks-list {
        width: 100%;
        overflow-x: scroll;
        touch-action: pan-x;
        height: max-content;
    }

    .ebooks-item {
        margin-right: 8px;
        flex: 0 0 auto;
    }

    .noticias-list {
      
        gap: 16px;
    }

    .noticias-item:not(:first-child) {
        margin: 0;
    }
}

@media screen and (max-width: 767px) {

    .agroflix-thumb,
    .agroflix-thumb-item {
        max-width: 156px;
        height: 111px;
    }

    .agroflix-item h4 {
        max-width: 156px;
    }

    .ebooks-item img {
        height: auto;
    }

    .noticias-list {
         flex-wrap: wrap;
    }

    .noticias-list .noticias-item{
        max-width: 45%;
    }
}

@media screen and (max-width: 400px) {
    .noticias-list .noticias-item{
        max-width: 100%;
    }
}



.blog-posts {
    height: 390px;
    gap: 32px;
}

.blog-post-item-big {
    box-sizing: border-box;

    padding: 21px 36px;
    color: var(--white);
    background-repeat: no-repeat;
    background-size: cover;

    flex-basis: 35%;

    flex-shrink: 0;
    text-shadow: 3px 3px 5px #000;

    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}

.blog-post-item-big:hover {
    -webkit-box-shadow: 2px 4px 27px 12px #C1C1C1;
    box-shadow: 2px 4px 27px 12px #C1C1C1;

    transform: scale(1.01);
}

.blog-post-item-big-img-link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    background: rgb(121, 121, 121);
    background: -moz-linear-gradient(180deg, rgba(121, 121, 121, 1) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 70%, rgba(121, 121, 121, 1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(121, 121, 121, 1) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 70%, rgba(121, 121, 121, 1) 100%);
    background: linear-gradient(180deg, rgba(121, 121, 121, 1) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 70%, rgba(121, 121, 121, 1) 100%);
}

.blog-post-item-big-title {
    font-size: 18px;
    font-family: 'Lato Bold';
    text-shadow: 3px 3px 5px #000;
}

.blog-post-item-big-category {
    margin-bottom: 20px;
    text-shadow: 3px 3px 5px #000;
}

.blog-post-item-big-preview {
    margin-bottom: 24px;
    margin-top: auto;
}

.blog-post-item-big>a {
    color: #FFA07C;
}

.blog-post-grid {
    flex-wrap: wrap;
    width: 60%;
}

.blog-post-grid-item {
    max-width: 213px;
    justify-content: space-between;
}

.glide-agblog .glide__slide--clone {
    visibility: hidden;
    width: 0;
    height: 0;
}

.blog-post-grid-item img {
    margin-bottom: 16px;
    object-fit: cover;

    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}

.blog-post-grid-item:hover img {
    transform: scale(1.01);
}

.blog-post-item-title {
    margin-bottom: 16px;
    color: var(--gray-green-dark);
}

.blog-post-grid-item>a {
    color: #FFA07C;
}

.blog-post-grid .glide__arrows button {
    background-color: transparent;
}

.blog-post-grid .glide__arrows {
    position: absolute;
    top: 22%;
    width: 100%;
}

.blog-post-grid .glide__arrow--left {
    position: absolute;
    left: -20px;
}

.blog-post-grid .glide__arrow--right {
    position: absolute;
    right: -20px;
}

@media screen and (max-width: 1199px) {
    .blog-posts {
        flex-wrap: wrap;
        height: auto;
    }

    .blog-post-item-big {
        flex-basis: 100%;
        padding: 16px;
        height: 476px;
        margin-bottom: 16px;
    }

    .blog-post-grid {
        width: 100%;
        justify-content: space-between;
    }

    .blog-post-grid-item {
        width: 100%;
        height: 256px;
        margin: 0;
        margin-bottom: 16px;
        display: flex;
        flex-direction: column;
    }

    .blog-post-grid-item img {
        width: 100%;
        height: 137px;
        margin-bottom: 8px;
    }

    .blog-post-item-title {
        font-size: 16px;
        line-height: 19.2px;
    }

    .blog-post-grid-item a.blog-post-item-link {
        display: block;
        margin-top: auto;
    }

    .blog-post-item-link {
        margin-top: auto;
    }
}