/* ============================================================
   people-pages.css — Team, Authors, Editors pages + Author archive
   ============================================================ */

/* ── Page hero ── */
.db-people-hero {
    background: var(--db-bg-2, #120b04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 3.5rem clamp(1rem,4vw,3rem) 3rem;
    text-align: center;
}
.db-people-hero__kicker {
    font-size: .75rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: #f59e0b; margin-bottom: .6rem;
}
.db-people-hero__title {
    font-size: clamp(1.75rem,4vw,2.75rem); font-weight: 800;
    letter-spacing: -.02em; margin: 0 0 .75rem;
}
.db-people-hero__sub {
    font-size: 1rem; color: #aaa; max-width: 580px; margin: 0 auto; line-height: 1.65;
}

/* ── Stats strip ── */
.db-people-stats {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 1.5rem 3rem; padding: 1.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,.02);
}
.db-people-stat { text-align: center; }
.db-people-stat__num {
    display: block; font-size: 1.75rem; font-weight: 900;
    color: #f59e0b; line-height: 1;
}
.db-people-stat__label { font-size: .75rem; color: #888; letter-spacing: .05em; }

/* ── Grid body ── */
.db-people-body {
    max-width: 1280px; margin: 0 auto; padding: 3rem clamp(1rem,4vw,2rem);
}
.db-people-section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 2rem; gap: 1rem;
}
.db-people-section-head h2 {
    font-size: 1.1rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .07em; margin: 0; position: relative;
}
.db-people-section-head h2::after {
    content: ''; display: block; width: 2rem; height: 3px;
    background: #f59e0b; margin-top: 5px;
}

/* ── Card grids ── */
.db-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.db-people-grid--editors {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@media (max-width: 600px) {
    .db-people-grid, .db-people-grid--editors { grid-template-columns: 1fr; }
}

/* ── Person card ── */
.db-person-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex; flex-direction: column; gap: .75rem;
    transition: border-color .2s ease, transform .2s ease;
}
.db-person-card:hover {
    border-color: rgba(245,158,11,.35);
    transform: translateY(-2px);
}
.db-person-card--editor {
    border-left: 3px solid #f59e0b;
}
.db-person-card__top {
    display: flex; align-items: center; gap: 1rem;
}
.db-person-card__avatar {
    width: 64px; height: 64px; border-radius: 50%;
    flex-shrink: 0; overflow: hidden;
}
.db-person-card__avatar img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.db-person-card__meta { flex: 1; min-width: 0; }
.db-person-card__name {
    font-size: 1rem; font-weight: 700; margin: 0 0 .2rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.db-person-card__name a { color: #fff; text-decoration: none; }
.db-person-card__name a:hover { color: #f59e0b; }
.db-person-card__role {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #f59e0b; margin: 0 0 .2rem;
}
.db-person-card__niche {
    font-size: .75rem; color: #777;
}
.db-person-card__creds {
    font-size: .78rem; color: #aaa; line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,.06); padding-top: .65rem;
}
.db-person-card__bio {
    font-size: .825rem; color: #bbb; line-height: 1.6;
}
.db-person-card__links {
    display: flex; gap: .6rem; flex-wrap: wrap; margin-top: auto;
}
.db-person-card__link {
    font-size: .72rem; font-weight: 600; color: #f59e0b;
    text-decoration: none; border: 1px solid rgba(245,158,11,.3);
    border-radius: 4px; padding: .2em .55em;
    transition: background .15s ease;
}
.db-person-card__link:hover { background: rgba(245,158,11,.1); }
.db-person-card__link--li { color: #93c5fd; border-color: rgba(147,197,253,.3); }
.db-person-card__link--li:hover { background: rgba(147,197,253,.08); }

/* ── Team hierarchy (team page only) ── */
.db-team-divider {
    display: flex; align-items: center; gap: 1rem;
    margin: 3rem 0 2rem; color: #555;
}
.db-team-divider::before, .db-team-divider::after {
    content: ''; flex: 1; height: 1px;
    background: rgba(255,255,255,.07);
}
.db-team-divider__label {
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; white-space: nowrap;
}

/* ── Org stats bar (team page) ── */
.db-org-bar {
    background: linear-gradient(135deg, rgba(196,122,37,.08) 0%, rgba(212,168,83,.05) 100%);
    border: 1px solid rgba(245,158,11,.15);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    display: flex; flex-wrap: wrap; gap: 1rem 3rem;
    margin-bottom: 3rem;
}
.db-org-bar__item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.db-org-bar__icon { font-size: 1.1rem; }
.db-org-bar__val { font-weight: 700; color: #f59e0b; }

/* ── Editorial process steps ── */
.db-process {
    display: flex; flex-wrap: wrap; gap: 1rem;
    align-items: center; margin-top: 3rem;
}
.db-process__step {
    display: flex; align-items: center; gap: .5rem; font-size: .825rem;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
    border-radius: 6px; padding: .5rem .9rem;
}
.db-process__step-num {
    width: 20px; height: 20px; border-radius: 50%;
    background: #f59e0b; color: #000; font-size: .65rem;
    font-weight: 900; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.db-process__arrow { color: #555; font-size: .9rem; }

/* ── Author archive / single profile ── */
.db-author-profile {
    max-width: 960px; margin: 0 auto; padding: 3rem clamp(1rem,4vw,2rem);
}
.db-author-profile__card {
    display: flex; gap: 2rem; align-items: flex-start;
    background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px; padding: 2rem; margin-bottom: 2.5rem;
}
.db-author-profile__avatar {
    width: 110px; height: 110px; border-radius: 50%;
    flex-shrink: 0; overflow: hidden; border: 3px solid rgba(245,158,11,.3);
}
.db-author-profile__avatar img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.db-author-profile__body { flex: 1; min-width: 0; }
.db-author-profile__name {
    font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .25rem;
}
.db-author-profile__role {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: #f59e0b; margin: 0 0 .5rem;
}
.db-author-profile__creds {
    font-size: .85rem; color: #aaa; margin: 0 0 .75rem; font-style: italic;
}
.db-author-profile__bio {
    font-size: .95rem; line-height: 1.7; color: #ccc; margin: 0 0 1rem;
}
.db-author-profile__tags {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem;
}
.db-author-profile__tag {
    display: inline-block; padding: .2em .6em; font-size: .7rem;
    font-weight: 600; border-radius: 3px; background: rgba(245,158,11,.12);
    color: #f59e0b; letter-spacing: .04em;
}
.db-author-profile__links {
    display: flex; flex-wrap: wrap; gap: .6rem;
}
.db-author-profile__link {
    font-size: .78rem; font-weight: 600; color: #f59e0b;
    text-decoration: none; border: 1px solid rgba(245,158,11,.3);
    border-radius: 5px; padding: .3em .8em;
}
.db-author-profile__link:hover { background: rgba(245,158,11,.1); }
@media (max-width: 600px) {
    .db-author-profile__card { flex-direction: column; align-items: center; text-align: center; }
    .db-author-profile__tags, .db-author-profile__links { justify-content: center; }
}

.db-author-posts-head {
    font-size: 1.1rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .06em; margin-bottom: 1.5rem;
}
