/**
 * Life Area detail — blended editorial hero.
 */

body.blackoute-life-area-detail-page main.wp-block-group,
body:has(.blackoute-life-area-landing) main.wp-block-group {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.blackoute-life-area-landing {
  --gmap-la-cream: #faf7f2;
}

.blackoute-life-area-landing > .gmap-la-hero-band {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.gmap-la-hero-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(22rem, 36vw, 28.5rem);
  background: var(--gmap-la-cream);
}

.gmap-la-hero-band__photo {
  position: absolute;
  inset: 0 0 0 18%;
  z-index: 0;
}

.gmap-la-hero-band__img,
.gmap-la-hero-band__photo img,
.gmap-la-hero-band__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gmap-la-hero-band__fallback {
  background:
    linear-gradient(135deg, rgba(183, 95, 42, 0.18), transparent 50%),
    linear-gradient(160deg, #3a3129, #6b5545 55%, #c4a07a);
}

.gmap-la-hero-band__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--gmap-la-cream) 0%,
      var(--gmap-la-cream) 34%,
      rgba(250, 247, 242, 0.86) 42%,
      rgba(250, 247, 242, 0.42) 50%,
      rgba(250, 247, 242, 0.1) 58%,
      transparent 68%
    );
}

.gmap-la-hero-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}

.gmap-la-hero-band__copy {
  max-width: 34rem;
}

.gmap-la-hero-band__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8178;
}

.gmap-la-hero-band__eyebrow a {
  color: inherit;
  text-decoration: none;
}

.gmap-la-hero-band__eyebrow a:hover,
.gmap-la-hero-band__eyebrow a:focus-visible {
  color: var(--gmap-la-ink, #1c1916);
}

.gmap-la-hero-band__title {
  margin: 0;
  font-family: var(--gmap-font-display);
  font-size: clamp(2.6rem, 5.2vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.048em;
  line-height: 0.98;
  color: #1c1916;
}

.gmap-la-hero-band__lead {
  margin: 0.9rem 0 0;
  max-width: 24rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #5c554e;
}

.blackoute-life-area-landing .gmap-goal-summary--blend {
  margin: 1.45rem 0 1.7rem;
  padding: 0;
  max-width: none;
}

.blackoute-life-area-landing .gmap-goal-summary--blend .gmap-goal-summary__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem 0;
  padding: 0;
  border: 0;
}

.blackoute-life-area-landing .gmap-goal-summary--blend .gmap-goal-summary__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 1.35rem 0 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.blackoute-life-area-landing .gmap-goal-summary--blend .gmap-goal-summary__item + .gmap-goal-summary__item {
  padding-left: 1.35rem;
  border-left: 1px solid rgba(28, 25, 22, 0.12);
}

.blackoute-life-area-landing .gmap-goal-summary--blend .gmap-goal-summary__value {
  font-family: var(--gmap-font-display);
  font-size: clamp(2.5rem, 4.2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.9;
  color: #c56a2d;
}

.blackoute-life-area-landing .gmap-goal-summary--blend .gmap-goal-summary__label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8178;
}

.gmap-la-hero-band__actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
}

.gmap-la-hero-band__cta,
.gmap-la-hero-band__actions .gmap-share-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--gmap-touch);
  height: var(--gmap-touch);
  padding: 0 1.25rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
}

