.authors-page {
  padding-top: 30px;
  padding-bottom: 76px;
  color: var(--color-text);
  font-family: var(--font-family-base);
}

.authors-page__intro h1 {
  margin: 0;
  color: #092b31;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.authors-page__intro p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #344748;
  font-size: 17px;
  line-height: 1.55;
}

.authors-directory {
  margin-top: 30px;
}

.authors-directory__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.authors-directory__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.authors-directory__tab {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 104px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 6px;
  background: #f3f4f3;
  color: #203334;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.authors-directory__tab:hover,
.authors-directory__tab:focus-visible,
.authors-directory__tab.is-current {
  background: #086169;
  color: #fff;
}

.authors-directory__search {
  display: flex;
  width: min(420px, 100%);
  min-height: 44px;
  border: 1px solid #e0e4e2;
  border-radius: 6px;
  background: #f7f8f7;
}

.authors-directory__search:focus-within {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

.authors-directory__search input {
  width: 100%;
  min-width: 0;
  padding: 9px 14px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 14px;
}
.authors-directory__search input:focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: -3px;
}

.authors-directory__search button {
  width: 46px;
  flex: none;
  border: 0;
  background: transparent;
  color: #086169;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.authors-directory__heading {
  margin: 46px 0 18px;
  color: #092b31;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.authors-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.authors-directory__card {
  min-width: 0;
  border: 1px solid #e6e9e7;
  border-radius: 8px;
  background: #fff;
}

.authors-directory__profile {
  display: flex;
  align-items: center;
  gap: 19px;
  min-height: 102px;
  padding: 13px 18px;
  color: inherit;
  text-decoration: none;
}

.authors-directory__profile:hover,
.authors-directory__profile:focus-visible {
  background: #f6faf9;
}

.authors-directory__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  flex: none;
  overflow: hidden;
  background: #e5efec;
  color: #356a66;
  font-size: 25px;
  font-weight: 700;
  text-transform: uppercase;
}

.authors-directory__avatar.is-person { border-radius: 50%; }
.authors-directory__avatar.is-organization { border-radius: 8px; }
.authors-directory__avatar img { width: 100%; height: 100%; object-fit: cover; }
.authors-directory__avatar.is-organization img { object-fit: contain; }

.authors-directory__identity {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.authors-directory__identity strong {
  overflow: hidden;
  color: #172a2d;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.authors-directory__type,
.authors-directory__count,
.authors-directory__summary {
  overflow: hidden;
  color: #687273;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.authors-directory__count { color: #356a66; font-weight: 700; }

.authors-directory__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: #086169;
  font-size: 13px;
  font-weight: 700;
}

.authors-directory__link span { font-size: 19px; line-height: 1; }

.authors-directory__empty {
  padding: 36px 0;
  color: var(--color-text-muted);
}

.authors-directory__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.authors-directory__pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid #d9e1de;
  border-radius: 6px;
  color: #086169;
  text-decoration: none;
}

.authors-directory__pagination a[aria-current="page"] {
  border-color: #086169;
  background: #086169;
  color: #fff;
}

.authors-page__cta {
  margin-top: 42px;
  padding: 36px 42px;
  border-radius: 10px;
  background: #eee8e3 url('../images/figma-home/assets/author-promo.png') center right / cover no-repeat;
}

.authors-page__cta h2 {
  margin: 0;
  color: #092b31;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.authors-page__cta p {
  max-width: 510px;
  margin: 8px 0 18px;
  font-size: 15px;
  line-height: 1.55;
}

.authors-page__cta-status {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 6px;
  background: #6c9b90;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.authors-page__cta-status span { display: inline-flex; align-items: center; line-height: 1; }

@media (max-width: 900px) {
  .authors-directory__controls { align-items: stretch; flex-direction: column; }
  .authors-directory__search { width: 100%; }
  .authors-directory__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .authors-page { padding-top: 30px; padding-bottom: 46px; }
  .authors-directory { margin-top: 26px; }
  .authors-directory__tab { min-width: auto; flex: 1 1 40%; }
  .authors-directory__heading { margin-top: 34px; }
  .authors-directory__profile { gap: 12px; padding: 12px; }
  .authors-directory__avatar { width: 62px; height: 62px; }
  .authors-directory__link { font-size: 0; }
  .authors-directory__link span { font-size: 21px; }
  .authors-page__cta { padding: 26px 22px; background-image: none; }
}
