:root {
  --author-copy: #d8e5f8;
  --author-strong: #f2f7ff;
  --author-muted: #9fb3d0;
  --author-line: rgba(255, 255, 255, 0.09);
  --author-teal-line: rgba(102, 255, 230, 0.22);
}

.hero-author {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      900px 430px at 88% -18%,
      rgba(83, 109, 254, 0.14),
      transparent 72%
    ),
    radial-gradient(
      760px 380px at 4% -24%,
      rgba(0, 214, 200, 0.11),
      transparent 72%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.hero-author::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    linear-gradient(
      90deg,
      transparent calc(50% - 0.5px),
      rgba(145, 172, 216, 0.09) 50%,
      transparent calc(50% + 0.5px)
    ),
    linear-gradient(
      180deg,
      transparent calc(100% - 1px),
      rgba(145, 172, 216, 0.09) 100%
    );
  background-size:
    180px 100%,
    100% 100%;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 17%,
    #000 83%,
    transparent
  );
}

.hero-slim {
  padding: 10px 0 42px;
}

.hero-inner-slim {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: 1fr !important;
  padding-top: 22px;
}

.author-breadcrumb {
  margin-bottom: 26px;
}

.author-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.author-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.author-breadcrumb li + li::before {
  content: "/";
  flex: 0 0 auto;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.28);
}

.author-breadcrumb a {
  color: #cfe2ff;
  text-decoration: none;
}

.author-breadcrumb a:hover {
  color: var(--teal-2);
}

.author-breadcrumb a:focus-visible,
.author-hero-meta a:focus-visible,
.author-post-card a:focus-visible,
.author-search-clear:focus-visible,
.author-pagination a:focus-visible,
.author-empty a:focus-visible {
  outline: 2px solid var(--teal-2);
  outline-offset: 3px;
}

.author-breadcrumb li[aria-current="page"] {
  max-width: min(48vw, 420px);
  overflow: hidden;
  color: #dbe8ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-hero {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  max-width: 920px;
}

.author-portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 32% 22%,
      rgba(102, 255, 230, 0.15),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      rgba(83, 109, 254, 0.13),
      rgba(255, 255, 255, 0.025)
    );
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.author-portrait::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(102, 255, 230, 0.34),
    transparent 42%,
    rgba(83, 109, 254, 0.24)
  );
  opacity: 0.52;
}

.author-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-portrait > span {
  color: #dffffa;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 2.15rem;
  font-weight: 750;
  letter-spacing: -0.04em;
}

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

.author-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #8ff7e7;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.author-eyebrow i {
  font-size: 0.92rem;
}

.author-hero h1 {
  max-width: 22ch;
  margin: 0;
  color: var(--author-strong);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.author-designation {
  margin: 9px 0 0;
  color: #b8cce7;
  font-size: 0.94rem;
  font-weight: 720;
}

.author-credentials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-top: 12px;
}

.author-credentials-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8398b3;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.author-credentials-label i {
  color: #8ff7e7;
  font-size: 0.88rem;
}

.author-credential-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.author-credential-list li {
  padding: 4px 8px;
  border: 1px solid rgba(113, 133, 255, 0.18);
  border-radius: 7px;
  color: #c5cffd;
  background: rgba(83, 109, 254, 0.055);
  font-size: 0.63rem;
  font-weight: 790;
  line-height: 1.25;
}

.author-summary {
  max-width: 68ch;
  margin: 13px 0 0;
  color: #c9d8ec;
  font-size: 0.96rem;
  line-height: 1.72;
}

.author-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 17px;
}

.author-hero-meta span,
.author-hero-meta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  color: #aebfd7;
  font-size: 0.8rem;
  font-weight: 720;
}

.author-hero-meta span {
  padding: 6px 10px;
  border: 1px solid rgba(102, 255, 230, 0.16);
  border-radius: 9px;
  background: rgba(0, 214, 200, 0.045);
}

.author-hero-meta span i,
.author-hero-meta span strong {
  color: #9affef;
}

.author-hero-meta a {
  color: #cbdcf0;
  text-decoration: none;
}

.author-hero-meta a:hover {
  color: #9affef;
}

.author-hero-meta .author-profile-link {
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(102, 255, 230, 0.24);
  border-radius: 9px;
  color: #b9fff5;
  background: rgba(0, 214, 200, 0.065);
  box-shadow: inset 0 0 0 1px rgba(102, 255, 230, 0.018);
}

