
/* 주차핑 1.3 - 검색 + 상세 화면 */
.jp-wrap,.jp-wrap *{box-sizing:border-box}
.jp-wrap{width:min(1040px,calc(100% - 32px));margin:0 auto;padding:24px 0 60px;color:#111827;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR","Malgun Gothic",sans-serif}
.jp-search{text-align:center;padding:4px 0 22px}
.jp-logo{display:inline-block;margin:0 0 34px;color:#111827!important;text-decoration:none!important;font-size:26px;line-height:1;font-weight:900}
.jp-search h1{margin:0;font-size:34px;line-height:1.2;font-weight:900;letter-spacing:-2px}
.jp-subtitle{margin:8px 0 18px;color:#6b7280;font-size:14px}
.jp-form{display:flex;gap:8px;width:min(760px,100%);margin:auto}
.jp-form input{flex:1;height:58px;border:1px solid #d7dce3!important;border-radius:11px;padding:0 18px;background:#fff!important;color:#111827!important;font-size:16px}
.jp-form button{height:58px;border:0;border-radius:11px;padding:0 25px;background:#111827!important;color:#fff!important;font-size:16px;font-weight:800}
.jp-nearby{margin-top:9px;padding:8px 15px;border:1px solid #d7dce3;border-radius:999px;background:#fff;color:#374151;font-size:13px;font-weight:700}
.jp-location-msg{min-height:16px;margin:7px 0 0;color:#6b7280;font-size:12px}
.jp-results{margin-top:16px}
.jp-result-head{display:flex;justify-content:space-between;margin-bottom:8px;color:#4b5563;font-size:14px;font-weight:700}
.jp-count{color:#9ca3af;font-size:12px;font-weight:500}
.jp-card{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:88px;margin:6px 0;padding:15px 18px;border:1px solid #e1e5ea!important;border-radius:11px;background:#fff!important;color:#111827!important;text-decoration:none!important}
.jp-card h2{margin:0 0 5px;font-size:16px;line-height:1.35;font-weight:800;color:#111827!important}
.jp-address{margin:0 0 7px;color:#667085!important;font-size:12px}
.jp-tag{display:inline-block;padding:3px 7px;border-radius:999px;background:#f3f4f6;color:#667085;font-size:10px}
.jp-arrow{color:#9ca3af!important;font-size:26px}

/* ==================================================
   상세 페이지 강제 리셋
   핵심: 테마의 dark 배경을 부모/자식 모두에서 제거
   ================================================== */
body.jp-parking-detail{
  background:#f7f8fa!important;
  color:#111827!important;
}
body.jp-parking-detail,
body.jp-parking-detail #page,
body.jp-parking-detail #content,
body.jp-parking-detail .site-content,
body.jp-parking-detail .site-main,
body.jp-parking-detail #primary,
body.jp-parking-detail .content-area{
  background:#f7f8fa!important;
  color:#111827!important;
}

/* 상세 본문 영역 */
body.jp-parking-detail article,
body.jp-parking-detail .hentry{
  width:min(900px,calc(100% - 32px))!important;
  max-width:900px!important;
  margin:28px auto 70px!important;
  padding:34px 44px 44px!important;
  background:#fff!important;
  background-image:none!important;
  color:#111827!important;
  border:1px solid #e1e5ea!important;
  border-radius:14px!important;
  box-shadow:0 2px 12px rgba(16,24,40,.05)!important;
}

/* dark section이 article 안쪽 div인 경우까지 전부 강제 */
body.jp-parking-detail article > div,
body.jp-parking-detail .hentry > div,
body.jp-parking-detail .entry-content,
body.jp-parking-detail .entry-content > div,
body.jp-parking-detail .entry-content > section,
body.jp-parking-detail .entry-content > .wp-block-group,
body.jp-parking-detail .entry-content > .wp-block-columns{
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  color:#111827!important;
}

/* 텍스트/링크 */
body.jp-parking-detail article *,
body.jp-parking-detail .hentry *,
body.jp-parking-detail .entry-content *{
  text-shadow:none!important;
  color:#111827!important;
  border-color:#e5e7eb!important;
}

body.jp-parking-detail .entry-header{
  margin:0 0 24px!important;
  padding:0 0 18px!important;
  border-bottom:1px solid #e5e7eb!important;
}
body.jp-parking-detail .entry-title{
  margin:0!important;
  color:#111827!important;
  font-size:30px!important;
  line-height:1.3!important;
  font-weight:900!important;
  letter-spacing:-1.2px!important;
}
body.jp-parking-detail .entry-meta{
  margin-top:8px!important;
  color:#6b7280!important;
  font-size:12px!important;
}
body.jp-parking-detail .entry-content{
  margin:0!important;
  font-size:15px!important;
  line-height:1.7!important;
}
body.jp-parking-detail .entry-content p{
  min-height:44px!important;
  margin:0!important;
  padding:12px 0!important;
  border-bottom:1px solid #eef0f2!important;
}
body.jp-parking-detail .entry-content h1,
body.jp-parking-detail .entry-content h2,
body.jp-parking-detail .entry-content h3{
  margin:18px 0 0!important;
  padding:12px 0!important;
  font-size:14px!important;
  font-weight:800!important;
  border-bottom:1px solid #e5e7eb!important;
}
body.jp-parking-detail .post-navigation{
  margin-top:28px!important;
  padding-top:20px!important;
  border-top:1px solid #e5e7eb!important;
}

/* 상세 페이지의 footer는 밝은 화면과 어울리게 */
body.jp-parking-detail .site-footer{
  background:#111827!important;
}

/* 모바일 */
@media(max-width:600px){
  .jp-wrap{width:calc(100% - 24px)}
  .jp-form input,.jp-form button{height:52px}
  body.jp-parking-detail article,
  body.jp-parking-detail .hentry{
    width:calc(100% - 24px)!important;
    padding:24px 18px 30px!important;
    margin:14px auto 40px!important;
    border-radius:10px!important;
  }
  body.jp-parking-detail .entry-title{font-size:24px!important}
}

/* 주차핑 v1.8 - 검색 버튼을 실제 input[type=submit]으로 렌더링 */
.jp-wrap .jp-form .jp-search-button,
.jp-wrap .jp-form .jp-search-button:hover,
.jp-wrap .jp-form .jp-search-button:focus,
.jp-wrap .jp-form .jp-search-button:active {
  appearance:none!important;
  -webkit-appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 68px!important;
  width:68px!important;
  min-width:68px!important;
  max-width:68px!important;
  height:58px!important;
  min-height:58px!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:11px!important;
  background:#111827!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  font-family:-apple-system,BlinkMacSystemFont,"Noto Sans KR","Malgun Gothic",sans-serif!important;
  font-size:16px!important;
  line-height:58px!important;
  font-weight:800!important;
  letter-spacing:-.3px!important;
  text-align:center!important;
  text-indent:0!important;
  text-shadow:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
  opacity:1!important;
  visibility:visible!important;
  cursor:pointer!important;
}
