﻿/*
Theme Name: Yongdal Local
Description: 지역 용달이사 랜딩 + 블로그 테마 (전단지·광고형)
Version: 2.0
Author: -
Text Domain: yongdal-local
*/
/* 吏???⑸떖?댁궗 ?ъ씠?????쒖븞 A: ?꾨떒吏쨌愿묎퀬??*/
:root {
  --red: #e8352e;
  --red-dark: #c9241d;
  --yellow: #ffd400;
  --ink: #17202b;
  --paper: #ffffff;
  --cream: #fff7f0;
  --text: #2b333d;
  --text-sub: #6a7480;
  --line: #e9e2da;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  word-break: keep-all;
  padding-bottom: 62px; /* ?섎떒 ?꾪솕諛?怨듦컙 */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.display { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400; }

/* ?곷떒 ??*/
.topbar {
  background: var(--ink); color: var(--yellow);
  text-align: center; font-weight: 900; font-size: 0.9rem;
  padding: 7px 12px; letter-spacing: 0.02em;
}

/* ?ㅻ뜑 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-size: 1.45rem; color: var(--red); letter-spacing: 0;
}
.main-nav { display: flex; gap: 18px; margin-left: auto; font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.main-nav a:hover { color: var(--red); }
.header-call {
  background: var(--red); color: #fff; font-weight: 900;
  padding: 9px 18px; border-radius: 999px; font-size: 1rem; white-space: nowrap;
  box-shadow: 0 3px 0 rgba(0,0,0,0.18);
}
.header-call:hover { background: var(--red-dark); }

/* 釉뚮젅?쒗겕??*/
.breadcrumb { font-size: 0.85rem; color: var(--text-sub); padding-top: 12px; }
.breadcrumb a:hover { color: var(--red); }

/* ?덉뼱濡?(硫붿씤) */
.hero {
  background: repeating-linear-gradient(-45deg, var(--red), var(--red) 26px, #dd2c25 26px, #dd2c25 52px);
  color: #fff; text-align: center; padding: 52px 0 46px;
}
.hero-eyebrow {
  display: inline-block; background: var(--yellow); color: var(--ink);
  border-radius: 999px; padding: 6px 20px; font-size: 0.95rem; font-weight: 900;
  transform: rotate(-2deg); box-shadow: 0 3px 0 rgba(0,0,0,0.25); margin-bottom: 18px;
}
.hero h1 {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.2rem); line-height: 1.22; margin-bottom: 10px;
  text-shadow: 0 3px 0 rgba(0,0,0,0.2);
}
.hero h1 em, .hero h1 strong { font-style: normal; color: var(--yellow); font-weight: inherit; }
.hero-sub { font-size: 1.05rem; font-weight: 700; opacity: 0.95; max-width: 640px; margin: 0 auto 20px; }
.hero-tel {
  display: inline-block; background: #fff; color: var(--red);
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.5rem); border-radius: 14px; padding: 10px 34px;
  box-shadow: 0 5px 0 rgba(0,0,0,0.25); margin-bottom: 16px;
}
.hero-tel:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(0,0,0,0.25); }
.hero-areas { margin-top: 18px; font-size: 0.92rem; font-weight: 700; opacity: 0.85; }

/* 泥댄겕 ??*/
.check-strip {
  display: flex; justify-content: center; flex-wrap: wrap;
  background: var(--yellow); color: var(--ink); font-weight: 900; text-align: center;
}
.check-strip div { padding: 11px 20px; font-size: 0.95rem; border-right: 2px dashed rgba(23,32,43,0.25); }
.check-strip div:last-child { border-right: none; }

/* ?섏씠吏 ?ㅻ뱶 (?쒕툕?섏씠吏) */
.page-head {
  background: repeating-linear-gradient(-45deg, var(--red), var(--red) 26px, #dd2c25 26px, #dd2c25 52px);
  color: #fff; padding: 38px 0 34px; text-align: center;
}
.page-head h1 {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem); margin-bottom: 8px; text-shadow: 0 3px 0 rgba(0,0,0,0.2);
}
.page-head .hero-sub { margin-bottom: 0; }

