@import url("./m1-global-theme-contrast.css?v=day-night-global-20261031");
/* FIX 2026-11-05: the 940px fixed grid track could not fit all admin
   navigation buttons after glass borders + icons were added.  Give the menu
   the remaining row width and use the existing compact drawer below 1900px,
   avoiding overlap while retaining every navigation item and its destination. */
/* M1-MAFIA NAVIGATION V3 — rebuilt canonical styles, no legacy dropdown overrides. */
#m1-shared-site-header{
 --m1-head-height:84px;
 display:block!important;position:sticky!important;top:0!important;z-index:1100!important;
 width:100%!important;min-height:84px!important;height:84px!important;
 margin:0!important;padding:0!important;border:0!important;
 border-bottom:1px solid rgba(186,144,90,.33)!important;
 background:rgba(8,10,12,.97)!important;color:#e8dac7!important;
 box-shadow:0 5px 24px rgba(0,0,0,.25)!important;
 -webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);
 box-sizing:border-box!important;font-family:Tahoma,'Segoe UI',Arial,sans-serif!important;direction:rtl!important;
}
#m1-shared-site-header *,#m1-shared-site-header *::before,#m1-shared-site-header *::after{box-sizing:border-box}
#m1-shared-site-header .m1-hdr-inner{
 display:grid!important;grid-template-columns:minmax(175px,190px) minmax(0,1fr) minmax(295px,295px)!important;
 align-items:center!important;gap:9px!important;
 width:100%!important;max-width:2100px!important;height:100%!important;
 min-height:0!important;margin:0 auto!important;
 padding:0 clamp(12px,1.25vw,24px)!important;direction:rtl!important;
}
#m1-shared-site-header .m1-hdr-brand{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 width:100%!important;min-width:0!important;flex:initial!important;
 border:0!important;background:transparent!important;text-decoration:none!important;padding:0!important;
}
#m1-shared-site-header .m1-hdr-brand img{
 display:block!important;width:clamp(140px,12vw,198px)!important;height:auto!important;
 max-width:100%!important;max-height:61px!important;object-fit:contain!important;
 object-position:right center!important;
}
#m1-shared-site-header .m1-hdr-navigation{
 display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;
 flex:none!important;gap:clamp(2px,.3vw,5px)!important;direction:rtl!important;
 width:100%!important;min-width:0!important;max-width:100%!important;
 margin:0!important;padding:0!important;flex-wrap:nowrap!important;
 overflow:visible!important;visibility:visible!important;opacity:1!important;
 position:relative!important;white-space:nowrap!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-item{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;height:40px!important;min-height:40px!important;min-width:0!important;
 padding:6px 6px!important;margin:0!important;gap:4px!important;
 color:#e3d8c7!important;background:transparent!important;border:0!important;
 border-radius:6px!important;box-shadow:none!important;white-space:nowrap!important;
 font:600 12px/1.5 Tahoma,'Segoe UI',Arial,sans-serif!important;
 letter-spacing:0!important;direction:rtl!important;text-decoration:none!important;
 cursor:pointer!important;transform:none!important;transition:color .15s ease,background-color .15s ease!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-item::after{display:none!important}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-item:is(:hover,:focus-visible,.is-active){
 background:rgba(199,160,103,.10)!important;color:#edc896!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-item:focus-visible{
 outline:1px solid #bfa074!important;outline-offset:2px!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-group{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 auto!important;gap:0!important;height:100%!important;min-height:0!important;margin:0!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-caret{
 display:inline-block!important;font:600 14px/1 Arial,sans-serif!important;color:inherit!important;
 width:9px!important;flex:none!important;line-height:1!important;
}
/* Private menu entries occupy no space for guests. Authorization changes
   visibility of all private menus (including their dropdowns) atomically. */
#m1-shared-site-header .m1-hdr-navigation [data-m1-admin-nav]:not(.is-authorized),
#m1-shared-site-header .m1-hdr-mobile [data-m1-admin-nav]:not(.is-authorized){
 display:none!important;visibility:hidden!important;pointer-events:none!important;
}
#m1-shared-site-header .m1-hdr-navigation [data-m1-admin-nav].is-authorized,
#m1-shared-site-header .m1-hdr-mobile [data-m1-admin-nav].is-authorized{
 display:contents!important;
}
/* All desktop dropdowns overlay content. Opening one cannot move the menu row. */
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown{
 position:absolute!important;inset:auto 0 auto auto!important;top:calc(100% - 3px)!important;
 display:flex!important;flex-direction:column!important;gap:0!important;
 width:210px!important;min-width:210px!important;max-width:calc(100vw - 24px)!important;
 padding:5px!important;margin:0!important;overflow:hidden!important;
 border:1px solid rgba(194,158,104,.30)!important;border-radius:10px!important;
 background:rgba(19,21,26,.91)!important;color:#e7dac9!important;
 -webkit-backdrop-filter:blur(15px) saturate(110%)!important;
 backdrop-filter:blur(15px) saturate(110%)!important;
 box-shadow:0 18px 36px rgba(0,0,0,.45)!important;
 opacity:0!important;visibility:hidden!important;pointer-events:none!important;
 transform:translateY(-5px)!important;z-index:1200!important;
 transition:opacity .15s ease,transform .15s ease,visibility .15s ease!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-group.is-open>.m1-hdr-dropdown{
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important;
}
/* Last three dropdowns open by click only and remain attached to their own
   trigger. Hovering neighbouring triggers cannot show multiple panels. */
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-group.is-open>.m1-hdr-parent{
 background:rgba(199,160,103,.12)!important;color:#edc896!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-subitem{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 width:100%!important;height:37px!important;min-height:37px!important;max-height:37px!important;
 margin:0!important;padding:0 11px!important;gap:7px!important;white-space:nowrap!important;
 text-align:right!important;direction:rtl!important;font:500 12px/1.45 Tahoma,'Segoe UI',Arial,sans-serif!important;
 text-decoration:none!important;color:#e5e0d8!important;background:transparent!important;
 border:0!important;border-bottom:1px solid rgba(255,255,255,.065)!important;border-radius:0!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-subitem:last-child{border-bottom:0!important}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-subitem::after{
 content:''!important;display:block!important;flex:none!important;width:7px!important;height:7px!important;
 margin-left:3px!important;border-top:1.5px solid #ad926d!important;border-left:1.5px solid #ad926d!important;
 transform:rotate(-45deg)!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-subitem:is(:hover,:focus-visible,.is-active){
 background:rgba(194,158,104,.11)!important;color:#f0d0a0!important;
}
#m1-shared-site-header .m1-hdr-actions{
 justify-self:end!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;
 gap:5px!important;direction:rtl!important;width:100%!important;min-width:295px!important;height:100%!important;
 margin:0!important;padding:0!important;flex:none!important;
}
#m1-shared-site-header .m1-hdr-actions .m1-account-slot{
 position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:120px!important;min-width:120px!important;max-width:120px!important;height:40px!important;
 min-height:40px!important;flex:0 0 120px!important;margin:0!important;padding:0!important;
}
#m1-shared-site-header .m1-hdr-actions .m1-hdr-icon{
 display:grid!important;place-items:center!important;
 width:38px!important;min-width:38px!important;height:40px!important;min-height:40px!important;
 margin:0!important;padding:7px!important;color:#d6b989!important;cursor:pointer!important;
 border:1px solid transparent!important;border-radius:7px!important;background:transparent!important;
}
#m1-shared-site-header .m1-hdr-actions .m1-hdr-icon:is(:hover,:focus-visible){
 background:rgba(197,160,103,.12)!important;border-color:rgba(197,160,103,.35)!important;
}
#m1-shared-site-header .m1-account-slot .m1-account-signin,
#m1-shared-site-header .m1-account-slot .m1-hdr-account-link{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:6px!important;width:auto!important;max-width:100%!important;height:36px!important;min-height:36px!important;
 padding:0 10px!important;margin:0!important;white-space:nowrap!important;
 background:rgba(175,124,65,.09)!important;border:1px solid #745738!important;border-radius:6px!important;
 color:#edc999!important;font:600 11px/1.5 Tahoma,Arial,sans-serif!important;text-decoration:none!important;cursor:pointer!important;
}
#m1-shared-site-header .m1-account-slot .m1-account-signin svg{display:block;flex:none;width:18px;height:18px}
#m1-shared-site-header .m1-account-slot .m1-profile-button{
 display:grid!important;place-items:center!important;width:38px!important;min-width:38px!important;
 height:40px!important;margin:auto!important;padding:7px!important;
 border:1px solid rgba(194,159,102,.28)!important;border-radius:7px!important;
 background:rgba(197,160,103,.07)!important;color:#d6b989!important;cursor:pointer!important;
}
#m1-shared-site-header .m1-account-slot .m1-profile-button svg{width:20px;height:20px}
/* Signed-in profile only: remove the unused 80px reserved for the wide login
   button. Keep the entire actions column at 250px, so menu rows never shift. */
