/*
 * author.css — styles for author.php (v2.9.0)
 * Loaded in <head> only on author pages (ewt_template_styles()); the
 * article cards below the profile use home.css, loaded alongside.
 * Light top panel: the header is solid here (ewt_header_on_light()).
 */

/* --- 01. Profile --- */
.aut-hero { background: var(--ewt-surface-2); padding-top: calc(var(--ewt-section-y) + 40px); }
.aut-hero__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.aut-hero__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ewt-border); }
.aut-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }

.aut-breadcrumb { margin: 0 0 1.75rem; }
.aut-breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 8px; font-size: 11px; letter-spacing: .10em; text-transform: uppercase; color: var(--ewt-muted); }
.aut-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--ewt-bronze); }
.aut-breadcrumb a { color: var(--ewt-muted); text-decoration: none; }
.aut-breadcrumb a:hover { color: var(--ewt-link); }
.aut-breadcrumb li[aria-current="page"] { color: var(--ewt-link); }

.aut-hero__text .ewt-eyebrow { color: var(--ewt-link); margin: 0 0 .75rem; }
.aut-hero__name { font-family: var(--ewt-font-display); font-weight: 400; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.02em; line-height: 1.08; color: var(--ewt-ink); margin: 0 0 1.5rem; }
.aut-hero__bio { font-size: 16px; line-height: 1.8; color: var(--ewt-ink-soft); max-width: 62ch; }
.aut-hero__bio p { margin: 0; }
.aut-hero__bio p + p { margin-top: 1em; }

.aut-creds { list-style: none; margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: .5px solid var(--ewt-border); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; }
.aut-creds li { position: relative; padding-left: 1.25rem; font-size: 14px; line-height: 1.55; color: var(--ewt-ink); }
.aut-creds li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--ewt-bronze); }

.aut-knows { margin: 1.5rem 0 0; font-size: 14px; line-height: 1.6; color: var(--ewt-ink-soft); }
.aut-knows span { display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ewt-muted); margin-bottom: .25rem; }

.aut-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.aut-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.aut-links a { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ewt-link); text-decoration: none; }
.aut-links a:hover { color: var(--ewt-ink); }

/* --- 02. Articles --- */
.blg-listing.aut-articles { padding-top: var(--ewt-section-y); }
.aut-articles__heading { font-family: var(--ewt-font-display); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--ewt-ink); margin: 0 0 2rem; }

/* --- Responsive --- */
@media (max-width: 760px) {
  .aut-hero__grid { grid-template-columns: 1fr; }
  .aut-hero__photo { max-width: 280px; }
  .aut-creds { grid-template-columns: 1fr; }
}
