/* 서울열린치과 — Tailwind 보조 스타일 (cPanel 정적) */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus,
.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Skeleton */
.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(226, 232, 240, 0.4) 0%,
    rgba(241, 245, 249, 0.9) 50%,
    rgba(226, 232, 240, 0.4) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

.img-skeleton.is-loaded .skeleton-shimmer {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-i, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header scrolled */
#site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.1);
}

#site-header {
  background: #ffffff !important;
}

#site-header,
#site-header > div {
  overflow: visible;
}

/* ── 메인 네비 드롭다운 ── */
.nav-item {
  position: relative;
}

.nav-link-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-chevron {
  font-size: 0.7em;
  opacity: 0.65;
  line-height: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 0.55rem;
  margin-top: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
  z-index: 200;
}

/* 마우스가 메뉴→드롭다운 이동할 때 끊기지 않도록 hover bridge */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown,
.nav-item.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
  pointer-events: auto;
}

.nav-dropdown-link {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-link:hover {
  background: #eff6ff;
  color: #1e3a8a;
}

/* 모바일 메뉴 — 서브페이지 펼침 */
.mobile-nav-group {
  border-radius: 12px;
  overflow: hidden;
}

.mobile-nav-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  border-radius: 12px;
  background: #f8fafc;
}

.mobile-nav-summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-summary::after {
  content: "▾";
  float: right;
  color: #64748b;
  font-size: 0.85em;
}

.mobile-nav-group[open] .mobile-nav-summary::after {
  transform: rotate(180deg);
}

.mobile-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem 0.5rem 0.65rem 0.75rem;
  background: #fff;
}

.mobile-nav-sublink {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  border-radius: 10px;
}

.mobile-nav-sublink:hover {
  background: #f1f5f9;
  color: #1e3a8a;
}

.mobile-nav-link {
  text-decoration: none;
}

/* 서브페이지 비주얼 — 세로 1~2장 */
.content-visual-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  width: 100%;
}

.content-visual-stack figure {
  margin: 0;
  width: 100%;
}

.prose-flow-lg {
  font-size: clamp(1.12rem, 4.2vw, 1.28rem);
  line-height: 1.85;
}

.prose-flow-lg p {
  margin-bottom: 1rem;
}

.prose-flow-lg strong {
  color: #0f172a;
  font-weight: 800;
}

/* Mobile menu */
#mobile-menu {
  transform: translateX(100%);
}

#mobile-menu.is-open {
  transform: translateX(0);
}

#menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

#menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* FAQ accordion */
.faq-list {
  max-width: 820px;
  margin: 2rem auto 0;
  width: 100%;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-item:first-child {
  border-top: 1px solid #e2e8f0;
}

.faq-q {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #0f172a;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1.55;
  word-break: keep-all;
  transition: color 0.25s ease;
}

.faq-q:hover {
  color: #1e3a8a;
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #1e3a8a;
  border-bottom: 2px solid #1e3a8a;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-q::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.8;
}

.faq-a p {
  margin: 0;
  padding: 0 0 1.15rem;
}

.faq-item.open .faq-a {
  max-height: 480px;
}

/* Treatment tabs */
.treatment-panel[hidden] {
  display: none !important;
}

/* ── 서브페이지 콘텐츠 (기존 content.py 클래스 호환) ── */
.prose-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.prose-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.prose-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.75rem 0 0.75rem;
}

.prose-content p {
  margin: 0 0 1rem;
}

.prose-content strong {
  color: #0f172a;
  font-weight: 700;
}

