/* ==========================================================================
   MIRELIO PUBLIC WEBSITE - shared styles (header, footer, global polish)
   Scoped to body.mirelio-public, which functions.php adds only to Elementor /
   public pages (never to portal templates). Version 1 - Batch 1.
   ========================================================================== */
body.mirelio-public {
  --m-primary: #6D0E2B; --m-primary-hover: #560B22; --m-primary-50: #FAF3F5; --m-primary-100: #F3E6EA;
  --m-ink: #1F1A1C; --m-text: #4A4346; --m-muted: #6B6266; --m-border: #E8E3E4; --m-surface: #F6F4F3;
  --m-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--m-font); color: var(--m-text); -webkit-font-smoothing: antialiased;
}
body.mirelio-public ::selection { background: var(--m-primary); color: #fff; }
body.mirelio-public :where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--m-primary); outline-offset: 2px; }

/* ----- top contact strip ------------------------------------------------- */
body.mirelio-public .mirelio-topbar { background: var(--m-surface) !important; border-bottom: 1px solid var(--m-border); padding-top: 6px; padding-bottom: 6px; }
body.mirelio-public .mirelio-topbar .elementor-icon-list-text,
body.mirelio-public .mirelio-topbar .elementor-heading-title,
body.mirelio-public .mirelio-topbar .elementor-heading-title a { color: var(--m-text) !important; font-family: var(--m-font) !important; font-size: .8125rem !important; font-weight: 500 !important; }
body.mirelio-public .mirelio-topbar .elementor-icon-list-icon i,
body.mirelio-public .mirelio-topbar .elementor-icon-list-icon svg { color: var(--m-primary) !important; fill: var(--m-primary) !important; font-size: .8rem !important; }
body.mirelio-public .mirelio-topbar .elementor-heading-title a:hover { color: var(--m-primary) !important; }

