/*
Theme Name: Real Life Picks
Theme URI: https://reallifepicks.com
Author: Real Life Picks
Author URI: https://reallifepicks.com
Description: Fast product offer theme for picks, deals, and conversion pages.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: reallifepicks
*/

:root {
  --rlp-ink: #191719;
  --rlp-muted: #6f6870;
  --rlp-soft: #fff6f4;
  --rlp-line: #f0dde0;
  --rlp-card: #ffffff;
  --rlp-accent: #e64770;
  --rlp-accent-strong: #c92f59;
  --rlp-gold: #f59e0b;
  --rlp-danger: #b42318;
  --rlp-radius: 8px;
  --rlp-shadow: 0 18px 42px rgba(91, 52, 62, 0.09);
  --rlp-content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rlp-ink);
  background: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--rlp-accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.rlp-wrap {
  width: min(var(--rlp-content), calc(100% - 32px));
  margin: 0 auto;
}

.rlp-site-header {
  position: sticky;
  top: 34px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--rlp-line);
  backdrop-filter: blur(14px);
}

.rlp-topbar {
  position: sticky;
  top: 0;
  z-index: 21;
  min-height: 34px;
  color: #2f2a2e;
  background: #fff0eb;
  border-bottom: 1px solid #f4dcd7;
  font-size: 13px;
}

.rlp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}

.rlp-trust-list,
.rlp-top-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rlp-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.rlp-trust-list span::before {
  content: "✓";
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #b7acae;
  border-radius: 50%;
  color: var(--rlp-accent-strong);
  font-size: 10px;
  font-weight: 900;
}

.rlp-top-links a {
  color: #2f2a2e;
  text-decoration: none;
}

.rlp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.rlp-brand {
  display: flex;
  flex-direction: column;
  color: var(--rlp-ink);
  text-decoration: none;
}

.rlp-brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0;
}

.rlp-brand-name strong {
  color: var(--rlp-accent);
  font-weight: 500;
}

.rlp-brand-tagline {
  color: var(--rlp-muted);
  font-size: 12px;
  line-height: 1.2;
}

.rlp-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 650;
}

.rlp-search {
  width: min(260px, 30vw);
}

.rlp-search form {
  position: relative;
}

.rlp-search label {
  display: block;
}

.rlp-search input[type="search"] {
  width: 100%;
  min-height: 42px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--rlp-line);
  border-radius: 7px;
  background: #fafafa;
  color: var(--rlp-ink);
}

.rlp-search button {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--rlp-ink);
  cursor: pointer;
}

.rlp-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rlp-nav a {
  color: var(--rlp-ink);
  text-decoration: none;
}

.rlp-nav a:hover {
  color: var(--rlp-accent-strong);
}

.rlp-button,
.wp-block-button__link,
.rlp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1px solid var(--rlp-accent);
  color: #fff;
  background: var(--rlp-accent);
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.rlp-button:hover,
.wp-block-button__link:hover,
.rlp-cta:hover {
  background: var(--rlp-accent-strong);
  border-color: var(--rlp-accent-strong);
  color: #fff;
}

.rlp-button-secondary {
  color: var(--rlp-accent-strong);
  background: #fff;
}

.rlp-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 248, 246, 0.68)),
    radial-gradient(circle at top right, rgba(230, 71, 112, 0.08), transparent 34%);
  border-bottom: 1px solid #f6e5e4;
}

.rlp-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 36px;
  min-height: 520px;
  padding: 56px 0 42px;
}

.rlp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--rlp-accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rlp-hero h1 {
  margin: 0 0 16px;
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.rlp-hero h1 em {
  color: var(--rlp-accent);
  font-style: normal;
}

.rlp-hero p {
  max-width: 650px;
  margin: 0 0 24px;
  color: #374151;
  font-size: 20px;
  line-height: 1.55;
}

.rlp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rlp-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rlp-hero-visual {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(230, 71, 112, 0.08)),
    url("assets/hero-general.png");
  background-color: #f9d9d9;
  background-position: center;
  background-size: cover;
  box-shadow: var(--rlp-shadow);
}

.rlp-hero-promise {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  width: min(330px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid #f4d0d7;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(72, 28, 42, 0.14);
}

.rlp-hero-promise-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--rlp-accent);
  font-weight: 900;
}

.rlp-hero-promise strong {
  display: block;
  color: var(--rlp-accent-strong);
}

.rlp-hero-promise span {
  color: var(--rlp-muted);
  font-size: 14px;
  line-height: 1.4;
}

.rlp-proof {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: #fff;
  box-shadow: var(--rlp-shadow);
}

