/* ==========================================================
   해아림한의원 대구본점 - 프리미엄 메디컬 공식 디자인 시스템
   (공식 로고 반영 + 통일된 Pretendard 타이포그래피 & 정돈된 그리드)
   ========================================================== */

:root {
  /* 해아림 공식 브랜드 컬러웨이 (스크린샷 1, 2 규격) */
  --color-teal-hero: #0C4349;       /* 스크린샷 1 대제목 깊은 딥 틸 */
  --color-teal-primary: #146369;    /* 스크린샷 1 메인 버튼 솔리드 틸 */
  --color-teal-sub: #008194;        /* 스크린샷 1 서브헤딩 및 뱃지 텍스트 */
  --color-teal-badge-bg: #E6F6F8;   /* 스크린샷 1 뱃지 배경 */
  --color-teal-badge-border: #C9ECF0;
  --color-banner-bg: #477585;       /* 스크린샷 2 네트워크 배너 슬레이트 틸 */
  --color-footer-bg: #08383E;       /* 스크린샷 2 푸터 딥 틸 */

  --color-logo-green: #2CD46B;
  --color-logo-cyan: #1CC8DC;
  --color-logo-gold: #E5A93C;

  --color-primary: #146369;
  --color-primary-dark: #0C4349;
  --color-primary-light: #008194;
  --color-accent: #F0913E;
  --color-accent-light: #FEF0E6;
  --color-accent-deep: #C16E1F;

  --color-bg: #FFFFFF;            /* 퓨어 화이트 */
  --color-bg-alt: #F8FAFB;        /* 소프트 그레이 */
  --color-bg-card: #FFFFFF;       /* 카드 화이트 */
  --color-text: #1F2937;          /* 선명한 차콜 텍스트 */
  --color-text-light: #556970;    /* 스크린샷 1 리드문 가독성 텍스트 */
  --color-text-muted: #6B7280;    /* 스크린샷 2 카드 설명 회색 */
  --color-border: #E5E7EB;        /* 깔끔한 라인 테두리 */

  --max-width: 1180px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-card: 16px;            /* 스크린샷 2 카드 & 배너 모서리 */
  --radius-hero: 24px;            /* 스크린샷 1 대형 히어로 카드 모서리 */
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 30px rgba(12, 67, 73, 0.12);

  /* 타이포그래피: 전체 UI 및 헤딩 전면 Pretendard 완벽 통일 */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-serif: var(--font-sans);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: 60px;
}

/* 헤딩 전면 Pretendard 통일 & 자간 정돈 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--color-primary-dark);
  letter-spacing: -0.025em;
  font-weight: 700;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

.text-center { text-align: center; }
.mt-3 { margin-top: 2rem; }

/* ── 상단 미니 유틸리티 바 (단정하고 정렬된 상단) ── */
.top-util-bar {
  background: #EFF4F4;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.78rem;
  padding: 6px 0;
}
.top-util-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-util-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
  font-weight: 500;
}
.util-badge {
  background: var(--color-primary);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.72rem;
}
.top-util-right {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-text-light);
  font-weight: 600;
}
.util-link {
  transition: color 0.15s ease;
}
.util-link:hover {
  color: var(--color-primary);
}
.phone-link {
  color: #D9534F;
  font-weight: 700;
}
.util-night {
  background: #E4EDED;
  color: var(--color-primary-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
}
@media (max-width: 900px) {
  .top-util-bar { display: none; }
}

/* ── 헤더 & GNB (공식 로고 반영 + 글래스모피즘) ── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: center; /* c부분: 로고 + 메뉴 목록 전체를 가로 가운데 정렬 */
  gap: 32px;
  height: 80px;
  max-width: 1280px;
  position: relative;
}

