:root {
  --color-primary: #17633a;
  --color-primary-dark: #143d28;
  --color-primary-soft: #e8f7ed;
  --color-bg-soft: #f4fbf6;
  --color-text: #26352c;
  --color-text-muted: #52645a;
  --color-border: #dcebe1;
  --color-border-strong: #cfe4d6;
  --color-surface: #fff;
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 16px 38px rgba(29, 71, 47, 0.08);
  --shadow-card-hover: 0 18px 44px rgba(29, 71, 47, 0.13);
  --content-width: 1120px;
  --article-width: 820px;
}

html,
body {
  overflow-x: clip;
}

.library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(1.1rem, 4vw, 2rem);
  align-items: center;
  margin-bottom: 1.4rem;
  border: 1px solid var(--color-border-strong);
  background:
    radial-gradient(circle at top right, rgba(207, 228, 214, 0.52), transparent 32%),
    linear-gradient(135deg, #f7fcf8 0%, #fff 68%);
  box-shadow: 0 22px 54px rgba(29, 71, 47, 0.08);
}

.library-hero-copy h2 {
  margin: 0.2rem 0 0.75rem;
  color: var(--color-primary-dark);
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.library-hero-copy p,
.library-hero-search p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.82;
}

.library-hero-search {
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(1rem, 3vw, 1.3rem);
  box-shadow: 0 14px 34px rgba(29, 71, 47, 0.08);
}

.library-hero-search .field {
  gap: 0.45rem;
}

.library-hero-search input {
  min-height: 56px;
  border-radius: 16px;
  font-size: 16px;
}

