/* ALOPARDEH 83 — one navigation scale for public pages. No global content or form overrides. */
:root{--alo83-nav-height:90px;--alo83-nav-bg:var(--cream,#fffaf5);--alo83-nav-text:var(--ink,#47382e);--alo83-nav-font:14px}
@media(min-width:761px){
 body>header, header.alo72-shared-header{
  box-sizing:border-box!important;position:relative!important;z-index:80!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;flex-wrap:nowrap!important;
  width:100%!important;min-height:var(--alo83-nav-height)!important;
  padding:10px max(18px,calc((100vw - 1240px)/2))!important;
  gap:clamp(12px,1.1vw,20px)!important;background:var(--alo83-nav-bg)!important;
  border-bottom:1px solid rgba(108,80,49,.15)!important;
  box-shadow:0 3px 14px rgba(45,34,21,.06)!important
 }
 body>header>.brand, body>header>.alo71-brand,header.alo72-shared-header>.alo71-brand,
 header.alo72-shared-header>.alo78-brand{margin:0!important;padding:0!important;flex:0 0 105px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:105px!important;max-width:105px!important;line-height:1.25!important}
 body>header>.brand>img,body>header>.alo71-brand>img,header.alo72-shared-header>.alo71-brand>img,
 body>header .site-logo.alo-combined-logo{
  display:block!important;object-fit:contain!important;object-position:center!important;
  width:auto!important;max-width:105px!important;height:auto!important;max-height:74px!important;
  min-height:0!important;margin:0 auto!important
 }
 body>header>nav,header.alo72-shared-header>nav{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:1 1 auto!important;flex-wrap:nowrap!important;min-width:0!important;
  gap:clamp(7px,.8vw,14px)!important;margin:0!important;padding:0!important
 }
 body>header>nav>a,body>header>nav>.nav-dropdown,
 body>header>nav>.nav-dropdown>.nav-dropdown-toggle,
 header.alo72-shared-header>nav>a{
  box-sizing:border-box!important;white-space:nowrap!important;font-size:clamp(12px,.96vw,var(--alo83-nav-font))!important;
  font-weight:600!important;line-height:1.8!important;letter-spacing:0!important;
  margin:0!important;text-transform:none!important;color:var(--alo83-nav-text)!important
 }
 body>header>nav>a.alo76-staff-link,header.alo72-shared-header>nav>a.alo76-staff-link{
  margin-inline-start:auto!important;flex:0 0 auto!important
 }
}
@media(max-width:760px){
 body>header,header.alo72-shared-header{
  box-sizing:border-box!important;min-height:76px!important;
  padding:8px 14px!important;gap:8px!important;align-items:center!important;
  background:var(--alo83-nav-bg)!important;border-bottom:1px solid rgba(108,80,49,.15)!important
 }
 body>header>.brand,body>header>.alo71-brand,header.alo72-shared-header>.alo71-brand{
  margin:0!important;padding:0!important;min-width:0!important;align-items:center!important;
  justify-content:center!important;flex:0 0 88px!important
 }
 body>header>.brand>img,body>header>.alo71-brand>img,header.alo72-shared-header>.alo71-brand>img,
 body>header .site-logo.alo-combined-logo{
  display:block!important;max-width:88px!important;max-height:60px!important;
  width:auto!important;height:auto!important;object-fit:contain!important;margin:0 auto!important
 }
 /* Staff login must look like an ordinary menu item, not an outlined badge. */
 header .alo53-mobile-panel>a.alo76-staff-mobile,
 header .alo53-mobile-panel>a[href*="hamkaran.php"],
 header .alo71-mobile-menu a[href*="hamkaran.php"],
 header .alo72-mobile-menu a[href*="hamkaran.php"],
 header nav a.alo76-staff-link{
  border:0!important;border-radius:10px!important;outline:0!important;
  box-shadow:none!important;background:transparent!important;
  padding:10px 12px!important;margin:0!important;
  font-weight:600!important
 }
 header .alo53-mobile-panel>a[href*="hamkaran.php"]:focus-visible,
 header .alo71-mobile-menu a[href*="hamkaran.php"]:focus-visible,
 header .alo72-mobile-menu a[href*="hamkaran.php"]:focus-visible{
   outline:2px solid var(--alo83-nav-text)!important;outline-offset:2px!important
 }
 /* Mobile headers with a hamburger keep navigation behind it; preserve other pages' fallback links. */
 header.alo72-shared-header>nav{display:none!important}
}

/* 83 desktop page-width synchronization: only targeted public pages. */
@media(min-width:761px){
 body.alo63-pages >main.alo63-wrap,body.alo63-pages > .alo63-wrap,
 body.alo83-content-page >main,body.alo83-content-page >.club-main,
 body.alo83-content-page >.page-container,body.alo83-content-page >.content-wrap,
 body.alo83-content-page >.site-content,body.alo83-content-page >.container{
  box-sizing:border-box!important;width:min(1240px,calc(100% - 40px))!important;
  max-width:1240px!important;margin-right:auto!important;margin-left:auto!important;
 }
 body.alo83-content-page >main >.container,body.alo83-content-page >main >.page-wrap,
 body.alo83-content-page >main >.about-container,body.alo83-content-page >main >.blog-container,
 body.alo83-content-page >main >.contact-container{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
 }
 body.alo83-content-page .club-main{padding-inline:20px!important}
}
@media(max-width:760px){
 body.alo63-pages >main.alo63-wrap,body.alo63-pages >.alo63-wrap,
 body.alo83-content-page >main,body.alo83-content-page >.club-main{
  box-sizing:border-box!important;width:calc(100% - 24px)!important;
  max-width:100%!important;margin-right:auto!important;margin-left:auto!important;
 }
}
