/* Responsive header/hero fixes — loaded after brt.css */

.site-header__logo-img {
  width: auto;
  max-width: min(30rem, 70vw);
}

@media (max-width: 1023px) {
  .site-header__logo-img {
    /* ~original mobile size without JS --header-height feedback */
    height: clamp(2.5rem, 18vw, calc(5.25rem - 0.625rem));
    max-width: min(18rem, 82vw);
  }
}

@media (min-width: 1024px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .site-header__logo-img {
    height: calc(5.25rem - 0.625rem);
    max-width: min(30rem, 70vw);
  }
}

@media (min-width: 900px) and (max-height: 720px) {
  .brt-hero--dark {
    height: auto;
    min-height: 100dvh;
    max-height: none;
  }

  .brt-hero__frame {
    min-height: 100dvh;
    padding-top: calc(var(--header-height) + 1rem);
    gap: 1rem;
  }

  .brt-hero__text-slot,
  .brt-hero .brt-h1,
  .brt-hero .brt-lead {
    min-height: auto;
  }
}