/* 브랜드 로고 락업 */
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 0;
}
.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}
.site-brand:hover .brand-logo-img {
  transform: scale(1.03);
}
.brand-main {
  font-size: 1.58rem; /* b부분: 기존 1.32rem에서 20% 확대 */
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.035em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.branch-pill {
  font-size: 0.78rem;
  font-weight: 800;
  background: #008194;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0;
  display: inline-block;
}

/* 네비게이션 리스트 (c부분: 가로 중앙 정렬 블록) */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.nav-list {
  display: flex;
  list-style: none;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-item {
  position: relative;
  flex-shrink: 0;
}
.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: #1F2937;
  padding: 10px 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.15s ease;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

/* 10대 특화진료 호버 드롭다운 (정돈된 2열 카드 메가메뉴) */
.nav-dropdown {
  position: relative;
}
.caret {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
  color: var(--color-primary);
}
.nav-dropdown:hover .caret {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(12, 67, 73, 0.12);
  padding: 14px 16px;
  min-width: 200px;
  z-index: 1000;
  animation: ddFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ddFadeIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-dropdown-menu--specialties {
  min-width: 340px;
}
.nav-dd-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EFF4F4;
}
.nav-dd-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-accent-deep);
  letter-spacing: 0.08em;
}
.nav-dd-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}
.nav-dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dd-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2D3A3D;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dd-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-logo-green);
  flex-shrink: 0;
  transition: transform 0.18s ease, background 0.18s ease;
}
.nav-dd-item:hover {
  background: #EFF7F7;
  color: var(--color-primary-dark);
  transform: translateX(2px);
}
.nav-dd-item:hover .dd-dot {
  background: var(--color-primary);
  transform: scale(1.4);
}
.nav-dd-major {
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* 네비게이션 CTA 버튼 */
.btn-nav-call {
  background: linear-gradient(135deg, #1C6E78 0%, #155B63 100%);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(28, 110, 120, 0.28);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-nav-call:hover {
  background: linear-gradient(135deg, #0D3A42 0%, #1C6E78 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 58, 66, 0.35);
}

.menu-toggle { display: none; }

/* ── 버튼 시스템 ── */
.btn, .btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #1C6E78 0%, #155B63 100%);
  color: #fff;
  padding: 14px 32px;
  font-size: 1.02rem;
  border: none;
  box-shadow: 0 6px 18px rgba(28, 110, 120, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0D3A42 0%, #1C6E78 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13, 58, 66, 0.36);
  color: #fff;
}
.btn-secondary {
  background: #FFFFFF;
  color: var(--color-primary);
  border: 1.5px solid #BED9D7;
  padding: 13px 28px;
  font-size: 1.02rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.btn-secondary:hover {
  background: #EEF6F6;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  color: var(--color-primary-dark);
}

/* ── 섹션 공통 헤더 ── */
section {
  padding: 88px 0;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.sub-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-accent-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ── 메인 히어로 섹션 (단정하고 깃깔난 웰니스 무드) ── */
.hero-section {
  padding: 80px 0 92px;
  background: radial-gradient(circle at 85% 20%, rgba(44, 212, 107, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 85%, rgba(28, 200, 220, 0.08) 0%, transparent 40%),
              linear-gradient(180deg, #FBFDFD 0%, #EFF5F6 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #DFE8E8;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 52px;
  align-items: center;
}

/* 히어로 텍스트 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(28, 110, 120, 0.2);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.hero-badge-icon {
  height: 22px;
  width: auto;
}
.hero-quote-intro {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.32;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.gradient-text {
  background: linear-gradient(135deg, #1C6E78 0%, #22A06B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.highlight-text {
  color: var(--color-accent-deep);
  position: relative;
  display: inline-block;
}
.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 4px;
  background: rgba(240, 145, 62, 0.35);
  border-radius: 2px;
  z-index: -1;
}
.hero-desc {
  font-size: 1.06rem;
  color: var(--color-text-light);
  line-height: 1.82;
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 히어로 3대 신뢰 지표 카드 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(28, 110, 120, 0.12);
}
.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.15;
}
.stat-num small {
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 2px;
}
.stat-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* 히어로 우측 김대억 대표원장 카드 */
.hero-card {
  background: #FFFFFF;
  border: 1px solid #DFE8E8;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(13, 58, 66, 0.08);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2CD46B 0%, #1CC8DC 50%, #1C6E78 100%);
}
.hero-card-header {
  margin-bottom: 16px;
}
.doctor-badge {
  display: inline-block;
  background: var(--color-accent-light);
  color: var(--color-accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.doctor-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.025em;
  margin-bottom: 2px;
}
.doctor-spec {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}
.doctor-books-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}
.book-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-alt);
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #E3ECEC;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2D3A3D;
}
.doctor-quote {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: #4B5A5C;
  line-height: 1.75;
  font-style: italic;
  background: #F8FAFA;
  padding: 14px 16px;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  margin-bottom: 18px;
}
.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: #798B8D;
  font-weight: 600;
  flex-wrap: wrap;
}
.location-chip {
  color: var(--color-primary);
}

/* ── 10대 특화 진료 (정돈된 5x2 반응형 그리드) ── */
.specialties-section {
  background: var(--color-bg-alt);
}
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) {
  .specialties-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .specialties-grid { grid-template-columns: 1fr; }
}

.specialty-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.specialty-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-logo-green), var(--color-logo-cyan));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #A6D2D6;
}
.specialty-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  background: #EDF6F6;
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.card-num {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  color: #9CB2B4;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(44, 212, 107, 0.12) 0%, rgba(28, 200, 220, 0.12) 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}
.specialty-card:hover .card-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.08);
}
.specialty-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.specialty-card p {
  font-size: 0.88rem;
  color: #515E61;
  line-height: 1.55;
  min-height: 44px;
  margin-bottom: 18px;
  flex-grow: 1;
}
.card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.2s ease;
}
.specialty-card:hover .card-link {
  gap: 8px;
  color: var(--color-primary-dark);
}
.arr { transition: transform 0.2s ease; }
.specialty-card:hover .arr { transform: translateX(3px); }