.rlp-proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.rlp-proof span {
  color: var(--rlp-muted);
  font-size: 14px;
  line-height: 1.45;
}

.rlp-section {
  padding: 54px 0;
}

.rlp-section-soft {
  background: var(--rlp-soft);
  border-top: 1px solid var(--rlp-line);
  border-bottom: 1px solid var(--rlp-line);
}

.rlp-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.rlp-section-head h2,
.rlp-content h1,
.rlp-content h2,
.rlp-content h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

.rlp-section-head h2 {
  margin: 0;
  font-size: 32px;
}

.rlp-section-head p {
  max-width: 600px;
  margin: 8px 0 0;
  color: var(--rlp-muted);
}

.rlp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rlp-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: var(--rlp-card);
}

.rlp-category-card {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  padding-right: 120px;
  background: linear-gradient(135deg, #fff7f7, #fff);
}

.rlp-category-card::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 8px;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, #ffd3dc, #f3b49e);
  opacity: 0.86;
}

.rlp-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.rlp-card p {
  margin: 0 0 16px;
  color: var(--rlp-muted);
}

.rlp-card a {
  margin-top: auto;
  font-weight: 750;
}

.rlp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.rlp-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: #fff;
}

.rlp-post-card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9edf3;
}

.rlp-post-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rlp-post-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 18px;
}

.rlp-post-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.rlp-post-card p {
  margin: 0 0 16px;
  color: var(--rlp-muted);
  font-size: 15px;
}

.rlp-post-card .rlp-button {
  margin-top: auto;
  width: 100%;
}

.navigation.pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 42px auto 0;
}

.navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d7e1df;
  border-radius: 8px;
  background: #fff;
  color: var(--rlp-green);
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(11, 69, 55, 0.08);
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus {
  border-color: var(--rlp-orange);
  background: #fff7ef;
  color: #c54505;
}

.navigation.pagination .page-numbers.current {
  border-color: var(--rlp-green);
  background: var(--rlp-green);
  color: #fff;
}

.navigation.pagination .page-numbers.dots {
  min-width: 28px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #5a6967;
}

.navigation.pagination .prev,
.navigation.pagination .next {
  min-width: 112px;
  padding-inline: 18px;
}

.rlp-infinite-status {
  min-height: 22px;
  margin-top: 16px;
  color: #5a6967;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.rlp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  color: var(--rlp-muted);
  font-size: 13px;
  font-weight: 650;
}

.rlp-page-header {
  padding: 46px 0;
  background: var(--rlp-soft);
  border-bottom: 1px solid var(--rlp-line);
}

.rlp-page-header h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.rlp-page-header h1 em {
  color: var(--rlp-accent);
  font-style: normal;
}

.rlp-archive-description {
  max-width: 860px;
  margin: 18px 0 0;
  color: #445452;
  font-size: 19px;
  line-height: 1.6;
}

.rlp-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  width: min(var(--rlp-content), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.rlp-main-column {
  min-width: 0;
}

.rlp-sidebar {
  display: grid;
  gap: 18px;
}

.rlp-sidebar-box {
  padding: 20px;
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: #fff;
}

.rlp-sidebar-box-soft {
  background: linear-gradient(135deg, #fff8f5, #fff);
}

.rlp-sidebar-box h2,
.rlp-sidebar-box h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
}

.rlp-mini-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rlp-mini-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.rlp-mini-rank {
  color: var(--rlp-accent);
  font-weight: 900;
}

.rlp-rating {
  color: var(--rlp-gold);
  font-size: 14px;
  letter-spacing: 0;
}

.rlp-compare-strip {
  padding: 24px;
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: linear-gradient(135deg, #fff8f5, #fff);
}

.rlp-compare-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rlp-compare-mini {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--rlp-line);
  border-radius: 7px;
  background: #fff;
  color: var(--rlp-ink);
  text-decoration: none;
}

.rlp-thumb-placeholder {
  overflow: hidden;
  display: block;
  aspect-ratio: 1;
  border-radius: 7px;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, #ffe0e6, #f5c7ad);
}

.rlp-thumb-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rlp-review-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  margin: 22px 0;
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: #fff;
  font-size: 14px;
}

.rlp-review-table th,
.rlp-review-table td {
  padding: 12px;
  border: 1px solid var(--rlp-line);
  vertical-align: top;
}

.rlp-review-table th {
  text-align: left;
  background: #fff7f6;
}

.rlp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--rlp-muted);
  font-size: 13px;
}

