/* ============================================================
   Repère IA — Comparatifs IA Directory
   Namespace: .ri-cmp-*
   Reproduces V21 reference (repereia-comparisons-directory-reference-v21.html)
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */

.ri-cmp-wrap {
  padding-top: var(--ri-sp-8);
  padding-bottom: var(--ri-sp-16);
}

/* ── Breadcrumb (scoped — does not affect global breadcrumb) ─ */
.ri-cmp-wrap .ri-breadcrumb {
  font-size: 12px;
  margin-bottom: 12px;
}

.ri-cmp-wrap .ri-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ri-cmp-wrap .ri-breadcrumb__item {
  display: flex;
  align-items: center;
}

.ri-cmp-wrap .ri-breadcrumb__sep {
  color: #b0b9cc;
  font-size: 11px;
  margin: 0 6px;
}

.ri-cmp-wrap .ri-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
}

.ri-cmp-wrap .ri-breadcrumb a:hover { color: var(--ri-blue); }

.ri-cmp-wrap .ri-breadcrumb__item:last-child span {
  color: var(--ri-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

/* Hide stray empty <p> from wpautop inside the comparisons wrapper */
.ri-cmp-wrap > p:empty { display: none; }

.ri-cmp-hero {
  padding: 28px 0 24px;
}

.ri-cmp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 44px;
  align-items: center;
  width: 100%;
}

.ri-cmp-hero-content { min-width: 0; }

.ri-cmp-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: #3154ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.ri-cmp-hero-h1 {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 900;
  color: #0c1730;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.ri-cmp-hero-h1__accent { color: #3154ff; }

.ri-cmp-hero-desc {
  color: #53657e;
  max-width: 660px;
  line-height: 1.65;
  font-size: 14px;
  margin: 0 0 22px;
}

/* Search */
.ri-cmp-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dbe3f0;
  border-radius: 12px;
  padding: 13px 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(82, 102, 135, 0.05);
  margin-bottom: 14px;
}

.ri-cmp-search__icon {
  flex-shrink: 0;
  color: #8b9ab0;
}

.ri-cmp-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #1a2540;
  font-family: var(--ri-font-ui);
}

.ri-cmp-search__input::placeholder { color: #8b9ab0; }

.ri-cmp-search__clear {
  color: #8b9ab0;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s;
}

.ri-cmp-search__clear:hover { color: #1a2540; }

/* Filter chips */
.ri-cmp-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ri-cmp-chip {
  border: 1px solid #dbe3f0;
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 12px;
  color: #4a5568;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1;
}

.ri-cmp-chip:hover {
  border-color: #3154ff;
  color: #3154ff;
}

.ri-cmp-chip--active {
  background: #3154ff;
  color: #fff;
  border-color: #3154ff;
}

/* Hero Art */
.ri-cmp-hero-art {
  position: relative;
  width: 292px;
  height: 156px;
  justify-self: end;
  align-self: center;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(
    108deg,
    #07172f 0%,
    #0a2148 24%,
    #1246bf 40%,
    #d9e6ff 47%,
    #ffffff 50%,
    #e4e7ff 54%,
    #5759dd 74%,
    #4431bd 100%
  );
}
.ri-cmp-hero-art--link {
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
}
.ri-cmp-hero-art--link:hover,
.ri-cmp-hero-art--link:focus-within {
  box-shadow: 0 0 0 3px rgba(49, 84, 255, 0.35), 0 8px 24px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}
.ri-cmp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: inherit;
}

.ri-cmp-hero-tool {
  position: absolute;
  top: 31px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 20px rgba(7, 23, 47, 0.16);
}

.ri-cmp-hero-tool--left { left: 38px; }
.ri-cmp-hero-tool--right { right: 38px; }

.ri-cmp-hero-tool > img,
.ri-cmp-hero-tool > svg {
  display: block;
  width: 38px;
  height: 38px;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  flex: none;
  color: #1a2540;
}

.ri-cmp-hero-tool > small {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: max-content;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 3px rgba(7, 23, 47, 0.45);
}

.ri-cmp-hero-tool__initials {
  font-size: 18px;
  font-weight: 900;
  color: #1a2540;
}

.ri-cmp-hero-vs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0b1736;
  border: 1px solid #dce4f3;
  box-shadow: 0 6px 16px rgba(7, 23, 47, 0.12);
  font-size: 9px;
  font-weight: 900;
  z-index: 5;
}

