/* ============================================
   HERO SLIDER — Brand Overlay (Top Left)
   ============================================ */

#heroSlider .carousel-item {
  position: relative;
}

.slide-brand-overlay {
  position: absolute;
  top: 60px;
  left: 50px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  pointer-events: none;
  max-width: 380px;
}

/* ─────────────────────────────────────────────────────
   Logo fix — overrides #heroSlider .carousel-item img
   which sets position:absolute / width:100% / height:100%
   White bg is kept tight with object-fit + no extra padding
───────────────────────────────────────────────────── */
#heroSlider .carousel-item .slide-brand-overlay .slide-logo {
  position: static !important;
  /* Let the image define its own width naturally */
  width: auto !important;
  height: auto !important;
  /* Cap the rendered size — logo fills this box exactly */
  max-height: 110px !important;
  max-width: 200px !important;
  min-height: unset !important;
  min-width: unset !important;
  top: unset !important;
  left: unset !important;
  /* object-fit only works with explicit width+height,
     so we use display:block and let natural size control */
  object-fit: unset !important;
  /* White bg with tight padding — no extra space */
  background: #ffffff !important;
  /*padding: 4px !important;*/
  border-radius: 6px !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.55) !important;
  display: block !important;
  opacity: 1 !important;
  filter: none !important;
  /* Remove any inherited sizing */
  flex-shrink: 0 !important;
  align-self: flex-start !important;
}

/* ── Tagline row ── */
.slide-brand-tagline {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
}

.slide-brand-tagline .tagline-line {
  width: 3px;
  background: #c9a84c;
  border-radius: 2px;
  flex-shrink: 0;
  margin-right: 12px;
  align-self: stretch;
}

.slide-brand-tagline .tagline-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px 10px 12px;
  border-radius: 4px;
}

.slide-brand-tagline .tagline-quote {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: #c9a84c;
  line-height: 1.2;
}

.slide-brand-tagline .tagline-main {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.4;
  white-space: normal;
}

.slide-brand-tagline .tagline-location {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin-top: 2px;
}

/* ── Tablet ── */
@media (max-width: 991.98px) {
  .slide-brand-overlay {
    top: 68px;
    left: 30px;
    gap: 10px;
    max-width: 300px;
  }
  #heroSlider .carousel-item .slide-brand-overlay .slide-logo {
    max-height: 85px !important;
    max-width: 180px !important;
    /*padding: 4px !important;*/
  }
  .slide-brand-tagline .tagline-main     { font-size: 12px; }
  .slide-brand-tagline .tagline-quote    { font-size: 9px; }
  .slide-brand-tagline .tagline-location { font-size: 10px; }
  .slide-brand-tagline .tagline-text     { padding: 8px 12px 8px 10px; }
}

/* ── Mobile ── */
@media (max-width: 575.98px) {
  .slide-brand-overlay {
    top: 70px;
    left: 16px;
    gap: 8px;
    max-width: 240px;
  }
  #heroSlider .carousel-item .slide-brand-overlay .slide-logo {
    max-height: 70px !important;
    max-width: 140px !important;
    /*padding: 4px !important;*/
    border-radius: 4px !important;
  }
  .slide-brand-tagline .tagline-main     { font-size: 10px; }
  .slide-brand-tagline .tagline-quote    { font-size: 8px; letter-spacing: 0.14em; }
  .slide-brand-tagline .tagline-location { font-size: 9px; }
  .slide-brand-tagline .tagline-line     { margin-right: 8px; }
  .slide-brand-tagline .tagline-text     { padding: 6px 10px 6px 8px; }
}