@media(min-width:681px){
 #m1-shared-site-header .m1-hdr-actions:has(> .m1-account-slot > #m1-profile-toggle){
  width:250px!important;min-width:250px!important;
  justify-content:flex-start!important;
 }
 #m1-shared-site-header .m1-hdr-actions .m1-account-slot:has(> #m1-profile-toggle){
  width:40px!important;min-width:40px!important;max-width:40px!important;
  flex:0 0 40px!important;
 }
}
@media(max-width:680px){
 #m1-shared-site-header .m1-account-slot > #m1-profile-toggle{
  width:35px!important;min-width:35px!important;max-width:35px!important;
  height:36px!important;margin:0!important;padding:6px!important;
 }
}
#m1-shared-site-header .m1-account-slot .m1-profile-popover{
 position:absolute!important;top:calc(100% + 9px)!important;left:0!important;z-index:1250!important;
}
#m1-shared-site-header .m1-hdr-menu-button{display:none!important}
#m1-shared-site-header .m1-hdr-mobile{display:none!important}
#m1-shared-site-header .m1-cart-badge[hidden]{display:none!important}
#m1-hdr-search-modal{
 position:fixed;inset:0;z-index:6000;display:grid;place-items:center;padding:16px;
 background:#000c;font-family:Tahoma,Arial,sans-serif;
}
#m1-hdr-search-modal>div{
 background:#151719;border:1px solid #977245;color:#efdab9;max-width:530px;width:100%;
 padding:22px;display:grid;gap:14px;border-radius:12px;
}
#m1-hdr-search-close{justify-self:end;background:#211e1b;border:1px solid #785b3d;color:#f3d8ab;cursor:pointer;padding:4px 12px}
#m1-hdr-search-field{padding:12px;background:#0a0c0e;border:1px solid #785b3d;color:#fff;border-radius:5px}
#m1-hdr-search-results{display:grid;gap:5px;max-height:300px;overflow:auto}
#m1-hdr-search-results>a{color:#e9d1a8;padding:8px;border-bottom:1px solid #42382e;text-decoration:none}
/* Exactly one presentation is visible: full desktop OR compact mobile drawer. */
@media(max-width:1899px){
 #m1-shared-site-header{--m1-head-height:74px;height:74px!important;min-height:74px!important}
 #m1-shared-site-header .m1-hdr-inner{
  display:flex!important;gap:12px!important;padding:0 17px!important;
 }
 #m1-shared-site-header .m1-hdr-brand{flex:1 1 auto!important;min-width:0!important}
 #m1-shared-site-header .m1-hdr-brand img{width:175px!important}
 #m1-shared-site-header .m1-hdr-navigation{display:none!important}
 #m1-shared-site-header .m1-hdr-actions{width:auto!important;min-width:0!important;flex:none!important;margin-right:auto!important}
 #m1-shared-site-header .m1-hdr-menu-button{
  display:grid!important;place-items:center!important;flex:none!important;
  width:40px!important;min-width:40px!important;height:40px!important;
  padding:7px!important;border:1px solid #6b5439!important;border-radius:7px!important;
  color:#e6c18d!important;background:transparent!important;cursor:pointer!important;
 }
 #m1-shared-site-header .m1-hdr-mobile{
  display:none!important;position:absolute!important;top:100%!important;right:0!important;left:0!important;
  width:100%!important;max-height:calc(100dvh - 74px)!important;overflow-y:auto!important;
  padding:10px 18px 18px!important;margin:0!important;gap:0!important;
  flex-direction:column!important;align-items:stretch!important;direction:rtl!important;
  background:rgba(15,17,21,.97)!important;border-bottom:1px solid #6e5537!important;
  -webkit-backdrop-filter:blur(15px)!important;backdrop-filter:blur(15px)!important;
  box-shadow:0 18px 34px #000a!important;z-index:1200!important;
 }
 #m1-shared-site-header .m1-hdr-mobile.is-open{display:flex!important}
 #m1-shared-site-header .m1-hdr-mobile>.m1-hdr-item,
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group>summary,
 #m1-shared-site-header .m1-hdr-mobile [data-m1-admin-nav]>.m1-hdr-item{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;
  color:#ead6b9!important;font:600 13px/1.6 Tahoma,Arial,sans-serif!important;
  background:transparent!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.07)!important;
  border-radius:0!important;text-decoration:none!important;text-align:right!important;cursor:pointer!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group{margin:0!important;padding:0!important}
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group>summary{list-style:none!important}
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group>summary::-webkit-details-marker{display:none!important}
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group>summary.is-active,
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group[open]>summary{
  color:#eac58f!important;background:rgba(194,158,104,.09)!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-children{
  display:flex!important;flex-direction:column!important;gap:0!important;
  margin:2px 9px 8px!important;padding:3px 7px!important;
  background:rgba(25,27,31,.70)!important;border:1px solid rgba(194,158,104,.20)!important;border-radius:8px!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-subitem{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  height:37px!important;min-height:37px!important;max-height:37px!important;
  padding:0 10px!important;margin:0!important;background:transparent!important;
  border:0!important;border-bottom:1px solid rgba(255,255,255,.06)!important;
  border-radius:0!important;color:#e8dac7!important;font:500 12px/1.5 Tahoma,Arial,sans-serif!important;
  text-decoration:none!important;direction:rtl!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-subitem:last-child{border-bottom:0!important}
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-subitem::after{
  content:'';display:block;flex:none;width:7px;height:7px;margin-left:3px;
  border-top:1.5px solid #ad926d;border-left:1.5px solid #ad926d;transform:rotate(-45deg);
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-subitem:is(.is-active,:hover){color:#eac58f!important;background:rgba(194,158,104,.1)!important}
 #m1-shared-site-header .m1-hdr-mobile [data-m1-admin-nav]:not(.is-authorized){display:none!important}
 #m1-shared-site-header .m1-hdr-mobile [data-m1-admin-nav].is-authorized{display:contents!important}
}
@media(max-width:680px){
 #m1-shared-site-header{--m1-head-height:68px;height:68px!important;min-height:68px!important}
 #m1-shared-site-header .m1-hdr-inner{padding:0 10px!important;gap:5px!important}
 #m1-shared-site-header .m1-hdr-brand img{width:clamp(115px,30vw,160px)!important;max-height:52px!important}
 #m1-shared-site-header .m1-hdr-actions{gap:1px!important}
 #m1-shared-site-header .m1-hdr-actions .m1-hdr-icon{width:33px!important;min-width:33px!important;height:36px!important;padding:5px!important}
 #m1-shared-site-header .m1-hdr-actions .m1-account-slot{
  width:36px!important;min-width:36px!important;max-width:36px!important;
  flex:0 0 36px!important;
 }
 #m1-shared-site-header .m1-account-slot .m1-account-signin{
  width:35px!important;min-width:35px!important;max-width:35px!important;
  padding:0!important;font-size:0!important;
 }
 #m1-shared-site-header .m1-account-slot .m1-account-signin span{display:none!important}
 #m1-shared-site-header .m1-account-slot .m1-account-signin svg{margin:0!important}
 #m1-shared-site-header .m1-hdr-menu-button{width:36px!important;min-width:36px!important;height:38px!important}
 #m1-shared-site-header .m1-hdr-mobile{max-height:calc(100dvh - 68px)!important}
}
@media(prefers-reduced-motion:reduce){
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown,
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-item{transition:none!important}
}
/* END CANONICAL NAVIGATION V3 */

.m1-ivory-expanded-controls,.m1-ivory-controls{display:none!important}
/* Light mode affects page surfaces but preserves dark cinematic photos and game boards. */
html[data-m1-theme=light] body{background:#f6f2eb;color:#2d2923}
html[data-m1-theme=light] body .inner-main:not(.roles-main):not(.m1-shop-main):not(.m1-scenarios-main):not(.m1-cafes-main):not(.services-main){background:#f6f2eb;color:#332b21}
html[data-m1-theme=light] body .inner-main:not(.roles-main):not(.m1-shop-main):not(.m1-scenarios-main):not(.m1-cafes-main):not(.services-main) :is(.page-title,.roles-heading-fa,.roles-heading-en){color:#382e22;text-shadow:none}
html[data-m1-theme=light] body .inner-main:not(.roles-main):not(.m1-shop-main):not(.m1-scenarios-main):not(.m1-cafes-main):not(.services-main) :is(.page-desc,.distribution-intro-desc,.hosting-intro-desc,.services-intro-desc){color:#655848}
/* The site header intentionally stays noir on both themes. */
html[data-m1-theme=light] #m1-shared-site-header{background:rgba(14,15,17,.98)!important;color:#eed8b8!important}

/* Persian readability v2 — clearer contrast and text size without a font
   download, changes to titles, or shifts in navigation/game controls. */
html[lang="fa"] body{
  -webkit-font-smoothing:auto;
  text-rendering:optimizeLegibility;
}
html[lang="fa"] body :is(
  .page-desc,
  .dossier-summary p,
  .dossier-tab-body p,
  .distribution-intro-desc,
  .hosting-intro-desc,
  .admin-welcome p,
  .admin-sidebar-head p,
  .inner-main .panel p
){
  line-height:2.08;
  letter-spacing:0;
  text-shadow:none;
}
html[lang="fa"] body :is(
  .distribution-intro-desc,
  .hosting-intro-desc,
  .admin-welcome p,
  .admin-sidebar-head p
){font-size:14px;}
html[lang="fa"] body .dossier-shell :is(.dossier-summary p,.dossier-tab-body p){
  font-size:15.5px;
}
html[lang="fa"] body:not(.m1-ivory-trial) :is(
  .page-desc,
  .distribution-intro-desc,
  .hosting-intro-desc,
  .admin-welcome p,
  .admin-sidebar-head p,
  .inner-main .panel p
){color:#e5dacf;}
html[lang="fa"] body:not(.m1-ivory-trial) .dossier-shell :is(.dossier-summary p,.dossier-tab-body p){
  color:#eee5d9;
}
html[lang="fa"] body:not(.m1-ivory-trial) .hero-subtitle{color:#e9d1b0;}
html[lang="fa"] body.m1-ivory-trial :is(.page-desc,.inner-main .panel p){
  color:#514638;
}
@media(max-width:640px){
  html[lang="fa"] body .dossier-shell :is(.dossier-summary p,.dossier-tab-body p){
    font-size:14.5px;
  }
}


/* M1 PERMANENT PAGE-TITLE STANDARD — matching the approved Roles reference.
   The frozen homepage is excluded by mountPageBanner(). No new image/font downloads. */
#m1-page-banner{
 box-sizing:border-box!important;display:block!important;position:relative!important;
 min-height:94px!important;width:100%!important;margin:0!important;
 border:0!important;border-bottom:1px solid rgba(205,167,108,.18)!important;
 background:
  repeating-linear-gradient(90deg,transparent 0,transparent 116px,rgba(210,174,116,.022) 117px,transparent 118px),
  linear-gradient(95deg,#080a0c 0%,#0c0b0b 43%,#15100e 100%)!important;
 color:#f6dfbd!important;isolation:isolate;
}
#m1-page-banner .m1-page-banner-inner{
 box-sizing:border-box!important;max-width:1400px!important;min-height:94px!important;
 padding:0 clamp(17px,2.4vw,35px)!important;margin:0 auto!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 flex-direction:row!important;gap:18px!important;direction:rtl!important;
}
#m1-page-banner .m1-page-banner-fa{
 box-sizing:border-box!important;flex:0 1 auto!important;min-width:0!important;
 margin:0!important;padding:0!important;text-align:right!important;
 color:#f3d9b1!important;font:700 clamp(20px,1.85vw,27px)/1.65 Tahoma,'Segoe UI',Arial,sans-serif!important;
 letter-spacing:0!important;text-shadow:none!important;overflow-wrap:anywhere;
}
#m1-page-banner .m1-page-banner-en{
 box-sizing:border-box!important;position:relative!important;display:block!important;
 flex:0 1 auto!important;min-width:0!important;max-width:51%!important;
 margin:0!important;padding:0!important;text-align:left!important;
 color:#ead5b6!important;font:700 clamp(19px,2vw,29px)/1.45 Georgia,'Times New Roman',serif!important;
 letter-spacing:.025em!important;white-space:normal!important;overflow-wrap:normal!important;
 text-shadow:none!important;
}
#m1-page-banner .m1-page-banner-en::after{
 content:''!important;position:absolute!important;left:0!important;bottom:-12px!important;
 width:42px!important;height:1px!important;
 background:linear-gradient(90deg,#ba8f58,rgba(186,143,88,0))!important;
}
/* Online hosting uses a single Persian title; remove the English label and underline. */
#m1-page-banner.m1-page-banner--fa-only .m1-page-banner-en{display:none!important}
/* Existing page-title wrappers are not removed from their functional templates,
   but visually suppressed to avoid two sets of bilingual headings. */
body.m1-standard-page-heading #page-main > .inner-wrap{
 padding-top:clamp(20px,2.7vw,35px)!important;
}
body.m1-standard-page-heading #page-main > .inner-wrap > .roles-heading,
body.m1-standard-page-heading #page-main > .inner-wrap > :is(.eyebrow,.page-title){
 display:none!important;
}
body.m1-standard-page-heading[data-page="training"] .m1-tr-shell{padding-top:24px!important}
body.m1-standard-page-heading[data-page="training"] .m1-tr-section-heading > :is(span,h2){display:none!important}
body.m1-standard-page-heading[data-page="training"] .m1-tr-section-heading{margin-bottom:20px!important}
@media(max-width:760px){
 #m1-page-banner{min-height:76px!important}
 #m1-page-banner .m1-page-banner-inner{min-height:76px!important;gap:10px!important}
 #m1-page-banner .m1-page-banner-fa{font-size:clamp(15px,4vw,21px)!important}
 #m1-page-banner .m1-page-banner-en{font-size:clamp(13px,3.35vw,20px)!important;letter-spacing:0!important}
 #m1-page-banner .m1-page-banner-en::after{bottom:-9px!important;width:32px!important}
 body.m1-standard-page-heading #page-main > .inner-wrap{padding-top:20px!important}
}




/* Universal PWA install shortcut next to search. Never change public/admin nav
   order; its landing page provides platform-specific install instructions. */
#m1-shared-site-header .m1-hdr-actions .m1-hdr-install{
 flex:0 0 38px!important;text-decoration:none!important;
 border-color:rgba(194,159,102,.28)!important;
 background:rgba(197,160,103,.06)!important;
}
#m1-shared-site-header .m1-hdr-actions .m1-hdr-install svg{
 display:block!important;width:21px!important;height:21px!important;
}
#m1-shared-site-header .m1-hdr-actions .m1-hdr-install:focus-visible{
 outline:2px solid #e3bd84!important;outline-offset:2px!important;
}
@media(max-width:680px){
 #m1-shared-site-header .m1-hdr-actions .m1-hdr-install{
  flex:0 0 33px!important;
 }
}
@media(max-width:380px){
 #m1-shared-site-header .m1-hdr-inner{padding:0 6px!important;gap:2px!important}
 #m1-shared-site-header .m1-hdr-brand img{width:clamp(96px,30vw,115px)!important}
 #m1-shared-site-header .m1-hdr-actions{gap:0!important}
 #m1-shared-site-header .m1-hdr-actions .m1-hdr-icon{
  width:31px!important;min-width:31px!important;height:34px!important;padding:4px!important
 }
 #m1-shared-site-header .m1-hdr-actions .m1-hdr-install{flex:0 0 31px!important}
 #m1-shared-site-header .m1-hdr-actions .m1-account-slot{
  width:32px!important;min-width:32px!important;max-width:32px!important;flex:0 0 32px!important;
 }
 #m1-shared-site-header .m1-account-slot .m1-account-signin{
  width:31px!important;min-width:31px!important;max-width:31px!important;
 }
 #m1-shared-site-header .m1-hdr-menu-button{
  width:32px!important;min-width:32px!important;height:36px!important;
 }
}

