body.ebh-section-active .ct-header,
body.ebh-section-active #header,
body.ebh-section-active header.site-header { display:none !important; }

.ebh-header{--ebh-bg:#fff;--ebh-text:#0f172a;--ebh-accent:#16a34a;--ebh-cta:#fbbf24;--ebh-logo-desktop:58px;--ebh-logo-mobile:52px;--ebh-header-desktop:88px;--ebh-header-mobile:78px;--ebh-title-desktop:17px;--ebh-title-mobile:17px;--ebh-label-desktop:12px;--ebh-label-mobile:12px;--ebh-menu-font:13px;--ebh-mobile-menu-font:14px;--ebh-cta-font:13px;--ebh-font-family:inherit;position:relative;z-index:9998;background:var(--ebh-bg);color:var(--ebh-text);border-bottom:1px solid rgba(15,23,42,.08);box-shadow:0 10px 30px rgba(15,23,42,.05);direction:rtl;font-family:var(--ebh-font-family)}
.ebh-header.ebh-sticky{position:sticky;top:0}
body.admin-bar .ebh-header.ebh-sticky{top:32px}
.ebh-shell{width:min(1280px,calc(100% - 36px));min-height:var(--ebh-header-desktop);margin:auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:26px}
.ebh-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:var(--ebh-text)!important;min-width:max-content}
.ebh-logo{width:var(--ebh-logo-desktop);height:var(--ebh-logo-desktop);border-radius:16px;background:#fff;display:grid;place-items:center;padding:5px;box-sizing:border-box;box-shadow:0 8px 24px rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.06)}
.ebh-logo img{width:100%;height:100%;object-fit:contain;display:block}.ebh-logo-fallback{font-size:28px}
.ebh-brand-copy{display:flex;flex-direction:column;line-height:1.35}.ebh-brand-copy strong{font-size:var(--ebh-title-desktop);font-weight:800}.ebh-brand-copy small{font-size:var(--ebh-label-desktop);color:var(--ebh-accent);font-weight:700;margin-top:3px}
.ebh-nav{min-width:0}.ebh-menu{list-style:none;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:nowrap}.ebh-menu>li{position:relative;margin:0!important}.ebh-menu>li>a{display:flex;align-items:center;min-height:var(--ebh-header-desktop);padding:0 11px;color:var(--ebh-text)!important;text-decoration:none!important;font-size:var(--ebh-menu-font);font-weight:650;white-space:nowrap;transition:.18s}.ebh-menu>li>a:hover,.ebh-menu>.current-menu-item>a,.ebh-menu>.current-menu-ancestor>a{color:var(--ebh-accent)!important}
.ebh-menu .sub-menu{position:absolute;top:calc(100% - 8px);right:0;min-width:245px;padding:10px!important;margin:0!important;list-style:none;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:16px;box-shadow:0 22px 60px rgba(15,23,42,.14);opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;z-index:10}.ebh-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:none}.ebh-menu .sub-menu li{position:relative}.ebh-menu .sub-menu a{display:block;padding:10px 12px;border-radius:10px;color:#334155!important;text-decoration:none!important;font-size:13px;line-height:1.7}.ebh-menu .sub-menu a:hover{background:#f8fafc;color:var(--ebh-accent)!important}.ebh-menu .sub-menu .sub-menu{top:0;right:calc(100% + 8px)}
.ebh-actions{display:flex;align-items:center;gap:9px;min-width:max-content}.ebh-search-toggle,.ebh-mobile-toggle{border:0;background:transparent;color:var(--ebh-text);cursor:pointer}.ebh-search-toggle{width:38px;height:38px;border-radius:10px;font-size:24px;display:grid;place-items:center}.ebh-search-toggle:hover{background:#f1f5f9}.ebh-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border-radius:11px;background:var(--ebh-cta);color:#111827!important;text-decoration:none!important;font-size:var(--ebh-cta-font);font-weight:800;box-shadow:0 8px 20px color-mix(in srgb,var(--ebh-cta) 30%,transparent)}
.ebh-mobile-checkbox{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;overflow:hidden!important}.ebh-mobile-toggle{display:none;width:42px;height:42px;border-radius:11px;padding:10px;box-sizing:border-box}.ebh-mobile-toggle span{display:block;height:2px;background:currentColor;margin:5px 0;border-radius:10px}.ebh-mobile-toggle{cursor:pointer}
.ebh-search-panel{border-top:1px solid rgba(15,23,42,.06);background:var(--ebh-bg)}.ebh-search-inner{width:min(900px,calc(100% - 36px));margin:auto;padding:14px 0}.ebh-search-inner form{display:grid;grid-template-columns:1fr auto;gap:8px}.ebh-search-inner input{height:44px;border:1px solid #dbe3ee;border-radius:10px;padding:0 13px;font:inherit}.ebh-search-inner button{border:0;border-radius:10px;background:var(--ebh-accent);color:#fff;padding:0 18px;font:inherit;font-weight:700;cursor:pointer}
.ebh-mobile-panel,.ebh-backdrop{display:none}
.ebh-mobile-topbar{display:none}

@media(max-width:1120px){.ebh-shell{grid-template-columns:auto 1fr auto;gap:14px}.ebh-menu>li>a{padding:0 7px}.ebh-cta{padding:0 13px}}
@media(max-width:920px){
  /* موبایل: ساختار مستقل و پایدار — همبرگر راست، متن دقیقاً وسط، لوگو چپ. */
  .ebh-shell{
    width:100%!important;
    min-height:var(--ebh-header-mobile)!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    position:relative!important;
  }
  .ebh-brand,.ebh-nav,.ebh-actions{display:none!important}

  .ebh-mobile-topbar{
    width:100%!important;
    min-height:var(--ebh-header-mobile)!important;
    padding:0 12px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:var(--ebh-logo-mobile) minmax(0,1fr) 48px!important;
    grid-template-areas:"logo title menu"!important;
    align-items:center!important;
    direction:ltr!important;
    gap:8px!important;
  }
  .ebh-mobile-toggle-top{
    grid-area:menu!important;
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    justify-self:end!important;
    margin:0!important;
    padding:9px 10px!important;
    border:1px solid #e2e8f0!important;
    border-radius:12px!important;
    background:#fff!important;
    color:var(--ebh-text)!important;
    box-shadow:0 5px 18px rgba(15,23,42,.06)!important;
    box-sizing:border-box!important;
    cursor:pointer!important;
  }
  .ebh-mobile-toggle-top span{
    width:22px!important;height:2px!important;margin:2.5px 0!important;
    background:currentColor!important;border-radius:99px!important;display:block!important;
  }
  .ebh-mobile-brand-copy{
    grid-area:title!important;
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    text-decoration:none!important;
    color:var(--ebh-text)!important;
    direction:rtl!important;
    line-height:1.35!important;
  }
  .ebh-mobile-brand-copy strong{
    display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;
    white-space:nowrap!important;font-size:var(--ebh-title-mobile)!important;font-weight:850!important;text-align:center!important;
  }
  .ebh-mobile-brand-copy small{
    display:block!important;font-size:var(--ebh-label-mobile)!important;font-weight:800!important;color:var(--ebh-accent)!important;
    margin-top:2px!important;text-align:center!important;
  }
  .ebh-mobile-logo{
    grid-area:logo!important;
    width:var(--ebh-logo-mobile)!important;height:var(--ebh-logo-mobile)!important;justify-self:start!important;
    display:grid!important;place-items:center!important;
    padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;overflow:visible!important;
  }
  .ebh-mobile-logo img{
    width:100%!important;height:100%!important;object-fit:contain!important;display:block!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  }
  .ebh-mobile-logo .ebh-logo-fallback{font-size:26px!important}

  .ebh-mobile-panel{
    display:block;position:fixed;top:0;right:0;left:auto;width:min(390px,88vw);height:100dvh;
    background:#fff;z-index:10001;padding:0 18px 18px;box-sizing:border-box;
    transform:translateX(105%);transition:transform .24s ease;overflow:auto;color:#0f172a;direction:rtl;
  }
  .ebh-mobile-checkbox:checked~.ebh-mobile-panel{transform:translateX(0)}
  .ebh-backdrop{display:block;position:fixed;inset:0;background:rgba(2,6,23,.48);backdrop-filter:blur(2px);z-index:10000;opacity:0;transition:.2s;pointer-events:none;cursor:pointer}
  .ebh-mobile-checkbox:checked~.ebh-backdrop{opacity:1;pointer-events:auto}

  .ebh-mobile-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;min-height:70px;padding:0 0 10px;background:#fff;border-bottom:1px solid #eef2f7}
  .ebh-mobile-head strong{font-size:18px}.ebh-mobile-close{border:1px solid #e2e8f0;background:#f8fafc;color:#0f172a;width:40px;height:40px;border-radius:11px;font-size:28px;cursor:pointer;display:grid;place-items:center;line-height:1;font-family:Arial,sans-serif}

  .ebh-mobile-panel .ebh-menu{display:block}
  .ebh-mobile-panel .ebh-menu li{position:relative}
  .ebh-mobile-panel .ebh-menu>li>a,
  .ebh-mobile-panel .ebh-menu .sub-menu a{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:auto;padding:13px 4px;border-bottom:1px solid #eef2f7;border-radius:0;color:#0f172a!important;font-size:var(--ebh-mobile-menu-font);line-height:1.8;background:transparent!important}
  .ebh-mobile-panel .ebh-menu .sub-menu{display:none!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0 14px 5px!important;margin:0!important;min-width:0!important;background:#fbfdff!important}
  .ebh-mobile-panel .ebh-menu li.ebh-submenu-open > .sub-menu{display:block!important}
  .ebh-mobile-panel li.menu-item-has-children > a::after{content:'+';flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:#f1f5f9;color:#334155;display:grid;place-items:center;font-size:20px;font-weight:500;line-height:1}
  .ebh-mobile-panel li.menu-item-has-children.ebh-submenu-open > a::after{content:'−';background:color-mix(in srgb,var(--ebh-accent) 10%,#fff);color:var(--ebh-accent)}
  .ebh-mobile-panel .sub-menu .sub-menu{padding-right:14px!important;background:#fff!important}
  .ebh-mobile-cta{margin-top:18px;display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:12px;background:var(--ebh-cta);color:#111827!important;text-decoration:none!important;font-weight:800;font-size:var(--ebh-cta-font)}
}
@media(max-width:782px){body.admin-bar .ebh-header.ebh-sticky{top:46px}}
@media(max-width:520px){.ebh-mobile-topbar{padding:0 10px!important}.ebh-mobile-panel{width:92vw}}


/* ===== Footer اختصاصی انرژی برتر ===== */
body.ebh-section-active .ct-footer{display:none!important}
.ebh-footer{direction:rtl;background:var(--ebf-bg);color:var(--ebf-text);font-family:var(--ebh-font-family,inherit);margin-top:0}
.ebh-footer *{box-sizing:border-box}
.ebh-footer-main{width:min(1240px,calc(100% - 44px));margin:auto;padding:var(--ebf-pad-y) 0;display:grid;grid-template-columns:1.35fr .8fr .9fr .9fr;gap:34px;align-items:start}
.ebh-footer-brand{display:flex;gap:16px;align-items:flex-start}.ebh-footer-logo{flex:0 0 var(--ebf-logo);width:var(--ebf-logo);height:var(--ebf-logo);display:grid;place-items:center;background:#fff;border-radius:18px;padding:7px;text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.15)}.ebh-footer-logo img{width:100%;height:100%;object-fit:contain;display:block}.ebh-footer-brand h2{margin:2px 0 9px;color:var(--ebf-text);font-size:var(--ebf-title);line-height:1.55}.ebh-footer-brand p,.ebh-footer-col p{margin:0;color:var(--ebf-muted);font-size:var(--ebf-text-size);line-height:2}
.ebh-footer-col h3{margin:0 0 14px;color:var(--ebf-text);font-size:var(--ebf-heading);font-weight:800}.ebh-footer-menu{list-style:none;margin:0!important;padding:0!important;display:grid;gap:8px}.ebh-footer-menu li{margin:0!important}.ebh-footer-menu a,.ebh-footer-contact>a{display:inline-block;color:var(--ebf-link)!important;text-decoration:none!important;font-size:var(--ebf-text-size);line-height:1.8;transition:.18s}.ebh-footer-menu a:hover,.ebh-footer-contact>a:hover{color:var(--ebf-accent)!important}.ebh-footer-contact{display:grid;gap:8px}.ebh-footer-location{display:inline-flex!important;align-items:center;gap:6px;width:max-content;max-width:100%;padding:7px 10px;border:1px solid color-mix(in srgb,var(--ebf-accent) 38%,transparent);border-radius:9px;color:var(--ebf-text)!important;text-decoration:none!important;font-size:var(--ebf-text-size);font-weight:750;background:color-mix(in srgb,var(--ebf-accent) 8%,transparent)}.ebh-footer-location:hover{background:color-mix(in srgb,var(--ebf-accent) 15%,transparent);color:var(--ebf-text)!important}.ebh-footer-socials{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px}.ebh-footer-socials a{padding:6px 9px;border:1px solid var(--ebf-divider);border-radius:9px;color:var(--ebf-link)!important;text-decoration:none!important;font-size:11px}.ebh-footer-gateway p{margin-bottom:14px}.ebh-footer-gateway-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:11px;background:var(--ebf-accent);color:var(--ebf-button-text)!important;text-decoration:none!important;font-size:var(--ebf-text-size);font-weight:800}.ebh-footer-bottom{border-top:1px solid var(--ebf-divider);width:min(1240px,calc(100% - 44px));margin:auto;padding:17px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:var(--ebf-muted);font-size:calc(var(--ebf-text-size) - 1px)}.ebh-footer-section-mark{color:var(--ebf-accent);font-weight:800}
@media(max-width:980px){.ebh-footer-main{grid-template-columns:1fr 1fr}.ebh-footer-brand{grid-column:1/-1}.ebh-footer-bottom{flex-direction:column;text-align:center}}
@media(max-width:620px){.ebh-footer-main{width:min(100% - 30px,560px);grid-template-columns:1fr;gap:28px;padding:34px 0}.ebh-footer-brand{grid-column:auto;display:grid;text-align:center;justify-items:center}.ebh-footer-logo{width:min(var(--ebf-logo),76px);height:min(var(--ebf-logo),76px)}.ebh-footer-col{text-align:center}.ebh-footer-socials{justify-content:center}.ebh-footer-bottom{width:calc(100% - 30px);padding-bottom:20px}}

/* ===== Footer 0.6.1: neutral graphite + movable compact statistics ===== */
.ebh-footer{position:relative;isolation:isolate;border-top:3px solid var(--ebf-accent);background:var(--ebf-bg)!important;overflow:hidden}
.ebh-footer:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 12% 0%,rgba(255,255,255,.035),transparent 28%),linear-gradient(180deg,rgba(255,255,255,.012),rgba(0,0,0,.045))}
.ebh-footer-stats{width:min(1240px,calc(100% - 44px));margin:0 auto;color:var(--ebf-muted)}
.ebh-stats-style-compact{padding:14px 0;border-top:1px solid var(--ebf-divider);border-bottom:1px solid var(--ebf-divider);display:flex;flex-wrap:wrap;gap:0;align-items:center}
.ebh-stats-style-compact.ebh-stats-align-right{justify-content:flex-start}.ebh-stats-style-compact.ebh-stats-align-center{justify-content:center}.ebh-stats-style-compact.ebh-stats-align-left{justify-content:flex-end}
.ebh-stats-style-compact .ebh-stat-card{min-height:auto;padding:4px 18px;border:0;border-left:1px solid var(--ebf-divider);border-radius:0;background:transparent;display:flex;align-items:center;gap:7px;box-shadow:none;text-align:inherit;position:relative}
.ebh-stats-style-compact .ebh-stat-card:last-child{border-left:0}.ebh-stats-style-compact .ebh-stat-card strong{font-size:15px;line-height:1.2;color:var(--ebf-text);font-weight:900;font-variant-numeric:tabular-nums}.ebh-stats-style-compact .ebh-stat-card small{margin:0;color:var(--ebf-muted);font-size:11px;font-weight:700;white-space:nowrap}.ebh-stats-style-compact .ebh-stat-online .ebh-stat-icon{position:static;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:var(--ebf-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--ebf-accent) 14%,transparent)}
.ebh-stats-style-cards{padding:18px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ebh-stats-style-cards .ebh-stat-card{min-height:76px;padding:12px 14px;border:1px solid var(--ebf-divider);border-radius:13px;background:rgba(255,255,255,.025);display:grid;align-content:center;justify-items:center;text-align:center}.ebh-stats-style-cards .ebh-stat-card strong{font-size:20px;line-height:1.15;color:var(--ebf-text);font-weight:900}.ebh-stats-style-cards .ebh-stat-card small{margin-top:4px;color:var(--ebf-muted);font-size:11px;font-weight:700}.ebh-stats-style-cards .ebh-stat-online{position:relative}.ebh-stats-style-cards .ebh-stat-online .ebh-stat-icon{position:absolute;top:11px;right:11px;width:7px;height:7px;border-radius:50%;background:var(--ebf-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--ebf-accent) 14%,transparent)}
.ebh-footer-designer{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:center}.ebh-footer-designer a{color:var(--ebf-accent)!important;text-decoration:none!important;font-weight:800}.ebh-footer-designer b{color:var(--ebf-text);font-weight:800}
.ebh-footer-bottom{display:grid!important;grid-template-columns:1fr auto 1fr!important}.ebh-footer-bottom>.ebh-footer-section-mark{justify-self:end}.ebh-footer-bottom>.ebh-footer-designer{justify-self:center}
@media(max-width:980px){.ebh-stats-style-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.ebh-footer-bottom{grid-template-columns:1fr!important;justify-items:center!important}.ebh-footer-bottom>*{justify-self:center!important}}
@media(max-width:620px){.ebh-footer-stats{width:calc(100% - 30px)}.ebh-stats-style-compact{padding:11px 0;display:grid;grid-template-columns:1fr 1fr;justify-items:stretch}.ebh-stats-style-compact .ebh-stat-card{justify-content:center;padding:7px 8px;border-left:0;border-bottom:1px solid var(--ebf-divider)}.ebh-stats-style-compact .ebh-stat-card:nth-last-child(-n+2){border-bottom:0}.ebh-stats-style-compact .ebh-stat-card strong{font-size:14px}.ebh-stats-style-compact .ebh-stat-card small{font-size:10px}.ebh-stats-style-cards{grid-template-columns:1fr 1fr;gap:8px;padding:14px 0}.ebh-stats-style-cards .ebh-stat-card{min-height:68px;border-radius:11px;padding:10px 7px}}

/* v0.7.3 - compact embedded map preview in footer contact column */
.ebh-footer-map{position:relative;width:100%;max-width:310px;height:var(--ebh-map-height,145px);margin-top:6px;border:1px solid var(--ebf-divider);border-radius:12px;overflow:hidden;background:color-mix(in srgb,var(--ebf-text) 5%,transparent)}
.ebh-footer-map iframe{display:block;width:100%;height:100%;border:0;filter:saturate(.82) contrast(.96)}
.ebh-footer-map-open{position:absolute;right:8px;bottom:8px;display:inline-flex!important;align-items:center;justify-content:center;min-height:30px;padding:5px 9px;border-radius:8px;background:color-mix(in srgb,var(--ebf-bg) 88%,transparent);backdrop-filter:blur(7px);border:1px solid color-mix(in srgb,var(--ebf-accent) 35%,transparent);color:var(--ebf-button-text)!important;text-decoration:none!important;font-size:11px!important;font-weight:750;box-shadow:0 4px 14px rgba(0,0,0,.14)}
.ebh-footer-map-open:hover{background:var(--ebf-accent);color:var(--ebf-button-text)!important}
@media(max-width:720px){.ebh-footer-map{max-width:none;height:min(var(--ebh-map-height,145px),180px)}}

/* 0.7.5 — flexible footer map placement */
.ebh-map-position-separate .ebh-footer-main{grid-template-columns:1.25fr .72fr .86fr .95fr .8fr;gap:26px}
.ebh-footer-map-wrap{min-width:0}.ebh-footer-map-wrap .ebh-footer-map{margin-top:0}
.ebh-map-in-contact .ebh-footer-map{margin-top:6px}
.ebh-footer-map-column .ebh-footer-map{max-width:100%}
.ebh-map-below-columns,.ebh-map-before-bottom{width:min(1240px,calc(100% - 44px));margin:0 auto;padding:14px 0 18px}
.ebh-map-below-columns .ebh-footer-map,.ebh-map-before-bottom .ebh-footer-map{max-width:100%;height:min(var(--ebh-map-height,145px),220px)}
.ebh-map-below-columns .ebh-footer-location,.ebh-map-before-bottom .ebh-footer-location{margin-inline:auto}
@media(max-width:1100px){.ebh-map-position-separate .ebh-footer-main{grid-template-columns:1fr 1fr}.ebh-map-position-separate .ebh-footer-brand{grid-column:1/-1}.ebh-footer-map-column .ebh-footer-map{max-width:none}}
@media(max-width:620px){.ebh-map-position-separate .ebh-footer-main{grid-template-columns:1fr}.ebh-map-position-separate .ebh-footer-brand{grid-column:auto}.ebh-map-below-columns,.ebh-map-before-bottom{width:calc(100% - 30px)}.ebh-map-below-columns .ebh-footer-map,.ebh-map-before-bottom .ebh-footer-map{height:min(var(--ebh-map-height,145px),180px)}}

/* 0.7.7 — map directly under logo + intro block */
.ebh-map-position-brand .ebh-footer-brand{
  display:grid;
  grid-template-columns:var(--ebf-logo) minmax(0,1fr);
  column-gap:16px;
  row-gap:12px;
  align-items:start;
}
.ebh-map-position-brand .ebh-footer-brand-copy{min-width:0}
.ebh-map-position-brand .ebh-map-under-brand{grid-column:1/-1;min-width:0;width:100%;margin-top:2px}
.ebh-map-position-brand .ebh-map-under-brand .ebh-footer-map{max-width:100%;margin-top:0}
.ebh-map-position-brand .ebh-map-under-brand .ebh-footer-location{margin-top:0}
@media(max-width:620px){
  .ebh-map-position-brand .ebh-footer-brand{grid-template-columns:1fr;justify-items:center;text-align:center}
  .ebh-map-position-brand .ebh-map-under-brand{grid-column:auto;width:100%}
  .ebh-map-position-brand .ebh-map-under-brand .ebh-footer-map{width:100%;max-width:none}
  .ebh-map-position-brand .ebh-map-under-brand .ebh-footer-location{margin-inline:auto}
}

/* 0.7.8 — responsive footer polish: tighter mobile/tablet rhythm */
.ebh-footer-main > *{min-width:0}

@media (min-width:621px) and (max-width:980px){
  .ebh-footer-main{
    width:min(100% - 36px,900px);
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:24px 30px;
    padding:32px 0 28px;
  }
  .ebh-footer-brand{grid-column:auto!important}
  .ebh-map-position-brand .ebh-footer-brand{
    align-content:start;
  }
  .ebh-footer-map{max-width:100%}
  .ebh-footer-bottom,
  .ebh-footer-stats{width:min(100% - 36px,900px)}
  .ebh-footer-gateway p{margin-bottom:10px}
}

@media (max-width:620px){
  .ebh-footer-main{
    width:min(100% - 28px,560px);
    gap:19px;
    padding:26px 0 20px;
  }
  .ebh-footer-brand{
    gap:10px;
    padding-bottom:2px;
  }
  .ebh-footer-logo{
    width:min(var(--ebf-logo),68px)!important;
    height:min(var(--ebf-logo),68px)!important;
    border-radius:15px;
    padding:6px;
  }
  .ebh-footer-brand h2{
    margin:0 0 6px;
    line-height:1.5;
  }
  .ebh-footer-brand p,.ebh-footer-col p{line-height:1.85}
  .ebh-footer-col{
    padding-top:15px;
    border-top:1px solid var(--ebf-divider);
  }
  .ebh-footer-col h3{margin-bottom:10px}
  .ebh-footer-menu{gap:5px}
  .ebh-footer-menu a,.ebh-footer-contact>a{line-height:1.65}
  .ebh-footer-contact{gap:6px}
  .ebh-footer-gateway p{margin-bottom:9px}
  .ebh-footer-gateway-btn{
    min-height:38px;
    padding:0 12px;
    border-radius:10px;
  }
  .ebh-map-position-brand .ebh-map-under-brand{margin-top:0}
  .ebh-footer-map{
    width:100%;
    max-width:none;
    height:clamp(115px,var(--ebh-map-height,145px),155px);
    border-radius:10px;
  }
  .ebh-footer-map-open{
    right:7px;
    bottom:7px;
    min-height:28px;
    padding:4px 8px;
    border-radius:7px;
    font-size:10px!important;
  }
  .ebh-footer-stats{
    width:calc(100% - 28px);
    margin-top:2px;
  }
  .ebh-stats-style-compact{
    padding:8px 0;
  }
  .ebh-stats-style-compact .ebh-stat-card{
    padding:6px 6px;
    gap:5px;
  }
  .ebh-footer-bottom{
    width:calc(100% - 28px);
    padding:12px 0 15px;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px 12px;
    align-items:center;
    font-size:10.5px;
    line-height:1.65;
  }
  .ebh-footer-bottom>span:first-child{
    justify-self:start!important;
    text-align:right;
  }
  .ebh-footer-bottom>.ebh-footer-designer{
    justify-self:end!important;
    text-align:left;
  }
  .ebh-footer-bottom>.ebh-footer-section-mark{
    grid-column:1/-1;
    justify-self:center!important;
    margin-top:1px;
  }
}

@media (max-width:390px){
  .ebh-footer-main{width:calc(100% - 24px)}
  .ebh-footer-stats,.ebh-footer-bottom{width:calc(100% - 24px)}
  .ebh-footer-bottom{font-size:10px;gap:7px 9px}
}
