/* ==========================================================================
   Secure Affair — Category, author & search pages
   ========================================================================== */

/* ── Category hero ───────────────────────────────────── */
.category-hero {
    padding: 28px 0 0; border-bottom: 1px solid var(--line);
    background: var(--bg);
}
.category-hero__row { display: flex; align-items: center; gap: 22px; margin: 26px 0 26px; }
.category-hero__icon {
    display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 20px;
    background: var(--cat); color: #fff; font-size: 30px;
    box-shadow: inset 0 -4px 0 var(--accent);
}
.category-hero__title { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.03em; }
.category-hero__desc { color: var(--text-2); font-size: 18px; max-width: 680px; margin-top: 6px; }
.category-hero__siblings {
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 18px; scrollbar-width: none;
}
.category-hero__siblings::-webkit-scrollbar { display: none; }
.category-hero__siblings .chip { flex: none; }
.category-hero__siblings .chip.is-active { background: var(--cat); border-color: var(--cat); }

.news-card--spotlight {
    padding: 24px; margin-bottom: 48px; border-radius: var(--radius-lg);
    border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.news-card--spotlight .news-card__media { width: 52%; max-width: none; }
.news-card--spotlight .news-card__title { font-size: 30px; font-weight: 800; line-height: 1.18; }
.news-card--spotlight .news-card__excerpt { font-size: 17px; }

/* ── Author hero ─────────────────────────────────────── */
.author-hero { background: var(--primary); color: #fff; padding: 32px 0 52px; }
.author-hero__row { display: flex; gap: 36px; align-items: center; margin-top: 30px; }
.author-hero__avatar { width: 148px; height: 148px; border: 5px solid rgba(255, 255, 255, .15); }
.author-hero__role { color: var(--accent); font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.author-hero__name { color: #fff; font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; margin: 6px 0 12px; }
.author-hero__bio { color: #CBD5E1; font-size: 17px; max-width: 680px; }
.author-hero__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 20px; color: #E2E8F0; font-size: 14px; }
.author-hero__facts i { color: var(--accent); margin-right: 4px; }
.author-hero__facts a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.author-hero__facts a i { color: #fff; margin: 0; }
.author-hero__facts a:hover { background: var(--accent); }
.author-hero__facts a:hover i { color: var(--primary); }

/* ── Search ──────────────────────────────────────────── */
.search-hero { padding: 28px 0 32px; background: var(--bg); border-bottom: 1px solid var(--line); }
.search-hero__title { font-size: clamp(30px, 4vw, 42px); font-weight: 800; margin: 22px 0 22px; }
.search-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.search-count { margin-bottom: 24px; color: var(--muted); }
.search-count strong { color: var(--text); }
