
/* ══════════════════════════════════════════════════════
   BVR AUTHOR PAGE & LIBRARY — v2 modern design
   ══════════════════════════════════════════════════════ */

/* ── Google Fonts import (only on relevant pages) ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=PT+Serif:ital@0;1&display=swap');

/* ── CSS variables ── */
:root {
  --bvr-cream:      #fdf8f0;
  --bvr-cream2:     #f5ede0;
  --bvr-parchment:  #ede0cc;
  --bvr-gold:       #c9a55a;
  --bvr-gold-light: #e8d5a0;
  --bvr-burgundy:   #8b2500;
  --bvr-burgundy2:  #6b1c00;
  --bvr-text:       #2c1a0e;
  --bvr-muted:      #7a6050;
  --bvr-border:     rgba(139,37,0,.12);
  --bvr-shadow:     0 4px 20px rgba(44,26,14,.10);
  --bvr-shadow-lg:  0 8px 40px rgba(44,26,14,.18);
  --bvr-r:          12px;
  --bvr-r-sm:       8px;
}

/* ════════════════════════════════
   AUTHOR PAGE — [bvr_author_books]
   ════════════════════════════════ */

/* Hero banner at top of author page */
.bvr-author-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 0 28px;
  margin: 0 0 8px;
  border-bottom: 1px solid var(--bvr-cream2);
}
.bvr-author-hero::before { display: none }
.bvr-author-hero::after  { display: none }
.bvr-author-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a55a' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
}
.bvr-author-hero::after {
  content: '✦';
  position: absolute;
  right: 32px;
  bottom: 20px;
  font-size: 80px;
  color: rgba(201,165,90,.08);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}
.bvr-author-hero-photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--bvr-parchment);
  object-fit: cover;
  box-shadow: var(--bvr-shadow);
  position: relative;
  z-index: 1;
}
.bvr-author-hero-photo-placeholder {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--bvr-parchment);
  background: var(--bvr-cream2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--bvr-gold);
  position: relative;
  z-index: 1;
}
.bvr-author-hero-text {
  flex: 1;
  position: relative;
  z-index: 1;
}
.bvr-author-hero-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--bvr-text);
  margin: 0 0 6px;
  line-height: 1.2;
}
.bvr-author-hero-bio {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 14px;
  color: var(--bvr-muted);
  line-height: 1.6;
  margin: 0 0 10px;
  max-width: 560px;
}
.bvr-author-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bvr-author-hero-count {
  font-size: 12px;
  color: var(--bvr-muted);
  background: var(--bvr-cream2);
  border: 1px solid var(--bvr-parchment);
  border-radius: 20px;
  padding: 3px 12px;
  font-family: 'PT Serif', serif;
}

/* Section heading */
.bvr-ab-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--bvr-cream2);
}
.bvr-ab-section-label {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--bvr-burgundy);
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
}
.bvr-ab-section-count {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  font-weight: 700;
  min-width: 28px;
  height: 22px;
  background: var(--bvr-cream2);
  color: var(--bvr-muted);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.bvr-ab-section-line {
  flex: 1;
  height: 0;
}

/* ── Book list ── */
.bvr-ab-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bvr-ab-list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px 13px 0;
  border-bottom: 1px solid var(--bvr-cream2);
  transition: background .15s, padding-left .15s;
  animation: bvr-fadein .35s both;
  border-radius: 4px;
}
.bvr-ab-list-item:last-child { border-bottom: none }
.bvr-ab-list-item:hover {
  background: var(--bvr-cream);
  padding-left: 8px;
}
.bvr-ab-list-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bvr-burgundy2), var(--bvr-burgundy));
  color: rgba(255,255,255,.9);
  font-size: 10px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.bvr-ab-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bvr-ab-list-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 15px;
  color: var(--bvr-text);
  text-decoration: none;
  line-height: 1.35;
  transition: color .15s;
}
.bvr-ab-list-title:hover { color: var(--bvr-burgundy) }
.bvr-ab-list-src {
  font-size: 11px;
  color: var(--bvr-muted);
  font-style: italic;
  font-family: 'PT Serif', serif;
}
.bvr-ab-list-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity .2s;
}
.bvr-ab-list-item:hover .bvr-ab-list-actions { opacity: 1 }
.bvr-ab-list-read {
  font-size: 12px;
  font-weight: 700;
  font-family: 'PT Serif', serif;
  color: var(--bvr-burgundy);
  text-decoration: none;
  padding: 4px 14px;
  border: 1.5px solid var(--bvr-burgundy);
  border-radius: 20px;
  white-space: nowrap;
  transition: background .15s, color .15s;
  letter-spacing: .02em;
}
.bvr-ab-list-read:hover {
  background: var(--bvr-burgundy);
  color: #fff;
}
@media (max-width: 600px) {
  .bvr-ab-list-item { padding: 12px 4px; gap: 10px }
  .bvr-ab-list-title { font-size: 13.5px; white-space: normal }
  .bvr-ab-list-actions { opacity: 1 }
  .bvr-ab-list-read { font-size: 11px; padding: 3px 10px }
}

