/* OWW Knowledge Studio v1.6.5 — Header/Menu typography fix */

/* Hub standalone header: keep the navigation utilitarian and perfectly legible. */
body.oww-knowledge-hub .oww-hub-header{
  background:rgba(255,253,248,.985)!important;
  border-bottom:1px solid rgba(180,133,63,.28)!important;
  box-shadow:none!important;
}
body.oww-knowledge-hub .oww-hub-header .oww-nav{
  width:min(calc(100% - 48px),1220px)!important;
  min-height:84px!important;
  margin-inline:auto!important;
  padding:14px 0!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:34px!important;
}

/* Reliable wordmark. Avoid the square WordPress custom-logo canvas in this editorial header. */
body.oww-knowledge-hub .oww-hub-header .oww-brand-wordmark{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  min-width:235px!important;
  color:#2c211c!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.oww-knowledge-hub .oww-hub-header .oww-brand-name{
  display:block!important;
  font-family:"Lora",Georgia,serif!important;
  font-optical-sizing:auto!important;
  font-size:25px!important;
  line-height:1.02!important;
  font-weight:700!important;
  letter-spacing:.008em!important;
  word-spacing:0!important;
  font-synthesis:none!important;
  color:#2c211c!important;
}
body.oww-knowledge-hub .oww-hub-header .oww-brand-tagline{
  display:block!important;
  margin-top:6px!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:7px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.17em!important;
  word-spacing:.02em!important;
  color:#b1813c!important;
}

/* Navigation must not inherit editorial serif typography or theme tracking. */
body.oww-knowledge-hub .oww-hub-header nav{
  min-width:0!important;
  justify-self:end!important;
}
body.oww-knowledge-hub .oww-hub-header nav ul{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:clamp(18px,1.65vw,30px)!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.oww-knowledge-hub .oww-hub-header nav li{
  margin:0!important;
  padding:0!important;
  border:0!important;
  white-space:nowrap!important;
}
body.oww-knowledge-hub .oww-hub-header nav a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:42px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#4b4039!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:13.5px!important;
  line-height:1.2!important;
  font-weight:600!important;
  font-style:normal!important;
  font-stretch:normal!important;
  font-variant:normal!important;
  font-synthesis:none!important;
  font-kerning:normal!important;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1!important;
  letter-spacing:-.01em!important;
  word-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  text-rendering:optimizeLegibility!important;
  -webkit-font-smoothing:antialiased!important;
}
body.oww-knowledge-hub .oww-hub-header nav a:hover,
body.oww-knowledge-hub .oww-hub-header nav li.current-menu-item>a,
body.oww-knowledge-hub .oww-hub-header nav li.current_page_item>a{
  color:#68161c!important;
}
body.oww-knowledge-hub .oww-hub-header nav li.current-menu-item>a,
body.oww-knowledge-hub .oww-hub-header nav li.current_page_item>a{
  box-shadow:inset 0 -1px 0 #b4853f!important;
}

/* CTA: explicit dimensions and colors so theme/global button CSS cannot corrupt it. */
body.oww-knowledge-hub .oww-hub-header .oww-header-cta{
  justify-self:end!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:132px!important;
  min-height:42px!important;
  margin:0!important;
  padding:10px 16px!important;
  border:1px solid #68161c!important;
  border-radius:6px!important;
  background:#68161c!important;
  box-shadow:none!important;
  color:#fffdf8!important;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:700!important;
  font-style:normal!important;
  font-synthesis:none!important;
  letter-spacing:0!important;
  word-spacing:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.oww-knowledge-hub .oww-hub-header .oww-header-cta:hover{
  background:#3f0d12!important;
  border-color:#3f0d12!important;
  color:#fff!important;
  transform:translateY(-1px);
}

/* Pillar articles use the Kadence header. Lock its menu to Inter too, without touching other pages. */
body.oww-pillar-single #masthead .main-navigation a,
body.oww-pillar-single #masthead .mobile-navigation a,
body.oww-pillar-single #masthead button{
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-synthesis:none!important;
  font-kerning:normal!important;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1!important;
  letter-spacing:0!important;
  word-spacing:0!important;
  text-transform:none!important;
  text-rendering:optimizeLegibility!important;
  -webkit-font-smoothing:antialiased!important;
}

