/* Our Books / Authors / Book detail — matched to Rockefeller theme */

.rp-books-hero,
.rp-author-hero,
.rp-book-hero {
  font-family: "Inter", sans-serif;
}

.rp-books-section,
.rp-author-books,
.rp-book-lower {
  background: var(--body);
}

.rp-books-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.rp-books-sidebar {
  width: 260px;
  flex-shrink: 0;
}

.rp-filter-block {
  margin-bottom: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
}

.rp-filter-block__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--header);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--theme);
}

.rp-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
}

.rp-filter-list li {
  margin: 0;
}

.rp-filter-list a,
.rp-filter-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: "Inter", sans-serif;
}

.rp-filter-list a:hover,
.rp-filter-list button:hover,
.rp-filter-list a.active,
.rp-filter-list button.active {
  color: var(--hover-color);
  font-weight: 600;
}

.rp-books-main {
  flex: 1;
  min-width: 0;
}

.rp-books-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.rp-books-toolbar__title,
.rp-author-books__title,
.rp-section-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--header);
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--theme);
}

.rp-books-toolbar__title {
  flex: 1;
  min-width: 180px;
}

.rp-author-books__title,
.rp-section-title {
  display: inline-block;
  min-width: 160px;
  margin-bottom: 28px;
}

.rp-books-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  position: relative;
  z-index: 5;
  flex-shrink: 0;
}

.rp-books-sort label {
  white-space: nowrap;
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.rp-books-sort select.rp-sort-select,
.rp-books-sort select#rp-sort-by {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block !important;
  width: auto;
  min-width: 170px;
  max-width: 220px;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 40px 10px 16px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--header);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2311112C' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}

.rp-books-sort select.rp-sort-select:focus,
.rp-books-sort select#rp-sort-by:focus {
  border-color: var(--theme);
}

/* Hide broken nice-select wrapper if theme still injects it */
.rp-books-sort .nice-select {
  display: none !important;
}

/* Book cards */
.rp-book-card {
  background: #fff;
  margin-bottom: 28px;
  height: calc(100% - 28px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 30px 0px rgba(253, 172, 172, 0.25);
}

.rp-book-card__media {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: var(--bg);
}

.rp-book-card__media img {
  max-height: 100%;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 20px rgba(17, 17, 44, 0.15);
  transition: transform 0.25s ease;
}

.rp-book-card:hover .rp-book-card__media img {
  transform: translateY(-4px);
}

.rp-book-card__body {
  padding: 18px 18px 22px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rp-book-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--header);
}

.rp-book-card__title a {
  color: inherit;
  text-decoration: none;
}

.rp-book-card__title a:hover {
  color: var(--hover-color);
}

.rp-book-card__author {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 16px;
}

.rp-book-card__author a {
  color: inherit;
  text-decoration: none;
}

.rp-book-card__author a:hover {
  color: var(--hover-color);
}

.rp-book-card__btn {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  background: var(--theme);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: "Inter", sans-serif;
}

.rp-book-card__btn:hover {
  background: var(--header);
  color: #fff !important;
}

.rp-book-item.is-hidden {
  display: none !important;
}

.rp-books-empty {
  display: none;
  padding: 40px 20px;
  text-align: center;
  color: var(--text);
  font-size: 16px;
}

.rp-books-empty.is-visible {
  display: block;
}

/* Author profile hero */
.rp-author-hero {
  background: linear-gradient(135deg, var(--header) 0%, #2a2a4a 55%, #3d2a35 100%);
  padding: 56px 0 40px;
  color: #fff;
  position: relative;
}

.rp-author-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(253, 172, 172, 0.28), transparent 45%);
  pointer-events: none;
}

.rp-author-hero .container {
  position: relative;
  z-index: 1;
}

.rp-author-hero__inner {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.rp-author-hero__photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--theme);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rp-author-hero__content {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}

.rp-author-hero__name {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
}

.rp-author-hero__bio {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 820px;
}

.rp-author-breadcrumb {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.rp-author-breadcrumb a {
  color: var(--theme);
  text-decoration: none;
  font-weight: 600;
}

.rp-author-breadcrumb a:hover {
  color: #fff;
}

.rp-author-subnav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 14px;
}

.rp-author-subnav a {
  color: var(--header);
  text-decoration: none;
  margin-right: 6px;
  font-weight: 500;
}

.rp-author-subnav a:hover,
.rp-author-subnav a.active {
  color: var(--hover-color);
  font-weight: 700;
}

.rp-author-subnav .sep {
  color: var(--text);
  margin-right: 6px;
}

.rp-author-books {
  padding: 50px 0 70px;
}