/* Grid */
.bvr-author-books {
  display: grid;
  gap: 20px;
  margin: 0;
}
.bvr-ab-cols-1 { grid-template-columns: 1fr }
.bvr-ab-cols-2 { grid-template-columns: repeat(2, 1fr) }
.bvr-ab-cols-3 { grid-template-columns: repeat(3, 1fr) }
.bvr-ab-cols-4 { grid-template-columns: repeat(4, 1fr) }

@media (max-width: 600px) {
  .bvr-ab-cols-2, .bvr-ab-cols-3, .bvr-ab-cols-4 { grid-template-columns: 1fr }
  .bvr-author-hero { flex-direction: column; gap: 14px; padding-bottom: 20px }
}
@media (min-width: 601px) and (max-width: 900px) {
  .bvr-ab-cols-3, .bvr-ab-cols-4 { grid-template-columns: repeat(2, 1fr) }
}

/* Card */
.bvr-ab-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bvr-border);
  border-radius: var(--bvr-r);
  overflow: hidden;
  box-shadow: var(--bvr-shadow);
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.bvr-ab-card:hover {
  box-shadow: var(--bvr-shadow-lg);
  transform: translateY(-3px);
}
.bvr-ab-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--bvr-r);
  border: 1px solid rgba(201,165,90,.0);
  transition: border-color .25s;
  pointer-events: none;
}
.bvr-ab-card:hover::after {
  border-color: rgba(201,165,90,.35);
}

/* Cover */
.bvr-ab-cover {
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bvr-cream2), var(--bvr-parchment));
  aspect-ratio: 3/4;
  max-height: 240px;
  position: relative;
}
.bvr-ab-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.bvr-ab-card:hover .bvr-ab-cover img {
  transform: scale(1.06);
}
.bvr-ab-no-cover {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--bvr-gold);
  font-size: 44px;
}
.bvr-ab-no-cover span {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  color: var(--bvr-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-style: italic;
}

/* Card info */
.bvr-ab-info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}
.bvr-ab-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.bvr-ab-title a {
  color: var(--bvr-text);
  text-decoration: none;
  transition: color .15s;
}
.bvr-ab-title a:hover { color: var(--bvr-burgundy) }

