.rcg-page {
  --ink: #292826;
  --paper: #f4f0e8;
  --paper-deep: #e9e3d8;
  --white: #ffffff;
  --muted: rgba(41,40,38,.68);
  --line: rgba(41,40,38,.16);
  color: var(--ink);
  background: var(--white);
}

.rcg-page *,
.rcg-page *::before,
.rcg-page *::after {
  box-sizing: border-box;
}

.rcg-page img {
  display: block;
  max-width: 100%;
}

.rcg-shell {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.rcg-eyebrow {
  display: block;
  margin-bottom: 17px;
  font-size: .71rem;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.rcg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .86rem;
  line-height: 1.2;
  font-weight: 700;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.rcg-button:hover {
  transform: translateY(-1px);
}

.rcg-button:focus-visible,
.rcg-text-link:focus-visible,
.rcg-guide-nav a:focus-visible,
.rcg-fit-list a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.rcg-button-dark {
  color: #fff !important;
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}

.rcg-button-dark:hover {
  color: var(--ink) !important;
  background: transparent !important;
}

.rcg-button-light {
  color: var(--ink) !important;
  background: #fff !important;
  border-color: #fff !important;
}

.rcg-button-outline-light {
  color: #fff !important;
  background: transparent !important;
  border-color: rgba(255,255,255,.75) !important;
}

.rcg-button-outline-light:hover {
  color: var(--ink) !important;
  background: #fff !important;
}

.rcg-text-link {
  display: inline;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(41,40,38,.34);
  font-size: .88rem;
  line-height: 1.55;
  font-weight: 650;
}

.rcg-text-link:hover {
  text-decoration-color: var(--ink);
}

.rcg-guide-hero {
  padding: 94px 0 78px;
  background: var(--paper);
}

.rcg-guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr);
  gap: clamp(54px,7vw,104px);
  align-items: center;
}

.rcg-guide-hero-copy {
  max-width: 590px;
}

.rcg-guide-hero h1 {
  margin: 0;
  font-size: clamp(3.1rem,5.6vw,5.25rem);
  line-height: .99;
  letter-spacing: -.044em;
  font-weight: 500;
}

.rcg-hero-lede {
  margin: 29px 0 32px;
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(1.07rem,1.5vw,1.25rem);
  line-height: 1.72;
}

.rcg-hero-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rcg-hero-product {
  display: block;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
}

.rcg-hero-product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.rcg-image-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  font-size: .78rem;
  line-height: 1.4;
}

.rcg-image-caption span {
  color: var(--muted);
}

.rcg-image-caption strong {
  font-weight: 700;
}

.rcg-guide-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.rcg-guide-nav .rcg-shell {
  display: flex;
  align-items: center;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}

.rcg-guide-nav .rcg-shell::-webkit-scrollbar {
  display: none;
}

.rcg-guide-nav a {
  flex: 0 0 auto;
  padding: 22px 0;
  color: rgba(41,40,38,.72);
  text-decoration: none;
  font-size: .77rem;
  line-height: 1.3;
  letter-spacing: .035em;
  font-weight: 650;
}

.rcg-guide-nav a:hover {
  color: var(--ink);
}

.rcg-editorial,
.rcg-compare,
.rcg-timing,
.rcg-prepare,
.rcg-faq {
  padding: 116px 0;
}

.rcg-section-intro {
  max-width: 810px;
  margin-bottom: 58px;
}

.rcg-section-intro-small {
  max-width: 670px;
}

.rcg-section-intro h2,
.rcg-timing h2,
.rcg-faq-heading h2,
.rcg-final h2 {
  margin: 0;
  font-size: clamp(2.5rem,4.4vw,4.25rem);
  line-height: 1.04;
  letter-spacing: -.037em;
  font-weight: 500;
}

.rcg-section-intro > p {
  max-width: 710px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.76;
}

