/* Mistral Express slogan under the logo (owner request 2026-11-11).
   Markup: web/shared/brand_tagline.php. Strong selectors: the sidebars and
   the legacy themes restyle spans with !important. */

html body .me-tagline {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    background: none !important;
    border: 0 !important;
}

html body .me-tagline .me-tagline__ar {
    display: block !important;
    font-family: "Segoe UI", "Noto Sans Arabic", Tahoma, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #d7192a !important;
    white-space: nowrap !important;
}

html body .me-tagline .me-tagline__fr {
    display: block !important;
    font-family: "Manrope", "Segoe UI", Arial, sans-serif !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase !important;
    color: #5f5b52 !important;
    white-space: nowrap !important;
}

html body .me-tagline--light .me-tagline__ar { color: #ff5a66 !important; }
html body .me-tagline--light .me-tagline__fr { color: rgba(255, 255, 255, .78) !important; }

/* Compact version in the side menus. */
html body .me-tagline--menu { margin-top: 3px !important; }
html body .me-tagline--menu .me-tagline__ar { font-size: 11px !important; }
html body .me-tagline--menu .me-tagline__fr { font-size: 8px !important; letter-spacing: .14em !important; }

/* A collapsed side menu shows the badge only. */
html body #sidebar.ax-sb.collapsed .me-tagline,
html body.ax-sb-collapsed .ax-sb .me-tagline,
html body #trioSidebar.collapsed .me-tagline,
html body.colis-sidebar-collapsed .colis-sidebar .me-tagline { display: none !important; }

/* Admin menu: the brand band grows with the slogan (fixed 84px before). */
html body #sidebar.ax-sb:not(.collapsed) .ax-sb__brand {
    height: auto !important;
    min-height: 84px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Login pages: larger, under the large logo. */
html body .brand-identity { position: relative; z-index: 1; }
html body .brand-identity .me-tagline { margin-top: 8px !important; }
html body .brand-identity .me-tagline__ar { font-size: 17px !important; }
html body .brand-identity .me-tagline__fr { font-size: 10.5px !important; }

/* Seller side menu (owner request 2026-11-12): the logo sits on the yellow
   brand band, so the slogan is dark red / black, centred under the logo,
   the French line framed by two short red strokes. */
html body .me-tagline--band {
    align-self: stretch !important;
    align-items: center !important;
    max-width: 236px !important;
    margin-top: 2px !important;
    gap: 3px !important;
    text-align: center !important;
}
html body .me-tagline--band .me-tagline__ar {
    font-size: 13px !important;
    line-height: 1.2 !important;
    color: #b3121f !important;
}
html body .me-tagline--band .me-tagline__fr {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 8.5px !important;
    letter-spacing: .24em !important;
    color: #1a1a1a !important;
}
html body .me-tagline--band .me-tagline__fr::before,
html body .me-tagline--band .me-tagline__fr::after {
    content: "" !important;
    flex: 0 0 16px !important;
    height: 1.5px !important;
    border-radius: 2px !important;
    background: #d7192a !important;
}
