/*
 Theme Name:   Hello Elementor Child - Marguerite Lemaignan
 Description:  Thème enfant pour le site de Marguerite Lemaignan, diététicienne
 Author:       Vnt0n
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* ==========================================================================
   BANNIÈRE
   ========================================================================== */

.ml-banner {
    text-align: center;
    background-color: #f5f0e8;
}

.ml-banner img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-navigation a {
    text-decoration: none;
}

.site-navigation a:hover {
    text-decoration: none;
}

.site-navigation {
    height: 25px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.ml-footer {
    width: 100%;
    height: 60px;
    background-color: #F2EBE7;
    font-family: Roboto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.ml-footer p {
    margin: 0;
    text-align: center;
}

.ml-footer a {
    color: #ACDE19;
    text-decoration: none;
}

.ml-footer a:hover {
    color: #888888;
    text-decoration: underline;
}

/* ==========================================================================
   WIDGET ARTICLES RÉCENTS AVEC EXTRAIT
   ========================================================================== */

.ml-recent-posts-excerpt {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ml-recent-posts-excerpt li {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #eee;
}

.ml-recent-posts-excerpt li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ml-recent-posts-excerpt .ml-post-title {
    display: block;
    font-weight: 400;
    color: #ACDE19;
    text-decoration: none;
    margin-bottom: 0.4rem;
    font-size: 1.5em;
}

.ml-recent-posts-excerpt .ml-post-excerpt {
    margin: 0;
    font-size: 1em;
    color: #888888;
    line-height: 1.5;
}

.ml-recent-posts-excerpt .ml-post-date {
    display: block;
    font-size: 0.85em;
    color: #aaa;
    margin-top: 0.4rem;
}

/* ==========================================================================
   BOUTON DOCTOLIB STICKY
   ========================================================================== */

.ml-doctolib-btn,
.ml-doctolib-btn:link,
.ml-doctolib-btn:visited {
    position: fixed;
    bottom: 0;
    left: 20px;
    width: 280px;
    height: 40px;
    background-color: #0496DE;
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 8px; */
    text-decoration: none !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px 6px 0 0;
    z-index: 9999;
    transition: background-color 0.2s ease;
}

.ml-doctolib-btn:hover {
    background-color: #0378b4;
    color: #fff;
    text-decoration: none;
}

.ml-doctolib-btn img {
    height: 20px;
    width: auto;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .ml-footer {
        height: auto;
        min-height: 60px;
        padding: 20px 30px;
    }

    .ml-footer p {
        font-size: 14px;
        line-height: 1.8;
        padding: 0 10px;
    }
}