/* 踰꾪듉 */
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 900; border-radius: 10px;
  padding: 13px 26px; font-size: 1rem; transition: 0.12s;
}
.btn-lg { padding: 15px 32px; font-size: 1.1rem; }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 rgba(0,0,0,0.22); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.22); }
.btn-ghost { background: var(--ink); color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,0.3); }
.btn-ghost:hover { background: #232f3d; }
.section .btn-ghost, .cta-box .btn-ghost { background: var(--ink); color: #fff; }

/* ?뱀뀡 */
.section { padding: 48px 0; }
.section-alt { background: var(--cream); }
.section h2 {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400;
  font-size: 1.6rem; color: var(--ink); margin: 28px 0 18px;
  padding-left: 14px; border-left: 6px solid var(--red);
}
.section h2:first-child { margin-top: 0; }
.section-sub { color: var(--text-sub); margin-bottom: 22px; max-width: 720px; }
.body-text { margin-bottom: 16px; max-width: 780px; }

/* 移대뱶 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px; transition: 0.12s; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 4px 4px 0 var(--ink);
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--red); border-color: var(--red); }
.card h3 { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400; color: var(--red); font-size: 1.15rem; }
.card p { font-size: 0.92rem; color: var(--text-sub); flex: 1; }
.card-more { color: var(--ink); font-weight: 900; font-size: 0.9rem; }

/* ?뱀쭠 */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--cream); border-radius: var(--radius); padding: 22px 18px; border: 2px dashed var(--line); }
.feature-icon { font-size: 1.9rem; display: block; margin-bottom: 8px; }
.feature h3 { color: var(--ink); font-size: 1.05rem; font-weight: 900; margin-bottom: 6px; }
.feature p { font-size: 0.92rem; color: var(--text-sub); }

/* 媛寃?移대뱶 (硫붿씤) */
.price-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.price-card {
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  text-align: center; padding: 18px 12px; box-shadow: 4px 4px 0 var(--ink);
}
.price-card .t { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.price-card .v {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400;
  color: var(--red); font-size: 1.6rem; margin-top: 2px;
}
.price-card .n { font-size: 0.8rem; color: var(--text-sub); }

/* 媛寃⑺몴 */
.table-scroll { overflow-x: auto; margin-bottom: 26px; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--ink); min-width: 520px; }
.price-table th { background: var(--ink); color: var(--yellow); text-align: left; padding: 13px 16px; font-size: 0.95rem; }
.price-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.price-table tr:last-child td { border-bottom: none; }
.price-table .price {
  color: var(--red); font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-weight: 400; font-size: 1.15rem; white-space: nowrap;
}

/* 泥댄겕由ъ뒪??*/
.check-list { list-style: none; margin: 0 0 24px; max-width: 780px; }
.check-list li { padding: 9px 0 9px 32px; position: relative; border-bottom: 1px dashed var(--line); }
.check-list li::before {
  content: "??; position: absolute; left: 2px; top: 7px;
  background: var(--yellow); color: var(--ink); font-weight: 900;
  width: 22px; height: 22px; border-radius: 50%; text-align: center; line-height: 22px; font-size: 0.85rem;
}
.check-list a { color: var(--red); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }

/* 吏??釉붾줉 */
.area-block { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; box-shadow: 4px 4px 0 var(--ink); }
.area-block h2, .area-block h3 { border-left: none !important; padding-left: 0 !important; }
.area-block h2 a, .area-block h3 a { color: var(--red); }
.area-block h3 { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400; font-size: 1.15rem; margin-bottom: 8px; }
.dong-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dong-links a {
  background: var(--cream); border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 4px 13px; font-size: 0.86rem; font-weight: 700; color: var(--ink); transition: 0.12s;
}
.dong-links a:hover { background: var(--yellow); }
.dong-links-lg a { font-size: 0.95rem; padding: 7px 16px; }