/* ── 해아림 4대 심층 치료 시스템 ── */
.treatment-system-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
}
.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 990px) {
  .system-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .system-grid { grid-template-columns: 1fr; }
}
.system-card {
  background: #F9FBFB;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: all 0.22s ease;
}
.system-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  border-color: var(--color-primary-light);
  background: #FFFFFF;
}
.sys-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sys-step {
  font-size: 0.72rem;
  font-weight: 800;
  background: #EDF6F6;
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
}
.sys-icon {
  font-size: 1.6rem;
}
.system-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}
.system-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ── 유튜브 큐레이션 (@healimtv) ── */
.youtube-section {
  background: var(--color-bg-alt);
}
.youtube-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .youtube-grid { grid-template-columns: 1fr; }
}
.youtube-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.embed-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.shorts-ratio {
  padding-top: 96%;
}
.embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-caption {
  padding: 16px 20px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
  background: #FFFFFF;
}

/* ── 치료후기 6선 ── */
.reviews-preview-section {
  background: #FFFFFF;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
.review-card {
  background: #F9FBFB;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  border-color: #BED9D7;
  background: #FFFFFF;
}

/* ── 대형 화이트 라운드 히어로 카드 (스크린샷 1 포맷) ── */
.disease-page-container {
  padding-top: 10px;
  padding-bottom: 14px;
}

.disease-hero-card {
  max-width: 1180px;
  margin: 8px auto 24px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-hero);
  padding: 34px 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* 배경 뫼비우스 워터마크 효과 (절대 배치 고정 - 정상 문서 흐름 높이 점유 방지) */
.hero-card-watermark {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  height: 100% !important;
  background: radial-gradient(circle at 50% 45%, rgba(20, 99, 105, 0.025) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.disease-hero-card > *:not(.hero-card-watermark) {
  position: relative;
  z-index: 2;
}

/* 상단 요약 뱃지 */
.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-teal-badge-bg);
  color: var(--color-teal-sub);
  border: 1px solid var(--color-teal-badge-border);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.badge-icon {
  font-size: 13px;
}

/* 서브헤딩 */
.hero-card-sub {
  color: var(--color-teal-sub);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hero-card-sub .sub-sep {
  margin: 0 8px;
  color: #A3D8DE;
  font-weight: 400;
}

/* 헤드제목 헤드라인 */
.hero-card-title {
  color: var(--color-teal-hero);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.03em;
  margin: 0 auto 14px;
  word-break: keep-all;
}
@media (max-width: 768px) {
  .disease-hero-card {
    padding: 24px 16px 20px;
    margin: 6px auto 18px;
    border-radius: 16px;
  }
  .hero-card-title {
    font-size: 23px;
    line-height: 1.38;
    margin-bottom: 10px;
  }
  .hero-card-desc {
    font-size: 14px;
    line-height: 1.62;
    margin: 0 auto 16px;
  }
  .btn-hero-solid, .btn-hero-outline {
    font-size: 14.5px;
    padding: 9px 18px;
  }
}

/* 서브 설명 리드문 */
.hero-card-desc {
  color: var(--color-text-light);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  max-width: 800px;
  margin: 0 auto 22px;
  word-break: keep-all;
  letter-spacing: -0.01em;
}

/* 하단 CTA 액션 버튼 그룹 */
.hero-card-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-hero-solid {
  background: var(--color-teal-primary);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-teal-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(20, 99, 105, 0.16);
}
.btn-hero-solid:hover {
  background: #0D454A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 99, 105, 0.24);
}
.btn-hero-outline {
  background: #FFFFFF;
  color: var(--color-teal-primary) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-teal-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-hero-outline:hover {
  background: #F0F8F9;
  transform: translateY(-2px);
}

/* 상세 본문 아티클 */
.page-article, .local-landing-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 0 36px;
}
.doctor-supervision-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #EFF6F6;
  padding: 8px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  width: 100%;
}
.supervision-badge {
  background: var(--color-teal-primary);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.supervision-name {
  color: var(--color-teal-hero);
}

/* cond-section & cond-h2 */
.cond-section {
  margin-bottom: 44px;
}
.cond-h2 {
  font-size: 1.45rem !important;
  font-weight: 800;
  color: var(--color-teal-hero) !important;
  background: #EFF6F6;
  border-left: 5px solid var(--color-teal-primary) !important;
  padding: 12px 18px !important;
  border-radius: 0 8px 8px 0;
  margin: 36px 0 20px 0 !important;
  letter-spacing: -0.015em;
}
.cond-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-teal-primary);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cond-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.cond-card--blue {
  background: #F4F8FB;
  border-color: #D6E4EE;
  border-left-color: #2F6F8F;
}
.cond-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-teal-hero);
  margin-bottom: 6px;
}
.cond-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* 증상 그리드 */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  list-style: none !important;
  padding: 0 !important;
  margin: 20px 0 !important;
}
.symptom-item {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 18px 16px 42px;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.55;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.symptom-item::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-teal-primary);
}