/* Book detail hero */
.rp-book-hero {
  background: linear-gradient(135deg, var(--header) 0%, #262640 50%, #4a3038 100%);
  padding: 56px 0 60px;
  color: #fff;
  position: relative;
}

.rp-book-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(253, 172, 172, 0.25), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 123, 107, 0.15), transparent 35%);
  pointer-events: none;
}

.rp-book-hero .container {
  position: relative;
  z-index: 1;
}

.rp-book-hero__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.rp-book-hero__cover img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.rp-book-hero__title {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 10px;
}

.rp-book-hero__by {
  font-size: 20px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
}

.rp-book-hero__by a {
  color: var(--theme);
  text-decoration: none;
  font-weight: 700;
}

.rp-book-hero__by a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rp-book-hero__synopsis p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 14px;
}

.rp-book-hero__genre {
  margin: 24px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.rp-book-hero__genre strong,
.rp-book-hero__genre span {
  color: var(--theme);
  font-weight: 700;
}

.rp-book-hero__buy {
  margin: 22px 0 0;
}

.rp-book-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--theme);
  color: var(--header);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rp-book-buy-btn:hover {
  background: #f7b9b9;
  color: var(--header);
  transform: translateY(-2px);
}

.rp-book-lower {
  padding: 56px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.rp-book-lower__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.rp-book-reviews__head {
  margin-bottom: 28px;
}

.rp-book-reviews__intro {
  margin: 10px 0 0;
  color: #7a7078;
  font-size: 15px;
}

.rp-book-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rp-review {
  margin: 0;
  padding: 22px 24px 20px 22px;
  background: #fff;
  border: 1px solid rgba(17, 17, 44, 0.06);
  border-left: 3px solid var(--theme);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 8px 24px rgba(17, 17, 44, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rp-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 17, 44, 0.08);
}

.rp-review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.rp-review__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 0.7;
  color: var(--theme);
  font-weight: 700;
}

.rp-review__stars {
  color: #e8a0a0;
  font-size: 13px;
  letter-spacing: 2px;
}

.rp-review__quote {
  margin: 0;
  color: var(--header);
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
}

.rp-review__source {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 0;
}

.rp-review__source-line {
  width: 28px;
  height: 2px;
  background: var(--theme);
  flex-shrink: 0;
}

.rp-review__source cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #c47878;
}

.rp-author-card {
  position: sticky;
  top: 110px;
  background: linear-gradient(165deg, var(--header) 0%, #222240 55%, #332832 100%);
  color: #fff;
  padding: 32px 26px 28px;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(17, 17, 44, 0.18);
  border-top: 4px solid var(--theme);
}

.rp-author-card__photo {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid var(--theme);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.rp-author-card__name {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
}

.rp-author-card__bio {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 22px;
  text-align: left;
}

.rp-author-card__btn {
  display: inline-block;
  background: var(--theme);
  color: var(--header) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: "Inter", sans-serif;
}

.rp-author-card__btn:hover {
  background: #f7b9b9;
  color: var(--header) !important;
  transform: translateY(-1px);
}

/* Soft media tint overrides for cards that still set inline bg */
.rp-book-card__media[style] {
  background-image: linear-gradient(180deg, rgba(252, 240, 244, 0.92), rgba(253, 172, 172, 0.18)) !important;
  background-blend-mode: soft-light;
}

@media (max-width: 991px) {
  .rp-books-layout {
    flex-direction: column;
    gap: 28px;
  }

  .rp-books-sidebar {
    width: 100%;
  }

  .rp-filter-list {
    max-height: 180px;
  }

  .rp-author-hero__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rp-author-hero__bio {
    margin: 0 auto;
  }

  .rp-author-breadcrumb {
    text-align: center;
  }

  .rp-author-hero__name,
  .rp-book-hero__title {
    font-size: 32px;
  }

  .rp-book-hero__grid,
  .rp-book-lower__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rp-author-card {
    position: static;
  }

  .rp-book-hero__cover {
    text-align: center;
  }

  .rp-book-hero__cover img {
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .rp-book-card__media {
    height: 240px;
  }

  .rp-author-hero__photo {
    width: 140px;
    height: 140px;
  }

  .rp-book-hero,
  .rp-author-hero {
    padding: 36px 0 40px;
  }
}

/* ===== Our Authors (A–Z directory) ===== */
.rp-authors-page {
  background: var(--bg);
}

.rp-authors-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme);
}

.rp-authors-kicker--dark {
  color: #c47878;
}

.rp-authors-spotlight {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(253, 172, 172, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(253, 172, 172, 0.12), transparent 50%),
    linear-gradient(145deg, #11112c 0%, #1c1c3a 48%, #2b2230 100%);
  overflow: hidden;
}

.rp-authors-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.rp-authors-spotlight .container {
  position: relative;
  z-index: 1;
}

.rp-authors-spotlight__head {
  text-align: center;
  margin-bottom: 36px;
}

.rp-authors-spotlight__title {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
}

.rp-authors-featured {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 16px;
}

.rp-authors-featured__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-authors-featured__item:hover {
  transform: translateY(-8px);
  color: #fff;
}

.rp-authors-featured__photo {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(145deg, var(--theme), #f7d2d2 45%, #fff6 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.rp-authors-featured__item:hover .rp-authors-featured__photo {
  box-shadow: 0 22px 48px rgba(253, 172, 172, 0.35);
}

.rp-authors-featured__photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #11112c;
}

.rp-authors-featured__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  max-width: 160px;
}

.rp-authors-featured__meta {
  margin-top: -6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.rp-authors-directory {
  background:
    linear-gradient(180deg, #fff 0%, var(--bg) 120px);
}

.rp-authors-directory__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.rp-authors-directory__title {
  margin: 0;
  color: var(--header);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

.rp-authors-directory__meta {
  margin: 8px 0 0;
  color: #7a7078;
  font-size: 14px;
}

.rp-authors-books-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--header);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rp-authors-books-link:hover {
  background: #2a2a4a;
  color: #fff;
  transform: translateY(-2px);
}

.rp-az-nav {
  position: sticky;
  top: 90px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin: 0 0 36px;
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 2px solid var(--theme);
  border-bottom: 1px solid rgba(17, 17, 44, 0.08);
  box-shadow: 0 8px 20px rgba(17, 17, 44, 0.04);
  backdrop-filter: blur(8px);
}

.rp-az-nav a,
.rp-az-nav span {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--header);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  border-radius: 6px;
}

.rp-az-nav a:hover {
  color: #8a4a55;
  background: rgba(253, 172, 172, 0.28);
  transform: translateY(-2px);
}

.rp-az-nav a.is-active {
  background: var(--theme);
  color: var(--header);
}

.rp-az-nav span.is-disabled {
  color: rgba(17, 17, 44, 0.22);
  cursor: default;
}

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

.rp-author-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 8px 4px;
  transition: transform 0.3s ease;
}

.rp-author-tile:hover {
  transform: translateY(-4px);
}

.rp-author-tile__media {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, var(--theme), #f3c4c4);
  text-decoration: none;
}

.rp-author-tile__media img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #fff;
  background: #eee;
}

