/* Repris de l'ancien nutrition.css, adapté à Bootstrap 5 */
:root {
    --mea-color: #6A68C9;
}

body {
    font-family: Georgia, "Times New Roman", Times, serif;
}

/* Navigation */
.navbar-brand img {
    height: 50px;
}

.navbar .nav-link {
    color: #000;
}

/* Contenu */
#main-content {
    min-height: 290px;
}

.page-home .btn-mea {
    background-color: var(--mea-color);
    border-color: var(--mea-color);
    color: #fff;
    min-width: 130px;
}

.page-home .btn-mea:hover,
.page-home .btn-mea:focus {
    background-color: #5553a8;
    border-color: #5553a8;
    color: #fff;
}

.page-home .carousel {
    margin: 8px auto;
    max-width: 640px;
}

/* Contenu HTML venant du back-office (conseils, cas cliniques) */
.contenu-html img {
    max-width: 100%;
    height: auto;
}

/* Pied de page */
#main-footer {
    border-top: 1px dashed #ccc;
    margin-top: 20px;
    padding-top: 7px;
}

#main-footer-message {
    color: var(--mea-color);
    font-weight: bold;
    text-align: center;
}

#main-footer-message span {
    color: #333;
    font-weight: normal;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 0;
    width: 36px;
    height: 36px;
    background: #222;
    color: #fff;
    text-align: center;
    line-height: 36px;
    text-decoration: none;
}

.scroll-top:hover,
.scroll-top:focus {
    color: #fff;
}

/* Impression : tout le cas clinique (étapes et réponses), sans menu ni boutons */
@media print {
    .casclinique-js [data-casclinique-target="etape"][hidden],
    .casclinique-js [data-casclinique-target="reponse"][hidden] {
        display: block !important;
    }
}