.gmap-la-hero-band__cta {
  background: var(--color-button-primary, var(--gmap-cta, #171411));
  color: var(--color-button-primary-text, #fffdf8);
  text-decoration: none;
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tiles__grid,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tiles__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile,
.blackoute-life-area-landing .gmap-goal-tile--cover {
  border: 0;
  background: #1a1714;
  min-height: 15.5rem;
  height: auto;
  box-shadow: none;
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile__cover,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile__cover,
.blackoute-life-area-landing .gmap-goal-tile--cover .gmap-goal-tile__cover {
  inset: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2d261f;
  background-size: cover;
  background-position: right bottom;
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile__cover::after,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile__cover::after,
.blackoute-life-area-landing .gmap-goal-tile--cover .gmap-goal-tile__cover::after {
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.08) 20%, rgba(16, 13, 10, 0.82) 100%);
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile__copy,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile__copy,
.blackoute-life-area-landing .gmap-goal-tile--cover .gmap-goal-tile__copy {
  position: absolute;
  inset: auto 0.75rem 0.8rem;
  z-index: 1;
  display: grid;
  gap: 0.28rem;
  justify-content: stretch;
  width: auto;
  flex: none;
  padding: 0;
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile__title,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile__title,
.blackoute-life-area-landing .gmap-goal-tile--cover .gmap-goal-tile__title {
  color: #fff;
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile__desc,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile__desc,
.blackoute-life-area-landing .gmap-goal-tile--cover .gmap-goal-tile__desc {
  color: rgba(255, 247, 238, 0.86);
  font-size: 0.82rem;
  line-height: 1.35;
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile__footer,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile__footer,
.blackoute-life-area-landing .gmap-goal-tile--cover .gmap-goal-tile__footer {
  display: none;
}

.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile:hover,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="sub_areas"] .gmap-goal-tile:focus-visible,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile:hover,
.blackoute-life-area-landing .gmap-goal-tiles[data-rail="related_areas"] .gmap-goal-tile:focus-visible,
.blackoute-life-area-landing .gmap-goal-tile--cover:hover,
.blackoute-life-area-landing .gmap-goal-tile--cover:focus-visible {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(23, 21, 18, 0.18);
}

.gmap-la-hero-band__cta:hover,
.gmap-la-hero-band__cta:focus-visible {
  background: color-mix(in srgb, var(--color-button-primary, var(--gmap-cta, #171411)) 82%, var(--gmap-text, #2a241f));
}

@media (max-width: 960px) {
  .gmap-la-hero-band {
    min-height: 0;
  }

  .gmap-la-hero-band__photo {
    inset: 0;
    height: clamp(16rem, 48vw, 22rem);
  }

  .gmap-la-hero-band__fade {
    background:
      linear-gradient(
        180deg,
        transparent 0%,
        transparent 42%,
        rgba(250, 247, 242, 0.2) 58%,
        rgba(250, 247, 242, 0.82) 78%,
        var(--gmap-la-cream) 92%
      );
  }

  .gmap-la-hero-band__inner {
    padding-top: clamp(15rem, 46vw, 21rem);
    padding-bottom: 2rem;
    align-items: flex-end;
  }

  .gmap-la-hero-band__copy {
    max-width: 36rem;
  }
}

.gmap-la-playbooks .gmap-playbook-card.is-deferred {
  display: none;
}

.gmap-la-playbooks .gmap-playbook-card.is-revealing {
  animation: gmap-la-card-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--la-reveal-delay, 0ms);
}

@keyframes gmap-la-card-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.gmap-la-load-more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.gmap-la-load-more__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.7rem;
  min-width: 9.5rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid #d8cfc4;
  border-radius: 999px;
  background: #fffdf8;
  color: #171411;
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gmap-la-load-more__btn:hover,
.gmap-la-load-more__btn:focus-visible {
  background: #faf7f2;
  border-color: #c4b8aa;
}

.gmap-la-load-more__btn:focus-visible {
  outline: 2px solid #c56a2d;
  outline-offset: 3px;
}

.gmap-la-load-more__spinner {
  width: 0;
  height: 0.85rem;
  border: 0;
  border-radius: 50%;
  opacity: 0;
  overflow: hidden;
  transition: width 0.22s ease, opacity 0.18s ease;
}

.gmap-la-load-more__btn.is-loading {
  pointer-events: none;
  transform: scale(0.985);
  box-shadow: 0 0 0 4px rgba(197, 106, 45, 0.12);
  animation: gmap-la-btn-pulse 0.9s ease-in-out infinite;
}

.gmap-la-load-more__btn.is-loading .gmap-la-load-more__spinner {
  width: 0.85rem;
  height: 0.85rem;
  opacity: 1;
  border: 2px solid rgba(23, 20, 17, 0.18);
  border-top-color: #c56a2d;
  animation: gmap-la-spin 0.65s linear infinite;
}

.gmap-la-load-more__btn.is-error {
  animation: gmap-la-btn-shake 0.42s ease;
}

@keyframes gmap-la-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes gmap-la-btn-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(197, 106, 45, 0.1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(197, 106, 45, 0.06);
  }
}

@keyframes gmap-la-btn-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gmap-la-playbooks .gmap-playbook-card.is-revealing,
  .gmap-la-load-more__btn,
  .gmap-la-load-more__btn.is-loading,
  .gmap-la-load-more__btn.is-loading .gmap-la-load-more__spinner,
  .gmap-la-load-more__btn.is-error {
    animation: none;
    transition: none;
  }
}

@media (max-width: 560px) {
  .blackoute-life-area-landing .gmap-goal-summary--blend .gmap-goal-summary__item {
    padding-right: 0.9rem;
  }

  .blackoute-life-area-landing .gmap-goal-summary--blend .gmap-goal-summary__item + .gmap-goal-summary__item {
    padding-left: 0.9rem;
  }

  .gmap-la-hero-band__title {
    font-size: clamp(2.15rem, 11vw, 2.8rem);
    white-space: normal;
  }
}

.blackoute-life-area-landing .gmap-playbook-card__media img {
  object-fit: cover;
}
