@import "/services/banner.css";

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--color-background);
  color: color-mix(in srgb, var(--color-primary) 96.875%, var(--color-background) 3.125%);
  margin: 0;
  padding: 0;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.book-page {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(300px, 460px) minmax(220px, 310px) minmax(200px, 280px);
  grid-template-rows: auto;
  grid-template-areas:
    "cover hero prose quotes";
  column-gap: 2.8rem;
  row-gap: 1.5rem;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.product-card {
  grid-area: cover;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-block {
  grid-area: hero;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-next {
  grid-area: quotes;
}

.prose-column {
  grid-area: prose;
  text-align: justify;
  text-wrap: balance;
}

.quotes-column {
  grid-area: quotes;
}

.rating {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--color-primary) 50%, var(--color-background) 50%);
  font-weight: 300;
  letter-spacing: 0.3px;
  text-align: center;
}

.hero-block h1 {
  display: block;
  font-size: 0.75em;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-primary) 50%, var(--color-background) 50%);
  margin-bottom: -0.3rem;
  line-height: 2rem;
  text-align: justify;
  text-wrap: balance; /* helps equalize distribution of text */
}

.hero-block h1 .book-name {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: clamp(2.74em, 14.7vw, 5.6em);
  font-family: var(--font-alt);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  color: var(--color-primary);
}

.hero-block h1 .source-book-name,
.hero-block h1 .source-book-author,
.hero-block h1 .author {
  color: color-mix(in srgb, var(--color-primary) 68.75%, var(--color-background) 31.25%);
  font-size: 173%;
}

.pull-quote-card {
  margin: -0.5rem 0 1rem 0;
  width: 100%;
}

.book-cover {
  width: 100%;
  height: auto;
  aspect-ratio: var(--cover-aspect-ratio, auto);
  display: block;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.075),
    0 0 20px color-mix(in srgb, var(--color-tertiary) 15%, transparent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 30px color-mix(in srgb, var(--color-tertiary) 50%, transparent);
}

.rating {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--color-primary) 50%, var(--color-background) 50%);
  font-weight: 300;
  letter-spacing: 0.3px;
  text-align: center;
}

.primary-cta {
  display: block;
  padding: 1.5rem 2rem;
  text-align: center;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  border-radius: 12px;
  background: var(--color-secondary);
  color: var(--color-secondary-contrast);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-secondary) 50%, transparent),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border: none;
  text-transform: uppercase;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-secondary) 50%, transparent),
    0 4px 12px rgba(0, 0, 0, 0.4);
}

.primary-cta:active {
  transform: translateY(0);
}

.secondary-cta {
  display: block;
  padding: 0.9rem 1.2rem;
  text-align: center;
  font-family: var(--font-alt);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-secondary) 50%, transparent),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 2rem 0 0.5rem;
  width: 100%;
  clear: both;
}

.primary-cta, .secondary-cta {
  user-select: none;
}

.secondary-cta:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-secondary-more-vibrant) 30%, transparent) 0%, color-mix(in srgb, var(--color-secondary-more-vibrant) 10%, transparent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-secondary) 50%, transparent),
    0 4px 12px rgba(0, 0, 0, 0.4);
}

.secondary-cta:active {
  transform: translateY(0);
}

.more-recs {
  opacity: 0.75;
  margin-top: 2rem;
}

.more-recs > p {
  margin-bottom: -1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: smaller;
}

.more-recs .secondary-cta {
  position: relative;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: none;
  opacity: 0.7;
  overflow: hidden;
}

.more-recs .secondary-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 0%,
      color-mix(in srgb, var(--color-primary) 13%, transparent) 45%,
      color-mix(in srgb, var(--color-primary) 15%, transparent) 50%,
      color-mix(in srgb, var(--color-primary) 13%, transparent) 55%,
      transparent 100%);
  transform: translateX(-120%);
  animation: more-recs-shimmer 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes more-recs-shimmer {
  0% {
    transform: translateX(-120%);
  }
  30% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.why-next {
  background: color-mix(in srgb, var(--color-primary) 3%, var(--color-background) 97%); /* #141414; */
  padding: 1.8rem 2rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--color-tertiary) 90%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--color-tertiary) 33%, transparent);
  margin-top: 1.5rem;
}

