/* ============================================================
   KOL directory (/kol-list/). Loaded only on those pages, after
   styles.css, and built from its tokens: same paper, ink, purple
   and pink, card borders, radii and display type as the landing
   pages (.pg-*).
   ============================================================ */

.kol-hero .pg-hero-inner { max-width: 960px; }
.kol-hero .pg-dek { margin-bottom: 1rem; }
.kol-updated { font-size: 0.86rem; color: var(--ink-mute); margin-bottom: 1.6rem; }

.kol-section { padding: 2.6rem 0; }
.kol-section-tint { background: linear-gradient(180deg, var(--paper-dim), var(--paper)); border-top: 1px solid var(--paper-line-soft); }
.kol-narrow { max-width: 900px; }
.kol-narrow p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 0.9rem; max-width: 46rem; }
.kol-h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.2; color: var(--ink); margin-bottom: 1.1rem; }
.kol-h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); margin: 1.6rem 0 0.7rem; }
.kol-note { font-size: 0.86rem; color: var(--ink-mute); margin: -0.4rem 0 1.2rem; }
.kol-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- category hero with the bee ---------- */
.kol-cat-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: center; max-width: 1100px; }
.kol-cat-hero-art { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(138, 92, 246, 0.18)); }
@media (max-width: 860px) {
  .kol-cat-hero-inner { grid-template-columns: 1fr; }
  .kol-cat-hero-art { order: -1; width: 200px; margin-bottom: -0.5rem; }
}

