.author-page {
  min-height: 100vh;
  color: #241a07;
  background:
    radial-gradient(circle at 14% 8%, rgba(247, 210, 116, 0.42), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(139, 100, 17, 0.13), transparent 34%),
    linear-gradient(180deg, #fff8e8 0%, #f7efd8 42%, #eee0bd 100%);
}

.author-hero {
  padding: 118px 0 60px;
}

.author-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b5725;
  font-size: 14px;
  font-weight: 800;
}

.author-breadcrumb a {
  color: #8b6411;
}

.author-breadcrumb span {
  color: rgba(107, 87, 37, 0.56);
}

.author-breadcrumb strong {
  color: #241a07;
}

.author-profile,
.author-directory-intro,
.author-empty {
  margin-top: 28px;
  border: 1px solid rgba(139, 100, 17, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.4)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 48px rgba(139, 100, 17, 0.1);
}

.author-profile {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.author-avatar,
.author-card-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(139, 100, 17, 0.16);
  background: #fff;
}

.author-avatar {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(139, 100, 17, 0.12);
}

.author-avatar img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.author-kicker {
  color: #8b6411;
  font-size: 13px;
  font-weight: 900;
}

.author-profile-copy h1,
.author-directory-intro h1,
.author-empty h1 {
  margin-top: 6px;
  color: #241a07;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 950;
}

.author-profile-copy > p,
.author-directory-intro p,
.author-empty p {
  max-width: 760px;
  margin-top: 12px;
  color: #5b4717;
  font-size: 16px;
  line-height: 1.8;
}

.author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.author-stats span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  color: #6b5725;
  border: 1px solid rgba(139, 100, 17, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.author-stats strong {
  color: #241a07;
}

.author-directory-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
}

.author-directory-total {
  min-width: 150px;
  padding-left: 28px;
  border-left: 1px solid rgba(139, 100, 17, 0.16);
}

.author-directory-total strong,
.author-directory-total span {
  display: block;
}

.author-directory-total strong {
  color: #8b6411;
  font-size: 48px;
  line-height: 1;
}

.author-directory-total span {
  margin-top: 8px;
  color: #6b5725;
  font-weight: 800;
}

.author-empty {
  padding: 48px;
  text-align: center;
}

.author-empty > span {
  color: #8b6411;
  font-size: 12px;
  font-weight: 900;
}

.author-empty p {
  margin-right: auto;
  margin-left: auto;
}

.author-empty .btn {
  margin-top: 24px;
}

.author-content {
  padding: 0 0 80px;
}

.author-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(139, 100, 17, 0.16);
}

.author-section-heading span {
  color: #8b6411;
  font-size: 12px;
  font-weight: 900;
}

.author-section-heading h2 {
  margin-top: 3px;
  color: #241a07;
  font-size: 28px;
  line-height: 1.2;
}

.author-section-heading > a {
  color: #8b6411;
  font-size: 14px;
  font-weight: 900;
}

.author-post-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.author-post {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 200px;
  overflow: hidden;
  border: 1px solid rgba(139, 100, 17, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 14px 38px rgba(139, 100, 17, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.author-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(139, 100, 17, 0.13);
}

.author-post-media {
  min-height: 200px;
  overflow: hidden;
  background: #eadcb8;
}

.author-post-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.author-post:hover .author-post-media img {
  transform: scale(1.025);
}

.author-post-copy {
  min-width: 0;
  padding: 24px 26px;
}

.author-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #80651f;
  font-size: 12px;
  font-weight: 800;
}

.author-post-copy h2 {
  margin-top: 10px;
  color: #241a07;
  font-size: 23px;
  line-height: 1.38;
}

.author-post-copy p {
  margin-top: 10px;
  color: #5b4717;
  font-size: 14px;
  line-height: 1.75;
}

.author-post-link,
.author-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b6411;
  font-size: 13px;
  font-weight: 900;
}

.author-post-link {
  margin-top: 14px;
}

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

.author-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(139, 100, 17, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 14px 38px rgba(139, 100, 17, 0.08);
}

.author-card-avatar {
  width: 68px;
  height: 68px;
  padding: 7px;
  border-radius: 50%;
}

.author-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.author-card > div > span {
  color: #8b6411;
  font-size: 11px;
  font-weight: 900;
}

.author-card h2 {
  margin-top: 3px;
  color: #241a07;
  font-size: 21px;
}

.author-card p {
  margin-top: 8px;
  color: #5b4717;
  font-size: 13px;
  line-height: 1.7;
}

.author-card dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2px 0 0;
  border-top: 1px solid rgba(139, 100, 17, 0.12);
  border-bottom: 1px solid rgba(139, 100, 17, 0.12);
}

.author-card dl div {
  padding: 12px 0;
}

.author-card dl div + div {
  padding-left: 16px;
  border-left: 1px solid rgba(139, 100, 17, 0.12);
}

.author-card dt {
  color: #80651f;
  font-size: 11px;
  font-weight: 800;
}

.author-card dd {
  margin-top: 2px;
  color: #241a07;
  font-size: 15px;
  font-weight: 900;
}

.author-card-link {
  grid-column: 1 / -1;
}

.author-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.author-pagination a,
.author-pagination span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(139, 100, 17, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.54);
  color: #6b5725;
  font-size: 13px;
  font-weight: 900;
}

.author-pagination a {
  color: #8b6411;
}

@media (max-width: 980px) {
  .author-profile {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .author-avatar {
    width: 100px;
    height: 100px;
  }

  .author-profile > .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .author-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .author-hero {
    padding: 100px 0 42px;
  }

  .author-profile,
  .author-directory-intro,
  .author-empty {
    margin-top: 22px;
  }

  .author-profile {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
    text-align: center;
  }

  .author-avatar {
    width: 76px;
    height: 76px;
    margin: 0 auto;
  }

  .author-profile-copy {
    min-width: 0;
  }

  .author-profile-copy h1,
  .author-directory-intro h1,
  .author-empty h1 {
    font-size: 34px;
  }

  .author-directory-intro {
    align-items: start;
    flex-direction: column;
    padding: 26px;
  }

  .author-directory-total {
    min-width: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(139, 100, 17, 0.16);
    border-left: 0;
  }

  .author-directory-total strong {
    font-size: 38px;
  }

  .author-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .author-post {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .author-post-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .author-post-copy {
    padding: 20px;
  }

  .author-post-copy h2 {
    font-size: 20px;
  }

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

  .author-stats {
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .author-empty {
    padding: 34px 22px;
  }

  .author-pagination {
    flex-wrap: wrap;
  }
}