/* Installed Android/Windows PWA windows never offer the app installer again.
   Keep the brand logo and OS launcher icon untouched. */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
  #m1-shared-site-header #m1-install-app,
  #m1-shared-site-header .m1-hdr-install {display:none!important}
}
/* Guard against a cached header still containing an install link on iOS. */
html.m1-installed-app #m1-shared-site-header #m1-install-app,
html.m1-installed-app #m1-shared-site-header .m1-hdr-install {display:none!important}


/* M1-MAFIA Division menu — design 1: minimal smoked-crystal glass.
   Scoped strictly to "تقسیم نقش"; pages, accordion and mask logic unchanged. */
#m1-shared-site-header .m1-hdr-navigation #m1-hdr-sub-division{
  width:292px!important;
  min-width:292px!important;
  max-width:calc(100vw - 24px)!important;
  padding:8px!important;
  border:1px solid rgba(216,180,126,.48)!important;
  border-radius:16px!important;
  background:linear-gradient(160deg,rgba(30,33,40,.77),rgba(12,15,20,.82))!important;
  -webkit-backdrop-filter:blur(22px) saturate(135%)!important;
  backdrop-filter:blur(22px) saturate(135%)!important;
  box-shadow:0 20px 50px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,244,218,.11)!important;
}
#m1-shared-site-header .m1-division-glass-menu{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  gap:5px!important;
  direction:rtl!important;
  white-space:normal!important;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:65px!important;
  max-height:none!important;
  gap:11px!important;
  margin:0!important;
  padding:10px 11px!important;
  border:1px solid rgba(202,179,150,.13)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.045)!important;
  color:#f6e9d9!important;
  text-align:right!important;
  white-space:normal!important;
  text-decoration:none!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.036)!important;
  transform:none!important;
  transition:background-color .18s ease,border-color .18s ease!important;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item::after{
  content:none!important;display:none!important;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item.is-featured{
  border-color:rgba(222,181,116,.46)!important;
  background:linear-gradient(110deg,rgba(178,131,78,.18),rgba(255,247,224,.055))!important;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item:is(:hover,:focus-visible,.is-active){
  border-color:rgba(245,207,149,.75)!important;
  background:rgba(208,161,103,.19)!important;
}
#m1-shared-site-header .m1-division-glass-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 35px!important;
  width:35px!important;
  height:35px!important;
  padding:7px!important;
  border:1px solid rgba(221,190,145,.20)!important;
  border-radius:9px!important;
  color:#e8c396!important;
  background:rgba(255,255,255,.056)!important;
}
#m1-shared-site-header .m1-division-glass-icon svg{
  display:block!important;width:20px!important;height:20px!important;
}
#m1-shared-site-header .m1-division-glass-text{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  min-width:0!important;
}
#m1-shared-site-header .m1-division-glass-text strong{
  font:700 12.5px/1.5 Tahoma,'Segoe UI',Arial,sans-serif!important;
  color:#f7e3c4!important;
}
#m1-shared-site-header .m1-division-glass-text small{
  font:400 10.5px/1.6 Tahoma,'Segoe UI',Arial,sans-serif!important;
  color:#c7b8a4!important;
  overflow-wrap:anywhere!important;
  text-align:right!important;
}
#m1-shared-site-header .m1-division-glass-chevron{
  flex:0 0 auto!important;
  color:#d4aa72!important;
  font:500 23px/1 Tahoma,Arial,sans-serif!important;
  align-self:center!important;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item:focus-visible{
  outline:2px solid #e9c18d!important;
  outline-offset:2px!important;
}
@media(max-width:760px){
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-group .m1-hdr-mobile-children{
    padding:8px!important;
    border-color:rgba(220,185,130,.37)!important;
    border-radius:12px!important;
    background:linear-gradient(165deg,rgba(32,36,42,.76),rgba(14,17,22,.85))!important;
    -webkit-backdrop-filter:blur(22px) saturate(130%)!important;
    backdrop-filter:blur(22px) saturate(130%)!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-glass-menu{
    gap:5px!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-glass-menu .m1-division-glass-item{
    min-height:62px!important;
    padding:9px 10px!important;
  }
}
@media(prefers-reduced-transparency:reduce){
  #m1-shared-site-header .m1-hdr-navigation #m1-hdr-sub-division,
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-group .m1-hdr-mobile-children{
    background:#161a20!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item{
    transition:none!important;
  }
}


/* M1-MAFIA: screenshot-matched black crystal navigation only.
   Never restyle the site's homepage artwork, content, logo or page-level UI. */
/* The complete glass capsule appears on wide desktops without altering header height,
   layout slots, current logo file or the site's vertical document flow. */
@media(min-width:1900px){
 #m1-shared-site-header{
  border-bottom:0!important;
  background:transparent!important;
  box-shadow:none!important;
 }
 #m1-shared-site-header .m1-hdr-inner{
  border:1px solid rgba(231,217,192,.28)!important;
  border-radius:25px!important;
  background:linear-gradient(110deg,rgba(27,29,32,.89),rgba(9,11,14,.92) 57%,rgba(39,40,41,.87))!important;
  -webkit-backdrop-filter:blur(22px) saturate(120%)!important;
  backdrop-filter:blur(22px) saturate(120%)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.38),inset 0 1px 0 rgba(250,241,223,.16),inset 0 -1px 0 rgba(255,255,255,.05)!important;
 }
 #m1-shared-site-header .m1-hdr-navigation{
  gap:2px!important;
 }
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-item{
  height:48px!important;
  min-height:48px!important;
  padding:6px clamp(4px,.32vw,6px)!important;
  gap:5px!important;
  border:1px solid rgba(221,213,196,.13)!important;
  border-radius:12px!important;
  background:linear-gradient(160deg,rgba(255,255,255,.065),rgba(0,0,0,.16))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;
  color:#f1e6d5!important;
  font-size:11px!important;
  transition:background .2s ease,border-color .2s ease,box-shadow .2s ease!important;
 }
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-item:is(.is-active,:hover,:focus-visible),
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-group.is-open>.m1-hdr-parent{
  border-color:rgba(242,199,122,.82)!important;
  background:linear-gradient(155deg,rgba(125,92,55,.66),rgba(67,46,28,.62))!important;
  color:#fff2d5!important;
  box-shadow:0 0 14px rgba(242,177,76,.24),inset 0 1px 0 rgba(255,234,190,.24)!important;
 }
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-item.is-active .m1-hdr-nav-icon,
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-group.is-open .m1-hdr-parent .m1-hdr-nav-icon{
  color:#ffdb9e!important;
 }
}
/* Decorative icons only: existing headings and URLs are unchanged. */
#m1-shared-site-header .m1-hdr-nav-icon{
 width:14px!important;height:14px!important;flex:0 0 14px!important;
 display:inline-block!important;vertical-align:middle!important;
 color:#d4c2a5!important;pointer-events:none!important;
}
/* All existing dropdowns become smoked-glass floating button groups. */
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown{
 width:230px!important;min-width:230px!important;
 padding:10px!important;gap:7px!important;
 border:1px solid rgba(214,193,158,.46)!important;
 border-radius:17px!important;
 background:linear-gradient(145deg,rgba(48,49,52,.77),rgba(16,17,20,.84))!important;
 -webkit-backdrop-filter:blur(23px) saturate(125%)!important;
 backdrop-filter:blur(23px) saturate(125%)!important;
 box-shadow:0 20px 44px rgba(0,0,0,.49),inset 0 1px 0 rgba(255,248,229,.18)!important;
 top:calc(100% + 1px)!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown>.m1-hdr-subitem{
 height:auto!important;min-height:47px!important;max-height:none!important;
 padding:10px 13px!important;
 border:1px solid rgba(234,224,202,.18)!important;
 border-radius:11px!important;
 background:linear-gradient(150deg,rgba(255,255,255,.12),rgba(255,255,255,.045))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.1)!important;
 color:#f3e9db!important;
 font-size:12.2px!important;
 white-space:normal!important;
 transition:border-color .16s ease,background .16s ease!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown>.m1-hdr-subitem:is(:hover,:focus-visible,.is-active){
 border-color:rgba(245,201,131,.85)!important;
 background:linear-gradient(145deg,rgba(198,146,72,.34),rgba(102,72,46,.24))!important;
 color:#ffe5b8!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown>.m1-hdr-subitem:last-child{
 border-bottom:1px solid rgba(234,224,202,.18)!important;
}
/* Division popup: tall right-hand glass drawer, nested left-hand flyout.
   Links continue to use previously published selected / personal / quick URLs. */
#m1-shared-site-header .m1-hdr-navigation #m1-hdr-sub-division{
 width:352px!important;min-width:352px!important;max-width:calc(100vw - 24px)!important;
 padding:13px!important;gap:0!important;
 overflow:visible!important;
 border-color:rgba(225,190,128,.67)!important;
 border-radius:19px!important;
 background:linear-gradient(145deg,rgba(59,62,66,.69),rgba(20,21,24,.83))!important;
 -webkit-backdrop-filter:blur(26px) saturate(135%)!important;
 backdrop-filter:blur(26px) saturate(135%)!important;
 box-shadow:0 22px 50px rgba(0,0,0,.49),inset 0 1px 0 rgba(255,245,219,.24)!important;
}
#m1-shared-site-header .m1-division-glass-menu{
 gap:11px!important;
}
#m1-shared-site-header .m1-division-cascade{
 position:relative!important;
 width:100%!important;
 min-width:0!important;
}
/* Invisible pointer bridge across the 9px gap to the left flyout. */
#m1-shared-site-header .m1-division-cascade::after{
 content:"";
 position:absolute;
 top:0;
 left:-14px;
 width:15px;
 height:100%;
 z-index:1;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item{
 min-height:67px!important;
 padding:12px 13px!important;
 gap:11px!important;
 border-radius:12px!important;
 border-color:rgba(231,230,225,.28)!important;
 background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.065))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 4px 12px rgba(0,0,0,.09)!important;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item.is-featured,