.rlp-breadcrumbs a {
  color: var(--rlp-muted);
  text-decoration: none;
}

.rlp-page-header p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--rlp-muted);
  font-size: 19px;
}

.rlp-content {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.rlp-content p,
.rlp-content li {
  color: #2f3744;
}

.rlp-content h2 {
  margin-top: 36px;
  font-size: 30px;
}

.rlp-content h3 {
  margin-top: 28px;
  font-size: 23px;
}

.rlp-disclosure,
.rlp-note {
  padding: 14px 16px;
  margin: 20px 0;
  border: 1px solid #f0d7a6;
  border-radius: var(--rlp-radius);
  color: #523b13;
  background: #fff8e8;
  font-size: 15px;
}

.rlp-buy-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  margin: 24px 0 28px;
  padding: 22px;
  border: 1px solid #cfe1d7;
  border-left: 5px solid var(--rlp-orange);
  border-radius: var(--rlp-radius);
  background: linear-gradient(135deg, #fff, #f3faf6);
  box-shadow: var(--rlp-shadow);
}

.rlp-buy-summary-main > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--rlp-green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.rlp-buy-summary h2 {
  margin: 0 0 10px;
  font-size: 29px;
}

.rlp-buy-summary p {
  margin: 0;
  color: var(--rlp-text);
}

.rlp-buy-summary .rlp-button {
  margin-top: 18px;
}

.rlp-buy-summary-points {
  display: grid;
  gap: 10px;
}

.rlp-buy-summary-points > div {
  padding: 14px;
  border: 1px solid var(--rlp-line);
  border-radius: 7px;
  background: #fff;
}

.rlp-buy-summary-points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.rlp-offer-box {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--rlp-line);
  border-left: 5px solid var(--rlp-accent);
  border-radius: var(--rlp-radius);
  background: #fff;
  box-shadow: var(--rlp-shadow);
}

.rlp-offer-box h3 {
  margin: 0 0 8px;
}

.rlp-offer-box-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.rlp-offer-badge,
.rlp-official-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.rlp-offer-badge {
  color: #fff;
  background: var(--rlp-green);
}

.rlp-official-badge {
  color: #174732;
  background: var(--rlp-green-soft);
}

.rlp-offer-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.rlp-offer-metric {
  padding: 12px;
  border-radius: 7px;
  background: var(--rlp-soft);
}

.rlp-offer-metric span {
  display: block;
  color: var(--rlp-muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.rlp-offer-metric strong {
  display: block;
  font-size: 18px;
}

.rlp-offer-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.rlp-offer-pros-cons > div,
.rlp-related-links {
  padding: 16px;
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: #fff;
}

.rlp-offer-pros-cons ul,
.rlp-related-links ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.rlp-related-links {
  margin: 30px 0 0;
  background: linear-gradient(135deg, #f5f8f4, #fff);
}

.rlp-related-links h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.rlp-cluster-nav {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--rlp-line);
  border-left: 5px solid var(--rlp-green);
  border-radius: var(--rlp-radius);
  background: linear-gradient(135deg, #f5f8f4, #fff);
}

.rlp-cluster-nav strong {
  line-height: 1.2;
}

.rlp-cluster-nav div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rlp-cluster-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #cfdcd3;
  border-radius: 7px;
  color: var(--rlp-green);
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.rlp-faq {
  display: grid;
  gap: 10px;
  margin: 34px 0;
}

.rlp-faq h2 {
  margin-bottom: 4px;
}

.rlp-faq details {
  border: 1px solid var(--rlp-line);
  border-radius: var(--rlp-radius);
  background: #fff;
}

.rlp-faq summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--rlp-ink);
  font-weight: 750;
}

.rlp-faq p {
  margin: 0;
  padding: 0 16px 16px;
}

.rlp-sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(460px, calc(100% - 36px));
  padding: 12px;
  border: 1px solid rgba(20, 95, 70, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(7, 29, 39, 0.18);
  backdrop-filter: blur(12px);
}

.rlp-sticky-cta strong,
.rlp-sticky-cta span {
  display: block;
}

.rlp-sticky-cta strong {
  line-height: 1.15;
}

.rlp-sticky-cta span {
  color: var(--rlp-muted);
  font-size: 13px;
}

.rlp-sticky-cta .rlp-button {
  min-height: 40px;
  white-space: nowrap;
}

.rlp-site-footer {
  padding: 38px 0;
  color: #d5d9e1;
  background: #121826;
}

.rlp-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 28px;
}

.rlp-site-footer a {
  color: #fff;
}

.rlp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}

