/* MYQS 0.8: only editable homepage image and legal drafting styles */
.hero { background-image:none; overflow:hidden; }
.hero .myqs-home-bg { position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover; z-index:-2; }
.hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(5,25,42,.97),rgba(6,30,49,.93) 29%,rgba(6,30,49,.68) 53%,rgba(6,23,38,.12)); }
.hero .hero-inner { position:relative; z-index:1; }
.myqs-legal-warning { padding:18px 22px; margin:0 0 24px; border-left:4px solid #B87333; color:#0B2D4A; background:#fff3e8; font-weight:650; line-height:1.6; }
.myqs-legal-content { max-width:900px; min-height:180px; font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
.myqs-legal-content p { margin:0 0 20px; }
.myqs-legal-content h2, .myqs-legal-content h3 { margin:24px 0 10px; color:#0B2D4A; }
@media(max-width:620px){.hero::before { background:linear-gradient(90deg,rgba(5,25,42,.98),rgba(6,30,49,.91) 55%,rgba(6,30,49,.65)); }}

/* MYQS v0.8 startpage header hotfix */
.site-header .header-inner{
  width:min(1180px,calc(100% - 72px));
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  min-height:82px;
}

.site-header .brand{
  display:block;
  flex:0 0 auto;
}

.site-header .brand-logo{
  display:block;
  width:170px;
  height:auto;
  max-height:65px;
  object-fit:contain;
}

.site-header .nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(15px,2vw,30px);
}

.hero .hero-inner{
  width:min(1180px,calc(100% - 72px));
  margin-inline:auto;
}

@media (max-width:810px){
  .site-header .header-inner,
  .hero .hero-inner{
    width:min(100% - 44px,720px);
  }
}

@media (max-width:620px){
  .site-header .header-inner,
  .hero .hero-inner{
    width:min(100% - 34px,510px);
  }

  .site-header .brand-logo{
    width:140px;
  }
}

@media (max-width:390px){
  .site-header .header-inner,
  .hero .hero-inner{
    width:calc(100% - 30px);
  }
}
/* /MYQS v0.8 startpage header hotfix */

