:root {
  --bba-ink: #17140f;
  --bba-paper: #f8f1df;
  --bba-gold: #c89d42;
  --bba-green: #173f35;
  --bba-line: rgba(23, 20, 15, 0.16);
}

.bba-journal,
.bba-anansi-story .entry-content {
  color: var(--bba-ink);
}

.bba-anansi-story .entry-header {
  background:
    linear-gradient(90deg, rgba(4, 7, 25, 0.98) 0%, rgba(4, 7, 25, 0.89) 42%, rgba(4, 7, 25, 0.24) 76%, rgba(4, 7, 25, 0.08) 100%),
    url('anansi-season-royal-cover.webp') center / cover no-repeat !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(380px, 62vh, 720px);
  overflow: hidden;
  padding: clamp(7rem, 16vw, 13rem) max(20px, calc((100vw - 1220px) / 2)) clamp(4rem, 9vw, 7rem);
  position: relative;
}

.bba-story-stolen-drum-bangles .entry-header {
  background-image:
    linear-gradient(90deg, rgba(4, 7, 25, 0.98) 0%, rgba(4, 7, 25, 0.88) 42%, rgba(4, 7, 25, 0.22) 76%, rgba(4, 7, 25, 0.05) 100%),
    url('anansi-stolen-drum-bangles-royal.webp') !important;
}

.bba-anansi-story .entry-header::before,
.bba-anansi-story .entry-header::after {
  border: 1px solid rgba(230, 197, 119, 0.34);
  border-radius: 50%;
  content: '';
  pointer-events: none;
  position: absolute;
}

.bba-anansi-story .entry-header::before {
  height: min(55vw, 620px);
  right: max(-180px, -10vw);
  top: max(-220px, -15vw);
  width: min(55vw, 620px);
}

.bba-anansi-story .entry-header::after {
  height: min(36vw, 400px);
  right: max(-80px, 5vw);
  top: max(-100px, 2vw);
  width: min(36vw, 400px);
}

.bba-anansi-story .entry-header .inner-wrap {
  margin: 0;
  max-width: 1220px;
  padding: 0;
  position: relative;
  z-index: 1;
}

.bba-anansi-story .entry-title {
  -webkit-text-fill-color: #fff8e7 !important;
  background: none !important;
  color: #fff8e7 !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
  margin: 0;
  max-width: 11ch;
  text-wrap: balance;
}

.bba-anansi-story article > .entry-content {
  padding-top: clamp(2.5rem, 7vw, 6rem);
}

.bba-anansi-story .entry-meta,
.bba-anansi-story .entry-footer,
.bba-anansi-story #comments {
  display: none;
}

.bba-blog-index .entry-content,
.bba-blog-index .page-content {
  max-width: none;
}

.bba-blog-index main > article > .entry-header,
.bba-blog-index main > .entry-header {
  display: none;
}

.bba-blog-index .site-content,
.bba-blog-index #content {
  padding-top: 0 !important;
}

.bba-anansi-story .wp-block-gallery {
  display: none;
}

.bba-anansi-story .entry-content > figure:first-of-type,
.bba-anansi-story .entry-content > h1:first-child,
.bba-anansi-story .entry-content > h2:first-child,
.bba-anansi-story .entry-content > h3:first-child:empty,
.bba-anansi-story .entry-content > p:last-child:is(:has(+ .bba-series-footer)) {
  display: none;
}

.bba-journal {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 6rem);
}

.bba-journal-hero {
  background:
    linear-gradient(90deg, rgba(3, 9, 24, 0.98) 0%, rgba(3, 9, 24, 0.9) 44%, rgba(3, 9, 24, 0.28) 78%, rgba(3, 9, 24, 0.08) 100%),
    url('anansi-season-royal-cover.webp') center / cover no-repeat;
  color: #fff8e7;
  display: grid;
  gap: 1.1rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(620px, 78vh, 880px);
  padding: clamp(8rem, 16vw, 12rem) max(24px, calc((100vw - 1240px) / 2)) clamp(4rem, 8vw, 7rem);
  position: relative;
}

.bba-imprint {
  align-items: center;
  border-bottom: 1px solid rgba(239, 206, 130, 0.38);
  border-top: 1px solid rgba(239, 206, 130, 0.38);
  color: #efce82;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.69rem;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
  letter-spacing: 0.15em;
  margin-bottom: auto;
  padding: 0.8rem 0;
  text-transform: uppercase;
}