.bvr-ab-source {
  font-size: 11px;
  color: var(--bvr-muted);
  font-style: italic;
  font-family: 'PT Serif', serif;
}
.bvr-ab-exc {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #6b5040;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'PT Serif', serif;
}
.bvr-ab-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--bvr-border);
  gap: 8px;
  flex-wrap: wrap;
}
.bvr-ab-dls {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.bvr-ab-dl {
  font-size: 11px;
  font-weight: 600;
  color: var(--bvr-muted);
  border: 1px solid var(--bvr-parchment);
  border-radius: 4px;
  padding: 3px 8px;
  text-decoration: none;
  background: var(--bvr-cream);
  transition: all .15s;
  font-family: 'PT Serif', serif;
}
.bvr-ab-dl:hover {
  background: var(--bvr-burgundy);
  color: #fff;
  border-color: var(--bvr-burgundy);
}
.bvr-ab-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  background: var(--bvr-burgundy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: .02em;
  font-family: 'PT Serif', serif;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.bvr-ab-read:hover {
  background: var(--bvr-burgundy2);
  transform: scale(1.03);
}
.bvr-ab-read::after { content: '→' }

/* ════════════════════════════════
   LIBRARY PAGE — [bvr_library]
   ════════════════════════════════ */

.bvr-library {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

/* Search bar */
.bvr-lib-search-wrap {
  position: relative;
  margin-bottom: 28px;
}
.bvr-lib-search {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border: 2px solid var(--bvr-parchment);
  border-radius: 50px;
  font-size: 15px;
  font-family: 'PT Serif', serif;
  background: #fff;
  color: var(--bvr-text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.bvr-lib-search:focus {
  border-color: var(--bvr-gold);
  box-shadow: 0 0 0 3px rgba(201,165,90,.15);
}
.bvr-lib-search-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bvr-muted);
  font-size: 17px;
  pointer-events: none;
}
.bvr-lib-no-results {
  text-align: center;
  padding: 40px;
  color: var(--bvr-muted);
  font-style: italic;
  font-family: 'PT Serif', serif;
  display: none;
}

/* Author rows */
.bvr-lib-author {
  border-bottom: 1px solid var(--bvr-border);
  transition: background .15s;
}
.bvr-lib-author:first-child { border-top: 1px solid var(--bvr-border) }
.bvr-lib-author:hover { background: rgba(253,248,240,.6) }

.bvr-lib-au-head {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  padding: 18px 0;
  user-select: none;
  -webkit-user-select: none;
}
.bvr-lib-au-thumb {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  margin-right: 16px;
}
.bvr-lib-au-thumb img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bvr-parchment);
  display: block;
}
.bvr-lib-au-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bvr-cream2), var(--bvr-parchment));
  border: 2px solid var(--bvr-parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--bvr-gold);
  margin-right: 16px;
  flex-shrink: 0;
  font-family: serif;
}
.bvr-lib-au-text { flex: 1 }
.bvr-lib-au-name {
  margin: 0 0 2px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--bvr-text);
  line-height: 1.2;
}
.bvr-lib-au-name a {
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.bvr-lib-au-name a:hover { color: var(--bvr-burgundy) }
.bvr-lib-au-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bvr-lib-au-count {
  font-size: 12px;
  color: var(--bvr-muted);
  font-family: 'PT Serif', serif;
}
.bvr-lib-au-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--bvr-parchment);
  background: var(--bvr-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bvr-muted);
  font-size: 11px;
  transition: all .2s;
  margin-left: 8px;
}
.bvr-lib-author.bvr-lib-open .bvr-lib-au-toggle {
  background: var(--bvr-burgundy);
  color: #fff;
  border-color: var(--bvr-burgundy);
  transform: rotate(180deg);
}

/* Books drawer */
.bvr-lib-books-drawer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.bvr-lib-author.bvr-lib-open .bvr-lib-books-drawer {
  max-height: 2000px;
}
.bvr-lib-books {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  padding: 0 0 20px 68px;
  margin: 0;
  list-style: none;
}
@media (max-width: 600px) {
  .bvr-lib-books { padding-left: 0; grid-template-columns: repeat(2, 1fr) }
}
.bvr-lib-book-card {
  background: var(--bvr-cream);
  border: 1px solid var(--bvr-border);
  border-radius: var(--bvr-r-sm);
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow .2s, transform .2s, background .2s;
}
.bvr-lib-book-card:hover {
  box-shadow: 0 4px 16px rgba(44,26,14,.12);
  transform: translateY(-2px);
  background: #fff;
}
.bvr-lib-book-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bvr-text);
}
.bvr-lib-book-title a {
  color: inherit;
  text-decoration: none;
}
.bvr-lib-book-title a:hover { color: var(--bvr-burgundy) }
.bvr-lib-book-actions {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: auto;
}
.bvr-lib-book-read {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--bvr-burgundy);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'PT Serif', serif;
  transition: background .15s;
}
.bvr-lib-book-read:hover { background: var(--bvr-burgundy2) }
.bvr-lib-book-dl {
  font-size: 11px;
  padding: 3px 8px;
  color: var(--bvr-muted);
  border: 1px solid var(--bvr-parchment);
  border-radius: 4px;
  text-decoration: none;
  font-family: 'PT Serif', serif;
  background: #fff;
  transition: all .15s;
}
.bvr-lib-book-dl:hover {
  background: var(--bvr-burgundy);
  color: #fff;
  border-color: var(--bvr-burgundy);
}