/* ── 스크린샷 2 상단: 3열 카드 리스트 그리드 ── */
.section-card-list {
  margin-top: 56px;
  margin-bottom: 48px;
}
.section-card-header {
  margin-bottom: 24px;
  text-align: left;
}
.section-card-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-teal-sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}
.section-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-teal-hero);
  margin-top: 6px;
  letter-spacing: -0.02em;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  border-color: #CBD5E1;
}
.insight-thumb-wrap {
  width: 100%;
  height: 180px;
  background: #0C4349;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.insight-thumb-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.3s ease;
}
.insight-card:hover .insight-thumb-img {
  transform: scale(1.05);
}
.insight-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-teal-sub);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.insight-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.insight-title {
  font-size: 18px;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.45;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.insight-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── 진료 안내 및 예약 퀵 박스 ── */
.landing-footer-guide {
  margin-top: 48px;
  background: #F8FBFC;
  border: 1.5px solid #D1E5E8;
  border-radius: var(--radius-card);
  padding: 34px 32px;
}
.landing-footer-guide h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-teal-hero);
  margin-bottom: 14px;
}
.clinic-summary p {
  margin-bottom: 8px;
  font-size: 0.96rem;
  line-height: 1.65;
}
.action-buttons {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.btn-location-detail {
  background: var(--color-teal-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.2s ease;
}
.btn-location-detail:hover {
  background: #0D454A;
  transform: translateY(-2px);
}
.btn-call-direct {
  background: #D9534F;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.94rem;
  transition: all 0.2s ease;
}
.btn-call-direct:hover {
  background: #C9302C;
  transform: translateY(-2px);
}

/* ── 스크린샷 2 중단: 해아림한의원 네트워크 배너 (슬레이트 틸 #477585) ── */
.national-network-banner {
  margin-top: 40px;
  margin-bottom: 16px;
  background: var(--color-banner-bg);
  border-radius: var(--radius-card);
  padding: 34px 48px;
  box-shadow: 0 8px 24px rgba(71, 117, 133, 0.16);
}
.network-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.network-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin: 0;
}
@media (max-width: 768px) {
  .national-network-banner {
    padding: 28px 22px;
  }
  .network-title {
    font-size: 20px;
    text-align: center;
    width: 100%;
  }
}
.btn-network-click {
  background: #FFFFFF;
  color: #1F2937 !important;
  font-size: 16px;
  font-weight: 800;
  padding: 12px 36px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-network-click:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
@media (max-width: 768px) {
  .btn-network-click {
    width: 100%;
  }
}

/* ── 스크린샷 2 하단: 푸터 (딥 틸 #08383e + 상세정보 + 하단 약관/카피라이트) ── */
.site-footer {
  background: var(--color-footer-bg);
  color: #8DA4A8;
  padding: 36px 0 28px;
  font-size: 14px;
  border-top: none;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-details-row {
  font-size: 13px;
  line-height: 1.65;
  color: #6E888C;
}
.footer-clinic-info p {
  margin-bottom: 5px;
}
.footer-clinic-info strong {
  color: #A3BDC1;
}
.footer-clinic-info a {
  color: #A3BDC1;
  text-decoration: underline;
}
.footer-hours-text {
  margin-bottom: 8px;
}
.footer-clinic-info .med-notice {
  font-size: 12px;
  color: #557074;
  margin-top: 8px;
  line-height: 1.5;
}
.footer-bottom-row {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.legal-link {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.legal-link:hover {
  color: #2CD46B;
  text-decoration: underline;
}
.legal-sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}
.footer-copyright {
  font-size: 13px;
  color: #8DA4A8;
  margin: 0;
}

/* ── 모바일 플로팅 바 ── */
.mobile-floating-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 58px;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  z-index: 9999;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.08);
}
.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}
.floating-btn.call-btn {
  background: #D9534F;
  color: #FFFFFF;
}
.floating-btn.map-btn {
  background: var(--color-primary);
  color: #FFFFFF;
}

/* ── 반응형 네비게이션 & 모바일 ── */
@media (max-width: 1260px) and (min-width: 961px) {
  .header-container { gap: 18px; }
  .site-brand { gap: 8px; }
  .site-brand .brand-main { font-size: 1.36rem; }
  .brand-logo-img { height: 42px; }
  .nav-list { gap: 12px; }
  .nav-link { font-size: 0.88rem; padding: 6px 2px; }
}

@media (max-width: 960px) {
  .header-container { justify-content: space-between; height: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }

  .menu-toggle {
    display: flex;
    position: static;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .hamburger-bar {
    width: 22px; height: 2px;
    background: var(--color-primary-dark);
    border-radius: 2px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #FFFFFF;
    padding: 24px;
    border-bottom: 2px solid var(--color-primary);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 12px; flex-wrap: wrap; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    display: block;
    box-shadow: none;
    border: 1px solid var(--color-border);
    margin-top: 8px;
    width: 100%;
    animation: none;
  }
}


/* ==========================================================
   healim-panic.com 1:1 일치 공통 바텀 섹션 스타일
   (Publications, FAQ, Reviews, Columns, YouTube, Network Banner, Modal)
   ========================================================== */

/* 섹션 공통 래퍼 & 헤더 */
.healim-bottom-section-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.healim-bottom-section {
  margin-bottom: 72px;
}

.healim-bottom-section.mb-last {
  margin-bottom: 48px;
}

.bottom-sec-header {
  text-align: center;
  margin-bottom: 32px;
}

.bottom-sec-badge {
  display: inline-block;
  padding: 4px 14px;
  background-color: #edf7f8;
  color: #1c6e78;
  font-weight: 700;
  font-size: 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  border: 1px solid #badfe3;
}

.healim-section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 800;
  color: #0d3a42;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
  line-height: 1.35;
}

.healim-section-subtitle {
  text-align: center;
  font-size: clamp(0.875rem, 1.8vw, 1.025rem);
  color: #64748b;
  margin: 0 0 32px;
  line-height: 1.65;
  word-break: keep-all;
}

/* 도서 출간 (Publications) */
.books-grid {
  max-width: 880px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.book-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e0eaec;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.book-card:hover {
  transform: translateY(-4px);
  border-color: #badfe3;
  box-shadow: 0 12px 28px rgba(28, 110, 120, 0.12);
}

.book-cover-link {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
}

.book-cover-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  max-width: 210px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.book-cover-link:hover .book-cover-wrapper {
  transform: scale(1.04);
}

.book-cover-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.book-click-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(13, 58, 66, 0.85);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(2px);
}

.book-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0d3a42;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.book-card .book-desc, .book-desc {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b !important;
  margin: 0 0 20px;
  line-height: 1.65;
  text-align: center;
  white-space: normal !important;
  word-break: keep-all;
  overflow-wrap: break-word;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn-book-kyobo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 240px;
  padding: 12px 20px;
  background-color: #1c6e78;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(28, 110, 120, 0.2);
}

.btn-book-kyobo:hover {
  background-color: #0d3a42;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(28, 110, 120, 0.35);
}

.publications-bottom-banner {
  max-width: 880px;
  margin: 0 auto;
  background: #c16e1f;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(193, 110, 31, 0.25);
}

.publications-bottom-banner p {
  margin: 0;
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Publications 모바일 및 반응형 최적화 */
@media (max-width: 768px) {
  .books-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 12px !important;
  }
  .book-card {
    padding: 24px 18px !important;
    border-radius: 14px !important;
  }
  .book-card .book-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin: 0 0 16px !important;
    min-height: auto !important;
  }
  .btn-book-kyobo {
    max-width: 100% !important;
    padding: 12px 18px !important;
  }
  .publications-bottom-banner {
    margin: 0 12px !important;
    padding: 12px 16px !important;
  }
}


