/* AEMB Site Content 1.1 — restrained DShV editorial system. */
.aemb-content-pack-hero {
  --aemb-pack-light: #f5f3ec;
  background: #0d0f0d;
}

.aemb-content-pack-hero .video-hero .aemb-video-hero-image,
.aemb-content-pack-hero .video-hero .aemb-hero-mobile-poster {
  object-fit: cover;
  transform: scale(1.002);
}

.aemb-content-pack-hero.aemb-focus-center-top .video-hero :is(.aemb-video-hero-image,.aemb-hero-mobile-poster) {
  object-position: 50% 10% !important;
}

.aemb-content-pack-hero.aemb-focus-right-top .video-hero :is(.aemb-video-hero-image,.aemb-hero-mobile-poster) {
  object-position: 72% 10% !important;
}

.aemb-content-pack-hero.aemb-focus-left-top .video-hero :is(.aemb-video-hero-image,.aemb-hero-mobile-poster) {
  object-position: 28% 10% !important;
}

.aemb-content-pack-hero.aemb-focus-center .video-hero :is(.aemb-video-hero-image,.aemb-hero-mobile-poster) {
  object-position: 50% 50% !important;
}

.aemb-content-pack-hero .hero-content {
  padding-top: clamp(32px, 5vh, 72px);
}

.aemb-content-pack-hero .hero-content h1 {
  max-width: 940px;
  margin-bottom: 24px;
  color: var(--aemb-pack-light) !important;
  font-size: clamp(46px, 5.7vw, 108px) !important;
  line-height: .94 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
  text-shadow: 0 4px 34px rgba(0,0,0,.34);
}

.aemb-content-pack-hero.aemb-hero-detail .hero-content h1 {
  max-width: 900px;
  font-size: clamp(44px, 5vw, 88px) !important;
  line-height: .96 !important;
}

.aemb-content-pack-hero .hero-content p {
  max-width: 650px;
  margin: 0 0 28px;
  color: #eeece5 !important;
  font-size: clamp(16px, 1.2vw, 19px) !important;
  line-height: 1.7 !important;
}

.aemb-content-pack-hero .eyebrow {
  margin-bottom: 24px;
  letter-spacing: .18em;
}

.aemb-content-pack-hero .hero-marker b {
  color: rgba(255,255,255,.11);
}

.aemb-content-pack-statement .aemb-section-custom {
  padding-block: clamp(72px, 8vw, 126px);
}