/* CTA 諛뺤뒪 */
.cta-box {
  background: var(--ink); color: #fff; border: none; border-radius: 16px;
  padding: 34px 28px; text-align: center; margin: 30px 0; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--yellow), var(--yellow) 14px, var(--ink) 14px, var(--ink) 28px);
}
.cta-title { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400; font-size: 1.45rem; margin-bottom: 8px; }
.cta-sub { opacity: 0.8; margin-bottom: 20px; font-size: 0.95rem; }

/* FAQ */
.faq-list { max-width: 780px; }
.faq-item { border: 2px solid var(--ink); border-radius: 10px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 14px 18px; font-weight: 900; color: var(--ink);
  list-style: none; position: relative; padding-right: 44px;
}
.faq-item summary::before { content: "Q."; color: var(--red); margin-right: 8px; font-weight: 900; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 11px; font-size: 1.3rem; color: var(--red); }
.faq-item[open] summary::after { content: "??; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 18px 16px; color: var(--text-sub); font-size: 0.95rem; }

/* ?명꽣 */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 38px 0 46px; font-size: 0.9rem; border-top: 6px solid var(--yellow); }
.site-footer a { color: #fff; }
.footer-brand { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400; font-size: 1.3rem; color: var(--yellow); margin-bottom: 8px; }
.footer-links { margin-top: 10px; line-height: 1.9; }
.footer-links a { opacity: 0.8; }
.footer-links a:hover { opacity: 1; color: var(--yellow); }
.footer-note { margin-top: 18px; font-size: 0.8rem; opacity: 0.55; }

/* ?섎떒 怨좎젙 ?꾪솕諛?(紐⑤컮?? */
.call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  display: flex; box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.call-bar-btn {
  flex: 2; text-align: center; padding: 14px 8px; font-weight: 900; font-size: 1.05rem;
  background: var(--red); color: #fff;
}
.call-bar-btn.sms { flex: 1; background: var(--yellow); color: var(--ink); }
.call-bar-btn:active { filter: brightness(0.92); }

/* 諛섏쓳??*/
@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-inner { height: 54px; }
  .brand { font-size: 1.25rem; }
  .header-call { font-size: 0.88rem; padding: 8px 14px; }
  .topbar { font-size: 0.8rem; }
  .hero { padding: 40px 0 36px; }
  .section { padding: 36px 0; }
  .check-strip div { padding: 9px 12px; font-size: 0.85rem; }
  .cta-actions .btn { width: 100%; max-width: 340px; }
}
@media (min-width: 761px) {
  .call-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* ---------- 워드프레스 전용 ---------- */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* 블로그 글 */
.post-article { padding: 40px 20px 60px; max-width: 820px; margin: 0 auto; }
.post-head h1 { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--ink); line-height: 1.35; margin-bottom: 10px; }
.post-meta { color: var(--text-sub); font-size: 0.9rem; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.post-body { font-size: 1.02rem; }
.post-body h2 { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; font-weight: 400; font-size: 1.4rem; color: var(--ink); margin: 34px 0 14px; padding-left: 12px; border-left: 6px solid var(--red); }
.post-body h3 { font-size: 1.15rem; color: var(--ink); font-weight: 900; margin: 26px 0 10px; }
.post-body p { margin-bottom: 16px; }
.post-body ul, .post-body ol { margin: 0 0 16px 22px; }
.post-body li { margin-bottom: 6px; }
.post-body img { border-radius: 10px; margin: 10px 0; height: auto; }
.post-body table { width: 100%; border-collapse: collapse; margin-bottom: 20px; border: 2px solid var(--ink); }
.post-body table th { background: var(--ink); color: var(--yellow); padding: 10px 14px; text-align: left; }
.post-body table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.post-body blockquote { border-left: 5px solid var(--yellow); background: var(--cream); padding: 14px 18px; border-radius: 0 10px 10px 0; margin-bottom: 16px; color: var(--text-sub); }
.post-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* 페이지네이션 */
.pagination { margin-top: 30px; text-align: center; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 2px solid var(--ink); border-radius: 8px; font-weight: 900; color: var(--ink); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--yellow); }
