section.latest-blog {
    position: relative;
    margin-bottom: 13rem;
}

section.latest-blog .bevel-square-green {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 94%);
    background: rgb(172, 191, 164);
    background: -moz-linear-gradient(0deg, rgba(172, 191, 164, 1) 0%, rgba(226, 232, 206, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(172, 191, 164, 1) 0%, rgba(226, 232, 206, 1) 100%);
    background: linear-gradient(0deg, rgba(172, 191, 164, 1) 0%, rgba(226, 232, 206, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#acbfa4", endColorstr="#e2e8ce", GradientType=1);
    z-index: 1;
}

section.latest-blog .bevel-square-gray {
    position: absolute;
    top: 416px;
    left: 0;
    width: 100%;
    height: 69%;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 94%);
    z-index: 1;
    background-color: var(--gray30-color)
}

section.latest-blog .container {
    position: relative;
    z-index: 2; /* Set z-index for the container */
}

section.latest-blog .wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

section.latest-blog h2 {
    font-family: 'Baar Sophia Bold';
    color: #382C2C;
    text-transform: uppercase;
    font-size: 2.5rem;
    text-align: center;
    padding: 5.875rem 0rem;
}

section.latest-blog article {
    width: 370px;
    display: flex;
    flex-direction: column;
}

section.latest-blog article .first-picture img {
    width: 100%;
    height: 564px;
    border-radius: 1.4375rem;
    object-fit: cover;
    -webkit-box-shadow: -0px -0px 26px -7px rgba(66, 68, 90, 1);
    -moz-box-shadow: -0px -0px 26px -7px rgba(66, 68, 90, 1);
    box-shadow: -0px -0px 26px -7px rgba(66, 68, 90, 1);
    transform: translateY(-20px);
}

.afect {
    transition: 1s ease-out;
    transform: translateY(30px);
}

section.latest-blog article h3 {
    font-family: 'Baar Sophia Regular';
    font-weight: 200;
    font-size: 2rem;
    text-align: center;
    padding: 2.75rem 0rem;
}

section.latest-blog article h3 a {
    text-decoration: none;
    color: var(--accent-color);
}

section.latest-blog picture.avater {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-content80-color);
}

section.latest-blog picture.avater img {
    width: 40px;
    padding-bottom:1rem ;
}

/* Mobile */
@media only screen and (max-width:768px) { 

    section.latest-blog {
        margin-bottom: unset;
    }

    section.latest-blog picture.avater {
        padding-bottom: 2rem;
    }

    section.latest-blog .bevel-square-green {
        clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
    }
    
}