/* Leaderboard ad — 970px centered in container (override global 728px) */
.ri-cmp-ad-leaderboard {
  margin: 20px auto;
  max-width: 970px;
}

/* ── Main layout ─────────────────────────────────────────── */

.ri-cmp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 38px;
  align-items: start;
}

.ri-cmp-main { min-width: 0; }

.ri-cmp-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #0c1730;
  margin: 24px 0 16px;
  letter-spacing: -0.3px;
}

/* ── Featured comparison (V10 final state) ───────────────── */

.ri-cmp-featured {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 205px;
  align-items: stretch;
  min-height: 218px;
  overflow: hidden;
  border: 1px solid #dfe5ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 44, 76, 0.035);
  margin-bottom: 8px;
}

.ri-cmp-featured-duel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 16px;
  background: linear-gradient(
    108deg,
    #08152f 0%,
    #0b1f46 22%,
    #1543b8 40%,
    #dbe7ff 47%,
    #ffffff 50%,
    #e6e7ff 54%,
    #5b5fe7 73%,
    #4a38c9 100%
  );
  border-right: 1px solid #dfe5ef;
}

.ri-cmp-featured-logo {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 20px rgba(8, 21, 47, 0.14);
  flex-shrink: 0;
}

.ri-cmp-featured-logo img,
.ri-cmp-featured-logo svg {
  display: block;
  width: 33px;
  height: 33px;
  object-fit: contain;
  color: #1a2540;
}

.ri-cmp-featured-vs {
  position: relative;
  z-index: 3;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0b1736;
  border: 1px solid #dce4f3;
  box-shadow: 0 6px 16px rgba(8, 21, 47, 0.11);
  font-size: 7px;
  font-weight: 900;
}

.ri-cmp-featured-copy {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ri-cmp-featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin-bottom: 9px;
  color: #68758c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.ri-cmp-featured-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #3154ff, #7857ee);
  flex-shrink: 0;
}

.ri-cmp-featured-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #101b34;
  letter-spacing: -0.45px;
}

.ri-cmp-featured-desc {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.62;
  color: #66758e;
}

.ri-cmp-featured-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ri-cmp-featured-tags span {
  font-size: 9px;
  font-weight: 800;
  color: #3154ff;
  background: #f1f4ff;
  border: 1px solid #dce3ff;
  border-radius: 9999px;
  padding: 5px 8px;
}

.ri-cmp-featured-side {
  padding: 19px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: #fbfcff;
  border-left: 1px solid #e5e9f1;
}

.ri-cmp-featured-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8ecf3;
  font-size: 10px;
}

.ri-cmp-featured-choice:last-of-type { border-bottom: 0; }
.ri-cmp-featured-choice span { color: #8591a4; }
.ri-cmp-featured-choice strong { color: #1c2943; font-size: 10px; }

.ri-cmp-featured-btn {
  margin-top: 6px;
  min-height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 7px;
  background: #3154ff;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  transition: background 0.15s;
}

.ri-cmp-featured-btn:hover { background: #2641e0; }
.ri-cmp-featured-btn span { font-size: 13px; }

/* ── List head ───────────────────────────────────────────── */

.ri-cmp-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

/* Sort form */
.ri-cmp-sort-form { display: flex; align-items: center; }

.ri-cmp-sort-select {
  font-size: 12px;
  font-family: var(--ri-font-ui, inherit);
  color: #4a5568;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  cursor: pointer;
  outline: none;
}

.ri-cmp-sort-select:focus-visible {
  border-color: #3154ff;
  box-shadow: 0 0 0 3px rgba(49, 84, 255, 0.12);
}

/* ── Comparison cards ────────────────────────────────────── */

.ri-cmp-comparison-list { display: flex; flex-direction: column; gap: 10px; }

.ri-cmp-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 126px;
  gap: 17px;
  align-items: center;
  padding: 15px 16px;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ri-cmp-card:hover {
  transform: translateY(-1px);
  border-color: #bfcaf5;
  box-shadow: 0 10px 28px rgba(40, 72, 255, 0.08);
}

/* Stretch link — covers the full card */
.ri-cmp-card__link {
  color: inherit;
  text-decoration: none;
}
.ri-cmp-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* Logo pair */
.ri-cmp-logo-pair {
  position: relative;
  width: 102px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.ri-cmp-mini-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e0e5ef;
  box-shadow: 0 5px 14px rgba(35, 50, 82, 0.055);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.ri-cmp-mini-logo img,
.ri-cmp-mini-logo svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  padding: 9px;
  box-sizing: content-box;
  /* override the padding via a simpler approach */
  padding: 0;
  width: 26px;
  height: 26px;
}

.ri-cmp-pair-vs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: 25px;
  min-width: 25px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #3154ff;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 9px rgba(49, 84, 255, 0.12);
  z-index: 3;
}

/* Card content */
.ri-cmp-card__content { min-width: 0; }

.ri-cmp-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #0c1730;
  margin: 0 0 5px;
  line-height: 1.3;
}

.ri-cmp-card__desc {
  font-size: 12px;
  color: #70829c;
  line-height: 1.5;
  margin: 0 0 6px;
}

.ri-cmp-card__meta {
  font-size: 11px;
  color: #8292aa;
}

/* Card action */
.ri-cmp-card__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.ri-cmp-verdict {
  background: #eef2ff;
  color: #3154ff;
  border: 1px solid #d9e1ff;
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  line-height: 1.35;
}

.ri-cmp-card__cta {
  font-size: 11px;
  font-weight: 800;
  color: #3154ff;
  white-space: nowrap;
}

/* ── Categories ──────────────────────────────────────────── */

.ri-cmp-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 30px;
}