.rp-author-tile__body {
  max-width: 280px;
}

.rp-author-tile__sort {
  margin: 0 0 4px;
  color: #9a8f97;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.rp-author-tile__name {
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.rp-author-tile__name a {
  color: var(--header);
  text-decoration: none;
}

.rp-author-tile__name a:hover {
  color: #8a4a55;
}

.rp-author-tile__count {
  margin: 0 0 10px;
  color: #c47878;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rp-author-tile__bio {
  margin: 0 0 14px;
  color: #6d646c;
  font-size: 14px;
  line-height: 1.5;
}

.rp-author-tile__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--theme);
  color: var(--header);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rp-author-tile__btn:hover {
  background: #f7b9b9;
  color: var(--header);
  transform: translateY(-1px);
}

.rp-authors-empty {
  margin: 40px 0;
  text-align: center;
  color: #7a7078;
  font-size: 16px;
}

.rp-authors-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.rp-authors-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--header);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rp-authors-pagination__btn:hover {
  background: #2a2a4a;
  color: #fff;
  transform: translateY(-1px);
}

.rp-authors-pagination__btn.is-disabled {
  background: rgba(17, 17, 44, 0.18);
  color: rgba(255, 255, 255, 0.75);
  cursor: default;
  transform: none;
}

.rp-authors-pagination__pages {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rp-authors-pagination__pages a,
.rp-authors-pagination__pages span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--header);
  background: #fff;
  border: 1px solid rgba(17, 17, 44, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rp-authors-pagination__pages a:hover {
  border-color: var(--theme);
  background: rgba(253, 172, 172, 0.25);
}

.rp-authors-pagination__pages span.is-current {
  background: var(--theme);
  border-color: var(--theme);
  color: var(--header);
}

@media (max-width: 991px) {
  .rp-authors-spotlight {
    padding: 44px 0 48px;
  }

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

  .rp-az-nav {
    top: 70px;
  }

  .rp-authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }
}

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

  .rp-authors-featured__photo {
    width: 118px;
    height: 118px;
  }

  .rp-authors-directory__head {
    align-items: flex-start;
  }

  .rp-authors-grid {
    grid-template-columns: 1fr;
  }

  .rp-az-nav {
    position: static;
  }

  .rp-authors-pagination {
    gap: 12px;
  }
}
