/** Styles partages pour les fiches Sante avec images */

.info-warning-box {
    padding: 16px 18px;
    margin: 16px 0;
    border-radius: 14px;
    border-left: 4px solid #d9534f;
    background: rgba(217, 83, 79, 0.08);
}

.health-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.health-image-grid .health-inline-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card-bg, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.health-image-grid .health-inline-figure img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    border: 0;
    cursor: zoom-in;
}

.health-image-grid .health-inline-figure figcaption {
    margin: 0;
    padding: 16px;
    line-height: 1.55;
    font-size: 0.95rem;
}

.health-inline-figure--single {
    margin: 18px 0 0;
}

.health-inline-figure--single img {
    display: block;
    max-width: 100%;
    max-height: 360px;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    cursor: zoom-in;
}

.health-inline-figure--single figcaption {
    margin-top: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

    .health-image-grid .health-inline-figure img {
        height: 190px;
    }

    .health-inline-figure--single img {
        max-height: 280px;
    }
}
