/* Joint center page — from assets/html/관절센터구성_수정1.html */
.joint-page {
  --ink: #14171f;
  --ink-2: #2b3240;
  --muted: #6b7280;
  --line: #e4e1da;
  --paper: #fbf9f4;
  --navy: #0a2540;
  --navy-2: #1a3454;
  --blue: #0052cc;
  --blue-soft: #e8eef7;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);

  font-family:
    'Sandoll Nemoni 2',
    'Pretendard',
    -apple-system,
    BlinkMacSystemFont,
    'Malgun Gothic',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.joint-page,
.joint-page *,
.joint-page *::before,
.joint-page *::after {
  box-sizing: border-box;
}

.joint-page.paper-texture {
  position: relative;
}

.joint-page.paper-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 37, 64, 0.018) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 0;
}

.joint-page.paper-texture > * {
  position: relative;
  z-index: 1;
}

.joint-page .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumb */
.joint-page .article-meta {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: rgba(251, 249, 244, 0.6);
}

.joint-page .article-meta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1400px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.joint-page .article-meta .breadcrumb a:hover {
  color: var(--navy);
}

.joint-page .article-meta-sep {
  color: var(--line);
  margin: 0 10px;
}

.joint-page .article-meta-current {
  color: var(--ink-2);
}

/* Hero */
.joint-page .joint-hero {
  padding: 80px 24px 72px;
  text-align: center;
  background: var(--navy-2);
  color: #fff;
}

.joint-page .joint-hero-title {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -1px;
}

.joint-page .joint-hero-sub {
  font-size: 18px;
  color: #aebfd1;
  font-weight: 400;
  margin: 0;
}

/* Sub navigation */
.joint-page .joint-nav {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 249, 244, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.joint-page .joint-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
}

.joint-page .joint-nav-section {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.joint-page .joint-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.joint-page .joint-dropbtn {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  border: none;
  background: none;
  padding: 10px 0;
  transition: color 0.2s;
}

.joint-page .joint-dropdown:hover .joint-dropbtn,
.joint-page .joint-dropdown.is-active .joint-dropbtn {
  color: var(--blue);
}

.joint-page .joint-dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #fff;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.joint-page .joint-dropdown:hover .joint-dropdown-content,
.joint-page .joint-dropdown.is-open .joint-dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.joint-page .joint-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  color: var(--ink-2);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.joint-page .joint-dropdown-item:last-child {
  border-bottom: none;
}

.joint-page .joint-dropdown-item:hover,
.joint-page .joint-dropdown-item.is-active {
  background-color: var(--blue-soft);
  color: var(--blue);
}

/* Content */
.joint-page .joint-content {
  margin: 60px auto 0;
}

.joint-page .joint-section {
  display: none;
  animation: jointFadeIn 0.4s ease-in-out;
}

.joint-page .joint-section.active {
  display: block;
}

@keyframes jointFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.joint-page .joint-disease-title {
  font-size: 32px;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
  padding-bottom: 16px;
  margin: 0 0 40px;
  text-align: center;
  font-weight: 800;
}

.joint-page .joint-lede {
  text-align: center;
  color: var(--muted);
  margin: 0 0 40px;
}

.joint-page .joint-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.joint-page .joint-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.joint-page .joint-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.joint-page .joint-info-card h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
}

.joint-page .joint-info-card ul {
  padding-left: 20px;
  color: var(--ink-2);
  margin: 0;
}

.joint-page .joint-info-card li {
  margin-bottom: 12px;
  font-size: 15px;
}

.joint-page .joint-treatment-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 32px;
}

.joint-page .joint-t-name {
  flex: 0 0 220px;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}

.joint-page .joint-t-desc {
  flex: 1;
}

.joint-page .joint-t-desc p {
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 16px;
  line-height: 1.7;
}

.joint-page .joint-t-desc ul {
  padding-left: 20px;
  color: var(--muted);
  margin: 0;
}

.joint-page .joint-t-desc li {
  margin-bottom: 8px;
}

body.page-joint .site-header {
  background: rgba(251, 249, 244, 0.92);
}

@media (max-width: 900px) {
  body.page-joint .main-nav {
    background: rgba(251, 249, 244, 0.92);
  }
}

@media (max-width: 768px) {
  .joint-page .article-meta .container {
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
    gap: 8px;
  }

  .joint-page .joint-hero {
    padding: 56px 20px 48px;
  }

  .joint-page .joint-hero-title {
    font-size: 28px;
  }

  .joint-page .joint-hero-sub {
    font-size: 16px;
  }

  .joint-page .joint-nav-inner {
    padding: 0 16px;
    height: auto;
    min-height: 56px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .joint-page .joint-nav-section {
    gap: 20px;
    flex-wrap: nowrap;
    min-width: max-content;
  }

  .joint-page .joint-dropbtn {
    font-size: 15px;
    white-space: nowrap;
  }

  .joint-page .joint-dropdown-content {
    top: 56px;
  }

  .joint-page .joint-disease-title {
    font-size: 24px;
  }

  .joint-page .joint-treatment-box {
    flex-direction: column;
    gap: 16px;
  }

  .joint-page .joint-t-name {
    flex: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }
}