.prose-content a {
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.prose-content a:hover {
  color: #10b981;
}

.prose-content ul {
  margin: 1rem 0 1.5rem 1.25rem;
  list-style: disc;
}

.prose-content li {
  margin-bottom: 0.4rem;
}

.story-lead {
  font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  line-height: 1.85;
  color: #0f172a;
  font-weight: 600;
  margin: 0 auto;
  padding: 0 0.5rem;
  text-align: center;
  border-left: none;
  border-top: 4px solid #10b981;
  padding-top: 1rem;
}

.story-bridge {
  font-size: 1.02rem;
  color: #64748b;
  margin: 1.5rem 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

@media (max-width: 640px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
}

.spec-cell {
  padding: 1.25rem 1.35rem;
  background: #f9fafb;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.spec-cell:hover {
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.spec-cell strong {
  display: block;
  color: #1e3a8a;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.spec-cell p {
  margin: 0;
  font-size: 0.95rem;
  color: #64748b;
}

.target-box {
  margin: 2rem 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  width: 100%;
  max-width: none;
  text-align: left;
}

.target-box-title {
  margin: 0 0 1.25rem !important;
  color: #065f46 !important;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
  font-weight: 900 !important;
  text-align: center;
}

.target-box-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1.25rem;
}

@media (min-width: 768px) {
  .target-box-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.insurance-company-block + .insurance-company-block {
  margin-top: 1.5rem;
}

.insurance-company-heading {
  margin: 0 0 0.75rem;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

.insurance-company-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
}

@media (min-width: 768px) {
  .insurance-company-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.insurance-company-list li {
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #334155;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.target-box-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: none;
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  line-height: 1.65;
  color: #334155;
  font-weight: 500;
  text-align: left;
}

.target-box-item:last-child {
  border-bottom: none;
}

.target-check {
  flex-shrink: 0;
  margin-top: 0.12rem;
  color: #10b981;
  font-weight: 900;
  font-size: 1.1em;
  line-height: 1;
}

.target-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.target-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}

.target-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.process-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .process-grid,
  .process-grid.three {
    grid-template-columns: 1fr;
  }
}

.process-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dbeafe;
  color: #1e3a8a;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.process-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.process-item p {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

.img-white-wrap {
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.img-white-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.related-nav {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.related-nav-title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e3a8a;
}

.prose-flow .related-nav a {
  text-decoration: none;
  font-weight: 600;
}

.prose-flow .related-nav a.rel-chip {
  color: #334155;
}

.prose-flow .related-nav a.rel-chip.active,
.prose-flow .related-nav a.rel-chip:hover {
  color: #fff;
}

.related-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.rel-chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  transition: all 0.3s ease;
}

.rel-chip:hover,
.rel-chip.active {
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
}

.page-cta-band {
  margin: 2.5rem 0;
  padding: 2rem;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #bfdbfe;
}

.page-cta-band .btn,
.page-cta-band a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  margin: 0.35rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.compare-cols {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
  max-width: 36rem;
  margin: 2rem auto;
}

.compare-col {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.chart-compare {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

/* ── 치료 비교표 (이미지 + 카드형) ── */
.compare-table {
  margin: 2rem 0;
  padding: 1.75rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.compare-table-head {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.compare-table-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 900;
  color: #1e3a8a;
  letter-spacing: -0.02em;
}

.compare-table-sub {
  margin: 0;
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
}

.compare-table-grid {
  display: grid;
  gap: 1.25rem;
}

.compare-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.compare-card--full {
  border-top: 4px solid #1e3a8a;
}

.compare-card--over {
  border-top: 4px solid #2563eb;
}

.compare-card--denture {
  border-top: 4px solid #64748b;
}

.compare-card--denture .compare-card-visual {
  background: #f8fafc;
}

.compare-card-visual {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.compare-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.85rem;
  display: block;
}

.compare-card--full .compare-card-visual img,
.compare-card--over .compare-card-visual img {
  object-fit: contain;
  padding: 0.85rem;
}

.compare-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.compare-card-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e3a8a;
  background: #eff6ff;
}

.compare-card-title {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
}

.compare-card-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.compare-card-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: #f8fafc;
  font-size: 0.98rem;
  line-height: 1.5;
}

.compare-card-label {
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}

.compare-card-list strong {
  color: #0f172a;
  font-weight: 800;
  text-align: right;
  word-break: keep-all;
}

.compare-card-meter {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.compare-card-meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1e3a8a, #10b981);
  transition: width 1.1s ease;
}

.compare-card--over .compare-card-meter-fill {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.compare-card--denture .compare-card-meter-fill {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

/* ── 오버덴쳐 결합 방식(로케이터/볼) 큰 표 ── */
.attach-compare {
  margin: 1.35rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.attach-card {
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.attach-figure {
  margin: 0;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attach-figure svg {
  width: 100%;
  height: 100%;
  display: block;
}

.attach-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: clamp(0.75rem, 1.6vw, 1.25rem);
}

.attach-body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.attach-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.attach-sub {
  margin: 0 0 0.85rem;
  color: #475569;
  font-weight: 600;
  line-height: 1.6;
}

.attach-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.attach-points li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 650;
  line-height: 1.55;
}

.attach-points li::before {
  content: "✓";
  color: #059669;
  font-weight: 900;
  margin-top: 0.05rem;
}

.attach-points--ordered {
  counter-reset: attach-step;
}

.attach-points--ordered li::before {
  content: counter(attach-step);
  counter-increment: attach-step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #1e3a8a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.attach-note {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: left;
}

@media (min-width: 900px) {
  .attach-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .attach-body {
    padding: 1.3rem 1.45rem 1.45rem;
  }
}

/* ── 자가혈 PRF: 이미지 / 장점 카드 분리 ── */
.prf-visual {
  margin: 1.35rem 0 0;
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.prf-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.prf-benefit-cards {
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
}

.prf-benefit-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  max-width: 56rem;
  margin: 0 auto;
}

.prf-benefit-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  position: relative;
  padding: 1.1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.prf-benefit-card:hover {
  border-color: #10b981;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.prf-benefit-check {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-weight: 900;
  font-size: 0.95rem;
}

.prf-benefit-card-body {
  min-width: 0;
  flex: 1;
}

.prf-benefit-card-title {
  margin: 0 0 0.35rem;
  padding: 0.2rem 0.65rem;
  display: inline-block;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.prf-benefit-card-desc {
  margin: 0;
  color: #475569;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ── 일반진료 치료별 안내 ── */
.general-treatment-hero-illust {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.general-treatment-hero-illust img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1rem;
}

.general-treatment-block {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.general-treatment-figure {
  margin: 0;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

.general-treatment-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1rem;
  max-height: 280px;
}

.general-treatment-info {
  padding: 1.15rem 1.25rem 1.35rem;
}

.general-treatment-subhead {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: -0.02em;
}

.general-treatment-subhead + .general-treatment-subhead {
  margin-top: 1.25rem;
}

.general-treatment-symptoms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.general-treatment-symptoms li {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.general-treatment-symptoms li::before {
  content: "· ";
  color: #059669;
  font-weight: 900;
}

.general-treatment-steps {
  display: grid;
  gap: 0.65rem;
}

.general-treatment-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.general-treatment-step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1e3a8a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}

.general-treatment-step-title {
  margin: 0 0 0.2rem;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
}

.general-treatment-step-desc {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.55;
}

.general-treatment-insurance {
  margin: 1.15rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.6;
}

@media (min-width: 900px) {
  .general-treatment-block {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
  }

  .general-treatment-figure {
    border-bottom: none;
    border-right: 1px solid #e2e8f0;
  }

  .general-treatment-figure img {
    max-height: none;
    min-height: 100%;
  }

  .general-treatment-info {
    padding: 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.general-treatment-nav {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.general-treatment-nav-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 1rem 1.15rem;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.general-treatment-nav-card:hover {
  border-color: #059669;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.12);
  transform: translateY(-2px);
}

.general-treatment-nav-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: -0.02em;
}

.general-treatment-nav-desc {
  flex: 1 1 auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
}

.general-treatment-nav-arrow {
  margin-left: auto;
  font-size: 1.125rem;
  font-weight: 800;
  color: #059669;
}

@media (min-width: 640px) {
  .general-treatment-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .general-treatment-nav {
    gap: 1rem;
  }

  .general-treatment-nav-card {
    padding: 1.15rem 1.25rem;
  }
}

.compare-table-note {
  margin: 1.35rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px dashed #cbd5e1;
  text-align: center;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  word-break: keep-all;
}

.treatment-matrix-wrap {
  margin: 1.75rem 0 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.treatment-matrix {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.65;
  word-break: keep-all;
}

.treatment-matrix th,
.treatment-matrix td {
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.treatment-matrix thead th {
  background: #1e3a5f;
  color: #fff;
  font-weight: 700;
}

.treatment-matrix tbody th[scope="row"] {
  background: #f8fafc;
  color: #1e3a5f;
  font-weight: 700;
  white-space: nowrap;
}

.treatment-matrix tbody td {
  background: #fff;
  color: #334155;
}

.treatment-matrix-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
}

.treatment-matrix--featured .treatment-matrix-col-full {
  background: linear-gradient(180deg, #eff6ff 0%, #f0fdf4 100%);
  border-color: #93c5fd;
  color: #0f172a;
}

.treatment-matrix--featured thead .treatment-matrix-col-full {
  background: linear-gradient(135deg, #1e3a8a 0%, #059669 100%);
  color: #fff;
  position: relative;
}

.treatment-matrix-badge {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fef08a;
}

.treatment-matrix-highlight {
  font-size: 1.05rem;
}

.treatment-matrix-highlight strong {
  color: #1e3a8a;
}

/* 건강보험 임플란트 — 행위별 본인부담금 표 */
.insurance-fee-wrap {
  margin-top: 0.5rem;
}

.insurance-fee-table {
  min-width: 42rem;
}

.insurance-fee-table .insurance-fee-col-proc {
  min-width: 11rem;
}

.insurance-fee-table .insurance-fee-col-total {
  min-width: 7rem;
  text-align: center;
}

.insurance-fee-table .insurance-fee-col-group {
  text-align: center;
}

.insurance-fee-table .insurance-fee-col {
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  vertical-align: middle;
}

.insurance-fee-table .insurance-fee-col span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.92;
}

.insurance-fee-table .insurance-fee-col--30 {
  background: #fff7ed;
  color: #c2410c;
}

.insurance-fee-table thead .insurance-fee-col--30 {
  background: #ea580c;
  color: #fff;
}

.insurance-fee-table .insurance-fee-col--10 {
  background: #f0fdf4;
  color: #15803d;
}

.insurance-fee-table thead .insurance-fee-col--10 {
  background: #16a34a;
  color: #fff;
}

.insurance-fee-table .insurance-fee-col--20 {
  background: #eff6ff;
  color: #1d4ed8;
}

.insurance-fee-table thead .insurance-fee-col--20 {
  background: #2563eb;
  color: #fff;
}

.insurance-fee-table .insurance-fee-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}

.insurance-fee-table tbody th[scope="row"] {
  white-space: normal;
  line-height: 1.5;
}

.insurance-fee-table .insurance-fee-total th,
.insurance-fee-table .insurance-fee-total td {
  background: #f1f5f9;
  font-weight: 800;
  color: #0f172a;
}

.insurance-fee-table .insurance-fee-total .insurance-fee-col--30 {
  background: #ffedd5;
  color: #9a3412;
}

.insurance-fee-table .insurance-fee-total .insurance-fee-col--10 {
  background: #dcfce7;
  color: #166534;
}

.insurance-fee-table .insurance-fee-total .insurance-fee-col--20 {
  background: #dbeafe;
  color: #1e40af;
}

.insurance-fee-table .insurance-fee-revision th,
.insurance-fee-table .insurance-fee-revision td {
  background: #fafafa;
}

.insurance-fee-note {
  text-align: left;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .insurance-fee-table {
    min-width: 36rem;
    font-size: 0.88rem;
  }

  .insurance-fee-table .insurance-fee-col {
    font-size: 0.76rem;
  }

  .insurance-fee-table th,
  .insurance-fee-table td {
    padding: 0.65rem 0.55rem;
  }
}

.compare-table--prosthetics {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.15rem, 3vw, 2.5rem);
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 42%, #f0fdf4 100%);
  border: 2px solid #93c5fd;
  box-shadow: 0 16px 48px rgba(30, 58, 138, 0.12);
}

/* 전체임플란트 — 치료 방식 통합 비교 (카드+식립·보철 표) */
.compare-table--treatment {
  margin-top: 0;
  width: 100%;
  max-width: min(96rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.compare-table--featured {
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.25rem);
  border: 3px solid #1e3a8a;
  border-radius: 1.5rem;
  background: linear-gradient(165deg, #dbeafe 0%, #ffffff 38%, #ecfdf5 100%);
  box-shadow:
    0 24px 64px rgb(30 58 138 / 0.16),
    0 0 0 1px rgb(147 197 253 / 0.45);
}

.compare-table--featured .compare-table-head {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #bfdbfe;
}

.compare-table--featured .compare-table-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #172554;
}

.compare-table--featured .compare-table-sub {
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
}

.compare-table-grid--three {
  grid-template-columns: 1fr;
}

.full-implant-compare-wrap {
  margin: 1.75rem 0 0.5rem;
  width: 100%;
}

/* 전체임플란트 — 숫자 강조 카드뉴스 */
.implant-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 52rem;
  margin: 1.5rem auto 0;
}

.implant-stat-card {
  position: relative;
  padding: 1.35rem 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid #93c5fd;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 4px 18px rgba(14, 116, 144, 0.08);
  text-align: center;
  overflow: hidden;
}

.implant-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d9488 0%, #0284c7 100%);
}

.implant-stat-num {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0d9488 0%, #0284c7 55%, #1e3a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.implant-stat-label {
  margin: 0 0 0.4rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.implant-stat-desc {
  margin: 0;
  font-size: clamp(0.92rem, 1.9vw, 1.02rem);
  line-height: 1.55;
  color: #475569;
  font-weight: 500;
}

.section-visual--full-render {
  max-width: 52rem;
  margin: 1.75rem auto 0;
}

.section-visual--full-render .section-visual-figure {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-color: #93c5fd;
}

.section-visual--full-render .section-visual-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center center;
  padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
  .implant-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .implant-stat-card {
    padding: 1.5rem 1rem 1.35rem;
  }
}

.full-implant-compare-wrap .compare-table--featured {
  max-width: none;
}

.compare-card--primary {
  border-color: #1e3a8a;
  border-width: 3px;
  box-shadow: 0 16px 40px rgb(30 58 138 / 0.18);
  position: relative;
}

.compare-card--primary.compare-card--full {
  border-top-width: 5px;
}

.compare-card-recommend {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a 0%, #059669 100%);
}

.compare-card--primary .compare-card-title {
  font-size: 1.42rem;
  color: #172554;
}

.compare-card--primary .compare-card-meter-fill {
  background: linear-gradient(90deg, #1e3a8a 0%, #10b981 100%);
}

.compare-table-grid--treatment {
  max-width: none;
  margin: 0;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.compare-table-grid--two {
  /* 2열 비교표는 가운데 정렬 + 넉넉한 폭 */
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.compare-card--treatment .compare-card-visual {
  aspect-ratio: 16 / 10;
  min-height: 240px;
}

.compare-card--treatment .compare-card-body {
  padding: 1.35rem 1.4rem 1.55rem;
}

.compare-table-grid--two .compare-card-title {
  font-size: 1.38rem;
}

.compare-table-grid--two .compare-card-badge {
  font-size: 0.82rem;
  padding: 0.28rem 0.7rem;
}

.compare-table-grid--two .compare-card-points li {
  font-size: 0.98rem;
}

.compare-card-points {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.compare-card-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.5;
  word-break: keep-all;
}

.compare-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #10b981;
}

.compare-card--treatment .compare-card-list {
  margin-bottom: 0.85rem;
}

.compare-card-link {
  display: inline-flex;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e3a8a;
  text-decoration: none;
}

.compare-card-link:hover {
  color: #059669;
  text-decoration: underline;
}

.prosthetics-compare-table-head {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #dbeafe;
}

.compare-table--prosthetics .compare-table-title {
  font-size: clamp(1.5rem, 3.8vw, 2rem);
  color: #0f172a;
}

.compare-table--prosthetics .compare-table-sub {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: #475569;
  font-weight: 600;
}

.prosthetics-compare-grid {
  max-width: none;
  margin: 0;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.compare-card--abutment.prosthetics-compare-card {
  border: 2px solid #34d399;
  border-top: 6px solid #059669;
  box-shadow: 0 14px 36px rgba(5, 150, 105, 0.15);
}

.compare-card--standard.prosthetics-compare-card {
  border: 2px solid #cbd5e1;
  border-top: 6px solid #64748b;
  box-shadow: 0 14px 36px rgba(100, 116, 139, 0.12);
}

.compare-card--crown {
  border-top: 4px solid #1e3a8a;
}

.prosthetics-compare-visual {
  aspect-ratio: 4 / 3;
  min-height: 240px;
  background: #0f172a;
}

.compare-table--prosthetics .compare-card--standard .prosthetics-compare-visual {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.compare-table--prosthetics .compare-card--abutment .prosthetics-compare-visual img {
  object-fit: cover;
  object-position: center 35%;
  padding: 0;
}

.compare-table--prosthetics .compare-card--standard .prosthetics-compare-visual img {
  object-fit: contain;
  padding: 0.75rem 1rem;
}

.prosthetics-compare-body {
  padding: 1.35rem 1.35rem 1.6rem;
  background: #fff;
}

.prosthetics-compare-head {
  text-align: center;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

.prosthetics-compare-badge {
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  margin-bottom: 0.65rem;
  background: #1e3a8a;
  color: #fff;
}

.compare-card--abutment .prosthetics-compare-badge {
  background: #059669;
}

.compare-card--standard .prosthetics-compare-badge {
  background: #64748b;
}

.prosthetics-compare-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.3;
  word-break: keep-all;
}

.prosthetics-spec-list {
  gap: 0.7rem;
  margin-bottom: 0;
}

.prosthetics-spec-row {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  list-style: none;
}

.compare-card--abutment .prosthetics-spec-row {
  background: linear-gradient(90deg, #ecfdf5 0%, #f8fafc 100%);
  border-color: #a7f3d0;
}

.compare-card--standard .prosthetics-spec-row {
  background: linear-gradient(90deg, #f1f5f9 0%, #f8fafc 100%);
  border-color: #e2e8f0;
}

.prosthetics-spec-label {
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.35;
  word-break: keep-all;
}

.compare-card--standard .prosthetics-spec-label {
  color: #475569;
}

.prosthetics-spec-value {
  font-size: clamp(0.95rem, 1.9vw, 1.08rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  word-break: keep-all;
}

.compare-table--prosthetics .compare-table-note {
  margin-top: 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
}

.prosthetics-occlusion-note {
  margin: 1.35rem 0 0;
  padding: 1.15rem 1.35rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
  border: 1px solid rgba(30, 58, 138, 0.12);
  text-align: left;
}

.prosthetics-occlusion-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e3a8a;
}

.prosthetics-occlusion-desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #475569;
  word-break: keep-all;
}

@media (min-width: 640px) {
  .prosthetics-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-inline: 0;
    gap: clamp(1rem, 2vw, 2rem);
  }

  .prosthetics-spec-row {
    grid-template-columns: 6.75rem minmax(0, 1fr);
    padding: 0.95rem 1.15rem;
  }
}

@media (min-width: 900px) {
  .prosthetics-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-inline: 0;
    gap: 2rem;
  }

  .prosthetics-compare-visual {
    min-height: 280px;
    aspect-ratio: 16 / 11;
  }

  .prosthetics-compare-body {
    padding: 1.5rem 1.6rem 1.75rem;
  }

  .prosthetics-spec-list {
    gap: 0.8rem;
  }

  .prosthetics-spec-row {
    grid-template-columns: 7rem minmax(0, 1fr);
    padding: 1rem 1.2rem;
  }
}

@media (max-width: 899px) {
  .compare-table--prosthetics .prosthetics-compare-grid {
    max-width: none;
  }

  .compare-table-grid--treatment {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 420px) {
  .prosthetics-spec-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    text-align: left;
  }

  .prosthetics-spec-label {
    padding-bottom: 0.15rem;
    border-bottom: 1px dashed #cbd5e1;
  }
}

.story-bridge {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid #10b981;
  background: linear-gradient(90deg, #ecfdf5 0%, #f8fafc 100%);
  border-radius: 0 14px 14px 0;
  color: #334155;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.story-section-body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.story-section-body .prose-flow p {
  word-break: keep-all;
  line-height: 1.8;
  text-wrap: pretty;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.story-section-body .prose-flow p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .compare-table-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .compare-table-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
  }

  .compare-table-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .compare-table {
    padding: 2rem 2rem 1.75rem;
  }

  .compare-card--primary {
    transform: translateY(-4px);
  }
}

@media (max-width: 899px) {
  .compare-table-grid:not(.prosthetics-compare-grid):not(.compare-table-grid--treatment) {
    max-width: 24rem;
    margin: 0 auto;
  }

  .compare-table-grid--treatment {
    max-width: none;
    margin: 0;
  }

  .compare-table-grid--two {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.compare-table.compare-visible .compare-card-meter-fill {
  width: var(--w, 50%);
}

@keyframes compareMeter {
  from { width: 0; }
}

/* ── 메인 히어로 (비디오 슬라이드) ── */
.container {
  width: min(72rem, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-color: #f8fafc;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  z-index: 0;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero--fade .hero-slide-photo .hero-slide-img {
  opacity: 0;
  transform: scale(1.04);
  transform-origin: center center;
  transition:
    opacity 1.8s ease-in-out,
    transform 10s ease-out;
}

.hero--fade .hero-slide-photo.active .hero-slide-img {
  opacity: 1;
  transform: scale(1.1);
}

.hero-slide-photo {
  background: #f8fafc;
}

.hero-slide-photo .hero-slide-img {
  object-fit: cover;
  transform: scale(1.04);
  transform-origin: center center;
  transition:
    opacity 1.8s ease-in-out,
    transform 10s ease-out;
}

.hero-slide-photo.active .hero-slide-img {
  opacity: 1;
  transform: scale(1.1);
}

.hero-slide-photo::after {
  display: none;
}

.hero-slide video,
.hero-slide .hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  pointer-events: none;
  display: block;
}

/* 메인 히어로 배너 — 인물 전체가 잘리지 않게 */
.hero-slide-banner {
  background: #f1f5f9;
}

.hero-slide-banner .hero-slide-img--contain {
  object-fit: contain;
  object-position: center center;
}

.hero-slide-banner.active .hero-slide-img {
  transform: none;
}

.hero-slide-banner::after {
  display: none;
}

.hero-slide-portrait video {
  object-position: center 22%;
}

/* 홈 히어로 — 동영상 배너 */
.hero--video {
  background: #0f172a;
}

.hero-slide-video {
  opacity: 1;
  z-index: 1;
}

.hero-slide-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  display: block;
  transition: opacity 0.6s ease;
}

.hero-slide-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide-video.hero-slide-video-ready .hero-slide-poster {
  opacity: 0;
}

.hero-slide-video.hero-slide-video-ready .hero-slide-video-el {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-video-el {
    display: none;
  }

  .hero-slide-poster {
    opacity: 1 !important;
  }
}

@media (min-aspect-ratio: 16/10) {
  .hero-slide-portrait video {
    object-position: center 18%;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(15, 23, 42, 0.92) 0%,
      rgba(15, 23, 42, 0.78) 28%,
      rgba(15, 23, 42, 0.55) 44%,
      rgba(15, 23, 42, 0.28) 58%,
      rgba(15, 23, 42, 0.08) 70%,
      transparent 82%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  color: #fff;
  max-width: 680px;
  animation: heroCopyIn 1s ease 0.2s both;
  text-shadow:
    0 2px 18px rgba(15, 23, 42, 0.65),
    0 1px 4px rgba(15, 23, 42, 0.45);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -1.25rem -1.75rem;
  z-index: -1;
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.62) 0%,
    rgba(15, 23, 42, 0.38) 55%,
    rgba(15, 23, 42, 0.12) 100%
  );
  backdrop-filter: blur(3px);
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a7f3d0;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(15, 23, 42, 0.5);
}

.hero h1 {
  font-size: clamp(2.15rem, 5.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-desc {
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.96);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-tel {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-tel a {
  color: #fff;
}

.hero-tel a:hover {
  text-decoration: underline;
}

/* ── 서브페이지 히어로 (실사 배경 + 오버레이) ── */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 42vh, 420px);
  padding-top: 72px;
  padding-bottom: 3rem;
  color: #fff;
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 52%, #134e4a 100%);
}

.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

/* 라미네이트 — 치아 중심 크롭 + 배너 정중앙 */
.page-hero--laminate .page-hero-media {
  background: #fff;
}

.page-hero.page-hero--laminate .page-hero-img {
  object-fit: cover;
  object-position: 50% 50%;
}

.page-hero--laminate .page-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(30, 58, 138, 0.78) 38%,
    rgba(15, 23, 42, 0.25) 68%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.page-hero--banner .page-hero-media {
  background: #f1f5f9;
}

.page-hero--banner .page-hero-img--contain {
  object-fit: contain;
  object-position: right center;
}

.page-hero--banner .page-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(30, 58, 138, 0.72) 40%,
    rgba(15, 23, 42, 0.15) 72%,
    transparent 100%
  );
}

.page-hero--product .page-hero-media {
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 52%, #134e4a 100%);
}

.page-hero--product .page-hero-img--contain {
  object-fit: contain;
  object-position: center center;
}

.page-hero--product .page-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.75) 38%,
    rgba(15, 23, 42, 0.35) 62%,
    rgba(15, 23, 42, 0.2) 100%
  );
}

/* 3D 렌더(흰 배경) — 오버덴쳐 등 */
.page-hero.page-hero--light {
  color: #0f172a;
}

.page-hero--light .page-hero-media {
  background: #fff;
}

.page-hero--light .page-hero-img--contain {
  object-fit: contain;
  object-position: center center;
}

.page-hero--light .page-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 32%,
    rgba(255, 255, 255, 0.35) 58%,
    transparent 100%
  );
}

/* 히어로 글씨가 배경에 묻히지 않게(오버덴쳐 등) */
.page-hero--light .page-hero-title,
.page-hero--light .page-hero-desc,
.page-hero--light .page-hero-bc,
.page-hero--light .page-hero-bc a {
  color: #ffffff;
  text-shadow: 0 10px 28px rgba(15, 23, 42, 0.45), 0 2px 10px rgba(15, 23, 42, 0.35);
}

.page-hero--light .page-hero-bc a:hover {
  color: #ffffff;
}

.page-hero--light .page-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(15, 23, 42, 0.65) 34%,
    rgba(15, 23, 42, 0.28) 62%,
    transparent 100%
  );
}

/* (override) 위에서 흰색으로 통일 */

.page-hero--light .page-hero-eyebrow {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.42);
  border-color: rgba(255, 255, 255, 0.28);
  text-shadow: 0 10px 28px rgba(15, 23, 42, 0.45), 0 2px 10px rgba(15, 23, 42, 0.35);
}

.page-hero--light .page-hero-eyebrow::before {
  background: rgba(255, 255, 255, 0.9);
}

.page-hero--light .btn-outline {
  color: #1e3a8a;
  border-color: rgba(30, 58, 138, 0.45);
  background: #fff;
}

.page-hero--light .btn-outline:hover {
  background: #eff6ff;
  border-color: #1e3a8a;
}

/* 의료진 배너 — 전체 커버 */
.page-hero--doctor .page-hero-media {
  background: #e8eef5;
}

.page-hero--doctor .page-hero-img {
  object-fit: cover;
  object-position: 58% center;
}

.page-hero--doctor .page-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(30, 58, 138, 0.78) 36%,
    rgba(15, 23, 42, 0.45) 62%,
    rgba(15, 23, 42, 0.15) 100%
  );
}

/* 의료진 상담 사진 — 얼굴이 잘리지 않게 */
.page-hero--consult .page-hero-media {
  background: #e8eef5;
}

.page-hero--consult .page-hero-img--contain {
  object-fit: contain;
  object-position: center center;
}

.page-hero--consult .page-hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.65) 34%,
    rgba(15, 23, 42, 0.2) 58%,
    transparent 78%
  );
}

