/*
 * 0.4.84: single book review, magazine layout (template-parts/review-single.php).
 * Loaded only on reviews. No libraries. Every motion rule sits inside
 * prefers-reduced-motion: no-preference; the 3D tilt is switched on by the script for mouse users only.
 */
body.akg-review-magazine {
  overflow-x: clip;
}

.rm {
  --rm-good: #3f7d4e;
  --rm-mid: #c9a227;
  --rm-low: #b23a3a;
  --rm-gold: #cdaa5c;
}

/* Reading progress */
.rm-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 3px;
  pointer-events: none;
}

.admin-bar .rm-progress {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .rm-progress {
    top: 46px;
  }
}

.rm-progress i {
  display: block;
  height: 100%;
  background: var(--mocha);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* Hero: breaks out of the page column to the full width */
.rm-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: calc(-1 * clamp(2rem, 5vw, 4rem));
  border-bottom: 1px solid var(--line);
}

.rm-hero__glow {
  position: absolute;
  inset: -18%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: blur(64px) saturate(1.25);
  opacity: 0.38;
  transform: scale(1.1);
}

.rm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(246, 242, 233, 0.35), rgba(246, 242, 233, 0.86) 78%, var(--ivory));
}

.rm-hero__in {
  width: min(100% - (var(--pad) * 2), 1120px);
  margin-inline: auto;
  padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.rm-hero--plain .rm-hero__in {
  grid-template-columns: minmax(0, 1fr);
}

.rm-tilt {
  perspective: 900px;
}

.rm-tilt__card {
  position: relative;
  display: block;
  border-radius: 3px;
  box-shadow: 0 30px 60px -18px rgba(18, 21, 28, 0.55), 0 10px 22px -10px rgba(18, 21, 28, 0.4);
}

.rm-tilt__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.rm-tilt__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(255, 255, 255, 0.12) 5%, transparent 9%);
  pointer-events: none;
}

.rm-eyebrow {
  margin: 0 0 0.8rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mocha);
}

.rm-eyebrow a {
  color: inherit;
  text-decoration: none;
}

.rm-eyebrow a:hover {
  text-decoration: underline;
}

.rm-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  line-height: 1.03;
  text-wrap: balance;
}

.rm-by {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--mocha);
}

.rm-headline {
  margin: 0 0 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  color: var(--muted);
}

.rm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}

.rm-pill {
  padding: 0.32rem 0.75rem;
  border: 1px solid rgba(18, 21, 28, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.rm-pill--time {
  border-style: dashed;
  color: var(--muted);
}

.rm-verdict {
  max-width: 36rem;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 3px solid var(--mocha);
}

.rm-verdict span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mocha);
}

.rm-verdict p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.1vw, 1.32rem);
  line-height: 1.4;
}

/* Article and scorecard */
.rm-layout {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 68ch) minmax(0, 320px);
  gap: clamp(2rem, 5vw, 4.5rem);
  justify-content: space-between;
  align-items: start;
}

.rm-layout--solo {
  grid-template-columns: minmax(0, 68ch);
  justify-content: start;
}

.rm-prose {
  min-width: 0;
  font-size: 1.1rem;
  line-height: 1.65;
}

.rm-prose > p {
  margin: 0 0 1.35em;
}

.rm-prose > p:first-of-type::first-letter {
  float: left;
  padding: 0.06em 0.1em 0 0;
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 0.82;
  color: var(--mocha);
}

.rm-prose img {
  max-width: 100%;
  height: auto;
}

.rm-prose blockquote {
  margin: 2.4rem 0;
  padding: 1.6rem 0;
  border: 0;
  border-top: 2px solid var(--espresso);
  border-bottom: 1px solid var(--line);
  background: none;
}

.rm-prose blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1.25;
  color: var(--espresso);
  text-wrap: balance;
}

.rm-prose blockquote p:first-child::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.35rem;
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--mocha);
}

.rm-prose blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.rm-prose .wp-block-buttons {
  gap: 12px;
  margin-top: 28px;
}

.rm-prose .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--espresso);
  border-radius: 0;
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  text-decoration: none;
}

.rm-card {
  position: sticky;
  top: 28px;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px -26px rgba(18, 21, 28, 0.45);
}

.admin-bar .rm-card {
  top: 60px;
}

.rm-card__title {
  margin: 0 0 1rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mocha);
}

.rm-card__stamp {
  position: absolute;
  top: 1.1rem;
  right: 1rem;
  margin: 0;
  transform: rotate(7deg) scale(0.8);
  transform-origin: 100% 0;
}

.rm-score {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
}

.rm-score b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.4rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rm-score small {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--muted);
}