@media (max-width: 880px) {
  .rlp-header-inner,
  .rlp-section-head,
  .rlp-footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .rlp-nav,
  .rlp-nav ul {
    width: 100%;
    flex-wrap: wrap;
  }

  .rlp-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rlp-topbar {
    position: static;
  }

  .rlp-site-header {
    top: 0;
  }

  .rlp-topbar-inner,
  .rlp-trust-list,
  .rlp-top-links {
    flex-wrap: wrap;
  }

  .rlp-topbar-inner {
    gap: 8px;
    padding: 6px 0;
  }

  .rlp-trust-list {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .rlp-trust-list::-webkit-scrollbar {
    display: none;
  }

  .rlp-trust-list span {
    font-size: 12px;
  }

  .rlp-top-links {
    display: none;
  }

  .rlp-search {
    width: 100%;
  }

  .rlp-two-col {
    grid-template-columns: 1fr;
  }

  .rlp-card-grid,
  .rlp-post-grid,
  .rlp-compare-row {
    grid-template-columns: 1fr;
  }

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

  .rlp-offer-pros-cons {
    grid-template-columns: 1fr;
  }

  .rlp-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .rlp-sticky-cta {
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
  }

  .rlp-sticky-cta .rlp-button {
    width: 100%;
  }

  .rlp-wrap,
  .rlp-content {
    width: min(100% - 24px, var(--rlp-content));
  }

  .rlp-header-inner {
    min-height: 0;
    padding: 14px 0;
    gap: 12px;
  }

  .rlp-brand-name {
    font-size: 30px;
  }

  .rlp-nav ul {
    gap: 10px 14px;
    font-size: 14px;
  }

  .rlp-proof-grid,
  .rlp-offer-meta {
    grid-template-columns: 1fr;
  }

  .rlp-hero p {
    font-size: 18px;
  }
}

/* Phase 1.1 universal review brand direction */
:root {
  --rlp-ink: #111923;
  --rlp-muted: #61706d;
  --rlp-soft: #f5f8f4;
  --rlp-line: #dfe7e1;
  --rlp-accent: #ea5a0c;
  --rlp-accent-strong: #c94705;
  --rlp-green: #145f46;
  --rlp-green-soft: #e8f3ed;
  --rlp-navy: #071d27;
  --rlp-shadow: 0 18px 42px rgba(7, 29, 39, 0.08);
}

a {
  color: var(--rlp-green);
}

.rlp-topbar {
  color: #1d2928;
  background: #f7f3ec;
  border-bottom-color: #e9e1d6;
}

.rlp-trust-list span::before {
  content: "";
  border-color: var(--rlp-green);
  background:
    linear-gradient(45deg, transparent 52%, #fff 53% 62%, transparent 63%),
    linear-gradient(-45deg, transparent 52%, #fff 53% 62%, transparent 63%),
    var(--rlp-green);
}

.rlp-top-links a {
  color: #1d2928;
}

.rlp-brand {
  flex-direction: row;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
}

.rlp-brand-logo {
  display: block;
  width: min(310px, 42vw);
  height: auto;
}

.rlp-brand-name {
  font-family: inherit;
  font-size: 28px;
  font-weight: 850;
}

.rlp-brand-name strong {
  color: inherit;
  font-weight: inherit;
}

.rlp-brand-tagline {
  display: none;
}

.rlp-logo-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 3px solid var(--rlp-green);
  border-radius: 5px;
}

.rlp-logo-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 18px;
  height: 9px;
  border-left: 4px solid var(--rlp-green);
  border-bottom: 4px solid var(--rlp-green);
  transform: rotate(-45deg);
}

.rlp-nav a:hover,
.rlp-eyebrow {
  color: var(--rlp-green);
}

.rlp-button,
.wp-block-button__link,
.rlp-cta {
  border-color: var(--rlp-accent);
  background: var(--rlp-accent);
}

.rlp-button:hover,
.wp-block-button__link:hover,
.rlp-cta:hover {
  border-color: var(--rlp-accent-strong);
  background: var(--rlp-accent-strong);
}

.rlp-button-secondary {
  color: var(--rlp-ink);
  border-color: #b9c5c0;
  background: #fff;
}

.rlp-button-secondary:hover {
  color: #fff;
  border-color: var(--rlp-green);
  background: var(--rlp-green);
}

.rlp-button-dark {
  border-color: var(--rlp-green);
  background: var(--rlp-green);
}

.rlp-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.96) 38%, rgba(255, 255, 255, 0.08) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 243, 236, 0.62));
  border-bottom-color: #e9e1d6;
}