@media(max-width:1050px){
  body.oww-knowledge-hub .oww-hub-header .oww-nav{
    grid-template-columns:auto auto!important;
    gap:10px 24px!important;
    padding-bottom:12px!important;
  }
  body.oww-knowledge-hub .oww-hub-header nav{
    grid-column:1/-1!important;
    grid-row:2!important;
    justify-self:stretch!important;
    overflow-x:auto!important;
    scrollbar-width:none!important;
  }
  body.oww-knowledge-hub .oww-hub-header nav::-webkit-scrollbar{display:none!important;}
  body.oww-knowledge-hub .oww-hub-header nav ul{justify-content:flex-start!important;gap:22px!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-header-cta{grid-column:2!important;grid-row:1!important;}
}
@media(max-width:640px){
  body.oww-knowledge-hub .oww-hub-header .oww-nav{width:min(calc(100% - 28px),1220px)!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-brand-wordmark{min-width:0!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-brand-name{font-size:21px!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-brand-tagline{font-size:5.8px!important;letter-spacing:.12em!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-header-cta{min-width:auto!important;min-height:38px!important;padding:9px 11px!important;font-size:11px!important;}
  body.oww-knowledge-hub .oww-hub-header nav a{font-size:12.5px!important;}
}


/* v1.7.2 — Premium wordmark refinement */
body.oww-knowledge-hub .oww-hub-header .oww-brand-name{
  font-family:"Lora",Georgia,serif!important;
  font-size:30px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
body.oww-knowledge-hub .oww-hub-header .oww-brand-tagline{font-size:7.5px!important;letter-spacing:.2em!important;}
body.oww-knowledge-hub .oww-hub-header nav a{font-size:14.2px!important;font-weight:600!important;}
body.oww-knowledge-hub .oww-hub-header .oww-header-cta{font-size:12.5px!important;font-weight:700!important;}
@media(max-width:640px){
  body.oww-knowledge-hub .oww-hub-header .oww-brand-name{font-size:24px!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-brand-tagline{font-size:6.3px!important;}
}


/* v1.7.3 — Wordmark as signature */
body.oww-knowledge-hub .oww-hub-header .oww-brand-name{
  font-family:"Bodoni Moda","Lora",Georgia,serif!important;
  font-size:32px!important;
  line-height:.98!important;
  letter-spacing:.012em!important;
}
body.oww-knowledge-hub .oww-hub-header .oww-brand-tagline{font-size:8px!important;letter-spacing:.23em!important;}
body.oww-knowledge-hub .oww-hub-header nav a{font-size:14.5px!important;}
@media(max-width:640px){
  body.oww-knowledge-hub .oww-hub-header .oww-brand-name{font-size:25px!important;}
}


/* v1.7.4 — Restore the real OLD WORLD WINE logo */
body.oww-knowledge-hub .oww-hub-header .oww-brand-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:260px!important;
  min-width:260px!important;
  height:58px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  text-decoration:none!important;
}
body.oww-knowledge-hub .oww-hub-header .oww-brand-logo-img{
  display:block!important;
  width:auto!important;
  max-width:260px!important;
  height:auto!important;
  max-height:58px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:none!important;
  opacity:1!important;
}
/* The bundled fallback is square; keep it compact rather than stretching it. */
body.oww-knowledge-hub .oww-hub-header .oww-brand-logo-fallback{
  width:76px!important;
  min-width:76px!important;
  height:62px!important;
}
body.oww-knowledge-hub .oww-hub-header .oww-brand-logo-fallback .oww-brand-logo-img{
  max-width:72px!important;
  max-height:62px!important;
}
@media(max-width:1050px){
  body.oww-knowledge-hub .oww-hub-header .oww-brand-logo{width:230px!important;min-width:230px!important;height:54px!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-brand-logo-img{max-width:230px!important;max-height:54px!important;}
}
@media(max-width:640px){
  body.oww-knowledge-hub .oww-hub-header .oww-brand-logo{width:176px!important;min-width:176px!important;height:48px!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-brand-logo-img{max-width:176px!important;max-height:48px!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-brand-logo-fallback{width:58px!important;min-width:58px!important;height:48px!important;}
  body.oww-knowledge-hub .oww-hub-header .oww-brand-logo-fallback .oww-brand-logo-img{max-width:54px!important;max-height:48px!important;}
}


/* v1.7.7 — Readable wordmark */
body.oww-knowledge-hub .oww-hub-header .oww-brand-name{
  font-family:"Lora",Georgia,"Times New Roman",serif!important;
  font-size:29px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}