.bba-imprint strong {
  color: #fff8e7;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(0.92rem, 1.7vw, 1.18rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.bba-eyebrow,
.bba-card-meta {
  color: #765c29;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 0;
  text-transform: uppercase;
}

.bba-journal h2,
.bba-series-footer h2 {
  color: var(--bba-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
  max-width: 10ch;
}

.bba-journal-hero h2 {
  -webkit-text-fill-color: #fff8e7;
  background: none;
  color: #fff8e7;
  max-width: 11ch;
  opacity: 1;
  text-shadow: 0 12px 45px rgba(0, 0, 0, 0.3);
}

.bba-intro {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin: 0;
  max-width: 780px;
}

.bba-journal-hero .bba-intro {
  color: rgba(255, 248, 231, 0.88);
}

.bba-journal-hero .bba-eyebrow {
  color: #efce82;
}

.bba-journal-meta {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.bba-journal-meta span {
  border-top: 1px solid rgba(239, 206, 130, 0.32);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 0.8rem;
}

.bba-journal-meta strong {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bba-integrity {
  background: var(--bba-green);
  color: #fffaf0;
  font-size: 0.96rem;
  line-height: 1.6;
  margin: clamp(1.5rem, 4vw, 3rem) 0;
  padding: 1rem 1.2rem;
}

.bba-integrity strong {
  color: #efce82;
}

.bba-story-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  background: var(--bba-line);
  border: 1px solid var(--bba-line);
}

.bba-story-card {
  background: var(--bba-paper);
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
}

.bba-card-art {
  background:
    linear-gradient(180deg, rgba(6, 14, 30, 0.04), rgba(6, 14, 30, 0.34)),
    url('anansi-season-royal-cover.webp') center / cover no-repeat;
  display: block;
  min-height: 265px;
  overflow: hidden;
  position: relative;
}

.bba-card-stolen-drum-bangles .bba-card-art {
  background-image:
    linear-gradient(180deg, rgba(6, 14, 30, 0.03), rgba(6, 14, 30, 0.25)),
    url('anansi-stolen-drum-bangles-royal.webp');
  background-position: 64% center;
}

.bba-card-art::after {
  border: 1px solid rgba(239, 206, 130, 0.56);
  border-radius: 50%;
  content: '';
  height: 170px;
  position: absolute;
  right: -48px;
  top: -48px;
  width: 170px;
}

.bba-story-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.3rem, 3vw, 2.1rem);
}

.bba-story-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 1.2rem 0 0.8rem;
}

.bba-story-card h3 a {
  color: var(--bba-ink);
  text-decoration: none;
}

.bba-story-card h3 a:hover,
.bba-story-card h3 a:focus-visible {
  color: #795c22;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.bba-story-card > p:not(.bba-card-meta) {
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.bba-story-card-copy > p:not(.bba-card-meta) {
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.bba-read {
  align-items: center;
  color: var(--bba-ink);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 0.55rem;
  letter-spacing: 0.08em;
  margin-top: auto;
  text-decoration: none;
  text-transform: uppercase;
}

.bba-read:hover,
.bba-read:focus-visible {
  color: #795c22;
  gap: 0.8rem;
}

.bba-anansi-story .entry-content {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.85;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.bba-anansi-story .entry-content > p {
  margin: 0 0 1.35em;
}

.bba-anansi-story .entry-content .bba-story-lede {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.5;
}

.bba-anansi-story .entry-content .bba-story-lede::first-letter {
  color: #9a7127;
  float: left;
  font-size: 4.4em;
  line-height: 0.78;
  margin: 0.12em 0.1em 0 0;
}

.bba-story-prologue {
  align-items: flex-start;
  border-bottom: 1px solid var(--bba-line);
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  gap: 1rem 2rem;
  justify-content: space-between;
  margin: 0 0 clamp(2.5rem, 7vw, 5rem);
  padding: 0 0 1.1rem;
}

.bba-prologue-series {
  color: #765c29;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bba-prologue-credit {
  font-size: 0.9rem;
  line-height: 1.5;
}

.bba-series-footer {
  border-top: 1px solid var(--bba-line);
  font-family: Arial, Helvetica, sans-serif;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: clamp(2rem, 5vw, 4rem);
}

.bba-edition-details {
  border-top: 1px solid var(--bba-line);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: 1rem;
}

.bba-edition-details summary {
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bba-edition-details p {
  font-family: Arial, Helvetica, sans-serif;
  margin: 1rem 0 0 !important;
}

.bba-series-footer h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin: 0.5rem 0 1rem;
}

@media (max-width: 850px) {
  .bba-journal-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .bba-story-card {
    min-height: 0;
  }
  .bba-anansi-story .entry-header {
    min-height: 420px;
    padding-top: 8rem;
  }
  .bba-story-stolen-drum-bangles .entry-header {
    background-position: 62% center;
  }
  .bba-journal-hero {
    background-position: 62% center;
    min-height: 680px;
    padding-top: 8rem;
  }
  .bba-imprint {
    align-items: flex-start;
    flex-direction: column;
  }
  .bba-story-prologue {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bba-read {
    transition: none;
  }
}