.rcg-principles {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.rcg-principles article {
  min-height: 315px;
  padding: 38px 40px 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rcg-index {
  display: block;
  margin-bottom: 61px;
  color: rgba(41,40,38,.43);
  font-size: .72rem;
  letter-spacing: .17em;
}

.rcg-principles h3 {
  max-width: 430px;
  margin: 0 0 17px;
  font-size: clamp(1.35rem,2.2vw,1.85rem);
  line-height: 1.2;
  font-weight: 500;
}

.rcg-principles p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.rcg-compare {
  background: var(--paper);
}

.rcg-choice-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.rcg-choice-card {
  min-width: 0;
  background: #fff;
}

.rcg-choice-image {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.rcg-choice-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform .45s ease;
}

.rcg-choice-image:hover img {
  transform: scale(1.012);
}

.rcg-choice-body {
  padding: 42px;
}

.rcg-choice-body h3 {
  margin: 0;
  font-size: clamp(2rem,3vw,3rem);
  line-height: 1.05;
  letter-spacing: -.032em;
  font-weight: 500;
}

.rcg-choice-body > p {
  margin: 21px 0 0;
  color: var(--muted);
  line-height: 1.74;
}

.rcg-choice-details {
  margin: 31px 0 0;
}

.rcg-choice-details > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.rcg-choice-details > div:last-child {
  border-bottom: 1px solid var(--line);
}

.rcg-choice-details dt {
  color: rgba(41,40,38,.52);
  font-size: .76rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.rcg-choice-details dd {
  margin: 0;
  font-size: .91rem;
  line-height: 1.5;
}

.rcg-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  margin-top: 31px;
}

.rcg-fit {
  padding: 108px 0;
  color: #f8f4ed;
  background: var(--ink);
}

.rcg-fit .rcg-section-intro h2,
.rcg-fit .rcg-eyebrow {
  color: #fff;
}

.rcg-fit-list {
  border-top: 1px solid rgba(255,255,255,.18);
}

.rcg-fit-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.rcg-fit-list span {
  color: rgba(255,255,255,.72);
  font-size: 1.04rem;
  line-height: 1.5;
}

.rcg-fit-list a {
  color: #fff;
  text-decoration: none;
  font-size: .83rem;
  line-height: 1.3;
  font-weight: 700;
}

.rcg-fit-list a::after {
  content: " →";
}

.rcg-timing-grid {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: clamp(55px,8vw,120px);
  align-items: start;
}

.rcg-timing-copy {
  position: sticky;
  top: 110px;
}

.rcg-timing-copy > p {
  color: var(--muted);
  line-height: 1.76;
}

.rcg-timing-copy .rcg-large-copy {
  margin: 27px 0 14px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 600;
}

.rcg-timeline {
  border-top: 1px solid var(--line);
}

.rcg-timeline article {
  display: grid;
  grid-template-columns: 54px 200px 1fr;
  gap: 23px;
  align-items: start;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.rcg-timeline article > span {
  color: rgba(41,40,38,.42);
  font-size: .7rem;
  letter-spacing: .14em;
}

.rcg-timeline h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 600;
}

.rcg-timeline p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.rcg-prepare {
  background: var(--paper);
}

.rcg-prepare-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.rcg-prepare-grid article {
  padding: 44px;
  background: #fff;
}

.rcg-prepare-grid h3 {
  margin: 0;
  font-size: clamp(1.8rem,2.8vw,2.65rem);
  line-height: 1.08;
  letter-spacing: -.027em;
  font-weight: 500;
}

.rcg-prepare-grid p {
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.rcg-prepare-grid ul {
  margin: 27px 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rcg-prepare-grid li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(41,40,38,.78);
  font-size: .88rem;
  line-height: 1.5;
}

.rcg-faq-grid {
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: clamp(60px,8vw,120px);
  align-items: start;
}

.rcg-faq-heading {
  max-width: 480px;
}

.rcg-faq-list {
  border-top: 1px solid var(--line);
}

.rcg-faq-list details {
  border-bottom: 1px solid var(--line);
}

.rcg-faq-list summary {
  position: relative;
  padding: 25px 44px 25px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 650;
}

.rcg-faq-list summary::-webkit-details-marker {
  display: none;
}

.rcg-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 21px;
  font-size: 1.4rem;
  font-weight: 300;
}

.rcg-faq-list details[open] summary::after {
  content: "–";
}

.rcg-faq-list p {
  max-width: 680px;
  margin: 0;
  padding: 0 0 26px;
  color: var(--muted);
  line-height: 1.72;
}

.rcg-final {
  padding: 120px 0;
  color: #fff;
  text-align: center;
  background: var(--ink);
}

.rcg-final-inner {
  max-width: 820px;
}

.rcg-final h2 {
  color: #fff;
}

.rcg-final p {
  max-width: 610px;
  margin: 23px auto 0;
  color: rgba(255,255,255,.7);
  font-size: 1.06rem;
  line-height: 1.7;
}

.rcg-final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 31px;
}

@media (max-width: 960px) {

  .rcg-shell {
    width: min(100% - 48px, 1180px);
  }

  .rcg-guide-hero-grid,
  .rcg-timing-grid,
  .rcg-faq-grid {
    grid-template-columns: 1fr;
  }

  .rcg-guide-hero-copy {
    max-width: 720px;
  }

  .rcg-timing-copy {
    position: static;
    max-width: 720px;
  }

  .rcg-choice-grid {
    grid-template-columns: 1fr;
  }

  .rcg-choice-image img {
    aspect-ratio: 16 / 10;
  }

  .rcg-faq-heading {
    max-width: 720px;
  }

}

@media (max-width: 700px) {

  .rcg-shell {
    width: calc(100% - 40px);
  }

  .rcg-guide-hero {
    padding: 72px 0 60px;
  }

  .rcg-guide-hero h1 {
    font-size: clamp(2.7rem,13vw,4rem);
  }

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

  .rcg-hero-product img {
    aspect-ratio: 5 / 4;
  }

  .rcg-guide-nav .rcg-shell {
    gap: 23px;
  }

  .rcg-editorial,
  .rcg-compare,
  .rcg-timing,
  .rcg-prepare,
  .rcg-faq {
    padding: 82px 0;
  }

  .rcg-principles,
  .rcg-prepare-grid {
    grid-template-columns: 1fr;
  }

  .rcg-principles article {
    min-height: auto;
    padding: 31px 25px 34px;
  }

  .rcg-index {
    margin-bottom: 37px;
  }

  .rcg-choice-body,
  .rcg-prepare-grid article {
    padding: 32px 24px;
  }

  .rcg-choice-image img {
    aspect-ratio: 4 / 3;
  }

  .rcg-choice-details > div {
    grid-template-columns: 90px 1fr;
  }

  .rcg-card-actions .rcg-button {
    width: 100%;
  }

  .rcg-fit {
    padding: 82px 0;
  }

  .rcg-fit-list > div {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .rcg-timeline article {
    grid-template-columns: 38px 1fr;
    gap: 16px;
  }

  .rcg-timeline article p {
    grid-column: 2;
  }

  .rcg-final {
    padding: 88px 0;
  }

  .rcg-final-actions {
    flex-direction: column;
  }

  .rcg-final-actions .rcg-button {
    width: 100%;
  }

}

/* DBH REALTOR GUIDE MOBILE READINESS START */

.rcg-guide-mobile-wrap {
  display: none;
}

.rcg-guide-desktop {
  min-width: 0;
}

.rcg-guide-nav a {
  overflow-wrap: break-word;
}

@media (max-width: 700px) {

  .rcg-guide-desktop {
    display: none !important;
  }

  .rcg-guide-mobile-wrap {
    display: block;
    width: calc(100% - 40px);
  }

  .rcg-guide-nav {
    background: #fff;
    border-top: 1px solid rgba(41,40,38,.12);
    border-bottom: 1px solid rgba(41,40,38,.12);
  }

  .rcg-guide-mobile {
    width: 100%;
  }

  .rcg-guide-mobile summary {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    padding: 16px 28px 16px 0;
    cursor: pointer;
    list-style: none;
    color: #292826;
  }

  .rcg-guide-mobile summary::-webkit-details-marker {
    display: none;
  }

  .rcg-guide-mobile summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 300;
    color: rgba(41,40,38,.72);
  }

  .rcg-guide-mobile[open] summary::after {
    content: "–";
  }

  .rcg-guide-mobile summary > span:first-child {
    font-size: .75rem;
    line-height: 1.3;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
  }

  .rcg-guide-mobile-hint {
    color: rgba(41,40,38,.48);
    font-size: .72rem;
    line-height: 1.3;
  }

  .rcg-guide-mobile-links {
    padding: 3px 0 14px;
    border-top: 1px solid rgba(41,40,38,.10);
  }

  .rcg-guide-mobile-links a {
    display: block;
    padding: 13px 0;
    color: rgba(41,40,38,.76);
    text-decoration: none;
    font-size: .84rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(41,40,38,.08);
  }

  .rcg-guide-mobile-links a:last-child {
    border-bottom: 0;
  }

  .rcg-guide-mobile-links a:hover,
  .rcg-guide-mobile-links a:focus-visible {
    color: #292826;
  }

  #good-gift,
  #compare,
  #timing,
  #prepare,
  #questions {
    scroll-margin-top: 86px;
  }

}

@media (max-width: 390px) {

  .rcg-guide-mobile-wrap {
    width: calc(100% - 28px);
  }

  .rcg-guide-mobile-hint {
    display: none;
  }

}

/* DBH REALTOR GUIDE MOBILE READINESS END */

/* DBH GUIDE DISPLAY MODE FIX START */

/*
   Explicitly separate desktop and mobile guide navigation.
   This intentionally overrides the broader
   .rcg-guide-nav .rcg-shell desktop layout rule.
*/

/* DESKTOP / TABLET */
.rcg-guide-nav .rcg-guide-desktop {
  display: flex !important;
}

.rcg-guide-nav .rcg-guide-mobile-wrap {
  display: none !important;
}

.rcg-guide-nav .rcg-guide-mobile {
  display: none !important;
}


/* MOBILE */
@media (max-width: 700px) {

  .rcg-guide-nav .rcg-guide-desktop {
    display: none !important;
  }

  .rcg-guide-nav .rcg-guide-mobile-wrap {
    display: block !important;
  }

  .rcg-guide-nav .rcg-guide-mobile {
    display: block !important;
  }

}

/* DBH GUIDE DISPLAY MODE FIX END */
