/* AXYVERAX 1.10.6 – independent logo / header-ad row.
   This component replaces the old light-only logo row. Desktop variants share
   one layout; the mobile WordPress header is not altered. */
html body.axv-rev-v1 {
  --axv-1106-brand-bg:#ffffff;
  --axv-1106-brand-text:#17243b;
  --axv-1106-brand-edge:#e3eaf4;
  --axv-1106-brand-glow:rgba(143,95,218,.045);
}
html body.axv-rev-v1.dark-theme {
  /* Fix the exact old CSS-variable conflict as well as the new component. */
  --axv-192-surface:#152239;
  --axv-1106-brand-bg:#152239;
  --axv-1106-brand-text:#f4f7ff;
  --axv-1106-brand-edge:#34465e;
  --axv-1106-brand-glow:rgba(160,102,243,.10);
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone {
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  background:var(--axv-1106-brand-bg)!important;
  background-color:var(--axv-1106-brand-bg)!important;
  border:0!important;
  border-bottom:1px solid var(--axv-1106-brand-edge)!important;
  box-shadow:none!important;
  isolation:isolate;
  position:relative;
}
/* Older demo variants set a background *image* on the same masthead, so
   remove that image in the default (day) palette as well as the dark palette. */
html body.axv-rev-v1[class*="axv-rev-demo-"]:not(.dark-theme) #masthead .axv-1106-brand-zone {
  background:#ffffff!important;
  background-color:#ffffff!important;
  background-image:none!important;
}
html body.axv-rev-v1.dark-theme #masthead .axv-1106-brand-zone {
  background:#152239!important;
  background-color:#152239!important;
  border-bottom-color:#34465e!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse 50% 160% at 8% 0%,var(--axv-1106-brand-glow),transparent 75%);
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__inner {
  display:grid!important;
  grid-template-columns:minmax(0,340px) minmax(0,1fr)!important;
  gap:clamp(18px,3vw,50px)!important;
  align-items:center!important;
  justify-content:space-between!important;
  box-sizing:border-box!important;
  margin:0 auto!important;
  padding:14px 0!important;
  width:min(100% - 40px,1250px)!important;
  max-width:1250px!important;
  min-width:0!important;
  min-height:96px!important;
  height:auto!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__identity {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__link {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  max-width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  background:transparent;
  color:var(--axv-1106-brand-text)!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__image {
  display:block!important;
  max-width:100%!important;
  max-height:76px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
  flex:0 1 auto;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__image--night {display:none!important}
html body.axv-rev-v1.dark-theme #masthead .axv-1106-brand-zone__image--day {display:none!important}
html body.axv-rev-v1.dark-theme #masthead .axv-1106-brand-zone--logo-plate .axv-1106-brand-zone__image--day {display:block!important}
html body.axv-rev-v1.dark-theme #masthead .axv-1106-brand-zone--night-logo .axv-1106-brand-zone__image--night {display:block!important}
/* When no dedicated dark logo exists, use a SMALL logo plate, not a full-width white stripe. */
html body.axv-rev-v1.dark-theme #masthead .axv-1106-brand-zone--logo-plate .axv-1106-brand-zone__link {
  background:#f9fbff!important;
  border:1px solid rgba(215,228,244,.72)!important;
  border-radius:13px!important;
  padding:9px 13px!important;
  box-shadow:0 6px 20px rgba(0,0,0,.16)!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__name {
  color:var(--axv-1106-brand-text)!important;
  font-size:clamp(20px,2vw,28px)!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:-.03em!important;
}
html body.axv-rev-v1.dark-theme #masthead .axv-1106-brand-zone--logo-plate .axv-1106-brand-zone__name {color:#17243b!important}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__advertising {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__advertising:empty {display:none!important}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__advertising .axy-ad-slot--header {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__advertising .axy-premium-ad {
  flex:0 1 auto!important;
  width:100%!important;
  max-width:600px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__advertising .axy-premium-ad img {
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  max-height:80px!important;
  height:auto!important;
  object-fit:contain!important;
  margin-left:auto!important;
}
html body.axv-rev-v1 #masthead .axv-1106-brand-zone__advertising .axv-rev-ad-promo {
  min-height:66px!important;
  max-height:82px!important;
  width:100%!important;
  margin:0!important;
  border-radius:13px!important;
}
@media(max-width:960px){
  html body.axv-rev-v1 #masthead .axv-1106-brand-zone__inner{
    grid-template-columns:minmax(0,250px) minmax(0,1fr)!important;
    gap:18px!important;
    min-height:82px!important;
  }
  html body.axv-rev-v1 #masthead .axv-1106-brand-zone__image{max-height:64px!important}
}
@media(max-width:767px){
  /* Keep the native mobile header in charge. Do not force a desktop brand bar. */
  html body.axv-rev-v1 #masthead .axv-1106-brand-zone__inner {
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
    width:min(100% - 32px,1250px)!important;
    padding:12px 0!important;
  }
  html body.axv-rev-v1 #masthead .axv-1106-brand-zone__advertising {justify-content:center!important}
  html body.axv-rev-v1 #masthead .axv-1106-brand-zone__advertising .axy-ad-slot--header {justify-content:center!important}
}
