/* Header height token (unchanged) */
:root {
  --header-carousel-height: 100vh;
  --site-header-caption-radius: 4px;
}

/* --- Header / Carousel --- */
.site-header--carousel {
  /* no-op: keep as hook if needed later */
}

.site-header__brand-logo {
  max-height: 12vh;
}

/* --- Typography --- */
body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.navbar-brand,
.nav-item,
.site-header__carousel-caption-heading {
  font-family: "Poiret One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.navbar-brand {
  font-size: xxx-large;
}

.nav-item {
  font-weight: bold;
}

/* --- Captions --- */
.site-header--carousel .carousel-caption {
  bottom: 6vh;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.site-header__carousel-caption {
  left: 50%;
  right: auto; /* keep centering behavior identical */
  transform: translateX(-50%);
  text-align: left;
  padding: 2vw 4vw;
  max-width: min(90%, 720px);
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--site-header-caption-radius, 1rem);
  backdrop-filter: blur(8px);
}

.site-header__carousel-caption-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.site-header__carousel-caption-heading {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
}

.site-header__carousel-caption-body {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.85);
}

.site-header__carousel-caption-body p:last-child {
  margin-bottom: 0; /* keep original physical property */
}

/* --- Container --- */
.container--header-carousel {
  width: 100%;
  max-width: 100% !important;
  margin-left: 0;
  margin-right: 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 992px) {
  .container--header-carousel {
    width: calc(100% - 160px);
    max-width: calc(100% - 160px) !important;
    margin-left: 80px;
    margin-right: 80px;
    padding-left: 0;
    padding-right: 0;
  }
}
