/* ==========================================
   루나소나타 피아노 스튜디오 상담 신청 페이지 스타일
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;500;700&family=Noto+Sans+KR:wght@300;400;500&display=swap');

.luna-wrapper {
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
  line-height: 1.8;
  letter-spacing: -0.5px;
  margin: 0 auto;
  max-width: 1200px;
}

.serif-text {
  font-family: 'Noto Serif KR', serif;
}

/* 서브 페이지 헤더 배너 */
.luna-sub-hero {
  background: #1a2536;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 8px;
  margin-bottom: 50px;
}
.luna-sub-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #fff;
}
.luna-sub-hero p {
  font-size: 16px;
  color: #cbd5e1;
  font-weight: 300;
  margin: 0;
}

/* 메인 컨테이너 구조 (기본 2단 레이아웃) */
.luna-contact-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 80px;
  padding: 0 10px;
}

/* 좌측 정보 컬럼 영역 */
.luna-contact-info {
  flex: 1;
  background: #f8fafc;
  padding: 40px;
  border-radius: 8px;
}
.luna-contact-info h3 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #1a2536;
}
.luna-info-intro {
  font-size: 14.5px;
  color: #666;
  margin-bottom: 35px;
}
.luna-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.luna-info-icon {
  font-size: 20px;
  background: #fff;
  padding: 8px;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  line-height: 1;
}
.luna-info-item strong {
  display: block;
  font-size: 15px;
  color: #111;
  margin-bottom: 3px;
}
.luna-info-item p {
  font-size: 14.5px;
  color: #555;
  margin: 0;
}

/* 우측 입력 양식 폼 컴포넌트 */
.luna-contact-form-box {
  flex: 1.3;
  background: #fff;
  border: 1px solid #eaeaea;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}
.luna-form-group {
  margin-bottom: 22px;
}
.luna-form-group label {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}
.luna-form-group label .required {
  color: #e74c3c;
}

/* 폼 입력 요소 인풋 서식 */
.luna-form-group input[type="text"],
.luna-form-group input[type="tel"],
.luna-form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14.5px;
  color: #333;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.luna-form-group select {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14.5px;
  color: #333;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  line-height: normal !important; 
  vertical-align: middle;
}

.luna-form-group input:focus,
.luna-form-group select:focus,
.luna-form-group textarea:focus {
  border-color: #1a2536;
  outline: none;
}

/* 개인정보 동의 체크박스 */
.luna-privacy-agree {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  margin-bottom: 25px;
}
.luna-privacy-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1a2536;
  cursor: pointer;
}
.luna-privacy-agree label {
  font-size: 13.5px;
  color: #555;
  cursor: pointer;
}
.luna-privacy-agree label .required {
  color: #e74c3c;
}

/* 제출 버튼 스타일 */
.luna-submit-btn {
  width: 100%;
  padding: 15px;
  background-color: #1a2536;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.luna-submit-btn:hover {
  background-color: #34495e;
}

/* ==========================================
   [ 핵심 해결] 모바일 반응형 강제 고정 타겟팅
   ========================================== */
@media screen and (max-width: 992px) {
  .luna-contact-container {
    display: block !important; /* flex 구조를 풀고 일반 블록 격파 */
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .luna-contact-info, 
  .luna-contact-form-box {
    display: block !important;
    width: 100% !important; /* 무조건 가로 너비 100% 꽉 채우기 */
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .luna-contact-info {
    margin-bottom: 30px !important; /* 오프라인 안내와 신청 폼 박스 사이 간격 부여 */
  }
  
}

/* ==========================================
   아스트라 테마 기본 블록(그룹, 컬럼)의 강제 패딩 간섭 제거
========================================== */
.entry-content > .wp-block-group, 
.entry-content > .wp-block-cover, 
.entry-content > .wp-block-columns {
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
}