.hmat-header-mount{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin:0 6px 0 0;line-height:1}.hmat-header-mount[hidden]{display:none!important}.hmat-header-mount.is-mounted{display:inline-flex}.hmat-language-switcher{position:relative;display:inline-flex;align-items:center;justify-content:center;font:inherit;direction:ltr;z-index:9999;vertical-align:middle}.hmat-language-current{appearance:none;width:40px;height:40px;min-width:40px;min-height:40px;border:1px solid #dfe5e7;background:#fff;color:#111827;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;border-radius:999px;line-height:1;box-shadow:0 1px 2px rgba(15,23,42,.035);transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}.hmat-language-current:hover,.hmat-language-switcher.is-open .hmat-language-current{border-color:#c7d2d6;background:#fbfcfc;box-shadow:0 3px 10px rgba(15,23,42,.07)}.hmat-language-current:active{transform:translateY(1px)}.hmat-language-current:focus-visible{outline:2px solid rgba(0,143,140,.28);outline-offset:2px}.hmat-globe{display:block;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.hmat-language-menu{position:absolute;top:calc(100% + 9px);right:0;min-width:164px;padding:6px;background:#fff;color:#202124;border:1px solid rgba(0,0,0,.09);border-radius:12px;box-shadow:0 14px 38px rgba(20,30,35,.14);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .14s ease,transform .14s ease,visibility .14s;pointer-events:none}.hmat-language-switcher.is-open .hmat-language-menu{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}.hmat-language-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-radius:8px;color:inherit!important;text-decoration:none!important;font-size:14px;line-height:1.25;white-space:nowrap}.hmat-language-option:hover{background:#f4f7f7}.hmat-language-option.is-active{font-weight:650;background:#f1f7f7}.hmat-check{color:#008f8c;font-weight:700}
.hmat-translate-prompt{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);width:min(760px,calc(100vw - 28px));box-sizing:border-box;z-index:99999;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:14px;padding:14px 16px;background:rgba(255,255,255,.97);color:#182224;border:1px solid rgba(0,0,0,.09);border-radius:16px;box-shadow:0 18px 55px rgba(10,25,30,.18);backdrop-filter:blur(14px)}.hmat-prompt-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.hmat-prompt-copy strong{font-size:14px;line-height:1.3}.hmat-prompt-copy span{font-size:12px;line-height:1.45;opacity:.66}.hmat-translate-now,.hmat-login-to-translate{border:0;border-radius:10px;background:#008f8c;color:#fff;padding:10px 14px;font:inherit;font-size:13px;font-weight:650;cursor:pointer;white-space:nowrap}.hmat-translate-now:hover,.hmat-login-to-translate:hover{filter:brightness(.95)}.hmat-translate-now:disabled{opacity:.62;cursor:wait}.hmat-login-to-translate{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important}.hmat-login-to-translate:focus-visible{outline:3px solid rgba(0,143,140,.18);outline-offset:2px}.hmat-target-badge{font-size:12px;font-weight:650;padding:5px 8px;border-radius:999px;background:#edf6f5;color:#087b78;white-space:nowrap}.hmat-prompt-close{position:absolute;top:-9px;right:-9px;width:25px;height:25px;border-radius:50%;border:1px solid rgba(0,0,0,.1);background:#fff;color:#576164;box-shadow:0 4px 14px rgba(0,0,0,.08);cursor:pointer;font-size:17px;line-height:20px;padding:0}.hmat-translate-prompt[data-lang="ar"] .hmat-prompt-copy,.hmat-translate-prompt[data-lang="fa"] .hmat-prompt-copy{direction:rtl;text-align:right}.hmat-translate-prompt[data-lang="zh"] .hmat-prompt-copy{direction:ltr;text-align:left}
.hmat-loading-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(248,250,250,.78);backdrop-filter:blur(7px);opacity:0;visibility:hidden;transition:opacity .18s ease,visibility .18s ease}.hmat-loading-overlay.is-visible{opacity:1;visibility:visible}.hmat-loading-card{width:min(390px,calc(100vw - 36px));display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 28px 27px;border:1px solid rgba(15,23,42,.08);border-radius:20px;background:rgba(255,255,255,.96);box-shadow:0 24px 70px rgba(15,23,42,.14);color:#172125}.hmat-loading-mark{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;margin-bottom:17px;border:1px solid rgba(0,143,140,.15);background:#f4fbfa;position:relative}.hmat-loading-mark:before,.hmat-loading-mark span{content:"";position:absolute;border-radius:50%}.hmat-loading-mark:before{width:24px;height:24px;border:2px solid rgba(0,143,140,.18);border-top-color:#008f8c;animation:hmat-spin .9s linear infinite}.hmat-loading-mark span{width:5px;height:5px;background:#008f8c}.hmat-loading-title{font-size:16px;line-height:1.45;font-weight:700}.hmat-loading-note{margin-top:6px;color:#687478;font-size:12.5px;line-height:1.55}.hmat-loading-line{width:100%;height:3px;border-radius:999px;background:#e8eeee;overflow:hidden;margin-top:20px}.hmat-loading-line i{display:block;width:38%;height:100%;border-radius:999px;background:#008f8c;animation:hmat-progress 1.4s ease-in-out infinite}body.hmat-lang-ar .hmat-loading-card,body.hmat-lang-fa .hmat-loading-card{direction:rtl}html.hmat-is-preparing,html.hmat-is-preparing body{overflow:hidden!important}@keyframes hmat-spin{to{transform:rotate(360deg)}}@keyframes hmat-progress{0%{transform:translateX(-120%)}50%{transform:translateX(165%)}100%{transform:translateX(330%)}}
.hmat-error-toast{position:fixed;left:50%;bottom:24px;z-index:2147483001;transform:translate(-50%,14px);max-width:min(520px,calc(100vw - 28px));padding:11px 15px;border-radius:12px;background:#202829;color:#fff;font-size:13px;line-height:1.45;box-shadow:0 12px 34px rgba(0,0,0,.18);opacity:0;transition:opacity .18s ease,transform .18s ease}.hmat-error-toast.is-visible{opacity:1;transform:translate(-50%,0)}
body.hmat-lang-ar .hmat-language-switcher,body.hmat-lang-ar .site-header,body.hmat-lang-fa .hmat-language-switcher,body.hmat-lang-fa .site-header{direction:ltr;text-align:left}body.hmat-lang-ar .hmat-loading-card,body.hmat-lang-ar .hmat-translate-now,body.hmat-lang-ar .hmat-login-to-translate,body.hmat-lang-fa .hmat-loading-card,body.hmat-lang-fa .hmat-translate-now,body.hmat-lang-fa .hmat-login-to-translate{direction:rtl}
body.hmat-lang-ar :where(.entry-content,.site-main,main) :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption,label),body.hmat-lang-fa :where(.entry-content,.site-main,main) :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption,label){direction:rtl;text-align:right;unicode-bidi:isolate}
body.hmat-lang-ar :where(.hnh1__statement,.hnh1__eyebrow,.hnh1__description,.hnh1__search-kicker,.hnh1__popular),body.hmat-lang-fa :where(.hnh1__statement,.hnh1__eyebrow,.hnh1__description,.hnh1__search-kicker,.hnh1__popular){direction:rtl;text-align:right;unicode-bidi:isolate}
body.hmat-lang-ar .hnh1__statement,body.hmat-lang-ar .hnh1__popular,body.hmat-lang-fa .hnh1__statement,body.hmat-lang-fa .hnh1__popular{justify-content:flex-start}
body.hmat-lang-ar .hmat-rtl-text,body.hmat-lang-fa .hmat-rtl-text{direction:rtl!important;text-align:right;unicode-bidi:isolate}
@media(max-width:720px){.hmat-language-current{width:38px;height:38px;min-width:38px;min-height:38px}.hmat-language-menu{right:0;left:auto}.hmat-translate-prompt{grid-template-columns:1fr auto;gap:10px;padding:13px 14px;bottom:14px}.hmat-target-badge{display:none}.hmat-prompt-copy span{display:none}.hmat-translate-now,.hmat-login-to-translate{padding:9px 11px;font-size:12px}.hmat-loading-card{padding:26px 20px 23px}}

