/* =================================================================
   作者档案页 + 索引页
   ================================================================= */

.author-page,
.author-index {
  --brand: #c8102e;
  --text: #222;
  --text-muted: #666;
  --border: #e8e8e8;
  --bg-soft: #faf7f5;
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}

.author-page .container,
.author-index .container {
  padding: 32px 20px 60px;
  max-width: 880px;
}

/* ─── Hero ─── */
.author-hero {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: 12px;
  margin: 16px 0 32px;
}
@media (max-width: 640px) {
  .author-hero { flex-direction: column; gap: 16px; }
}
.author-avatar img {
  display: block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.author-info { flex: 1; min-width: 0; }
.author-name {
  font-size: 28px;
  margin: 0 0 6px;
  font-weight: 700;
}
.author-title {
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}
.author-bio-short {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin: 0 0 8px;
}
.author-experience {
  display: inline-block;
  font-size: 12px;
  background: var(--brand);
  color: #fff;
  padding: 3px 10px;
  border-radius: 3px;
  margin: 0;
}

/* ─── Stats ─── */
.author-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 0 0 32px;
}
.author-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.author-stat strong {
  display: block;
  font-size: 24px;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 4px;
}
.author-stat span {
  font-size: 11px;
  color: var(--text-muted);
}

/* ─── Section ─── */
.author-section {
  margin: 0 0 36px;
}
.author-h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  padding: 6px 0 6px 14px;
  border-left: 5px solid var(--brand);
}
.author-fullbio {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}
.author-fullbio br { line-height: 2.4; }

/* ─── 専門分野 ─── */
.author-expertise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.author-expertise-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: #444;
}

/* ─── 経歴 ─── */
.author-career-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  border-left: 2px solid var(--border);
}
.author-career-list li {
  padding: 6px 0 6px 16px;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  position: relative;
}
.author-career-list li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
}

/* ─── 著書 ─── */
.author-publications {
  list-style: none;
  margin: 0;
  padding: 0;
}
.author-publications li {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.author-publications li strong {
  margin-right: 8px;
}
.author-publications li span {
  color: var(--text-muted);
  font-size: 13px;
}

/* ─── 執筆記事 ─── */
.author-articles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.author-article-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}
@media (max-width: 480px) {
  .author-article-card { grid-template-columns: 100px 1fr; }
  .author-article-card img { width: 100px !important; height: 64px !important; }
}
.author-article-card:hover { border-color: var(--brand); }
.author-article-card > div { display: flex; flex-direction: column; gap: 4px; }
.author-article-cat {
  font-size: 11px;
  color: var(--brand);
  font-weight: 600;
}
.author-article-card strong {
  font-size: 14px;
  line-height: 1.5;
}
.author-article-card small {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: auto;
}

/* =================================================================
   /author/ 索引页
   ================================================================= */

.author-index .page-title {
  font-size: 28px;
  font-weight: 700;
  margin: 16px 0 12px;
}
.author-index-lead {
  font-size: 14px;
  line-height: 1.85;
  color: #444;
  max-width: 720px;
  margin: 0 0 32px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-left: 4px solid var(--brand);
  border-radius: 0 6px 6px 0;
}
.author-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.author-grid-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.author-grid-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.08);
}
.author-grid-info { flex: 1; min-width: 0; }
.author-grid-info h2 {
  font-size: 16px;
  margin: 0 0 4px;
  font-weight: 700;
}
.author-grid-title {
  font-size: 11px;
  color: var(--brand);
  margin: 0 0 8px;
  font-weight: 600;
}
.author-grid-bio {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 8px;
}
.author-grid-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #555;
}
.author-grid-meta span::before { content: "▸ "; color: var(--brand); }