/* Stats bar */
.bvr-lib-stats {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 14px 20px;
  background: linear-gradient(to right, var(--bvr-cream2), var(--bvr-cream));
  border-radius: var(--bvr-r-sm);
  margin-bottom: 24px;
  border: 1px solid var(--bvr-border);
}
.bvr-lib-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.bvr-lib-stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--bvr-burgundy);
  line-height: 1;
}
.bvr-lib-stat-l {
  font-family: 'PT Serif', serif;
  font-size: 11px;
  color: var(--bvr-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.bvr-lib-stat-div {
  width: 1px;
  height: 30px;
  background: var(--bvr-parchment);
}

/* Scroll animation */
@keyframes bvr-fadein {
  from { opacity: 0; transform: translateY(12px) }
  to   { opacity: 1; transform: translateY(0) }
}
.bvr-ab-card, .bvr-lib-author, .bvr-ab-list-item {
  animation: bvr-fadein .4s both;
}

/* ════════════════════════════════════════════════════
   AUTHOR PAGE — full render (bvr-ap-*)
   Matches Image 1 design: hero + list + related + share
   ════════════════════════════════════════════════════ */

/* ── Hero ── */
.bvr-ap-hero {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 0 24px;
  margin: 0 0 4px;
}
.bvr-ap-hero-photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--bvr-parchment);
  background: var(--bvr-cream2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bvr-ap-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bvr-ap-hero-cross {
  font-size: 28px;
  color: var(--bvr-burgundy);
  opacity: .5;
}
.bvr-ap-hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}
.bvr-ap-hero-subtitle {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  font-style: italic;
  color: var(--bvr-muted);
}
.bvr-ap-hero-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--bvr-text);
  margin: 0;
  line-height: 1.2;
}
.bvr-ap-back {
  display: inline-flex;
  align-items: center;
  font-family: 'PT Serif', serif;
  font-size: 13px;
  color: var(--bvr-burgundy);
  text-decoration: none;
  border: 1px solid var(--bvr-burgundy);
  border-radius: 20px;
  padding: 3px 14px;
  margin-top: 6px;
  width: fit-content;
  transition: background .15s, color .15s;
}
.bvr-ap-back:hover { background: var(--bvr-burgundy); color: #fff; }

/* ── Section head ── */
.bvr-ap-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--bvr-cream2);
  margin: 0 0 0;
}
.bvr-ap-section-icon { font-size: 14px; }
.bvr-ap-section-label {
  font-family: 'PT Serif', serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--bvr-burgundy);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.bvr-ap-section-count {
  font-family: 'Playfair Display', serif;
  font-size: 11px;
  font-weight: 700;
  background: var(--bvr-cream2);
  color: var(--bvr-muted);
  border-radius: 20px;
  padding: 2px 9px;
  min-width: 24px;
  text-align: center;
}

/* ── Book list ── */
.bvr-ap-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
.bvr-ap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--bvr-cream2);
  animation: bvr-fadein .35s both;
  transition: padding-left .15s, background .15s;
  border-radius: 4px;
}
.bvr-ap-item:last-child { border-bottom: none }
.bvr-ap-item:hover { background: var(--bvr-cream); padding-left: 8px; }
.bvr-ap-item-title {
  flex: 1;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 15px;
  color: var(--bvr-text);
  text-decoration: none;
  line-height: 1.35;
  transition: color .15s;
}
.bvr-ap-item-title:hover { color: var(--bvr-burgundy); }
.bvr-ap-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .2s;
}
.bvr-ap-item:hover .bvr-ap-item-actions { opacity: 1; }
.bvr-ap-dl {
  font-size: 11px;
  font-weight: 600;
  color: var(--bvr-muted);
  border: 1px solid var(--bvr-parchment);
  border-radius: 4px;
  padding: 3px 8px;
  text-decoration: none;
  background: var(--bvr-cream);
  transition: all .15s;
  font-family: 'PT Serif', serif;
}
.bvr-ap-dl:hover { background: var(--bvr-burgundy); color: #fff; border-color: var(--bvr-burgundy); }
.bvr-ap-item-arrow {
  font-size: 15px;
  color: #ccc;
  text-decoration: none;
  padding: 0 4px;
  transition: color .15s;
}
.bvr-ap-item:hover .bvr-ap-item-arrow { color: var(--bvr-burgundy); }

/* ── Related authors ── */
.bvr-ap-related { margin: 0 0 24px; }
.bvr-ap-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 12px;
}
.bvr-ap-related-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  background: var(--bvr-cream);
  border: 1px solid var(--bvr-border);
  border-radius: var(--bvr-r-sm);
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}
.bvr-ap-related-card:hover {
  background: #fff;
  box-shadow: var(--bvr-shadow);
}
.bvr-ap-related-sub {
  font-family: 'PT Serif', serif;
  font-size: 11px;
  font-style: italic;
  color: var(--bvr-muted);
}
.bvr-ap-related-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--bvr-text);
  line-height: 1.25;
}
.bvr-ap-related-card:hover .bvr-ap-related-name { color: var(--bvr-burgundy); }