/* Persian typography and Home Hero phrase grammar — v2.0.7 */
body.hmat-lang-fa{
  --hmat-fa-font:Vazir,Vazirmatn,Tahoma,Arial,sans-serif;
  font-family:var(--hmat-fa-font);
}
body.hmat-lang-fa :where(.site-header,.site-main,main,.entry-content,.site-footer,.hmat-translate-prompt,.hmat-loading-card){
  font-family:var(--hmat-fa-font);
}
body.hmat-lang-fa .hmat-rtl-text,
body.hmat-lang-fa .hnh1 :where(.hnh1__title,.hnh1__statement,.hnh1__statement-label,.hnh1__word,.hnh1__description,.hnh1__search-kicker,.hnh1__search-input,.hnh1__search-button,.hnh1__popular){
  font-family:var(--hmat-fa-font)!important;
  letter-spacing:0!important;
}
/* Keep the English brand eyebrow visually distinct. */
body.hmat-lang-fa .hnh1__eyebrow{
  font-family:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace!important;
}
body.hmat-lang-fa .hnh1__statement{
  direction:rtl;
  text-align:right;
  justify-content:flex-start;
}
body.hmat-lang-fa .hnh1__word-slot{
  order:-1;
  min-width:0!important;
  width:auto!important;
  flex:0 0 auto!important;
  justify-content:flex-start;
  text-align:right;
}
body.hmat-lang-fa .hnh1__statement{
  gap:.28em!important;
}
body.hmat-lang-fa .hnh1__statement-label{
  order:0;
}
body.hmat-lang-fa .hnh1__word::after{
  margin-left:0;
  margin-right:6px;
}

