/* Author archive */

.author-main {
  padding-top: 1.15rem;
}

.author-hero-block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto var(--bbhm-space-5);
  padding-bottom: var(--bbhm-space-5);
  border-bottom: 1px solid #dedede;
}

.author-hero-avatar {
  width: 5rem;
  height: 5rem;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid #e1e1e1;
  background: #f6f6f6;
}

.author-hero-avatar img,
.author-hero-avatar .avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-hero-kicker {
  margin: 0 0 0.55rem;
  color: var(--bbhm-accent);
  font-family: var(--bbhm-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-hero-copy h1 {
  margin-bottom: 0.65rem;
  font-size: 24px;
  line-height: 1.02;
}

.author-hero-bio {
  max-width: 56ch;
  margin: 0;
  color: #353535;
  font-size: 1rem;
}

.author-top-section,
.author-all-section {
  margin-bottom: var(--bbhm-space-6);
}

.author-top-section .archive-section-head,
.author-all-section .archive-section-head {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 24px;
}

.author-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--bbhm-space-5);
}

.author-column-latest {
  padding-left: var(--bbhm-space-5);
  border-left: 1px solid #e6d9cf;
}

.author-story-stack,
.author-list-stack {
  display: grid;
  gap: 0;
}

.author-story {
  border-top: 1px solid #efe3d9;
  padding: 1.4rem 0;
}

.author-story:first-child {
  border-top: 0;
  padding-top: 0;
}

.author-story-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 1.5rem;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.author-story-link:hover,
.author-story-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.author-story-link--stacked {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.author-story-copy {
  min-width: 0;
  line-height: var(--bbhm-compact-copy-line-height);
}

.author-story-meta-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin: 0 0 0.55rem;
  font-family: var(--bbhm-ui);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6d6d6d;
}

.author-story-kicker {
  color: var(--bbhm-accent);
  font-weight: 700;
}

.author-story-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 2.1vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-decoration-thickness: var(--bbhm-underline-thickness);
  text-decoration-color: currentColor;
  text-decoration-skip-ink: none;
  text-underline-offset: 0.12em;
}

.author-story-feature .author-story-title,
.author-story-latest .author-story-title {
  font-size: clamp(1.25rem, 1.9vw, 1.9rem);
}

.author-story-excerpt {
  margin: 0 0 0.75rem;
  color: #3a3a3a;
  font-size: 1rem;
}

.author-story-byline {
  margin: 0;
  color: #202020;
  font-family: var(--bbhm-ui);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.author-story-image {
  margin: 0;
  border: 1px solid #e3e3e3;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4f4f4;
}

.author-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 160ms ease;
}

.author-story-link:hover .author-story-title,
.author-story-link:focus-visible .author-story-title {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: var(--bbhm-underline-thickness);
  text-decoration-color: currentColor;
  text-decoration-skip-ink: none;
}

.author-story-link:hover .author-story-image img,
.author-story-link:focus-visible .author-story-image img {
  filter: brightness(1.04);
}

.author-story-link--stacked .author-story-image {
  margin-bottom: 0;
}

.author-story-link--stacked .author-story-title {
  font-size: 1.15rem;
  line-height: 1.16;
}

.author-story-link--stacked .author-story-excerpt {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  line-height: 20px;
}

.author-story-link--stacked .author-story-byline {
  color: #262626;
}


@media (max-width: 1180px) {
  .author-story-link {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 1.2rem;
  }

  .author-story-link--stacked {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .author-hero-block {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .author-hero-avatar {
    width: 5rem;
    height: 5rem;
    margin: 0 auto;
  }

  .author-hero-bio {
    margin: 0 auto;
  }

  .author-top-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--bbhm-space-4);
  }

  .author-column-latest {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #efefef;
    padding-top: var(--bbhm-space-4);
  }

  .author-story-link {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .author-story-image {
    order: -1;
  }

  .author-story-title {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .author-story-feature .author-story-title,
  .author-story-latest .author-story-title {
    font-size: clamp(1.15rem, 6vw, 1.55rem);
  }

  .author-story-meta-top {
    align-items: flex-start;
  }

  .author-story-link--stacked .author-story-title {
    font-size: clamp(1.15rem, 6vw, 1.45rem);
  }
}
