/* Qom Hockey public UI v4.11 — cohesive Persian sports system */

/* 1) absolute right-side drawer fix: physical coordinates only */
html[dir="rtl"] body.public-site .mobile-menu.vf-mobile-menu,
html[dir="rtl"] body.public-site #mobileMenu{
  inset:0 0 0 auto!important;
  top:0!important;right:0!important;bottom:0!important;left:auto!important;
  margin:0!important;width:min(410px,92vw)!important;height:100dvh!important;
  border-radius:26px 0 0 26px!important;border:0!important;border-left:1px solid #d9e2ee!important;
  transform:translateX(110%)!important;transform-origin:right center!important;
  box-shadow:-30px 0 90px rgba(2,20,50,.24)!important;
}
html[dir="rtl"] body.public-site .mobile-menu.vf-mobile-menu.open,
html[dir="rtl"] body.public-site #mobileMenu.open{transform:translateX(0)!important}
@media(max-width:520px){html[dir="rtl"] body.public-site .mobile-menu.vf-mobile-menu,html[dir="rtl"] body.public-site #mobileMenu{width:min(360px,94vw)!important;border-radius:22px 0 0 22px!important}}

/* 2) header + hero are one continuous surface */
.public-home .flash-stack:empty{display:none!important}
.public-home main{margin:0!important;padding:0!important}
.public-home .site-header.vf-site-header{position:relative!important;top:auto!important;margin:0!important;background:#06285d!important;border:0!important}
.public-home .site-header.vf-site-header::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#e30613 0 32%,#fff 32% 68%,#07853b 68% 100%)}
.public-home .header-row{min-height:82px!important}
.public-home .qv-hero{margin-top:0!important;border-top:0!important;background:linear-gradient(122deg,#041a3d 0%,#06285d 47%,#0a3e86 100%)!important}
.public-home .qv-hero-grid{min-height:610px!important}
.public-home .qv-hero::after{display:none!important}

/* 3) hero becomes editorial sports stage, not a floating card layout */
.public-home .qv-hero-copy{padding:72px 56px 78px 0!important}
.public-home .qv-hero-kicker{font-size:12px!important;color:#dbe8f7!important}
.public-home .qv-hero-copy h1{font-size:clamp(46px,6vw,82px)!important;max-width:680px!important;letter-spacing:-2px!important}
.public-home .qv-hero-copy>p{font-size:clamp(14px,1.35vw,18px)!important;max-width:610px!important;color:#c2d4ea!important}
.public-home .qv-hero-media{margin-inline-end:calc((100vw - min(1240px,calc(100vw - 40px)))/-2)!important}
.public-home .qv-spotlight{clip-path:polygon(9% 0,100% 0,100% 100%,0 100%)!important}
.public-home .qv-spotlight::after{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,rgba(4,26,61,.50),transparent 42%),linear-gradient(0deg,rgba(1,12,30,.75),transparent 55%);pointer-events:none}
.public-home .qv-spotlight-copy{z-index:4!important}
.public-home .qv-spotlight-label{border-radius:999px!important;padding:6px 11px!important}
.public-home .qv-hero-meta{border-top-color:rgba(255,255,255,.18)!important}

/* 4) integrated ticker + new routebar */
.qv-ticker{border:0!important;background:#fff!important}
.qv-ticker-inner{min-height:62px!important}
.qh-routebar{background:#071f48;color:#fff;border-top:1px solid rgba(255,255,255,.09);border-bottom:3px solid #07853b}
.qh-routebar-grid{display:grid;grid-template-columns:1.15fr repeat(3,1fr);min-height:126px}
.qh-routebar-title{display:flex;flex-direction:column;justify-content:center;padding:18px 0 18px 28px;border-inline-end:1px solid rgba(255,255,255,.12)}
.qh-routebar-title span{font-size:10px;font-weight:900;color:#7ea6d6}.qh-routebar-title strong{font-size:22px;margin-top:5px}
.qh-routebar-grid>a{display:grid;grid-template-columns:36px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:20px 24px;color:#fff;text-decoration:none;border-inline-end:1px solid rgba(255,255,255,.12);transition:background .2s ease}
.qh-routebar-grid>a:hover{background:rgba(255,255,255,.07)}
.qh-routebar-grid>a>b{font-size:10px;color:#e30613}.qh-routebar-grid>a:nth-of-type(2)>b{color:#fff}.qh-routebar-grid>a:nth-of-type(3)>b{color:#22a85b}
.qh-routebar-grid>a>span{display:grid;gap:4px}.qh-routebar-grid>a strong{font-size:12px}.qh-routebar-grid>a small{font-size:8px;color:#90a9c8;line-height:1.7}

/* 5) replace boxed quick cards with slim functional control deck */
.qv-access{background:#f4f7fb!important;border:0!important;padding:28px 0!important}
.qv-access-grid{background:#fff;border:1px solid #dce5ef;border-radius:18px;overflow:hidden;box-shadow:0 18px 50px rgba(8,37,78,.06)}
.qv-access-grid>a{min-height:104px!important;padding:18px 20px!important;border:0!important;border-inline-start:1px solid #e3eaf2!important}
.qv-access-grid>a:first-child{border-inline-start:0!important}
.qv-access-grid>a:hover{background:#f7faff!important;transform:none!important}
.qv-access-icon{border-radius:12px!important;background:#edf4ff!important;color:#0b4a9a!important}

/* 6) newsroom: continuous asymmetric editorial composition */
.qv-news-section{padding:80px 0 90px!important;background:#fff!important}
.qv-section-head{border-bottom:2px solid #0b315f!important;padding-bottom:20px!important}
.qv-section-head>div>span{color:#e30613!important}
.qv-editorial{gap:0!important;border:1px solid #d9e2ec;border-radius:22px;overflow:hidden;background:#fff}
.qv-editorial-lead{min-height:590px!important;border-radius:0!important}
.qv-editorial-stream{border-inline-start:1px solid #d9e2ec}
.qv-stream-item{border-bottom:1px solid #e2e8ef!important;padding-inline:20px!important}
.qv-stream-item:last-child{border-bottom:0!important}
.qv-stream-item:hover{background:#f6f9fc!important}

/* 7) stats becomes an arena-style score band */
.qv-pulse{background:linear-gradient(105deg,#031a3e,#073a80)!important;padding:0!important}
.qv-pulse-grid{min-height:290px!important}
.qv-pulse-intro{align-self:stretch;display:flex;flex-direction:column;justify-content:center;border-inline-end:1px solid rgba(255,255,255,.14)!important}
.qv-pulse-stats{height:100%;align-items:stretch}
.qv-pulse-stats>div{display:flex!important;flex-direction:column;justify-content:center;min-height:170px!important}
.qv-pulse-stats strong{font-size:clamp(38px,4vw,62px)!important}

/* 8) roster uses cropped magazine panels, no generic card shadows */
.qv-people-section{background:#f3f6fa!important;padding:82px 0!important}
.qv-roster{border-radius:22px;overflow:hidden;border:1px solid #d8e1eb!important;background:#d8e1eb;gap:1px}
.qv-roster-item{border:0!important}
.qv-roster-media{aspect-ratio:3/4!important}
.qv-roster-copy{padding:16px 18px 20px!important}
.qv-final-strip{background:#e30613!important}

/* 9) no accidental English-style microcopy spacing */
.public-site .brand-copy small,.public-site .mobile-menu-brand small,.public-home [class*="kicker"]{letter-spacing:0!important;text-transform:none!important}

html[data-theme="dark"] .qh-routebar{background:#061a36}
html[data-theme="dark"] .qv-access{background:#09182a!important}
html[data-theme="dark"] .qv-access-grid{background:#0d2037;border-color:#263d59}
html[data-theme="dark"] .qv-access-grid>a{border-color:#263d59!important}
html[data-theme="dark"] .qv-editorial{border-color:#263d59;background:#0b1c31}
html[data-theme="dark"] .qv-editorial-stream{border-color:#263d59}

@media(max-width:1080px){
  .qh-routebar-grid{grid-template-columns:1fr 1fr}.qh-routebar-title{grid-column:1/-1;min-height:86px;border-inline-end:0;border-bottom:1px solid rgba(255,255,255,.12)}
  .qh-routebar-grid>a{min-height:104px}.qh-routebar-grid>a:last-child{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.12)}
}
@media(max-width:820px){
  .public-home .site-header.vf-site-header{position:relative!important}.public-home .qv-hero-grid{display:block!important}.public-home .qv-hero-copy{padding:44px 0 38px!important}.public-home .qv-hero-media{height:390px!important;margin:0 calc((100vw - min(1240px,calc(100vw - 28px)))/-2)!important}.public-home .qv-spotlight{clip-path:none!important}
  .qh-routebar-grid{grid-template-columns:1fr}.qh-routebar-title,.qh-routebar-grid>a{grid-column:auto!important;border-inline-end:0!important;border-bottom:1px solid rgba(255,255,255,.12)}
  .qv-editorial{border-radius:18px}.qv-editorial-stream{border-inline-start:0;border-top:1px solid #d9e2ec}.qv-editorial-lead{min-height:460px!important}
}
@media(max-width:620px){
  .public-home .header-row{min-height:66px!important}.public-home .qv-hero-copy{padding:34px 0 32px!important}.public-home .qv-hero-copy h1{font-size:40px!important}.public-home .qv-hero-media{height:330px!important}
  .qh-routebar-grid{min-height:0}.qh-routebar-title{min-height:76px;padding:14px 0}.qh-routebar-title strong{font-size:18px}.qh-routebar-grid>a{min-height:82px;padding:14px 8px;grid-template-columns:30px minmax(0,1fr) 18px}.qh-routebar-grid>a strong{font-size:11px}
  .qv-access{padding:16px 0!important}.qv-access-grid{border-radius:14px}.qv-access-grid>a{min-height:86px!important;border-inline-start:0!important;border-top:1px solid #e3eaf2!important}.qv-access-grid>a:first-child{border-top:0!important}
  .qv-news-section{padding:58px 0!important}.qv-editorial-lead{min-height:390px!important}
  html[dir="rtl"] body.public-site #mobileMenu{padding:16px 14px!important}
}