.rlp-hero h1 {
  font-family: inherit;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 850;
  line-height: 0.98;
}

.rlp-hero h1 em {
  color: inherit;
}

.rlp-hero-visual {
  min-height: 360px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.86), transparent 0 18%, transparent 19%),
    radial-gradient(circle at 74% 22%, rgba(234, 90, 12, 0.20), transparent 0 12%, transparent 13%),
    linear-gradient(135deg, rgba(20, 95, 70, 0.12), rgba(255, 255, 255, 0.08)),
    url("assets/hero-general.png");
  background-color: #e7ece5;
  background-blend-mode: normal, normal, normal, luminosity;
}

.rlp-hero-promise {
  border-color: #d8e7dd;
  box-shadow: 0 18px 40px rgba(7, 29, 39, 0.14);
}

.rlp-hero-promise-icon {
  background: var(--rlp-green);
  font-size: 13px;
}

.rlp-hero-promise strong {
  color: var(--rlp-green);
}

.rlp-proof {
  min-height: 108px;
}

.rlp-category-band {
  padding-top: 26px;
  padding-bottom: 26px;
  background: #fff;
}

.rlp-card-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rlp-post-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rlp-category-card {
  min-height: 156px;
  padding: 20px 58px 18px 18px;
  background: linear-gradient(135deg, #f7fbf8, #fff);
}

.rlp-category-card::after {
  right: 14px;
  top: 18px;
  bottom: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, #dbeee2, #f3d5a8);
}

.rlp-category-card h3 {
  font-size: 18px;
}

.rlp-pick-card .rlp-button {
  width: 100%;
  min-height: 38px;
  margin-top: 14px;
  font-size: 14px;
}

.rlp-post-card-thumb {
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.85), transparent 0 18%, transparent 19%),
    linear-gradient(135deg, #d9ede0, #f4d8a4);
}

.rlp-section-soft,
.rlp-sidebar-box-soft,
.rlp-compare-strip {
  background: linear-gradient(135deg, #eef7f1, #fff);
}

.rlp-mini-rank {
  color: var(--rlp-green);
}

.rlp-thumb-placeholder {
  background:
    radial-gradient(circle at 35% 35%, #fff 0 18%, transparent 19%),
    linear-gradient(135deg, #d9ede0, #f4d8a4);
}

.rlp-review-table th {
  background: #f5f8f4;
}

.rlp-disclosure,
.rlp-note {
  border-color: #d7e9dc;
  color: #174732;
  background: #eef8f1;
}

.rlp-offer-box {
  border-left-color: var(--rlp-green);
}

.rlp-newsletter-band {
  padding: 34px 0;
}

.rlp-newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--rlp-green), #0b3f35);
}

.rlp-newsletter-inner h2,
.rlp-newsletter-inner p {
  margin: 0;
}

.rlp-newsletter-inner p {
  margin-top: 6px;
  color: #dbe8e1;
}

.rlp-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 10px;
}

.rlp-newsletter-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
}

