/* ==========================================================
   HOWMANY — PIED DE PAGE FORGE
   Footer compact et toujours visible
   ========================================================== */


/* ----------------------------------------------------------
   Barre générale Material
   ---------------------------------------------------------- */

.md-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 20;

    height: 44px;
    min-height: 44px;

    margin: 0;
    padding: 0;

    overflow: hidden;
}


/* ----------------------------------------------------------
   Zone interne du footer
   ---------------------------------------------------------- */

.md-footer-meta {
    height: 44px;
    min-height: 44px;
}

.md-footer-meta__inner {
    height: 44px;
    min-height: 44px;

    display: flex;
    align-items: center;

    padding-top: 0;
    padding-bottom: 0;
}


/* ----------------------------------------------------------
   Contenu HowMany / Forge
   ---------------------------------------------------------- */

.hm-forge-footer {
    width: 100%;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin: 0;
    padding: 0 12px;

    box-sizing: border-box;
}


/* ----------------------------------------------------------
   Texte
   ---------------------------------------------------------- */

.hm-forge-text {
    display: block;

    margin: 0;
    padding: 0;

    font-size: 0.58rem;
    line-height: 1.15;
    text-align: right;
    white-space: nowrap;
}


/* ----------------------------------------------------------
   Logo Forge
   ---------------------------------------------------------- */

.hm-forge-logo {
    display: block !important;

    width: auto !important;
    height: 27px !important;

    max-width: 120px !important;
    max-height: 27px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
}


/* ----------------------------------------------------------
   Réserve l'espace nécessaire en bas des pages afin que
   le footer fixe ne masque jamais le contenu.
   ---------------------------------------------------------- */

.md-main {
    padding-bottom: 44px;
}


/* ----------------------------------------------------------
   Petits écrans
   ---------------------------------------------------------- */

@media screen and (max-width: 600px) {

    .hm-forge-footer {
        gap: 8px;
        padding: 0 8px;
    }

    .hm-forge-text {
        font-size: 0.50rem;
        white-space: normal;
        text-align: right;
        max-width: 220px;
    }

    .hm-forge-logo {
        height: 23px !important;
        max-width: 100px !important;
        max-height: 23px !important;
    }

}