.page-hero--privacy .page-hero-img {
  object-fit: cover;
  object-position: center 18%;
}

/* 한국인 실사 히어로 — 인물 중앙 정렬, 얼굴이 잘리지 않게 */
.page-hero--korean .page-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 52%, #134e4a 100%);
}

.page-hero--korean .page-hero-img--contain {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.page-hero--korean .page-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.45) 0%,
    rgba(15, 23, 42, 0.2) 42%,
    rgba(15, 23, 42, 0.72) 100%
  );
}

/* 발치 즉시 임플란트 — 3D 일러스트 히어로 배경 */
.page-hero--immediate .page-hero-media {
  background: #000;
}

.page-hero--immediate .page-hero-img {
  object-fit: cover;
  object-position: center center;
  image-rendering: auto;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(30, 58, 138, 0.72) 42%,
    rgba(15, 118, 110, 0.45) 100%
  );
}

.page-hero--photo .page-hero-overlay {
  background: linear-gradient(
    110deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(30, 58, 138, 0.78) 38%,
    rgba(15, 23, 42, 0.55) 72%,
    rgba(15, 118, 110, 0.35) 100%
  );
}

.page-hero--photo .page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16, 185, 129, 0.18), transparent 55%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.page-hero-copy {
  text-align: center;
  margin-inline: auto;
  max-width: 40rem;
}