.why-next h2 {
  margin: 0 0 1.5rem 0;
  padding-bottom: 3px;
  font-family: var(--font-alt);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-tertiary);
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
  text-align: center;
}

/* Subtle glow behind section headers */
.why-next h2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--color-tertiary) 8%, transparent) 70%);
  z-index: -1;
  pointer-events: none;
}

.why-next ul {
  margin: 0;
  padding-left: 1.45rem;
  line-height: 1.56;
  list-style: none;
}

.why-next li {
  position: relative;
  padding-left: 0.75rem;
  margin-bottom: 1rem;
  color: color-mix(in srgb, var(--color-primary) 87.8%, var(--color-background) 12.2%);
  line-height: 1.7;
  font-size: 1.25rem;
  font-weight: 600;
}

.why-next li::before {
  content: "▸";
  position: absolute;
  left: -1.6rem;
  top: -0.05em;
  color: var(--color-tertiary);
  font-weight: bold;
  font-size: 1.6em;
  line-height: 1;
}

.why-next li:last-child {
  margin-bottom: 0;
}

.editorial-column p {
  font-size: 0.925rem;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  color: color-mix(in srgb, var(--color-primary) 63.5%, var(--color-background) 36.5%);
  font-weight: 400;
}

/* Drop cap for first editorial paragraph */
.editorial-column p:first-of-type::first-letter {
  font-family: var(--font-alt);
  font-size: 3.2em;
  line-height: 1;
  float: left;
  margin: 0 0.15em 0 0;
  color: var(--color-tertiary);
  font-weight: 700;
  /* text-shadow: 0 0 12px color-mix(in srgb, var(--color-tertiary) 40%, transparent); */
}

/* Increase first paragraph size slightly */
.editorial-column p:first-of-type {
  font-size: 1rem;
}

/* Magazine-style pull quote */
.pull-quote-card .pull-quote {
  font-family: var(--font-alt);
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-tertiary);
  position: relative;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 1rem 0.29rem;
  border-radius: 10px;
  text-align: center;
}

.emphasis {
  color: var(--color-primary);
}

.pull-quote-card .pull-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-tertiary) 40%, transparent), transparent);
}

.pull-quote-card .pull-quote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-tertiary) 40%, transparent), transparent);
}

.pull-quote-text {
  text-shadow: 0 0 20px color-mix(in srgb, var(--color-tertiary) 24%, transparent);
}

.pull-quote-text::before {
  content: '“';
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.4em;
  opacity: 0.5;
  margin-right: 0.1em;
}

.pull-quote-text::after {
  content: '”';
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.4em;
  opacity: 0.5;
  margin-left: 0.1em;
}

.goodreads-quote {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border-left: none;
  box-shadow: none;
  position: relative;
  margin-bottom: 0;
  margin-top: 2rem;
}

.goodreads-quote::after {
  display: none;
}

.goodreads-quote cite a {
  color: inherit;
  text-decoration: none;
}
.goodreads-quote cite a:hover {
  color: color-mix(in srgb, var(--color-tertiary) 50%, var(--color-background));
}

.goodreads-quote h4 {
  margin: 0 0 1rem 0;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--color-primary) 73.3%, var(--color-background) 26.7%);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

/* Subtle glow behind "What Readers Are Saying" */
.goodreads-quote h4::before {
  display: none;
}

.goodreads-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-primary) 50%, var(--color-background) 50%);
}

.goodreads-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-style: normal;
  color: color-mix(in srgb, var(--color-primary) 35%, var(--color-background) 65%);;
  font-weight: 400;
}

.goodreads-quote blockquote {
  margin: 0 0 1.2rem 0;
  padding: 0;
  border: none;
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--color-primary) 50%, var(--color-background) 50%);
}

.goodreads-quote blockquote:last-of-type {
  margin-bottom: 0;
}

.genre-tags {
  padding-top: 2rem;
}

.genre-tags h4 {
  margin: 0 0 0.25rem 0.25rem;
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--color-primary) 45%, var(--color-background));
  letter-spacing: 0.5px;
  text-transform: uppercase;
  user-select: none;
}