.ri-cmp-cat {
  border: 1px solid #dfe6f1;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ri-cmp-cat:hover {
  border-color: #b8c5ef;
  box-shadow: 0 6px 18px rgba(40, 72, 255, 0.06);
}

.ri-cmp-cat__ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0f4ff;
  display: grid;
  place-items: center;
  color: #3154ff;
  margin-bottom: 10px;
}

.ri-cmp-cat__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0c1730;
  margin-bottom: 5px;
}

.ri-cmp-cat__desc {
  font-size: 11px;
  color: #70829c;
  line-height: 1.45;
}

/* ── Sidebar ─────────────────────────────────────────────── */

.ri-cmp-sidebar { min-width: 0; }

.ri-cmp-sidebox {
  border: 1px solid #dfe6f1;
  border-radius: 13px;
  padding: 18px;
  margin-bottom: 18px;
  background: #fff;
}

.ri-cmp-sidebox__title {
  font-size: 14px;
  font-weight: 800;
  color: #0c1730;
  margin: 0 0 14px;
}

.ri-cmp-sidebox__desc {
  font-size: 12px;
  color: #70829c;
  margin: 0 0 12px;
}

.ri-cmp-side-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #e9eef5;
  color: inherit;
}

.ri-cmp-side-row:last-child { border-bottom: 0; }
.ri-cmp-side-row:hover .ri-cmp-side-link { color: #3154ff; }

/* Stretch link covers the full row */
.ri-cmp-side-link {
  font-size: 12px;
  font-weight: 700;
  color: #0c1730;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.15s;
  display: block;
}

.ri-cmp-side-link::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* Sidebar logo pair */
.ri-cmp-side-logos {
  position: relative;
  width: 66px;
  height: 36px;
  flex-shrink: 0;
}

.ri-cmp-side-logo {
  position: absolute;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e1e6ef;
  box-shadow: 0 3px 9px rgba(35, 50, 82, 0.05);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ri-cmp-side-logo:first-child { left: 0; }
.ri-cmp-side-logo:last-child { right: 0; }

.ri-cmp-side-logo img,
.ri-cmp-side-logo svg {
  width: 19px;
  height: 19px;
  object-fit: contain;
  color: #1a2540;
}

/* Sidebar VS overlay */
.ri-cmp-side-logos::after {
  content: "VS";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #3154ff;
  color: #fff;
  border: 2px solid #fff;
  font-size: 6px;
  font-weight: 900;
  z-index: 3;
}

/* Tool thumb (sidebar) */
.ri-cmp-tool-thumb {
  width: 48px;
  height: 38px;
  border-radius: 9px;
  background: #f4f7fb;
  border: 1px solid #e2e7f0;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.ri-cmp-tool-thumb img,
.ri-cmp-tool-thumb svg {
  width: 28px;
  height: 28px;
  object-fit: contain;
  color: #1a2540;
}

.ri-cmp-side-info {
  min-width: 0;
  overflow: hidden;
}

/* Newsletter */
.ri-cmp-sidebox--newsletter {
  background: #07182a;
  border-color: #1a3050;
}

.ri-cmp-sidebox--newsletter .ri-cmp-sidebox__title { color: #fff; }
.ri-cmp-sidebox--newsletter .ri-cmp-sidebox__desc { color: #7a9ab8; }

.ri-cmp-newsletter-form { display: flex; flex-direction: column; gap: 8px; }

.ri-cmp-newsletter-input {
  width: 100%;
  background: #13253a;
  border: 1px solid #32455c;
  border-radius: 7px;
  padding: 11px 12px;
  color: #fff;
  font-size: 12px;
  font-family: var(--ri-font-ui);
  outline: none;
}

.ri-cmp-newsletter-input::placeholder { color: #4a6880; }

.ri-cmp-newsletter-btn {
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 11px;
  background: linear-gradient(90deg, #3154ff, #7857ee);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  cursor: not-allowed;
  opacity: 0.8;
  font-family: var(--ri-font-ui);
}

/* Sidebar ad — override editorial-archive.css margin so spacing matches sidebox rhythm */
.ri-cmp-side-ad {
  margin-bottom: 18px;
}

.ri-cmp-sidebar .ri-arch-ad {
  margin-top: 0;
  margin-bottom: 18px;
}

/* Newsletter button — functional, not disabled */
.ri-cmp-newsletter-btn {
  cursor: pointer;
  opacity: 1;
}

/* Initials fallback */
.ri-cmp-logo-initials {
  font-size: 14px;
  font-weight: 900;
  color: #1a2540;
}

.ri-cmp-logo-initials--lg { font-size: 17px; }
.ri-cmp-logo-initials--sm { font-size: 12px; }
.ri-cmp-logo-initials--xs { font-size: 10px; }

/* ── CTA ─────────────────────────────────────────────────── */

.ri-cmp-cta {
  background: linear-gradient(105deg, #07182a, #251d7c);
  color: #fff;
  border-radius: 14px;
  padding: 27px 32px;
  margin: 32px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.ri-cmp-cta__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.ri-cmp-cta__desc {
  color: #c6d3e8;
  font-size: 13px;
  margin: 0;
}

.ri-cmp-cta__btn {
  flex-shrink: 0;
  display: inline-block;
  background: #3154ff;
  color: #fff;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.ri-cmp-cta__btn:hover { background: #2641e0; }

/* Empty state */
.ri-cmp-empty {
  text-align: center;
  padding: 48px 0;
  color: #70829c;
  font-size: 14px;
}

/* ── Load-more button (matches .ri-arch-more design) ─────── */

.ri-cmp-viewmore {
  margin: 8px 0 16px;
  text-align: center;
}

.ri-cmp-more {
  display: block;
  width: 260px;
  text-align: center;
  border: 1px solid #dce3f0;
  border-radius: 6px;
  padding: 11px;
  margin: 0 auto;
  color: #1744c9;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--ri-font-ui, inherit);
  background: #fff;
  cursor: pointer;
  text-decoration: none;
}

.ri-cmp-more:hover { background: #f5f7ff; }

.ri-cmp-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .ri-cmp-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .ri-cmp-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ri-cmp-hero-art {
    justify-self: start;
    width: min(100%, 360px);
    height: 140px;
    display: block; /* visible on tablet */
  }

  .ri-cmp-layout {
    grid-template-columns: 1fr;
  }

  .ri-cmp-sidebar {
    display: none; /* sidebar collapses on mobile — same as V21 reference */
  }

  .ri-cmp-featured {
    grid-template-columns: 1fr;
  }

  .ri-cmp-featured-duel {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid #e1e6ef;
  }

  .ri-cmp-featured-side {
    border-left: 0;
    border-top: 1px solid #e5e9f1;
  }

  .ri-cmp-hero-h1 { font-size: 36px; }
}

@media (max-width: 768px) {
  .ri-cmp-hero-art { display: none; }

  .ri-cmp-card {
    grid-template-columns: 90px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .ri-cmp-card__action {
    grid-column: 2;
    justify-content: flex-start;
    margin-top: 4px;
  }

  .ri-cmp-categories {
    grid-template-columns: 1fr 1fr;
  }

  .ri-cmp-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
  }
}

@media (max-width: 480px) {
  .ri-cmp-hero-h1 { font-size: 28px; }

  .ri-cmp-card {
    grid-template-columns: 1fr;
  }

  .ri-cmp-logo-pair { width: 80px; margin: 0 auto; }

  .ri-cmp-card__action {
    grid-column: 1;
    justify-content: flex-start;
  }

  .ri-cmp-categories { grid-template-columns: 1fr; }

  .ri-cmp-featured { grid-template-columns: 1fr; }
}