#m1-shared-site-header .m1-division-cascade:is(:hover,:focus-within)>.m1-division-glass-item{
 border-color:rgba(255,194,105,.98)!important;
 background:linear-gradient(145deg,rgba(173,118,54,.55),rgba(83,57,36,.57))!important;
 box-shadow:0 0 15px rgba(237,176,80,.2),inset 0 1px 0 rgba(255,227,171,.29)!important;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item:is(:hover,:focus-visible,.is-active){
 border-color:#f1c481!important;
 background:linear-gradient(145deg,rgba(164,113,54,.57),rgba(73,51,34,.58))!important;
}
#m1-shared-site-header .m1-division-glass-icon{
 flex-basis:39px!important;width:39px!important;height:39px!important;
 border-radius:10px!important;
 background:rgba(23,22,21,.23)!important;
 color:#f0c88d!important;
}
#m1-shared-site-header .m1-division-glass-icon svg{
 width:23px!important;height:23px!important;
}
#m1-shared-site-header .m1-division-glass-text strong{
 font-size:13.5px!important;color:#fff1d9!important;
}
#m1-shared-site-header .m1-division-glass-text small{
 font-size:10.8px!important;color:#dccbb5!important;
}
#m1-shared-site-header .m1-division-cascade-flyout{
 position:absolute!important;
 top:1px!important;
 right:calc(100% + 9px)!important;
 width:295px!important;
 display:flex!important;
 flex-direction:column!important;
 gap:10px!important;
 padding:13px!important;
 border:1px solid rgba(226,192,137,.79)!important;
 border-radius:17px!important;
 background:linear-gradient(145deg,rgba(63,63,65,.79),rgba(22,22,25,.88))!important;
 -webkit-backdrop-filter:blur(26px) saturate(125%)!important;
 backdrop-filter:blur(26px) saturate(125%)!important;
 box-shadow:0 20px 48px rgba(0,0,0,.49),inset 0 1px 0 rgba(255,255,255,.19)!important;
 opacity:0!important;visibility:hidden!important;
 transform:translateX(6px)!important;
 pointer-events:none!important;
 z-index:1220!important;
 transition:opacity .16s ease,transform .16s ease,visibility .16s!important;
}
#m1-shared-site-header .m1-division-cascade-flyout::before{
 content:"";
 position:absolute;
 right:-9px;
 top:31px;
 border-top:9px solid transparent;
 border-bottom:9px solid transparent;
 border-left:9px solid rgba(222,182,117,.87);
}
#m1-shared-site-header .m1-division-cascade:is(:hover,:focus-within)>.m1-division-cascade-flyout{
 opacity:1!important;visibility:visible!important;
 transform:translateX(0)!important;
 pointer-events:auto!important;
}
#m1-shared-site-header .m1-division-cascade-choice{
 display:flex!important;flex-direction:row!important;align-items:center!important;
 justify-content:flex-start!important;gap:12px!important;
 min-height:59px!important;width:100%!important;padding:10px 13px!important;
 border:1px solid rgba(239,219,185,.32)!important;border-radius:12px!important;
 background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.055))!important;
 color:#f7ede0!important;text-decoration:none!important;
 font:600 13px/1.6 Tahoma,"Segoe UI",Arial,sans-serif!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.14)!important;
}
#m1-shared-site-header .m1-division-cascade-choice:is(:hover,:focus-visible){
 background:linear-gradient(130deg,rgba(212,158,84,.29),rgba(103,72,39,.23))!important;
 border-color:#efbf82!important;
 color:#fff3df!important;
}
#m1-shared-site-header .m1-division-cascade-choice svg{
 width:23px!important;height:23px!important;flex:0 0 23px!important;
 color:#e5bd7d!important;
}
#m1-shared-site-header .m1-division-cascade-choice:focus-visible{
 outline:2px solid #f0c187!important;outline-offset:2px!important;
}
/* All authorized mobile nav sections retain their original routes and click
   handlers, but become independent beveled glass buttons instead of flat rows. */