/* 2.0.8 — stable mixed-direction typography. Keep RTL blocks RTL even when a Latin brand/term appears inside them. */
body.hmat-lang-ar :where(.entry-content,.site-main,main) :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption,label),
body.hmat-lang-fa :where(.entry-content,.site-main,main) :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption,label),
body.hmat-lang-ar :where(.hnh1__statement,.hnh1__eyebrow,.hnh1__description,.hnh1__search-kicker,.hnh1__popular),
body.hmat-lang-fa :where(.hnh1__statement,.hnh1__eyebrow,.hnh1__description,.hnh1__search-kicker,.hnh1__popular){unicode-bidi:isolate}



/* 2.0.15 — safe component-level RTL for Global Header v7.
   The main Hormuz grid/header shell remains LTR; only self-contained navigation
   surfaces are mirrored so Arabic/Persian reading order improves without
   destabilizing Kadence layout geometry. */
@media (min-width:1101px){
  body.hmat-lang-ar.hgv7 .hgv7-mega__inner,
  body.hmat-lang-fa.hgv7 .hgv7-mega__inner{direction:rtl}
  body.hmat-lang-ar.hgv7 .hgv7-mega__intro,
  body.hmat-lang-fa.hgv7 .hgv7-mega__intro{
    padding:4px 0 4px 30px;
    border-right:0;
    border-left:1px solid var(--hgv7-line);
    text-align:right;
  }
  body.hmat-lang-ar.hgv7 .hgv7-mega__item,
  body.hmat-lang-fa.hgv7 .hgv7-mega__item{direction:rtl;text-align:right}
  body.hmat-lang-ar.hgv7 .hgv7-mega__item:hover .hgv7-mega__arrow,
  body.hmat-lang-ar.hgv7 .hgv7-mega__item:focus-visible .hgv7-mega__arrow,
  body.hmat-lang-fa.hgv7 .hgv7-mega__item:hover .hgv7-mega__arrow,
  body.hmat-lang-fa.hgv7 .hgv7-mega__item:focus-visible .hgv7-mega__arrow{transform:translateX(-2px)}
  body.hmat-lang-ar.hgv7 .hgv7-search-panel__input,
  body.hmat-lang-fa.hgv7 .hgv7-search-panel__input{direction:rtl;text-align:right}
  body.hmat-lang-ar.hgv7 .hgv7-search-panel__quick,
  body.hmat-lang-fa.hgv7 .hgv7-search-panel__quick{direction:rtl;text-align:right}
}
body.hmat-lang-ar.hgv7 .hg-header-nav .kb-link-wrap>a,
body.hmat-lang-fa.hgv7 .hg-header-nav .kb-link-wrap>a{unicode-bidi:isolate}
body.hmat-lang-ar.hgv7 .hgv7-mega__eyebrow,
body.hmat-lang-ar.hgv7 .hgv7-mega__title,
body.hmat-lang-ar.hgv7 .hgv7-mega__copy,
body.hmat-lang-ar.hgv7 .hgv7-mega__item-title,
body.hmat-lang-ar.hgv7 .hgv7-mega__item-copy,
body.hmat-lang-fa.hgv7 .hgv7-mega__eyebrow,
body.hmat-lang-fa.hgv7 .hgv7-mega__title,
body.hmat-lang-fa.hgv7 .hgv7-mega__copy,
body.hmat-lang-fa.hgv7 .hgv7-mega__item-title,
body.hmat-lang-fa.hgv7 .hgv7-mega__item-copy{direction:rtl;text-align:right;unicode-bidi:isolate}
body.hmat-lang-ar.hgv7 .hgv7-mobile__nav,
body.hmat-lang-ar.hgv7 .hgv7-mobile__footer,
body.hmat-lang-fa.hgv7 .hgv7-mobile__nav,
body.hmat-lang-fa.hgv7 .hgv7-mobile__footer{direction:rtl;text-align:right}
body.hmat-lang-ar.hgv7 .hgv7-mobile__group-button,
body.hmat-lang-ar.hgv7 .hgv7-mobile__direct>a,
body.hmat-lang-ar.hgv7 .hgv7-mobile__submenu a,
body.hmat-lang-ar.hgv7 .hgv7-mobile__account-toggle,
body.hmat-lang-fa.hgv7 .hgv7-mobile__group-button,
body.hmat-lang-fa.hgv7 .hgv7-mobile__direct>a,
body.hmat-lang-fa.hgv7 .hgv7-mobile__submenu a,
body.hmat-lang-fa.hgv7 .hgv7-mobile__account-toggle{direction:rtl;text-align:right}
body.hmat-lang-ar.hgv7 .hgv7-mobile__submenu,
body.hmat-lang-fa.hgv7 .hgv7-mobile__submenu{padding-left:0;padding-right:10px;border-left:0;border-right:1px solid rgba(0,143,140,.18)}
body.hmat-lang-ar.hgv7 .hgv7-mobile__item-title,
body.hmat-lang-ar.hgv7 .hgv7-mobile__item-copy,
body.hmat-lang-ar.hgv7 .hgv7-mobile__account-label,
body.hmat-lang-fa.hgv7 .hgv7-mobile__item-title,
body.hmat-lang-fa.hgv7 .hgv7-mobile__item-copy,
body.hmat-lang-fa.hgv7 .hgv7-mobile__account-label{text-align:right}
body.hmat-lang-fa.hgv7 :where(.hgv7-mega,.hgv7-search-panel,.hgv7-mobile__nav,.hgv7-mobile__footer) :where(a,button,input,span,p,h1,h2,h3,h4,b,small){
  font-family:var(--hmat-fa-font)!important;
  letter-spacing:0!important;
}