/* FAQ 아코디언 */
.bottom-faq-container {
  max-width: 880px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e0eaec;
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.2s ease;
}

.faq-item[open] {
  border-color: #1c6e78;
  box-shadow: 0 4px 16px rgba(28, 110, 120, 0.08);
}

.faq-item summary {
  font-weight: 700;
  font-size: 15px;
  color: #0d3a42;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: #1c6e78;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  color: #c16e1f;
}

.faq-summary-left {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  flex-grow: 1;
}

.faq-q-badge {
  font-size: 14px;
  font-weight: 900;
  color: #1c6e78;
  flex-shrink: 0;
}

.faq-tag-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f0f7f8;
  color: #1c6e78;
  border: 1px solid #badfe3;
  flex-shrink: 0;
}

.faq-q-text {
  font-weight: 700;
  color: #0d3a42;
  font-size: 14.5px;
  line-height: 1.45;
  word-break: keep-all;
}

.faq-answer {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.faq-answer-image-box {
  margin: 12px 0 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #badfe3;
  background: #f8fafb;
  max-width: 480px;
}

.faq-answer-image-box img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.faq-content-body {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.7;
  word-break: keep-all;
}

.faq-content-body a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1c6e78;
  font-weight: 700;
  text-decoration: none;
  margin-top: 6px;
}

.faq-content-body a:hover {
  text-decoration: underline;
}

/* 3열 반응형 카드 그리드 (치료후기, 칼럼, 유튜브 공통) */
.bottom-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

@media (min-width: 992px) {
  .bottom-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 공통 카드 아이템 */
.bottom-item-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e0eaec;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
}

.bottom-item-card:hover {
  transform: translateY(-4px);
  border-color: #badfe3;
  box-shadow: 0 12px 24px rgba(28, 110, 120, 0.12);
}

/* 썸네일 영역 */
.bottom-card-media {
  position: relative;
  overflow: hidden;
  height: 176px;
  background: #f1f5f9;
}

.bottom-card-media.bg-dark {
  background: #0f172a;
}

.bottom-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.bottom-item-card:hover .bottom-card-media img {
  transform: scale(1.05);
}

.bottom-review-blurred-img {
  filter: blur(10px);
  transform: scale(1.08);
}

.bottom-item-card:hover .bottom-review-blurred-img {
  transform: scale(1.12);
}

.bottom-media-badge-lock {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 58, 66, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 9999px;
  z-index: 2;
}

.bottom-media-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.bottom-play-btn-circle {
  width: 48px;
  height: 48px;
  background: #dc2626;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.bottom-item-card:hover .bottom-play-btn-circle {
  transform: scale(1.1);
}

.bottom-play-btn-circle svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  margin-left: 2px;
}

/* 카드 본문 */
.bottom-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bottom-card-category {
  font-size: 12px;
  font-weight: 700;
  color: #1c6e78;
  margin-bottom: 6px;
}