.section-kicker {
  margin: 0 0 0.25rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.library-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.library-intro h2 {
  margin: 0.15rem 0 0.45rem;
  color: #143d28;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  letter-spacing: 0;
}

.library-intro p {
  max-width: 42rem;
  margin: 0;
  color: #52645a;
  line-height: 1.8;
}

.library-count {
  flex: 0 0 auto;
  border: 1px solid #cfe4d6;
  border-radius: 999px;
  background: #f4fbf6;
  color: #17633a;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}

.library-controls {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.library-section,
.library-major-categories {
  margin-bottom: 1.5rem;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-heading-row h2 {
  margin: 0;
  color: #143d28;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0;
}

.library-result-count {
  color: #52645a;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}

.library-controls .field input {
  min-height: 48px;
  font-size: 16px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 100%;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: normal;
  text-decoration: none;
}

.category-pill span {
  display: inline-grid;
  min-width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.library-category-grid,
.recommended-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 0.9rem;
}

.library-category-card,
.recommended-category-card {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  color: var(--color-primary-dark);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(29, 71, 47, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.library-category-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  padding: 1rem;
}

.library-category-card:hover,
.library-category-card:focus-visible,
.library-category-card.active,
.recommended-category-card:hover,
.recommended-category-card:focus-visible {
  border-color: #9ccfac;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.library-category-icon,
.category-card-icon,
.recommended-category-card span {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 16px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-weight: 900;
}

.library-category-card-name {
  min-width: 0;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.library-category-card-count {
  grid-column: 2;
  align-self: end;
  color: var(--color-text-muted);
  font-size: 0.86rem;
}

.recommended-category-card {
  min-height: 148px;
  padding: 1.15rem;
}

.recommended-category-card strong {
  font-size: 1.08rem;
}

.recommended-category-card small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.library-layout {
  align-items: start;
}

.library-category-list ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
}

.library-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.library-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.library-card:hover,
.library-card:focus-visible {
  border-color: #a9d4b7;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.library-card-image {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  place-items: center;
  background: linear-gradient(135deg, #edf8f1 0%, #d8ecdf 100%);
}

.library-card-placeholder span {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #17633a;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px #cfe4d6;
}

.library-card-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 1rem;
}

.library-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.library-category {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 999px;
  background: #e8f7ed;
  color: #17633a;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.35rem 0.65rem;
}

.library-card-meta time {
  flex: 0 0 auto;
  color: #6b7c72;
  font-size: 0.82rem;
  white-space: nowrap;
}

.library-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.library-card h3 {
  display: -webkit-box;
  min-height: 3.35em;
  margin: 0;
  overflow: hidden;
  color: #143d28;
  font-size: 1.1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.library-card p {
  display: -webkit-box;
  margin: 0.7rem 0 1rem;
  overflow: hidden;
  color: #52645a;
  font-size: 0.95rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.library-read-more {
  margin-top: auto;
  color: #17633a;
  font-weight: 800;
  font-size: 0.92rem;
}

.library-clinic-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0 1.5rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-bg-soft) 0%, #fff 100%);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 18px 44px rgba(29, 71, 47, 0.08);
}

.library-clinic-cta h2 {
  margin: 0 0 0.55rem;
  color: var(--color-primary-dark);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.library-clinic-cta p {
  max-width: 46rem;
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.library-clinic-cta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.library-clinic-cta li {
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.38rem 0.7rem;
}

.library-clinic-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.sanity-article {
  width: min(100%, 820px);
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 1rem;
  color: #64756b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.article-breadcrumb a {
  color: #17633a;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.article-head {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5efe8;
  margin-bottom: 2rem;
}

.article-head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
  color: #64756b;
  font-size: 0.9rem;
}

.article-head-meta .library-category {
  text-decoration: none;
}

.evidence-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff7df;
  color: #746018;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.35rem 0.65rem;
}

.article-head h2 {
  margin: 1rem 0 0.8rem;
  color: #143d28;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.38;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.article-head > p {
  max-width: 46rem;
  margin: 0;
  color: #52645a;
  font-size: 1rem;
  line-height: 1.85;
}

.article-author-summary {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background: var(--color-bg-soft);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
  margin-top: 1rem;
  padding: 0.45rem 0.8rem;
}

.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.article-tag-list span {
  border: 1px solid #cfe4d6;
  border-radius: 999px;
  color: #17633a;
  background: #f4fbf6;
  padding: 0.35rem 0.7rem;
  font-size: 0.86rem;
  line-height: 1.25;
}

.article-tag-list a {
  border: 1px solid #cfe4d6;
  border-radius: 999px;
  color: #17633a;
  background: #f4fbf6;
  padding: 0.35rem 0.7rem;
  font-size: 0.86rem;
  line-height: 1.25;
  text-decoration: none;
}

.article-main-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  margin: 1.2rem 0 0;
  background: #f0f6f2;
  box-shadow: 0 16px 42px rgba(29, 71, 47, 0.1);
}

.sanity-body {
  color: #26352c;
  font-size: clamp(1rem, 1vw + 0.7rem, 1.1rem);
  line-height: 1.9;
}

.sanity-body h2,
.article-support-section h2 {
  margin: 2.6rem 0 1rem;
  padding-top: 0.2rem;
  color: #143d28;
  font-size: clamp(1.32rem, 2vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.sanity-body h2,
.sanity-body h3,
.sanity-body h4 {
  scroll-margin-top: 96px;
}

.article-key-takeaway {
  border: 1px solid #dcebe1;
  border-radius: 18px;
  background: #f8fcf9;
  margin: 0 0 2rem;
  padding: 1.15rem;
}

.article-key-takeaway h2 {
  margin: 0 0 0.55rem;
  color: #143d28;
  font-size: 1.08rem;
}

.article-key-takeaway p {
  margin: 0;
  color: #3e5147;
  line-height: 1.85;
}

.article-understanding-card ul,
.medical-disclaimer-card ul,
.update-history-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-understanding-card li,
.medical-disclaimer-card li {
  color: #2f493a;
  line-height: 1.75;
}

.article-trust-card,
.editorial-policy-card,
.medical-disclaimer-card,
.update-history-card {
  border: 1px solid #dcebe1;
  border-radius: 18px;
  background: #fbfefc;
  padding: clamp(1.1rem, 2.5vw, 1.45rem);
}

.article-trust-card h2,
.editorial-policy-card h2,
.medical-disclaimer-card h2,
.update-history-card h2 {
  margin-top: 0;
}

.article-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.article-trust-grid div {
  min-width: 0;
  border: 1px solid #e5efe8;
  border-radius: 14px;
  background: #fff;
  padding: 0.8rem;
}

.article-trust-grid dt {
  color: #64756b;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.28rem;
}

.article-trust-grid dd {
  margin: 0;
  color: #143d28;
  font-weight: 800;
  line-height: 1.55;
}

.article-trust-grid small {
  display: block;
  color: #52645a;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.evidence-stars {
  color: #c78a08;
  letter-spacing: 0.04em;
}

.article-trust-reference-link {
  margin: 1rem 0 0;
}

.article-trust-reference-link a {
  color: #17633a;
  font-weight: 800;
  text-underline-offset: 0.22em;
}

.editorial-policy-card p,
.medical-disclaimer-card p {
  color: #3e5147;
  line-height: 1.85;
  margin: 0 0 0.75rem;
}

.editorial-policy-card p:last-child {
  margin-bottom: 0;
}

.ai-transparency {
  border-left: 4px solid #2b8a50;
  background: #f4fbf6;
  border-radius: 0 12px 12px 0;
  padding: 0.75rem 0.9rem;
  font-weight: 800;
}

.medical-disclaimer-card {
  background: #f8fcf9;
}

.update-history-card li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: baseline;
  color: #3e5147;
  line-height: 1.7;
}

.update-history-card time {
  color: #17633a;
  font-weight: 900;
}

.article-toc {
  border: 1px solid #dcebe1;
  border-radius: 18px;
  background: #fff;
  margin-bottom: 2rem;
  padding: 1rem;
}

.article-toc summary {
  cursor: pointer;
  color: #143d28;
  font-weight: 800;
}

.article-toc ol {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
}

.article-toc li {
  color: #52645a;
  line-height: 1.6;
}

.article-toc .toc-child {
  margin-left: 1rem;
  font-size: 0.94rem;
}

.article-toc a {
  color: #17633a;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

.sanity-body h2 {
  border-left: 4px solid #2b8a50;
  padding-left: 0.85rem;
}

.sanity-body h3 {
  margin: 2rem 0 0.85rem;
  color: #17633a;
  font-size: clamp(1.12rem, 1.5vw, 1.34rem);
  line-height: 1.55;
}

.sanity-body h4 {
  margin: 1.5rem 0 0.65rem;
  color: #26352c;
  font-size: 1.04rem;
  line-height: 1.55;
}

.sanity-body p,
.sanity-body ul,
.sanity-body ol,
.sanity-body blockquote {
  margin: 0 0 1.3rem;
}

.sanity-body ul,
.sanity-body ol {
  padding-left: 1.35rem;
}

.sanity-body li {
  margin-bottom: 0.45rem;
  padding-left: 0.15rem;
}

.sanity-body blockquote {
  border-left: 4px solid #cfe4d6;
  border-radius: 0 12px 12px 0;
  background: #f8fcf9;
  color: #3e5147;
  padding: 1rem 1.1rem;
}

.sanity-body a,
.reference-card a {
  color: #17633a;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 0.22em;
}

.sanity-body figure {
  margin: 2rem 0;
}

.sanity-body figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(29, 71, 47, 0.12);
}

.sanity-body figcaption {
  color: #6c7a71;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.article-support-section {
  margin-top: 2.4rem;
}

.article-next-action {
  border: 1px solid #dcebe1;
  border-radius: 18px;
  background: #f8fcf9;
  padding: 1.2rem;
}

.article-next-action h2 {
  margin-top: 0;
}

.article-next-action .button-row {
  flex-wrap: wrap;
  gap: 0.8rem;
}

.reference-list ol {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.25rem;
}

.reference-card {
  border: 1px solid #dcebe1;
  border-radius: 16px;
  background: #fbfefc;
  padding: 1rem;
}

.reference-card h3 {
  margin: 0 0 0.5rem;
  color: #143d28;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.reference-card p {
  margin: 0.45rem 0 0;
  color: #52645a;
  line-height: 1.75;
}

.reference-design,
.reference-link-text {
  overflow-wrap: anywhere;
}

.reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.reference-links a {
  border: 1px solid #cfe4d6;
  border-radius: 999px;
  background: #f4fbf6;
  color: #17633a;
  font-size: 0.9rem;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
}

.reference-links a:hover,
.reference-links a:focus-visible {
  border-color: #2b8a50;
  background: #e8f7ed;
}

.author-box {
  background: #fbfefc;
}

.clinic-reservation-cta {
  display: grid;
  gap: 1.1rem;
  border: 1px solid #cfe4d6;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4fbf6 0%, #ffffff 100%);
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.clinic-reservation-cta h2 {
  margin: 0 0 0.5rem;
  color: #143d28;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.clinic-reservation-cta p {
  margin: 0;
  color: #52645a;
  line-height: 1.8;
}

.clinic-reservation-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.clinic-line-button,
.clinic-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.clinic-line-button {
  border: 1px solid #17633a;
  background: #17633a;
  color: #fff;
  padding: 0 1.35rem;
}

.clinic-home-link {
  border: 1px solid #cfe4d6;
  background: rgba(255, 255, 255, 0.86);
  color: #17633a;
  padding: 0 1.05rem;
}

.clinic-line-button:focus-visible,
.clinic-home-link:focus-visible {
  outline: 3px solid rgba(23, 99, 58, 0.28);
  outline-offset: 3px;
}

.not-found-panel {
  display: grid;
  gap: 1rem;
}

.author-card {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.author-card img {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.author-card p {
  margin: 0.25rem 0;
  line-height: 1.75;
}

.related-article-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.faq-section .faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-section details {
  border: 1px solid #dcebe1;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-section summary {
  position: relative;
  min-height: 48px;
  cursor: pointer;
  color: #143d28;
  font-weight: 800;
  line-height: 1.55;
  list-style: none;
  padding: 0.9rem 2.7rem 0.9rem 1rem;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: #17633a;
  font-size: 1.25rem;
}

.faq-section details[open] summary::after {
  content: "−";
}

.faq-section details p {
  margin: 0;
  border-top: 1px solid #edf4ef;
  color: #52645a;
  line-height: 1.85;
  padding: 0.95rem 1rem 1rem;
}

@media (min-width: 1180px) {
  .library-layout {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  }

  .library-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .library-hero,
  .library-clinic-cta {
    grid-template-columns: 1fr;
  }

  .library-clinic-actions {
    justify-content: flex-start;
  }

  .library-category-list {
    display: none;
  }
}

@media (max-width: 768px) {
  .library-intro,
  .library-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .library-hero {
    padding: 1rem;
  }

  .library-count {
    align-self: flex-start;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .library-card-content {
    padding: 0.95rem;
  }

  .sanity-article {
    width: 100%;
  }

  .article-trust-grid {
    grid-template-columns: 1fr;
  }

  .article-toc {
    padding: 0.95rem;
  }
}

@media (max-width: 480px) {
  .library-hero-copy h2 {
    font-size: 1.9rem;
  }

  .library-category-card {
    padding: 0.9rem;
  }

  .library-card h3 {
    min-height: auto;
    font-size: 1.04rem;
  }

  .library-card-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .article-head h2 {
    font-size: 1.5rem;
  }

  .article-head > p,
  .sanity-body {
    font-size: 1rem;
  }

  .article-main-image {
    max-height: 300px;
    border-radius: 14px;
  }

  .article-next-action .button-row,
  .article-next-action .button-row a {
    width: 100%;
  }

  .clinic-reservation-actions,
  .library-clinic-actions,
  .clinic-line-button,
  .clinic-home-link {
    width: 100%;
  }

  .author-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .library-card {
    transition: none;
  }

  .library-card:hover,
  .library-card:focus-visible {
    transform: none;
  }
}

/* Health media marketplace refresh */
.library-hero {
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 14%, rgba(23, 99, 58, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fcf9 0%, #ffffff 58%, #edf8f1 100%);
}

.library-hero-copy h2 {
  letter-spacing: 0;
}

.library-hero-search {
  border-radius: 18px;
}

.library-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
}

.library-category-card {
  min-height: 108px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
}

.category-card-icon {
  border-radius: 14px;
}

.library-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.recent-list .library-card:first-child {
  grid-column: span 2;
}

.library-card {
  border-radius: 16px;
}

.library-card-image {
  aspect-ratio: 1.78 / 1;
}

.library-card-placeholder {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.9), transparent 24%),
    linear-gradient(135deg, #143d28 0%, #2d8052 100%);
}

.library-card-placeholder::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  content: "";
}

.library-card-placeholder span {
  position: relative;
  z-index: 1;
  width: 4.2rem;
  height: 4.2rem;
  color: #143d28;
  font-size: 1.05rem;
}

.library-card-placeholder small {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.library-card-content {
  padding: 1.08rem;
}

.library-card h3 {
  -webkit-line-clamp: 3;
}

.library-check-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
  margin: 1.5rem 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 20%, rgba(6, 199, 85, 0.18), transparent 28%),
    linear-gradient(135deg, #143d28, #17633a);
  color: #fff;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.library-check-banner h2,
.library-check-banner p,
.library-check-banner .section-kicker {
  color: #fff;
}

.library-check-banner h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
}

.library-check-banner p {
  margin: 0;
  line-height: 1.85;
}

.library-check-banner .primary-button {
  white-space: nowrap;
}

.article-template {
  border-radius: 24px;
}

.sanity-body {
  line-height: 1.92;
}

.sanity-body h2,
.sanity-body h3 {
  scroll-margin-top: 92px;
}

.article-support-section {
  border-radius: 18px;
}

@media (max-width: 760px) {
  .recent-list .library-card:first-child {
    grid-column: auto;
  }

  .library-check-banner {
    grid-template-columns: 1fr;
  }

  .library-check-banner .primary-button {
    justify-self: stretch;
    text-align: center;
  }
}

/* Health article readability refinement */
.article-template.sanity-article {
  width: min(100%, 960px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f8fcf9 100%);
  box-shadow: 0 18px 48px rgba(29, 71, 47, 0.08);
}

.article-head,
.article-key-takeaway,
.article-toc,
.sanity-body,
.article-support-section {
  max-width: 760px;
  margin-inline: auto;
}

.article-head {
  max-width: 840px;
  border-bottom: 0;
  padding-bottom: 2rem;
}

.article-head::after {
  display: block;
  width: min(100%, 760px);
  height: 1px;
  margin-top: 1.75rem;
  background: linear-gradient(90deg, rgba(23, 99, 58, 0.28), transparent);
  content: "";
}

.article-head h2 {
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.22;
}

.article-head > p {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

.article-head-meta {
  margin-top: 1.1rem;
}

.article-main-image {
  max-height: 460px;
  border-radius: 22px;
}

.article-key-takeaway {
  display: grid;
  gap: 0.9rem;
  border-color: #cfe4d6;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 16%, rgba(23, 99, 58, 0.08), transparent 30%),
    linear-gradient(135deg, #f8fcf9, #ffffff);
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.article-key-takeaway h2 {
  font-size: 1.18rem;
}

.article-understanding-card ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.article-understanding-card li {
  border: 1px solid #e2efe6;
  border-radius: 14px;
  background: #fff;
  padding: 0.68rem 0.78rem;
}

.article-toc {
  border-color: #cfe4d6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(29, 71, 47, 0.06);
}

.article-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-toc summary::after {
  color: #17633a;
  content: "読む順番";
  font-size: 0.78rem;
  font-weight: 800;
}

.article-toc ol {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: 0;
  list-style: none;
}

.article-toc li {
  min-width: 0;
  border-top: 1px solid #eef5f0;
  padding-top: 0.45rem;
}

.article-toc .toc-child {
  margin-left: 0;
  padding-left: 0.85rem;
  border-left: 2px solid #e2efe6;
}

.sanity-body {
  font-size: clamp(1.03rem, 1.15vw, 1.12rem);
  line-height: 2.02;
}

.sanity-body h2 {
  position: relative;
  margin-top: 4rem;
  padding: 1.1rem 0 0 1.1rem;
  border-top: 1px solid rgba(23, 99, 58, 0.2);
  border-left: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.sanity-body h2::before {
  position: absolute;
  top: 1.3rem;
  left: 0;
  width: 4px;
  height: 1.8em;
  border-radius: 999px;
  background: #17633a;
  content: "";
}

.sanity-body h3 {
  margin-top: 2.7rem;
  padding-left: 0.85rem;
  border-left: 3px solid #cfe4d6;
}

.sanity-body p {
  margin-bottom: 1.6rem;
}

.sanity-body ul,
.sanity-body ol {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.8rem;
  padding-left: 0;
  list-style-position: inside;
}

.sanity-body li {
  border-radius: 12px;
  background: #f8fcf9;
  padding: 0.68rem 0.85rem;
}

.sanity-body blockquote {
  margin-block: 2rem;
  border-left-color: #17633a;
  background:
    linear-gradient(135deg, #f3faf5, #ffffff);
}

.article-support-section {
  margin-top: 3rem;
}

.article-diagnosis-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 900px;
  margin: 1.5rem auto 2rem;
  border: 1px solid rgba(23, 99, 58, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(110, 231, 168, 0.2), transparent 30%),
    linear-gradient(135deg, #f2fbf5, #ffffff);
  padding: clamp(1rem, 3vw, 1.35rem);
  box-shadow: 0 14px 34px rgba(29, 71, 47, 0.07);
}

.article-diagnosis-cta h2 {
  margin: 0.15rem 0 0.4rem;
  color: #143d28;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0;
}

.article-diagnosis-cta p {
  margin: 0;
  color: #52645a;
  line-height: 1.75;
}

.faq-section .faq-list {
  gap: 0.75rem;
}

.faq-section details {
  border-radius: 16px;
}

.faq-section summary {
  min-height: 62px;
}

.related-section {
  max-width: 900px;
}

.related-section h2,
.article-trust-card h2,
.editorial-policy-card h2,
.reference-list h2,
.update-history-card h2,
.medical-disclaimer-card h2,
.clinic-reservation-cta h2 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
}

.related-section .section-kicker {
  margin-bottom: 0.2rem;
}

.related-article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-trust-card,
.editorial-policy-card,
.medical-disclaimer-card,
.update-history-card {
  background:
    radial-gradient(circle at 94% 10%, rgba(23, 99, 58, 0.06), transparent 30%),
    #fbfefc;
}

.article-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-trust-grid div {
  border-radius: 12px;
  padding: 0.72rem;
}

.reference-list ol {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: references;
}

.reference-card {
  position: relative;
  padding-left: 3.1rem;
  counter-increment: references;
}

.reference-card::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 50%;
  background: #e8f7ed;
  color: #17633a;
  content: counter(references);
  font-size: 0.82rem;
  font-weight: 900;
}

.reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.reference-links a {
  border-radius: 999px;
  background: #e8f7ed;
  padding: 0.42rem 0.68rem;
  text-decoration: none;
}

.clinic-reservation-cta {
  max-width: 900px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 12%, rgba(6, 199, 85, 0.17), transparent 28%),
    linear-gradient(135deg, #143d28, #17633a);
  color: #fff;
}

.clinic-reservation-cta h2,
.clinic-reservation-cta p {
  color: #fff !important;
}

.clinic-home-link {
  color: #fff;
}

@media (min-width: 1180px) {
  .article-template.sanity-article {
    padding-block: 2.4rem;
  }
}

@media (max-width: 900px) {
  .article-understanding-card ul,
  .article-toc ol,
  .related-article-list,
  .article-trust-grid {
    grid-template-columns: 1fr;
  }

  .article-head,
  .article-key-takeaway,
  .article-toc,
  .sanity-body,
  .article-support-section {
    max-width: 100%;
  }

  .article-diagnosis-cta {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .article-template.sanity-article {
    border-radius: 18px;
  }

  .article-head h2 {
    font-size: clamp(1.72rem, 9vw, 2.45rem);
  }

  .sanity-body {
    line-height: 1.92;
  }

  .sanity-body li,
  .article-understanding-card li {
    padding: 0.62rem 0.72rem;
  }

  .reference-card {
    padding-left: 1rem;
  }

  .reference-card::before {
    position: static;
    margin-bottom: 0.55rem;
  }

  .article-diagnosis-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .article-diagnosis-cta .primary-button {
    width: 100%;
  }
}

/* Immersive Health Journal */
.journal-page-hero {
  position: relative;
  overflow: hidden;
  width: min(var(--content-width), calc(100% - 32px));
  margin: 1.2rem auto 1.3rem;
  border: 1px solid var(--hc-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 22% 18%, rgba(110, 231, 168, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 24%, rgba(131, 216, 255, 0.13), transparent 22rem),
    linear-gradient(135deg, rgba(6, 23, 30, 0.94), rgba(11, 42, 45, 0.96));
  color: var(--hc-text);
  padding: clamp(2rem, 6vw, 4.4rem);
  box-shadow: var(--hc-shadow);
  isolation: isolate;
}

.journal-page-hero .bio-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.8;
}

.journal-page-hero .eyebrow,
.library-hero .eyebrow,
.section-kicker {
  color: var(--hc-glow);
}

.journal-page-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.45rem, 8vw, 5rem);
  line-height: 1.05;
}

.journal-page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--hc-muted);
}

.journal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.journal-hero-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(238, 252, 247, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--hc-text);
  font-weight: 900;
  padding: 0.55rem 0.9rem;
  text-decoration: none;
}

.journal-hero-actions a[aria-current="page"],
.journal-hero-actions a:hover,
.journal-hero-actions a:focus-visible {
  border-color: rgba(110, 231, 168, 0.42);
  background: rgba(110, 231, 168, 0.14);
}

.library-hero {
  position: relative;
  overflow: hidden;
  border-color: var(--hc-line);
  background:
    radial-gradient(circle at 18% 20%, rgba(110, 231, 168, 0.16), transparent 20rem),
    radial-gradient(circle at 80% 24%, rgba(131, 216, 255, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(6, 23, 30, 0.94), rgba(11, 42, 45, 0.96));
  color: var(--hc-text);
  box-shadow: var(--hc-shadow);
}

.library-hero-copy h2 {
  color: #fff;
}

.library-hero-copy p,
.library-hero-search p {
  color: var(--hc-muted);
}

.library-signs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.library-signs span {
  position: absolute;
  border: 1px solid rgba(238, 252, 247, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(238, 252, 247, 0.32);
  font-size: 0.85rem;
  font-weight: 900;
  padding: 0.35rem 0.62rem;
  animation: journal-float 10s ease-in-out infinite;
}

.library-signs span:nth-child(1) { top: 12%; left: 50%; }
.library-signs span:nth-child(2) { top: 20%; right: 12%; animation-delay: -2s; }
.library-signs span:nth-child(3) { bottom: 18%; left: 42%; animation-delay: -4s; }
.library-signs span:nth-child(4) { right: 8%; bottom: 12%; animation-delay: -6s; }
.library-signs span:nth-child(n+5) { display: none; }

.library-hero-search {
  border-color: rgba(238, 252, 247, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.library-hero-search .field {
  border-color: rgba(238, 252, 247, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.library-hero-search .field span {
  color: var(--hc-glow);
  letter-spacing: 0.12em;
}

.library-hero-search input {
  border: 1px solid rgba(238, 252, 247, 0.16);
  background: rgba(6, 23, 30, 0.46);
  color: #fff;
  outline: none;
}

.library-hero-search input:focus {
  border-color: rgba(110, 231, 168, 0.72);
  box-shadow: 0 0 0 4px rgba(110, 231, 168, 0.14);
}

.library-count,
.library-result-count {
  border-color: rgba(110, 231, 168, 0.28);
  background: rgba(110, 231, 168, 0.1);
  color: #bff9d8;
}

.library-section {
  width: min(var(--content-width), calc(100% - 32px));
  margin-inline: auto;
}

.section-heading-row h2 {
  color: #fff;
}

.library-category-card,
.recommended-category-card {
  border-color: rgba(238, 252, 247, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--hc-text);
  backdrop-filter: blur(14px);
}

.library-category-card em,
.recommended-category-card em {
  display: block;
  color: var(--hc-glow);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.library-category-card strong,
.recommended-category-card strong {
  color: #fff;
}

.library-category-card small,
.recommended-category-card small {
  color: var(--hc-muted);
}

.library-category-card:hover,
.library-category-card:focus-visible,
.library-category-card.active,
.recommended-category-card:hover,
.recommended-category-card:focus-visible {
  border-color: rgba(110, 231, 168, 0.48);
  box-shadow: 0 0 36px rgba(110, 231, 168, 0.14);
}

.library-card {
  border-color: rgba(238, 252, 247, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--hc-text-on-light);
}

.library-card-content,
.library-card h3 {
  color: var(--hc-text-on-light);
}

.library-card p,
.library-card-meta time {
  color: var(--hc-muted-on-light);
}

.library-card .library-category,
.library-card .library-read-more {
  color: #17633a;
}

.library-card-placeholder {
  position: relative;
  overflow: hidden;
  background: #08222a;
}

.library-card-placeholder::before,
.library-card-placeholder::after {
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(238, 252, 247, 0.14);
  border-radius: 46% 54% 52% 48%;
  content: "";
}

.library-card-placeholder::after {
  inset: 30%;
  border-color: rgba(110, 231, 168, 0.2);
}

.library-card-placeholder.art-shoulder {
  background: repeating-linear-gradient(135deg, #08222a 0 16px, #0e3136 16px 19px);
}

.library-card-placeholder.art-nerve {
  background:
    radial-gradient(circle at 25% 34%, rgba(131, 216, 255, 0.48), transparent 0.3rem),
    radial-gradient(circle at 68% 58%, rgba(110, 231, 168, 0.48), transparent 0.28rem),
    linear-gradient(135deg, #071e25, #0c3334);
}

.library-card-placeholder.art-ripple {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(110, 231, 168, 0.22) 19% 20%, transparent 21% 34%, rgba(131, 216, 255, 0.18) 35% 36%, transparent 37%),
    #08222a;
}

.library-card-placeholder.art-low-back {
  background: repeating-linear-gradient(180deg, #071e25 0 18px, #0e3433 18px 21px);
}

.library-card-placeholder.art-knee {
  background:
    radial-gradient(circle at 42% 52%, rgba(110, 231, 168, 0.24), transparent 28%),
    radial-gradient(circle at 62% 45%, transparent 0 20%, rgba(131, 216, 255, 0.25) 21% 22%, transparent 23%),
    #08222a;
}

.library-card-placeholder span,
.library-card-placeholder small {
  position: relative;
  z-index: 1;
}

.library-card-placeholder span {
  background: rgba(255, 255, 255, 0.92);
}

.library-card-placeholder small {
  color: rgba(238, 252, 247, 0.72);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.library-check-banner,
.library-clinic-cta,
.journal-note {
  border-color: rgba(238, 252, 247, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--hc-text-on-dark);
  backdrop-filter: blur(16px);
}

.library-check-banner h2,
.library-clinic-cta h2,
.journal-note h2 {
  color: #fff;
}

.library-check-banner p,
.library-clinic-cta p,
.journal-note p {
  color: var(--hc-muted-on-dark);
}

.article-template.sanity-article {
  width: min(100%, 980px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-head {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hc-line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 16%, rgba(110, 231, 168, 0.16), transparent 18rem),
    radial-gradient(circle at 82% 28%, rgba(131, 216, 255, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(6, 23, 30, 0.96), rgba(11, 42, 45, 0.98));
  color: var(--hc-text-on-dark);
  padding: clamp(1.35rem, 5vw, 2.8rem);
  box-shadow: var(--hc-shadow);
}

.article-head h2,
.article-head > p,
.article-head .article-breadcrumb,
.article-head .article-head-meta {
  position: relative;
  z-index: 1;
}

.article-head h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.18;
}

.article-head > p,
.article-head-meta,
.article-breadcrumb {
  color: var(--hc-muted);
}

.article-breadcrumb a,
.article-head .article-tag-list a {
  color: #bff9d8;
}

.article-hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.article-hero-orbit span {
  position: absolute;
  border: 1px solid rgba(238, 252, 247, 0.12);
  border-radius: 50%;
  animation: journal-float 12s ease-in-out infinite;
}

.article-hero-orbit span:nth-child(1) { width: 16rem; height: 16rem; top: -5rem; right: 8%; }
.article-hero-orbit span:nth-child(2) { width: 10rem; height: 10rem; bottom: 10%; left: 8%; animation-delay: -4s; }
.article-hero-orbit span:nth-child(3) { width: 7rem; height: 7rem; right: 26%; bottom: 12%; animation-delay: -7s; }

.article-diagnosis-cta,
.article-key-takeaway,
.article-toc,
.sanity-body,
.faq-section {
  width: min(760px, 100%);
  margin-inline: auto;
}

.sanity-body {
  border-radius: 28px;
  background: #fbfefc;
  color: #26352c;
  padding: clamp(1.2rem, 4vw, 2.15rem);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

.sanity-body p {
  margin-block: 0 1.45em;
}

.sanity-body h2,
.sanity-body h3,
.sanity-body h4 {
  color: #143d28;
}

.article-toc {
  border-color: rgba(110, 231, 168, 0.3);
  background: rgba(6, 23, 30, 0.82);
  color: var(--hc-text-on-dark);
  backdrop-filter: blur(16px);
}

.article-toc summary {
  color: #fff;
}

.article-toc summary span {
  display: block;
  color: var(--hc-glow);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.article-toc a {
  color: rgba(238, 252, 247, 0.82);
}

.article-toc a:hover,
.article-toc a:focus-visible {
  color: #fff;
}

.article-support-section {
  width: min(860px, 100%);
  margin-inline: auto;
}

.related-section,
.article-trust-card,
.editorial-policy-card,
.reference-list,
.update-history-card,
.medical-disclaimer-card,
.clinic-reservation-cta {
  border-color: rgba(238, 252, 247, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--hc-text-on-dark);
  backdrop-filter: blur(16px);
}

.related-section h2,
.article-trust-card h2,
.editorial-policy-card h2,
.reference-list h2,
.update-history-card h2,
.medical-disclaimer-card h2,
.clinic-reservation-cta h2 {
  color: #fff;
}

.article-trust-grid div,
.reference-card,
.faq-section details {
  border-color: rgba(238, 252, 247, 0.14);
  background: var(--hc-surface-light);
  color: var(--hc-text-on-light);
}

.article-trust-grid dt,
.reference-card .reference-meta,
.reference-card p,
.faq-section details p {
  color: var(--hc-muted-on-light);
}

.article-trust-grid dd,
.reference-card strong,
.faq-section summary {
  color: var(--hc-text-on-light);
}

.editorial-policy-card p,
.medical-disclaimer-card li,
.update-history-card li,
.clinic-reservation-cta p {
  color: var(--hc-muted-on-dark);
}

.clinic-reservation-cta {
  background:
    radial-gradient(circle at 12% 18%, rgba(110, 231, 168, 0.17), transparent 16rem),
    linear-gradient(135deg, rgba(6, 23, 30, 0.96), rgba(8, 42, 31, 0.96));
}

.clinic-line-button {
  background: linear-gradient(135deg, #6ee7a8, #83d8ff);
  color: #06212a;
}

.clinic-home-link {
  border-color: rgba(238, 252, 247, 0.2);
  color: #dfffee;
}

@keyframes journal-float {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.62; }
  50% { transform: translate3d(0, -10px, 0); opacity: 1; }
}

@media (min-width: 1040px) {
  .article-toc {
    position: sticky;
    top: 92px;
    z-index: 2;
  }
}

@media (max-width: 760px) {
  .journal-page-hero,
  .library-section {
    width: min(100% - 24px, var(--content-width));
  }

  .library-signs span:nth-child(n+3) {
    display: none;
  }

  .article-head {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .library-signs span,
  .article-hero-orbit span {
    animation: none !important;
  }
}