.genre-tags ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.genre-tags li {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-primary) 57.5%, var(--color-background) 42.5%);
  padding: 0.35rem 0.75rem;
  background: color-mix(in srgb, var(--color-primary) 4%, var(--color-background) 96%);
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 30%, var(--color-background));
}

.genre-tags li:has(a):hover,
.genre-tags li:has(a):focus-within {
  color: color-mix(in srgb, var(--color-primary) 72.5%, var(--color-background) 27.5%);
  background: color-mix(in srgb, var(--color-primary) 10%, var(--color-background) 90%);
  border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-background));
}

.genre-tags li a {
  color: inherit;
  text-decoration: none;
}

.genre-tags li a:hover,
.genre-tags li a:focus {
  text-decoration: none;
}

:root {
  --color-selection-background: var(--color-tertiary);
  --color-selection: var(--color-primary);
}

::selection {
  background: var(--color-selection-background);
  color: var(--color-selection);
}

@media (max-width: 900px) {
  .book-page {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .hero-block {
    display: flex;
    flex-direction: column;
    order: 1;
  }

  .hero-block>h1 {
    order: 1;
  }

  .product-card {
    order: 2;
  }

  .hero-block>.primary-cta {
    order: 3;
  }

  .hero-block>.why-next {
    order: 4;
  }

  .prose-column {
    order: 5;
  }

  .quotes-column {
    order: 6;
  }

  .product-card {
    align-self: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .book-cover {
    width: 100%;
    max-width: 280px;
    height: auto;
  }

  .editorial-column {
    max-width: 100%;
  }

  .pull-quote-card {
    margin: 1.5rem 0;
  }

  .pull-quote-card .pull-quote {
    font-size: 1.3rem;
    padding: 1.5rem 1.25rem;
  }

  .hero-block {
    font-size: 2rem;
  }

  .genre-tags {
    display: none;
  }

  .associated-books-content {
    padding-left: 0;
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .book-page {
    padding: 1.5rem 1rem;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
    grid-template-areas:
      "hero hero"
      "cta cta"
      "cover why"
      "prose prose"
      "quotes quotes";
    column-gap: 1rem;
    row-gap: 1.25rem;
    align-items: flex-start;
  }

  .hero-block {
    display: contents;
    font-size: 1.2rem;
  }

  .hero-block>h1 {
    grid-area: hero;
  }

  .hero-block>.primary-cta {
    grid-area: cta;
  }

  .hero-block>.why-next {
    grid-area: why;
    padding: 1.25rem;
    margin-top: 0;
  }

  .primary-cta {
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
  }

  .product-card {
    grid-area: cover;
    align-items: flex-start;
  }

  .book-cover {
    width: 100%;
    max-width: 166px;
  }

  .prose-column {
    grid-area: prose;
  }

  .quotes-column {
    grid-area: quotes;
  }

  .editorial-column {
    margin: 0.5rem;
  }

  .editorial-column p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .why-next h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .why-next li {
    font-size: 0.95rem;
    padding-left: 0;
    text-wrap: balance;
    hyphens: auto;
  }

  .pull-quote-card .pull-quote {
    font-size: 1.15rem;
    padding: 1.25rem 1rem;
  }

  .pull-quote-card {
    font-size: 1.15rem;
    padding: 0;
    margin: 1rem 0;
  }
}

a.watermark {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  color: color-mix(in srgb, var(--color-primary) 20%, transparent);
  text-decoration: none;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
a.watermark:hover {
  color: color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.associated-books-section {
  margin: 4rem auto;
  padding: 0 2rem;
}

.associated-books-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.associated-books-copy {
  flex-shrink: 0;
}

.associated-books-copy h3 {
  font-family: var(--font-alt);
  font-size: 1.5rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-primary) 73.3%, var(--color-background) 26.7%);
  margin: 0 0 0.5rem 0;
}

.associated-books-intro {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--color-primary) 50%, var(--color-background) 50%);
  margin: 0;
}

.associated-books-grid {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.associated-books-grid a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
  width: 150px;
}

.associated-books-grid a:hover {
  transform: translateY(-4px);
}

.associated-books-grid img {
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid color-mix(in srgb, var(--color-primary) 12%, var(--color-background) 88%);
}

.book-description {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--color-primary) 50%, var(--color-background) 50%);
  text-align: center;
  margin: 0;
  word-wrap: break-word;
  text-transform: capitalize;
}

