/*
Theme Name:     WPlaybook ALL100
Theme URI:      https://theme.wplaybook.com
Template:       kadence
Author:         Issac Lee
Author URI:     https://wplaybook.com/about/
Description:    Featured starter theme for bloggers made by wplaybook.com
Version:        0.9
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
 
/* ─────────────────────────────────────
   CSS 변수
───────────────────────────────────── */
:root {
  --laon-primary:      #1e4787;
  --laon-primary-l:    #2d5fa8;
  --laon-primary-pale: #e8eef7;
  --laon-primary-pale2:#f0f4fb;
  --laon-accent:       #e8734a;
  --laon-text:         #1a1f2e;
  --laon-muted:        #5a6278;
  --laon-light:        #8892aa;
  --laon-border:       #dde3ef;
  --laon-bg:           #f7f8fc;
  --laon-white:        #ffffff;
  --laon-serif:        'Noto Serif KR', serif;
  --laon-sans:         'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  --laon-radius:       10px;
  --laon-radius-lg:    16px;
  --laon-shadow:       0 2px 16px rgba(30,71,135,0.08);
  --laon-shadow-h:     0 6px 28px rgba(30,71,135,0.15);
}

/* ─────────────────────────────────────
   Google Fonts 로드 (functions.php에서 wp_enqueue_style로도 가능)
───────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&family=Pretendard:wght@300;400;500;600;700&display=swap');

/* ─────────────────────────────────────
   Kadence 기본 헤더/푸터 숨기기
   (우리가 직접 만든 header.php / footer.php 사용)
───────────────────────────────────── */
.site-header,
.site-top-bar,
#colophon,
.site-footer {
  display: none !important;
}

/* 본문 상단 여백 초기화 */
body { margin-top: 0 !important; }
.content-area, .site-content { padding-top: 0 !important; }

/* ─────────────────────────────────────
   HEADER
───────────────────────────────────── */
.laon-header {
  background: var(--laon-white);
  border-bottom: 1px solid var(--laon-border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 8px rgba(30,71,135,0.07);
}
.laon-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.laon-logo a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.laon-logo-main {
  font-family: var(--laon-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--laon-primary);
  white-space: nowrap;
}
.laon-logo-sub {
  font-size: 10px;
  color: var(--laon-light);
  letter-spacing: 0.02em;
}
.laon-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.laon-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--laon-muted);
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.laon-nav a:hover { background: var(--laon-primary-pale2); color: var(--laon-primary); }
.laon-tel-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--laon-primary);
  color: var(--laon-white) !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.laon-tel-btn:hover { background: var(--laon-primary-l); }
.laon-mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--laon-primary);
}
.laon-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--laon-white);
  border-top: 1px solid var(--laon-border);
  padding: 8px 0;
}
.laon-mobile-nav.open { display: flex; }
.laon-mobile-nav a {
  padding: 12px 24px;
  font-size: 14px;
  color: var(--laon-text);
  text-decoration: none;
  border-bottom: 1px solid var(--laon-border);
}
.laon-mobile-nav .mobile-tel {
  color: var(--laon-primary);
  font-weight: 600;
  border-bottom: none;
}

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.laon-hero {
  background: linear-gradient(135deg, #153466 0%, var(--laon-primary) 55%, #2563a8 100%);
  color: var(--laon-white);
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
.laon-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.laon-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.laon-hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.laon-hero-title {
  font-family: var(--laon-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--laon-white);
}
.laon-hero-title em {
  font-style: normal;
  color: #a8c8f0;
}
.laon-hero-slogan {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  font-weight: 300;
}
.laon-hero-search {
  display: flex;
  background: var(--laon-white);
  border-radius: 10px;
  overflow: hidden;
  max-width: 480px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.laon-hero-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-size: 14px;
  font-family: var(--laon-sans);
  color: var(--laon-text);
  background: transparent;
  -webkit-appearance: none;
}
.laon-hero-search button {
  background: var(--laon-accent);
  color: white;
  border: none;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--laon-sans);
  transition: background 0.2s;
}
.laon-hero-search button:hover { background: #d4623a; }
.laon-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.laon-hero-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: all 0.2s;
}
.laon-hero-tag:hover { background: rgba(255,255,255,0.22); color: white; }
/* 진료정보 카드 */
.laon-hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--laon-radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.laon-hero-card-title {
  font-family: var(--laon-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--laon-white);
  margin-bottom: 2px;
}
.laon-hero-card-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.laon-hero-hours { display: flex; flex-direction: column; gap: 4px; }
.laon-hour-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.laon-hour-label { color: rgba(255,255,255,0.7); }
.laon-hour-val { color: var(--laon-white); font-weight: 500; }
.laon-hour-note { color: rgba(255,255,255,0.4); font-size: 11px; }
.laon-hour-holiday { color: rgba(255,255,255,0.3); font-size: 11px; }
.laon-hero-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 14px 0;
}
.laon-hero-addr {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 14px;
}
.laon-hero-tel-btn {
  display: block;
  background: var(--laon-white);
  color: var(--laon-primary) !important;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.laon-hero-tel-btn:hover { background: var(--laon-primary-pale); }

/* ─────────────────────────────────────
   섹션 공통
───────────────────────────────────── */
.laon-section { padding: 56px 24px; background: var(--laon-bg); }
.laon-section-white { background: var(--laon-white); }
.laon-section-info { background: var(--laon-primary-pale2); border-top: 1px solid var(--laon-border); }
.laon-inner { max-width: 1100px; margin: 0 auto; }
.laon-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.laon-section-title {
  font-family: var(--laon-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--laon-text);
}
.laon-section-title span { color: var(--laon-primary); }

/* ─────────────────────────────────────
   장점 그리드
───────────────────────────────────── */
.laon-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.laon-adv-card {
  background: var(--laon-primary-pale2);
  border: 1px solid var(--laon-border);
  border-radius: var(--laon-radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.laon-adv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--laon-primary);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.laon-adv-card:hover { transform: translateY(-3px); box-shadow: var(--laon-shadow-h); }
.laon-adv-card:hover::after { transform: scaleX(1); }
.laon-adv-icon {
  width: 52px; height: 52px;
  background: var(--laon-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.laon-adv-icon svg { width: 26px; height: 26px; }
.laon-adv-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--laon-primary);
  margin-bottom: 6px;
}
.laon-adv-desc {
  font-size: 12px;
  color: var(--laon-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────
   진료과목
───────────────────────────────────── */
.laon-dept-groups { display: flex; flex-direction: column; gap: 20px; }
.laon-dept-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--laon-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.laon-dept-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.laon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--laon-border);
  background: var(--laon-white);
  font-size: 13px;
  font-weight: 500;
  color: var(--laon-text);
  text-decoration: none;
  transition: all 0.2s;
}
.laon-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--laon-primary);
  flex-shrink: 0;
}
.laon-pill:hover {
  border-color: var(--laon-primary);
  color: var(--laon-primary);
  background: var(--laon-primary-pale2);
}
.laon-pill-featured {
  background: var(--laon-primary);
  border-color: var(--laon-primary);
  color: white;
}
.laon-pill-featured::before { background: rgba(255,255,255,0.5); }
.laon-pill-featured:hover { background: var(--laon-primary-l); border-color: var(--laon-primary-l); color: white; }