@media(max-width:1899px){
 #m1-shared-site-header .m1-hdr-mobile{
  background:linear-gradient(155deg,rgba(32,33,38,.95),rgba(10,12,15,.96))!important;
  -webkit-backdrop-filter:blur(22px) saturate(125%)!important;
  backdrop-filter:blur(22px) saturate(125%)!important;
 }
 #m1-shared-site-header .m1-hdr-mobile>.m1-hdr-item,
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group>summary,
 #m1-shared-site-header .m1-hdr-mobile [data-m1-admin-nav]>.m1-hdr-item{
  justify-content:flex-start!important;
  gap:10px!important;
  min-height:48px!important;
  margin:4px 0!important;
  padding:10px 14px!important;
  border:1px solid rgba(231,218,192,.19)!important;
  border-radius:12px!important;
  background:linear-gradient(130deg,rgba(255,255,255,.11),rgba(0,0,0,.14))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group>summary span:last-child{
  margin-inline-start:auto!important;
 }
 #m1-shared-site-header .m1-hdr-mobile>.m1-hdr-item:is(:hover,:focus-visible,.is-active),
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group[open]>summary{
  border-color:rgba(229,184,112,.84)!important;
  background:linear-gradient(135deg,rgba(138,95,45,.49),rgba(51,35,23,.45))!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group .m1-hdr-mobile-children{
  margin:6px 6px 10px!important;
  padding:9px!important;
  border:1px solid rgba(217,187,142,.34)!important;
  border-radius:14px!important;
  background:linear-gradient(155deg,rgba(70,71,76,.44),rgba(25,27,31,.68))!important;
  -webkit-backdrop-filter:blur(22px) saturate(120%)!important;
  backdrop-filter:blur(22px) saturate(120%)!important;
  gap:7px!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group .m1-hdr-mobile-children>.m1-hdr-subitem{
  min-height:44px!important;
  height:auto!important;max-height:none!important;
  padding:10px 13px!important;
  border:1px solid rgba(230,221,207,.22)!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(0,0,0,.12))!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-division-cascade-flyout{
  display:none!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-division-cascade::after{
  display:none!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-division-glass-menu{
  gap:7px!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-division-glass-menu .m1-division-glass-item{
  min-height:62px!important;
 }
}
@media(prefers-reduced-transparency:reduce){
 #m1-shared-site-header .m1-hdr-inner,
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown,
 #m1-shared-site-header .m1-division-cascade-flyout,
 #m1-shared-site-header .m1-hdr-mobile{
  background:#17191e!important;
 }
}
@media(prefers-reduced-motion:reduce){
 #m1-shared-site-header .m1-division-cascade-flyout,
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-item{
  transition:none!important;
 }
}


/* Unified M1-MAFIA submenu skin (2026-11-05).
   Use the approved Division glass-button appearance at the original
   Hosting dropdown width (230px). URLs and disclosure behavior stay intact. */
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown,
#m1-shared-site-header .m1-hdr-navigation #m1-hdr-sub-division{
  width:230px!important;
  min-width:230px!important;
  max-width:calc(100vw - 24px)!important;
  padding:10px!important;
  gap:7px!important;
  border:1px solid rgba(225,190,128,.67)!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,rgba(59,62,66,.69),rgba(20,21,24,.83))!important;
  -webkit-backdrop-filter:blur(26px) saturate(135%)!important;
  backdrop-filter:blur(26px) saturate(135%)!important;
  box-shadow:0 22px 50px rgba(0,0,0,.49),inset 0 1px 0 rgba(255,245,219,.24)!important;
}
#m1-shared-site-header .m1-hdr-navigation #m1-hdr-sub-division{
  overflow:visible!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown>.m1-hdr-unified-glass-item,
#m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-children>.m1-hdr-unified-glass-item{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:54px!important;
  max-height:none!important;
  margin:0!important;
  padding:8px 9px!important;
  white-space:normal!important;
  direction:rtl!important;
  text-align:right!important;
  border:1px solid rgba(231,230,225,.28)!important;
  border-radius:11px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.065))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 4px 12px rgba(0,0,0,.09)!important;
  color:#fff1d9!important;
  text-decoration:none!important;
  transition:background-color .16s ease,border-color .16s ease!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown>.m1-hdr-unified-glass-item:is(:hover,:focus-visible,.is-active),