.associated-books-section .book-cover {
  box-shadow: none;
}

.associated-books-section .book-cover:hover {
  transform: none;
}

@media (max-width: 480px) {
  .associated-books-section {
    margin: 3rem 0 0;
    padding: 0 1rem;
  }

  .associated-books-content {
    padding-left: 0;
    flex-direction: column;
    gap: 1.5rem;
  }

  .associated-books-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
  }

  .associated-books-grid a {
    width: 100%;
  }

  .associated-books-grid img {
    width: 100%;
  }
}

footer {
  margin-top: auto;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  font-size: 0.9rem;
}

.footer-copy {
  color: color-mix(in srgb, var(--color-primary) 30%, var(--color-background) 70%);
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.8rem;
}

.footer-links a {
  font-weight: 500;
  color: color-mix(in srgb, var(--color-primary) 40%, var(--color-background) 70%);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-even-more-vibrant));
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-links a:hover::after {
  width: 100%;
}

@media (max-width: 480px) {
  footer,
  .site-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem 0.75rem;
    gap: 1rem;
    text-align: center;
  }

  .footer-copy {
    order: 2;
  }

  .footer-links {
    width: 100%;
    gap: 1rem;
    order: 1;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-copy,
  .footer-links a {
    font-size: 0.85rem;
  }

  .aa-disclaimer {
    margin: 0.25rem 1rem 1.25rem;
    text-align: center;
  }
}

.primary-cta {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-more-vibrant) 100%);
}

.primary-cta:hover {
  background: linear-gradient(135deg,  var(--color-secondary-more-vibrant) 0%,  var(--color-secondary-even-more-vibrant) 100%);
}

.aa-disclaimer {
  font-size: 0.75rem;
  margin: -0.75rem 2rem 1rem;
  opacity: 20%;
  max-width: 63em;
}

@media (min-width: 481px) {
  .associated-books-section img {
    mix-blend-mode: luminosity;
    transition: mix-blend-mode 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  }

  .associated-books-section img:hover {
    mix-blend-mode: normal;
    filter: none;
    opacity: 1;
  }
}

/* Share Button */
#share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem auto;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-tertiary);
  background: color-mix(in srgb, var(--color-tertiary) 8%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--color-tertiary) 40%, transparent);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-tertiary) 15%, transparent);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#share::before {
  content: '↗︎';
  font-size: 1.2em;
  line-height: 1;
  transition: transform 0.3s ease;
}

#share:hover {
  background: color-mix(in srgb, var(--color-tertiary) 15%, transparent);
  border-color: var(--color-tertiary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-tertiary) 30%, transparent);
}

#share:hover::before {
  transform: translate(2px, -2px);
}

#share:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-tertiary) 20%, transparent);
}

.smbh-add-box {
  margin: 0 auto 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: #0b0b0b;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.65rem;
  align-items: center;
  text-align: left;
}

.smbh-add-logo-link {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: block;
  line-height: 0;
}

.smbh-add-logo {
  width: 68px;
  height: 68px;
  display: block;
  opacity: 0.95;
}

.smbh-add-inline-link {
  color: #fff;
  text-decoration: none;
}

.smbh-add-inline-link:hover {
  text-decoration: none;
  opacity: 0.9;
}

.smbh-add-copy {
  margin: 0;
  grid-column: 2;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #f7f7f7;
  text-wrap: balance;
}

.smbh-add-button {
  grid-column: 1 / -1;
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  font-family: var(--font);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #111;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 0.52rem 0.88rem;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease,
    background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}

.smbh-add-button:hover {
  transform: translateY(-1px);
  opacity: 1;
  background: #0b0b0b;
  color: #fff;
}

a.subtle, a.author, a.source-book-author {
  color: inherit;
  text-decoration: none;
}
a.subtle:hover, a.author:hover, a.source-book-author:hover {
  color: var(--color-secondary);
}