.rlp-site-footer {
  background: linear-gradient(135deg, var(--rlp-navy), #092f32);
}

@media (max-width: 1120px) {
  .rlp-card-grid-six,
  .rlp-post-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .rlp-card-grid-six,
  .rlp-post-grid-six,
  .rlp-newsletter-inner,
  .rlp-newsletter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .rlp-brand-logo {
    width: min(236px, 68vw);
  }

  .rlp-brand-name {
    font-size: 26px;
  }

  .rlp-logo-mark {
    width: 30px;
    height: 30px;
  }

  .rlp-hero h1 {
    font-size: 42px;
  }

  .rlp-search,
  .rlp-header-cta {
    display: none;
  }

  .rlp-nav {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rlp-nav::-webkit-scrollbar {
    display: none;
  }

  .rlp-nav ul {
    flex-wrap: nowrap;
    width: max-content;
  }
}

.rlp-search {
  width: min(220px, 22vw);
}

.rlp-header-cta {
  white-space: nowrap;
}

@media (max-width: 880px) {
  .rlp-search,
  .rlp-header-cta {
    width: 100%;
  }
}

/* Phase 1.2: wider and calmer */
:root {
  --rlp-content: 1440px;
}

body {
  font-size: 16px;
}

.rlp-wrap {
  width: min(var(--rlp-content), calc(100% - 48px));
}

.rlp-header-inner {
  min-height: 76px;
}

.rlp-brand-name {
  font-size: 27px;
  font-weight: 780;
}

.rlp-nav {
  font-size: 14px;
  font-weight: 620;
}

.rlp-hero-inner {
  grid-template-columns: minmax(0, 0.86fr) minmax(600px, 1.14fr);
  min-height: 590px;
  gap: 52px;
}

.rlp-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 720;
  line-height: 1.06;
}

.rlp-hero p {
  max-width: 690px;
  font-size: 18px;
}

.rlp-hero-visual {
  min-height: 420px;
}

.rlp-section {
  padding: 46px 0;
}

.rlp-section-head h2,
.rlp-content h1,
.rlp-content h2,
.rlp-content h3,
.rlp-page-header h1 {
  font-weight: 720;
}

.rlp-section-head h2 {
  font-size: 28px;
}

.rlp-card h3,
.rlp-post-card h3 {
  font-weight: 680;
}

.rlp-card-grid,
.rlp-post-grid {
  gap: 16px;
}

.rlp-card-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rlp-post-grid-six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rlp-post-card-body,
.rlp-card {
  padding: 18px;
}

.rlp-post-card h3 {
  font-size: 18px;
}

.rlp-content {
  width: min(920px, calc(100% - 48px));
}

.rlp-two-col {
  width: min(var(--rlp-content), calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) 340px;
}

.rlp-page-header h1 {
  max-width: 1040px;
  font-size: clamp(34px, 4.2vw, 56px);
}

@media (max-width: 1180px) {
  .rlp-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  }

  .rlp-card-grid-six,
  .rlp-post-grid-six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .rlp-wrap,
  .rlp-content,
  .rlp-two-col {
    width: min(100% - 28px, var(--rlp-content));
  }

  .rlp-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
  }

  .rlp-hero-visual {
    min-height: 330px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .rlp-hero h1 {
    font-size: 36px;
    font-weight: 720;
  }

  .rlp-hero p {
    font-size: 17px;
  }
}

/* Phase 4.1 mobile fix: keep offer pages readable after wider desktop overrides. */
@media (max-width: 880px) {
  .rlp-wrap,
  .rlp-two-col,
  .rlp-content {
    width: min(100% - 28px, var(--rlp-content));
  }

  .rlp-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-top: 28px;
  }

  .rlp-main-column,
  .rlp-sidebar,
  .rlp-buy-summary,
  .rlp-offer-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .rlp-buy-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .rlp-offer-box-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .rlp-offer-pros-cons {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .rlp-topbar-inner,
  .rlp-header-inner {
    overflow: hidden;
  }

  .rlp-page-header {
    padding: 28px 0;
  }

  .rlp-page-header h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .rlp-nav {
    max-width: 100%;
    overflow-x: auto;
  }

  .rlp-nav ul {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
  }

  .rlp-buy-summary,
  .rlp-offer-box,
  .rlp-sidebar-box {
    padding: 16px;
  }

  .rlp-buy-summary h2,
  .rlp-content h2 {
    font-size: 24px;
    line-height: 1.16;
  }

  .rlp-buy-summary-points > div,
  .rlp-offer-pros-cons > div {
    padding: 12px;
  }

  .rlp-cta,
  .rlp-button {
    width: 100%;
  }
}

/* Phase 4.2 cleaner product-site navigation. */
.rlp-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
}

.rlp-nav {
  min-width: 0;
  overflow: hidden;
}

.rlp-nav ul {
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.rlp-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;
}

.rlp-nav a:hover {
  color: var(--rlp-green);
  background: #eef7f1;
}

.rlp-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

@media (max-width: 1500px) {
  .rlp-header-inner {
    gap: 14px;
  }

  .rlp-search {
    display: none;
  }
}

@media (max-width: 1040px) {
  .rlp-header-inner {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .rlp-nav {
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rlp-nav::-webkit-scrollbar {
    display: none;
  }

  .rlp-nav ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: max-content;
  }

  .rlp-header-cta {
    display: none;
  }

  .rlp-header-actions {
    justify-self: end;
  }
}

@media (max-width: 1180px) {
  .rlp-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .rlp-nav {
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .rlp-nav::-webkit-scrollbar {
    display: none;
  }

  .rlp-nav ul {
    flex-wrap: nowrap;
    width: max-content;
  }
}

@media (max-width: 560px) {
  .rlp-topbar {
    display: none;
  }

  .rlp-header-inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 0;
  }

  .rlp-brand-name {
    font-size: 24px;
  }

  .rlp-brand-logo {
    width: min(230px, 64vw);
  }

  .rlp-nav {
    grid-column: 1 / -1;
  }

  .rlp-nav a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 13px;
  }
}

