/* TAJ_CLIENT_FEEDBACK_20261014_RESTORE_FULL_LOGO -- isolated, reversible */
/* Desktop artwork: full original image, no crop, no stretching.
   Source 1672x941 (16:9). Height follows image aspect ratio.
   A short fixed hero with cover necessarily hides the approved logo. */
@media(min-width:701px) {
  body.taj-brand-site.home .taj-visual-hero,
  body.taj-brand-site.home .taj-visual-hero picture {
    display:block!important;width:100%!important;max-width:none!important;margin-inline:auto!important;
    overflow:visible!important;
  }
  body.taj-brand-site.home .taj-visual-hero img {
    display:block!important;width:100%!important;max-width:100%!important;
    height:auto!important;max-height:none!important;aspect-ratio:1672 / 941!important;
    object-fit:contain!important;object-position:center center!important;
    clip-path:none!important;
  }
}
/* Preserve the approved separate mobile artwork, without distortion. */
@media(max-width:700px) {
  body.taj-brand-site.home .taj-visual-hero img {
    display:block!important;width:100%!important;height:auto!important;
    max-height:none!important;object-fit:contain!important;
  }
}
/* Identical logo silhouette and sizing in light and dark modes. */
body.taj-brand-site #header .site-branding[data-id="logo"] {
  display:flex!important;flex-shrink:0!important;align-items:center!important;min-width:0!important;
}
body.taj-brand-site #header .site-title-container {display:none!important;}
body.taj-brand-site #header .site-logo-container {
  display:flex!important;justify-content:center!important;align-items:center!important;background:transparent!important;
}
/* Keep full crown visible: old 330px logo overfilled Blocksy's short header. */
body.taj-brand-site #header [data-device="desktop"] .site-logo-container img.default-logo {
  display:block!important;
  width:clamp(245px,19vw,285px)!important;max-width:285px!important;
  height:auto!important;max-height:162px!important;object-fit:contain!important;
  object-position:center!important;
  opacity:1!important;visibility:visible!important;
  position:relative!important;top:0!important;transform:none!important;
}
body.taj-brand-site:not(.taj-dark-theme) #header .site-logo-container img.default-logo {
  content:url('/wp-content/plugins/taj-site-shell/assets/logo.webp')!important;filter:none!important;
}
/* Brand parity: footer's same artwork on a white backing in dark mode.
   Do NOT change the logo dimensions or header flow across light/dark themes. */
/* FIXED: one white image surface, no clipping parent, no doubled card.
   Keep approved logo dimensions/flow in both themes unchanged. */
body.taj-brand-site.taj-dark-theme #header .site-logo-container {
  background:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  height:auto!important;
  max-height:none!important;
}
body.taj-brand-site.taj-dark-theme #header .site-logo-container img.default-logo {
  content:url('/wp-content/plugins/taj-site-shell/assets/logo.webp')!important;
  display:block!important;
  background:#fff!important;
  border-radius:14px!important;
  box-shadow:none!important;
  padding:0!important;margin:0!important;
  box-sizing:border-box!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  filter:none!important;
  clip-path:none!important;
}
body.taj-brand-site #header [data-device="mobile"] .site-logo-container img.default-logo {
  width:clamp(145px,38vw,185px)!important;max-width:185px!important;
  height:auto!important;max-height:105px!important;object-fit:contain!important;
}
@media(min-width:1000px) {
  /* The header must actually accommodate the image, including the crown. */
  body.taj-brand-site #header [data-device="desktop"] [data-row="middle"] > .ct-container {
    min-height:182px!important;height:auto!important;
    padding-top:13px!important;padding-bottom:13px!important;
    align-items:center!important;gap:12px;overflow:visible!important;
  }
  body.taj-brand-site #header [data-device="desktop"] [data-row="middle"],
  body.taj-brand-site #header [data-device="desktop"] .site-branding[data-id="logo"] {
    overflow:visible!important;
  }
  body.taj-brand-site.taj-dark-theme #header [data-device="desktop"] .site-logo-container {
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
  }
}