.page-hero-bc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.25rem;
}

.page-hero-eyebrow {
  display: none !important;
}

.page-hero-eyebrow--legacy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a7f3d0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-hero-eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #34d399;
}

.page-hero-title {
  font-size: clamp(1.85rem, 5.5vw, 2.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.22;
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.page-hero-desc {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 3.5vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  justify-content: center;
}

@media (max-width: 767px) {
  .page-hero {
    min-height: clamp(260px, 38vh, 360px);
    padding-bottom: 2.25rem;
    text-align: center;
  }

  .page-hero-title,
  .page-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero-actions {
    justify-content: center;
  }

  .page-hero-actions .btn {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
  }
}

.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dots button.active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.02rem;
}

.btn-naver {
  background: #03c75a;
  color: #fff;
  box-shadow: 0 8px 22px rgba(3, 199, 90, 0.25);
}

.btn-naver:hover {
  background: #02b351;
  color: #fff;
}

/* 플로팅 예약 버튼 — 아이콘 2개 상시 노출, 호버 시 문구만 펼침 */
.floating-actions {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.floating-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.35rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    padding 0.28s ease,
    gap 0.28s ease;
}

.floating-action:hover,
.floating-action:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
  gap: 0.45rem;
  padding: 0.35rem 0.9rem 0.35rem 0.35rem;
}

.floating-action--naver img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.floating-action-label {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  padding-right: 0;
  transition:
    max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease,
    padding 0.32s ease;
}

.floating-action--naver .floating-action-label {
  color: #03c75a;
}

.floating-action-icon--phone {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-action-label--phone {
  color: #1e3a8a;
}

.floating-action:hover .floating-action-label,
.floating-action:focus-visible .floating-action-label {
  max-width: 7.5rem;
  opacity: 1;
  padding-right: 0.15rem;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-white {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.22);
}

.prose-flow p {
  margin: 0 0 1rem;
  color: #334155;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.prose-flow strong {
  color: #0f172a;
  font-weight: 700;
}

.prose-flow a {
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 홈 — 임플란트 집중 치료 카드 */
.implant-focus-section {
  position: relative;
  overflow: hidden;
}

.implant-focus-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgb(16 185 129 / 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.implant-focus-head {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.implant-focus-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .implant-focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .implant-focus-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.implant-focus-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgb(226 232 240);
  box-shadow: 0 4px 14px rgb(15 23 42 / 0.06);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.implant-focus-card.reveal {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  transition-delay: var(--reveal-i, 0ms);
}

.implant-focus-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgb(30 58 138 / 0.35);
  box-shadow: 0 20px 40px rgb(30 58 138 / 0.14);
}

.implant-focus-card--featured {
  border-color: rgb(30 58 138 / 0.25);
  box-shadow: 0 8px 28px rgb(30 58 138 / 0.12);
  animation: implant-focus-pulse 3s ease-in-out infinite;
}

@keyframes implant-focus-pulse {
  0%,
  100% {
    box-shadow: 0 8px 28px rgb(30 58 138 / 0.12);
  }
  50% {
    box-shadow: 0 12px 36px rgb(16 185 129 / 0.22);
  }
}

.implant-focus-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
}

.implant-focus-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.implant-focus-card:hover .implant-focus-card-img {
  transform: scale(1.06);
}

.implant-focus-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  background: #1e3a8a;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.implant-focus-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgb(255 255 255 / 0.35) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: implant-focus-shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes implant-focus-shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.implant-focus-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.implant-focus-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: -0.02em;
}

.implant-focus-card-desc {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.implant-focus-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #059669;
}

.implant-focus-foot {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  text-align: center;
}

.implant-focus-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  background: #1e3a8a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgb(30 58 138 / 0.25);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.implant-focus-hub-link:hover {
  background: #172554;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgb(30 58 138 / 0.3);
}

.naver-map-static {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.naver-map-static-figure {
  margin: 0;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgb(226 232 240);
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.08);
  background: #f8fafc;
}

.naver-map-static-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

.naver-map-static-footer {
  margin: 1.25rem 0 0;
  text-align: center;
}

.naver-map-route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  background: #1e3a8a;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgb(30 58 138 / 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}

