/* =========================================================
   원본 사이트(www.dapaedu.co.kr)와 같은 크기·간격으로 맞춘 보정
   - 원본 페이지를 같은 폭(1440px)에서 열어 요소의 위치·크기를 측정한 값입니다.
   - 위치(여백) 보정은 PC(992px 이상)에만 적용하고, 필수 표시·체크박스 같은 모양은 공통입니다.
   ========================================================= */

/* ---------- 공통 폼 요소 (/30 온라인 상담신청) ---------- */
.icon-required {
  display: inline-block; width: 5px; height: 5px; margin: 11px 0 0 5px;
  border-radius: 50%; background: #f25656; vertical-align: top;
}
.apply-form label { padding: 0 0 5px; }
.apply-form .form-control:not(.privacy-box):not(textarea) { height: 34px; }   /* 원본 입력칸 높이 34px (약관 박스 제외) */
.apply-form .form-control { font-size: 16px; line-height: 22.8571px; }   /* 원본 입력칸 높이 34px */
.apply-form textarea.form-control { height: 83px; }
.apply-form textarea.form-control { display: block; }
.apply-form select.form-control {
  -webkit-appearance: none; appearance: none; height: 34px; padding: 6px 30px 6px 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.apply-form .btn-write { line-height: 17.1429px; }

.apply-form .privacy-box { color: #363636; }
.apply-form .privacy-box p { margin: 0; }

/* 동의 체크박스: 16px 사각형 (원본과 동일) */
.apply-form label.chk { display: block; position: relative; padding: 14px 0 6px; cursor: pointer; }
.apply-form .chk input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.apply-form .chk span { position: relative; display: inline-block; padding-left: 31px; font-size: 16px; line-height: 27.2px; }
.apply-form .chk span::before {
  content: ""; position: absolute; left: 0; top: 5px; box-sizing: border-box; width: 16px; height: 16px;
  border: 1px solid rgba(54, 54, 54, .4); border-radius: 3px; background: #fff;
}
.apply-form .chk input:checked + span::before { background: var(--blue, #1c73d7); border-color: var(--blue, #1c73d7); }
.apply-form .chk input:checked + span::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.apply-form .chk input:focus-visible + span::before { outline: 2px solid var(--blue, #1c73d7); outline-offset: 2px; }

/* ---------- PC 위치 보정 (992px 이상) ---------- */
@media (min-width: 992px) {
  .apply-form .privacy-box { font-size: 16px; line-height: 27.2px; }

  /* /30 온라인 상담신청 */
  .p30 .sub-body { padding-top: 50px; }
  .p30 .page-h5 { padding-top: 0; }
  .p30 .apply-form { padding-top: 30px; }
  .p30 .page-tail { height: 69px; }       /* 작성 버튼과 푸터 사이 (원본 69px) */

  /* ----- 게시판(목록/갤러리/빈 게시판) : 게시판 위 여백 -10px ----- */
  .p29 .board, .p31 .board, .p33 .board, .p35 .board, .p41 .board, .p42 .board, .p43 .board { padding-top: 30px; }

  /* ----- 제목(page-h5) 위 여백이 없는 페이지 (원본) ----- */
  .p24 .page-h5, .p27 .page-h5, .p40 .page-h5, .p42 .page-h5, .p43 .page-h5 { padding-top: 0; }
  .p24 .park-img { padding-top: 60px; }
  .p24 .park-text hr { margin: 11px 0; }
  .p40 .rent-strip { padding-top: 30px; }
  .p42 .pad-top-66 { padding-top: 60px; }
  .p43 .pad-top-6 { padding-top: 0; }

  /* ----- 21 다파의 꿈 / 23 오시는 길 / 32 수강생 후기 ----- */
  .p21 .dream-row { padding-top: 0; }
  .p21 .dream-text { padding-top: 0; }
  .p23 .map-info { padding-right: 20px; }
  .p32 .post_row.rv3 { margin-top: 30px; }

  /* ----- 본문 끝 ~ 푸터 간격 (원본 푸터 위치에 맞춤) ----- */
  .p21 .page-tail { height: 126px; }
  .p24 .page-tail { height: 194px; }
  .p27 .page-tail { height: 58px; }
  .p29 .page-tail { height: 69px; }
  .p31 .page-tail, .p35 .page-tail { height: 68px; }
  .p32 .page-tail { height: 180px; }
  .p33 .page-tail { height: 105px; }
  .p40 .page-tail { height: 69px; }
  .p41 .page-tail { height: 83px; }
  .p42 .page-tail, .p43 .page-tail { height: 140px; }
}

/* 빈 게시판: 원본처럼 보관함 아이콘 + 회색 문구 (카운트·밑줄 없음) */
.no-post { color: #9a9a9a; padding: 77px 0 50px; }
.no-post-ico { display: inline-block; margin-bottom: 14px; }
@media (min-width: 992px) {
  .p42 .board-head header em, .p43 .board-head header em { display: none; }
  .p42 .li_board.empty, .p43 .li_board.empty { border: 0; }
}
.no-post-ico { width: 44px !important; height: 36px !important; margin-top: 10px; }
