/* RH Movers v2.2.5 — Guides SEO Hub. Scoped to guide templates only. */
.rh-guides-page,
.rh-single-guide-page {
  --guide-navy: #0b2238;
  --guide-gold: #d9a72e;
  --guide-soft: #f4f7f9;
  --guide-line: #d8e0e6;
  --guide-muted: #5f7182;
}

.rh-guides-hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #fff 0%, #f5f8fa 100%);
  border-bottom: 1px solid var(--guide-line);
}

.rh-guides-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 72px;
  align-items: center;
}

.rh-guides-hero-copy h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(3.25rem, 6vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.045em;
}

.rh-guides-lead {
  max-width: 720px;
  margin: 0;
  color: var(--guide-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.rh-guides-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: #405467;
  font-size: .9rem;
  font-weight: 700;
}

.rh-guides-proof span::first-letter { color: #0f8a5f; }

.rh-guide-find {
  padding: 28px;
  border: 1px solid var(--guide-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(13, 37, 58, .08);
}

.rh-guide-find h2 {
  margin: 10px 0 18px;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.rh-guide-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 7px;
  border: 1px solid #cfd9e0;
  border-radius: 14px;
  background: #fff;
}

.rh-guide-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 9px 10px;
  background: transparent;
  font: inherit;
  color: var(--guide-navy);
}

.rh-guide-search button {
  border: 0;
  border-radius: 10px;
  padding: 11px 17px;
  background: var(--guide-gold);
  color: #091a2a;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}

.rh-guide-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.rh-guide-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #d6dee5;
  border-radius: 999px;
  background: #f7f9fb;
  color: var(--guide-navy);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
}

.rh-guide-quick-links a:hover { background: #fff6dd; border-color: #e2bd59; }

.rh-guides-intro {
  padding: 60px 0 24px;
  background: #fff;
}

.rh-guides-intro-grid {
  display: block;
}

.rh-guides-intro h2 {
  max-width: 700px;
  margin: 12px 0 10px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.rh-guides-intro p { max-width: 720px; color: var(--guide-muted); line-height: 1.7; }

.rh-guides-intro-note {
  padding: 20px 22px;
  border-left: 3px solid var(--guide-gold);
  background: #fff9e9;
}

.rh-guides-intro-note strong { display: block; margin-bottom: 6px; }
.rh-guides-intro-note p { margin: 0; font-size: .9rem; }

.rh-guides-library { padding: 28px 0 84px; background: #fff; }

.rh-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.rh-guide-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--guide-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(14, 37, 57, .035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.rh-guide-card:hover {
  transform: translateY(-4px);
  border-color: #c8d2da;
  box-shadow: 0 18px 38px rgba(14, 37, 57, .09);
}

.rh-guide-card-image {
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #edf2f5;
}

.rh-guide-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.rh-guide-card:hover .rh-guide-card-image img { transform: scale(1.025); }

.rh-guide-card-body { padding: 22px 22px 24px; }

.rh-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 11px;
  color: #9b6d00;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.rh-guide-card h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
  line-height: 1.18;
}

.rh-guide-card h3 a { color: var(--guide-navy); text-decoration: none; }
.rh-guide-card p { margin: 0 0 18px; color: var(--guide-muted); font-size: .9rem; line-height: 1.6; }

.rh-guide-empty {
  padding: 54px;
  border: 1px solid var(--guide-line);
  border-radius: 18px;
  text-align: center;
  background: var(--guide-soft);
}

.rh-guide-pagination { margin-top: 34px; }
.rh-guide-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.rh-guide-pagination a,
.rh-guide-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--guide-line);
  border-radius: 10px;
  text-decoration: none;
}
.rh-guide-pagination .current { background: var(--guide-navy); color: #fff; border-color: var(--guide-navy); }

.rh-guides-next-step {
  padding: 64px 0;
  border-top: 1px solid var(--guide-line);
  background: #f3f6f8;
}

.rh-guides-next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 70px;
  align-items: center;
}

.rh-guides-next-grid h2 {
  max-width: 760px;
  margin: 11px 0 0;
  font-size: clamp(2.25rem, 4.5vw, 4.1rem);
  line-height: 1;
  letter-spacing: -.035em;
}

.rh-guides-next-grid p { color: var(--guide-muted); line-height: 1.7; }
.rh-guides-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Single guide */
.rh-guide-article-hero {
  padding: 56px 0 50px;
  border-bottom: 1px solid var(--guide-line);
  background: linear-gradient(180deg, #fff 0%, #f5f8fa 100%);
}

.rh-guide-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr);
  gap: 64px;
  align-items: center;
}

.rh-guide-article-title h1 {
  margin: 14px 0 18px;
  font-size: clamp(2.65rem, 5.4vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.rh-guide-article-lead { max-width: 720px; margin: 0; color: var(--guide-muted); font-size: 1.03rem; line-height: 1.7; }
.rh-guide-article-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; color: #687b8b; font-size: .8rem; font-weight: 700; }

.rh-guide-article-image {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(11, 34, 56, .13);
}
.rh-guide-article-image img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }

.rh-guide-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 770px) minmax(260px, 1fr);
  gap: 70px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 76px;
}

.rh-guide-prose { min-width: 0; font-size: 1rem; line-height: 1.78; color: #24394b; }
.rh-guide-prose > p:first-child { font-size: 1.08rem; color: #3e5364; }
.rh-guide-prose h2 { margin: 42px 0 14px; font-size: clamp(1.7rem, 2.8vw, 2.45rem); line-height: 1.12; color: var(--guide-navy); }
.rh-guide-prose h3 { margin-top: 30px; color: var(--guide-navy); }
.rh-guide-prose ul,
.rh-guide-prose ol { padding-left: 1.35rem; }
.rh-guide-prose li { margin: .5rem 0; }

.rh-guide-answer {
  margin: 28px 0 34px;
  padding: 22px 24px;
  border-left: 4px solid var(--guide-gold);
  border-radius: 0 14px 14px 0;
  background: #fff8e5;
  color: #263d4f;
}

.rh-guide-aside { position: sticky; top: 96px; min-width: 0; }
.rh-guide-aside-card,
.rh-guide-aside-link {
  padding: 24px;
  border: 1px solid var(--guide-line);
  border-radius: 18px;
  background: #fff;
}
.rh-guide-aside-card h3 { margin: 10px 0 14px; font-size: 1.45rem; }
.rh-guide-aside-card ul { margin: 0 0 20px; padding-left: 1.1rem; color: var(--guide-muted); }
.rh-guide-aside-card li { margin: 8px 0; }
.rh-guide-aside-link { margin-top: 14px; background: var(--guide-soft); }
.rh-guide-aside-link strong { display: block; margin-bottom: 10px; }
.rh-guide-aside-link a { display: block; margin: 8px 0; font-size: .9rem; font-weight: 700; text-decoration: none; }

.rh-guide-bottom-cta {
  margin-top: 52px;
  padding: 30px;
  border-radius: 20px;
  background: var(--guide-navy);
  color: #fff;
}
.rh-guide-bottom-cta h2 { margin-top: 10px; color: #fff; }
.rh-guide-bottom-cta p { color: #d5e0e8; }
.rh-guide-bottom-cta .rh-btn-secondary { color: #fff; border-color: rgba(255,255,255,.35); }

.rh-guide-related {
  padding: 66px 0 82px;
  border-top: 1px solid var(--guide-line);
  background: #f4f7f9;
}
.rh-guide-related .rh-section-head { margin-bottom: 28px; }
.rh-guide-related .rh-section-head h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.6rem); }

@media (max-width: 980px) {
  .rh-guides-hero-grid,
  .rh-guides-intro-grid,
  .rh-guides-next-grid,
  .rh-guide-article-hero-grid,
  .rh-guide-article-layout { grid-template-columns: 1fr; }

  .rh-guides-hero-grid { gap: 36px; }
  .rh-guide-find { max-width: 620px; }
  .rh-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-guides-intro-grid,
  .rh-guides-next-grid { gap: 28px; }
  .rh-guide-article-hero-grid { gap: 34px; }
  .rh-guide-article-image { max-width: 760px; }
  .rh-guide-article-layout { gap: 36px; }
  .rh-guide-aside { position: static; }
  .rh-guide-aside-card { max-width: 600px; }
}

@media (max-width: 680px) {
  .rh-guides-hero { padding: 48px 0 42px; }
  .rh-guides-hero-copy h1 { font-size: clamp(2.55rem, 13vw, 3.7rem); }
  .rh-guides-lead { font-size: .98rem; }
  .rh-guides-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .rh-guide-find { padding: 20px; border-radius: 17px; }
  .rh-guide-search { grid-template-columns: 1fr; }
  .rh-guide-search button { width: 100%; }
  .rh-guides-intro { padding-top: 42px; }
  .rh-guides-library { padding-bottom: 58px; }
  .rh-guide-grid { grid-template-columns: 1fr; gap: 16px; }
  .rh-guide-card-body { padding: 19px 19px 22px; }
  .rh-guide-card h3 { font-size: 1.2rem; }
  .rh-guides-next-step { padding: 46px 0; }
  .rh-guides-next-grid h2 { font-size: 2.35rem; }
  .rh-guide-article-hero { padding: 44px 0 38px; }
  .rh-guide-article-title h1 { font-size: clamp(2.3rem, 12vw, 3.5rem); }
  .rh-guide-article-image { border-radius: 16px; }
  .rh-guide-article-layout { padding-top: 36px; padding-bottom: 54px; }
  .rh-guide-prose { font-size: .97rem; }
  .rh-guide-prose h2 { margin-top: 34px; }
  .rh-guide-answer { padding: 18px 19px; }
  .rh-guide-bottom-cta { padding: 24px; }
}
