/**
 * Home Hero block — editor preview (static first image, no slider).
 * Layout and colors aligned with frontend (05_page_home.scss).
 */
.page-home-hero--admin {
  min-height: 320px;
}

.page-home-hero--admin .home-hero-slide--admin-preview {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fAf7f2;
  aspect-ratio: 3/2;
}

.page-home-hero--admin .home-hero-slide__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay: full bleed, gradient, flex like frontend */
.page-home-hero--admin .home-hero-slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  background: linear-gradient(to bottom left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

/* Content: column, left-aligned, bottom-anchored like frontend */
.page-home-hero--admin .home-hero-slide__content {
  margin: 0 auto;
  padding: 20px 20px 40px ;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  height: 100%;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

/* Headline: white, AvenirNext-Bold, left-aligned, frontend sizing */
.page-home-hero--admin .home-hero-slide__headline {
  font-family:  Helvetica, Arial, Lucida, sans-serif;
  font-weight: 800;
  color: #ffffff !important;
  font-size: 28px !important;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0;
  text-align: left;
  max-width: 27ch;
}

.page-home-hero--admin .home-hero-slide__subtext {
  font-family: 'AvenirNext-Regular', Helvetica, Arial, Lucida, sans-serif;
  color: #9C9492 !important;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  text-align: left;
}

/* CTA: white, same style as frontend */
.page-home-hero--admin .home-hero-slide__cta {
  display: inline-block;
  font-family: 'AvenirNext-Regular', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 500;
  color: #ffffff !important;
  font-size: 1.25rem;
  text-align: left;
  text-decoration: none;
  text-underline-offset: 3px;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.page-home-hero--admin .home-hero-slide__cta:hover {
  text-decoration: underline;
}

/* Placeholders: keep muted but match structure */
.page-home-hero--admin .home-hero-slide__headline--placeholder,
.page-home-hero--admin .home-hero-slide__subtext--placeholder {
  opacity: 0.7;
  color: inherit;
}

.page-home-hero--admin .home-hero-slide__cta--placeholder {
  cursor: default;
  text-decoration: none;
  opacity: 0.7;
  color: inherit;
}

.home-hero-admin-note {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 11px;
  opacity: 0.7;
  z-index: 2;
  white-space: nowrap;
  color: #ffffff;
}
