/* =========================================
 * Sub Pages 공통 레이아웃 (ABOUT, PRICE, GALLERY, CONTACT 등)
 * front-page 제외 모든 page(+posts page)에 적용
 * =======================================*/

/* 전체 배경 톤 */
body.page:not(.home),
body.blog.page {
  background:
    radial-gradient(circle at top, rgba(20, 20, 36, 0.7), transparent 55%),
    #050509;
}

/* GeneratePress 기본 레이아웃 정리 */
body.page:not(.home) .site-main {
  padding: 80px 16px 96px;
}

body.page:not(.home) .inside-article {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* 기본 페이지 타이틀 숨김 */
body.page:not(.home) .inside-article > .entry-header {
  display: none;
}

body.page:not(.home) .entry-content {
  margin: 0;
}

/* -----------------------------------------
 * 공통 컨테이너
 * --------------------------------------*/

.sub-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 28px 72px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 206, 120, 0.06), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 206, 120, 0.03), transparent 55%),
    linear-gradient(to bottom, #101018, #050509);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff; /* 기본 글자색 흰색으로 강제 */
}

/* 모바일에서 여백 조정 */
@media (max-width: 768px) {
  .sub-shell {
    padding: 40px 20px 56px;
    border-radius: 18px;
  }
}

/* 섹션 헤더 */
.sub-head-kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #f4c15d;
  margin-bottom: 16px;
}

.sub-head-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.sub-head-lead {
  font-size: 14px;
  line-height: 1.8;
  color: #cbc7e3;
  max-width: 640px;
}

/* 본문 레이아웃 */
.sub-body {
  margin-top: 40px;
  display: grid;
  gap: 32px;
}

/* 개별 블록 */
.sub-block {
  border-radius: 18px;
  padding: 20px 22px;
  background: radial-gradient(circle at top left, rgba(255, 206, 120, 0.08), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-block-title {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.sub-block p {
  font-size: 14px;
  line-height: 1.9;
  color: #cbc7e3;
  margin-bottom: 10px;
}

.sub-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.sub-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #cbc7e3;
}

.sub-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f4c15d;
}

/* 버튼 공통 */
.sub-btn-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sub-btn,
a.sub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.sub-btn--primary {
  background: #f4c15d;
  color: #181015;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
}

.sub-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
}

.sub-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.sub-btn--outline:hover {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 640px) {
  .sub-btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .sub-btn,
  a.sub-btn {
    width: 100%;
    justify-content: center;
  }
}

/* 히어로 + 이미지 영역 (우리가 만든 about HTML 기준) */
.sub-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 32px;
  align-items: center;
}

.sub-hero-text p {
  font-size: 14px;
  line-height: 1.9;
  color: #cbc7e3;
}

.sub-hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 900px) {
  .sub-hero {
    grid-template-columns: 1fr;
  }
}

/* 아래쪽 섹션 그리드 */
.sub-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .sub-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
 * ABOUT 전용 레이아웃 & 배너 스타일
 * =======================================*/

/* ABOUT 전체 래퍼 – 여백/간격만 약간 보정 */
.about-shell {
  display: flex;
  flex-direction: column;
}

/* 배너/CTA 공통 카드(이미지 + 텍스트) */
.sub-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #050509;
  margin-top: 40px;
}

.sub-banner-inner {
  position: relative;
  z-index: 2;
  padding: 26px 22px;
}

.sub-banner-inner h2 {
  font-size: 17px;
  margin-bottom: 12px;
  color: #ffffff;
}

.sub-banner-inner p {
  font-size: 14px;
  line-height: 1.9;
  color: #cbc7e3;
}

.sub-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sub-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  display: block;
}

/* 배너 전체를 덮는 오버레이 (다크 + 골드톤) */
.sub-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(5, 5, 9, 0.94), rgba(5, 5, 9, 0.45)),
    radial-gradient(circle at top left, rgba(244, 193, 93, 0.22), transparent 55%);
  z-index: 1;
}

