.author-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 25px;
    margin-bottom: 40px;
}

.author-posts .post-item {
    display: flex;
    flex-direction: column;
    gap: 26px;
}


.author-posts h2.post-title {
    color: #000;

    font-family: "Plus Jakarta Sans";
    font-size: 29px;
    font-style: normal;
    font-weight: 550;
    line-height: 40px;
    letter-spacing: -0.58px;

    /* Forcer à 2 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 80px;
    margin-bottom: 15px!important;
}


.author-posts p.post-excerpt {
    color: #938F8F;

    /* Texte courant */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; /* 156.25% */
    letter-spacing: 0.16px;
    margin-bottom: 19px!important
}

.author-posts .thumbnail-container {
    border-radius: 10px;
    overflow: hidden;
}
.author-posts .thumbnail-container a {
    width: 100%;
    height: 100%;
    display: block;
}
.author-posts img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.45/1;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.author-posts .thumbnail-container:hover img {
    transform: scale(1.1);
}

.author-posts .read-more-btn {
    text-decoration: none !important;
    background: linear-gradient(to right, #000, #000);
    background-repeat: no-repeat;
    background-size: 100% 1px;
    background-position: bottom left;
    transition: background 0.3s ease, background-position 0s;
    color: #000 !important;
    align-self: flex-start;
    line-height: 1.2em;
}

.author-posts .read-more-btn:hover {
    background-size: 0% 1px;
    background-position: bottom right;
}


@media (max-width: 768px) {
    .author-posts {
        grid-template-columns: 1fr;
    }

    .blog-post-content {
        padding-right: 0;
    }
    
    
}


/* AUTHOR DETAILS */
.author-details {
    display: flex;
    gap: 42px;
    align-items: center;
}

.author-avatar-container {
   width: 15%;
   height: fit-content";
}

.author-avatar-container img {
    width: 100%;
    height: auto;
    border-radius: 65px;
    aspect-ratio: 1;
}

.author-text-container {
    width: 85%;
}

.author-details h1 {
    color: var(--Blanc, #FFF);
    font-family: Inter;
    font-size: 50px;
    font-style: normal;
    font-weight: 450;
    line-height: 84.4px; /* 168.8% */
    letter-spacing: 0.5px;
    margin-bottom: 0px;
}

.author-details p {
    color: var(--Blanc, #FFF);
    font-family: Inter;
    font-size: 22.4px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px; /* 156.25% */
    letter-spacing: 0.224px;
    margin-bottom: 0px;
}

@media (max-width: 1024px) {
    .author-avatar-container {
        width: 25%;
    }

    .author-text-container {
        width: 70%;
    }

    .author-details h1 {
        font-size: 40px;
        line-height: 60px;
    }

    .author-details p {
        font-size: 20px;
        line-height: 32px;
    }
}

@media (max-width: 768px) {
    .author-details {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .author-avatar-container {
        width: 30%;
    }

    .author-text-container {
        width: 100%;
        text-align: center;
    }

    .author-details h1 {
        font-size: 35px;
        line-height: 50px;
    }

    .author-details p {
        font-size: 18px;
        line-height: 28px;
    }
}

@media (max-width: 480px) {
    .author-avatar-container {
        width: 40%;
    }

    .author-text-container {
        width: 100%;
    }

    .author-details h1 {
        font-size: 30px;
        line-height: 45px;
    }

    .author-details p {
        font-size: 16px;
        line-height: 24px;
    }
}