#m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-children>.m1-hdr-unified-glass-item:is(:hover,:focus-visible,.is-active){
  border-color:#f1c481!important;
  background:linear-gradient(145deg,rgba(164,113,54,.57),rgba(73,51,34,.58))!important;
  color:#fff1d9!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-dropdown>.m1-hdr-unified-glass-item:last-child,
#m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-children>.m1-hdr-unified-glass-item:last-child{
  border-bottom:1px solid rgba(231,230,225,.28)!important;
}
#m1-shared-site-header .m1-hdr-navigation .m1-hdr-unified-glass-item::after,
#m1-shared-site-header .m1-hdr-mobile .m1-hdr-unified-glass-item::after{
  content:none!important;
  display:none!important;
}
#m1-shared-site-header .m1-hdr-unified-glass-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 32px!important;
  width:32px!important;
  height:32px!important;
  border:1px solid rgba(221,190,145,.2)!important;
  border-radius:9px!important;
  background:rgba(23,22,21,.23)!important;
  color:#f0c88d!important;
}
#m1-shared-site-header .m1-hdr-unified-glass-icon .m1-hdr-nav-icon{
  display:block!important;
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  color:#f0c88d!important;
}
#m1-shared-site-header .m1-hdr-unified-glass-title{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  color:#fff1d9!important;
  font:700 12px/1.6 Tahoma,"Segoe UI",Arial,sans-serif!important;
  overflow-wrap:break-word!important;
}
#m1-shared-site-header .m1-hdr-unified-glass-chevron{
  display:block!important;
  flex:0 0 auto!important;
  color:#d4aa72!important;
  font:500 21px/1 Tahoma,Arial,sans-serif!important;
}
/* Match the special Division cards to the same width, spacing and density.
   Its existing secondary flyout stays interactive, only narrowed to 230px. */
