/* LYA v16: full-bleed first section inspired by the supplied reference, followed by the existing carousel. */
.site-shell .hero { display: none !important; }
.site-shell .first-section-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 78vh, 860px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid #c51632;
}
.site-shell .first-section-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #b3132b99 0%, #b3132b33 48%, #b3132bcc 100%);
}
.site-shell .first-section-content {
  width: min(760px, calc(100% - 40px));
  padding: clamp(96px, 16vh, 180px) 20px;
  color: #ffffff !important;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.site-shell .first-section-content .eyebrow,
.site-shell .first-section-content h1,
.site-shell .first-section-content p {
  color: #ffffff !important;
  text-shadow: 0 2px 12px #b3132b99;
}
.site-shell .first-section-content h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 7vw, 96px);
  line-height: .94;
  text-wrap: balance;
}
.site-shell .first-section-content p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(14px, 1.8vw, 19px);
  line-height: 1.6;
}
.site-shell .first-section-button {
  min-width: 180px;
  margin-top: 8px;
}
.site-shell .hero-carousel-section {
  background: #ffffff !important;
  color: #b3132b !important;
  border-bottom: 1px solid #c51632;
  padding: clamp(32px, 5vw, 72px) clamp(16px, 5vw, 72px) clamp(42px, 6vw, 88px);
}
.site-shell .hero-carousel-heading {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  text-align: center;
}
.site-shell .hero-carousel-section .hero-art {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.site-shell .hero-carousel-section .lya-carousel {
  width: min(820px, 100%);
  margin: 0 auto;
}
.site-shell #stories,
.site-shell #reviews,
.site-shell #campaigns,
.site-shell .stories-section,
.site-shell .reviews-section,
.site-shell .campaigns-section,
.site-shell .stories,
.site-shell .reviews,
.site-shell .campaigns {
  background: #ffffff !important;
  color: #b3132b !important;
}
.site-shell #stories *,
.site-shell #reviews *,
.site-shell #campaigns *,
.site-shell .stories-section *,
.site-shell .reviews-section *,
.site-shell .campaigns-section * {
  border-color: #c51632 !important;
}
.site-shell #stories h1,
.site-shell #stories h2,
.site-shell #stories h3,
.site-shell #stories p,
.site-shell #reviews h1,
.site-shell #reviews h2,
.site-shell #reviews h3,
.site-shell #reviews p,
.site-shell #campaigns h1,
.site-shell #campaigns h2,
.site-shell #campaigns h3,
.site-shell #campaigns p {
  color: #b3132b !important;
}
@media (max-width: 850px) {
  .site-shell .first-section-hero { min-height: min(720px, 82svh); }
  .site-shell .first-section-content { width: min(100% - 28px, 640px); padding: 110px 12px 96px; gap: 14px; }
  .site-shell .first-section-content h1 { font-size: clamp(42px, 12vw, 68px); }
  .site-shell .first-section-content p { font-size: 14px; }
  .site-shell .hero-carousel-section { padding-inline: 12px; }
  .site-shell .hero-carousel-section .lya-carousel { width: 100%; }
}
@media (max-width: 520px) {
  .site-shell .first-section-hero { min-height: 620px; }
  .site-shell .first-section-content { padding-top: 116px; }
  .site-shell .first-section-button { width: min(240px, 100%); }
}

/* Admin editor and close controls stay visible after the palette change. */
.admin-shell .first-section-editor-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.admin-shell .first-section-preview {
  min-height: 360px;
  padding: 42px 28px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  color: #ffffff;
  background-color: #b3132b;
  background-position: center;
  background-size: cover;
  border: 1px solid #c51632;
  position: relative;
  isolation: isolate;
}
.admin-shell .first-section-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #b3132b99;
}
.admin-shell .first-section-preview > * { position: relative; }
.admin-shell .first-section-preview h3,
.admin-shell .first-section-preview p,
.admin-shell .first-section-preview .eyebrow { color: #ffffff !important; margin: 0; }
.admin-shell .first-section-preview h3 { font-size: clamp(30px, 4vw, 54px); line-height: .96; }
.admin-shell .first-section-preview p { max-width: 420px; line-height: 1.5; }
.admin-shell .first-section-preview strong {
  margin-top: 10px;
  padding: 12px 20px;
  color: #ffffff;
  background: #c51632;
  border: 1px solid #ffffff;
}
.admin-shell .first-section-fields { display: grid; gap: 14px; }
.admin-shell .first-section-fields label { display: grid; gap: 6px; }
.admin-shell .first-section-fields input,
.admin-shell .first-section-fields textarea { width: 100%; }
.site-shell .lightbox-close,
.site-shell .lya-carousel-lightbox-close,
.admin-shell .crop-dialog .admin-icon-button,
.admin-shell .admin-icon-button[aria-label*="Close"],
.admin-shell button[aria-label*="close" i] {
  color: #c51632 !important;
  background: #ffffff !important;
  border: 1px solid #c51632 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
.site-shell .lightbox-close svg,
.site-shell .lya-carousel-lightbox-close svg,
.admin-shell button[aria-label*="close" i] svg { stroke: #c51632 !important; }
@media (max-width: 760px) {
  .admin-shell .first-section-editor-grid { grid-template-columns: 1fr; }
  .admin-shell .first-section-preview { min-height: 300px; }
}