/* Phase 4.3 homepage built from real offer content. */
.rlp-hero-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  height: 500px;
  min-height: 480px;
  padding: 16px;
  background: #f5f8f4;
}

.rlp-hero-product-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--rlp-line);
  border-radius: 8px;
  background: #fff;
  color: #fff;
  text-decoration: none;
}

.rlp-hero-product-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(7, 29, 39, 0), rgba(7, 29, 39, 0.86));
  pointer-events: none;
}

.rlp-hero-product-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 58%;
}

.rlp-hero-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 6px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--rlp-accent);
  box-shadow: 0 10px 22px rgba(239, 82, 20, 0.22);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.rlp-hero-product-title {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  padding: 9px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rlp-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.rlp-sales-hero .rlp-button {
  min-height: 48px;
  padding-right: 22px;
  padding-left: 22px;
  font-size: 16px;
}

.rlp-money-section {
  border-bottom: 1px solid var(--rlp-line);
  background: linear-gradient(180deg, #fff, #fffaf7);
}

.rlp-category-card {
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: 0;
  overflow: hidden;
}

.rlp-category-card::after {
  display: none;
}

.rlp-category-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef3ee;
}

.rlp-category-thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

.rlp-category-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rlp-category-card h3,
.rlp-category-card p,
.rlp-category-card strong,
.rlp-category-card > a:not(.rlp-category-thumb) {
  margin-right: 16px;
  margin-left: 16px;
}

.rlp-category-card h3 {
  margin-top: 16px;
  min-height: 46px;
}

.rlp-category-card p {
  display: -webkit-box;
  min-height: 44px;
  max-height: 44px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rlp-category-card > a:not(.rlp-category-thumb) {
  margin-top: auto;
  margin-bottom: 16px;
}

.rlp-category-cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  color: #fff !important;
  background: var(--rlp-green);
  font-weight: 900;
  text-decoration: none;
}

.rlp-pick-card .rlp-post-card-thumb,
.rlp-post-grid .rlp-post-card-thumb {
  background: #eef3ee;
}

.rlp-post-grid-six {
  align-items: stretch;
}

.rlp-pick-card .rlp-post-card-thumb {
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  min-height: 142px;
}

.rlp-pick-card .rlp-post-card-body {
  min-height: 326px;
}

.rlp-pick-card .rlp-meta {
  display: grid;
  grid-template-rows: repeat(2, 18px);
  gap: 4px;
  min-height: 40px;
  align-items: start;
  margin-bottom: 12px;
}

.rlp-pick-card .rlp-meta span {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rlp-pick-card .rlp-meta .rlp-rating {
  color: var(--rlp-accent-strong);
}

.rlp-pick-card h3 {
  display: -webkit-box;
  min-height: 88px;
  max-height: 88px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 19px;
  line-height: 1.28;
}

.rlp-pick-card p {
  display: -webkit-box;
  min-height: 72px;
  max-height: 72px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.rlp-pick-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--rlp-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rlp-pick-card .rlp-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  font-size: 15px;
  box-shadow: 0 14px 26px rgba(239, 82, 20, 0.2);
}

.rlp-article-support {
  padding-top: 46px;
}

.rlp-compact-article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rlp-article-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 0;
}

.rlp-article-card .rlp-post-card-thumb {
  min-height: 100%;
  aspect-ratio: auto;
  border-right: 1px solid var(--rlp-line);
}

.rlp-article-card .rlp-post-card-body {
  padding: 14px;
}

.rlp-article-card h3 {
  display: -webkit-box;
  max-height: 52px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rlp-article-card p {
  display: -webkit-box;
  max-height: 42px;
  overflow: hidden;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rlp-article-card .rlp-button {
  min-height: 34px;
  margin-top: auto;
  font-size: 13px;
}

.rlp-footer-grid {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  align-items: start;
}

.rlp-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 24px;
}

.rlp-footer-nav strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

.rlp-footer-nav .rlp-footer-links {
  justify-content: flex-start;
}

.rlp-site-footer p {
  max-width: 440px;
}

.rlp-seo-intro,
.rlp-seo-buyer-summary,
.rlp-quick-decision,
.rlp-offer-seo-auto,
.rlp-money-cta {
  margin: 24px 0;
}

.rlp-offer-seo-auto {
  padding: 20px;
  border: 1px solid var(--rlp-line);
  border-radius: 8px;
  background: #fff;
}

.rlp-offer-seo-auto h2 {
  margin-top: 0;
}

.rlp-offer-intent-block {
  background: #fffdf8;
}

.rlp-human-article {
  margin: 28px 0;
}

.rlp-human-article h2 {
  margin-top: 34px;
}

.rlp-human-article p {
  max-width: 74ch;
}

.rlp-source-note {
  margin: 28px 0 0;
  color: var(--rlp-muted);
  font-size: 12px;
  line-height: 1.5;
}

.rlp-offer-box-head {
  margin-bottom: 14px;
}

.rlp-offer-box-head .rlp-offer-badge {
  margin-bottom: 10px;
}

.rlp-offer-box h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

/* Final header fit: keep desktop navigation clean and stop search from crowding menu. */
.rlp-header-inner {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) auto;
  gap: 18px;
}

.rlp-brand-logo {
  width: min(286px, 32vw);
}

.rlp-nav {
  overflow: hidden;
}

.rlp-nav ul {
  gap: 6px;
}

.rlp-nav a {
  padding-right: 8px;
  padding-left: 8px;
  font-size: 13px;
}

.rlp-header-actions {
  gap: 10px;
  min-width: max-content;
}

.rlp-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--rlp-line);
  border-radius: 8px;
  color: var(--rlp-ink);
  background: #fff;
  cursor: pointer;
}