.author-profile-link i:first-child {
  color: #8ff7e7;
}

.author-profile-link i:last-child {
  color: #8ff7e7;
  transition: transform 0.16s ease;
}

.author-hero-meta .author-profile-link:hover {
  border-color: rgba(102, 255, 230, 0.38);
  color: #e2fffb;
  background: rgba(0, 214, 200, 0.1);
}

.author-profile-link:hover i:last-child {
  transform: translateX(2px);
}

.author-main {
  position: relative;
  padding: 58px 0 86px;
}

.author-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      760px 380px at 7% 0%,
      rgba(0, 214, 200, 0.04),
      transparent 72%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 34%);
}

.author-content-wrap {
  position: relative;
}

.author-posts-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--author-line);
}

.author-posts-heading {
  min-width: 0;
}

.section-kicker {
  margin: 0 0 7px;
  color: #7ef4e2;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.author-posts-heading h2 {
  margin: 0;
  color: var(--author-strong);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.16;
  text-wrap: balance;
}

.author-posts-heading > p:last-child {
  max-width: 650px;
  margin: 9px 0 0;
  color: var(--author-muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.author-search {
  display: grid;
  gap: 7px;
}

.author-search-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.author-search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.author-search-field i {
  position: absolute;
  left: 12px;
  z-index: 1;
  color: #8ea3c0;
  font-size: 1rem;
  pointer-events: none;
}

.author-search-field input {
  width: 100%;
  height: 43px;
  padding: 0 13px 0 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  outline: none;
  background: rgba(255, 255, 255, 0.025);
  color: #e8f2ff;
  font: inherit;
  font-size: 0.86rem;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease;
}

.author-search-field input::placeholder {
  color: #8296b2;
}

.author-search-field input:focus {
  border-color: rgba(102, 255, 230, 0.48);
  background: rgba(0, 214, 200, 0.035);
  box-shadow: 0 0 0 3px rgba(0, 214, 200, 0.09);
}

.author-search-button,
.author-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  padding: 0 14px;
  border-radius: 11px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  white-space: nowrap;
}

.author-search-button {
  border: 1px solid rgba(102, 255, 230, 0.28);
  background: rgba(0, 214, 200, 0.09);
  color: #a5fff2;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.author-search-button:hover {
  border-color: rgba(102, 255, 230, 0.46);
  background: rgba(0, 214, 200, 0.14);
  transform: translateY(-1px);
}

.author-search-button:focus-visible {
  outline: 2px solid var(--teal-2);
  outline-offset: 3px;
}

.author-search-clear {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: #b8cae0;
  text-decoration: none;
}

.author-search-clear:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: #eef5ff;
}

.author-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.author-post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 270px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    radial-gradient(
      420px 170px at 100% 0%,
      rgba(83, 109, 254, 0.075),
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.034),
      rgba(255, 255, 255, 0.017)
    );
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.author-post-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 54px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(102, 255, 230, 0.88),
    rgba(83, 109, 254, 0.28)
  );
}

.author-post-card:hover {
  border-color: rgba(102, 255, 230, 0.2);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.author-post-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.author-post-category {
  display: inline-flex;
  align-items: center;
  color: #85f2e2;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.author-post-category:hover {
  color: #c0fff6;
}

.author-post-category--static {
  color: #a9bad2;
}

.author-post-card-top time {
  color: #8398b6;
  font-size: 0.72rem;
  font-weight: 700;
}

.author-post-title {
  margin: 0;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 620;
  letter-spacing: -0.018em;
  line-height: 1.32;
  text-wrap: pretty;
}

.author-post-title a {
  color: #edf4ff;
  text-decoration: none;
}

.author-post-title a:hover {
  color: #a7fff2;
}

.author-post-excerpt {
  display: -webkit-box;
  margin: 12px 0 20px;
  overflow: hidden;
  color: #aebfd6;
  font-size: 0.88rem;
  line-height: 1.68;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.author-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--author-line);
}

.author-post-reads {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #92a7c3;
  font-size: 0.74rem;
  font-weight: 730;
}

.author-post-reads i {
  color: #c5d8ee;
  font-size: 0.94rem;
}

.author-post-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8ff7e7;
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.author-post-link i {
  transition: transform 0.16s ease;
}

