/* 메인 히어로 좌측 레이어 팝업 */
.hero-layout3 {
  position: relative;
}

.atrinu-hero-popups {
  --atrinu-hero-popup-width: clamp(20rem, 44vw, 30rem);
  --atrinu-hero-popup-stack-x: clamp(2.25rem, 6.5vw, 4rem);
  --atrinu-hero-popup-stack-y: clamp(3.15rem, 9vw, 5.4rem);
  position: absolute;
  left: clamp(2.5rem, 14vw, 10rem);
  top: clamp(4.75rem, 14vh, 8.5rem);
  z-index: 25;
  width: var(--atrinu-hero-popup-width);
  height: clamp(29rem, 70vw, 44rem);
  pointer-events: none;
}

.atrinu-hero-popup {
  position: absolute;
  width: 100%;
  max-width: 30rem;
  background: #fff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.atrinu-hero-popup.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.35rem);
}

.atrinu-hero-popup--back {
  left: 0;
  top: 0;
  z-index: 1;
}

.atrinu-hero-popup--front {
  left: var(--atrinu-hero-popup-stack-x);
  top: var(--atrinu-hero-popup-stack-y);
  z-index: 2;
}

.atrinu-hero-popup__link {
  display: block;
  line-height: 0;
}

.atrinu-hero-popup__link img {
  display: block;
  width: 100%;
  height: auto;
}

.atrinu-hero-popup__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  background: #333;
}

.atrinu-hero-popup__bar button {
  border: 0;
  padding: 0.25rem 0.2rem;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: clamp(0.75rem, 1.9vw, 0.9rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.atrinu-hero-popup__bar button:hover,
.atrinu-hero-popup__bar button:focus-visible {
  color: #f0f0f0;
  outline: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 575.98px) {
  .atrinu-hero-popups {
    --atrinu-hero-popup-width: clamp(17.5rem, 66vw, 23rem);
    --atrinu-hero-popup-stack-x: clamp(1.55rem, 11vw, 2.75rem);
    --atrinu-hero-popup-stack-y: clamp(2.45rem, 13vw, 4rem);
    left: clamp(1.25rem, 10vw, 3rem);
    height: clamp(25.5rem, 96vw, 33rem);
    top: clamp(4.25rem, 12vh, 6rem);
  }
}

@media (min-width: 1400px) {
  .atrinu-hero-popups {
    left: clamp(5rem, 16vw, 12rem);
  }
}