.rlp-menu-toggle span[aria-hidden="true"] {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.rlp-search {
  width: 210px;
}

.rlp-search form {
  display: block;
  margin: 0;
}

.rlp-search label {
  display: block;
  margin: 0;
}

.rlp-search input[type="search"] {
  min-height: 38px;
  padding-right: 36px;
  font-size: 13px;
}

.rlp-search button {
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
}

.rlp-search button::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 11px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.rlp-search button::after {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

@media (max-width: 1580px) {
  .rlp-search {
    display: none;
  }
}

@media (max-width: 760px) {
  .rlp-site-header {
    top: 0;
  }

  .rlp-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 10px 0;
  }

  .rlp-brand-logo {
    width: min(236px, 68vw);
  }

  .rlp-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .rlp-header-actions {
    display: none;
  }

  .rlp-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    overflow: visible;
    padding: 8px 0 2px;
  }

  .rlp-menu-open .rlp-nav {
    display: block;
  }

  .rlp-nav ul {
    display: grid;
    width: 100%;
    gap: 6px;
  }

  .rlp-nav a {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    padding: 10px 12px;
    background: #f6f8f4;
    font-size: 14px;
  }
}

/* Footer polish. */
.rlp-site-footer {
  padding: 42px 0 34px;
  background: #082f32;
}

.rlp-footer-grid {
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
  gap: 56px;
}

.rlp-site-footer strong {
  color: #fff;
}

.rlp-site-footer p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.rlp-footer-nav {
  gap: 44px;
}

.rlp-footer-nav strong {
  margin-bottom: 14px;
  font-size: 15px;
}

.rlp-footer-links {
  gap: 8px 10px;
}

.rlp-site-footer a,
.rlp-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.rlp-site-footer a:hover,
.rlp-footer-links a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 760px) {
  .rlp-site-footer {
    padding: 34px 0;
  }

  .rlp-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rlp-footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.rlp-seo-intro {
  padding: 18px 20px;
  border-left: 4px solid var(--rlp-green);
  background: #f4f7f1;
}

.rlp-seo-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.rlp-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rlp-summary-grid > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--rlp-line);
  border-radius: 8px;
  background: #fff;
}

.rlp-summary-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rlp-ink);
}

.rlp-summary-grid p,
.rlp-summary-grid ul {
  margin: 0;
}

.rlp-money-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(22, 109, 68, 0.24);
  border-radius: 8px;
  background: #f6fbf5;
  box-shadow: 0 14px 28px rgba(31, 46, 38, 0.08);
}

.rlp-money-cta strong,
.rlp-money-cta span {
  display: block;
}

.rlp-money-cta strong {
  margin-bottom: 5px;
  color: var(--rlp-ink);
  font-size: 18px;
}

.rlp-money-cta span {
  color: var(--rlp-muted);
}

.rlp-money-cta .rlp-button {
  flex: 0 0 auto;
  min-width: 210px;
  text-align: center;
}

@media (max-width: 880px) {
  .rlp-hero-products {
    height: auto;
    min-height: 0;
  }

  .rlp-compact-article-grid {
    grid-template-columns: 1fr;
  }

  .rlp-article-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .rlp-summary-grid {
    grid-template-columns: 1fr;
  }

  .rlp-money-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .rlp-money-cta .rlp-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .rlp-hero-products {
    grid-template-columns: 1fr;
  }

  .rlp-footer-nav {
    grid-template-columns: 1fr;
  }
}