/* ── Share bar ── */
.bvr-ap-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--bvr-cream2);
  border-bottom: 1px solid var(--bvr-cream2);
  margin: 0 0 20px;
}
.bvr-ap-share-label {
  font-family: 'PT Serif', serif;
  font-size: 13px;
  color: var(--bvr-muted);
  margin-right: 4px;
}
.bvr-ap-share-btn {
  font-family: 'PT Serif', serif;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid var(--bvr-parchment);
  background: var(--bvr-cream);
  color: var(--bvr-text);
  transition: all .15s;
  cursor: pointer;
}
.bvr-ap-share-btn:hover { background: var(--bvr-burgundy); color: #fff; border-color: var(--bvr-burgundy); }

/* ── Back footer link ── */
.bvr-ap-back-footer {
  display: inline-block;
  font-family: 'PT Serif', serif;
  font-size: 13px;
  color: var(--bvr-burgundy);
  text-decoration: none;
}
.bvr-ap-back-footer:hover { text-decoration: underline; }
.bvr-ap-empty {
  color: var(--bvr-muted);
  font-style: italic;
  font-family: 'PT Serif', serif;
}

/* Mobile */
@media (max-width: 600px) {
  .bvr-ap-hero { gap: 14px; }
  .bvr-ap-hero-photo { width: 64px; height: 64px; }
  .bvr-ap-related-grid { grid-template-columns: 1fr; }
  .bvr-ap-item-actions { opacity: 1; }
  .bvr-ap-item-title { font-size: 14px; }
}

/* ════════════════════════════════════════════════════
   AUTHOR PAGE — large book list (bvr-ap-list-many)
   ════════════════════════════════════════════════════ */

/* Filter / search */
.bvr-ap-filter-wrap {
  position: relative;
  margin: 14px 0 8px;
  display: flex;
  align-items: center;
}
.bvr-ap-filter-icon {
  position: absolute;
  left: 14px;
  font-size: 14px;
  color: var(--bvr-muted);
  pointer-events: none;
  z-index: 1;
}
.bvr-ap-filter {
  width: 100%;
  padding: 10px 80px 10px 40px;
  border: 1.5px solid var(--bvr-parchment);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'PT Serif', serif;
  background: #fff;
  color: var(--bvr-text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.bvr-ap-filter:focus {
  border-color: var(--bvr-gold);
  box-shadow: 0 0 0 3px rgba(201,165,90,.12);
}
.bvr-ap-filter-count {
  position: absolute;
  right: 14px;
  font-size: 11px;
  color: var(--bvr-muted);
  font-family: 'PT Serif', serif;
  pointer-events: none;
  white-space: nowrap;
}
.bvr-ap-noresult {
  text-align: center;
  padding: 20px;
  color: var(--bvr-muted);
  font-style: italic;
  font-family: 'PT Serif', serif;
  font-size: 14px;
}

/* Two-column grid */
.bvr-ap-list-many {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
  list-style: none;
  margin: 0 0 4px;
  padding: 0;
}
@media (max-width: 640px) {
  .bvr-ap-list-many { grid-template-columns: 1fr; gap: 0; }
}

/* Group label */
.bvr-ap-group-label {
  font-family: 'PT Serif', serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--bvr-burgundy);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 16px 0 6px;
  border-bottom: 1.5px solid var(--bvr-cream2);
  margin-bottom: 2px;
}
.bvr-ap-groups .bvr-ap-group-label:first-child { padding-top: 8px; }
.bvr-ap-group-list { margin-bottom: 0; }

/* Compact item — name + arrow only */
.bvr-ap-item-compact {
  padding: 8px 2px;
  border-bottom: 1px solid var(--bvr-cream2);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: none;
  transition: background .1s, padding-left .1s;
  border-radius: 3px;
}
.bvr-ap-item-compact:last-child { border-bottom: none; }
.bvr-ap-item-compact:hover {
  background: var(--bvr-cream);
  padding-left: 6px;
}
.bvr-ap-item-compact .bvr-ap-item-title {
  font-size: 13.5px;
  line-height: 1.3;
  flex: 1;
}
/* Arrow always visible, right-aligned */
.bvr-ap-item-compact .bvr-ap-item-arrow {
  flex-shrink: 0;
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
  padding: 0 2px;
  opacity: 0;
  transition: opacity .15s, color .15s;
}
.bvr-ap-item-compact:hover .bvr-ap-item-arrow {
  opacity: 1;
  color: var(--bvr-burgundy);
}
/* Hide number badge (not used in clean mode) */
.bvr-ap-item-compact .bvr-ap-item-num { display: none; }