.prose-flow a.naver-map-route-btn {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.naver-map-route-btn:hover {
  background: #172554;
  transform: translateY(-1px);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.tour-grid-photo {
  margin: 0;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .tour-grid {
    grid-template-columns: 1fr;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e3a8a;
  background: #dbeafe;
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.blog-card-meta {
  font-size: 0.95rem;
  color: #94a3b8;
}

.blog-card-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 0.85rem;
}

/* 카드 스택 — 세로 카드·중앙·강화 디자인 */
.card-stack-grid,
.process-three-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.card-stack-item {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-stack-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1e3a8a 0%, #10b981 100%);
}

.card-stack-item:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
}

.spec-cell-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* 세로형 카드뉴스 — 검토 대상 (일러스트 + 텍스트) */
.card-news-cols-case {
  grid-template-columns: 1fr;
  max-width: none;
  width: 100%;
  gap: 1rem;
  margin-top: 1.25rem;
}

.card-news--case::before {
  opacity: 1;
}

.card-news--case:hover {
  transform: translateY(-4px);
}

.card-news-thumb--case {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #eff6ff 0%, #ecfdf5 100%);
}

.card-news-thumb--pi {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.card-news-thumb--case img {
  object-fit: cover;
  object-position: center center;
}

.card-news-thumb--pi img {
  object-fit: contain;
  max-height: 100%;
}

.card-news--pi {
  border-color: #dbeafe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.card-news-tag--pi {
  background: linear-gradient(135deg, #d1fae5 0%, #dbeafe 100%);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.card-news-body--case {
  padding: 1.1rem 1.15rem 1.2rem;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.card-news-body--case .card-news-tag {
  font-size: 0.75rem;
  padding: 0.28rem 0.6rem;
  margin-bottom: 0.5rem;
}

.card-news-body--case h3 {
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.card-news-case-desc {
  margin: 0;
  font-size: clamp(0.86rem, 1.7vw, 0.94rem);
  line-height: 1.5;
  color: #64748b;
  font-weight: 500;
}

@media (min-width: 900px) {
  .card-news-cols-case,
  .card-news-cols-case--2,
  .card-news-cols-case--3,
  .card-news-cols-case--4 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 899px) {
  .card-news-cols-case {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.trust-badge-card {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 55%);
  border-color: #bbf7d0;
}

.process-step-card {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 60%);
  border-color: #bfdbfe;
}

.card-stack-num {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #1e3a8a, #2563eb);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  margin: 0 auto 1.1rem;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.28);
}

.card-stack-title {
  font-size: clamp(1.5rem, 5.5vw, 1.95rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.75rem;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.card-stack-desc {
  font-size: clamp(1.22rem, 4.5vw, 1.45rem);
  line-height: 1.7;
  color: #334155;
  margin: 0;
  font-weight: 500;
}

/* ── 모바일·태블릿: 가로형 카드 → 세로 1열 리스트 ── */
@media (max-width: 1023px) {
  .card-stack-desktop-grid,
  .card-stack-desktop-grid.card-stack-count-2,
  .card-stack-desktop-grid.card-stack-count-3,
  .card-stack-desktop-grid.card-stack-count-4,
  .card-stack-desktop-grid.card-stack-count-6,
  .card-stack-desktop-grid.process-three-grid,
  .page-tooth-pain .card-stack-grid--compact.card-stack-count-4 {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    gap: 0.75rem;
    max-width: 100%;
  }
}

@media (max-width: 899px) {
  .card-stack-item,
  .card-stack-desktop-grid .align-stack-card,
  .page-tooth-pain .card-stack-grid--compact .card-stack-item {
    text-align: left;
    padding: 0.95rem 1rem 0.95rem 1.1rem;
    border-radius: 14px;
  }

  .card-stack-item::before,
  .page-tooth-pain .card-stack-grid--compact .card-stack-item::before {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 4px;
    height: auto;
  }

  .card-stack-title,
  .page-tooth-pain .card-stack-grid--compact .card-stack-title {
    font-size: 0.98rem !important;
    font-weight: 800;
    margin: 0 0 0.25rem;
    line-height: 1.35;
    min-height: 0 !important;
    display: block !important;
    text-align: left;
  }

  .card-stack-desc,
  .page-tooth-pain .card-stack-grid--compact .card-stack-desc {
    font-size: 0.86rem !important;
    line-height: 1.5;
    min-height: 0 !important;
    display: block !important;
    text-align: left;
  }

  .process-step-card {
    text-align: left;
  }

  .process-step-card .card-stack-num {
    margin: 0 0 0.45rem;
  }

  .card-stack-num {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
    margin: 0 0 0.45rem;
    border-radius: 8px;
  }
}

@media (min-width: 1024px) {
  .card-stack-desktop-grid {
    align-items: stretch;
  }

  .card-stack-desktop-grid .align-stack-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.45rem 1.1rem 1.35rem;
    text-align: center;
  }

  .card-stack-desktop-grid .align-stack-card .card-stack-title {
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    min-height: 2.7em;
    margin: 0 0 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
    letter-spacing: -0.02em;
  }

  .card-stack-desktop-grid .align-stack-card .card-stack-desc {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    min-height: 2.85em;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin: 0;
  }
}

.brand-panel-title {
  text-align: center;
  font-size: clamp(1.35rem, 4.5vw, 1.65rem);
  font-weight: 900;
  color: #1e3a8a;
  margin: 0 0 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid #e2e8f0;
}

.brand-story-panel {
  text-align: center;
}

.brand-story-lead {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.75;
  color: #475569;
  font-weight: 500;
  word-break: keep-all;
}

.brand-story-panel .card-stack-grid {
  margin-top: 0;
}

/* Card news — 모바일 1열 세로 / PC 세로카드 가로 배열 */
.card-news-grid,
.card-news-grid-xl,
.card-news-vertical-stack,
.whitening-pi-grid,
.card-news-cols-spec,
.card-news-cols-case,
.implant-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-items: stretch;
  align-items: stretch;
}

/* 텍스트 전용 세로 카드뉴스 — spec / trust (번호 배지 + 좌측 액센트) */
.card-news--spec.card-news--text,
.card-news--trust.card-news--text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #1e3a8a;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  text-align: left;
  height: 100%;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.34s ease,
    border-color 0.34s ease;
}

.card-news--spec.card-news--text::before,
.card-news--trust.card-news--text::before {
  display: none;
}

.card-news--trust.card-news--text {
  border-left-color: #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 72%);
}

.card-news-index {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem 0;
}

.card-news-index span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #10b981 100%);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.22);
}

.card-news--trust.card-news--text .card-news-index span {
  background: linear-gradient(135deg, #047857 0%, #10b981 55%, #34d399 100%);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.22);
}

.card-news-body--spec,
.card-news-body--trust {
  padding: 0.55rem 1rem 1.05rem;
  flex: 1;
}

.card-news-body--spec h3,
.card-news-body--trust h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(0.94rem, 1.8vw, 1.05rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.card-news-body--spec .card-news-case-desc,
.card-news-body--trust .card-news-case-desc {
  margin: 0;
  font-size: clamp(0.82rem, 1.6vw, 0.9rem);
  line-height: 1.55;
  color: #64748b;
  font-weight: 500;
}

/* spec + trust 연속 배치 시 간격 통일 */
.card-news-stack--spec + .card-news-stack--trust {
  margin-top: 0.75rem;
}

@media (min-width: 900px) {
  .card-news--spec.card-news--text:hover,
  .card-news--trust.card-news--text:hover {
    transform: translateY(-6px);
    border-left-color: #10b981;
    box-shadow:
      0 4px 8px rgba(15, 23, 42, 0.04),
      0 20px 48px rgba(15, 23, 42, 0.12);
  }

  .card-news--spec.card-news--text:hover .card-news-index span,
  .card-news--trust.card-news--text:hover .card-news-index span {
    transform: scale(1.06);
  }

  .card-news-index span {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

@media (min-width: 900px) {
  .card-news-cols-count-2,
  .card-news-cols-case--2,
  .whitening-pi-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 52rem;
  }

  .card-news-cols-count-3,
  .card-news-cols-case--3,
  .whitening-pi-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 64rem;
  }

  .card-news-cols-count-4,
  .card-news-cols-case--4,
  .whitening-pi-grid--4,
  .implant-stat-grid.card-news-cols-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    max-width: 72rem;
  }

  .card-news--whitening:hover,
  .card-news--case:hover,
  .card-news--pi:hover {
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  }

  .card-news--whitening:hover .card-news-thumb img,
  .card-news--case:hover .card-news-thumb img {
    transform: scale(1.04);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .card-news-cols-count-4,
  .card-news-cols-case--4,
  .whitening-pi-grid--4,
  .implant-stat-grid.card-news-cols-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 52rem;
  }
}

@media (max-width: 899px) {
  .card-news-grid,
  .card-news-vertical-stack,
  .whitening-pi-grid,
  .card-news-cols-spec,
  .card-news-cols-case,
  .implant-stat-grid {
    grid-template-columns: 1fr !important;
    max-width: 100%;
    gap: 0.65rem;
  }

  .card-news-body--spec h3,
  .card-news-body--trust h3,
  .card-news-body--case h3,
  .card-news-body--whitening h3 {
    font-size: 0.98rem;
  }

  .card-news-body--spec .card-news-case-desc,
  .card-news-body--trust .card-news-case-desc,
  .card-news-case-desc {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .implant-stat-card {
    text-align: left;
    padding: 1rem 1.05rem;
  }

  .implant-stat-num {
    font-size: 1.65rem;
  }

  .implant-stat-label {
    font-size: 1rem;
  }

  .implant-stat-desc {
    font-size: 0.84rem;
  }

  .page-whitening .card-news-thumb--whitening,
  .page-cavity .card-news-thumb--whitening,
  .page-periodontal .card-news-thumb--whitening,
  .page-tooth-pain .card-news-thumb--whitening {
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
  }
}

.card-news-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
}

.card-news-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 전체임플란트 — 치료 방식 비교 카드 (거의 전체 너비) */
.card-news-grid--treatment-compare {
  max-width: none;
  width: 100%;
  margin-top: 1.25rem;
}

.card-news--static {
  cursor: default;
}

.card-news--static::before {
  display: none;
}

.card-news--static:hover {
  transform: none;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.09);
  border-color: #e2e8f0;
}

@media (min-width: 900px) {
  .card-news--static.card-news--whitening:hover,
  .card-news--static.card-news--case:hover,
  .card-news--static.card-news--pi:hover {
    transform: translateY(-5px);
    border-color: #10b981;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  }

  .card-news--static.card-news--spec.card-news--text:hover,
  .card-news--static.card-news--trust.card-news--text:hover {
    transform: translateY(-6px);
    border-left-color: #10b981;
    box-shadow:
      0 4px 8px rgba(15, 23, 42, 0.04),
      0 20px 48px rgba(15, 23, 42, 0.12);
  }
}

.card-news--static:hover .card-news-thumb img {
  transform: none;
}

@media (min-width: 900px) {
  .card-news--static.card-news--whitening:hover .card-news-thumb img,
  .card-news--static.card-news--case:hover .card-news-thumb img {
    transform: scale(1.04);
  }
}

.card-news-cols-4 {
  grid-template-columns: 1fr;
  max-width: 56rem;
}

@media (min-width: 640px) {
  .card-news-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card-news-cols-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1024px) {
  .card-news-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 80rem;
  }
}

@media (max-width: 900px) {
  .card-news-grid:not(.card-news-grid--risk-wide),
  .card-news-grid-xl:not(.card-news-grid--risk-wide),
  .card-news-vertical-stack:not(.card-news-grid--risk-wide) {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }

  .card-news-grid--treatment-compare {
    max-width: none !important;
    width: 100%;
  }
}

.card-news-grid > .card-news,
.card-news-grid-xl > .card-news,
.card-news-vertical-stack > .card-news {
  width: 100%;
  height: 100%;
}

.card-news,
.card-news-xl {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.card-news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #10b981);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-news:hover::before {
  opacity: 1;
}

.card-news:hover,
.card-news-xl:hover {
  transform: translateY(-6px);
  border-color: #10b981;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.card-news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
  flex-shrink: 0;
}

.card-news-thumb--portrait {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 22px 22px 0 0;
}

.card-news-thumb--portrait img {
  object-fit: cover;
  object-position: center center;
}

.card-news-visual {
  width: 100%;
}

.card-news-img-caption {
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  text-align: center;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.35;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

/* ── 카드뉴스 히어로 — 헤드바 + 일러스트 위 텍스트 오버레이 ── */
.card-news-hero-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
  width: 100%;
  max-width: none;
  margin-top: 2rem;
}

.card-news-hero-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-news-hero-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-news-hero-linkwrap {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-news-hero-linkwrap:hover .card-news-hero {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(62, 39, 35, 0.18);
}

.card-news-hero {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(62, 39, 35, 0.12);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background: #faf6f0;
}

.card-news-hero-head {
  padding: 1rem 1.15rem 1.05rem;
  background: linear-gradient(135deg, #3d2317 0%, #5c3d2e 48%, #1e3a8a 100%);
  color: #fff;
  text-align: center;
}

.card-news-hero--guide .card-news-hero-head {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 55%, #059669 100%);
}

.card-news-hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.card-news-hero-headline {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.12rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.card-news-hero-visual {
  position: relative;
  flex: 1;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #faf6f0 0%, #f5ebe0 100%);
  overflow: hidden;
}

.card-news-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 78%;
  object-fit: contain;
  object-position: center 8%;
  padding: 0.35rem 0.5rem 0;
  display: block;
}

.card-news-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.1rem 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(250, 246, 240, 0) 0%,
    rgba(250, 246, 240, 0.88) 28%,
    rgba(255, 255, 255, 0.96) 100%
  );
  text-align: center;
}

.card-news-hero-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 900;
  color: #3d2317;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.card-news-hero--guide .card-news-hero-title {
  color: #1e3a8a;
}

.card-news-hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.card-news-hero-points li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  font-size: clamp(0.88rem, 1.8vw, 0.98rem);
  font-weight: 600;
  line-height: 1.55;
  color: #44403c;
  word-break: keep-all;
}

.card-news-hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.card-news-hero-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #1e3a8a;
}

@media (max-width: 899px) {
  .card-news-hero-cols-3,
  .card-news-hero-cols-2 {
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
  }

  .card-news-hero-visual {
    aspect-ratio: 4 / 4.6;
  }
}

@media (min-width: 900px) {
  .story-section-body .card-news-hero-grid {
    width: 100%;
    max-width: none;
  }
}

/* 방치 카드 — 섹션 전체 너비, 이미지·캡션·설명 한 장 카드 */
.card-news-grid--risk-wide {
  max-width: none;
  width: 100%;
  gap: clamp(0.85rem, 1.8vw, 1.5rem);
}

.card-news--risk-unified {
  overflow: hidden;
  border: 2px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.09);
}

.card-news--risk-unified .card-news-thumb--portrait {
  border-radius: 0;
}

.card-news--risk-unified .card-news-body--risk {
  width: 100%;
  margin: 0;
  border: none;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
  box-shadow: none;
  padding-top: 1.25rem;
}

.card-news--risk-unified .card-news-body--risk .card-news-tag {
  margin-bottom: 0.75rem;
}

@media (max-width: 639px) {
  .card-news-grid--risk-wide.card-news-cols-3 {
    grid-template-columns: 1fr !important;
    max-width: none !important;
    width: 100%;
  }
}

@media (min-width: 640px) {
  .card-news-grid--risk-wide.card-news-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    max-width: none !important;
    width: 100%;
  }
}

.card-news-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  background: #f1f5f9;
  transition: transform 0.5s ease;
  display: block;
}

.card-news:hover .card-news-thumb img,
.card-news-xl:hover .card-news-thumb img {
  transform: scale(1.05);
}

.card-news-body {
  padding: 1.85rem 1.5rem 1.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.card-news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: clamp(1rem, 3.5vw, 1.15rem);
  font-weight: 800;
  color: #1e3a8a;
  background: rgba(30, 58, 138, 0.12);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.card-news h3,
.card-news-xl h3 {
  font-size: clamp(1.65rem, 6vw, 2.2rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
  line-height: 1.28;
}

.card-news-points {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  width: 100%;
}

.card-news-points li {
  font-size: clamp(1.22rem, 4.8vw, 1.5rem);
  line-height: 1.55;
  color: #334155;
  font-weight: 600;
  padding: 0.55rem 0.25rem;
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  column-gap: 0.55rem;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.card-news-points li::before {
  content: "✓";
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d1fae5;
  color: #059669;
  font-weight: 900;
  font-size: 0.95em;
  grid-column: 1;
  margin-top: 0.15rem;
}

.card-news-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  font-weight: 800;
  color: #1e3a8a;
}

.card-news:hover .card-news-link,
.card-news-xl:hover .card-news-link {
  color: #059669;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 의료진 프로필 사진 — 흰 배경 + 그림자 */
.doctor-profile-photo-frame {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 18px 40px rgb(15 23 42 / 0.12),
    0 4px 12px rgb(15 23 42 / 0.06);
}

.doctor-profile-photo-frame .img-skeleton {
  background: #fff;
}

.doctor-profile-photo-frame img {
  object-fit: cover;
  object-position: center 18%;
}

/* 의료진 진료 약속 — 강조 박스 */
.doctor-promise-callout {
  position: relative;
  padding: 1.35rem 1.35rem 1.35rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
  border: 1px solid rgb(30 58 138 / 0.14);
  box-shadow:
    0 10px 28px rgb(30 58 138 / 0.08),
    inset 0 1px 0 rgb(255 255 255 / 0.85);
  overflow: hidden;
}

.doctor-promise-callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #1e3a8a 0%, #10b981 100%);
}

.doctor-promise-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #059669;
}

.doctor-promise-text {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.75;
  color: #0f172a;
  font-weight: 500;
}

.doctor-promise-text strong {
  color: #1e3a8a;
  font-weight: 800;
}

.doctor-philosophy-list {
  display: grid;
  gap: 1.1rem;
}

.doctor-philosophy-item + .doctor-philosophy-item {
  padding-top: 1.1rem;
  border-top: 1px solid rgb(30 58 138 / 0.1);
}

.doctor-philosophy-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.45;
}

