
/* Backend Hero Banner v1.4 */
.brm-hero-banner {
  position: relative;
  overflow: hidden;
  min-height: var(--brm-hero-height, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: var(--brm-hero-align, center);
  color: var(--brm-hero-text, #ffffff);
  isolation: isolate;
}

.brm-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--brm-hero-image);
  background-size: cover;
  background-position: var(--brm-hero-position, center center);
  background-repeat: no-repeat;
  z-index: -2;
  transform: scale(1);
}

.brm-hero-banner.brm-hero-zoom::before {
  animation: brmHeroZoom 18s ease-in-out infinite alternate;
}

.brm-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brm-hero-overlay, rgba(0,0,0,.45));
  z-index: -1;
}

.brm-hero-inner {
  width: min(var(--brm-hero-content-width, 1120px), 92%);
  padding: 42px 0;
}

.brm-hero-logo {
  display: block;
  max-width: var(--brm-hero-logo-width, 180px);
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.brm-hero-kicker {
  color: var(--brm-hero-accent, #d5a64a);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.brm-hero-title {
  font-family: Georgia, serif;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .95;
  margin: 0 0 16px;
  color: inherit;
}

.brm-hero-subtitle {
  font-size: clamp(17px, 2.2vw, 28px);
  line-height: 1.35;
  max-width: 760px;
  margin: 0 auto 26px;
  color: inherit;
}

.brm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.brm-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, opacity .18s ease;
}

.brm-hero-btn:hover {
  transform: translateY(-1px);
  opacity: .92;
}

.brm-hero-btn-primary {
  background: var(--brm-hero-accent, #d5a64a);
  color: #111111 !important;
}

.brm-hero-btn-secondary {
  border: 1px solid rgba(255,255,255,.65);
  color: #ffffff !important;
  background: rgba(0,0,0,.18);
}

@keyframes brmHeroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (max-width: 720px) {
  .brm-hero-banner {
    min-height: var(--brm-hero-height-mobile, 430px);
  }

  .brm-hero-banner::before {
    background-image: var(--brm-hero-image-mobile, var(--brm-hero-image));
    background-position: var(--brm-hero-position-mobile, center center);
  }

  .brm-hero-inner {
    width: 90%;
    padding: 30px 0;
  }

  .brm-hero-logo {
    max-width: var(--brm-hero-logo-width-mobile, 135px);
    margin-bottom: 14px;
  }

  .brm-hero-kicker {
    font-size: 11px;
  }

  .brm-hero-title {
    font-size: clamp(34px, 11vw, 54px);
  }

  .brm-hero-subtitle {
    font-size: 16px;
    max-width: 330px;
  }

  .brm-hero-btn {
    padding: 11px 18px;
    font-size: 13px;
  }
}
