/* ==========================================================================
   Torii Health — Article page styles
   Depends on styles.css (tokens, header, footer) being loaded first.
   ========================================================================== */

.th-article-header {
  padding: 40px 0 24px;
}

.th-article-header__eyebrow {
  font-family: var(--th-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--th-red);
  margin: 0 0 12px;
}

.th-article-header h1 {
  font-family: var(--th-font-display);
  font-weight: 800;
  color: var(--th-navy);
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  line-height: 1.2;
  margin: 0 0 18px;
  max-width: 22ch;
}

.th-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 0.9rem;
  color: var(--th-text-muted);
}
.th-article-meta a { color: var(--th-navy); text-decoration: none; font-weight: 600; }
.th-article-meta a:hover { text-decoration: underline; }

/* Hero image frame — placeholder ready for a real asset */
.th-hero-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--th-navy-tint), #dfe7f5);
  border: 1px dashed #b9c7e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--th-navy);
  font-family: var(--th-font-display);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
  margin: 24px 0 8px;
  overflow: hidden;
}
.th-hero-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

/* Prose */
.th-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 48px;
  font-size: 1.05rem;
}

.th-prose > .th-lead {
  font-size: 1.15rem;
  color: var(--th-text);
  font-style: italic;
}

.th-prose h2 {
  font-family: var(--th-font-display);
  color: var(--th-navy);
  font-size: 1.4rem;
  margin: 40px 0 14px;
  line-height: 1.3;
}

.th-prose h3 {
  font-family: var(--th-font-display);
  color: var(--th-navy);
  font-size: 1.12rem;
  margin: 28px 0 10px;
}

.th-prose p { margin: 0 0 16px; }

.th-prose ul, .th-prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
}
.th-prose li { margin-bottom: 8px; }

.th-prose a { color: var(--th-navy); text-decoration: underline; }

/* Callout / highlight boxes */
.th-callout {
  background: var(--th-navy-tint);
  border-left: 4px solid var(--th-navy);
  border-radius: 4px;
  padding: 16px 18px;
  margin: 20px 0 28px;
}
.th-callout__label {
  font-family: var(--th-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--th-navy);
  margin: 0 0 6px;
}
.th-callout p:last-child { margin-bottom: 0; }

.th-callout--muted {
  background: #f8f9fb;
  border-left-color: var(--th-navy);
}

/* Bottom-line summary band */
.th-bottom-line {
  background: var(--th-navy-tint);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 8px 0 36px;
  color: var(--th-navy-dark);
}
.th-bottom-line strong { color: var(--th-navy); }

/* Author sign-off */
.th-signoff {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--th-border);
}
.th-signoff img {
  width: 72px; height: 72px;
  border-radius: 8px;
  object-fit: cover;
}
.th-signoff .th-signoff__eyebrow { font-size: 0.82rem; color: var(--th-text-muted); margin: 0; }
.th-signoff .th-signoff__name { font-family: var(--th-font-display); font-weight: 700; color: var(--th-navy); margin: 2px 0; }
.th-signoff .th-signoff__org { font-size: 0.82rem; color: var(--th-text-muted); margin: 0; }

/* Feedback / question call-to-action strip */
.th-feedback {
  background: var(--th-navy-tint);
  border-top: 1px solid var(--th-border);
  border-bottom: 1px solid var(--th-border);
  padding: 28px 0;
}
.th-feedback h3 {
  font-family: var(--th-font-display);
  color: var(--th-navy);
  font-size: 1rem;
  margin: 0 0 8px;
}
.th-feedback p { margin: 0 0 16px; color: var(--th-text); max-width: 60ch; }

/* Final booking CTA band */
.th-cta-band {
  background: var(--th-navy);
  color: #dfe8f6;
  padding: 40px 0;
  text-align: center;
}
.th-cta-band h3 {
  font-family: var(--th-font-display);
  color: var(--th-white);
  font-size: 1.35rem;
  margin: 0 0 8px;
}
.th-cta-band p { margin: 0 auto 22px; max-width: 52ch; font-size: 0.94rem; color: #a8bedf; }
.th-cta-band .th-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Prev / next pagination (optional, mirrors reference site) */
.th-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 48px;
  border-top: 1px solid var(--th-border);
  font-size: 0.9rem;
}
.th-pagination a { text-decoration: none; color: var(--th-navy); }
.th-pagination a:hover { text-decoration: underline; }
.th-pagination__label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--th-text-muted); margin-bottom: 4px; }

@media (max-width: 600px) {
  .th-signoff { flex-direction: column; align-items: flex-start; text-align: left; }
}