.rm-books {
  display: flex;
  gap: 5px;
  margin: 0 0 1.3rem;
  color: var(--rm-good);
}

.rm-books--mid {
  color: var(--rm-mid);
}

.rm-books--low {
  color: var(--rm-low);
}

.rm-books svg {
  width: 26px;
  height: 26px;
}

.rm-books path {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.rm-books .is-off path {
  fill: none;
  opacity: 0.4;
}

.rm-meter {
  margin: 0 0 0.95rem;
}

.rm-meter__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
}

.rm-meter__top span:last-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.rm-meter__bar {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(18, 21, 28, 0.1);
}

.rm-meter__bar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--mocha), var(--rm-gold));
  transform: scaleX(var(--v));
  transform-origin: 0 50%;
}

.rm-card__sub {
  margin: 1.3rem 0 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.rm-card .rm-pill {
  background: var(--ivory);
  font-weight: 500;
}

.rm-cta {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0.95rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.rm-cta:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.rm-cta--solid {
  background: var(--espresso);
  color: var(--ivory);
}

.rm-cta--ghost {
  margin-top: 0.55rem;
  border: 1px solid var(--espresso);
  color: var(--espresso);
}

.rm-cta--gold {
  background: var(--rm-gold);
  color: #0e1118;
}

.rm-cta--solid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
}

.rm-disclosure {
  margin: 0.9rem 0 0;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-align: center;
  color: var(--muted);
}

/* Spoiler curtain: [spoiler]...[/spoiler] */
.rm-spoiler {
  position: relative;
  margin: 2.2rem 0;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  background: #fff;
}

.rm-spoiler__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c2a2a;
}

.rm-spoiler__check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.rm-spoiler__body > :last-child {
  margin-bottom: 0;
}

.rm-spoiler__check:not(:checked) ~ .rm-spoiler__body {
  filter: blur(9px);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.rm-spoiler__veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(246, 242, 233, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

.rm-spoiler__check:checked ~ .rm-spoiler__veil {
  display: none;
}

.rm-spoiler__btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0.85rem 1.3rem;
  border: 2px solid var(--espresso);
  background: var(--ivory);
  box-shadow: 4px 4px 0 var(--espresso);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
}

.rm-spoiler__veil:active .rm-spoiler__btn {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--espresso);
}

.rm-spoiler__check:focus-visible ~ .rm-spoiler__veil .rm-spoiler__btn,
.rm-spoiler__check:focus-visible ~ .rm-spoiler__hide {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.rm-spoiler__hide {
  display: none;
  margin-top: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  text-decoration: underline;
  color: var(--mocha);
  cursor: pointer;
}

.rm-spoiler__check:checked ~ .rm-spoiler__hide {
  display: inline-block;
}

/* Footer blocks */
.rm-foot {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid;
  gap: 1.4rem;
}

.rm-get {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.6rem;
  border-top: 2px solid var(--espresso);
}

.rm-get p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
}

.rm-get div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.rm-get .rm-cta {
  margin: 0;
  padding: 0.95rem 1.5rem;
}

.rm-byline {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  background: #fff;
}

.rm-byline__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.rm-byline p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
}

.rm-byline b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}

.rm-author {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem 2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: var(--espresso);
  color: var(--ivory);
}

.rm-author::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(205, 170, 92, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(205, 170, 92, 0.06), 0 0 0 60px rgba(205, 170, 92, 0.04);
}

.rm-author span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rm-gold);
}

.rm-author h2 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.15;
  color: var(--ivory);
  text-wrap: balance;
}

.rm-author p {
  max-width: 38rem;
  margin: 0;
  font-size: 1rem;
  color: rgba(246, 242, 233, 0.8);
}

.rm-author .rm-cta {
  padding: 1rem 1.5rem;
}

.rm-author .rm-cta:focus-visible {
  outline-color: var(--ivory);
}

