.wp-block-acf-atlanta-hero {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.atl-hero {
  position: relative;
  height: 200vh;
  width: 100%;
  background: #fff;
}

.atl-hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
body.admin-bar .atl-hero__sticky {
  height: calc(100vh - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .atl-hero__sticky {
    height: calc(100vh - 46px);
  }
}

.atl-hero__canvas {
  position: absolute;
  inset: 10px;
  background: #fff;
  border-radius: 24px;
  z-index: 0;
  pointer-events: none;
}

.atl-hero__media {
  position: relative;
  z-index: 20;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  will-change: width, height, transform, border-radius;
  transition: none;
}

.atl-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  will-change: opacity;
}
.atl-hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 78%);
  pointer-events: none;
  z-index: 1;
}
.atl-hero__video video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .atl-hero__video {
    display: none;
  }
  .atl-hero__image-overlay {
    opacity: 1 !important;
  }
}
.atl-hero__image-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  will-change: opacity;
}
.atl-hero__image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atl-hero__image-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 78%);
  pointer-events: none;
}

.atl-hero__text {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 6rem;
  will-change: opacity, transform;
}
@media (max-width: 640px) {
  .atl-hero__text {
    padding: 0 1.5rem 2rem;
  }
}

.atl-hero__text-inner {
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .atl-hero__text-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
  }
}

.atl-hero__headline {
  max-width: 36rem;
}

.atl-hero__title {
  font-size: 2.25rem;
  color: #fff;
  font-weight: 700;
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0;
}
@media (min-width: 1024px) {
  .atl-hero__title {
    font-size: 4.5rem;
  }
}

.atl-hero__mobile-break {
  display: none;
}

@media (max-width: 767px) {
  .atl-hero__mobile-break {
    display: block;
  }
}
.atl-hero__tagline {
  max-width: 20rem;
  text-align: left;
  margin-bottom: 0;
}
.atl-hero__tagline p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1023px) {
  .atl-hero__tagline {
    margin-bottom: 1.5rem;
    display: block;
  }
}
@media (max-width: 767px) {
  .atl-hero__tagline {
    max-width: 100%;
  }
}

.atl-hero__cta {
  margin-top: 1.5rem;
}

.atl-hero__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-teal);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.atl-hero__cta-btn:hover {
  opacity: 0.9;
}

.atl-hero__mosaic {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  will-change: opacity, transform;
}
@media (max-width: 640px) {
  .atl-hero__mosaic {
    display: none;
  }
}

.atl-hero__mosaic--left {
  top: calc(50% + 20px);
  right: calc(50% + 12.5vw + 10px);
  align-items: flex-end;
  transform: translateX(-60vw) translateY(-50%);
}

.atl-hero__mosaic--right {
  top: calc(50% + 100px);
  left: calc(50% + 12.5vw + 10px);
  align-items: flex-start;
  transform: translateX(60vw) translateY(-50%);
}

@media (max-width: 767px) {
  .atl-hero {
    height: 100vh;
  }
  .atl-hero__canvas,
  .atl-hero__mosaic {
    display: none;
  }
  .atl-hero__media {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    transform: none !important;
  }
  .atl-hero__video {
    display: block;
    opacity: 0;
  }
  .atl-hero__image-overlay {
    display: block;
    opacity: 1;
  }
  .atl-hero__text {
    opacity: 1 !important;
    transform: none !important;
  }
}
.atl-hero__mosaic-item {
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}
.atl-hero__mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.atl-hero__mosaic--left .atl-hero__mosaic-item--1 {
  width: 26vw;
  height: 35vh;
}

.atl-hero__mosaic--left .atl-hero__mosaic-item--2 {
  width: 22vw;
  height: 30vh;
}

.atl-hero__mosaic--right .atl-hero__mosaic-item--3 {
  width: 20vw;
  height: 28vh;
}

.atl-hero__mosaic--right .atl-hero__mosaic-item--4 {
  width: 28vw;
  height: 36vh;
}

.editor-styles-wrapper .wp-block[data-type="acf/atlanta-hero"],
.editor-styles-wrapper .wp-block-acf-atlanta-hero {
  max-width: none !important;
  width: 100% !important;
}

.editor-styles-wrapper .atl-hero {
  height: auto;
  background: #fff;
  max-width: none;
  width: calc(100vw - 40px);
  margin: 0 auto 24px;
}

.editor-styles-wrapper .atl-hero__sticky {
  position: relative;
  top: auto;
  height: auto;
  min-height: 520px;
  overflow: hidden;
  padding: 10px;
}

.editor-styles-wrapper .atl-hero__media {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: min(78vh, 820px) !important;
  transform: none !important;
  border-radius: 24px !important;
}

.editor-styles-wrapper .atl-hero__video {
  display: none !important;
  opacity: 0 !important;
}

.editor-styles-wrapper .atl-hero__image-overlay {
  opacity: 1 !important;
}

.editor-styles-wrapper .atl-hero__text {
  opacity: 1 !important;
  transform: none !important;
  z-index: 25 !important;
  padding: 0 2rem 2.5rem !important;
}

.editor-styles-wrapper .atl-hero__headline {
  max-width: 40rem;
}

.editor-styles-wrapper .atl-hero__title {
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
  line-height: 1;
  word-break: normal;
  overflow-wrap: anywhere;
}

.editor-styles-wrapper .atl-hero__title br {
  display: block;
}

.editor-styles-wrapper .atl-hero__mosaic {
  display: none !important;
}
