:root {
  --color-bg: #040809;
  --color-bg-deep: #020506;
  --color-panel-bg: rgba(7, 15, 16, 0.9);
  --color-panel-bg-light: rgba(10, 23, 21, 0.88);
  --color-panel-border: rgba(93, 168, 143, 0.28);
  --color-text: #f0f2ef;
  --color-text-dim: #aeb9b4;
  --color-text-dimmer: #74847e;
  --color-accent: #64da2f;
  --color-accent-light: #8df159;
  --color-blue: #37bdeb;
  --color-line: rgba(100, 218, 47, 0.34);
  --font-display: "Oswald", sans-serif;
  --font-body: "Barlow", sans-serif;
}

html {
  background: var(--color-bg-deep);
  color-scheme: dark;
}

body {
  color: var(--color-text);
  background:
    linear-gradient(rgba(45, 150, 113, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 150, 113, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(40, 101, 82, 0.16), transparent 42%),
    var(--color-bg);
  background-size: 36px 36px, 36px 36px, auto, auto;
  font-family: var(--font-body);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 3%, rgba(93, 168, 143, 0.05) 3.1%, transparent 3.2% 96.8%, rgba(93, 168, 143, 0.05) 96.9%, transparent 97%);
}

::selection {
  color: #031004;
  background: var(--color-accent);
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, 1380px);
}

/* Masthead */
.site-header {
  position: relative;
  isolation: isolate;
  min-height: 472px;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(100, 218, 47, 0.38);
  background-color: #050a0c;
  box-shadow: inset 0 -26px 50px rgba(0, 0, 0, 0.65), 0 14px 40px rgba(0, 0, 0, 0.45);
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.site-header::before {
  inset: 0 0 72px;
  border: 1px solid rgba(55, 189, 235, 0.2);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2)),
    url("../images/masthead-desktop.webp");
  background-repeat: no-repeat;
  background-position: center 26%;
  background-size: cover;
  box-shadow: inset 0 -26px 50px rgba(0, 0, 0, 0.65);
}

.site-header::after {
  top: 0;
  bottom: 72px;
  left: 50%;
  width: min(42vw, 660px);
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(4, 8, 9, 0.96) 0 34%, rgba(4, 8, 9, 0.78) 58%, transparent 78%);
}

.site-header > .container {
  position: relative;
  z-index: 2;
  min-height: 472px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding-top: 42px;
}