.rm-back {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .rm-tilt.is-live .rm-tilt__card {
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.25s ease-out;
    will-change: transform;
  }

  .rm-ready [data-rm-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .rm-ready [data-rm-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .rm-ready .rm-card:not(.is-in) .rm-meter__bar i {
    transform: scaleX(0);
  }

  .rm-ready .rm-card .rm-meter__bar i {
    transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  .rm-ready .rm-card .rm-meter:nth-of-type(2) .rm-meter__bar i {
    transition-delay: 0.12s;
  }

  .rm-ready .rm-card .rm-meter:nth-of-type(3) .rm-meter__bar i {
    transition-delay: 0.24s;
  }

  .rm-ready .rm-card:not(.is-in) .rm-books .is-on {
    opacity: 0.15;
    transform: translateY(6px) scale(0.8);
  }

  .rm-ready .rm-card .rm-books .is-on {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .rm-ready .rm-card .rm-books svg:nth-child(2) { transition-delay: 0.12s; }
  .rm-ready .rm-card .rm-books svg:nth-child(3) { transition-delay: 0.24s; }
  .rm-ready .rm-card .rm-books svg:nth-child(4) { transition-delay: 0.36s; }
  .rm-ready .rm-card .rm-books svg:nth-child(5) { transition-delay: 0.48s; }

  .rm-spoiler__body {
    transition: filter 0.45s ease, opacity 0.45s ease;
  }

  .rm-spoiler__btn {
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }

  .rm-cta {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .rm-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 22px -12px rgba(18, 21, 28, 0.6);
  }

  .rm-cta--solid:hover::after {
    left: 130%;
    transition: left 0.7s ease;
  }
}

@media (max-width: 900px) {
  .rm-hero__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-tilt {
    max-width: 210px;
  }

  .rm-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-card {
    position: relative;
    top: auto;
    order: -1;
  }

  .admin-bar .rm-card {
    top: auto;
  }

  .rm-prose {
    font-size: 1.06rem;
  }

  .rm-author {
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-get div,
  .rm-get .rm-cta {
    width: 100%;
  }
}

@media print {
  .rm-progress,
  .rm-hero__glow,
  .rm-author,
  .rm-spoiler__veil {
    display: none;
  }

  .rm-spoiler__check:not(:checked) ~ .rm-spoiler__body {
    filter: none;
    opacity: 1;
  }
}

/*
 * 0.4.85: Reviews landing page (archive-akg_review.php).
 */
.rv-intro {
  max-width: 54rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.rv-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  align-items: center;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  color: var(--muted);
}

.rv-key__count {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
}

.rv-key__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.rv-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--rm-good);
}

.rv-dot--mid { background: var(--rm-mid); }
.rv-dot--low { background: var(--rm-low); }

.rv-cover {
  display: block;
  border-radius: 3px;
  box-shadow: 0 26px 50px -20px rgba(18, 21, 28, 0.55), 0 8px 18px -10px rgba(18, 21, 28, 0.35);
}

.rv-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.rv-cover__blank {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 3;
  padding: 1rem;
  border-radius: 3px;
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.2;
  text-align: center;
}

.rv-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.rv .review-books {
  gap: 4px;
}

.rv .review-books .book-icon {
  width: 22px;
  height: 22px;
}

.rv .review-books--good .book-icon path { fill: var(--rm-good); stroke: var(--rm-good); }
.rv .review-books--mid .book-icon path { fill: var(--rm-mid); stroke: var(--rm-mid); }
.rv .review-books--low .book-icon path { fill: var(--rm-low); stroke: var(--rm-low); }
.rv .review-books .book-icon.is-off path { fill: none; }

/* Featured review */
.rv-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: #fff;
}

.rv-feature__glow {
  display: none; /* 0.4.89: the cover-colour tint clashed with the site's paper tone. */
}

.rv-feature {
  background: linear-gradient(100deg, #f3ece1, #fffdf9 58%);
  box-shadow: 0 22px 44px -32px rgba(18, 21, 28, 0.45);
}

.rv-feature::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--mocha);
}

.rv-feature__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.05;
  text-wrap: balance;
}

.rv-feature__title a,
.rv-card__title a {
  color: var(--espresso);
  text-decoration: none;
}

.rv-feature__title a:hover,
.rv-card__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.rv-feature__verdict {
  max-width: 36rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.4;
}

.rv-feature__cta {
  display: inline-block;
  padding-inline: 1.6rem;
}

/* Grid of earlier reviews */
.rv-heading {
  margin: clamp(2.5rem, 6vw, 4rem) 0 1.4rem;
  padding-top: 1.2rem;
  border-top: 2px solid var(--espresso);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mocha);
}

.rv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.6rem, 4vw, 2.6rem) clamp(1.2rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rv-card .rv-cover {
  max-width: 11.5rem;
  margin-bottom: 1.1rem;
}

.rv-card__title {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.15;
}

.rv-card__by {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--mocha);
}

.rv-card__verdict {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.rv-card__date {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.rv-author {
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

@media (prefers-reduced-motion: no-preference) {
  .rv-cover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .rv-card:hover .rv-cover,
  .rv-feature:hover .rv-cover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 34px 56px -22px rgba(18, 21, 28, 0.6), 0 10px 20px -10px rgba(18, 21, 28, 0.4);
  }
}

@media (max-width: 760px) {
  .rv-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .rv-feature .rv-cover {
    max-width: 200px;
  }

  .rv-feature__cta {
    display: block;
  }

  .rv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rv-card__title {
    font-size: 1.15rem;
  }
}