/* ABOUT 본문용 배경 배너 (텍스트 BG 이미지) */
.sub-banner--about {
  margin-top: 40px;
}

/* CTA 배너는 아래쪽 버튼 정렬만 살짝 다르게 */
.sub-banner--cta {
  margin-top: 40px;
}

.sub-banner-inner--cta {
  padding-bottom: 24px;
}

/* ABOUT 히어로에서 메인 이미지만 살짝 오버레이 */
.sub-hero-photo--about {
  position: relative;
}

.sub-hero-photo--about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 5, 9, 0.78), rgba(5, 5, 9, 0.18)),
    radial-gradient(circle at top left, rgba(244, 193, 93, 0.35), transparent 65%);
  mix-blend-mode: normal;
  pointer-events: none;
}

/* 정빠/오빠방 섹션 카드에 살짝 더 고급스러운 배경 */
.sub-grid--jung .sub-block,
.sub-grid--oppa .sub-block {
  background:
    radial-gradient(circle at top left, rgba(244, 193, 93, 0.12), transparent 65%),
    linear-gradient(to bottom, rgba(16, 16, 24, 0.95), rgba(5, 5, 9, 0.98));
}

/* CTA 배너 안 버튼 정렬 */
.sub-banner--cta .sub-btn-row {
  margin-top: 20px;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  .sub-banner-inner {
    padding: 22px 18px 22px;
  }

  .sub-banner-inner h2 {
    font-size: 16px;
  }

  .sub-btn,
a.sub-btn {
  
  padding: 12px 0px;

}
}

/* =========================================
 * PRICE PAGE 전용 스타일
 * =======================================*/

.price-shell {
  display: flex;
  flex-direction: column;
}

/* 1. 상단 PRICE Top Banner (price-top.webp) */

.price-hero {
  position: relative;
  height: 30vh;
  min-height: 200px;
  margin-bottom: 40px;
  background:
    url('https://xn--939au0gbvouhx.xyz/wp-content/uploads/2025/04/price-top.webp')
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.price-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 5, 9, 0.45), rgba(5, 5, 9, 0.9));
}

.price-hero-heading {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* 2. 바 배경 페럴렉스 섹션 (bar-background.webp) */

.price-parallax {
  position: relative;
  margin-bottom: 40px;
  padding: 6rem 1rem;
  color: #fff;
  text-align: center;
  background:
    url('https://xn--939au0gbvouhx.xyz/wp-content/uploads/2025/04/bar-background.webp')
    center center / cover no-repeat fixed;
}

.price-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 5, 9, 0.9), rgba(5, 5, 9, 0.85));
  z-index: 0;
}

.price-parallax-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.price-parallax-title {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 16px;
}

.price-parallax-text {
  font-size: 15px;
  line-height: 1.9;
  color: #f0ecff;
}

.price-parallax-phone {
  color: #ffd700;
}

/* 3. 기본 가격표 섹션 */

.price-table {
  padding: 4rem 1rem;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  border-radius: 22px;
  margin-bottom: 40px;
}

.price-table-heading {
  text-align: center;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 2rem;
}

.price-table-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.price-item {
  background:
    radial-gradient(circle at top left, rgba(244, 193, 93, 0.12), transparent 60%),
    #101018;
  border-radius: 16px;
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.price-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.price-item p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #ddd;
}

.price-table-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #ccc;
}

/* 4. CTA 섹션 */

.price-cta {
  padding: 4rem 1rem;
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  text-align: center;
  border-radius: 22px;
}

.price-cta-title {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.price-cta-text {
  color: #ccc;
  margin-bottom: 2rem;
}

.price-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.price-cta-btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition:
    background 0.2s ease,
    transform 0.12s ease,
    box-shadow 0.2s ease;
}

.price-cta-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.7);
}

/* 모바일 대응 */

@media (max-width: 960px) {
  .price-parallax {
    padding: 4rem 1.5rem;
    background-attachment: scroll; /* 모바일에서 fixed 버그 방지 */
  }
}

@media (max-width: 640px) {
  .price-table-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-hero {
    height: 26vh;
  }
}