.site-brand {
  align-self: center;
  display: flex;
  width: min(52%, 650px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 6px 22px #000;
}

.site-brand__kicker,
.site-brand__tagline {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.22em;
}

.site-brand__kicker {
  margin-bottom: 0.45rem;
  font-size: clamp(0.65rem, 1.1vw, 0.9rem);
}

.site-brand__name {
  display: block;
  color: #f3f4f1;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.025em;
  text-wrap: balance;
  filter: drop-shadow(0 3px 0 rgba(255, 255, 255, 0.12));
}

.site-brand__name span {
  display: block;
  margin-top: 0.14em;
}

.site-brand__tagline {
  margin-top: 0.8rem;
  font-size: clamp(0.72rem, 1.3vw, 1rem);
}

.main-nav {
  position: relative;
  width: 100%;
  min-height: 72px;
  padding-inline: 1.25rem;
  border: 1px solid rgba(104, 179, 151, 0.34);
  border-bottom-color: rgba(100, 218, 47, 0.62);
  background: linear-gradient(180deg, rgba(8, 16, 18, 0.94), rgba(3, 9, 10, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 -8px 34px rgba(0, 0, 0, 0.55);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%, 0 18px);
}

.main-nav::after {
  content: "System status:  Online   ●";
  position: absolute;
  top: 50%;
  right: 1.6rem;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav__list {
  min-height: 70px;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.main-nav__list a {
  position: relative;
  padding: 1.65rem 0 1.45rem;
  color: #e9eeeb;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav__list a:hover,
.main-nav__list a[aria-current="page"] {
  color: var(--color-accent-light);
}

.main-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-accent);
  box-shadow: 0 0 16px var(--color-accent);
}

.nav-toggle {
  border-color: rgba(100, 218, 47, 0.7);
  color: var(--color-accent-light);
  background: rgba(4, 12, 10, 0.9);
}

/* Main landing hero */
.hero {
  position: relative;
  padding-block: clamp(4rem, 7vw, 7rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 43% 46%, rgba(49, 132, 100, 0.1), transparent 33%);
}

.hero .container {
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(3rem, 6vw, 6rem);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow,
.page-hero__eyebrow {
  margin: 0 0 0.8rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero__heading {
  max-width: 9ch;
  font-size: clamp(3.2rem, 6.2vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero__heading .accent {
  display: block;
  color: var(--color-accent);
  text-shadow: 0 0 30px rgba(100, 218, 47, 0.2);
}

.hero__eyebrow-rule {
  width: 92px;
  height: 2px;
  margin-block: 1.5rem;
  background: linear-gradient(90deg, var(--color-blue), transparent);
}

.hero__subtext {
  color: var(--color-text-dim);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

.hero__media {
  position: relative;
  border: 1px solid rgba(55, 189, 235, 0.52);
  background: rgba(3, 9, 10, 0.94);
  box-shadow: 0 0 0 8px rgba(7, 20, 19, 0.65), 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 0 42px rgba(55, 189, 235, 0.08);
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.hero__feature {
  min-width: 0;
}

.hero__feature-label {
  margin: 0 0 0.8rem;
  color: var(--color-accent-light);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-align: right;
  text-transform: uppercase;
}

.hero-carousel__controls {
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(100, 218, 47, 0.25);
  background: rgba(2, 7, 7, 0.82);
}

.hero-carousel__dot {
  border-color: rgba(255, 255, 255, 0.85);
}

/* Buttons and labels */
.btn {
  position: relative;
  min-height: 48px;
  border-color: rgba(115, 172, 150, 0.46);
  color: #edf2ee;
  background: rgba(5, 12, 12, 0.76);
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--color-blue);
  color: #fff;
  background: rgba(17, 50, 47, 0.95);
  box-shadow: 0 0 20px rgba(55, 189, 235, 0.2);
}

.btn--solid {
  border-color: var(--color-accent);
  color: #071005;
  background: linear-gradient(135deg, var(--color-accent-light), #4bbb21);
  box-shadow: 0 0 22px rgba(100, 218, 47, 0.2);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  color: #020602;
  background: #a2ff73;
}

.tag {
  border-color: rgba(117, 171, 150, 0.4);
  color: #dbe6df;
  background: rgba(3, 10, 10, 0.88);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
}

.tag--blue {
  border-color: var(--color-blue);
  color: #061014;
  background: var(--color-blue);
}

.link-arrow {
  color: var(--color-accent-light);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Format strip */
.read-strip {
  position: relative;
  border-block-color: rgba(100, 218, 47, 0.22);
  background: linear-gradient(180deg, rgba(7, 16, 16, 0.95), rgba(3, 9, 10, 0.95));
}

.read-strip .container {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(55, 189, 235, 0.16);
}

.read-strip__title,
.section-heading {
  color: var(--color-accent-light);
  font-size: 0.82rem;
  letter-spacing: 0.23em;
  text-align: center;
  text-transform: uppercase;
}

.read-strip__title::before,
.read-strip__title::after,
.section-heading::before,
.section-heading::after {
  content: "";
  display: inline-block;
  width: clamp(32px, 6vw, 90px);
  height: 1px;
  margin: 0 1rem 0.25rem;
  background: linear-gradient(90deg, transparent, var(--color-blue));
}

.read-strip__title::after,
.section-heading::after {
  background: linear-gradient(90deg, var(--color-blue), transparent);
}

.read-grid {
  gap: 1rem;
}

.read-item {
  min-height: 150px;
  padding: 1.5rem;
  border: 1px solid rgba(100, 218, 47, 0.25);
  background: rgba(2, 9, 9, 0.72);
  text-align: left;
}

.read-item__icon {
  width: 44px;
  color: var(--color-blue);
}

.read-item h3 {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.read-item p {
  color: var(--color-text-dim);
}

/* Books */
.featured-books {
  position: relative;
  padding-block: clamp(4.5rem, 7vw, 7rem);
}

.book-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.book-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(103, 170, 145, 0.32);
  background: linear-gradient(160deg, rgba(9, 19, 19, 0.96), rgba(3, 8, 9, 0.98));
  box-shadow: inset 0 0 35px rgba(35, 107, 82, 0.06), 0 16px 40px rgba(0, 0, 0, 0.22);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}

.book-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 7px;
  border-top: 1px solid rgba(100, 218, 47, 0.18);
  border-bottom: 1px solid rgba(55, 189, 235, 0.1);
}

.book-card__cover {
  width: min(72%, 230px);
  max-width: none;
  margin: 1.35rem auto 0;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(100, 218, 47, 0.22);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.48);
}

.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.5rem;
}

.book-card__series {
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.book-card__title {
  margin-top: 0.35rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: 0.035em;
}

.book-card__desc {
  color: var(--color-text-dim);
  font-size: 0.88rem;
  line-height: 1.55;
}

.book-card__formats {
  gap: 0.42rem;
}

.book-card__format-row {
  flex: 0 0 100%;
}

.book-card__actions {
  margin-top: 1.25rem;
}

/* Newsletter */
.newsletter {
  margin-block: 1rem 4rem;
  border-block: 1px solid rgba(100, 218, 47, 0.24);
  background:
    radial-gradient(circle at 12% 50%, rgba(100, 218, 47, 0.14), transparent 18%),
    linear-gradient(110deg, rgba(9, 27, 22, 0.95), rgba(4, 11, 12, 0.98));
}

.newsletter > .container {
  padding-block: clamp(2.2rem, 4vw, 3.5rem);
}

.newsletter__icon {
  color: var(--color-accent);
}

.newsletter__title {
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
  letter-spacing: 0.04em;
}

.newsletter__desc {
  color: var(--color-text-dim);
}

.newsletter__form input {
  min-height: 50px;
  border-color: rgba(101, 161, 138, 0.42);
  color: var(--color-text);
  background: rgba(2, 8, 9, 0.9);
}

.newsletter__form input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(55, 189, 235, 0.12);
}

/* Interior pages */
.page-hero {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid rgba(100, 218, 47, 0.16);
  background:
    linear-gradient(90deg, rgba(4, 8, 9, 0.94), rgba(4, 8, 9, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(55, 189, 235, 0.04) 48px);
}

.page-hero .container {
  position: relative;
  max-width: 1040px;
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 2px solid var(--color-accent);
  background: linear-gradient(90deg, rgba(10, 24, 21, 0.64), transparent);
}

.page-hero__heading {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.page-hero__subtext {
  max-width: 62ch;
  color: var(--color-text-dim);
  font-size: 1.08rem;
}

.prose {
  max-width: 880px;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(103, 170, 145, 0.24);
  background: rgba(5, 13, 13, 0.76);
  box-shadow: inset 0 0 60px rgba(43, 118, 88, 0.035);
}

.prose .lead {
  color: #eef4ef;
  font-size: 1.35rem;
}

.prose h2 {
  color: var(--color-accent-light);
}

.prose a {
  color: var(--color-blue);
}

.series-strip {
  border-block-color: rgba(100, 218, 47, 0.28);
  background: linear-gradient(130deg, rgba(13, 34, 27, 0.96), rgba(3, 10, 11, 0.98));
}

.series-strip__brand h2 {
  color: var(--color-accent-light);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

/* Footer */
.site-footer {
  position: relative;
  border-top-color: rgba(55, 189, 235, 0.24);
  background: linear-gradient(180deg, rgba(7, 15, 16, 0.98), #020506);
}

.site-footer .container {
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(98, 166, 140, 0.2);
  background: rgba(3, 9, 10, 0.7);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
}

.site-footer__brand {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.site-footer__name {
  color: #f3f4f1;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-shadow: 0 6px 22px #000;
  filter: drop-shadow(0 3px 0 rgba(255, 255, 255, 0.1));
}

.site-footer__brand:hover .site-footer__name,
.site-footer__brand:focus-visible .site-footer__name {
  color: var(--color-accent-light);
}

.site-footer__tagline {
  color: var(--color-accent);
  letter-spacing: 0.18em;
}

.site-footer__nav a {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__nav a:hover {
  color: var(--color-accent-light);
}

.site-footer__copy {
  color: var(--color-text-dimmer);
}

@media (max-width: 1160px) {
  .main-nav::after {
    display: none;
  }

  .hero .container {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .book-card {
    display: grid;
    grid-template-columns: minmax(150px, 0.68fr) 1.32fr;
  }

  .book-card__cover {
    width: calc(100% - 2rem);
    margin: 1rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 442px;
  }

  .site-header::before {
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.18)),
      url("../images/masthead-tablet.webp");
    background-position: center top;
    background-size: cover;
  }

  .site-header::after {
    left: auto;
    right: 0;
    width: 58%;
    transform: none;
    background: linear-gradient(90deg, transparent, rgba(4, 8, 9, 0.82) 18%, rgba(4, 8, 9, 0.96) 52%);
  }

  .site-header > .container {
    min-height: 442px;
    padding-top: 56px;
  }

  .site-brand {
    align-self: flex-end;
    width: 56%;
  }

  .site-brand__name {
    font-size: clamp(3.4rem, 9vw, 5.8rem);
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero__feature {
    order: 0;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .hero__media {
    order: 0;
    max-width: none;
  }

  .hero__content {
    order: 1;
  }

  .hero__heading {
    max-width: 12ch;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 1.5rem, 1380px);
  }

  .site-header {
    z-index: 10;
    min-height: 540px;
    overflow: visible;
  }

  .site-header::before {
    inset: 0 0 62px;
    background-image: url("../images/masthead-mobile.webp");
    background-position: center top;
    background-size: cover;
  }

  .site-header::after {
    display: none;
  }

  .site-header > .container {
    min-height: 540px;
    padding-top: 310px;
  }

  .site-brand {
    align-self: center;
    width: 100%;
  }

  .site-brand__kicker {
    display: none;
  }

  .site-brand__name {
    font-size: clamp(3.2rem, 16vw, 5rem);
    line-height: 0.88;
  }

  .site-brand__tagline {
    margin-top: 0.75rem;
    font-size: 0.7rem;
  }

  .main-nav {
    min-height: 62px;
    padding: 0.65rem;
    overflow: visible;
    clip-path: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-inline: auto;
  }

  .main-nav__list {
    position: absolute;
    z-index: 12;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    min-height: 0;
    padding: 1rem;
    border: 1px solid rgba(100, 218, 47, 0.36);
    background: rgba(2, 8, 9, 0.98);
  }

  .main-nav__list a {
    padding: 0.65rem 0;
  }

  .hero {
    padding-block: 3rem 4.5rem;
  }

  .hero__heading {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .read-strip__title::before,
  .read-strip__title::after,
  .section-heading::before,
  .section-heading::after {
    width: 24px;
    margin-inline: 0.5rem;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    grid-template-columns: minmax(125px, 0.72fr) 1.28fr;
  }

  .book-card__body {
    padding-inline: 0.8rem;
  }

  .book-card__desc {
    font-size: 0.82rem;
  }

  .newsletter > .container {
    padding-inline: 1rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    min-height: 500px;
  }

  .site-header > .container {
    min-height: 500px;
    padding-top: 285px;
  }

  .book-card {
    display: flex;
  }

  .book-card__cover {
    width: min(58%, 210px);
    margin-inline: auto;
  }

  .book-card__body {
    padding: 1rem 1.1rem 1.4rem;
    text-align: left;
  }

  .book-card__formats,
  .book-card__actions {
    justify-content: flex-start;
  }

  .page-hero .container,
  .prose {
    padding: 1.5rem;
  }
}

/* Books page: retain the original site's two-column Featured Books layout. */
.featured-books--catalog {
  padding-block: 0 clamp(4.5rem, 7vw, 7rem);
}

.featured-books--catalog .book-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3rem);
}

.featured-books--catalog .book-card {
  display: grid;
  grid-template-columns: minmax(130px, 170px) 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid var(--color-panel-border-soft);
  background: rgba(255, 255, 255, 0.015);
  box-shadow: none;
  clip-path: none;
  transition: border-color 0.2s ease;
}

.featured-books--catalog .book-card:hover {
  border-color: var(--color-panel-border);
}

.featured-books--catalog .book-card::after {
  display: none;
}

.featured-books--catalog .book-card__cover {
  width: auto;
  max-width: none;
  margin: 0;
  border: 1px solid var(--color-panel-border-soft);
  box-shadow: none;
}

.featured-books--catalog .book-card__body {
  padding: 0;
}

.featured-books--catalog .book-card__series {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

.featured-books--catalog .book-card__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.featured-books--catalog .book-card__desc {
  font-size: 1rem;
  line-height: inherit;
}

@media (max-width: 900px) {
  .featured-books--catalog .book-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .featured-books--catalog .book-card {
    grid-template-columns: 130px 1fr;
  }
}

@media (max-width: 480px) {
  .featured-books--catalog .book-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .featured-books--catalog .book-card__cover {
    width: auto;
    max-width: 180px;
    margin-inline: auto;
  }

  .book-card__format-row {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