.bottom-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0d3a42;
  margin: 0 0 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.bottom-item-card:hover .bottom-card-title {
  color: #1c6e78;
}

.bottom-card-desc {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}

.bottom-card-footer {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #888888;
}

.bottom-card-footer a {
  color: #1c6e78;
  font-weight: 700;
  text-decoration: none;
}

.bottom-card-footer a:hover {
  text-decoration: underline;
}

/* 공통 더보기 버튼 */
.bottom-btn-center {
  text-align: center;
}

.btn-healim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1c6e78;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(28, 110, 120, 0.25);
}

.btn-healim:hover {
  background-color: #0d3a42;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(28, 110, 120, 0.35);
}

/* 네트워크 공식 배너 (healim-panic.com 1:1) */
.national-network-banner-box {
  background: linear-gradient(135deg, #0d3a42 0%, #1c6e78 50%, #0d3a42 100%);
  border-radius: 20px;
  padding: 32px 36px;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(13, 58, 66, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #2b8894;
  margin: 50px 0 60px;
  text-align: center;
}

@media (min-width: 768px) {
  .national-network-banner-box {
    flex-direction: row;
    padding: 36px 48px;
    text-align: left;
  }
}

.network-banner-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 800;
  font-size: 11.5px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.network-banner-title {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.35;
}

.network-banner-desc {
  font-size: clamp(12.5px, 1.8vw, 15px);
  color: #e2e8f0;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
}

.btn-network-banner-click {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #0d3a42 !important;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 14px 36px;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-network-banner-click:hover {
  background-color: #f0f7f8;
  color: #1c6e78 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* 상세 팝업 모달 (commonBottomDetailModalBackdrop) */
.healim-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 99999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.healim-modal-backdrop.is-open {
  display: flex !important;
  opacity: 1 !important;
}

.healim-modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  padding: 24px;
  position: relative;
  border: 1px solid #badfe3;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.healim-modal-backdrop.is-open .healim-modal-dialog {
  transform: translateY(0) scale(1) !important;
}

.healim-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf2f4;
  padding-bottom: 14px;
  margin-bottom: 14px;
  gap: 12px;
}

.healim-modal-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0d3a42;
  margin: 0;
  line-height: 1.4;
}

.btn-modal-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.btn-modal-close:hover {
  color: #0d3a42;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #888888;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f4;
  margin-bottom: 16px;
}

.modal-content-body {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
  min-height: 120px;
  word-break: keep-all;
  white-space: pre-line;
}

.modal-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #edf2f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-footer a {
  font-size: 13px;
  color: #1c6e78;
  font-weight: 700;
  text-decoration: none;
}

.modal-footer a:hover {
  text-decoration: underline;
}

.btn-modal-close-submit {
  padding: 8px 18px;
  background-color: #1c6e78;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-modal-close-submit:hover {
  background-color: #0d3a42;
}
/* ==============================================================
   10개 질환 상세페이지 전용 여백 최적화 (A, B, C, D)
   ============================================================== */
/* [상단 여백] 본문 FAQ ↔ 의학 칼럼 (50% 수준: 약 68px) */
body.is-disease-page .page-article {
  padding-bottom: 18px !important;
}
body.is-disease-page .page-article .cond-section:last-child {
  margin-bottom: 22px !important;
}
body.is-disease-page .section-card-list {
  margin-top: 28px !important;
  margin-bottom: 34px !important; /* 의학 칼럼 ↔ 유튜브 (70% 수준: 34px) */
}
body.is-disease-page .disease-youtube-curation {
  margin-bottom: 24px !important;
}
body.is-disease-page .disease-page-container {
  padding-bottom: 7px !important;
}
body.is-disease-page .healim-bottom-section-wrapper {
  margin-top: 30px !important; /* 유튜브 ↔ 도서 출간 (50% 수준: 30px) */
}

/* [하단 여백 A] 도서 출간 안내 ↔ 자주 묻는 질문 FAQ (현재의 50% 수준: 18px -> 9px) */
body.is-disease-page .healim-bottom-section-wrapper > .healim-bottom-section:first-of-type {
  margin-bottom: 9px !important;
}

/* [하단 여백 B] 자주 묻는 질문 FAQ ↔ 치료후기 (현재의 50% 수준: 36px -> 18px) */
body.is-disease-page .healim-bottom-section-wrapper > .healim-bottom-section:nth-of-type(2) {
  margin-bottom: 18px !important;
}

/* [하단 여백 C] 치료후기 ↔ 치료칼럼 (현재의 50% 수준: 36px -> 18px) */
body.is-disease-page .healim-bottom-section-wrapper > .healim-bottom-section:nth-of-type(3) {
  margin-bottom: 18px !important;
}

/* [하단 여백 D] 치료칼럼 ↔ 진료 예약 및 내원 안내 (현재의 70% 수준: 34px -> 24px) */
body.is-disease-page .healim-bottom-section-wrapper > .healim-bottom-section:nth-of-type(4) {
  margin-bottom: 24px !important;
}
body.is-disease-page .landing-footer-guide {
  margin-top: 0 !important;
}

