/* HERO SHELL */
.hero {
  position: relative;
  width: 100%;
  min-height: 320px;
  overflow: hidden; /* crops background image */
}

/* Background image fills hero */
.hero-bg,
.hero-bg-img {
  position: absolute;
  inset: 0;
}
.hero-row--content {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 20%;
  display: block;
}

/* Grey overlay ALWAYS covers hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--third-color), 0.65);
  z-index: 1;
  pointer-events: none;
}

/* Shared width container (both rows align) */
.hero-inner {
  position: relative; /* above overlay */
  width: min(900px, 100%);
  padding: 2rem clamp(1rem, 5vw, 6rem);
  box-sizing: border-box;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* Row 1: home text */
.hero-lead {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-1);
  font-size: 1.75rem;
  font-weight: 550;
  color: var(--light-text-1);
  text-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.7);
}

/* Row 2: Locations (mobile / when header doesn't show locations) */
.hero-row--locations {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.locations-panel {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 4px solid var(--dark-text-1);
  background: var(--secondary-color);
  /* border-radius: 10px; */
  box-sizing: border-box;
  color: var(--dark-text-1);
}

.locations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-locations {
  background-color: var(--other-text-3);
  border-color: var(--dark-text-1);
  font-family: var(--font-1);
}

/* Hide hero locations on desktop when header locations are visible */
@media (min-width: 1140px) {
  .hero-row--locations {
    display: none;
  }
}
@media (max-width: 750px) {
  .hero-row--content {
    /* display: flex; */
    flex-direction: column;
    /* gap: 1rem; */
  }
}
