.wp-block-details.is-layout-flow.wp-block-details-is-layout-flow summary {
    font-weight: bold;
}

.bio-table td {
    padding-left: 10px;
}

/* Grille responsive de la galerie */
.mc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.mc-gallery-item {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.mc-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.mc-gallery-item img:hover {
    transform: scale(1.02);
    opacity: 0.95;
}
.mc-caption {
    margin-top: 10px;
    font-size: 0.9em;
    line-height: 1.4;
    color: #333;
}
.mc-caption small {
    color: #666;
    font-style: italic;
}

/* Styles de la Lightbox (Plein écran) */
.mc-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.mc-lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    animation: mcZoom 0.25s ease;
}
.mc-lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-size: 1.1em;
    line-height: 1.5;
}
.mc-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.mc-close:hover {
    color: #bbb;
}

@keyframes mcZoom {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Version Mobile et Tablette */
@media (max-width: 900px) {
    .mc-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 600px) {
    .mc-gallery-grid { grid-template-columns: 1fr; gap: 20px; }
    .mc-gallery-item img { height: auto; max-height: 350px; }
    .mc-lightbox-content { max-width: 95%; }
}