/* ============================================================== */
/* 김대억 대표원장 교육청·초등학교·학부모 초청 강연 벤토 그리드 섹션 */
/* ============================================================== */
.lecture-authority-section {
  padding: 85px 0 90px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.lecture-authority-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 129, 148, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.lecture-header {
  margin-bottom: 40px;
}

.lecture-badges-ribbon {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.lecture-ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #0C4349;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.lecture-ribbon-item .ribbon-icon {
  font-size: 14px;
}

/* 벤토 그리드 컨테이너 */
.lecture-bento-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

/* 상단 7:5 비대칭 행 */
.lecture-bento-row-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

/* 하단 1:1 대칭 행 */
.lecture-bento-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 우측 2단 스택 */
.lecture-card-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

/* 공통 벤토 카드 */
.lecture-bento-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(12, 67, 73, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #0C4349;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.lecture-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 129, 148, 0.18);
  border-color: #008194;
}

/* 카드 이미지 배경 래퍼 */
.lecture-img-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.lecture-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lecture-bento-card:hover .lecture-img-wrap img {
  transform: scale(1.05);
}

/* 다크 시네마틱 스크림 오버레이 */
.lecture-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(12, 67, 73, 0.15) 0%, rgba(12, 67, 73, 0.55) 45%, rgba(6, 35, 38, 0.95) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.lecture-bento-card:hover .lecture-scrim {
  background: linear-gradient(180deg, rgba(12, 67, 73, 0.05) 0%, rgba(12, 67, 73, 0.5) 40%, rgba(4, 25, 27, 0.96) 100%);
}

/* 카드 콘텐츠 오버레이 */
.lecture-card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 26px;
  box-sizing: border-box;
  color: #FFFFFF;
}

/* 플로팅 글래스 뱃지 */
.lecture-badge-glass {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 67, 73, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #E6FFFA;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: -0.2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lecture-badge-glass.badge-gold {
  background: rgba(180, 83, 9, 0.85);
  color: #FEF3C7;
  border-color: rgba(253, 230, 138, 0.5);
}

.lecture-badge-glass.badge-emerald {
  background: rgba(5, 150, 105, 0.85);
  color: #D1FAE5;
  border-color: rgba(167, 243, 208, 0.5);
}
.lecture-badge-glass.badge-right {
  align-self: flex-end;
}

/* 카드 하단 텍스트 영역 */
.lecture-bottom-meta {
  margin-top: auto;
}

.lecture-sub-title {
  font-size: 13px;
  font-weight: 700;
  color: #5EEAD4;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lecture-main-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.lecture-desc-text {
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* 태그 칩 */
.lecture-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.lecture-tag-chip {
  font-size: 11px;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 4px;
}

/* 카드별 높이 지정 */
.card-hero-feature {
  min-height: 420px;
}

.card-hero-feature .lecture-main-title {
  font-size: 1.55rem;
}

.card-stack-item {
  min-height: 200px;
}

.card-stack-item .lecture-card-content {
  padding: 18px 20px;
}

.card-stack-item .lecture-main-title {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.card-bottom-col {
  min-height: 280px;
}

/* 하단 인용 배너 */
.lecture-quote-banner {
  margin-top: 35px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-left: 5px solid #008194;
  border-radius: 14px;
  padding: 22px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.lecture-quote-icon {
  font-size: 32px;
  color: #008194;
  flex-shrink: 0;
}

.lecture-quote-body blockquote {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.6;
}

.lecture-quote-body cite {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  font-style: normal;
}

/* 반응형 모바일 최적화 */
@media (max-width: 960px) {
  .lecture-bento-row-top {
    grid-template-columns: 1fr;
  }
  .card-hero-feature {
    min-height: 340px;
  }
  .lecture-card-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .lecture-bento-row-bottom {
    grid-template-columns: 1fr;
  }
  .card-bottom-col {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .lecture-authority-section {
    padding: 60px 0 65px;
  }
  .lecture-card-stack {
    grid-template-columns: 1fr;
  }
  .card-hero-feature {
    min-height: 300px;
  }
  .card-hero-feature .lecture-main-title {
    font-size: 1.3rem;
  }
  .lecture-card-content {
    padding: 16px 18px;
  }
  .lecture-quote-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 12px;
  }
}

/* ============================================================== */


/* ============================================================== */
/* 김대억 대표원장 저서 3D 쇼케이스 카드 (업그레이드된 큰 폰트 & 볼륨감) */
/* ============================================================== */
.doctor-books-showcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}

.hero-book-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F8FAFB;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 13px 18px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.hero-book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #008194;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-book-card:hover {
  background: #FFFFFF;
  border-color: #008194;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 129, 148, 0.14);
}

.hero-book-card:hover::before {
  opacity: 1;
}

/* 3D 책 커버 래퍼 (더 돋보이도록 적절히 확대) */
.book-3d-wrap {
  position: relative;
  width: 62px;
  height: 86px;
  flex-shrink: 0;
  perspective: 500px;
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px 5px 5px 2px;
  box-shadow: -3px 4px 12px rgba(0, 0, 0, 0.22);
  display: block;
  transform: rotateY(-5deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-book-card:hover .book-cover-img {
  transform: rotateY(0deg) scale(1.05);
  box-shadow: -2px 6px 16px rgba(0, 0, 0, 0.3);
}

/* 책 스파인(책등) 하이라이트/음영 오버레이 */
.book-spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 2px 5px 5px 2px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.32) 0%, rgba(255, 255, 255, 0.15) 3%, rgba(0, 0, 0, 0.05) 7%, transparent 15%);
  pointer-events: none;
}

