@import url("/assets/css/zibadb-font.css");
/* ZIBADB shared tenant and admin preview stylesheet. Edit this file for both views. */

*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f6f7fa;color:#17213c;font:15px/2 Vazirmatn,Vazir,Tahoma,sans-serif}header{position:sticky;top:0;background:white;z-index:4;box-shadow:0 2px 14px #0001}.bar{max-width:1200px;margin:auto;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}nav{display:flex;flex-wrap:wrap;gap:14px}a{color:inherit;text-decoration:none}.brand{font-size:22px;font-weight:800}.wrap{max-width:1160px;margin:auto;padding:22px}.hero{background:#17213c;color:white;text-align:center;padding:70px 20px;min-height:310px;display:grid;place-content:center}.hero h1{font-size:clamp(27px,5vw,47px);margin:0}.hero p{font-size:18px}.placeholder{background:repeating-linear-gradient(135deg,#e8ebf0,#e8ebf0 18px,#f3f4f7 18px,#f3f4f7 36px);border:2px dashed #c6ccd6;border-radius:14px;display:grid;place-content:center;text-align:center;min-height:200px;color:#68758c;padding:20px}.placeholder .symbol{font-size:50px;line-height:1.5}.hero .placeholder{background:#2c3854;color:#e4e8f0;border-color:#7d8799;min-height:170px;margin-top:22px}.section{background:white;border:1px solid #e5e8ef;border-radius:16px;padding:24px;margin:24px 0;scroll-margin-top:100px}.section h2{margin:0}.section p{color:#69768a}.visual{margin-top:16px}.pill{display:inline-block;background:#f2f4f8;border-radius:9px;padding:8px 15px;margin:7px 0}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tiles .placeholder{min-height:160px}.action{display:inline-block;border:0;background:#182641;color:#fff;padding:9px 18px;border-radius:9px;margin-top:12px}.muted{font-size:13px;color:#6d7481}footer{text-align:center;padding:28px}@media(max-width:700px){.tiles{grid-template-columns:1fr}nav{gap:9px;font-size:12px}.hero{padding:40px 14px}}
.site-columns{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.site-main{min-width:0}.global-sidebar{grid-column:2;grid-row:1;background:#fff;border:1px solid #e5e8ef;border-radius:16px;padding:16px;position:sticky;top:100px}.global-sidebar h2{font-size:20px;margin:0 0 14px}.global-side-card{border-bottom:1px solid #e5e8ef;padding:14px 0}.global-side-card:last-child{border-bottom:0}.global-side-card img{width:100%;height:auto;max-height:260px;object-fit:contain;border-radius:10px}.global-side-card h3{font-size:15px;margin:8px 0}.global-side-card p{font-size:13px;color:#69768a}.global-side-card .placeholder{min-height:125px}.side-type{font-size:12px;color:#66748d}.site-main>.hero{border-radius:16px;overflow:hidden}.site-main .section{margin:20px 0}@media(max-width:850px){.site-columns{grid-template-columns:1fr}.global-sidebar{grid-column:1;grid-row:2;position:static}.site-main{grid-column:1;grid-row:1}}

body,body button,body input,body select,body textarea,body dialog{font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important}

/* ZIBADB 1.73 — compact, two-column reference-inspired tenant theme */
:root{--z173-navy:#101820;--z173-ink:#20242d;--z173-pink:#d32e68;--z173-line:#e9e9ec;--z173-surface:#fff}
html{font-size:14px}body{background:#f5f6f8!important;color:var(--z173-ink)!important;font-size:13px!important;line-height:1.65!important}
header{background:var(--z173-navy)!important;color:#fff!important;box-shadow:none!important;position:relative!important;top:auto!important;margin:8px auto 0!important;max-width:1370px!important;border-radius:10px 10px 0 0!important;z-index:10!important}
header .bar{max-width:none!important;min-height:56px!important;padding:5px 18px!important;gap:14px!important;flex-wrap:nowrap!important}
header .z168-brand{order:0;flex-shrink:0;gap:10px!important;color:#fff!important}
header .brand{font-size:17px!important;font-weight:800!important;white-space:nowrap!important}
header .z168-logo{width:44px!important;height:42px!important;flex-basis:44px!important;color:#e7c476!important;border:1px dashed #a98c58!important;background:transparent!important}
header nav{align-items:center!important;justify-content:flex-start!important;gap:0!important;flex-wrap:wrap!important;font-size:12px!important}
header nav a,header nav .z168-nav-button{display:inline-flex!important;align-items:center!important;min-height:46px!important;padding:0 12px!important;color:#f3f3f5!important;font-size:12px!important;font-weight:600!important;white-space:nowrap!important}
header nav a:hover,header nav .z168-nav-button:hover{color:#fff!important;background:#29313b!important}
header nav a:first-child{border-bottom:3px solid var(--z173-pink)!important}
.wrap.site-columns{max-width:1370px!important;margin:0 auto!important;padding:9px 12px 22px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 224px!important;gap:12px!important;align-items:start!important}
.site-main{min-width:0!important;grid-column:1!important;grid-row:1!important}
.global-sidebar{grid-column:2!important;grid-row:1!important;min-width:0!important;position:static!important}
.z169-news,.z169-ads{padding:9px 10px!important;border-radius:7px!important;border:1px solid var(--z173-line)!important;margin:0 0 10px!important;background:#fff!important}
.z169-news h2,.z169-ads h2{font-size:16px!important;line-height:1.5!important;margin:0 0 7px!important;font-weight:800!important}
.z169-news-title{font-size:12px!important;line-height:1.65!important;padding:9px 0!important;color:#26262b!important}
.z169-empty{font-size:12px!important;padding:8px 0!important}
.z169-ad{margin-bottom:8px!important}.z169-ad img,.z169-ad video{border-radius:5px!important;width:100%!important;height:auto!important}
.site-main>.hero{border-radius:8px!important;min-height:184px!important;padding:22px 24px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;overflow:hidden!important}
.hero h1{font-size:clamp(23px,3vw,37px)!important;font-weight:800!important;line-height:1.5!important;margin:0!important}
.hero .placeholder{min-height:82px!important;width:min(100%,470px)!important;margin:4px auto 0!important;padding:9px!important;border-radius:7px!important;font-size:11px!important}
.hero .placeholder .symbol,.hero .placeholder .symbol{font-size:26px!important;line-height:1.3!important}
.hero img{max-height:205px!important;width:100%!important;object-fit:contain!important}
.site-main main{display:block!important}
.site-main .section{border:1px solid var(--z173-line)!important;border-radius:7px!important;padding:12px 14px!important;margin:10px 0!important;background:#fff!important;scroll-margin-top:15px!important}
.site-main .section h2{font-size:18px!important;font-weight:800!important;line-height:1.5!important;margin:0 0 5px!important;color:#20232b!important}
.site-main .section .visual{margin-top:6px!important}.site-main .section .visual img{max-height:210px!important}
.site-main .section>.placeholder{min-height:80px!important}
.site-main .section .placeholder{border-radius:6px!important;border-width:1px!important;min-height:85px!important;padding:8px!important;font-size:11px!important}
.site-main .section .placeholder .symbol{font-size:30px!important;line-height:1.2!important}
.z167-carousel{margin-top:3px!important;gap:4px!important}
.z167-viewport{min-width:0!important}.z167-tile{padding:0 5px!important}
.z167-tile .placeholder{min-height:115px!important;max-height:135px!important}
.z167-arrow{border-radius:50%!important;width:25px!important;height:25px!important;display:grid!important;place-items:center!important;padding:0!important;font-size:13px!important;color:var(--z173-pink)!important;border-color:#f2cbd9!important;flex-shrink:0!important}
.z167-store-link{font-size:11px!important;color:var(--z173-pink)!important;margin-top:4px!important}
.z168-footer{margin-top:8px!important;padding:15px 18px!important;background:var(--z173-navy)!important;font-size:12px!important}
.z168-footer-inner{max-width:1370px!important}
/* Keep all form controls, dialogs and preview readable in Persian */
body,button,input,select,textarea,dialog{font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important}
@media(min-width:1100px){.site-main .section:has(.z167-carousel){padding-top:9px!important;padding-bottom:10px!important}}
@media(max-width:850px){header{margin:0!important;border-radius:0!important}header .bar{flex-wrap:wrap!important;justify-content:center!important}header nav{justify-content:center!important}.wrap.site-columns{grid-template-columns:1fr!important;padding:9px!important}.site-main{grid-column:1!important;grid-row:1!important}.global-sidebar{grid-column:1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.z169-news,.z169-ads{margin:0!important}}
@media(max-width:540px){.global-sidebar{grid-template-columns:1fr!important}.site-main>.hero{min-height:160px!important}.hero h1{font-size:23px!important}.z167-tile{padding:0 3px!important}.z167-tile .placeholder{min-height:98px!important;font-size:10px!important}header nav a,header nav .z168-nav-button{min-height:35px!important;padding:0 8px!important;font-size:11px!important}}


/* 1.74: guaranteed reference styling, even if assets were not deployed. */
body{background:#f7f7f8!important;color:#20212b!important;font-size:12px!important;line-height:1.5!important}
.preview-banner{font-size:12px!important;padding:5px!important}
header{width:calc(100% - 24px)!important;max-width:1390px!important;background:#111820!important;border-radius:8px!important;margin:8px auto 0!important;box-shadow:none!important}
header .bar{min-height:51px!important;max-width:none!important;padding:4px 16px!important;display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important}
header .z168-brand{display:flex!important;align-items:center!important;flex-shrink:0!important;gap:8px!important}
header .brand{font-size:16px!important;color:white!important}
header .z168-logo{width:42px!important;height:42px!important;color:#e3bb60!important;border-color:#b68d51!important}
header nav{display:flex!important;gap:0!important;align-items:center!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:thin!important}
header nav a,header nav .z168-nav-button{font-size:12px!important;font-weight:600!important;color:#fff!important;min-height:46px!important;padding:0 10px!important;background:transparent!important;border:0!important;border-radius:0!important}
header nav a:first-child{border-bottom:3px solid #d52b66!important}
.wrap.site-columns{max-width:1390px!important;grid-template-columns:minmax(0,1fr) 224px!important;gap:12px!important;padding:8px 12px!important}
.site-main{grid-column:1!important;grid-row:1!important}.global-sidebar{grid-column:2!important;grid-row:1!important}
.site-main>.hero{min-height:178px!important;max-height:240px!important;border-radius:8px!important;padding:14px!important;gap:6px!important}
.hero h1{font-size:clamp(22px,3vw,35px)!important;line-height:1.25!important}
.hero .placeholder{min-height:80px!important;width:min(100%,480px)!important;margin:4px auto 0!important}
.site-main .section{border-radius:7px!important;margin:9px 0!important;padding:10px 13px!important}
.site-main .section h2{font-size:17px!important;margin:0 0 6px!important}
.z167-carousel{margin-top:2px!important;gap:5px!important}.z167-tile{padding:0 4px!important}
.z167-tile .placeholder{min-height:104px!important;max-height:130px!important;font-size:11px!important;padding:6px!important}
.z167-tile .symbol{font-size:28px!important}.z167-arrow{width:25px!important;height:25px!important;border-radius:50%!important;padding:0!important;color:#d32e68!important}
.z169-news,.z169-ads{border-radius:7px!important;padding:9px 10px!important;margin:0 0 10px!important}
.z169-news h2,.z169-ads h2{font-size:16px!important;margin:0 0 7px!important}
.z169-ad img,.z169-ad video{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
@media(max-width:850px){header{width:100%!important;margin:0!important;border-radius:0!important}header .bar{flex-wrap:wrap!important}header nav{width:100%!important}.wrap.site-columns{grid-template-columns:1fr!important}.site-main{grid-column:1!important;grid-row:1!important}.global-sidebar{grid-column:1!important;grid-row:2!important}}

/* ZIBADB: 30% taller content cards, matching admin preview and tenant sites. */
.site-main .section:is(#services,#booking,#staff,#store,#education,#gallery) .placeholder{min-height:110.5px!important;}
.site-main .section:is(#services,#staff,#store,#gallery) .z167-tile .placeholder{min-height:135.2px!important;max-height:none!important;}
@media(max-width:540px){.site-main .section:is(#services,#staff,#store,#gallery) .z167-tile .placeholder{min-height:127.4px!important;}}


/* Shared 1920 x 600 hero ratio; no title or subtitle overlay. */
.site-main > .hero {
  width: 100% !important;
  aspect-ratio: 16 / 5 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}
.site-main > .hero .zibadb-hero-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
}
.site-main > .hero .placeholder {
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 8px !important;
  display: grid !important;
  place-content: center !important;
}


/* Shared news heading: 30% smaller than 16px, light gray box. */
.z169-panel > h2 {
  font-size: 11.2px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  background: #f0f1f3 !important;
  color: #20242d !important;
  border-radius: 6px !important;
  padding: 7px 10px !important;
  margin: 0 0 8px !important;
}