#m1-shared-site-header .m1-division-glass-menu{
  gap:7px!important;
}
#m1-shared-site-header .m1-division-glass-menu .m1-division-glass-item{
  box-sizing:border-box!important;
  min-height:54px!important;
  padding:8px 9px!important;
  gap:7px!important;
  border-radius:11px!important;
}
#m1-shared-site-header .m1-division-glass-icon{
  flex:0 0 32px!important;
  width:32px!important;
  height:32px!important;
  border-radius:9px!important;
}
#m1-shared-site-header .m1-division-glass-icon svg{
  width:20px!important;
  height:20px!important;
}
#m1-shared-site-header .m1-division-glass-text strong{
  font-size:12px!important;
}
#m1-shared-site-header .m1-division-glass-text small{
  font-size:9.6px!important;
  line-height:1.4!important;
}
#m1-shared-site-header .m1-division-cascade-flyout{
  width:230px!important;
  max-width:calc(100vw - 24px)!important;
  gap:7px!important;
  padding:10px!important;
}
#m1-shared-site-header .m1-division-cascade-choice{
  min-height:54px!important;
  padding:8px 9px!important;
  font-size:12px!important;
}
/* In the compact drawer every submenu remains full-width like Hosting,
   keeping the original accessible details navigation on touch screens. */