.doctor-philosophy-desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #334155;
}

/* 의료진 약력 — 1열 */
.doctor-resume-single {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 36rem;
}

.doctor-resume-block {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.doctor-resume-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.doctor-resume-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 0.5rem;
}

.doctor-resume-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doctor-resume-list li {
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
  padding: 0.2rem 0;
}

.img-gallery-implant {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
  max-width: 36rem;
  margin: 1.5rem auto;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Google Translate */
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt {
  display: none !important;
}

body {
  top: 0 !important;
}

#google_translate_element {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e3a8a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 9.5rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 0.35rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 60;
}

.lang-switcher.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
}

.lang-dropdown button:hover {
  background: #f1f5f9;
  color: #1e3a8a;
}

.lang-dropdown button.active {
  color: #1e3a8a;
  font-weight: 700;
}

.mobile-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0 0.25rem;
}

.mobile-lang button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
}

.mobile-lang button.active,
.mobile-lang button:hover {
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
}

/* ── 모바일 비주얼 최적화 (전 페이지) ── */
@media (max-width: 767px) {
  html {
    font-size: 17px;
  }

  body {
    overflow-x: hidden;
  }

  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    text-align: center;
    padding: 2.5rem 0;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .hero-desc {
    font-size: clamp(1.1rem, 4.5vw, 1.25rem);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-eyebrow {
    font-size: 0.9rem;
  }

  .prose-content {
    font-size: 1.1rem;
  }

  .prose-content h2 {
    font-size: 1.45rem;
    text-align: center;
  }

  .prose-flow {
    text-align: center;
  }

  .prose-flow ul {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 22rem;
  }

  .story-section .flex.flex-col.md\\:flex-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .story-section .text-5xl {
    font-size: 2.5rem;
  }

  .chart-compare {
    padding: 1.25rem 1rem;
  }

  .chart-vbars {
    min-height: 280px;
  }

  .tour-grid,
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  .content-visual-stack {
    max-width: 100%;
  }

  .blog-card-body h3 {
    font-size: 1.35rem;
  }

  .blog-card-body p {
    font-size: 1.12rem;
  }

  .target-box,
  aside[aria-label] {
    text-align: center;
  }

  .target-box h2 {
    font-size: 1.35rem;
  }

  .target-box li {
    font-size: 1.1rem;
    justify-content: center;
  }

  .page-cta-band .p-8 {
    padding: 1.5rem 1.25rem;
  }

  .faq-q {
    font-size: 1.05rem;
    padding-right: 2rem;
  }

  .faq-a {
    font-size: 1rem;
  }

  #site-header .h-\\[72px\\] {
    height: 64px;
  }

  .fixed.bottom-5.right-5 {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .card-news-grid,
  .card-news-grid-xl {
    max-width: 100%;
  }

  .card-stack-grid {
    max-width: 100%;
  }

  .brand-story-panel {
    padding: 1.35rem 1rem !important;
  }
}

/* ══════════════════════════════════════════
   PC / 모바일 분리 — 커스텀 페이지 레이아웃
   ══════════════════════════════════════════ */

.page-visual {
  padding: 2rem 0 2.5rem;
  background: #fff;
}

/* 건강보험 임플란트 — 시니어 급여 프로모 배너 */
.page-visual--promo {
  padding: 1.5rem 0 2rem;
}

.insurance-promo-banner {
  position: relative;
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #dbeafe;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  aspect-ratio: 512 / 154;
  min-height: 160px;
  background: linear-gradient(105deg, #e8f4fc 0%, #d6ebf9 45%, #c8e3f6 100%);
}

.insurance-promo-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  display: block;
  pointer-events: none;
}

.insurance-promo-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem;
  max-width: 52%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #e8f4fc 0%,
    #e8f4fc 72%,
    rgba(232, 244, 252, 0) 100%
  );
}

.insurance-promo-line {
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.insurance-promo-line--1 {
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35em;
}

.insurance-promo-line--2 {
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  font-weight: 800;
  color: #0f2d5c;
}

.insurance-promo-accent {
  color: #0ea5e9;
  font-weight: 800;
}

.insurance-promo-strong {
  color: #0ea5e9;
  font-weight: 900;
}

.insurance-promo-navy {
  color: #0f2d5c;
  font-weight: 800;
}

@media (max-width: 640px) {
  .insurance-promo-banner {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }

  .insurance-promo-copy {
    max-width: 100%;
    padding: 1.25rem 1.25rem 0.75rem;
    justify-content: flex-start;
    background: linear-gradient(
      180deg,
      #e8f4fc 0%,
      #e8f4fc 50%,
      rgba(232, 244, 252, 0.92) 68%,
      rgba(232, 244, 252, 0) 100%
    );
  }

  .insurance-promo-photo {
    width: 100%;
    height: 58%;
    top: auto;
    object-position: center 80%;
  }
}

.page-visual--single .page-visual-single {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  max-width: 56rem;
  margin-inline: auto;
}

.page-visual--single .page-visual-single img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* 치료 비주얼 — 잘리지 않게 전체 노출 */
.page-visual--fit .page-visual-single {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 12rem;
}

.page-visual--fit .page-visual-single img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(70vh, 520px);
  aspect-ratio: unset;
  object-fit: contain;
  object-position: center;
  margin-inline: auto;
}

.page-visual--fit.page-visual--dark .page-visual-single {
  padding: 1.25rem 0.75rem;
  min-height: 14rem;
  background: #0a0f1a;
  border-color: #1e293b;
}

.page-visual--fit.page-visual--dark .page-visual-single img {
  width: min(100%, 960px);
  max-width: 100%;
  max-height: min(82vh, 720px);
}

.page-visual--duo,
.home-visual-duo,
.home-visual-photo {
  padding: 1.5rem 0 2rem;
}

.home-visual-photo {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.brand-story-panel .section-visual {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.section-visual {
  margin: 1.75rem 0 2rem;
}

.section-visual-figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.section-visual--photo .section-visual-figure img,
.home-visual-photo .section-visual-figure img {
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.section-visual--dark .section-visual-figure {
  background: #0a0a0a;
  border-color: #1e293b;
}

.section-visual--dark .section-visual-figure img {
  aspect-ratio: auto;
  min-height: 0;
  object-fit: contain;
  padding: 0.5rem;
}

.section-visual--illust .section-visual-figure {
  background: linear-gradient(145deg, #eff6ff 0%, #ecfdf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.section-visual--illust .section-visual-figure img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  display: block;
}

.page-visual--illust-band .page-visual-single {
  background: linear-gradient(145deg, #eff6ff 0%, #ecfdf5 100%);
  padding: 1.25rem;
}

.page-visual--illust-band .page-visual-single img {
  object-fit: contain;
  max-height: 360px;
  margin-inline: auto;
}

.section-visual-duo {
  margin: 1.75rem 0 2rem;
}

.section-visual-duo .page-visual-grid {
  margin-top: 0;
}

.page-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.page-visual-photo,
.page-visual-illust {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.page-visual-photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.page-visual-illust {
  background: linear-gradient(145deg, #eff6ff 0%, #ecfdf5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.page-visual-illust img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}

.site-cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, #fff 0 2px, transparent 2px);
  background-size: 48px 48px;
}

.site-cta-eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a7f3d0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-intro {
  padding: 2.5rem 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.page-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1e3a8a, #10b981, #1e3a8a);
}

.page-intro-inner {
  max-width: 52rem;
}

.page-intro .story-lead {
  font-size: clamp(1.12rem, 2.2vw, 1.35rem);
  line-height: 1.85;
  color: #334155;
  margin: 0 auto;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;
  max-width: 52rem;
}

.story-step-num {
  display: block;
  font-size: clamp(2.75rem, 6vw, 4rem);
  font-weight: 900;
  color: rgba(30, 58, 138, 0.12);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.story-step-num {
  display: none !important;
}

.story-step-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #059669;
  margin: 0 0 0.35rem;
}

.story-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem 0;
  text-align: center;
}

.story-section-head {
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

.story-section-body {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.story-section-body .card-stack-grid,
.story-section-body .process-three-grid,
.story-section-body .card-news-grid,
.story-section-body .card-news-grid-xl,
.story-section-body .card-news-vertical-stack,
.story-section-body .card-news-hero-grid,
.story-section-body .target-box,
.story-section-body .process-timeline {
  max-width: none;
  width: 100%;
}

.story-section-body .story-bridge {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.story-section-body .process-timeline {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .story-section-body .process-timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
    row-gap: 1.25rem;
  }

  .story-section-body .process-timeline > li {
    padding-bottom: 1rem !important;
  }
}

.story-step-title {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  color: #1e3a8a;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  text-align: center;
}

.story-title-lines {
  display: block;
}

.story-title-line {
  display: block;
}

.page-bottom {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border-top: 1px solid #e2e8f0;
}

.page-bottom-inner {
  max-width: 52rem;
  margin-inline: auto;
  padding: 2rem 2.25rem;
  border-radius: 24px;
  background: #fff;
  border: 2px solid #dbeafe;
  box-shadow: 0 16px 48px rgba(30, 58, 138, 0.08);
  text-align: center;
}

.page-bottom-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 900;
  color: #1e3a8a;
  margin: 0 0 1.25rem;
  word-break: keep-all;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: center;
}

.page-bottom-title-lines {
  display: block;
}

.page-bottom-title-line {
  display: block;
}

.page-bottom-text {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: left;
  max-width: 40em;
  margin-inline: auto;
}

.page-bottom-text p {
  margin: 0 0 0.9rem;
  line-height: 1.82;
  text-wrap: pretty;
  max-width: none;
  color: #334155;
}

.page-bottom-text p:last-child {
  margin-bottom: 0;
}

.page-bottom-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed #cbd5e1;
  font-size: 0.95rem;
  color: #64748b;
}

@media (min-width: 1024px) {
  .page-visual-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.75rem;
  }

  .page-visual-photo img {
    min-height: 320px;
  }

  .page-visual-illust img {
    max-height: 320px;
  }

  .page-intro {
    padding: 3rem 0;
  }

  .page-intro-inner {
    max-width: none;
  }

  .story-section-body:has(.compare-table--prosthetics),
  .story-section-body:has(.compare-table--treatment),
  .story-section-body:has(.card-news-grid--treatment-compare) {
    max-width: none;
  }

  .story-section-inner:has(.compare-table--prosthetics) {
    gap: 1.75rem;
  }

  .story-section-body .compare-table--prosthetics {
    width: 100%;
    max-width: none;
  }

  .story-section-body .compare-table--treatment {
    width: 100%;
    max-width: none;
  }

  .page-section:has(.compare-table--treatment) > .max-w-7xl {
    max-width: min(96rem, 100%);
  }

  .compare-table-grid--treatment {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
  }

  /* 2열 비교표는 항상 2칸으로 중앙에 보이게 */
  .compare-table-grid--treatment.compare-table-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-section-body .card-news-grid--treatment-compare {
    width: 100%;
    max-width: none;
  }

  .page-section:has(.card-news-grid--treatment-compare) > .max-w-7xl {
    max-width: min(96rem, 100%);
  }

  .card-news-grid--treatment-compare.card-news-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 2rem);
  }

  .page-section:has(.compare-table--prosthetics) > .max-w-7xl {
    max-width: min(96rem, 100%);
  }

  .compare-table--prosthetics {
    width: 100%;
    max-width: none;
    padding: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 3.5vw, 3.5rem);
  }

  .prosthetics-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.75rem, 3vw, 3rem);
  }

  .prosthetics-compare-visual {
    min-height: 300px;
    aspect-ratio: 16 / 10;
  }

  .prosthetics-spec-row {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    padding: 1rem 1.25rem;
  }

  .prose-flow-lg {
    font-size: 1.12rem;
  }

  .card-stack-desktop-grid.card-stack-count-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    width: 100%;
    gap: clamp(1rem, 2vw, 1.75rem);
  }

  .card-stack-desktop-grid.card-stack-count-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    width: 100%;
    gap: 1.25rem;
  }

  .card-stack-desktop-grid.card-stack-count-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 48rem;
    gap: 1.25rem;
  }

  .card-stack-desktop-grid.process-three-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
  }

  .process-three-grid .process-step-card {
    padding: 1.65rem 1.35rem 1.5rem;
  }

  .process-three-grid .process-step-card .card-stack-desc {
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
    line-height: 1.65;
  }

  .page-hero {
    min-height: clamp(360px, 48vh, 480px);
    align-items: stretch;
  }

  .page-hero-inner {
    display: flex;
    align-items: flex-end;
    min-height: inherit;
    padding-bottom: 3.5rem;
  }

  .page-hero-copy {
    max-width: 36rem;
  }

  .page-hero--photo:not(.page-hero--product):not(.page-hero--privacy):not(.page-hero--korean) .page-hero-img {
    object-position: 72% center;
  }

  .page-hero--korean .page-hero-img--contain {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
  }

  .page-hero--privacy .page-hero-img {
    object-position: center 16%;
  }

  .page-hero.page-hero--product .page-hero-img--contain {
    object-position: center center;
  }

  .page-hero.page-hero--laminate .page-hero-img {
    object-position: 50% 50%;
  }

  .page-hero--photo .page-hero-overlay {
    background: linear-gradient(
      100deg,
      rgba(15, 23, 42, 0.94) 0%,
      rgba(15, 23, 42, 0.82) 38%,
      rgba(15, 23, 42, 0.35) 62%,
      rgba(15, 118, 110, 0.2) 100%
    );
  }

  .page-hero-title {
    max-width: none;
  }

  .page-bottom-inner {
    max-width: 56rem;
  }
}

