/* Blog-only editorial layer: loaded by server/blog.js after the shared clinic styles. */
:root {
  --blog-ink: #3d3d35;
  --blog-copy: #5b584e;
  --blog-champagne: #b39362;
  --blog-champagne-light: #ded0ad;
  --blog-wash: #f5f1e8;
  --blog-line: rgba(102, 88, 62, .2);
}

.blog-page-hero {
  min-height: min(430px, 53vh);
  background:
    linear-gradient(112deg, rgba(24, 27, 25, .96), rgba(49, 51, 43, .91)),
    #242725;
}

.blog-page-hero > div {
  max-width: 860px;
}

.blog-page-hero h1,
.blog-page-hero p:not(.kicker),
.blog-article h2,
.blog-article h3 {
  text-wrap: pretty;
}

.blog-page-hero h1 {
  font-size: clamp(32px, 3.9vw, 54px);
  line-height: 1.35;
  text-wrap: balance;
}

.blog-page-hero p:not(.kicker) {
  max-width: 720px;
  color: #e1dacb;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.75;
}

.blog-article {
  max-width: 920px;
  padding-inline: clamp(24px, 5vw, 56px);
  padding-top: clamp(44px, 7vw, 84px);
  padding-bottom: clamp(64px, 9vw, 110px);
}

.blog-meta {
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 24px;
  color: #827967;
  font-size: 11px;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.blog-meta span + span::before {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 20px 2px 0;
  border-radius: 50%;
  background: var(--blog-champagne);
  content: '';
}

.medical-review-note {
  margin-top: 0;
  margin-bottom: 28px;
  border-left-color: var(--blog-champagne);
  background: var(--blog-wash);
  color: #5d5545;
  font-size: 12px;
}

.blog-cover,
.blog-body-figure {
  margin: clamp(30px, 5vw, 52px) 0;
}

.blog-cover {
  padding: 0;
  background: #ede9df;
}

.blog-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 600px;
  margin-inline: auto;
  object-fit: contain;
  background: #ede9df;
}

.blog-prose img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin-inline: auto;
  object-fit: contain;
}

.blog-cover figcaption {
  padding: 12px 15px 13px;
  margin: 0;
  border-top: 1px solid rgba(179, 147, 98, .33);
  background: #f7f3e9;
  color: #76684e;
  font-size: 10px;
  line-height: 1.65;
  letter-spacing: .025em;
}

.blog-prose {
  color: var(--blog-copy);
  font-size: clamp(16px, 1.25vw, 17px);
  line-height: 1.9;
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-break: normal;
}

.blog-prose > :first-child {
  margin-top: 0;
}

.blog-prose p,
.blog-prose ul,
.blog-prose ol {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.blog-prose ul,
.blog-prose ol {
  padding-left: 1.45em;
}

.blog-prose li + li {
  margin-top: .55em;
}

.blog-prose h2 {
  margin: 2.35em 0 .68em;
  color: var(--blog-ink);
  font: 400 clamp(28px, 3.4vw, 38px)/1.25 var(--display);
  letter-spacing: -.025em;
}

.blog-prose h3 {
  margin: 2em 0 .7em;
  color: #504b3f;
  font: 500 clamp(19px, 2.2vw, 23px)/1.45 var(--sans);
  letter-spacing: -.012em;
}

.blog-prose strong {
  color: #464338;
  font-weight: 600;
}

.blog-prose a {
  color: #856937;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(133, 105, 55, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.blog-prose a:hover {
  color: #5e4826;
  text-decoration-color: currentColor;
}

.blog-prose blockquote {
  margin: 2.2em 0;
  padding: 1.2em 1.4em;
  border-left-color: var(--blog-champagne);
  background: var(--blog-wash);
  color: #615946;
}

.blog-prose blockquote > :last-child {
  margin-bottom: 0;
}

.blog-body-figure {
  background: #ede9df;
}

.blog-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  font-size: .88em;
  line-height: 1.65;
}

.blog-prose th {
  background: #f5f1e8;
  color: #514b3f;
  font-weight: 600;
}

.blog-prose td,
.blog-prose th {
  border-color: #ded7c9;
}

.faq-section {
  margin-top: clamp(54px, 8vw, 84px);
}

.faq-section h2,
.blog-related h2 {
  margin: 0 0 17px;
  color: var(--blog-ink);
  font: 400 clamp(27px, 3vw, 34px)/1.25 var(--display);
  letter-spacing: -.02em;
}

.faq-section details {
  border-color: var(--blog-line);
}

.faq-section summary {
  padding: 19px 30px 19px 0;
  color: #48453c;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.faq-section details p {
  padding-bottom: 20px;
  color: var(--blog-copy);
  font-size: 15px;
  line-height: 1.8;
}

.blog-related {
  padding: 33px 0;
  border-top-color: var(--blog-line);
}

.blog-related a {
  width: fit-content;
  max-width: 100%;
  color: #806533;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.blog-related a:hover {
  color: #4e422b;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.blog-share {
  align-items: center;
  gap: 18px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--blog-line);
  color: #706858;
}

.blog-share button,
.blog-share a {
  color: inherit;
  font-size: 12px;
}

.blog-share button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.blog-share button:hover,
.blog-share a:hover {
  color: #4f4432;
}

.blog-consultation-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(30px, 5vw, 52px);
  color: #f5f0e5;
  background: #2a2d28;
  box-shadow: inset 0 0 0 1px rgba(222, 208, 173, .23);
}

.blog-consultation-banner .kicker {
  margin: 0 0 10px;
  color: var(--blog-champagne-light);
}

.blog-consultation-banner h2 {
  margin: 0;
  color: #fffaf0;
  font: 400 clamp(27px, 3.2vw, 37px)/1.2 var(--display);
  letter-spacing: -.025em;
}

.blog-consultation-banner p:not(.kicker) {
  max-width: 590px;
  margin: 13px 0 0;
  color: #d9d2c3;
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.blog-consultation-banner .button {
  min-width: max-content;
  white-space: nowrap;
}

.blog-prose :focus-visible,
.faq-section summary:focus-visible,
.blog-share a:focus-visible,
.blog-share button:focus-visible,
.blog-consultation-banner .button:focus-visible {
  outline: 2px solid var(--blog-champagne);
  outline-offset: 4px;
}

:lang(ja) .blog-prose,
:lang(ko) .blog-prose,
:lang(zh-cn) .blog-prose,
:lang(zh-tw) .blog-prose {
  line-break: strict;
  word-break: normal;
}

:lang(ko) .blog-prose p,
:lang(ko) .blog-prose li {
  word-break: keep-all;
}

.blog-list article { overflow: hidden; }
.blog-list .blog-card-image { display: flex; justify-content: center; align-items: center; aspect-ratio: 3 / 2; margin: -31px -31px 24px; background: #eee9df; }
.blog-list .blog-card-image img { width: 100%; height: 100%; object-fit: contain; }
.blog-list h2 { font-size: 26px; line-height: 1.45; }
.blog-list article > p { font-size: 15px; line-height: 1.85; }

@media (max-width: 820px) {
  .blog-page-hero {
    min-height: 320px;
  }

  .blog-article {
    padding-top: 42px;
  }

  .blog-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .blog-meta span + span::before {
    display: none;
  }

  .blog-prose {
    font-size: 16px;
  }

  .blog-cover,
  .blog-body-figure {
    margin-right: -1px;
    margin-left: -1px;
  }

  .blog-consultation-banner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-consultation-banner .button {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-prose a,
  .blog-related a,
  .blog-share a,
  .blog-share button {
    transition: none;
  }
}
