/* /author/ listing only — does not change site header/footer */

.authors-page {
  --au-blue: #1d4ed8;
  --au-navy: #142a63;
  --au-ink: #0f172a;
  --au-muted: #64748b;
  --au-line: #e6ebf3;
  --au-card: #fff;
  --au-soft: #eff4ff;
  --au-yellow: #f7c948;
  margin: 0 0 56px;
  color: var(--au-ink);
}

.authors-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- hero band ---------- */

.authors-hero-band {
  position: relative;
  overflow: hidden;
  padding: 92px 0 46px;
  background:
    radial-gradient(120% 130% at 88% 12%, rgba(250, 204, 21, 0.28) 0%, rgba(250, 204, 21, 0) 55%),
    radial-gradient(90% 120% at 4% 88%, rgba(250, 204, 21, 0.16) 0%, rgba(250, 204, 21, 0) 60%),
    radial-gradient(85% 110% at 18% 0%, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0) 62%),
    linear-gradient(180deg, #f7faff 0%, #f3f7ff 100%);
}

.authors-hero-band::before {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -55%;
  width: 46%;
  height: 120%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(147, 197, 253, 0.22), rgba(147, 197, 253, 0));
  pointer-events: none;
}

.authors-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
}

.authors-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: var(--au-muted);
}

.authors-crumb a {
  display: inline-flex;
  align-items: center;
  color: var(--au-navy);
  text-decoration: none;
}

.authors-crumb a:hover {
  color: var(--au-blue);
}

.authors-crumb .is-current {
  color: var(--au-navy);
  font-weight: 700;
}

.authors-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--au-navy);
}

.authors-lead {
  margin: 0 0 26px;
  max-width: 36rem;
  font-size: 1.06rem;
  line-height: 1.55;
  color: #5b6b85;
}

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

.authors-pills li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.authors-pill-ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dfeafd;
  color: var(--au-blue);
}

.authors-pill-txt strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--au-ink);
  line-height: 1.25;
}

.authors-pill-txt span {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--au-muted);
}

.authors-hero-art {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.authors-hero-art img {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  border-radius: 20px;
}

.authors-hero-caption {
  flex: none;
  width: 30%;
  max-width: 10.5rem;
}

.authors-slogan {
  margin: 0;
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--au-navy);
}

.authors-slogan span {
  background: linear-gradient(transparent 58%, #fde047 58%, #fde047 94%, transparent 94%);
}

.authors-slogan-sub {
  margin: 12px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--au-muted);
}

/* ---------- section head ---------- */

.authors-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin: 44px 0 24px;
}

.authors-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--au-navy);
  margin-bottom: 10px;
}

.authors-kicker::before {
  content: "";
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: var(--au-yellow);
}

.authors-band h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--au-navy);
}

.authors-band-lead {
  margin: 0;
  color: #5b6b85;
  font-size: 1rem;
  line-height: 1.55;
}

/* ---------- cards ---------- */

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

.author-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--au-line);
  border-radius: 18px;
  background: var(--au-card);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.author-card:hover {
  border-color: #c7dbfe;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.author-card-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.author-card-avatar {
  flex: none;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--au-yellow);
  box-shadow: 0 0 0 3px #fff;
  background: #ececf0;
}

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

.author-card-role {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--au-blue);
  margin-bottom: 4px;
}

.authors-grid .author-card:nth-child(2) .author-card-role {
  color: #d8a316;
}

.author-card-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--au-navy);
}

.author-card:hover .author-card-name {
  color: var(--au-blue);
}

.author-card-desc {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--au-muted);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.author-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.author-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #475569;
}

.author-card-meta strong {
  font-weight: 800;
  color: var(--au-ink);
}

.author-card-meta-ico {
  display: grid;
  place-items: center;
  color: var(--au-blue);
}

.author-card-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--au-blue);
  background: #e6effd;
  border-radius: 999px;
  padding: 9px 16px;
}

.author-card:hover .author-card-cta {
  background: var(--au-blue);
  color: #fff;
}

/* ---------- quote ---------- */

.authors-quote {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 28px;
  border-radius: 18px;
  background: var(--au-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.authors-quote::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 92px;
  height: 58px;
  background-image: radial-gradient(#bfd3f5 1.6px, transparent 1.7px);
  background-size: 13px 13px;
  opacity: 0.8;
  pointer-events: none;
}

.authors-quote-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--au-yellow);
  color: #7a5a02;
}

.authors-quote p {
  position: relative;
  margin: 0;
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--au-navy);
}

.authors-quote footer {
  position: relative;
  margin-top: 18px;
  padding-top: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  font-style: normal;
  color: #475569;
}

.authors-quote footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--au-yellow);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .authors-hero-band {
    padding: 78px 0 34px;
    background:
      radial-gradient(90% 60% at 92% 4%, rgba(250, 204, 21, 0.22) 0%, rgba(250, 204, 21, 0) 60%),
      radial-gradient(80% 50% at 10% 30%, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 65%),
      linear-gradient(180deg, #f7faff 0%, #f3f7ff 100%);
  }

  .authors-hero,
  .authors-band {
    grid-template-columns: 1fr;
  }

  .authors-band {
    align-items: start;
  }

  .authors-pills {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .authors-hero-caption {
    width: 38%;
  }
}

@media (max-width: 720px) {
  .authors-grid {
    grid-template-columns: 1fr;
  }

  .authors-hero-art {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .authors-hero-caption {
    width: auto;
    max-width: none;
    order: 2;
  }
}

@media (max-width: 640px) {
  .author-card-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-card-foot {
    flex-direction: column;
    gap: 14px;
  }
}

/* ---------- dark ---------- */

html[data-theme="dark"] .authors-page {
  --au-ink: #e5e7eb;
  --au-navy: #dbeafe;
  --au-muted: #94a3b8;
  --au-line: #2b3547;
  --au-card: #151b28;
  --au-soft: #16202f;
  --au-blue: #7aa7f8;
}

html[data-theme="dark"] .authors-hero-band {
  background:
    radial-gradient(120% 130% at 88% 12%, rgba(250, 204, 21, 0.10) 0%, rgba(250, 204, 21, 0) 55%),
    radial-gradient(85% 110% at 18% 0%, rgba(59, 130, 246, 0.14) 0%, rgba(59, 130, 246, 0) 62%),
    linear-gradient(180deg, #111725 0%, #0f1420 100%);
}

html[data-theme="dark"] .authors-hero-band::before {
  background: rgba(59, 130, 246, 0.08);
}

html[data-theme="dark"] .authors-slogan span {
  background: linear-gradient(transparent 58%, rgba(250, 204, 21, 0.28) 58%, rgba(250, 204, 21, 0.28) 94%, transparent 94%);
}

html[data-theme="dark"] .authors-lead,
html[data-theme="dark"] .authors-band-lead {
  color: #a8b6cc;
}

html[data-theme="dark"] .authors-pill-ico {
  background: #1e2a44;
  color: #93c5fd;
}

html[data-theme="dark"] .author-card-meta {
  color: #a8b6cc;
}

html[data-theme="dark"] .author-card-cta {
  background: #1e3a5f;
  color: #cfe0ff;
}

html[data-theme="dark"] .author-card-avatar {
  box-shadow: 0 0 0 3px #151b28;
}

html[data-theme="dark"] .authors-quote::after {
  background-image: radial-gradient(#31425f 1.6px, transparent 1.7px);
}

html[data-theme="dark"] .authors-quote footer {
  color: #a8b6cc;
}