@media (max-width: 1023px) {
  .page-bottom-inner {
    padding: 1.5rem 1.2rem;
  }

  .page-bottom-title {
    margin-bottom: 1.1rem;
  }

  .page-bottom-text p {
    font-size: 1.02rem;
    line-height: 1.78;
    max-width: none;
  }

  .story-section-head {
    text-align: center;
  }

  .story-section-body {
    text-align: left;
  }

  .story-section-body .prose-flow ul {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── 애니체크 골유착 측정기 ── */
.anycheck-panel {
  width: 100%;
  max-width: none;
  margin: 1.5rem 0 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 24px;
  border: 2px solid #93c5fd;
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 55%, #f0fdf4 100%);
  box-shadow: 0 14px 40px rgba(30, 58, 138, 0.1);
  box-sizing: border-box;
}

.anycheck-panel-head {
  text-align: center;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 2px solid #dbeafe;
}

.anycheck-panel-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.anycheck-panel-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
  color: #fff;
  background: #2563eb;
}

.anycheck-panel-sub {
  margin: 0;
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  font-weight: 600;
  color: #475569;
  line-height: 1.55;
  word-break: keep-all;
}

.anycheck-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

.anycheck-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.anycheck-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 472 / 324;
  object-fit: cover;
  object-position: center;
}

.anycheck-figure figcaption {
  padding: 0.65rem 0.85rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1e3a8a;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  word-break: keep-all;
}

.anycheck-points {
  margin-top: 1.35rem;
}

.anycheck-lead {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
  color: #334155;
  word-break: keep-all;
}

.anycheck-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.anycheck-list li {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7rem) minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  line-height: 1.45;
  word-break: keep-all;
}

.anycheck-list li span {
  font-weight: 800;
  color: #1e3a8a;
}

.anycheck-list li strong {
  font-weight: 700;
  color: #0f172a;
}

.story-section-body .anycheck-panel,
.story-section-body .anycheck-panel * {
  max-width: none;
}

@media (min-width: 720px) {
  .anycheck-dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .anycheck-list li {
    grid-template-columns: minmax(6rem, 7.5rem) minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .story-section-inner:has(.anycheck-panel) {
    grid-template-columns: 1fr;
  }

  .anycheck-panel {
    padding: 2rem 2rem 1.85rem;
  }
}

/* ── PDRN(연어주사) 임플란트 병행치료 ── */
.pdrn-combo-panel {
  width: 100%;
  margin: 1.5rem 0 0.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 22px;
  border: 2px solid #bfdbfe;
  background: linear-gradient(155deg, #eff6ff 0%, #ffffff 52%, #ecfdf5 100%);
  box-shadow: 0 12px 36px rgba(30, 58, 138, 0.08);
  box-sizing: border-box;
}

.pdrn-combo-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

.pdrn-combo-figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dbeafe;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.pdrn-combo-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  background: #fff;
}

.pdrn-combo-figure figcaption {
  padding: 0.65rem 0.85rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e40af;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  word-break: keep-all;
}

.pdrn-combo-lead {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.75;
  color: #334155;
  word-break: keep-all;
}

/* 원형 오비트 다이어그램 */
.pdrn-circle-diagram {
  margin: 1.75rem auto 0;
  width: 100%;
  max-width: 36rem;
}

.pdrn-circle-orbit {
  position: relative;
  width: min(100%, 22rem);
  aspect-ratio: 1;
  margin: 0 auto;
}

.pdrn-circle-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pdrn-circle-orbit-path {
  fill: none;
  stroke: #93c5fd;
  stroke-width: 2;
  stroke-dasharray: 7 6;
  opacity: 0.85;
}

.pdrn-circle-orbit-path--inner {
  stroke: #a7f3d0;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  opacity: 0.65;
}

.pdrn-circle-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(5.5rem, 28%, 7rem);
  height: clamp(5.5rem, 28%, 7rem);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 52%, #10b981 100%);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.95),
    0 0 0 8px rgba(147, 197, 253, 0.55),
    0 16px 40px rgba(30, 58, 138, 0.22);
}

.pdrn-circle-core strong {
  display: block;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.pdrn-circle-core span {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  font-weight: 700;
  opacity: 0.92;
  word-break: keep-all;
}

.pdrn-circle-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pdrn-circle-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 7.25rem;
  margin: 0;
  text-align: center;
  transform:
    rotate(calc(var(--node-i) * 90deg - 90deg))
    translateY(calc(-1 * min(42vw, 9.5rem)))
    rotate(calc(-1 * (var(--node-i) * 90deg - 90deg)));
}

.pdrn-circle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #047857 0%, #10b981 100%);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.28);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdrn-circle-caption h4 {
  margin: 0 0 0.2rem;
  font-size: clamp(0.82rem, 1.7vw, 0.92rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  word-break: keep-all;
}

.pdrn-circle-caption p {
  margin: 0;
  font-size: clamp(0.72rem, 1.5vw, 0.8rem);
  line-height: 1.45;
  color: #64748b;
  font-weight: 500;
  word-break: keep-all;
}

.pdrn-circle-diagram:hover .pdrn-circle-badge {
  transform: scale(1.06);
}

/* 원형 치료 과정 링 */
.pdrn-process-ring {
  position: relative;
  width: min(100%, 36rem);
  aspect-ratio: 1;
  margin: 2rem auto 0;
}

.pdrn-process-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pdrn-process-ring-path {
  fill: none;
  stroke: #2563eb;
  stroke-width: 3;
  stroke-dasharray: 10 7;
  opacity: 0.75;
}

.pdrn-process-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.pdrn-process-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 7.5rem;
  margin: 0;
  text-align: center;
  transform:
    rotate(calc(var(--step-i) * 90deg - 90deg))
    translateY(calc(-1 * min(44vw, 10rem)))
    rotate(calc(-1 * (var(--step-i) * 90deg - 90deg)));
}

.pdrn-process-disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 6px rgba(37, 99, 235, 0.25),
    0 10px 24px rgba(30, 58, 138, 0.2);
  transition: transform 0.3s ease;
}

