/* Layout général */
.jbio-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout principal de la page */
.jbio-main-layout {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

/* Conteneur pour les deux colonnes en haut */
.jbio-top-sections {
    display: flex;
    flex-direction: row;
    gap: 15px; /* Espace réduit de moitié */
    margin-bottom: 40px;
}

/* Titre des sections */
.jbio-section-title {
    text-align: left;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: #000;
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 0;
}

/* Bloc 1: Article à la une */
.jbio-featured-section-container {
    flex: 2;
    order: 1;
    max-width: 570px;
}

.jbio-featured-section {
    padding: 0;
}

.jbio-post-featured {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.jbio-post-featured .jbio-post-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.jbio-post-featured .jbio-post-content {
    padding: 25px;
}

.jbio-post-featured .jbio-post-title {
    margin: 0 0 15px;
    font-size: 1.3rem;
    color: #000;
    font-family: sans-serif;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
    text-align: left;
}

.jbio-post-featured .jbio-post-excerpt {
    margin: 0 0 15px;
    color: #000;
    font-family: sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: normal;
}

.jbio-post-featured .jbio-post-date {
    color: #666;
    font-size: 0.8rem;
    font-family: sans-serif;
    font-style: italic;
}

/* Bloc 2: Dernières publications */
.jbio-recent-posts-section {
    flex: 1;
    padding: 0;
    order: 2;
}

.jbio-recent-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.jbio-post-recent {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.jbio-post-recent-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    min-height: 120px;
}

.jbio-post-recent-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.jbio-post-recent-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jbio-post-recent-content {
    padding: 15px;
    flex-grow: 1;
}

.jbio-post-recent-title {
    margin: 0;
    font-size: 1rem;
    color: #000;
    font-family: sans-serif;
    font-weight: bold;
    line-height: 1.3;
    text-decoration: none;
}

.jbio-post-recent-date {
    margin-top: 5px;
    color: #666;
    font-size: 0.8rem;
    font-family: sans-serif;
    font-style: italic;
    display: block;
}

/* Bloc 3: Tous nos articles */
.jbio-posts-grid-section {
    padding: 30px 0;
    order: 3;
}

.jbio-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.jbio-post-grid {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.jbio-post-grid .jbio-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.jbio-post-grid .jbio-post-content {
    padding: 15px;
}

.jbio-post-grid .jbio-post-title {
    margin: 0 0 10px;
    font-size: 1.0rem;
    color: #000;
    font-family: sans-serif;
    font-weight: bold;
    line-height: 1.3;
    text-decoration: none;
}

.jbio-post-grid .jbio-post-date {
    color: #666;
    font-size: 0.8rem;
    font-family: sans-serif;
    font-style: italic;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    .jbio-post-featured .jbio-post-image {
        height: 350px;
    }
    .jbio-featured-section-container {
        max-width: 100%;
    }
    .jbio-top-sections {
        flex-direction: column;
    }
    .jbio-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Alignement des titres */
.jbio-featured-section-container .jbio-section-title,
.jbio-recent-posts-section .jbio-section-title,
.jbio-posts-grid-section .jbio-section-title {
    margin: 0 0 15px 0;
}
