/* author.php - 著者アーカイブページ */

body.author .keikyo-interview-header { margin-bottom: 0 !important; }
body.author .keikyo-interview-site-footer { margin-top: 0 !important; }
body.author .site-main,
body.author #main {
  width: 100% !important; max-width: none !important;
  padding: 0 !important; margin: 0 !important;
  background: transparent !important;
}

.author-archive { background: #fafaf7; min-height: 60vh; padding-bottom: 80px; }

.author-hero { background: #f4f0e8; padding: 24px 0 32px; }
.author-hero__inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.author-breadcrumb { margin-bottom: 24px; }
.author-breadcrumb__list {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; padding: 0; margin: 0;
  font-size: 11px; color: rgba(26,26,46,0.5);
}
.author-breadcrumb__list li:not(:last-child)::after {
  content: "/"; margin-left: 6px; color: rgba(26,26,46,0.3);
}
.author-breadcrumb__list a { color: rgba(26,26,46,0.6); text-decoration: none; transition: color 0.2s; }
.author-breadcrumb__list a:hover { color: #c0392b; }
.author-breadcrumb__list .is-current { color: #1a1a2e; font-weight: 600; }

.author-hero__main { display: flex; gap: 28px; align-items: flex-start; }

.author-hero__avatar {
  flex-shrink: 0; width: 120px; height: 120px;
  border-radius: 50%; overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(26,26,46,0.08);
}
.author-hero__avatar-img {
  width: 120px !important; height: 120px !important;
  border-radius: 50% !important; object-fit: cover; display: block;
}

.author-hero__info { flex: 1; min-width: 0; }
.author-hero__eyebrow {
  font-size: 11px; font-weight: 700; color: #c0392b;
  letter-spacing: 0.14em; margin: 4px 0 4px;
}
.author-hero__name {
  font-size: 28px; font-weight: 700; color: #1a1a2e;
  margin: 0 0 6px; letter-spacing: 0.02em;
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
}
.author-hero__role { font-size: 13px; color: rgba(26,26,46,0.6); margin: 0 0 14px; }
.author-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.author-hero__tag {
  font-size: 11px; font-weight: 600; padding: 4px 12px;
  background: #fff; color: #1a1a2e;
  border-radius: 20px; border: 1px solid rgba(26,26,46,0.1);
}
.author-hero__bio {
  font-size: 13px; color: rgba(26,26,46,0.75);
  line-height: 1.8; margin: 0; max-width: 720px;
}

.author-hero__stats {
  display: flex; gap: 32px; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(26,26,46,0.1);
}
.author-stat__value {
  font-size: 24px; font-weight: 700; color: #1a1a2e; margin: 0;
  font-family: 'Cormorant Garamond', serif;
}
.author-stat__label {
  font-size: 11px; color: rgba(26,26,46,0.5);
  margin: 0; letter-spacing: 0.08em;
}

.author-posts { padding: 48px 0 0; }
.author-posts__inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.author-posts__header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px;
}
.author-posts__title {
  font-size: 20px; font-weight: 700; color: #1a1a2e; margin: 0;
  border-left: 4px solid #c0392b; padding-left: 14px;
}
.author-posts__count { font-size: 12px; color: rgba(26,26,46,0.5); margin: 0; }

.author-posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.author-post-card {
  background: #fff; border: 1px solid rgba(26,26,46,0.08);
  border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: transform 0.25s, box-shadow 0.25s;
}
.author-post-card:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,26,46,0.08);
}

.author-post-card__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8e4dc;
}
.author-post-card__img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s;
}
.author-post-card:hover .author-post-card__img { transform: scale(1.05); }
.author-post-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8e4dc, #d8d2c6);
}

.author-post-card__body { padding: 16px 18px 18px; }
.author-post-card__cat {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: #c0392b; letter-spacing: 0.08em; margin: 0 0 8px;
}
.author-post-card__title {
  font-size: 14px; font-weight: 700; color: #1a1a2e;
  line-height: 1.55; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.author-post-card__date { font-size: 11px; color: rgba(26,26,46,0.4); margin: 0; }

.author-posts__empty {
  text-align: center; padding: 60px 20px;
  color: rgba(26,26,46,0.5); background: #fff;
  border-radius: 10px; border: 1px solid rgba(26,26,46,0.08);
}

.author-pagination {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 48px; flex-wrap: wrap;
}
.author-pagination__item a,
.author-pagination__item span {
  display: inline-block; min-width: 36px; padding: 8px 12px;
  text-align: center; font-size: 13px; font-weight: 600;
  color: #1a1a2e; background: #fff;
  border: 1px solid rgba(26,26,46,0.1); border-radius: 6px;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.author-pagination__item a:hover { background: #1a1a2e; color: #fff; }
.author-pagination__item .current { background: #1a1a2e; color: #fff; }

@media (max-width: 900px) {
  .author-posts__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 600px) {
  .author-hero { padding: 20px 0 28px; }
  .author-hero__main { flex-direction: column; gap: 20px; align-items: center; text-align: center; }
  .author-hero__avatar { width: 96px; height: 96px; }
  .author-hero__avatar-img { width: 96px !important; height: 96px !important; }
  .author-hero__name { font-size: 22px; }
  .author-hero__tags { justify-content: center; }
  .author-hero__stats { justify-content: center; }
  .author-posts { padding: 32px 0 0; }
  .author-posts__grid { grid-template-columns: 1fr; gap: 16px; }
  .author-post-card__thumb { aspect-ratio: 16 / 9; }
}