.pdrn-process-copy h4 {
  margin: 0 0 0.2rem;
  font-size: clamp(0.84rem, 1.8vw, 0.94rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  word-break: keep-all;
}

.pdrn-process-copy p {
  margin: 0;
  font-size: clamp(0.72rem, 1.5vw, 0.8rem);
  line-height: 1.45;
  color: #64748b;
  word-break: keep-all;
}

.pdrn-process-ring:hover .pdrn-process-disc {
  transform: scale(1.05);
}

.pdrn-combo-note {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .pdrn-combo-intro {
    grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .pdrn-combo-figure img {
    max-height: 200px;
  }
}

@media (min-width: 1024px) {
  .pdrn-combo-intro {
    grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
  }
}

.story-section-body .pdrn-combo-panel,
.story-section-body .pdrn-combo-panel *,
.story-section-body .pdrn-circle-diagram,
.story-section-body .pdrn-process-ring {
  max-width: none;
}

@media (max-width: 767px) {
  .pdrn-circle-diagram {
    max-width: 100%;
  }

  .pdrn-circle-orbit,
  .pdrn-process-ring {
    width: 100%;
    aspect-ratio: auto;
  }

  .pdrn-circle-orbit-svg,
  .pdrn-process-ring-svg {
    display: none;
  }

  .pdrn-circle-core {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 1.1rem;
  }

  .pdrn-circle-nodes,
  .pdrn-process-nodes {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .pdrn-circle-node,
  .pdrn-process-node {
    position: static;
    width: 100%;
    transform: none !important;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    text-align: left;
  }

  .pdrn-circle-badge,
  .pdrn-process-disc {
    margin: 0;
  }

  .pdrn-circle-caption,
  .pdrn-process-copy {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .pdrn-circle-orbit {
    width: min(100%, 26rem);
  }

  .pdrn-circle-node {
    width: 8rem;
    transform:
      rotate(calc(var(--node-i) * 90deg - 90deg))
      translateY(-10.75rem)
      rotate(calc(-1 * (var(--node-i) * 90deg - 90deg)));
  }

  .pdrn-process-ring {
    width: min(100%, 40rem);
  }

  .pdrn-process-node {
    width: 8.25rem;
    transform:
      rotate(calc(var(--step-i) * 90deg - 90deg))
      translateY(-11.25rem)
      rotate(calc(-1 * (var(--step-i) * 90deg - 90deg)));
  }
}

/* ── PI 카드뉴스 (치아미백·충치·치주·치아통증 등) — 레이아웃은 상단 card-news 통합 규칙 사용 ── */
.page-whitening .whitening-pi-grid,
.page-cavity .whitening-pi-grid,
.page-periodontal .whitening-pi-grid,
.page-tooth-pain .whitening-pi-grid {
  gap: 0.75rem;
  margin-top: 1.25rem;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.page-whitening .card-news--whitening,
.page-cavity .card-news--whitening,
.page-periodontal .card-news--whitening,
.page-tooth-pain .card-news--whitening {
  display: flex;
  flex-direction: column;
  border-radius: 0.9rem;
  border: 1px solid #93c5fd;
  background: #ffffff;
  box-shadow: 0 3px 16px rgba(14, 116, 144, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 900px) {
  .page-whitening .card-news--whitening:hover,
  .page-cavity .card-news--whitening:hover,
  .page-periodontal .card-news--whitening:hover,
  .page-tooth-pain .card-news--whitening:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    border-color: #10b981;
  }
}

@media (max-width: 899px) {
  .page-whitening .card-news--whitening:hover,
  .page-cavity .card-news--whitening:hover,
  .page-periodontal .card-news--whitening:hover,
  .page-tooth-pain .card-news--whitening:hover {
    transform: none;
  }
}

.page-whitening .card-news-thumb--whitening,
.page-cavity .card-news-thumb--whitening,
.page-periodontal .card-news-thumb--whitening,
.page-tooth-pain .card-news-thumb--whitening {
  aspect-ratio: 16 / 10;
  min-height: 0;
  height: 128px;
  max-height: 128px;
  display: block;
  background: linear-gradient(145deg, #d1fae5 0%, #bae6fd 45%, #e0f2fe 100%);
  padding: 0;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.page-whitening .card-news-thumb--whitening img,
.page-cavity .card-news-thumb--whitening img,
.page-periodontal .card-news-thumb--whitening img,
.page-tooth-pain .card-news-thumb--whitening img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  display: block;
}

/* 치주 생활관리 — 6장 PI 카드 */
.page-periodontal .whitening-pi-grid--care {
  max-width: 42rem;
  gap: 0.65rem;
}

.page-periodontal .whitening-pi-grid--care .card-news-thumb--whitening {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
}

.page-periodontal .whitening-pi-grid--care .card-news-thumb--whitening img {
  object-fit: cover;
}

.page-periodontal .whitening-pi-grid--care .card-news-body--whitening {
  padding: 0.65rem 0.75rem 0.75rem;
}

.page-periodontal .whitening-pi-grid--care .card-news-body--whitening h3 {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  margin-bottom: 0.25rem;
}

.page-periodontal .whitening-pi-grid--care .card-news-case-desc {
  font-size: clamp(0.88rem, 1.8vw, 0.98rem);
  line-height: 1.5;
}

.page-whitening .card-news-body--whitening,
.page-cavity .card-news-body--whitening,
.page-periodontal .card-news-body--whitening,
.page-tooth-pain .card-news-body--whitening {
  padding: 0.85rem 1rem 1rem;
  text-align: left;
}

.page-whitening .card-news-tag--whitening,
.page-cavity .card-news-tag--whitening,
.page-periodontal .card-news-tag--whitening,
.page-tooth-pain .card-news-tag--whitening {
  display: none;
}

.page-whitening .card-news-body--whitening h3,
.page-cavity .card-news-body--whitening h3,
.page-periodontal .card-news-body--whitening h3,
.page-tooth-pain .card-news-body--whitening h3 {
  font-size: clamp(1.12rem, 2.5vw, 1.32rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.page-whitening .card-news-body--whitening .card-news-case-desc,
.page-cavity .card-news-body--whitening .card-news-case-desc,
.page-periodontal .card-news-body--whitening .card-news-case-desc,
.page-tooth-pain .card-news-body--whitening .card-news-case-desc {
  font-size: clamp(0.95rem, 2vw, 1.06rem);
  line-height: 1.55;
  color: #334155;
  font-weight: 500;
}

.page-whitening .story-lead,
.page-cavity .story-lead,
.page-periodontal .story-lead,
.page-tooth-pain .story-lead {
  font-size: clamp(1.02rem, 2.2vw, 1.12rem);
  line-height: 1.75;
}

.page-whitening .text-slate-700,
.page-cavity .text-slate-700,
.page-periodontal .text-slate-700,
.page-tooth-pain .text-slate-700 {
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.7;
}

.page-whitening .section-visual--illust,
.page-cavity .section-visual--illust,
.page-periodontal .section-visual--illust,
.page-tooth-pain .section-visual--illust {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

.page-tooth-pain .story-lead {
  font-size: clamp(1.12rem, 2.4vw, 1.3rem);
  line-height: 1.8;
}

.page-tooth-pain .text-slate-700 {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.75;
}

.page-tooth-pain .story-step-title {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
}

.page-tooth-pain .whitening-pi-grid {
  max-width: 52rem;
  gap: 1rem;
}

.page-tooth-pain .card-news-thumb--whitening {
  height: 148px;
  max-height: 148px;
}

.page-tooth-pain .card-news-body--whitening {
  padding: 1rem 1.1rem 1.1rem;
}

.page-tooth-pain .card-news-body--whitening h3 {
  font-size: clamp(1.15rem, 2.6vw, 1.38rem);
  margin-bottom: 0.4rem;
}

.page-tooth-pain .card-news-body--whitening .card-news-case-desc {
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  line-height: 1.6;
}

.page-tooth-pain .section-visual--illust {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.page-tooth-pain .section-visual--photo {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.page-tooth-pain .section-visual--photo .section-visual-figure img {
  aspect-ratio: 16 / 9;
  object-position: center 35%;
}

.page-whitening .section-visual--illust .section-visual-figure img,
.page-cavity .section-visual--illust .section-visual-figure img,
.page-periodontal .section-visual--illust .section-visual-figure img,
.page-tooth-pain .section-visual--illust .section-visual-figure img {
  width: 100%;
  max-height: none;
  border-radius: 1rem;
  border: 1px solid #93c5fd;
  box-shadow: 0 8px 28px rgba(14, 116, 144, 0.1);
}

@media (min-width: 768px) {
  .page-periodontal .whitening-pi-grid--care {
    max-width: 44rem;
    gap: 0.75rem;
  }

  .page-whitening .card-news-thumb--whitening,
  .page-cavity .card-news-thumb--whitening,
  .page-periodontal .card-news-thumb--whitening,
  .page-tooth-pain .card-news-thumb--whitening {
    height: 108px;
  }
}

@media (min-width: 1024px) {
  .page-periodontal .whitening-pi-grid--3.whitening-pi-grid--care {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-periodontal .whitening-pi-grid--care {
    max-width: 46rem;
  }

  .page-whitening .section-visual--illust,
  .page-cavity .section-visual--illust,
  .page-periodontal .section-visual--illust,
  .page-tooth-pain .section-visual--illust {
    max-width: 50rem;
  }

  .page-whitening .card-news-thumb--whitening,
  .page-cavity .card-news-thumb--whitening,
  .page-periodontal .card-news-thumb--whitening,
  .page-tooth-pain .card-news-thumb--whitening {
    height: 132px;
  }

  .page-periodontal .whitening-pi-grid--care {
    max-width: 46rem;
  }

  .page-periodontal .whitening-pi-grid--3.whitening-pi-grid--care {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 치아통증 — 방치 시 문제·진단 등 텍스트 카드 */
.page-tooth-pain .card-stack-grid--compact {
  gap: 1rem;
  max-width: 52rem;
  margin-inline: auto;
  margin-top: 1.25rem;
}

.page-tooth-pain .card-stack-grid--compact .card-stack-item {
  padding: 1.25rem 1.35rem 1.3rem;
  border-radius: 1rem;
  border-width: 1px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
  text-align: left;
}

.page-tooth-pain .card-stack-grid--compact .card-stack-item::before {
  height: 4px;
}

.page-tooth-pain .card-stack-grid--compact .card-stack-title {
  font-size: clamp(1.12rem, 2.4vw, 1.32rem);
  font-weight: 800;
  margin: 0 0 0.45rem;
  min-height: 0;
  display: block;
  text-align: left;
}

.page-tooth-pain .card-stack-grid--compact .card-stack-desc {
  font-size: clamp(1rem, 2.1vw, 1.1rem);
  line-height: 1.6;
  margin: 0;
  min-height: 0;
  display: block;
  text-align: left;
}

@media (min-width: 640px) {
  .page-tooth-pain .card-stack-grid--compact.card-stack-count-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .page-tooth-pain .card-stack-grid--compact .align-stack-card {
    padding: 1.35rem 1.45rem 1.4rem;
  }

  .page-tooth-pain .card-stack-grid--compact .card-stack-title,
  .page-tooth-pain .card-stack-grid--compact .card-stack-desc {
    min-height: 0;
    display: block;
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .page-tooth-pain .card-news-thumb--whitening {
    height: 168px;
    max-height: 168px;
  }
}

/* ── 충치치료 — 소아·청소년 건강보험 ── */
.cavity-child-insurance {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  border: 2px solid #0d9488;
  background: linear-gradient(180deg, #ecfdf5 0%, #f0f9ff 100%);
  box-shadow: 0 10px 36px rgba(13, 148, 136, 0.12);
}

.cavity-child-insurance-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d9488;
  text-align: center;
}

.cavity-child-insurance-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  line-height: 1.35;
}

.cavity-child-insurance-lead {
  margin: 0 0 1.25rem;
  font-size: clamp(0.92rem, 1.9vw, 1rem);
  line-height: 1.65;
  color: #334155;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cavity-child-insurance-lead strong {
  color: #0f766e;
  font-weight: 800;
}

.treatment-matrix-row--sealant {
  background: linear-gradient(90deg, #ecfdf5 0%, #e0f2fe 100%);
}

.treatment-matrix-row--sealant th,
.treatment-matrix-row--sealant td {
  border-color: #99f6e4;
}

.cavity-sealant-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid #5eead4;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.1);
  overflow: hidden;
}

.cavity-sealant-feature-media {
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  background: linear-gradient(145deg, #d1fae5 0%, #bae6fd 100%);
}

.cavity-sealant-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.cavity-sealant-feature-body {
  padding: 0.25rem 0.35rem 0.5rem;
}

.cavity-sealant-feature-title {
  margin: 0.5rem 0 0.65rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.cavity-sealant-feature-desc {
  margin: 0 0 0.85rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #475569;
}

.cavity-sealant-feature-list {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #334155;
}

.cavity-sealant-feature-list li {
  margin-bottom: 0.35rem;
}

.cavity-sealant-feature-list li::marker {
  color: #0d9488;
}

.cavity-sealant-feature-note {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #0f766e;
  font-weight: 600;
}

@media (min-width: 768px) {
  .cavity-sealant-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    padding: 1.15rem;
  }

  .cavity-sealant-feature-media img {
    min-height: 280px;
  }
}