/* Prevent a visible source-label flash while Global Header v7 reads stable English keys. */
.hmat-header-prehydrate{visibility:hidden!important}


/* =========================================================
   v2.0.19 — direct Google sign-in for translation requests
   The visible/clickable control remains the native Membership/Site Kit Google
   control. These rules only size its wrapper inside the translation prompt.
   ========================================================= */
.hmat-translate-prompt.has-google-login{
  width:min(860px,calc(100vw - 28px));
  grid-template-columns:minmax(0,1fr) minmax(220px,320px) auto;
}
.hmat-google-login{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:220px;
  max-width:320px;
  direction:ltr;
  text-align:left;
}
.hmat-google-login .hmc-google-native{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
}
.hmat-google-login .hmc-google-native>*{
  max-width:100%;
}
@media(max-width:720px){
  .hmat-translate-prompt.has-google-login{
    grid-template-columns:minmax(0,1fr);
    gap:9px;
    width:min(520px,calc(100vw - 24px));
    padding:13px;
  }
  .hmat-translate-prompt.has-google-login .hmat-prompt-copy{
    padding:0 2px;
  }
  .hmat-translate-prompt.has-google-login .hmat-prompt-copy span{
    display:block;
    font-size:11px;
  }
  .hmat-translate-prompt.has-google-login .hmat-google-login{
    width:100%;
    min-width:0;
    max-width:none;
  }
  .hmat-translate-prompt.has-google-login .hmat-target-badge{
    display:none;
  }
}
