/* ========================================
   MEDICAMENT.CSS — Page fiche médicament
========================================= */

.main-content h2 {
    font-size: 2rem;
    font-weight: 700;
}
.main-content h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.sidebar h3 {
    font-size: 1.4rem;
    margin-top: 0;
}

/* Icônes CI */
.warning-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.warning-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-white);
    box-shadow: 0 2px 5px rgba(245,243,243,0.9);
    cursor: help;
    transition: transform 0.2s;
}
.warning-icon:hover {
    transform: scale(1.1);
}
.warning-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Photo */
.photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Citation */
.citation {
    font-style: italic;
    line-height: 1.5;
    margin-top: 30px;
}
.citation::before,
.citation::after {
    content: '"';
    font-size: 1.8rem;
    color: #ccc;
    position: relative;
    top: 5px;
}

/* Images CI / précaution : effet gris -> couleur au hover */
.sidebar img {
    border: 3px solid var(--color-primary-dark);
    filter: grayscale(80%);
    transition: filter 0.3s;
}

.sidebar img:hover {
    filter: grayscale(0%);
}