.author-post-link:hover {
  color: #c1fff6;
}

.author-post-link:hover i {
  transform: translateX(3px);
}

.author-pagination {
  display: grid;
  grid-template-columns: minmax(112px, 1fr) auto minmax(112px, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--author-line);
}

.pagination-direction,
.pagination-pages a,
.pagination-pages > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: #c5d6eb;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.pagination-direction {
  width: fit-content;
  gap: 7px;
  padding: 0 12px;
}

.pagination-direction:last-child {
  justify-self: end;
}

.pagination-direction:hover,
.pagination-pages a:hover {
  border-color: rgba(102, 255, 230, 0.3);
  background: rgba(0, 214, 200, 0.065);
  color: #a5fff2;
}

.pagination-direction.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.pagination-pages > span.is-current {
  border-color: rgba(102, 255, 230, 0.38);
  background: rgba(0, 214, 200, 0.11);
  color: #a5fff2;
  box-shadow: inset 0 0 0 1px rgba(102, 255, 230, 0.04);
}

.pagination-pages > span.pagination-ellipsis {
  min-width: 22px;
  border-color: transparent;
  background: transparent;
  color: #7287a5;
}

.pagination-summary {
  margin: 12px 0 0;
  color: #7f94b0;
  font-size: 0.72rem;
  font-weight: 680;
  text-align: center;
}

.author-empty {
  display: grid;
  justify-items: center;
  max-width: 680px;
  margin: 20px auto 0;
  padding: 44px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    radial-gradient(
      400px 170px at 50% 0%,
      rgba(83, 109, 254, 0.08),
      transparent 72%
    ),
    rgba(255, 255, 255, 0.02);
  text-align: center;
}

.author-empty > i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(102, 255, 230, 0.22);
  border-radius: 15px;
  background: rgba(0, 214, 200, 0.07);
  color: #99fbed;
  font-size: 1.35rem;
}

.author-empty h2 {
  margin: 17px 0 0;
  color: var(--author-strong);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 620;
}

.author-empty p {
  max-width: 52ch;
  margin: 9px 0 0;
  color: #9fb2cb;
  font-size: 0.88rem;
  line-height: 1.65;
}

.author-empty a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(102, 255, 230, 0.24);
  border-radius: 10px;
  background: rgba(0, 214, 200, 0.07);
  color: #a5fff2;
  font-size: 0.78rem;
  font-weight: 830;
  text-decoration: none;
}

.author-empty a:hover {
  border-color: rgba(102, 255, 230, 0.42);
  background: rgba(0, 214, 200, 0.12);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .author-posts-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .author-search {
    max-width: 620px;
  }
}

@media (max-width: 780px) {
  .hero-slim {
    padding-bottom: 34px;
  }

  .hero-inner-slim {
    padding-top: 16px;
  }

  .author-breadcrumb {
    margin-bottom: 21px;
  }

  .author-breadcrumb li[aria-current="page"] {
    display: none;
  }

  .author-breadcrumb li:last-child::before {
    display: none;
  }

  .author-hero {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 22px;
  }

  .author-portrait {
    width: 112px;
    height: 112px;
    border-radius: 23px;
  }

  .author-portrait > span {
    font-size: 1.75rem;
  }

  .author-hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.55rem);
  }

  .author-summary {
    grid-column: 1 / -1;
  }

  .author-main {
    padding: 44px 0 66px;
  }

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

  .author-post-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .author-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .author-portrait {
    width: 96px;
    height: 96px;
    border-radius: 21px;
  }

  .author-summary {
    grid-column: auto;
  }

  .author-hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .author-search-row {
    flex-wrap: wrap;
  }

  .author-search-field {
    flex-basis: 100%;
  }

  .author-search-button,
  .author-search-clear {
    flex: 1 1 auto;
  }

  .author-pagination {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .pagination-pages {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .pagination-direction {
    grid-row: 2;
  }
}

@media (max-width: 420px) {
  .author-post-card {
    padding: 17px;
  }

  .author-post-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pagination-pages {
    gap: 5px;
  }

  .pagination-pages a,
  .pagination-pages > span {
    min-width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .author-search-field input,
  .author-search-button,
  .author-post-card,
  .author-post-link i,
  .author-profile-link i:last-child,
  .author-empty a {
    transition: none;
  }
}