/* Shared page hero banner (partials/hero-banner.php). Loaded on every page by includes/layout-start.php. */

.rivora-rooms-hero {
  --hero-x: 1.5rem;
  --hero-max: 85rem;
  position: relative;
  min-height: max(240px, 32vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}

@media (min-width: 768px) {
  .rivora-rooms-hero {
    --hero-x: 3rem;
  }
}

@media (min-width: 1280px) {
  .rivora-rooms-hero {
    --hero-x: 4.5rem;
  }
}

.rivora-rooms-hero img.rivora-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rivora-rooms-hero .rivora-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.rivora-rooms-hero .rivora-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--hero-max);
  margin: 0 auto;
  padding: 3rem var(--hero-x);
  box-sizing: border-box;
  color: #ffffff;
  text-align: center;
}

.rivora-rooms-hero .rivora-subtitle {
  color: #c5a059;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.rivora-rooms-hero h1 {
  font-family: 'Kaisei Tokumin', serif;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.rivora-hero-tagline {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.rivora-rooms-hero .rivora-breadcrumb {
  display: block;
  margin: 0;
}

.rivora-breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.rivora-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rivora-breadcrumb a:hover {
  color: #ffffff;
}

/* Optional intro copy under the banner: full page width, same side gutters as the hero */
.rivora-hero-intro {
  --hero-x: 1.5rem;
  max-width: 85rem;
  margin: 0 auto;
  padding: 3rem var(--hero-x) 2rem;
  box-sizing: border-box;
  text-align: center;
  color: #444444;
  font-size: 1.125rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .rivora-hero-intro {
    --hero-x: 3rem;
  }
}

@media (min-width: 1280px) {
  .rivora-hero-intro {
    --hero-x: 4.5rem;
  }
}

.rivora-hero-intro p {
  margin: 0;
}

.rivora-hero-intro p + p {
  margin-top: 1rem;
}
