/* Tablet-only public header logo fit.
   Keeps the existing mobile (<768px) and desktop (>=1200px) behavior intact. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  body.enumara-public-preview .enumara-preview-guest-header .enumara-top-nav-inner,
  body.enumara-public-preview .enumara-preview-guest-header .enumara-header-container {
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: clamp(0.75rem, 2vw, 1.25rem) !important;
    min-height: 64px !important;
    height: auto !important;
  }

  body.enumara-public-preview .enumara-preview-guest-header .enumara-nav-logo.enumara-header-brand,
  body.enumara-public-preview .enumara-preview-guest-header .enumara-nav-logo.enumara-header-brand:has(.enumara-panel-logo-img) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: clamp(150px, 22vw, 190px) !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    overflow: visible !important;
  }

  body.enumara-public-preview .enumara-preview-guest-header .enumara-nav-logo.enumara-header-brand .enumara-panel-logo-img,
  body.enumara-public-preview .enumara-preview-guest-header .enumara-nav-logo.enumara-header-brand img.enumara-panel-logo-img {
    display: block !important;
    width: auto !important;
    height: 30px !important;
    max-width: 100% !important;
    max-height: 30px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }
}