.aemb-content-pack-statement blockquote {
  max-width: 1180px;
  font-size: clamp(38px, 5.3vw, 88px);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.aemb-content-pack-statement blockquote::before {
  display: block;
  width: 76px;
  height: 5px;
  margin-bottom: 30px;
  background: var(--aemb-color-yellow,#ffd100);
  content: "";
}

.aemb-content-pack-story .aemb-richtext {
  padding-block: clamp(72px, 8vw, 122px);
}

.aemb-content-pack-story .aemb-richtext__body {
  width: min(calc(100% - 80px), 1280px);
}

.aemb-pack-story__kicker {
  display: block;
  margin-bottom: 22px;
  color: var(--aemb-color-maroon,#741638) !important;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.35;
  text-transform: none;
}

.aemb-theme-graphite .aemb-pack-story__kicker {
  color: var(--aemb-color-yellow,#ffd100) !important;
}

.aemb-pack-story h2 {
  max-width: 980px;
  margin: 0 0 clamp(38px, 5vw, 64px);
  font-size: clamp(36px, 4.2vw, 70px) !important;
  line-height: 1 !important;
  text-wrap: balance;
}

.aemb-pack-story__columns {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(28px, 5vw, 84px);
  border-top: 1px solid currentColor;
  padding-top: 34px;
}

.aemb-pack-story__columns p {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 21px) !important;
  line-height: 1.75 !important;
}

.aemb-content-pack-cards .aemb-section-custom,
.aemb-content-pack-faq .aemb-section-custom,
.aemb-content-pack-contact .aemb-section-custom {
  padding-block: clamp(76px, 8vw, 126px);
}

.aemb-content-pack-cards .aemb-section-head {
  margin-bottom: clamp(36px, 5vw, 62px);
}

.aemb-content-pack-cards .aemb-card {
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.aemb-content-pack-cards .aemb-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--aemb-color-yellow,#ffd100);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}

.aemb-content-pack-cards .aemb-card:hover {
  z-index: 2;
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 70px rgba(0,0,0,.24);
  transform: translateY(-5px);
}

.aemb-content-pack-cards.aemb-theme-paper .aemb-card:hover {
  background: rgba(116,22,56,.055);
}

.aemb-content-pack-cards .aemb-card:hover::after {
  transform: scaleX(1);
}

.aemb-content-pack-cards .aemb-card__body {
  min-height: 230px;
  padding: clamp(26px, 3vw, 40px);
}

.aemb-content-pack-cards .aemb-card__meta {
  color: var(--aemb-color-yellow,#ffd100) !important;
  font-size: 13px;
}

.aemb-content-pack-cards.aemb-theme-paper .aemb-card__meta {
  color: var(--aemb-color-maroon,#741638) !important;
}

.aemb-content-pack-cards .aemb-card h3 {
  margin-top: 26px;
  font-size: clamp(26px, 2.2vw, 38px) !important;
  line-height: 1.04 !important;
}

.aemb-content-pack-steps .steps-section {
  padding-block: clamp(78px, 8vw, 122px);
}

.aemb-content-pack-steps .steps-grid {
  margin-top: clamp(38px, 5vw, 62px);
}

.aemb-content-pack-steps .steps-grid > div {
  min-height: 228px;
  padding: clamp(22px, 2.4vw, 34px);
}

.aemb-content-pack-steps .steps-grid p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

.aemb-content-pack-faq .aemb-faq-list summary {
  padding-block: 28px;
}

.aemb-content-pack-contact .aemb-contact-panel {
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.aemb-content-pack-cta .final-cta {
  padding-block: clamp(82px, 9vw, 132px);
}

.aemb-content-pack-cta .final-cta h2 {
  max-width: 980px;
  color: #fff !important;
  font-size: clamp(38px, 4.8vw, 82px) !important;
  line-height: 1 !important;
  text-wrap: balance;
}

.aemb-content-pack-cta .final-cta p {
  color: #f1e3e8 !important;
}

.aemb-content-pack-news .news-preview {
  padding-block: clamp(76px, 8vw, 124px);
}

@media (max-width: 1024px) {
  .aemb-content-pack-hero.aemb-focus-right-top .video-hero :is(.aemb-video-hero-image,.aemb-hero-mobile-poster) {
    object-position: 66% 8% !important;
  }

  .aemb-content-pack-hero.aemb-focus-left-top .video-hero :is(.aemb-video-hero-image,.aemb-hero-mobile-poster) {
    object-position: 34% 8% !important;
  }

  .aemb-content-pack-hero .hero-content h1,
  .aemb-content-pack-hero.aemb-hero-detail .hero-content h1 {
    max-width: 780px;
    font-size: clamp(44px, 8vw, 76px) !important;
  }

  .aemb-pack-story__columns {
    gap: 34px;
  }
}

@media (max-width: 680px) {
  .aemb-content-pack-hero .video-hero {
    min-height: 590px !important;
  }

  .aemb-content-pack-hero .hero-content {
    width: calc(100% - 34px);
    justify-content: flex-end;
    padding: 54px 0 46px;
  }

  .aemb-content-pack-hero .hero-content h1,
  .aemb-content-pack-hero.aemb-hero-detail .hero-content h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 12vw, 62px) !important;
    letter-spacing: -.025em !important;
  }

  .aemb-content-pack-hero .hero-content p {
    margin-bottom: 22px;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .aemb-content-pack-hero.aemb-focus-right-top .video-hero :is(.aemb-video-hero-image,.aemb-hero-mobile-poster) {
    object-position: 70% 8% !important;
  }

  .aemb-content-pack-hero.aemb-focus-left-top .video-hero :is(.aemb-video-hero-image,.aemb-hero-mobile-poster) {
    object-position: 30% 8% !important;
  }

  .aemb-content-pack-statement blockquote {
    font-size: clamp(34px, 10vw, 54px);
  }

  .aemb-content-pack-story .aemb-richtext__body {
    width: calc(100% - 34px);
  }

  .aemb-pack-story h2 {
    font-size: clamp(34px, 9.5vw, 50px) !important;
  }

  .aemb-pack-story__columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .aemb-content-pack-cards .aemb-card__body {
    min-height: 0;
  }

  .aemb-content-pack-steps .steps-grid > div {
    min-height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aemb-content-pack-cards .aemb-card,
  .aemb-content-pack-cards .aemb-card::after {
    transition: none;
  }
}

/* ========================================================================
 * AEMB Site Content 1.1.1 — full-width + responsive/legal repair.
 * This layer intentionally uses !important on the two regression points so
 * the content pack also repairs pages when a browser/CDN still serves an
 * older 3.5.8 renderer stylesheet for a short time after updating.
 * ======================================================================== */
.aemb-block.aemb-content-pack-story,
.aemb-block.aemb-content-pack-steps,
.aemb-block--richtext.aemb-content-pack-story,
.aemb-block--richtext.aemb-content-pack-steps {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
}

.aemb-content-pack-story > .aemb-richtext,
.aemb-content-pack-story .aemb-richtext__body,
.aemb-content-pack-steps .steps-section,
.aemb-content-pack-steps .shell-wide {
  min-width: 0;
}

/* Keep the section/background edge-to-edge; only the readable copy is
 * constrained by the Builder content-width variable. */
.aemb-content-pack-story > .aemb-richtext {
  width: 100% !important;
  max-width: none !important;
}

.aemb-pack-story__columns--sections {
  align-items: start;
  column-gap: clamp(34px, 5vw, 96px);
  row-gap: 0;
}

.aemb-pack-story__item {
  min-width: 0;
  padding: clamp(24px, 2.6vw, 38px) 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent);
}

.aemb-pack-story__item h3 {
  margin: 0 0 14px;
  font-size: clamp(23px, 1.8vw, 34px) !important;
  line-height: 1.1 !important;
  text-wrap: balance;
}

.aemb-pack-story__item p {
  margin: 0;
  font-size: clamp(16px, 1.05vw, 19px) !important;
  line-height: 1.72 !important;
  overflow-wrap: anywhere;
}

.aemb-content-pack-steps .steps-grid {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: repeat(var(--aemb-step-cols, 4), minmax(0, 1fr)) !important;
}

.aemb-content-pack-steps .steps-grid > div,
.aemb-content-pack-steps .steps-grid > div :is(b, strong, p) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .aemb-content-pack-steps .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .aemb-pack-story__columns--sections {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  .aemb-pack-story__item {
    padding: 24px 0;
  }

  .aemb-content-pack-steps .steps-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    margin: 28px 0 20px;
  }

  .aemb-content-pack-steps .steps-grid > div {
    width: 100%;
    min-height: 0 !important;
    padding: 22px 20px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--ink) !important;
  }

  .aemb-content-pack-steps .steps-grid > div:last-child {
    border-bottom: 0 !important;
  }
}

/* Global safety net for legacy 3.5.8 Rich Text blocks: their `width` value
 * belongs to the readable text column, never to the section/background. */
.aemb-block--richtext {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
.aemb-block--richtext > .aemb-richtext {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
