/* ==========================================================================
   Author page (mh-au-*) — author.php
   Uses the tokens and base components from styles.css.
   ========================================================================== */

/* 1. Hero */
.mh-au-hero { padding-block: 56px 112px; }
.mh-au-hero__in { display: flex; flex-direction: column; gap: 40px; }
.mh-au-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--mh-text-muted); }
.mh-au-crumbs a { color: var(--mh-text-secondary); text-decoration: none; }
.mh-au-crumbs a:hover { color: var(--mh-ink); }
.mh-au-crumbs svg { width: 14px; height: 14px; }
.mh-au-crumbs [aria-current] { color: var(--mh-ink); font-weight: 500; }
.mh-au-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; }
.mh-au-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.mh-au-hero__name-wrap { display: flex; flex-direction: column; gap: 12px; }
.mh-au-hero__name { font-size: 56px; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.mh-au-hero__role { font-size: 20px; line-height: 1.4; font-weight: 500; color: var(--mh-text-strong); }
.mh-au-hero__lead { font-size: 18px; line-height: 1.6; color: var(--mh-text-body); max-width: 540px; }
.mh-au-follow { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }

/* Social buttons (light ground) */
.mh-au-social { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-au-social a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--mh-border-control); background: var(--mh-surface); color: var(--mh-text-strong); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; font-weight: 700; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.mh-au-social a:hover { background: var(--mh-fill-chip); border-color: var(--mh-border-hover); color: var(--mh-blue-deep); }
.mh-au-social svg { width: 18px; height: 18px; }

/* Profile card */
.mh-au-profile { flex: 0 1 420px; min-width: 0; background: var(--mh-surface); border: 1px solid var(--mh-border); border-radius: 16px; box-shadow: var(--mh-shadow-elevated); overflow: hidden; display: flex; flex-direction: column; }
.mh-au-profile__body { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.mh-au-profile__head { display: flex; align-items: center; gap: 20px; }
.mh-au-profile__photo { flex: none; display: block; width: 100px; height: 100px; border-radius: 999px; object-fit: cover; object-position: center top; background: var(--mh-surface-muted); box-shadow: 0 0 0 4px var(--mh-surface), 0 0 0 5px var(--mh-border); }
.mh-au-profile__id { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mh-au-profile__name { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.mh-au-profile__pos { font-size: 14px; line-height: 1.45; color: var(--mh-text-muted); }
.mh-au-profile .mh-checklist { padding-top: 24px; border-top: 1px solid var(--mh-border-subtle); font-size: 14px; line-height: 1.5; color: var(--mh-text-strong); }
.mh-au-profile .mh-checklist li { align-items: flex-start; }
.mh-au-profile__foot { padding: 16px 28px; background: var(--mh-surface-subtle); border-top: 1px solid var(--mh-fill-chip); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mh-text-strong); }
.mh-au-profile__foot .mh-link { font-size: 14px; }

/* 2. Track record */
.mh-au-track { padding-block: 96px; }
.mh-au-stat { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.18); }
.mh-au-stat strong { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--mh-on-navy); }
.mh-au-stat--accent strong { color: var(--mh-accent); }
.mh-au-stat span { font-size: 15px; line-height: 1.5; color: var(--mh-on-navy-body); }

/* 3. Biography */
.mh-au-bio .mh-rows { flex: none; }
.mh-au-bio .mh-row { flex-wrap: wrap; gap: 8px 48px; }
.mh-au-bio__year { flex: 0 0 120px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--mh-blue); }
.mh-au-bio__year--now { color: var(--mh-ink); }
.mh-au-bio .mh-row__body { flex: 1 1 360px; }
.mh-au-bio .mh-text { max-width: 680px; }

/* 4. Expertise */
.mh-au-topic .mh-link { align-self: flex-start; font-size: 14px; }

/* 5. Articles */
.mh-au-articles__list { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.mh-au-articles__list .mh-grid { width: 100%; }
.mh-au-art { text-decoration: none; color: var(--mh-ink); }
.mh-au-art .mh-h3 { transition: color .15s ease; }
.mh-au-art:hover .mh-h3 { color: var(--mh-blue-deep); }
.mh-au-art__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--mh-fill-chip); font-size: 13px; color: var(--mh-text-muted); }
.mh-au-art__meta svg { width: 16px; height: 16px; color: var(--mh-blue); }

/* 6. CTA */
.mh-au-cta { padding-block: 96px; }
.mh-au-cta__card { background: var(--mh-surface); border: 1px solid var(--mh-border); border-radius: 16px; box-shadow: var(--mh-shadow-elevated); padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; }
.mh-au-cta__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mh-au-cta__title { font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.mh-au-cta__copy .mh-text { font-size: 16px; max-width: 540px; }
/* Buttons stacked in their own column on the right, so long localized labels never push them under the text */
.mh-au-cta__actions { flex: 0 0 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mh-au-cta__actions .mh-btn { width: 100%; }

/* Responsive */
@media (max-width: 640px) {
  .mh-au-hero { padding-block: 32px 72px; }
  .mh-au-hero__name { font-size: 40px; }
  .mh-au-hero__lead { font-size: 17px; }
  .mh-au-hero .mh-hero__actions { width: 100%; }
  .mh-au-hero .mh-hero__actions .mh-btn { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 48px; padding-block: 12px; line-height: 1.3; }
  .mh-au-track, .mh-au-cta { padding-block: 72px; }
  .mh-au-stat strong { font-size: 44px; }
  .mh-au-cta__card { padding: 28px 24px; }
  .mh-au-cta__title { font-size: 24px; }
  .mh-au-cta__actions { flex: 1 1 100%; }
  .mh-au-cta__actions .mh-btn { white-space: normal; text-align: center; height: auto; min-height: 52px; padding-block: 12px; line-height: 1.3; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-au-social a, .mh-au-art .mh-h3 { transition: none; }
}
