/* ============================================================
   Atheria Hotel / About Hero widget
   Centered eyebrow/heading/description with four photo cards
   scattered around the corners. Cursor parallax (desktop only)
   is applied via JS transform on .ath-about-hero__card; this
   file only sets up the resting layout + the blur-in reveal.
   ============================================================ */

.ath-about-hero {
  position: relative;
  width: 100%;
  padding: clamp(3rem, 2rem + 4vw, 6rem) clamp(1.25rem, 1rem + 2vw, 3rem);
  overflow: hidden;
}

.ath-about-hero__stage {
  position: relative;
  max-width: 74rem;
  margin: 0 auto;
  min-height: clamp(28rem, 22rem + 18vw, 44rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ath-about-hero__text {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.ath-about-hero__eyebrow {
  display: inline-block;
  font-family: var(--ath-font-body, sans-serif);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ath-reflection);
  background: var(--ath-frost);
  border-radius: 100px;
  padding: 0.5rem 0.9rem;
  margin-bottom: 1.5rem;
}

.ath-about-hero__heading {
  font-family: var(--ath-font-heading, serif);
  font-weight: var(--ath-fw-heading-l, 450);
  font-size: var(--ath-size-display-l, clamp(2.75rem, 5.5vw, 5rem));
  line-height: 1.05;
  color: var(--ath-text);
  margin: 0;
}

.ath-about-hero__heading .ath-muted-text {
  color: var(--ath-muted);
}

.ath-about-hero__desc {
  font-family: var(--ath-font-body, sans-serif);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ath-muted);
  margin: 1.25rem 0 0;
}

.ath-about-hero__card {
  position: absolute;
  z-index: 1;
  width: clamp(11rem, 8rem + 12vw, 19.5rem);
  aspect-ratio: 5 / 3.2;
  border-radius: var(--ath-radius-md, 1.5rem);
  overflow: hidden;
  border: 6px solid var(--ath-frost);
  box-shadow: 0 1.5rem 3rem -1rem rgba(36, 60, 76, 0.25);
  will-change: transform;
}

.ath-about-hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--ath-radius-md, 1.5rem) - 4px);
}

.ath-about-hero__card--tl { top: 8%;    left: 0;    transform: rotate(-2deg); }
.ath-about-hero__card--tr { top: -6%;   right: 2%;  transform: rotate(2deg); }
.ath-about-hero__card--bl { bottom: 2%; left: 4%;   transform: rotate(2deg); }
.ath-about-hero__card--br { bottom: -4%; right: 0;  transform: rotate(-2deg); }

.ath-about-hero__row {
  display: contents;
}

.ath-onload-blur {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity, filter;
}

@media (max-width: 1024px) {
  .ath-about-hero__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-height: 0;
  }
  .ath-about-hero__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 1rem;
    width: 100%;
  }
  .ath-about-hero__card {
    position: static;
    width: 100%;
    aspect-ratio: 4 / 3;
    transform: none !important;
    border-width: 3px;
  }
  .ath-about-hero__card img {
    border-radius: calc(var(--ath-radius-md, 1.5rem) - 2px);
  }
}

body.elementor-editor-active .ath-about-hero { 
  min-height: 30rem; 
}