/* ----- main header bar --------------------------------------------------- */
body.mirelio-public .mirelio-header { background: #fff !important; border-bottom: 1px solid var(--m-border); padding-top: 12px; padding-bottom: 12px; align-items: center; }
body.mirelio-public .mirelio-header .elementor-widget-image img { width: 168px !important; max-width: 100%; height: auto; }
body.mirelio-public .mirelio-header .elementor-nav-menu--main .elementor-item {
  font-family: var(--m-font) !important; font-size: .9375rem !important; font-weight: 500 !important;
  color: var(--m-ink) !important; text-transform: none !important; letter-spacing: 0; padding: 8px 14px !important;
}
body.mirelio-public .mirelio-header .elementor-nav-menu--main .elementor-item:hover,
body.mirelio-public .mirelio-header .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--m-primary) !important; }
body.mirelio-public .mirelio-header .elementor-nav-menu--main .elementor-item::after,
body.mirelio-public .mirelio-header .elementor-nav-menu--main .elementor-item::before { background-color: var(--m-primary) !important; }
body.mirelio-public .mirelio-header .elementor-menu-toggle { color: var(--m-primary) !important; background: transparent !important; }
body.mirelio-public .mirelio-header .elementor-menu-toggle svg { fill: var(--m-primary) !important; }
body.mirelio-public .elementor-nav-menu--dropdown { background: #fff !important; border: 1px solid var(--m-border); box-shadow: 0 12px 28px -14px rgba(31,26,28,.25); }
body.mirelio-public .elementor-nav-menu--dropdown .elementor-item { color: var(--m-ink) !important; font-family: var(--m-font) !important; font-weight: 500 !important; border-bottom: 1px solid var(--m-border); }
body.mirelio-public .elementor-nav-menu--dropdown .elementor-item:hover,
body.mirelio-public .elementor-nav-menu--dropdown .elementor-item.elementor-item-active { background: var(--m-primary-50) !important; color: var(--m-primary) !important; }

/* ----- buttons (header Login / Apply) ------------------------------------ */
body.mirelio-public .mirelio-btn-primary .elementor-button,
body.mirelio-public .mirelio-btn-secondary .elementor-button {
  font-family: var(--m-font) !important; font-size: .9rem !important; font-weight: 600 !important;
  border-radius: 8px !important; padding: 10px 20px !important; line-height: 1.2; box-shadow: none !important;
  text-transform: none !important; letter-spacing: 0; transition: background-color .15s, color .15s, border-color .15s;
}
body.mirelio-public .mirelio-btn-primary .elementor-button { background: var(--m-primary) !important; color: #fff !important; border: 1px solid var(--m-primary) !important; }
body.mirelio-public .mirelio-btn-primary .elementor-button:hover { background: var(--m-primary-hover) !important; border-color: var(--m-primary-hover) !important; color: #fff !important; }
body.mirelio-public .mirelio-btn-secondary .elementor-button { background: #fff !important; color: var(--m-primary) !important; border: 1px solid var(--m-primary) !important; }
body.mirelio-public .mirelio-btn-secondary .elementor-button:hover { background: var(--m-primary-50) !important; color: var(--m-primary-hover) !important; }

/* ----- footer ------------------------------------------------------------ */
body.mirelio-public .mirelio-footer { background: var(--m-surface) !important; border-top: 1px solid var(--m-border); padding-top: 56px; padding-bottom: 40px; }
body.mirelio-public .mirelio-footer .elementor-widget-image img { width: 168px !important; height: auto; }
body.mirelio-public .mirelio-footer .elementor-widget-text-editor,
body.mirelio-public .mirelio-footer .elementor-widget-text-editor p { color: var(--m-text) !important; font-family: var(--m-font) !important; font-size: .9375rem !important; line-height: 1.65 !important; }
body.mirelio-public .mirelio-footer .elementor-heading-title {
  color: var(--m-ink) !important; font-family: var(--m-font) !important; font-size: .78rem !important; font-weight: 600 !important;
  letter-spacing: .09em; text-transform: uppercase;
}
body.mirelio-public .mirelio-footer .elementor-divider-separator { border-top-color: var(--m-primary) !important; border-top-width: 2px !important; }
body.mirelio-public .mirelio-footer .elementor-icon-list-text,
body.mirelio-public .mirelio-footer .elementor-icon-list-item a { color: var(--m-text) !important; font-family: var(--m-font) !important; font-size: .9375rem !important; }
body.mirelio-public .mirelio-footer .elementor-icon-list-icon i { color: var(--m-primary) !important; }
body.mirelio-public .mirelio-footer .elementor-icon-list-item a:hover .elementor-icon-list-text { color: var(--m-primary) !important; }
body.mirelio-public .mirelio-footer .elementor-nav-menu .elementor-item { color: var(--m-text) !important; font-family: var(--m-font) !important; font-size: .9375rem !important; font-weight: 500 !important; padding: 6px 0 !important; }
body.mirelio-public .mirelio-footer .elementor-nav-menu .elementor-item:hover,
body.mirelio-public .mirelio-footer .elementor-nav-menu .elementor-item.elementor-item-active { color: var(--m-primary) !important; }
body.mirelio-public .mirelio-footer .elementor-nav-menu .elementor-item::after,
body.mirelio-public .mirelio-footer .elementor-nav-menu .elementor-item::before { display: none !important; }
body.mirelio-public .mirelio-footer .elementor-widget-google_maps iframe { border-radius: 10px; filter: grayscale(.35); }

body.mirelio-public .mirelio-footer-bar { background: var(--m-primary) !important; padding-top: 14px; padding-bottom: 14px; }
body.mirelio-public .mirelio-footer-bar,
body.mirelio-public .mirelio-footer-bar p,
body.mirelio-public .mirelio-footer-bar .elementor-widget-text-editor { color: #fff !important; font-family: var(--m-font) !important; font-size: .8125rem !important; margin: 0; }
body.mirelio-public .mirelio-footer-bar a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
body.mirelio-public .mirelio-footer-bar a:hover { text-decoration-thickness: 2px; }

/* ----- GTranslate floating switcher: brand colours only (function untouched) */
body.mirelio-public .gt_float_switcher { background-color: var(--m-primary) !important; color: #fff !important; border-radius: 10px !important; box-shadow: 0 6px 18px -8px rgba(31,26,28,.45) !important; }
body.mirelio-public .gt_float_switcher .gt-selected,
body.mirelio-public .gt_float_switcher .gt-selected .gt-current-lang { background-color: transparent !important; color: #fff !important; }
body.mirelio-public .gt_float_switcher .gt_options { background: #fff !important; border: 1px solid var(--m-border); border-radius: 10px; }
body.mirelio-public .gt_float_switcher .gt_options a { color: var(--m-ink) !important; }
body.mirelio-public .gt_float_switcher .gt_options a:hover { background: var(--m-primary-50) !important; color: var(--m-primary) !important; }

@media (max-width: 1024px) {
  body.mirelio-public .mirelio-header .elementor-widget-image img { width: 140px !important; }
  body.mirelio-public .mirelio-footer { padding-top: 40px; padding-bottom: 28px; }
}

/* ----- footer refinements (v1.1): icon size, list rhythm, no stray rule ---- */
body.mirelio-public .mirelio-footer { border-top: 0; }
body.mirelio-public .mirelio-footer .elementor-icon-list-icon { width: 1.5rem !important; }
body.mirelio-public .mirelio-footer .elementor-icon-list-icon i { font-size: 1rem !important; }
body.mirelio-public .mirelio-footer .elementor-icon-list-icon svg { width: 1rem !important; height: 1rem !important; }
body.mirelio-public .mirelio-footer .elementor-icon-list-item { padding-bottom: 6px; }
body.mirelio-public .mirelio-footer .elementor-nav-menu li { margin: 0 !important; }
body.mirelio-public .mirelio-footer .elementor-nav-menu .elementor-item { line-height: 1.5 !important; }

/* ----- footer refinements (v1.2): beat Elementor's per-element border/icon colour rules ---- */
body.mirelio-public .elementor-location-footer .mirelio-footer { border: 0 !important; box-shadow: none !important; }
body.mirelio-public .mirelio-footer .elementor-icon-list-icon,
body.mirelio-public .mirelio-footer .elementor-icon-list-icon i,
body.mirelio-public .mirelio-footer .elementor-icon-list-icon svg,
body.mirelio-public .mirelio-footer .elementor-icon-list-icon svg path { color: var(--m-primary) !important; fill: var(--m-primary) !important; }

/* ==========================================================================
   HOME PAGE (page 1348) - classes mh-*  (Batch 2)
   ========================================================================== */
body.mirelio-public .mh-section { padding: 88px 24px !important; }
body.mirelio-public .mh-section > .e-con-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
body.mirelio-public .mh-alt { background: var(--m-surface) !important; }
body.mirelio-public .mh-section .elementor-widget { margin: 0; }
body.mirelio-public .mh-section .elementor-widget-container { margin: 0; }

body.mirelio-public .mh-eyebrow, body.mirelio-public .mh-eyebrow p { margin: 0 !important; color: var(--m-primary) !important; font-size: .78rem !important; font-weight: 600 !important; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4 !important; }
body.mirelio-public .mh-section h1.elementor-heading-title,
body.mirelio-public .mh-section h2.elementor-heading-title { font-family: var(--m-font) !important; color: var(--m-ink) !important; letter-spacing: -.02em; font-weight: 700 !important; }
body.mirelio-public .mh-section h1.elementor-heading-title { font-size: clamp(2.1rem, 4.2vw, 3.35rem) !important; line-height: 1.1 !important; }
body.mirelio-public .mh-section h2.elementor-heading-title { font-size: clamp(1.65rem, 2.8vw, 2.25rem) !important; line-height: 1.18 !important; }
body.mirelio-public .mh-lead, body.mirelio-public .mh-lead p { color: var(--m-text) !important; font-size: 1.125rem !important; line-height: 1.65 !important; margin: 0 !important; max-width: 36rem; }
body.mirelio-public .mh-body, body.mirelio-public .mh-body p { color: var(--m-text) !important; font-size: 1.0625rem !important; line-height: 1.7 !important; margin: 0 !important; }
body.mirelio-public .mh-sub, body.mirelio-public .mh-sub p { color: var(--m-muted) !important; font-size: 1.0625rem !important; line-height: 1.6 !important; margin: 0 !important; }
body.mirelio-public .mh-note, body.mirelio-public .mh-note p { color: var(--m-muted) !important; font-size: .9rem !important; margin: 0 !important; }
body.mirelio-public .mh-note a { color: var(--m-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* hero */
body.mirelio-public .mh-hero { background: linear-gradient(180deg, #fff 0%, var(--m-primary-50) 100%) !important; padding-top: 96px !important; padding-bottom: 96px !important; }
body.mirelio-public .mh-hero > .e-con-inner { display: grid !important; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
body.mirelio-public .mh-hero-copy { display: flex; flex-direction: column; gap: 22px; }
body.mirelio-public .mh-actions { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 12px !important; align-items: center; }
body.mirelio-public .mh-actions-center { justify-content: center; }
body.mirelio-public .mh-center { display: flex; justify-content: center; margin-top: 8px; }

/* buttons */
body.mirelio-public .mh-btn .elementor-button { font-family: var(--m-font) !important; font-size: .975rem !important; font-weight: 600 !important; border-radius: 10px !important; padding: 14px 26px !important; line-height: 1.2; box-shadow: none !important; text-transform: none !important; transition: background-color .15s, color .15s, border-color .15s; }
body.mirelio-public .mh-btn-primary .elementor-button { background: var(--m-primary) !important; color: #fff !important; border: 1px solid var(--m-primary) !important; }
body.mirelio-public .mh-btn-primary .elementor-button:hover { background: var(--m-primary-hover) !important; border-color: var(--m-primary-hover) !important; }
body.mirelio-public .mh-btn-ghost .elementor-button { background: #fff !important; color: var(--m-primary) !important; border: 1px solid var(--m-primary) !important; }
body.mirelio-public .mh-btn-ghost .elementor-button:hover { background: var(--m-primary-50) !important; }
body.mirelio-public .mh-btn-light .elementor-button { background: #fff !important; color: var(--m-primary) !important; border: 1px solid #fff !important; }
body.mirelio-public .mh-btn-light .elementor-button:hover { background: var(--m-primary-100) !important; border-color: var(--m-primary-100) !important; }
body.mirelio-public .mh-btn-outline-light .elementor-button { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.7) !important; }
body.mirelio-public .mh-btn-outline-light .elementor-button:hover { background: rgba(255,255,255,.12) !important; border-color: #fff !important; }

/* hero visual: role overview card */
body.mirelio-public .mh-visual { background: #fff; border: 1px solid var(--m-border); border-radius: 18px; padding: 28px; box-shadow: 0 24px 48px -28px rgba(109,14,43,.28); }
body.mirelio-public .mh-visual-title { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--m-primary); margin-bottom: 16px; }
body.mirelio-public .mh-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
body.mirelio-public .mh-roles li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--m-border); border-radius: 12px; background: var(--m-surface); margin: 0; }
body.mirelio-public .mh-badge { flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--m-primary); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; }
body.mirelio-public .mh-roles strong { display: block; color: var(--m-ink); font-size: 1rem; margin-bottom: 2px; }
body.mirelio-public .mh-roles li span:not(.mh-badge) { display: block; color: var(--m-text); font-size: .9rem; line-height: 1.5; }
body.mirelio-public .mh-visual-foot { margin-top: 16px; font-size: .85rem; color: var(--m-muted); text-align: center; }

/* intro */
body.mirelio-public .mh-intro > .e-con-inner { display: grid !important; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
body.mirelio-public .mh-intro-copy { display: flex; flex-direction: column; gap: 18px; }
body.mirelio-public .mh-panel { background: var(--m-primary-50); border: 1px solid var(--m-primary-100); border-radius: 16px; padding: 28px; }
body.mirelio-public .mh-panel-title { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--m-primary); margin-bottom: 14px; }
body.mirelio-public .mh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
body.mirelio-public .mh-list li { position: relative; padding-left: 22px; margin: 0; color: var(--m-text); font-size: 1rem; line-height: 1.5; }
body.mirelio-public .mh-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--m-primary); }
body.mirelio-public .mh-list strong { color: var(--m-ink); }

/* section header */
body.mirelio-public .mh-sechead { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; margin-bottom: 40px; }

/* card grids */
body.mirelio-public .mh-grid { display: grid !important; gap: 20px !important; }
body.mirelio-public .mh-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.mirelio-public .mh-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.mirelio-public .mh-card { background: #fff; border: 1px solid var(--m-border); border-radius: 16px; padding: 28px 24px; transition: border-color .15s, box-shadow .15s; height: 100%; }
body.mirelio-public .mh-card:hover { border-color: #D9B3C0; box-shadow: 0 14px 30px -22px rgba(109,14,43,.45); }
body.mirelio-public .mh-card .elementor-icon-box-wrapper { text-align: left !important; display: flex; flex-direction: column; gap: 16px; }
body.mirelio-public .mh-card .elementor-icon-box-icon { margin: 0 !important; }
body.mirelio-public .mh-card .elementor-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--m-primary-50); color: var(--m-primary) !important; display: inline-flex !important; align-items: center; justify-content: center; font-size: 1.15rem !important; }
body.mirelio-public .mh-card .elementor-icon i { color: var(--m-primary) !important; font-size: 1.15rem !important; }
body.mirelio-public .mh-card .elementor-icon svg { fill: var(--m-primary) !important; width: 1.15rem; height: 1.15rem; }
body.mirelio-public .mh-card .elementor-icon-box-title { margin: 0 0 8px; font-size: 1.15rem !important; font-weight: 650 !important; color: var(--m-ink) !important; font-family: var(--m-font) !important; }
body.mirelio-public .mh-card .elementor-icon-box-description { color: var(--m-text) !important; font-size: .975rem !important; line-height: 1.6 !important; font-family: var(--m-font) !important; margin: 0; }

/* workspace areas */
body.mirelio-public .mh-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
body.mirelio-public .mh-area { border: 1px solid var(--m-border); border-radius: 16px; padding: 24px; background: #fff; border-top: 3px solid var(--m-primary); }
body.mirelio-public .mh-area h3 { margin: 0 0 14px; font-size: 1rem; font-weight: 650; color: var(--m-ink); font-family: var(--m-font); }
body.mirelio-public .mh-area ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.mirelio-public .mh-area li { margin: 0; padding: 8px 12px; background: var(--m-surface); border-radius: 8px; font-size: .9rem; color: var(--m-text); }

/* steps */
body.mirelio-public .mh-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
body.mirelio-public .mh-steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--m-border); border-radius: 16px; padding: 64px 20px 24px; margin: 0; }
body.mirelio-public .mh-steps li::before { content: counter(s); position: absolute; top: 20px; left: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--m-primary); color: #fff; font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
body.mirelio-public .mh-steps h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 650; color: var(--m-ink); font-family: var(--m-font); }
body.mirelio-public .mh-steps p { margin: 0; font-size: .925rem; line-height: 1.55; color: var(--m-text); }

/* final CTA */
body.mirelio-public .mh-cta { background: var(--m-primary) !important; padding-top: 80px !important; padding-bottom: 80px !important; }
body.mirelio-public .mh-cta-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 46rem; margin: 0 auto; }
body.mirelio-public .mh-cta h2.elementor-heading-title { color: #fff !important; }
body.mirelio-public .mh-cta-text, body.mirelio-public .mh-cta-text p { color: rgba(255,255,255,.88) !important; font-size: 1.125rem !important; line-height: 1.6 !important; margin: 0 !important; }

/* responsive */
@media (max-width: 1024px) {
  body.mirelio-public .mh-section { padding: 64px 20px !important; }
  body.mirelio-public .mh-hero > .e-con-inner, body.mirelio-public .mh-intro > .e-con-inner { grid-template-columns: 1fr; gap: 40px; }
  body.mirelio-public .mh-grid-4, body.mirelio-public .mh-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.mirelio-public .mh-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.mirelio-public .mh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.mirelio-public .mh-section { padding: 52px 18px !important; }
  body.mirelio-public .mh-hero { padding-top: 56px !important; padding-bottom: 56px !important; }
  body.mirelio-public .mh-grid-4, body.mirelio-public .mh-grid-3, body.mirelio-public .mh-areas, body.mirelio-public .mh-steps { grid-template-columns: 1fr; }
  body.mirelio-public .mh-actions .mh-btn, body.mirelio-public .mh-actions .mh-btn .elementor-button { width: 100%; text-align: center; }
  body.mirelio-public .mh-visual { padding: 20px; }
}

/* home: non-alternate sections are white (page background is warm grey) */
body.mirelio-public .mh-section:not(.mh-alt):not(.mh-hero):not(.mh-cta) { background: #fff !important; }

/* ==========================================================================
   ABOUT PAGE (page 348) - extra pieces; the rest reuses the mh-* Home classes
   ========================================================================== */
body.mirelio-public .mh-brandcard { background: #fff; border: 1px solid var(--m-border); border-radius: 18px; padding: 40px 32px 32px; box-shadow: 0 24px 48px -28px rgba(109,14,43,.28); text-align: center; }
body.mirelio-public .mh-brandcard img { width: 260px; max-width: 80%; height: auto; display: block; margin: 0 auto 28px; }
body.mirelio-public .mh-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
body.mirelio-public .mh-chips li { margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--m-primary-50); border: 1px solid var(--m-primary-100); color: var(--m-primary); font-size: .85rem; font-weight: 600; }

body.mirelio-public .mh-rows { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; gap: 16px; }
body.mirelio-public .mh-rows li { counter-increment: r; position: relative; background: #fff; border: 1px solid var(--m-border); border-radius: 16px; padding: 24px 28px 24px 88px; margin: 0; }
body.mirelio-public .mh-rows li::before { content: counter(r); position: absolute; left: 28px; top: 24px; width: 40px; height: 40px; border-radius: 12px; background: var(--m-primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
body.mirelio-public .mh-rows h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 650; color: var(--m-ink); font-family: var(--m-font); }
body.mirelio-public .mh-rows p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--m-text); max-width: 52rem; }

@media (max-width: 640px) {
  body.mirelio-public .mh-rows li { padding: 20px 20px 20px 72px; }
  body.mirelio-public .mh-rows li::before { left: 20px; top: 20px; }
  body.mirelio-public .mh-brandcard { padding: 28px 20px 24px; }
}

/* ==========================================================================
   HOW IT WORKS (page 403) - vertical timeline; the rest reuses the mh-* classes
   ========================================================================== */
body.mirelio-public .mh-timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; max-width: 860px; position: relative; }
body.mirelio-public .mh-timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--m-primary-100); }
body.mirelio-public .mh-timeline li { counter-increment: t; position: relative; padding: 0 0 22px 68px; margin: 0; }
body.mirelio-public .mh-timeline li:last-child { padding-bottom: 0; }
body.mirelio-public .mh-timeline li::before { content: counter(t); position: absolute; left: 0; top: 4px; width: 44px; height: 44px; border-radius: 50%; background: var(--m-primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--m-surface); }
body.mirelio-public .mh-tl-body { background: #fff; border: 1px solid var(--m-border); border-radius: 16px; padding: 22px 26px; }
body.mirelio-public .mh-tl-who { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--m-primary-50); border: 1px solid var(--m-primary-100); color: var(--m-primary); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
body.mirelio-public .mh-timeline h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 650; color: var(--m-ink); font-family: var(--m-font); }
body.mirelio-public .mh-timeline p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--m-text); }

@media (max-width: 640px) {
  body.mirelio-public .mh-timeline li { padding-left: 56px; }
  body.mirelio-public .mh-timeline::before { left: 17px; }
  body.mirelio-public .mh-timeline li::before { width: 36px; height: 36px; font-size: .9rem; }
  body.mirelio-public .mh-tl-body { padding: 18px 18px; }
}

/* ==========================================================================
   COMPACT FOOTER (mf-*) and PRIVACY POLICY presentation (mp-*)  - v2
   ========================================================================== */
body.mirelio-public .mf-footer { background: var(--m-surface) !important; border: 0 !important; border-top: 1px solid var(--m-border) !important; padding: 44px 24px 22px !important; }
body.mirelio-public .mf-footer > .e-con-inner { max-width: 1200px; margin: 0 auto; width: 100%; gap: 0; }
body.mirelio-public .mf-cols { display: grid !important; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px !important; padding-bottom: 28px; }
body.mirelio-public .mf-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
body.mirelio-public .mf-footer .elementor-widget { margin: 0; }
body.mirelio-public .mf-brand .elementor-widget-image img { width: 150px !important; height: auto; }
body.mirelio-public .mf-desc, body.mirelio-public .mf-desc p { margin: 0 !important; max-width: 24rem; color: var(--m-text) !important; font-family: var(--m-font) !important; font-size: .9375rem !important; line-height: 1.6 !important; }
body.mirelio-public .mf-head, body.mirelio-public .mf-head .elementor-heading-title { margin: 0 !important; color: var(--m-ink) !important; font-family: var(--m-font) !important; font-size: .76rem !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; }
body.mirelio-public .mf-links .elementor-icon-list-items { display: grid; gap: 6px; }
body.mirelio-public .mf-links .elementor-icon-list-icon { display: none !important; }
body.mirelio-public .mf-links .elementor-icon-list-item { padding: 0 !important; margin: 0 !important; }
body.mirelio-public .mf-links .elementor-icon-list-text, body.mirelio-public .mf-links a { color: var(--m-text) !important; font-family: var(--m-font) !important; font-size: .9375rem !important; font-weight: 500 !important; padding: 0 !important; transition: color .15s; }
body.mirelio-public .mf-links a:hover .elementor-icon-list-text, body.mirelio-public .mf-links a:hover { color: var(--m-primary) !important; text-decoration: underline; text-underline-offset: 3px; }
body.mirelio-public .mf-bottom { display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--m-border); }
body.mirelio-public .mf-copy, body.mirelio-public .mf-copy p, body.mirelio-public .mf-credit, body.mirelio-public .mf-credit p { margin: 0 !important; color: var(--m-muted) !important; font-family: var(--m-font) !important; font-size: .8125rem !important; }
body.mirelio-public .mf-credit a { color: var(--m-primary) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body.mirelio-public .mf-credit a:hover { color: var(--m-primary-hover) !important; }
@media (max-width: 800px) {
  body.mirelio-public .mf-footer { padding: 36px 20px 20px !important; }
  body.mirelio-public .mf-cols { grid-template-columns: 1fr 1fr; gap: 28px !important; }
  body.mirelio-public .mf-brand { grid-column: 1 / -1; }
  body.mirelio-public .mf-bottom { flex-direction: column !important; align-items: flex-start; gap: 6px; }
}

/* ----- Privacy Policy: layout and typography only ----- */
body.mirelio-public .mp-legal-head { background: var(--m-primary) !important; padding: 56px 24px 48px !important; }
body.mirelio-public .mp-title .elementor-heading-title { color: #fff !important; font-family: var(--m-font) !important; font-size: clamp(2rem, 4vw, 2.8rem) !important; font-weight: 700 !important; letter-spacing: -.02em; text-align: center; }
body.mirelio-public .mp-legal { background: #fff !important; padding: 56px 24px 72px !important; }
body.mirelio-public .mp-legal > .e-con-inner { max-width: 820px; margin: 0 auto; width: 100%; }
body.mirelio-public .mp-body, body.mirelio-public .mp-body p, body.mirelio-public .mp-body li { color: var(--m-text) !important; font-family: var(--m-font) !important; font-size: 1.0625rem !important; line-height: 1.8 !important; }
body.mirelio-public .mp-body p { margin: 0 0 16px !important; }
body.mirelio-public .mp-body h3 { color: var(--m-ink) !important; font-family: var(--m-font) !important; font-size: 1.3rem !important; font-weight: 650 !important; letter-spacing: -.01em; line-height: 1.3 !important; margin: 40px 0 12px !important; padding-top: 28px; border-top: 1px solid var(--m-border); }
body.mirelio-public .mp-body h3:first-of-type { margin-top: 8px !important; padding-top: 0; border-top: 0; }
body.mirelio-public .mp-body ul { margin: 0 0 18px; padding-left: 22px; }
body.mirelio-public .mp-body li { margin: 0 0 8px; }
body.mirelio-public .mp-body li::marker { color: var(--m-primary); }
body.mirelio-public .mp-body a { color: var(--m-primary) !important; text-decoration: underline; text-underline-offset: 3px; }
body.mirelio-public .mp-body strong { color: var(--m-ink); }
@media (max-width: 640px) {
  body.mirelio-public .mp-legal { padding: 36px 18px 48px !important; }
  body.mirelio-public .mp-legal-head { padding: 40px 18px 36px !important; }
  body.mirelio-public .mp-body, body.mirelio-public .mp-body p, body.mirelio-public .mp-body li { font-size: 1rem !important; }
}

/* footer: keep the credit clear of the floating language switcher (fixed, bottom-right) */
body.mirelio-public .mf-bottom { justify-content: flex-start !important; gap: 28px; flex-wrap: wrap; }
body.mirelio-public .mf-footer { padding-bottom: 64px !important; }
@media (max-width: 800px) { body.mirelio-public .mf-footer { padding-bottom: 76px !important; } body.mirelio-public .mf-bottom { gap: 6px; } }

/* ==========================================================================
   CLINIC REGISTRATION PAGE (page 29, app/general/register.php) - mreg-*
   Presentation only. Selectors are scoped to the page's own wrappers.
   ========================================================================== */
body.mirelio-public .mreg-band { background: linear-gradient(180deg, #fff 0%, var(--m-primary-50) 100%); border-bottom: 1px solid var(--m-border); padding: 52px 0 44px; }
body.mirelio-public .mreg-band .container { max-width: 1200px; }
body.mirelio-public .mreg-eyebrow { margin: 0 0 10px; color: var(--m-primary); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
body.mirelio-public .mreg-title { margin: 0 0 12px; color: var(--m-ink); font-family: var(--m-font); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
body.mirelio-public .mreg-lead { margin: 0; max-width: 40rem; color: var(--m-text); font-size: 1.125rem; line-height: 1.6; }

body.mirelio-public .mreg-wrap { max-width: 1200px; }
body.mirelio-public .mreg-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
body.mirelio-public .mreg-aside { display: grid; gap: 20px; position: sticky; top: 24px; }
body.mirelio-public .mreg-card { background: #fff; border: 1px solid var(--m-border); border-radius: 16px; padding: 24px; }
body.mirelio-public .mreg-card p { margin: 0 0 12px; color: var(--m-text); font-size: .95rem; line-height: 1.6; }
body.mirelio-public .mreg-h2 { margin: 0 0 12px; color: var(--m-ink); font-family: var(--m-font); font-size: 1.1rem; font-weight: 650; letter-spacing: -.005em; }
body.mirelio-public .mreg-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
body.mirelio-public .mreg-list li { position: relative; padding-left: 22px; color: var(--m-text); font-size: .94rem; line-height: 1.55; margin: 0; }
body.mirelio-public .mreg-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--m-primary); }
body.mirelio-public .mreg-steps { margin: 0; padding: 0; list-style: none; counter-reset: ms; display: grid; gap: 14px; }
body.mirelio-public .mreg-steps li { counter-increment: ms; position: relative; padding-left: 40px; color: var(--m-text); font-size: .94rem; line-height: 1.55; margin: 0; }
body.mirelio-public .mreg-steps li::before { content: counter(ms); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--m-primary); color: #fff; font-size: .82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* form card */
body.mirelio-public #RegisterApplicationForm { background: #fff; border: 1px solid var(--m-border); border-radius: 16px; padding: 32px 32px 24px; box-shadow: none; margin: 0 !important; }
body.mirelio-public .mreg-form-title { margin: 0 0 6px; color: var(--m-ink); font-family: var(--m-font); font-size: 1.5rem; font-weight: 700; letter-spacing: -.015em; }
body.mirelio-public .mreg-form-intro { margin: 0 0 8px; color: var(--m-muted); font-size: .95rem; line-height: 1.6; }
body.mirelio-public .mreg-group { margin: 26px 0 14px; padding: 0 0 10px; border-bottom: 1px solid var(--m-border); color: var(--m-primary); font-family: var(--m-font); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.mirelio-public #RegisterApplicationForm .form-label { margin-bottom: 6px; color: var(--m-ink); font-size: .86rem; font-weight: 600; }
body.mirelio-public #RegisterApplicationForm .text-danger { color: #B3261E !important; }
body.mirelio-public #RegisterApplicationForm .text-success { color: var(--m-muted) !important; font-weight: 400; }
body.mirelio-public #RegisterApplicationForm .form-control,
body.mirelio-public #RegisterApplicationForm .form-select { min-height: 46px; border-radius: 10px; border: 1px solid #D5CDD0; background-color: #fff; color: var(--m-ink); font-family: var(--m-font); font-size: .95rem; box-shadow: none; }
body.mirelio-public #RegisterApplicationForm .form-control::placeholder { color: #9A9094; }
body.mirelio-public #RegisterApplicationForm .form-control:focus,
body.mirelio-public #RegisterApplicationForm .form-select:focus { border-color: var(--m-primary); box-shadow: 0 0 0 3px rgba(109,14,43,.16); outline: none; }
body.mirelio-public #RegisterApplicationForm .form-control.is-invalid { border-color: #B3261E; }
body.mirelio-public #RegisterApplicationForm .form-control.is-valid { border-color: #1E7B4F; background-image: none; }
body.mirelio-public #RegisterApplicationForm .form-control:disabled, body.mirelio-public #RegisterApplicationForm .form-select:disabled { background-color: var(--m-surface); }
body.mirelio-public #RegisterApplicationForm .clinic-name-feedback, body.mirelio-public #RegisterApplicationForm .email-confirm-feedback, body.mirelio-public #RegisterApplicationForm .clinic-name-loading { margin-top: 6px; font-size: .82rem; }
body.mirelio-public #RegisterApplicationForm .input-group > .form-select { max-width: 40%; }
/* select2 (country, state, city, phone codes) */
body.mirelio-public #RegisterApplicationForm .select2-container { width: 100% !important; }
body.mirelio-public #RegisterApplicationForm .select2-container .select2-selection--single { height: 46px; border: 1px solid #D5CDD0; border-radius: 10px; display: flex; align-items: center; }
body.mirelio-public #RegisterApplicationForm .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; padding-left: 14px; color: var(--m-ink); font-size: .95rem; }
body.mirelio-public #RegisterApplicationForm .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
body.mirelio-public #RegisterApplicationForm .select2-container--default.select2-container--focus .select2-selection--single,
body.mirelio-public #RegisterApplicationForm .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--m-primary); box-shadow: 0 0 0 3px rgba(109,14,43,.16); }
body.mirelio-public .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--m-primary-50); color: var(--m-primary); }
body.mirelio-public .select2-dropdown { border: 1px solid var(--m-border); border-radius: 10px; font-family: var(--m-font); }
/* checkboxes and radios */
body.mirelio-public #RegisterApplicationForm .form-check { padding-left: 1.75rem; margin-bottom: 8px; min-height: 1.5rem; }
body.mirelio-public #RegisterApplicationForm .form-check-input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; border: 1px solid #B9AEB2; }
body.mirelio-public #RegisterApplicationForm .form-check-input:checked { background-color: var(--m-primary); border-color: var(--m-primary); }
body.mirelio-public #RegisterApplicationForm .form-check-input:focus { border-color: var(--m-primary); box-shadow: 0 0 0 3px rgba(109,14,43,.16); }
body.mirelio-public #RegisterApplicationForm .form-check-label { color: var(--m-text); font-size: .95rem; }
body.mirelio-public #RegisterApplicationForm hr { border-color: var(--m-border); opacity: 1; }
/* submit button and the script's "complete all fields" message */
body.mirelio-public #RegisterApplicationForm .mreg-submit { width: 100%; min-height: 50px; padding: 12px 24px; background: var(--m-primary) !important; border: 1px solid var(--m-primary) !important; border-radius: 10px; color: #fff !important; font-family: var(--m-font); font-size: 1rem; font-weight: 600; box-shadow: none; transition: background-color .15s, border-color .15s; }
body.mirelio-public #RegisterApplicationForm .mreg-submit:hover { background: var(--m-primary-hover) !important; border-color: var(--m-primary-hover) !important; }
body.mirelio-public #RegisterApplicationForm .mreg-submit:focus-visible { outline: 2px solid var(--m-primary); outline-offset: 3px; }
body.mirelio-public #RegisterApplicationForm .form-incomplete-message { margin-top: 20px !important; padding: 14px 18px; background: var(--m-surface); border: 1px solid var(--m-border); border-radius: 12px; }
body.mirelio-public #RegisterApplicationForm .form-incomplete-message p { margin: 0 !important; color: var(--m-text) !important; font-size: .95rem !important; font-weight: 500 !important; }
body.mirelio-public #RegisterApplicationForm .form-incomplete-message p.small { margin-top: 4px !important; color: var(--m-muted) !important; font-size: .85rem !important; font-weight: 400 !important; }
/* notices from the form handler and the referral notice */
body.mirelio-public .mreg-wrap > .alert { border-radius: 12px; font-size: .95rem; margin-bottom: 24px; }
body.mirelio-public .mreg-wrap > .alert-success { background: #F3F8F5; border: 1px solid #D7E8DE; border-left: 4px solid #1E7B4F; color: var(--m-ink); }
body.mirelio-public .mreg-wrap > .alert-danger, body.mirelio-public .mreg-wrap > .alert-warning { background: var(--m-primary-50); border: 1px solid var(--m-primary-100); border-left: 4px solid var(--m-primary); color: var(--m-ink); }
body.mirelio-public #RegisterApplicationForm .mreg-referral { background: var(--m-primary-50) !important; border: 1px solid var(--m-primary-100) !important; color: var(--m-ink) !important; border-radius: 12px !important; padding: 12px 18px !important; font-size: .95rem; }

@media (max-width: 1024px) {
  body.mirelio-public .mreg-layout { grid-template-columns: 1fr; gap: 24px; }
  body.mirelio-public .mreg-aside { position: static; order: 2; }
  body.mirelio-public .mreg-band { padding: 40px 0 32px; }
}
@media (max-width: 640px) {
  body.mirelio-public #RegisterApplicationForm { padding: 22px 16px 16px; border-radius: 14px; }
  body.mirelio-public .mreg-wrap { padding-left: 16px; padding-right: 16px; }
  body.mirelio-public .mreg-band .container { padding-left: 16px; padding-right: 16px; }
}

/* ----- registration round 2: inline phone code, helper text, privacy note, tall-viewport gap ----- */
/* the template closes the theme's #content wrapper early, so the empty wrapper must not grow to fill spare viewport height */
body.mirelio-public:has(.mreg-band) #content,
body.mirelio-public:has(.mreg-band) .site-content { flex: 0 0 auto !important; min-height: 0 !important; height: auto !important; }

body.mirelio-public #RegisterApplicationForm .input-group { flex-wrap: nowrap; align-items: stretch; }
body.mirelio-public #RegisterApplicationForm .input-group > .select2-container { flex: 0 0 38% !important; width: 38% !important; min-width: 0; }
body.mirelio-public #RegisterApplicationForm .input-group > .select2-container .select2-selection--single { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body.mirelio-public #RegisterApplicationForm .input-group > .form-control { flex: 1 1 auto; min-width: 0; margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; }
body.mirelio-public #RegisterApplicationForm .form-text { margin-top: 6px; color: var(--m-muted); font-size: .8rem; line-height: 1.45; }
body.mirelio-public #RegisterApplicationForm .mreg-note { margin: 14px 0 0; text-align: center; color: var(--m-muted); font-size: .85rem; }
body.mirelio-public #RegisterApplicationForm .mreg-note a { color: var(--m-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
