/* ================================================================
   著者アーカイブ・プロフィールページ
   ================================================================ */
.lmg-author-page {
  padding: 40px 0 60px;
}

.lmg-author-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.lmg-author-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin: 0 0 40px;
  padding: 28px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.lmg-author-header__avatar {
  flex: 0 0 160px;
}

.lmg-author-header__avatar img {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.lmg-author-header__body {
  flex: 1;
  min-width: 0;
}

.lmg-author-header__label {
  margin: 0 0 8px;
  font-size: 12px;
  color: #777;
  letter-spacing: .08em;
}

.lmg-author-header__name {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.4;
}

.lmg-author-header__title {
  margin: 0 0 16px;
  font-size: 15px;
  color: #555;
}

.lmg-author-header__bio {
  line-height: 1.95;
}

.lmg-author-header__bio p {
  margin: 0 0 14px;
}

.lmg-author-header__bio a {
  color: #08B9D4;
  text-decoration: underline;
}

.lmg-author-header__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lmg-author-header__links a {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ddd;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.lmg-author-posts__title {
  margin: 0 0 20px;
  font-size: 26px;
  background: none !important;
  padding: 0 !important;
  color: inherit;
}

.lmg-author-posts__title::after {
  display: none !important;
}

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

.lmg-author-card {
  border: 1px solid #e5e5e5;
  background: #fff;
  float: none !important;
  width: auto !important;
}

.lmg-author-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: #f3f3f3;
  overflow: hidden;
}

.lmg-author-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lmg-author-card__noimage {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #888;
  font-size: 14px;
}

.lmg-author-card__content {
  padding: 14px 18px 18px;
}

.lmg-author-card__title {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.lmg-author-card__title a {
  text-decoration: none;
}

.lmg-author-pagination {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .lmg-author-posts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lmg-author-page {
    padding: 24px 0 40px;
  }

  .lmg-author-header {
    flex-direction: column;
    padding: 20px;
  }

  .lmg-author-header__avatar {
    flex-basis: auto;
  }

  .lmg-author-header__avatar img {
    width: 120px;
    height: 120px;
  }

  .lmg-author-header__name {
    font-size: 26px;
  }

  .lmg-author-posts__grid {
    grid-template-columns: 1fr;
  }
}