/* ---------- related searches ---------- */
.kol-related { padding: 0 0 0.6rem; }
.kol-topics-line { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- chips ---------- */
.kol-chip { display: inline-block; padding: 0.28em 0.75em; border-radius: 999px; background: var(--purple-tint); color: var(--purple-deep); font-size: 0.84rem; font-weight: 600; line-height: 1.4; }
.kol-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.kol-chip-links { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.kol-chip-links a { display: inline-block; padding: 0.5em 0.95em; border-radius: 999px; background: #fff; border: 1px solid var(--paper-line); color: var(--ink); font-size: 0.9rem; font-weight: 600; transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out); }
.kol-chip-links a:hover { border-color: var(--purple); color: var(--purple-deep); transform: translateY(-1px); }

/* ---------- creator cards ---------- */
.kol-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 0.9rem; }
.kol-card { list-style: none; min-width: 0; }
.kol-card[hidden] { display: none; }
.kol-card-link { min-width: 0; position: relative; display: flex; align-items: center; gap: 0.95rem; height: 100%; padding: 1rem 1.05rem; background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius-sm); box-shadow: var(--shadow-card); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s; }
.kol-card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-lg); border-color: #dcc4f2; }
.kol-avatar { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--paper-dim); border: 3px solid #fff; box-shadow: 0 0 0 2px #e7d2f6; }
.kol-card-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; flex: 1; }
.kol-name { display: flex; align-items: center; gap: 0.3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.25; min-width: 0; }
.kol-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.kol-handle { font-size: 0.82rem; color: var(--ink-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kol-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
.kol-pill { font-size: 0.76rem; padding: 0.2em 0.6em; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap; }
.kol-pill b { font-weight: 700; }
.kol-pill-soft { background: var(--purple-tint); color: var(--purple-deep); }
.kol-platforms { display: flex; flex-direction: column; gap: 0.3rem; align-self: flex-start; }
.kol-pf { width: 1.35rem; height: 1.35rem; color: var(--ink-mute); display: block; }
.kol-pf svg { width: 100%; height: 100%; display: block; }
.kol-more { margin-top: 1.4rem; }
.kol-more a { color: var(--purple-deep); font-weight: 700; }
.kol-more a:hover { color: var(--pink-deep); }
@media (max-width: 420px) { .kol-avatar { width: 56px; height: 56px; } }

/* badges: "On Connector Club" (tick) and "Brand campaigns" (star) */
.kol-badge { display: inline-flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
.kol-badge svg { width: 1rem; height: 1rem; }
.kol-badge-joined { color: var(--purple); }
.kol-badge-campaigns { color: #f0a020; }
.kol-profile-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.9rem; }
.kol-profile-badges .kol-badge { padding: 0.3em 0.75em 0.3em 0.55em; border-radius: 999px; background: #fff; border: 1px solid var(--paper-line); font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.kol-profile-badges .kol-badge-joined svg { color: var(--purple); }
.kol-profile-badges .kol-badge-campaigns svg { color: #f0a020; }

/* spotlight: wider cards with the start of the bio */
.kol-spotlight { padding-bottom: 1rem; }
.kol-grid-wide { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }
.kol-card-wide .kol-card-link { align-items: flex-start; padding: 1.2rem 1.25rem; background: linear-gradient(160deg, #fff 55%, var(--purple-tint)); }
.kol-card-wide .kol-avatar { width: 76px; height: 76px; }
.kol-snippet { margin-top: 0.55rem; font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* size groups and filters */
.kol-group { margin-bottom: 2.4rem; }
.kol-group[hidden] { display: none; }
.kol-group-h span { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--ink-mute); margin-left: 0.4rem; }
.kol-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 2rem; padding: 0.8rem 1rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--paper-line); }
.kol-filters[hidden], .kol-filter-none[hidden] { display: none; }
.kol-filters-label { font-size: 0.85rem; font-weight: 700; color: var(--ink-mute); margin-right: 0.2rem; }
.kol-filter { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.42em 0.85em; border-radius: 999px; border: 1.3px solid var(--paper-line); background: var(--paper); font-size: 0.85rem; font-weight: 600; color: var(--ink); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.kol-filter svg { width: 1rem; height: 1rem; }
.kol-filter:hover { border-color: var(--purple); }
.kol-filter.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.kol-filter-joined.is-on { background: var(--purple); border-color: var(--purple); }
.kol-filter-joined.is-on svg path:last-child { stroke: var(--purple); }
.kol-filter-none { padding: 1rem 0 2rem; color: var(--ink-soft); }

/* ---------- category cards (hub) with the bees ---------- */
.kol-cat-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 0.9rem; }
.kol-cat-card { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 0.9rem 1.1rem 1.15rem; border-radius: var(--radius-sm); background: linear-gradient(160deg, #fff, var(--purple-tint)); border: 1px solid var(--paper-line); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.kol-cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-lg); }
.kol-cat-art { display: block; aspect-ratio: 4 / 3; margin: 0 -0.3rem 0.2rem; }
.kol-cat-art img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.35s var(--ease-out); }
.kol-cat-card:hover .kol-cat-art img { transform: scale(1.04) rotate(-1deg); }
.kol-cat-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.kol-cat-kw { font-size: 0.82rem; color: var(--purple-deep); font-weight: 600; }

/* ---------- profile ---------- */
.kol-profile-hero { padding-bottom: 1.6rem; }
.kol-profile-head { display: flex; gap: 1.6rem; align-items: center; }
.kol-profile-avatar { flex-shrink: 0; width: 128px; height: 128px; border-radius: 50%; object-fit: cover; background: var(--paper-dim); border: 5px solid #fff; box-shadow: 0 0 0 3px #e7d2f6, var(--shadow-card-lg); }
.kol-profile-name { margin-bottom: 0.2rem; }
.kol-profile-handle { color: var(--ink-mute); font-size: 1rem; margin-bottom: 0.7rem; }
.kol-socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kol-social { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45em 0.85em; border-radius: 999px; border: 1.3px solid var(--ink); font-size: 0.85rem; font-weight: 600; color: var(--ink); transition: background 0.2s, color 0.2s; }
.kol-social svg { width: 1.05rem; height: 1.05rem; }
.kol-social:hover { background: var(--ink); color: var(--paper); }
.kol-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.4rem; align-items: start; }
.kol-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 2rem; }
.kol-facts div { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius-sm); padding: 0.9rem 1rem; }
.kol-facts dt { font-size: 0.8rem; color: var(--ink-mute); margin-bottom: 0.2rem; }
.kol-facts dd { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.kol-bio { font-size: 1.05rem; line-height: 1.75; color: var(--ink); margin-bottom: 0.9rem; max-width: 46rem; }
.kol-cta-card { padding: 1.5rem; border-radius: var(--radius); background: var(--ink); color: var(--on-dark-paper); box-shadow: var(--shadow-dark); }
.kol-cta-card .kol-h3 { color: #fff; margin-top: 0; }
.kol-cta-card p { color: var(--on-dark-mute); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.2rem; }
.kol-claim { margin-top: 1rem; font-size: 0.84rem; color: var(--ink-mute); line-height: 1.6; }
.kol-claim a { color: var(--purple-deep); font-weight: 700; }
@media (max-width: 900px) { .kol-profile-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .kol-profile-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .kol-profile-avatar { width: 96px; height: 96px; }
  .kol-facts { grid-template-columns: 1fr 1fr; }
}

/* ---------- FAQ ---------- */
.kol-faq-item { border-bottom: 1px solid var(--paper-line); }
.kol-faq-item summary { cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.kol-faq-item summary::-webkit-details-marker { display: none; }
.kol-faq-item summary::after { content: '+'; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--purple); transition: transform 0.2s; }
.kol-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.kol-faq-a { padding: 0 0 1.1rem; color: var(--ink-soft); line-height: 1.7; max-width: 46rem; }
.kol-faq-a a { color: var(--purple-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
