/**
 * @file        author.css
 * @description Author expert-profile module (M02, C-14)
 *
 * @author      Thomas Dobler - SYNTHETIXMIND LTD
 * @email       tom@synthetixmind.com
 * @company     SYNTHETIXMIND LTD, Paphos, Cyprus
 * @url         https://synthetixmind.com
 *
 * @uid         3b6f49a0-8c17-4d52-ae83-05d17c69b2f4
 * @version     0.0.0.1
 * @created     2026-09-11
 * @updated     2026-09-11
 *
 * @copyright   (c) 2026 by SYNTHETIXMIND LTD
 * @license     Proprietary — All rights reserved
 */

/* ONE module: photo, biography, credentials and media mentions read together,
 * so credibility can be judged in a single pass rather than assembled from
 * sections scattered down the page. */

.author__module {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

.author__photo {
  max-width: 200px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.author__headline {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--text-secondary);
}

/* The counter always carries a text label (FR22) — never a bare number. */
.author__count {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 600;
}

.author__bio { max-width: var(--measure); }

.author__credentials > h2,
.author__media > h2 {
  font-size: var(--text-lg);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.author__credentials ul,
.author__media ul {
  margin: 0;
  padding-left: var(--space-5);
  max-width: var(--measure);
}

.author__credentials li,
.author__media li { margin-bottom: var(--space-2); }

.author__service { max-width: var(--measure); }
.author__service > h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }

@media (min-width: 768px) {
  .author__module {
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: var(--space-6);
    align-items: start;
  }

  .author__photo { max-width: 100%; }
}
