/* ==========================================================================
   Author profile pages (/author/*.php)
   Built on the site's existing tokens in style.css — no new colours, fonts
   or radii are introduced here.
   ========================================================================== */

.au-wrap { padding: 48px 0 72px; background: var(--off-white); }
.au-card { max-width: 880px; margin: 0 auto; }

/* ---------- header ---------- */
.au-head {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.au-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--r-md);
    background: var(--blue-light);
}
.au-head-body { min-width: 0; }
.au-eyebrow {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
    margin-bottom: 12px;
}
.au-head h1 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    margin-bottom: 6px;
}
.au-tagline {
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 14px;
}
.au-lede {
    color: var(--body);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---------- sections ---------- */
.au-section {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--r-lg);
    padding: 28px 32px;
    margin-top: 20px;
    box-shadow: var(--shadow-xs);
}
.au-section h2 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    margin-bottom: 14px;
}
.au-section p { color: var(--body); }
.au-note {
    color: var(--gray-600);
    font-size: .92rem;
    margin-bottom: 14px;
}

/* ---------- credential list ---------- */
.au-creds { display: grid; gap: 10px; }
.au-creds li {
    position: relative;
    padding-left: 30px;
    color: var(--body);
    line-height: 1.55;
}
.au-creds li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .42em;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M13 4.5 6.2 11.3 3 8.1' stroke='%231B6FD8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- article list ---------- */
.au-arts { display: grid; gap: 2px; }
.au-art {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--gray-100);
}
.au-art:last-child { border-bottom: 0; }
.au-art a {
    font-weight: 600;
    color: var(--navy);
    flex: 1 1 340px;
    line-height: 1.45;
}
.au-art a:hover { color: var(--blue); }
.au-art-date {
    color: var(--gray-600);
    font-size: .85rem;
    white-space: nowrap;
}

/* ---------- treatments ---------- */
.au-treats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.au-treats li a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--gray-100);
    border-radius: 999px;
    background: var(--off-white);
    color: var(--navy);
    font-size: .92rem;
    font-weight: 500;
    transition: all var(--ease);
}
.au-treats li a:hover {
    background: var(--blue-light);
    border-color: var(--blue-mid);
    color: var(--blue);
}

/* ---------- CTA ---------- */
.au-cta {
    background: var(--navy);
    border-radius: var(--r-lg);
    padding: 32px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .82);
}
.au-cta h2 { color: var(--white); margin-bottom: 10px; }
.au-cta p { color: rgba(255, 255, 255, .78); }
.au-cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.au-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: .95rem;
    background: var(--blue);
    color: var(--white);
    transition: all var(--ease);
}
.au-btn:hover { background: var(--blue-dark); color: var(--white); }
.au-btn-alt { background: var(--teal); }
.au-btn-alt:hover { background: #0b8a86; color: var(--white); }
.au-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .28);
    color: var(--white);
}
.au-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
    .au-wrap { padding: 28px 0 48px; }
    .au-head {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
        text-align: left;
    }
    .au-photo { width: 132px; aspect-ratio: 1 / 1; }
    .au-section { padding: 22px 20px; }
    .au-cta { padding: 24px 20px; }
    .au-art { flex-direction: column; gap: 2px; }
    .au-cta-links .au-btn { width: 100%; text-align: center; }
}
