/* Author detail left rail — clear section breaks */
.ab-nav {
  padding-top: 0.15rem;
}
.ab-nav .ab-nav-group {
  padding: 0.15rem 0 0.55rem;
}
.ab-nav .ab-nav-group + .ab-nav-group {
  margin-top: 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ss-studio.ss-light .ab-nav .ab-nav-group + .ab-nav-group {
  border-top-color: #ddd6cb;
}
.ab-nav .ss-nav-section {
  padding-top: 0.2rem;
  padding-bottom: 0.4rem;
  margin-bottom: 0.1rem;
  color: #8a93a0;
  letter-spacing: 0.12em;
}
.ss-studio.ss-light .ab-nav .ss-nav-section {
  color: #6b655c;
}
.ab-nav .ss-nav-list a {
  font-weight: 500;
}
.ss-studio.ss-light .ab-nav .ss-nav-list a {
  color: #2a2620;
  font-weight: 600;
}
.ss-studio.ss-light .ab-nav .ss-nav-list a:hover {
  background: rgba(28, 25, 21, 0.05);
  color: #151310;
}
.ab-nav-empty {
  display: block;
  padding: 0.4rem 0.85rem;
  color: #6b7582;
  font-size: 0.82rem;
}
.ss-studio.ss-light .ab-nav-empty {
  color: #6b655c;
}

/* Author biography — light studio shell */
.ab-hero {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.15rem;
  margin-bottom: 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid #e1e8f0;
  background:
    linear-gradient(135deg, #f7fafc 0%, #ffffff 55%, #f3f7fb 100%);
}
@media (max-width: 640px) {
  .ab-hero {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
.ab-photo {
  width: 140px;
  height: 140px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #d7e0ea;
  background: #e8eef5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-photo .ab-initial {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #0d3b66;
}
.ab-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  color: #122033;
  margin: 0 0 0.25rem;
  line-height: 1.15;
}
.ab-meta {
  margin: 0;
  color: #5f7081;
  font-size: 0.9rem;
}
.ab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.ab-actions .btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
}
.ab-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.85rem 0 1rem;
}
@media (max-width: 520px) {
  .ab-stats { grid-template-columns: 1fr; }
}
.ab-stat {
  padding: 0.75rem 0.85rem;
  border-radius: 0.7rem;
  border: 1px solid #e1e8f0;
  background: #fff;
}
.ab-stat strong {
  display: block;
  font-size: 1.25rem;
  color: #122033;
  line-height: 1.1;
}
.ab-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7c8d;
  font-weight: 700;
}
.ab-section {
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid #e1e8f0;
  background: #fff;
  color: #1c1915;
}
.ab-section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #122033;
  margin: 0 0 0.75rem;
}
.ab-bio {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #243647;
}
.ab-bio p:last-child { margin-bottom: 0; }
.ab-match {
  padding: 0.7rem 0;
  border-top: 1px solid #edf1f6;
}
.ab-match:first-of-type { border-top: 0; padding-top: 0; }
.ab-match h3 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
}
.ab-match h3 a { color: #0d3b66; text-decoration: none; }
.ab-match h3 a:hover { text-decoration: underline; }
.ab-match p {
  margin: 0 0 0.45rem;
  color: #5f7081;
  font-size: 0.88rem;
}
.ab-table-wrap { overflow-x: auto; }
.ab-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}
.ab-table th,
.ab-table td {
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid #edf1f6;
  vertical-align: middle;
  font-size: 0.9rem;
  color: #1c1915;
}
.ab-table th {
  color: #4a453e;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ab-table td:first-child,
.ab-table td:nth-child(3),
.ab-table td:nth-child(4) {
  color: #3d3830;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ab-table a {
  color: #0d3b66;
  font-weight: 600;
  text-decoration: none;
}
.ab-table a:hover { text-decoration: underline; }
.ss-studio.ss-light .ab-section,
.ss-studio.ss-light .ab-table,
.ss-studio.ss-light .ab-table td {
  color: #1c1915;
}
.ss-studio.ss-light .ab-table th {
  color: #4a453e;
}
.ss-studio.ss-light .ab-meta,
.ss-studio.ss-light .ab-stat span,
.ss-studio.ss-light .ab-side-list small,
.ss-studio.ss-light .ab-contact,
.ss-studio.ss-light .ab-match p {
  color: #4a453e;
}
.ab-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-side-list li + li { margin-top: 0.45rem; }
.ab-side-list a {
  display: block;
  color: #2b3d4f;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.ab-side-list a:hover { color: #0d3b66; }
.ab-side-list small {
  display: block;
  color: #7a8b9c;
  font-weight: 500;
  font-size: 0.75rem;
}
.ab-contact {
  text-align: center;
  color: #5f7081;
  font-size: 0.9rem;
  margin: 1rem 0 0.5rem;
}
.ab-banner {
  text-align: center;
  margin: 0.75rem 0;
}

/* Writers list (post-hero) */
.writers-band {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}
.writers-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 992px) {
  .writers-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}
.writers-main { min-width: 0; }
.writers-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
@media (min-width: 992px) {
  .writers-aside {
    position: sticky;
    top: 5.5rem;
  }
}
.writers-aside-card {
  border: 1px solid #e1e8f0;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  padding: 0.9rem;
}
.writers-aside-card h2 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #122033;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.writers-aside-card h2 .bi { color: #1b5fa0; }
.writers-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.writers-aside-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.3rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
}
.writers-aside-list a:hover {
  background: #f7fafc;
  border-color: #e1e8f0;
  color: inherit;
}
.writers-aside-thumb {
  width: 42px;
  height: 42px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #e8eef5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: #0d3b66;
  flex-shrink: 0;
}
.writers-aside-thumb-cover {
  width: 32px;
  height: 44px;
  border-radius: 0.3rem;
  justify-self: center;
}
.writers-aside-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.writers-aside-thumb-cover img { object-position: top; }
.writers-aside-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.writers-aside-copy strong {
  font-size: 0.88rem;
  color: #122033;
  line-height: 1.3;
}
.writers-aside-copy small {
  font-size: 0.74rem;
  color: #6b7c8d;
}
.writers-aside-more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1b5fa0;
  text-decoration: none;
}
.writers-aside-more:hover { text-decoration: underline; }
.writers-verse-card h2 { margin-bottom: 0.55rem; }
.writers-verse-box {
  position: relative;
  padding: 1.15rem 0.9rem;
  border-radius: 0.7rem;
  overflow: hidden;
  color: #fff;
  min-height: 140px;
  text-align: center;
  background: #0d3b66;
}
.writers-verse-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(201, 162, 39, 0.35), transparent 55%),
    linear-gradient(145deg, #0d3b66 0%, #1b5fa0 100%);
  opacity: 0.95;
  z-index: 0;
}
.writers-verse-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 30, 0.35);
  z-index: 1;
}
.writers-verse-box .dailyVerses {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  line-height: 1.45;
}
.writers-verse-box .dailyVerses a {
  color: #ffd700;
  font-weight: 700;
  text-decoration: none;
}
.writers-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e1e8f0;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.writers-toolbar form {
  display: flex;
  gap: 0.45rem;
  flex: 1 1 260px;
  min-width: 0;
}
.writers-toolbar .form-control,
.writers-toolbar .form-select {
  border-radius: 0.55rem;
  border-color: #d6e1ee;
  min-height: 42px;
}
.writers-toolbar .btn {
  border-radius: 0.55rem;
  font-weight: 600;
  min-height: 42px;
}
.writers-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.writers-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.writers-stat {
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #e1e8f0;
  background: #fff;
}
.writers-stat strong {
  display: block;
  font-size: 1.2rem;
  color: #122033;
}
.writers-stat span {
  font-size: 0.75rem;
  color: #6b7c8d;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.writers-latest {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  border: 1px solid #e1e8f0;
  background: linear-gradient(135deg, #f8fafc, #fff);
  text-decoration: none;
  color: inherit;
}
.writers-latest:hover { border-color: #bcd0e6; color: inherit; }
.writers-latest-thumb {
  width: 72px;
  height: 72px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e8eef5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.writers-latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.writers-latest-thumb span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #0d3b66;
}
.writers-latest strong { display: block; color: #122033; }
.writers-latest p {
  margin: 0.2rem 0 0;
  color: #5f7081;
  font-size: 0.88rem;
}
@media (max-width: 640px) {
  .writers-latest { grid-template-columns: 64px 1fr; }
  .writers-latest .btn { display: none; }
}