/* 도서 메타 정보 (타이포그래피 위계 및 폰트 크기 업그레이드) */
.book-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.book-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #0C4349;
  margin: 0 0 5px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-book-card .book-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  margin: 0 0 6px;
  line-height: 1.4;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #008194;
  transition: color 0.2s;
}

.hero-book-card:hover .book-link-btn {
  color: #0C4349;
}

.book-link-btn .arrow {
  font-size: 13px;
  transition: transform 0.2s;
}

.hero-book-card:hover .book-link-btn .arrow {
  transform: translate(2px, -2px);
}

/* ============================================================== */
/* 주요 방송 출연 아카이브 스트립 (A 위치 - 공간 절약형 컴팩트 그리드) */
/* ============================================================== */
.broadcast-media-strip {
  margin-top: 28px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 22px 24px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.broadcast-strip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 10px;
}

.broadcast-sub-badge {
  font-size: 11px;
  font-weight: 800;
  color: #008194;
  background: #E6F7F9;
  border: 1px solid #BCE5EA;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.broadcast-strip-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0C4349;
  margin: 0;
  letter-spacing: -0.3px;
}

.broadcast-strip-desc {
  font-size: 12px;
  color: #64748B;
  margin-left: auto;
}

.broadcast-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.broadcast-card {
  background: #F8FAFB;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.broadcast-card:hover {
  transform: translateY(-2px);
  border-color: #008194;
  box-shadow: 0 6px 14px rgba(0, 129, 148, 0.1);
  background: #FFFFFF;
}

.broadcast-thumb-wrap {
  position: relative;
  width: 100%;
  height: 205px;
  background: #0F172A;
  overflow: hidden;
}

.broadcast-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.broadcast-card:hover .broadcast-thumb-wrap img {
  transform: scale(1.04);
}

.broadcast-tag-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.broadcast-tag-badge.tag-mbc {
  background: rgba(14, 116, 144, 0.88);
}

.broadcast-tag-badge.tag-kbs {
  background: rgba(30, 64, 175, 0.88);
}

.broadcast-tag-badge.tag-pbc {
  background: rgba(180, 83, 9, 0.88);
}

.broadcast-meta {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.broadcast-show {
  font-size: 14px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}

.broadcast-desc {
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
  letter-spacing: -0.2px;
}

@media (max-width: 820px) {
  .broadcast-strip-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .broadcast-thumb-wrap {
    height: 200px;
  }
  .broadcast-strip-desc {
    margin-left: 0;
    width: 100%;
  }
}

/* ============================================================== */

/* ============================================================== */
/* 김대억 대표원장 Hero 입체 캐릭터 배치 (헤드라인을 향해 제스처) */
/* ============================================================== */
.hero-card-col {
  position: relative;
  width: 100%;
}

.hero-dr-figure {
  position: absolute;
  left: -248px;
  top: 72px;
  width: 288px;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 12px 24px rgba(12, 67, 73, 0.22));
  animation: drGentleFloat 4.5s ease-in-out infinite alternate;
}

@keyframes drGentleFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-7px); }
}

.hero-dr-bubble {
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #008194;
  border-radius: 20px;
  padding: 6px 16px;
  box-shadow: 0 4px 14px rgba(0, 129, 148, 0.20);
  font-size: 13px;
  font-weight: 700;
  color: #0C4349;
  white-space: nowrap;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-end;
  margin-right: 25px;
}

.hero-dr-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 60%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #008194 transparent transparent;
}

.hero-dr-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .hero-dr-figure {
    left: -180px;
    top: 82px;
    width: 243px;
  }
}

@media (max-width: 991px) {
  .hero-dr-figure {
    display: none;
  }
}


/* 틱장애 vs 단순 버릇 5가지 구별법 2x2 + 1 반응형 그리드 */
.tic-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.tic-diff-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.tic-diff-card:hover {
  transform: translateY(-2px);
  border-color: #146369;
  box-shadow: 0 6px 16px rgba(20, 99, 105, 0.08);
}
.tic-diff-card-full {
  grid-column: 1 / -1;
  background: #FFFBFB;
  border-color: #FECACA;
}
.tic-diff-card-full:hover {
  border-color: #EF4444;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.08);
}
@media (max-width: 768px) {
  .tic-diff-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tic-diff-card {
    padding: 16px 18px;
  }
}


/* 공통 2열 반응형 그리드 (PC 2열, 모바일 1열) */
.tic-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}
@media (max-width: 768px) {
  .tic-grid-2col {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