/* ─────────────────────────────────────
   포스트 목록
───────────────────────────────────── */
.laon-posts-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.laon-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--laon-text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--laon-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.laon-col-badge {
  font-size: 10px;
  background: var(--laon-primary);
  color: white;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
}
.laon-post-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--laon-border);
  text-decoration: none;
  transition: all 0.2s;
}
.laon-post-item:last-child { border-bottom: none; }
.laon-post-item:hover .laon-post-title { color: var(--laon-primary); }
.laon-post-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--laon-border);
  min-width: 28px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}
.laon-post-inner { flex: 1; }
.laon-post-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
  background: var(--laon-primary-pale);
  color: var(--laon-primary);
}
.laon-post-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--laon-text);
  line-height: 1.5;
  transition: color 0.2s;
}
.laon-post-meta {
  font-size: 11px;
  color: var(--laon-light);
  margin-top: 4px;
}

/* ─────────────────────────────────────
   병원 정보
───────────────────────────────────── */
.laon-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.laon-info-card {
  background: var(--laon-white);
  border: 1px solid var(--laon-border);
  border-radius: var(--laon-radius-lg);
  padding: 22px;
}
.laon-info-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.laon-info-icon {
  width: 36px; height: 36px;
  background: var(--laon-primary-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.laon-info-icon svg { width: 18px; height: 18px; }
.laon-info-label { font-size: 13px; font-weight: 700; color: var(--laon-text); }
.laon-hour-table { width: 100%; border-collapse: collapse; }
.laon-hour-table td { padding: 4px 0; font-size: 12px; }
.laon-hour-table td:first-child { color: var(--laon-muted); width: 72px; }
.laon-hour-table td:last-child { color: var(--laon-text); font-weight: 500; text-align: right; }
.laon-hour-table .note td { color: var(--laon-light) !important; font-size: 11px !important; font-weight: 400 !important; }
.laon-hour-table .holiday td { color: #bbb !important; }
.laon-addr-text { font-size: 13px; color: var(--laon-text); line-height: 1.8; }
.laon-addr-note { font-size: 12px; color: var(--laon-light); margin-top: 6px; }
.laon-addr-tel {
  display: block;
  margin-top: 14px;
  background: var(--laon-primary);
  color: white !important;
  text-align: center;
  padding: 11px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.laon-addr-tel:hover { background: var(--laon-primary-l); }
.laon-sns-links { display: flex; flex-direction: column; gap: 10px; }
.laon-sns-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--laon-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--laon-text);
  text-decoration: none;
  transition: all 0.2s;
}
.laon-sns-btn:hover { border-color: var(--laon-primary); color: var(--laon-primary); background: var(--laon-primary-pale2); }
.laon-sns-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: white;
}
.laon-sns-naver { background: #03C75A; }
.laon-sns-youtube { background: #FF0000; }
.laon-sns-primary { background: var(--laon-primary); }
.laon-sns-home { background: var(--laon-primary); color: white !important; border-color: var(--laon-primary); }
.laon-sns-home:hover { background: var(--laon-primary-l); border-color: var(--laon-primary-l); color: white !important; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.laon-footer {
  background: #111827;
  color: rgba(255,255,255,0.5);
  padding: 32px 24px;
  font-size: 12px;
  line-height: 1.8;
  font-family: var(--laon-sans);
}
.laon-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.laon-footer-logo {
  font-family: var(--laon-serif);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.laon-footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
.laon-footer a:hover { color: rgba(255,255,255,0.8); }
.laon-footer-disclaimer { max-width: 460px; }

/* ─────────────────────────────────────
   반응형
───────────────────────────────────── */
@media (max-width: 960px) {
  .laon-hero-inner { grid-template-columns: 1fr; }
  .laon-hero-card { display: none; }
  .laon-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .laon-posts-two-col { grid-template-columns: 1fr; gap: 32px; }
  .laon-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .laon-nav { display: none; }
  .laon-mobile-menu { display: flex; }
  .laon-hero { padding: 40px 20px 36px; }
  .laon-hero-title { font-size: 26px; }
  .laon-section { padding: 40px 20px; }
  .laon-adv-grid { gap: 10px; }
  .laon-tel-btn span { display: none; }
}