@media(max-width:1899px){
  #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-group .m1-hdr-mobile-children{
    width:auto!important;
    min-width:0!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-hdr-mobile-children>.m1-hdr-unified-glass-item{
    min-height:54px!important;
    padding:8px 9px!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-glass-menu .m1-division-glass-item{
    min-height:54px!important;
    padding:8px 9px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #m1-shared-site-header .m1-hdr-unified-glass-item{
    transition:none!important;
  }
}


/* Compact navigation: the first "تقسیم نقش با ماسک" row is the disclosure.
   Its five choices open DIRECTLY underneath; no intervening summary row. */
@media(max-width:1899px){
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-cascade{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-cascade>summary{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-height:54px!important;
    padding:8px 9px!important;
    list-style:none!important;
    cursor:pointer!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-cascade>summary::-webkit-details-marker{
    display:none!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-cascade>summary::marker{
    content:"";
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-cascade[open]>summary{
    border-color:#f1c481!important;
    background:linear-gradient(145deg,rgba(164,113,54,.57),rgba(73,51,34,.58))!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-cascade[open] .m1-division-glass-chevron{
    transform:rotate(180deg);
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-cascade>summary:focus-visible{
    outline:2px solid #e9c18d!important;
    outline-offset:2px!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-mask-choices{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    padding:8px 0 4px!important;
  }
  #m1-shared-site-header .m1-hdr-mobile .m1-division-mobile-mask-choices>.m1-division-cascade-choice{
    width:100%!important;
    max-width:100%!important;
    min-height:48px!important;
    padding:9px 12px!important;
    border-radius:10px!important;
    font-size:12px!important;
  }
}

/* Make top-level wide-screen navigation buttons equal to the widest natural item.
   This never changes submenu or mobile menu widths. */
@media(min-width:1900px){
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-item{
  width:var(--m1-main-menu-equal-width,auto)!important;
  min-width:var(--m1-main-menu-equal-width,0px)!important;
  flex:0 0 auto!important;
 }
 #m1-shared-site-header .m1-hdr-navigation .m1-hdr-group{
  width:var(--m1-main-menu-equal-width,auto)!important;
 }
}

/* Masked role division is a native nested disclosure under Hosting. */
#m1-shared-site-header .m1-hdr-navigation #m1-hdr-sub-hosting{overflow:visible!important}
#m1-shared-site-header .m1-hosting-mask-group{position:relative!important;width:100%!important;min-width:0!important;margin:0!important}
#m1-shared-site-header .m1-hosting-mask-group>summary{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 width:100%!important;min-height:54px!important;padding:8px 9px!important;gap:7px!important;
 white-space:normal!important;direction:rtl!important;text-align:right!important;list-style:none!important;
 border:1px solid rgba(231,230,225,.28)!important;border-radius:11px!important;
 background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.065))!important;
 color:#fff1d9!important;cursor:pointer!important;
}
#m1-shared-site-header .m1-hosting-mask-group>summary::-webkit-details-marker{display:none!important}
#m1-shared-site-header .m1-hosting-mask-group>summary::marker{content:''}
#m1-shared-site-header .m1-hosting-mask-group>summary::after{display:none!important;content:none!important}
#m1-shared-site-header .m1-hosting-mask-group[open]>summary,
#m1-shared-site-header .m1-hosting-mask-group>summary:is(:hover,:focus-visible,.is-active){
 border-color:#f1c481!important;
 background:linear-gradient(145deg,rgba(164,113,54,.57),rgba(73,51,34,.58))!important;
}
#m1-shared-site-header .m1-hosting-mask-group>summary:focus-visible{
 outline:2px solid #f1c481!important;outline-offset:2px!important
}
#m1-shared-site-header .m1-hdr-navigation .m1-hosting-mask-children{
 position:absolute!important;right:calc(100% + 9px)!important;top:0!important;
 width:230px!important;min-width:230px!important;max-width:calc(100vw - 24px)!important;
 padding:10px!important;z-index:1210!important;overflow:visible!important;
 border:1px solid rgba(225,190,128,.67)!important;border-radius:17px!important;
 background:linear-gradient(145deg,rgba(59,62,66,.92),rgba(20,21,24,.96))!important;
 box-shadow:0 22px 50px rgba(0,0,0,.49)!important;
}
#m1-shared-site-header .m1-hosting-mask-children .m1-division-glass-menu{
 display:flex!important;flex-direction:column!important;width:100%!important;gap:7px!important
}
/* Existing Hosting-only actions keep the old admin authorization, including
   when authorization changes after the header first mounts. */
#m1-shared-site-header #m1-hdr-sub-hosting>.m1-hdr-private>.m1-hdr-unified-glass-item,
#m1-shared-site-header .m1-hdr-mobile .m1-hdr-private>.m1-hdr-unified-glass-item{
 display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;
 min-height:54px!important;height:auto!important;margin:0!important;padding:8px 9px!important;
 white-space:normal!important;text-decoration:none!important;color:#fff1d9!important;
 border:1px solid rgba(231,230,225,.28)!important;border-radius:11px!important;
 background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.065))!important;
}
#m1-shared-site-header #m1-hdr-sub-hosting>.m1-hdr-private>.m1-hdr-unified-glass-item:is(:hover,:focus-visible,.is-active),
#m1-shared-site-header .m1-hdr-mobile .m1-hdr-private>.m1-hdr-unified-glass-item:is(:hover,:focus-visible,.is-active){
 border-color:#f1c481!important;background:linear-gradient(145deg,rgba(164,113,54,.57),rgba(73,51,34,.58))!important
}
@media(max-width:1899px){
 #m1-shared-site-header .m1-hdr-mobile .m1-hosting-mask-group{display:block!important}
 #m1-shared-site-header .m1-hdr-mobile .m1-hosting-mask-children{
  position:static!important;top:auto!important;right:auto!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  margin:7px 0 0!important;padding:9px!important;
  border:1px solid rgba(217,187,142,.34)!important;border-radius:12px!important;
  background:rgba(24,26,30,.7)!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hosting-mask-group>summary .m1-hdr-unified-glass-chevron{
  margin-inline-start:auto!important;
 }
 #m1-shared-site-header .m1-hdr-mobile .m1-hosting-mask-group[open]>summary .m1-hdr-unified-glass-chevron{
  transform:rotate(-90deg)!important;
 }
}

/* CANONICAL M1-MAFIA HEADER — approved complete horizontal source.
   The former composite SVG used a 422x330 vertical banner and cropped the
   M1 emblem and subtitle. Do not reconstruct this wordmark from fragments.
   Use one original 208x55 image at or below native dimensions on every page. */
#m1-shared-site-header .m1-hdr-brand{
  overflow:visible!important;background:transparent!important;
  border:0!important;box-shadow:none!important;
}
#m1-shared-site-header .m1-hdr-brand .m1-hdr-brand-image{
  display:block!important;flex:none!important;
  width:min(100%,198px)!important;
  max-width:100%!important;height:auto!important;max-height:58px!important;
  object-fit:contain!important;object-position:right center!important;
  background:transparent!important;mix-blend-mode:screen!important;
  filter:none!important;border:0!important;box-shadow:none!important;
}
@media(min-width:1900px){
 #m1-shared-site-header .m1-hdr-inner{
  grid-template-columns:minmax(238px,238px) minmax(0,1fr) minmax(295px,295px)!important;
 }
 #m1-shared-site-header .m1-hdr-brand .m1-hdr-brand-image{
  width:208px!important;max-height:58px!important;
  filter:contrast(1.025) brightness(1.01)!important;
  image-rendering:auto!important;
 }
}
@media(max-width:1899px) and (min-width:681px){
 #m1-shared-site-header .m1-hdr-brand .m1-hdr-brand-image{
  width:min(100%,175px)!important;max-height:54px!important;
 }
}
@media(max-width:680px){
 #m1-shared-site-header .m1-hdr-brand .m1-hdr-brand-image{
  width:clamp(142px,42vw,181px)!important;
  max-width:100%!important;max-height:52px!important;
 }
}
@media(max-width:380px){
 #m1-shared-site-header .m1-hdr-brand .m1-hdr-brand-image{
  width:clamp(122px,39vw,145px)!important;
  max-width:100%!important;max-height:48px!important;
 }
}
