/* 홈 팝업 모달 (v12 디자인에 추가되는 CMS 기능, 기존 파일 무수정) */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 34, 42, 0.45);
}
.popup-box {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(16, 34, 42, 0.35);
  animation: popup-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 34, 42, 0.65);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.popup-image {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}
.popup-body {
  padding: 26px 28px 8px;
}
.popup-body h2 {
  margin: 0 0 10px;
  font: 700 20px/1.35 "Noto Sans KR", sans-serif;
  color: #152b31;
  letter-spacing: -0.5px;
}
.popup-body p {
  margin: 0 0 12px;
  font: 400 14px/1.75 "Noto Sans KR", sans-serif;
  color: rgba(16, 34, 42, 0.75);
}
.popup-link {
  display: inline-block;
  margin: 4px 0 16px;
  font: 700 13px "Noto Sans KR", sans-serif;
  color: #14567a;
}
.popup-foot {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(16, 34, 42, 0.08);
  padding: 12px 20px;
}
.popup-foot button {
  border: 0;
  background: none;
  font: 600 12.5px "Noto Sans KR", sans-serif;
  color: rgba(16, 34, 42, 0.6);
  cursor: pointer;
  padding: 6px 4px;
}
.popup-foot button:hover {
  color: #152b31;
}
