/* Codex responsive fixes for ramen-ma-center.jp - 2026-07-05 */
.single-post .p-articleThumb {
  overflow: hidden;
}

.single-post .p-articleThumb__img,
.single-post .rmc-page-hero__image,
.single-post .p-relatedPosts .c-postThumb__img,
.single-post .post_content img,
.single-post .entry-content img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.single-post .p-relatedPosts .c-postThumb__figure {
  overflow: hidden;
}

.rmc-legal table,
.rmc-legal-review__table-wrap table,
.post_content .rmc-legal table,
.entry-content .rmc-legal table,
.post_content .rmc-legal-review__table-wrap table,
.entry-content .rmc-legal-review__table-wrap table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed;
}

.rmc-legal-review__table-wrap {
  max-width: 100%;
  overflow: hidden;
}

/* Header trust design system - 2026-07-21 */
body .rmc-header {
  --rmc-head-navy: #102d4f;
  --rmc-head-navy-deep: #0a213b;
  --rmc-head-teal: #0f4d46;
  --rmc-head-copper: #b4472d;
  --rmc-head-copper-dark: #92351f;
  --rmc-head-gold: #e1ad50;
  --rmc-head-ink: #182735;
  --rmc-head-line: #d9e2e6;
  position: sticky !important;
  top: 0 !important;
  z-index: 9000 !important;
  width: 100% !important;
  color: var(--rmc-head-ink) !important;
  background: rgba(255, 255, 255, .98) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(16, 45, 79, .14) !important;
  box-shadow: 0 10px 30px rgba(10, 33, 59, .09) !important;
  backdrop-filter: saturate(145%) blur(14px);
}
.admin-bar .rmc-header { top: 32px !important; }
body .rmc-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--rmc-head-copper) 0 18%, var(--rmc-head-gold) 42%, var(--rmc-head-teal) 72% 100%);
  opacity: .78;
}
body .rmc-header .rmc-wrap {
  width: 100% !important;
  max-width: 1440px !important;
  margin-inline: auto !important;
  padding-inline: clamp(18px, 2.8vw, 44px) !important;
}
body .rmc-header .rmc-topbar {
  min-height: 38px !important;
  color: #fff !important;
  background: linear-gradient(100deg, var(--rmc-head-navy-deep), var(--rmc-head-navy) 58%, var(--rmc-head-teal)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .11) !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .025em !important;
}
body .rmc-header .rmc-topbar > .rmc-wrap,
body .rmc-header .rmc-topbar__inner {
  min-height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}
body .rmc-header .rmc-topbar__badges,
body .rmc-header .rmc-topbar__trust,
body .rmc-header .rmc-topbar__links,
body .rmc-header .rmc-topbar__meta {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: 0 !important;
}
body .rmc-header .rmc-topbar__badges span,
body .rmc-header .rmc-topbar__trust .rmc-topbar__badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 4px 10px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .055) !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}
body .rmc-header .rmc-topbar__badges span:first-child,
body .rmc-header .rmc-topbar__trust .rmc-topbar__badge:first-child {
  border-color: rgba(225, 173, 80, .48) !important;
  color: #fff8e6 !important;
  background: rgba(225, 173, 80, .14) !important;
}
body .rmc-header .rmc-topbar__badges span::before,
body .rmc-header .rmc-topbar__trust .rmc-topbar__badge::before {
  width: 6px !important;
  height: 6px !important;
  margin-right: 7px !important;
  flex: 0 0 6px !important;
  border-radius: 50% !important;
  background: var(--rmc-head-gold) !important;
  box-shadow: 0 0 0 3px rgba(225, 173, 80, .13) !important;
}
body .rmc-header .rmc-topbar__links,
body .rmc-header .rmc-topbar__meta {
  font-size: .75rem !important;
  opacity: .94 !important;
  white-space: nowrap !important;
}
body .rmc-header .rmc-topbar__links a {
  color: #fff !important;
  text-decoration: none !important;
  text-underline-offset: 3px !important;
}
body .rmc-header .rmc-header__main,
body .rmc-header .rmc-header__inner {
  position: relative !important;
  min-height: 94px !important;
  display: grid !important;
  grid-template-columns: minmax(300px, 350px) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: clamp(22px, 2.3vw, 38px) !important;
  padding-block: 8px !important;
  background: transparent !important;
  border: 0 !important;
}
body .rmc-header .rmc-logo {
  position: relative !important;
  width: min(100%, 350px) !important;
  min-width: 0 !important;
  height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 3px 0 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
}
body .rmc-header .rmc-logo img {
  display: block !important;
  width: 100% !important;
  max-width: 350px !important;
  height: auto !important;
  max-height: 72px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
body .rmc-header--polished .rmc-logo--image {
  background: url('https://ramen-ma-center.jp/wp-content/uploads/2026/06/ramen-ma-center_logo_trimmed-768x168.png') left center / contain no-repeat !important;
}
body .rmc-header--polished .rmc-logo--image img {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
}
body .rmc-header .rmc-nav {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(10px, 1.25vw, 19px) !important;
}
body .rmc-header .rmc-nav__links {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1px !important;
}
body .rmc-header .rmc-nav__links a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 46px !important;
  padding: 10px 8px !important;
  color: var(--rmc-head-ink) !important;
  border-radius: 7px !important;
  font-size: clamp(.75rem, .82vw, .86rem) !important;
  font-weight: 750 !important;
  letter-spacing: .01em !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
body .rmc-header .rmc-nav__links a::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--rmc-head-copper);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
body .rmc-header .rmc-nav__links a[aria-current="page"] {
  color: var(--rmc-head-navy) !important;
  background: #f3f7f8 !important;
}
body .rmc-header .rmc-nav__links a[aria-current="page"]::after { transform: scaleX(1); }
body .rmc-header .rmc-nav__actions {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
}
body .rmc-header .rmc-nav__phone,
body .rmc-header .rmc-nav__cta {
  min-height: 60px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  text-align: center !important;
  text-decoration: none !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
}
body .rmc-header .rmc-nav__phone {
  min-width: 142px !important;
  padding: 8px 12px !important;
  color: var(--rmc-head-navy) !important;
  border: 1px solid var(--rmc-head-line) !important;
  background: #fff !important;
  box-shadow: 0 5px 14px rgba(16, 45, 79, .07) !important;
}
body .rmc-header .rmc-nav__phone small { color: #5b6875 !important; font-size: .65rem !important; font-weight: 700 !important; }
body .rmc-header .rmc-nav__phone strong { margin-top: 3px !important; color: var(--rmc-head-navy) !important; font-size: 1.02rem !important; letter-spacing: .035em !important; }
body .rmc-header .rmc-nav__cta {
  min-width: 150px !important;
  padding: 8px 14px !important;
  color: #fff !important;
  border: 1px solid var(--rmc-head-copper-dark) !important;
  background: linear-gradient(145deg, #c65737, var(--rmc-head-copper-dark)) !important;
  box-shadow: 0 8px 18px rgba(180, 71, 45, .22) !important;
}
body .rmc-header .rmc-nav__cta span,
body .rmc-header .rmc-nav__cta strong { color: #fff !important; font-size: .88rem !important; font-weight: 800 !important; }
body .rmc-header .rmc-nav__cta small { margin-top: 3px !important; color: #fff7ed !important; font-size: .67rem !important; font-weight: 700 !important; }
body .rmc-header .rmc-nav__cta--secondary {
  min-width: 104px !important;
  color: var(--rmc-head-navy) !important;
  border-color: #b9c9d3 !important;
  background: #f5f8fa !important;
  box-shadow: none !important;
}
body .rmc-header .rmc-nav__cta--secondary span,
body .rmc-header .rmc-nav__cta--secondary small { color: var(--rmc-head-navy) !important; }
body .rmc-header .rmc-mobile-menu { display: none !important; }
body .rmc-header a:focus-visible,
body .rmc-header summary:focus-visible {
  outline: 3px solid var(--rmc-head-gold) !important;
  outline-offset: 3px !important;
}
@media (hover: hover) {
  body .rmc-header .rmc-nav__links a:hover { color: var(--rmc-head-navy) !important; background: #f3f7f8 !important; }
  body .rmc-header .rmc-nav__links a:hover::after { transform: scaleX(1); }
  body .rmc-header .rmc-nav__phone:hover { border-color: #9fb4c1 !important; transform: translateY(-1px); }
  body .rmc-header .rmc-nav__cta:hover { filter: brightness(1.04); transform: translateY(-1px); }
  body .rmc-header .rmc-topbar__links a:hover { text-decoration: underline !important; }
}
@media (max-width: 1320px) {
  body .rmc-header .rmc-header__main,
  body .rmc-header .rmc-header__inner { grid-template-columns: minmax(270px, 305px) minmax(0, 1fr) !important; gap: 18px !important; }
  body .rmc-header .rmc-logo { width: 305px !important; height: 64px !important; }
  body .rmc-header .rmc-logo img { max-width: 305px !important; max-height: 64px !important; }
  body .rmc-header .rmc-nav { gap: 8px !important; }
  body .rmc-header .rmc-nav__links a { padding-inline: 6px !important; font-size: .75rem !important; }
  body .rmc-header .rmc-nav__phone { display: none !important; }
  body .rmc-header .rmc-nav__cta { min-width: 137px !important; }
}
@media (max-width: 1180px) {
  body .rmc-header .rmc-topbar__meta,
  body .rmc-header .rmc-topbar__links { display: none !important; }
  body .rmc-header .rmc-header__main,
  body .rmc-header .rmc-header__inner {
    min-height: 84px !important;
    grid-template-columns: minmax(0, 1fr) 60px !important;
    gap: 16px !important;
    padding-block: 6px !important;
  }
  body .rmc-header .rmc-logo { width: 320px !important; height: 66px !important; }
  body .rmc-header .rmc-logo img { max-width: 320px !important; max-height: 66px !important; }
  body .rmc-header .rmc-nav { display: none !important; }
  body .rmc-header .rmc-mobile-menu { position: static !important; display: block !important; justify-self: end !important; }
  body .rmc-header .rmc-mobile-menu summary {
    width: 58px !important;
    height: 58px !important;
    display: grid !important;
    grid-template-rows: 25px 13px !important;
    place-items: center !important;
    align-content: center !important;
    gap: 2px !important;
    padding: 7px 5px 5px !important;
    color: var(--rmc-head-navy) !important;
    border: 1px solid #d4dee3 !important;
    border-radius: 14px !important;
    background: linear-gradient(#fff, #f6f9fa) !important;
    box-shadow: 0 6px 16px rgba(16, 45, 79, .08) !important;
    cursor: pointer !important;
    list-style: none !important;
  }
  body .rmc-header .rmc-mobile-menu summary::-webkit-details-marker { display: none !important; }
  body .rmc-header .rmc-mobile-menu summary::after {
    content: "メニュー" !important;
    color: var(--rmc-head-navy) !important;
    font-size: .59rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .03em !important;
  }
  body .rmc-header .rmc-mobile-menu__label { display: none !important; }
  body .rmc-header .rmc-menu-icon,
  body .rmc-header .rmc-menu-icon::before,
  body .rmc-header .rmc-menu-icon::after {
    width: 25px !important;
    height: 2px !important;
    display: block !important;
    border-radius: 2px !important;
    background: var(--rmc-head-navy) !important;
    transition: transform .18s ease, opacity .18s ease !important;
  }
  body .rmc-header .rmc-menu-icon { position: relative !important; }
  body .rmc-header .rmc-menu-icon::before,
  body .rmc-header .rmc-menu-icon::after { content: "" !important; position: absolute !important; left: 0 !important; }
  body .rmc-header .rmc-menu-icon::before { top: -8px !important; }
  body .rmc-header .rmc-menu-icon::after { top: 8px !important; }
  body .rmc-header .rmc-mobile-menu[open] .rmc-menu-icon { background: transparent !important; }
  body .rmc-header .rmc-mobile-menu[open] .rmc-menu-icon::before { top: 0 !important; transform: rotate(45deg) !important; }
  body .rmc-header .rmc-mobile-menu[open] .rmc-menu-icon::after { top: 0 !important; transform: rotate(-45deg) !important; }
  body .rmc-header .rmc-mobile-menu__panel {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 20 !important;
    width: auto !important;
    max-height: calc(100dvh - 128px) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding: 18px clamp(18px, 4vw, 36px) 22px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    color: var(--rmc-head-ink) !important;
    background: rgba(255, 255, 255, .995) !important;
    border: 1px solid #d7e0e4 !important;
    border-top: 3px solid var(--rmc-head-copper) !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 22px 38px rgba(10, 33, 59, .18) !important;
  }
  body .rmc-header .rmc-mobile-menu__notice,
  body .rmc-header .rmc-mobile-menu__quick { grid-column: 1 / -1 !important; }
  body .rmc-header .rmc-mobile-menu__notice {
    padding: 12px 14px !important;
    color: #61411f !important;
    border: 1px solid #ead6b6 !important;
    border-radius: 10px !important;
    background: #fff9ed !important;
    font-size: .79rem !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
  }
  body .rmc-header .rmc-mobile-menu__quick {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
  body .rmc-header .rmc-mobile-menu__quick a,
  body .rmc-header .rmc-mobile-menu__panel > a {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 10px !important;
    color: var(--rmc-head-navy) !important;
    border: 1px solid #d9e2e6 !important;
    border-radius: 10px !important;
    background: #f7f9fa !important;
    font-size: .79rem !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    text-decoration: none !important;
  }
  body .rmc-header .rmc-mobile-menu__quick a:first-child,
  body .rmc-header:not(.rmc-header--polished) .rmc-mobile-menu__panel > a:first-of-type {
    color: #fff !important;
    border-color: var(--rmc-head-copper-dark) !important;
    background: linear-gradient(145deg, #c65737, var(--rmc-head-copper-dark)) !important;
  }
  body .rmc-header .rmc-mobile-menu__panel > a[aria-current="page"] {
    border-color: #8ea6b6 !important;
    background: #edf3f6 !important;
  }
}
@media (max-width: 640px) {
  .admin-bar .rmc-header { top: 46px !important; }
  body .rmc-header .rmc-wrap { padding-inline: 14px !important; }
  body .rmc-header .rmc-topbar,
  body .rmc-header .rmc-topbar > .rmc-wrap,
  body .rmc-header .rmc-topbar__inner { min-height: 34px !important; }
  body .rmc-header .rmc-topbar { font-size: .76rem !important; }
  body .rmc-header .rmc-topbar > .rmc-wrap,
  body .rmc-header .rmc-topbar__inner { justify-content: center !important; padding-inline: 8px !important; }
  body .rmc-header .rmc-topbar__badges,
  body .rmc-header .rmc-topbar__trust { width: 100% !important; justify-content: center !important; }
  body .rmc-header .rmc-topbar__badges span:not(:first-child),
  body .rmc-header .rmc-topbar__trust .rmc-topbar__badge:not(:first-child),
  body .rmc-header .rmc-topbar__links,
  body .rmc-header .rmc-topbar__meta { display: none !important; }
  body .rmc-header .rmc-topbar__badges span:first-child,
  body .rmc-header .rmc-topbar__trust .rmc-topbar__badge:first-child {
    max-width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: .75rem !important;
  }
  body .rmc-header .rmc-header__main,
  body .rmc-header .rmc-header__inner {
    min-height: 78px !important;
    grid-template-columns: minmax(0, 1fr) 58px !important;
    gap: 10px !important;
    padding-block: 6px !important;
  }
  body .rmc-header .rmc-logo {
    width: min(270px, calc(100vw - 94px)) !important;
    height: 60px !important;
  }
  body .rmc-header .rmc-logo img {
    max-width: min(270px, calc(100vw - 94px)) !important;
    max-height: 60px !important;
  }
  body .rmc-header .rmc-mobile-menu summary { width: 54px !important; height: 54px !important; border-radius: 13px !important; }
  body .rmc-header .rmc-mobile-menu__panel {
    max-height: calc(100dvh - 112px) !important;
    padding: 15px 14px 20px !important;
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 0 14px 14px !important;
  }
  body .rmc-header .rmc-mobile-menu__quick a,
  body .rmc-header .rmc-mobile-menu__panel > a { min-height: 46px !important; padding-inline: 7px !important; font-size: .75rem !important; }
}
@media (max-width: 360px) {
  body .rmc-header .rmc-topbar__badges span:first-child,
  body .rmc-header .rmc-topbar__trust .rmc-topbar__badge:first-child { font-size: .7rem !important; }
  body .rmc-header .rmc-logo { width: min(235px, calc(100vw - 90px)) !important; }
  body .rmc-header .rmc-logo img { max-width: min(235px, calc(100vw - 90px)) !important; }
  body .rmc-header .rmc-mobile-menu__quick { grid-template-columns: 1fr !important; }
}

/* SWELL article header: visual alignment with the custom-page header */
.single-post #header.l-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9000 !important;
  color: #182735 !important;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 3px solid #0f4d46 !important;
  box-shadow: 0 10px 30px rgba(10, 33, 59, .09) !important;
  backdrop-filter: saturate(145%) blur(14px);
}
.admin-bar.single-post #header.l-header { top: 32px !important; }
.single-post .l-header__bar { color: #fff !important; background: linear-gradient(100deg, #0a213b, #102d4f 58%, #0f4d46) !important; }
.single-post .l-header__barInner,
.single-post .l-header__inner { max-width: 1360px !important; padding-inline: clamp(18px, 2.8vw, 44px) !important; }
.single-post .l-header__barInner { min-height: 36px !important; }
.single-post .l-header__inner { min-height: 88px !important; }
.single-post .c-catchphrase { font-size: .76rem !important; font-weight: 750 !important; letter-spacing: .02em !important; }
.single-post .c-headLogo__link { color: #102d4f !important; font-family: "Noto Serif JP", "Yu Mincho", serif !important; font-size: clamp(1.24rem, 1.7vw, 1.65rem) !important; font-weight: 700 !important; letter-spacing: .02em !important; }
.single-post .c-headLogo__link img { width: min(350px, 27vw) !important; max-height: 68px !important; object-fit: contain !important; object-position: left center !important; }
.single-post .c-gnav > li > a { min-height: 58px !important; padding-inline: 10px !important; color: #182735 !important; font-size: .8rem !important; font-weight: 750 !important; }
.single-post .c-gnav > li > a:hover,
.single-post .c-gnav > li > a:focus-visible { color: #102d4f !important; background: #f3f7f8 !important; }
.single-post #header a:focus-visible,
.single-post #header button:focus-visible { outline: 3px solid #e1ad50 !important; outline-offset: 3px !important; }
@media (max-width: 782px) { .admin-bar.single-post #header.l-header { top: 46px !important; } }
@media (prefers-reduced-motion: reduce) {
  body .rmc-header *,
  .single-post #header * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
html { scroll-padding-top: 138px; }
@media (max-width: 1180px) { html { scroll-padding-top: 126px; } }
@media (max-width: 640px) { html { scroll-padding-top: 112px; } }


/* High-contrast keyboard focus */
body .rmc-header a:focus-visible,
body .rmc-header summary:focus-visible {
  outline: 3px solid #102d4f !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px #ffffff !important;
}
body .rmc-header .rmc-topbar a:focus-visible {
  outline-color: #ffffff !important;
  box-shadow: 0 0 0 5px #92351f !important;
}
.single-post #header a:focus-visible,
.single-post #header button:focus-visible {
  outline: 3px solid #102d4f !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px #ffffff !important;
}


.rmc-legal th,
.rmc-legal td,
.rmc-legal-review__table-wrap th,
.rmc-legal-review__table-wrap td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 360px) {
  .rmc-mobile-menu summary {
    transform: translateX(-4px);
  }
}

.rmc-site .rmc-logo--image,
.rmc-site .rmc-footer__logo {
  background: #fff !important;
}

.rmc-site .rmc-logo--image img,
.rmc-site .rmc-footer__logo img {
  content: url("https://ramen-ma-center.jp/wp-content/uploads/2026/06/ramen-ma-center_logo_trimmed-768x168.png") !important;
  opacity: 1 !important;
  object-fit: contain !important;
  object-position: left center !important;
}




/* Reliable article header layout - 2026-07-21 */
html body:has(#main_content.l-article .p-articleHead) #header.l-header {
  display: block !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9000 !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  color: #182735 !important;
  background: rgba(255, 255, 255, .985) !important;
  border: 0 !important;
  border-bottom: 3px solid #0f4d46 !important;
  box-shadow: 0 10px 30px rgba(10, 33, 59, .09) !important;
  backdrop-filter: saturate(145%) blur(14px);
}
html body.admin-bar:has(#main_content.l-article .p-articleHead) #header.l-header { top: 32px !important; }
html body:has(#main_content.l-article .p-articleHead) #fix_header,
html body:has(#main_content.l-article .p-articleHead) .post_content .rmc-header,
html body:has(#main_content.l-article .p-articleHead) .entry-content .rmc-header {
  display: none !important;
}
html body:has(#main_content.l-article .p-articleHead) #header,
html body:has(#main_content.l-article .p-articleHead) #header * { box-sizing: border-box !important; }
html body:has(#main_content.l-article .p-articleHead) #header .l-header__bar {
  display: block !important;
  height: auto !important;
  min-height: 36px !important;
  color: #fff !important;
  background: linear-gradient(100deg, #0a213b, #102d4f 58%, #0f4d46) !important;
  border: 0 !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .l-header__barInner {
  width: 100% !important;
  max-width: 1360px !important;
  min-height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 auto !important;
  padding: 5px clamp(18px, 2.8vw, 44px) !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-catchphrase {
  color: #fff !important;
  font-size: .76rem !important;
  font-weight: 750 !important;
  line-height: 1.45 !important;
  letter-spacing: .02em !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-iconList { display: none !important; }
html body:has(#main_content.l-article .p-articleHead) #header .l-header__inner {
  width: 100% !important;
  max-width: 1360px !important;
  min-height: 92px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(24px, 3vw, 52px) !important;
  margin: 0 auto !important;
  padding: 9px clamp(18px, 2.8vw, 44px) !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .l-header__logo,
html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo__link {
  width: min(350px, 31vw) !important;
  height: 70px !important;
  display: flex !important;
  align-items: center !important;
  color: #102d4f !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo__link img {
  display: block !important;
  width: auto !important;
  max-width: 350px !important;
  height: 64px !important;
  max-height: 64px !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
}
html body:has(#main_content.l-article .p-articleHead) #header #gnav,
html body:has(#main_content.l-article .p-articleHead) #header .c-gnavWrap {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  display: block !important;
  flex: 1 1 auto !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-gnav {
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li {
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/cookie-policy/"]),
html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/terms/"]) { display: none !important; }
html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li > a {
  position: relative !important;
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 9px 12px !important;
  color: #182735 !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  font-size: .82rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]) > a {
  color: #102d4f !important;
  border-color: #b8cad4 !important;
  background: #f3f7f9 !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a {
  min-width: 168px !important;
  color: #fff !important;
  border-color: #92351f !important;
  background: linear-gradient(145deg, #c65737, #92351f) !important;
  box-shadow: 0 8px 18px rgba(180, 71, 45, .2) !important;
}
html body:has(#main_content.l-article .p-articleHead) #header .l-header__customBtn,
html body:has(#main_content.l-article .p-articleHead) #header .l-header__menuBtn { display: none !important; }
html body:has(#main_content.l-article .p-articleHead) #header a:focus-visible,
html body:has(#main_content.l-article .p-articleHead) #header button:focus-visible {
  outline: 3px solid #102d4f !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px #fff !important;
}
@media (hover: hover) {
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li > a:hover { color: #102d4f !important; border-color: #d5e0e5 !important; background: #f3f7f8 !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a:hover { color: #fff !important; border-color: #7f2c19 !important; background: #7f2c19 !important; transform: translateY(-1px); }
}
@media (max-width: 760px) {
  html body.admin-bar:has(#main_content.l-article .p-articleHead) #header.l-header { top: 46px !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .l-header__bar,
  html body:has(#main_content.l-article .p-articleHead) #header .l-header__barInner { min-height: 34px !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .l-header__barInner { justify-content: center !important; padding: 5px 12px !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .c-catchphrase {
    width: 100% !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: .7rem !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .l-header__inner {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
    padding: 5px 14px 8px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .l-header__logo,
  html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo { width: 100% !important; justify-content: flex-start !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo__link {
    width: min(270px, 76vw) !important;
    height: 60px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo__link img {
    width: auto !important;
    max-width: min(270px, 76vw) !important;
    height: 54px !important;
    max-height: 54px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header #gnav,
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnavWrap { width: 100% !important; margin: 0 !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li { display: none !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]),
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) { display: block !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li > a,
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 8px 7px !important;
    font-size: .75rem !important;
    white-space: normal !important;
  }
}
@media (max-width: 360px) {
  html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo__link { width: min(235px, 72vw) !important; }
  html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo__link img { max-width: min(235px, 72vw) !important; }
}


/* Remove the unused empty SWELL mobile drawer on article pages */
html body:has(#main_content.l-article .p-articleHead) #sp_menu,
html body:has(#main_content.l-article .p-articleHead) .p-spMenu,
html body:has(#main_content.l-article .p-articleHead) .p-spMenu__overlay {
  display: none !important;
}


/* Concise labels for narrow article headers */
@media (max-width: 760px) {
  html body:has(#main_content.l-article .p-articleHead) #header .c-catchphrase {
    font-size: 0 !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-catchphrase::before {
    content: "譲渡企業様は成功報酬まで0円";
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]) > a,
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a {
    flex-direction: column !important;
    font-size: 0 !important;
    line-height: 1.15 !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]) > a::before {
    content: "買い手登録";
    font-size: .78rem;
    font-weight: 800;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a::before {
    content: "譲渡無料相談";
    font-size: .78rem;
    font-weight: 850;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a::after {
    content: "成功報酬0円";
    margin-top: 3px;
    color: #fff7ed;
    font-size: .61rem;
    font-weight: 750;
  }
}


/* Keep narrow article CTA labels concise */
@media (max-width: 640px) {
  body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]) .ttl,
  body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) .ttl {
    display: none !important;
  }

  body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]),
  body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) {
    height: 58px !important;
  }

  body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]) > a,
  body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a {
    min-height: 58px !important;
    height: 58px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.15 !important;
  }
}


/* Visible ramen logo fallback for polished headers */
html body .rmc-site header.rmc-header.rmc-header--polished a.rmc-logo.rmc-logo--image {
  position: relative !important;
  width: clamp(280px, 24vw, 350px) !important;
  height: 72px !important;
  background-color: transparent !important;
  background-image: url("https://ramen-ma-center.jp/wp-content/uploads/2026/06/ramen-ma-center_logo_trimmed-768x168.png") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
}
html body .rmc-site header.rmc-header.rmc-header--polished a.rmc-logo.rmc-logo--image > img {
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
@media (max-width: 1180px) {
  html body .rmc-site header.rmc-header.rmc-header--polished a.rmc-logo.rmc-logo--image {
    width: min(270px, calc(100vw - 110px)) !important;
    height: 59px !important;
  }
}


/* Compact article header for tablet widths */
@media (min-width: 761px) and (max-width: 1180px) {
  html body:has(#main_content.l-article .p-articleHead) #header .l-header__inner {
    min-height: 78px !important;
    display: grid !important;
    grid-template-columns: minmax(250px, 300px) minmax(330px, 1fr) !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 7px 18px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .l-header__logo,
  html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo__link {
    width: min(300px, 100%) !important;
    height: 64px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-headLogo__link img {
    width: auto !important;
    max-width: min(300px, 100%) !important;
    height: 60px !important;
    max-height: 60px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header #gnav,
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnavWrap {
    width: 100% !important;
    margin: 0 !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav {
    display: grid !important;
    grid-template-columns: minmax(130px, .82fr) minmax(180px, 1.18fr) !important;
    gap: 8px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li {
    display: none !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]),
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) {
    display: block !important;
    height: 56px !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]) .ttl,
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) .ttl {
    display: none !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]) > a,
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    height: 56px !important;
    padding: 7px 9px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-buy/"]) > a::before {
    content: "買い手登録";
    font-size: .78rem;
    font-weight: 800;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a::before {
    content: "譲渡無料相談";
    font-size: .8rem;
    font-weight: 850;
  }
  html body:has(#main_content.l-article .p-articleHead) #header .c-gnav > li:has(> a[href*="/contact-sell/"]) > a::after {
    content: "成功報酬0円";
    margin-top: 3px;
    color: #fff7ed;
    font-size: .64rem;
    font-weight: 750;
  }

  html body .rmc-site header.rmc-header.rmc-header--polished a.rmc-logo.rmc-logo--image {
    width: min(320px, calc(100vw - 110px)) !important;
  }
}


/* Footer trust design system - 2026-07-21 */
:root {
  --rmc-footer-navy: #0b2033;
  --rmc-footer-navy-2: #12344b;
  --rmc-footer-teal: #0c4b47;
  --rmc-footer-deep: #071814;
  --rmc-footer-ink: #f7fbfa;
  --rmc-footer-muted: #d6e1de;
  --rmc-footer-copper: #b9472e;
  --rmc-footer-copper-dark: #8f301f;
  --rmc-footer-gold: #d9a75a;
  --rmc-footer-line: rgba(255, 255, 255, .16);
}

/* Article footer: consultation band */
#before_footer_widget:has(.rmc-theme-footer-cta) {
  margin: clamp(58px, 7vw, 96px) 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
#before_footer_widget:has(.rmc-theme-footer-cta) > .l-container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 20px !important;
}
#before_footer_widget:has(.rmc-theme-footer-cta) .c-widget {
  margin: 0 !important;
}
.rmc-theme-footer-cta {
  position: relative;
  isolation: isolate;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(38px, 4.5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 167, 90, .2), transparent 28%),
    radial-gradient(circle at 100% 100%, rgba(8, 83, 74, .52), transparent 42%),
    linear-gradient(122deg, #8f301f 0%, #b9472e 44%, #123b40 100%);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 28px;
  box-shadow: 0 24px 58px rgba(8, 28, 35, .2);
}
.rmc-theme-footer-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -150px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(255, 255, 255, .035),
    0 0 0 104px rgba(255, 255, 255, .025);
}
.rmc-theme-footer-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: #fff2dd;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .1em;
}
.rmc-theme-footer-cta__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--rmc-footer-gold);
}
.rmc-theme-footer-cta h2 {
  max-width: 780px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.75rem, 3vw, 2.65rem) !important;
  font-weight: 850 !important;
  line-height: 1.35 !important;
  letter-spacing: .015em !important;
}
.rmc-theme-footer-cta__copy > p {
  max-width: 820px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: .98rem;
  line-height: 1.9;
}
.rmc-theme-footer-cta__trust {
  margin: 24px 0 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none !important;
}
.rmc-theme-footer-cta__trust li {
  margin: 0 !important;
  padding: 14px 15px;
  color: #fff;
  background: rgba(10, 29, 35, .22);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
}
.rmc-theme-footer-cta__trust li::before { display: none !important; }
.rmc-theme-footer-cta__trust strong,
.rmc-theme-footer-cta__trust span {
  display: block;
}
.rmc-theme-footer-cta__trust strong {
  color: #fff8ea;
  font-size: .9rem;
  line-height: 1.4;
}
.rmc-theme-footer-cta__trust span {
  margin-top: 4px;
  color: rgba(255, 255, 255, .82);
  font-size: .76rem;
  line-height: 1.55;
}
.rmc-theme-footer-cta__actions {
  display: grid;
  gap: 11px;
}
.rmc-theme-footer-btn,
.rmc-theme-footer-phone {
  width: 100%;
  min-height: 58px;
  padding: 10px 18px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--rmc-footer-navy) !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, .75) !important;
  border-radius: 13px;
  box-shadow: 0 12px 24px rgba(11, 31, 51, .13);
  font-size: .95rem;
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
}
.rmc-theme-footer-btn--primary {
  color: #fff !important;
  background: linear-gradient(145deg, #b9472e, #8f301f) !important;
  border-color: rgba(255, 255, 255, .28) !important;
}
.rmc-theme-footer-btn small,
.rmc-theme-footer-phone small {
  display: block;
  margin-top: 2px;
  font-size: .69rem;
  font-weight: 750;
}
.rmc-theme-footer-phone strong {
  display: block;
  color: var(--rmc-footer-navy);
  font-size: 1.32rem;
  letter-spacing: .045em;
}

/* Article footer: main information area */
#footer.l-footer:has(.rmc-theme-footer-brand),
#footer.l-footer:has(.rmc-theme-footer-mobile) {
  margin: 0 !important;
  color: var(--rmc-footer-muted) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(22, 88, 82, .22), transparent 34%),
    linear-gradient(148deg, #081b2a 0%, #0a252a 52%, #071814 100%) !important;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--rmc-footer-copper), var(--rmc-footer-gold), #2b7d72) 1;
}
#footer.l-footer:has(.rmc-theme-footer-brand) .l-footer__inner,
#footer.l-footer:has(.rmc-theme-footer-mobile) .l-footer__inner {
  background: transparent !important;
}
#footer.l-footer:has(.rmc-theme-footer-brand) .l-footer__widgetArea,
#footer.l-footer:has(.rmc-theme-footer-mobile) .l-footer__widgetArea {
  padding: clamp(44px, 5vw, 72px) 0 36px !important;
  color: var(--rmc-footer-muted) !important;
  background: transparent !important;
}
#footer.l-footer .w-footer {
  width: min(1280px, calc(100% - 40px)) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
}
#footer.l-footer .w-footer.-col3 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr) minmax(0, 1fr) !important;
  gap: 18px !important;
}
#footer.l-footer .w-footer__box {
  min-width: 0;
  margin: 0 !important;
  padding: clamp(22px, 2.3vw, 31px) !important;
  color: var(--rmc-footer-muted) !important;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--rmc-footer-line);
  border-radius: 18px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}
#footer.l-footer .c-widget,
#footer.l-footer .custom-html-widget {
  margin: 0 !important;
}
.rmc-theme-footer-logo {
  width: min(330px, 100%);
  min-height: 72px;
  padding: 10px 14px;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
}
.rmc-theme-footer-logo img {
  display: block;
  width: 100% !important;
  max-width: 300px !important;
  height: auto !important;
  object-fit: contain;
}
.rmc-theme-footer-brand h2,
.rmc-theme-footer-mobile h2,
.rmc-theme-footer-nav h2 {
  margin: 22px 0 10px !important;
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 850 !important;
  line-height: 1.45 !important;
  letter-spacing: .035em !important;
}
.rmc-theme-footer-brand > p,
.rmc-theme-footer-mobile > p,
.rmc-theme-footer-fee-note p {
  margin: 0;
  color: var(--rmc-footer-muted);
  font-size: .91rem;
  line-height: 1.85;
}
.rmc-theme-footer-badges {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.rmc-theme-footer-badges span {
  padding: 6px 9px;
  color: #fff3da;
  background: rgba(217, 167, 90, .1);
  border: 1px solid rgba(217, 167, 90, .34);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 750;
}
.rmc-theme-footer-facts {
  margin: 22px 0 0;
  padding: 0;
}
.rmc-theme-footer-facts > div {
  min-height: 44px;
  padding: 9px 0;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.rmc-theme-footer-facts dt {
  color: #fff;
  font-weight: 800;
}
.rmc-theme-footer-facts dd {
  margin: 0;
  color: var(--rmc-footer-muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.rmc-theme-footer-nav section + section {
  margin-top: 24px;
}
.rmc-theme-footer-nav h2 {
  position: relative;
  margin-top: 0 !important;
  padding-bottom: 11px;
}
.rmc-theme-footer-nav h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--rmc-footer-gold), var(--rmc-footer-copper));
}
.rmc-theme-footer-nav ul {
  margin: 6px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.rmc-theme-footer-nav li {
  margin: 0 !important;
  padding: 0 !important;
}
.rmc-theme-footer-nav li::before { display: none !important; }
.rmc-theme-footer-nav a,
.rmc-theme-footer-facts a {
  color: #f0f6f4 !important;
  text-decoration: none !important;
}
.rmc-theme-footer-nav li a {
  min-height: 42px;
  padding: 8px 0 7px 16px;
  position: relative;
  display: flex !important;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.5;
}
.rmc-theme-footer-nav li a::before {
  content: "";
  position: absolute;
  left: 1px;
  width: 5px;
  height: 5px;
  background: var(--rmc-footer-gold);
  border-radius: 50%;
}
.rmc-theme-footer-fee-note {
  margin-top: 24px;
  padding: 15px 16px;
  color: #fff;
  background: rgba(217, 167, 90, .08);
  border: 1px solid rgba(217, 167, 90, .24);
  border-left: 4px solid var(--rmc-footer-gold);
  border-radius: 11px;
}
.rmc-theme-footer-fee-note strong {
  display: block;
  margin-bottom: 6px;
  color: #fff5df;
  font-size: .82rem;
}
.rmc-theme-footer-fee-note p {
  font-size: .76rem;
  line-height: 1.7;
}
#footer.l-footer:has(.rmc-theme-footer-brand) .l-footer__foot,
#footer.l-footer:has(.rmc-theme-footer-mobile) .l-footer__foot {
  padding: 23px 20px calc(23px + env(safe-area-inset-bottom)) !important;
  color: rgba(255, 255, 255, .78) !important;
  background: rgba(0, 0, 0, .2) !important;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
#footer.l-footer .copyright {
  margin: 0 !important;
  color: rgba(255, 255, 255, .78) !important;
  font-size: .78rem !important;
  letter-spacing: .03em;
}

/* Theme mobile footer widget */
.rmc-theme-footer-mobile {
  color: var(--rmc-footer-muted);
}
.rmc-theme-footer-mobile-nav {
  margin-top: 24px;
}
.rmc-theme-footer-mobile-nav details {
  margin-top: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--rmc-footer-line);
  border-radius: 12px;
}
.rmc-theme-footer-mobile-nav summary {
  min-height: 50px;
  padding: 13px 44px 13px 15px;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.rmc-theme-footer-mobile-nav summary::-webkit-details-marker { display: none; }
.rmc-theme-footer-mobile-nav summary::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  color: var(--rmc-footer-gold);
  font-size: 1.35rem;
  transform: translateY(-50%);
}
.rmc-theme-footer-mobile-nav details[open] summary::after { content: "−"; }
.rmc-theme-footer-mobile-nav ul {
  margin: 0 !important;
  padding: 4px 14px 12px !important;
  list-style: none !important;
}
.rmc-theme-footer-mobile-nav li { margin: 0 !important; padding: 0 !important; }
.rmc-theme-footer-mobile-nav li::before { display: none !important; }
.rmc-theme-footer-mobile-nav a {
  min-height: 44px;
  padding: 9px 2px;
  display: flex !important;
  align-items: center;
  color: #f0f6f4 !important;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .84rem;
  line-height: 1.45;
  text-decoration: none !important;
}

/* Homepage custom footer */
.rmc-footer:not(.rmc-footer--polished) {
  color: var(--rmc-footer-muted) !important;
  background:
    radial-gradient(circle at 9% 0%, rgba(26, 95, 86, .2), transparent 34%),
    linear-gradient(148deg, #081b2a 0%, #0a252a 52%, #071814 100%) !important;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--rmc-footer-copper), var(--rmc-footer-gold), #2b7d72) 1;
}
.rmc-footer:not(.rmc-footer--polished) > .rmc-wrap {
  width: min(1280px, calc(100% - 40px)) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: clamp(42px, 5vw, 68px) 0 22px !important;
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid {
  display: grid !important;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, .8fr)) !important;
  gap: 16px !important;
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid > div {
  min-width: 0;
  padding: 24px !important;
  color: var(--rmc-footer-muted);
  background: rgba(255, 255, 255, .042);
  border: 1px solid var(--rmc-footer-line);
  border-radius: 16px;
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__logo {
  width: min(340px, 100%) !important;
  min-height: 74px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  background: #fff !important;
  border-radius: 13px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__logo img {
  display: block !important;
  width: 100% !important;
  max-width: 310px !important;
  height: auto !important;
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__brand p {
  margin: 18px 0 0 !important;
  color: var(--rmc-footer-muted) !important;
  font-size: .92rem !important;
  line-height: 1.85 !important;
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__operator {
  padding-top: 14px;
  color: #fff4dd !important;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-weight: 800;
}
.rmc-footer:not(.rmc-footer--polished) h3 {
  position: relative;
  margin: 0 0 12px !important;
  padding-bottom: 12px;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 850 !important;
  letter-spacing: .035em;
}
.rmc-footer:not(.rmc-footer--polished) h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--rmc-footer-gold), var(--rmc-footer-copper));
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid > div:not(.rmc-footer__brand) > a {
  min-height: 42px;
  padding: 8px 0 7px 15px !important;
  position: relative;
  display: flex !important;
  align-items: center;
  color: #f0f6f4 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-size: .86rem !important;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none !important;
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid > div:not(.rmc-footer__brand) > a::before {
  content: "";
  position: absolute;
  left: 1px;
  width: 5px;
  height: 5px;
  background: var(--rmc-footer-gold);
  border-radius: 50%;
}
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__bottom {
  margin-top: 26px !important;
  padding: 22px 0 calc(5px + env(safe-area-inset-bottom)) !important;
  color: rgba(255, 255, 255, .76) !important;
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
  font-size: .78rem !important;
  letter-spacing: .03em;
}

/* Fixed-page polished footer */
.rmc-footer--polished {
  color: var(--rmc-footer-muted) !important;
  background: var(--rmc-footer-deep) !important;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--rmc-footer-copper), var(--rmc-footer-gold), #2b7d72) 1;
}
.rmc-footer--polished .rmc-footer__cta {
  color: #fff !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(217, 167, 90, .18), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(8, 83, 74, .46), transparent 42%),
    linear-gradient(122deg, #8f301f 0%, #b9472e 44%, #123b40 100%) !important;
}
.rmc-footer--polished .rmc-footer__cta-inner {
  padding-top: clamp(42px, 5vw, 68px) !important;
  padding-bottom: clamp(42px, 5vw, 68px) !important;
}
.rmc-footer--polished .rmc-footer__eyebrow {
  color: #fff2dd !important;
  font-size: .8rem !important;
  letter-spacing: .09em;
}
.rmc-footer--polished .rmc-footer__cta h2 {
  color: #fff !important;
  font-size: clamp(1.75rem, 3vw, 2.55rem) !important;
  line-height: 1.35 !important;
}
.rmc-footer--polished .rmc-footer__cta-copy > p {
  color: rgba(255, 255, 255, .9) !important;
  font-size: .96rem !important;
  line-height: 1.85 !important;
}
.rmc-footer--polished .rmc-footer__promise-grid > span {
  color: #fff !important;
  background: rgba(10, 29, 35, .22) !important;
  border-color: rgba(255, 255, 255, .2) !important;
  border-radius: 12px !important;
}
.rmc-footer--polished .rmc-footer__promise-grid b {
  color: #fff8ea !important;
}
.rmc-footer--polished .rmc-footer__promise-grid small {
  color: rgba(255, 255, 255, .82) !important;
}
.rmc-footer--polished .rmc-footer__cta-actions > a {
  min-height: 58px !important;
  border-radius: 13px !important;
  font-weight: 850 !important;
}
.rmc-footer--polished .rmc-footer__main {
  color: var(--rmc-footer-muted) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(22, 88, 82, .2), transparent 35%),
    linear-gradient(148deg, #081b2a 0%, #0a252a 52%, #071814 100%) !important;
}
.rmc-footer--polished .rmc-footer__trust-row > span,
.rmc-footer--polished .rmc-footer__panel,
.rmc-footer--polished .rmc-footer__group,
.rmc-footer--polished .rmc-footer__aside {
  color: var(--rmc-footer-muted) !important;
  background: rgba(255, 255, 255, .045) !important;
  border-color: var(--rmc-footer-line) !important;
  border-radius: 16px !important;
}
.rmc-footer--polished .rmc-footer__trust-row b,
.rmc-footer--polished .rmc-footer__brand h2,
.rmc-footer--polished .rmc-footer__group h3,
.rmc-footer--polished .rmc-footer__aside h3,
.rmc-footer--polished .rmc-footer__facts dt {
  color: #fff !important;
}
.rmc-footer--polished .rmc-footer__trust-row small,
.rmc-footer--polished .rmc-footer__brand p,
.rmc-footer--polished .rmc-footer__facts dd,
.rmc-footer--polished .rmc-footer__aside p {
  color: var(--rmc-footer-muted) !important;
}
.rmc-footer--polished .rmc-footer__logo {
  min-height: 72px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  background: #fff !important;
  border-radius: 13px !important;
}
.rmc-footer--polished .rmc-footer__logo img {
  width: 100% !important;
  max-width: 310px !important;
  height: auto !important;
  object-fit: contain !important;
}
.rmc-footer--polished .rmc-footer__group a {
  min-height: 42px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  display: flex !important;
  align-items: center !important;
  color: #f0f6f4 !important;
  font-size: .86rem !important;
  line-height: 1.5 !important;
}
.rmc-footer--polished .rmc-footer__group li:has(> a[href="/ma-do/"]) {
  display: none !important;
}
.rmc-footer--polished .rmc-footer__note {
  color: var(--rmc-footer-muted) !important;
  background: rgba(217, 167, 90, .08) !important;
  border-color: rgba(217, 167, 90, .24) !important;
  border-left-color: var(--rmc-footer-gold) !important;
}
.rmc-footer--polished .rmc-footer__bottom {
  color: rgba(255, 255, 255, .76) !important;
  border-top-color: rgba(255, 255, 255, .12) !important;
}

/* Footer interaction and focus */
.rmc-theme-footer-btn,
.rmc-theme-footer-phone,
.rmc-theme-footer-nav a,
.rmc-theme-footer-logo,
.rmc-theme-footer-mobile-nav summary,
.rmc-footer a,
.rmc-footer summary {
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.rmc-theme-footer-btn:hover,
.rmc-theme-footer-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(4, 19, 28, .2);
}
.rmc-theme-footer-nav a:hover,
.rmc-theme-footer-facts a:hover,
.rmc-footer a:hover {
  color: #ffe1a6 !important;
}
.rmc-theme-footer-nav li a:hover,
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid > div:not(.rmc-footer__brand) > a:hover {
  transform: translateX(3px);
}
#before_footer_widget a:focus-visible,
#footer.l-footer a:focus-visible,
#footer.l-footer summary:focus-visible,
.rmc-footer a:focus-visible,
.rmc-footer summary:focus-visible {
  outline: 3px solid #ffd381 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px #0b2033 !important;
}

/* Footer responsive layout */
@media (max-width: 1080px) {
  .rmc-theme-footer-cta {
    grid-template-columns: 1fr;
  }
  .rmc-theme-footer-cta__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #footer.l-footer .w-footer.-col3 {
    grid-template-columns: 1fr 1fr !important;
  }
  #footer.l-footer .w-footer__box:first-child {
    grid-column: 1 / -1;
  }
  .rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .rmc-footer:not(.rmc-footer--polished) .rmc-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  #before_footer_widget:has(.rmc-theme-footer-cta) {
    margin-top: 48px !important;
  }
  #before_footer_widget:has(.rmc-theme-footer-cta) > .l-container {
    padding: 0 8px !important;
  }
  .rmc-theme-footer-cta {
    padding: 34px 18px;
    gap: 26px;
    border-radius: 18px;
  }
  .rmc-theme-footer-cta h2 {
    font-size: clamp(1.55rem, 7.3vw, 2rem) !important;
  }
  .rmc-theme-footer-cta__copy > p {
    font-size: .9rem;
    line-height: 1.8;
  }
  .rmc-theme-footer-cta__trust {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .rmc-theme-footer-cta__actions {
    grid-template-columns: 1fr;
  }
  .rmc-theme-footer-btn,
  .rmc-theme-footer-phone {
    min-height: 58px;
  }
  #footer.l-footer .l-footer__widgetArea {
    padding: 30px 0 20px !important;
  }
  #footer.l-footer .w-footer {
    width: calc(100% - 16px) !important;
  }
  #footer.l-footer .w-footer.-col3 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  #footer.l-footer .w-footer__box:first-child {
    grid-column: auto;
  }
  #footer.l-footer .w-footer__box {
    padding: 21px !important;
  }
  #footer.l-footer:has(.rmc-theme-footer-mobile) .w-footer.-col3 {
    display: none !important;
  }
  .rmc-theme-footer-logo {
    width: min(285px, 100%);
    min-height: 66px;
  }
  .rmc-theme-footer-brand h2,
  .rmc-theme-footer-mobile h2 {
    font-size: 1.08rem !important;
  }
  .rmc-theme-footer-nav li a {
    min-height: 44px;
    font-size: .88rem;
  }
  .rmc-footer:not(.rmc-footer--polished) > .rmc-wrap {
    width: calc(100% - 16px) !important;
    padding-top: 32px !important;
  }
  .rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
  }
  .rmc-footer:not(.rmc-footer--polished) .rmc-footer__brand {
    grid-column: 1 / -1;
  }
  .rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid > div {
    padding: 17px !important;
  }
  .rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid > div:last-child {
    grid-column: 1 / -1;
  }
  .rmc-footer:not(.rmc-footer--polished) .rmc-footer__grid > div:not(.rmc-footer__brand) > a {
    min-height: 44px;
    font-size: .82rem !important;
  }
  .rmc-footer--polished .rmc-footer__cta-inner {
    padding: 36px 14px !important;
  }
  .rmc-footer--polished .rmc-footer__trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .rmc-footer--polished .rmc-footer__layout {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .rmc-footer--polished .rmc-footer__links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .rmc-footer--polished .rmc-footer__group {
    padding: 15px !important;
  }
  .rmc-footer--polished .rmc-footer__group a {
    min-height: 44px !important;
    font-size: .81rem !important;
  }
  .rmc-footer--polished .rmc-footer__aside {
    padding: 20px !important;
  }
  .rmc-footer--polished .rmc-footer__note {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 420px) {
  .rmc-footer--polished .rmc-footer__trust-row {
    grid-template-columns: 1fr !important;
  }
  .rmc-footer--polished .rmc-footer__links {
    grid-template-columns: 1fr 1fr !important;
  }
  .rmc-footer--polished .rmc-footer__group {
    padding: 13px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rmc-theme-footer-cta *,
  #footer.l-footer *,
  .rmc-footer * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* Keep the theme consultation footer exclusive to article pages */
body:not(:has(#main_content.l-article .p-articleHead)) #before_footer_widget:has(.rmc-theme-footer-cta) {
  display: none !important;
}
#before_footer_widget:has(.rmc-theme-footer-cta) > .l-container,
#before_footer_widget:has(.rmc-theme-footer-cta) .c-widget,
#before_footer_widget:has(.rmc-theme-footer-cta) .custom-html-widget,
.rmc-theme-footer-cta {
  box-sizing: border-box !important;
}
.rmc-theme-footer-cta {
  max-width: 1280px !important;
}


/* Footer final touch targets and operator alignment */
.rmc-footer:not(.rmc-footer--polished) .rmc-footer__operator a,
#footer.l-footer .rmc-theme-footer-facts dd a {
  display: inline-flex !important;
  width: auto !important;
  min-height: 44px;
  align-items: center;
  padding-block: 4px;
}



/* RMC contrast separation hardening — 2026-07-21 */
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a[href*="/contact-buy/"].rmc-nav__cta,
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a.rmc-nav__cta.rmc-nav__cta--secondary {
  background: #ffffff !important;
  background-image: none !important;
  color: #102d4f !important;
  -webkit-text-fill-color: #102d4f !important;
  border: 2px solid #667789 !important;
  filter: none !important;
}
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a[href*="/contact-buy/"].rmc-nav__cta:hover,
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a[href*="/contact-buy/"].rmc-nav__cta:focus-visible,
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a.rmc-nav__cta.rmc-nav__cta--secondary:hover,
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a.rmc-nav__cta.rmc-nav__cta--secondary:focus-visible {
  background: #eaf1f4 !important;
  color: #0b1f2a !important;
  -webkit-text-fill-color: #0b1f2a !important;
  border-color: #102d4f !important;
  filter: none !important;
}
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a[href*="/contact-sell/"].rmc-nav__cta {
  background: #8f211d !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 2px solid #8f211d !important;
}
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a[href*="/contact-sell/"].rmc-nav__cta:hover,
html body .post_content .rmc-site.rmc-site.rmc-site .rmc-header a[href*="/contact-sell/"].rmc-nav__cta:focus-visible {
  background: #5f1614 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #5f1614 !important;
  filter: none !important;
}
html body .rmc-header .rmc-nav__cta :is(span, small, strong, b),
html body .rmc-mobile-bar a :is(span, small, strong, b),
html body .post_content .rmc-site.rmc-site :where(a.rmc-btn, button, input[type="submit"], .wpcf7-submit) :is(span, small, strong, b, em) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body .rmc-mobile-bar a[href*="/contact-buy/"] {
  background: #f5f8fa !important;
  background-image: none !important;
  color: #102d4f !important;
  -webkit-text-fill-color: #102d4f !important;
  border-color: #667789 !important;
}
html body .rmc-mobile-bar a[href*="/contact-sell/"] {
  background: #8f211d !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #8f211d !important;
}
html body .rmc-mobile-bar a[href*="/contact-buy/"]:hover,
html body .rmc-mobile-bar a[href*="/contact-buy/"]:focus-visible {
  background: #eaf1f4 !important;
  color: #0b1f2a !important;
  -webkit-text-fill-color: #0b1f2a !important;
}
html body .rmc-mobile-bar a[href*="/contact-sell/"]:hover,
html body .rmc-mobile-bar a[href*="/contact-sell/"]:focus-visible {
  background: #5f1614 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
html body .post_content .rmc-site.rmc-site .rmc-cf7 :where(
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  textarea,
  select
) {
  background: #ffffff !important;
  color: #17202a !important;
  -webkit-text-fill-color: #17202a !important;
  border: 2px solid #796b57 !important;
  opacity: 1 !important;
}
html body .post_content .rmc-site.rmc-site .rmc-cf7 :where(input, textarea)::placeholder {
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
  opacity: 1 !important;
}
html body .post_content .rmc-site.rmc-site .rmc-cf7 :where(label, legend, .rmc-field-label, .wpcf7-list-item-label) {
  color: #17202a !important;
  -webkit-text-fill-color: #17202a !important;
}
html body .post_content .rmc-site.rmc-site .rmc-cf7 :where(input[type="checkbox"], input[type="radio"]) {
  accent-color: #006747 !important;
}
html body .post_content .rmc-site.rmc-site :where(button[type="submit"], input[type="submit"], .wpcf7-submit) {
  background: #8f211d !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #8f211d !important;
  opacity: 1 !important;
}
html body .post_content .rmc-site.rmc-site :where(button[type="submit"], input[type="submit"], .wpcf7-submit):hover,
html body .post_content .rmc-site.rmc-site :where(button[type="submit"], input[type="submit"], .wpcf7-submit):focus-visible {
  background: #5f1614 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #5f1614 !important;
}
html body .post_content .rmc-site.rmc-site :where(button, input, textarea, select):disabled {
  background: #e5e7eb !important;
  color: #374151 !important;
  -webkit-text-fill-color: #374151 !important;
  border-color: #6b7280 !important;
  opacity: 1 !important;
}
html body .post_content .rmc-site.rmc-site :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible,
html body .rmc-mobile-bar a:focus-visible {
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 6px #102d4f !important;
}



/* RMC form and button state contrast precedence — 2026-07-21 */
html body div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site :where(
  button[type="submit"],
  input[type="submit"],
  .wpcf7-submit
):hover,
html body div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site :where(
  button[type="submit"],
  input[type="submit"],
  .wpcf7-submit
):focus-visible {
  background: #5f1614 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #5f1614 !important;
  filter: none !important;
  opacity: 1 !important;
}
html body div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site :where(
  button,
  input,
  textarea,
  select
):disabled {
  background: #e5e7eb !important;
  background-image: none !important;
  color: #374151 !important;
  -webkit-text-fill-color: #374151 !important;
  border-color: #6b7280 !important;
  filter: none !important;
  opacity: 1 !important;
}
html body div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site :where(
  input,
  textarea
):disabled::placeholder {
  color: #374151 !important;
  -webkit-text-fill-color: #374151 !important;
  opacity: 1 !important;
}
html body div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site .rmc-cf7 :where(
  [aria-invalid="true"],
  .wpcf7-not-valid
) {
  border-color: #b42318 !important;
  box-shadow: 0 0 0 1px #b42318 !important;
}
html body div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site .rmc-cf7 :where(
  .wpcf7-not-valid-tip,
  .wpcf7-response-output,
  [role="alert"]
) {
  color: #8a1c13 !important;
  -webkit-text-fill-color: #8a1c13 !important;
  background: #ffffff !important;
  text-shadow: none !important;
}



/* RMC homepage bright trust redesign — 2026-07-21 */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 {
  --rmc-bright-ivory: #f7f2e8;
  --rmc-bright-card: #fff8ec;
  --rmc-bright-sage: #e3eee4;
  --rmc-bright-sand: #f0e6d7;
  --rmc-bright-navy: #173f4f;
  --rmc-bright-green: #123d3a;
  --rmc-bright-green-2: #1b4a46;
  --rmc-bright-ink: #243432;
  --rmc-bright-muted: #50625c;
  --rmc-bright-copper: #8b3d27;
  --rmc-bright-copper-dark: #6e2c1c;
  --rmc-bright-copper-soft: #d8b08c;
  --rmc-bright-border: #c7d3c5;
  color: var(--rmc-bright-ink) !important;
  background: var(--rmc-bright-ivory) !important;
}

/* Header: warm, bright and clearly structured */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 > header.rmc-header {
  color: var(--rmc-bright-navy) !important;
  background: linear-gradient(180deg, #fff8ec 0%, #f5e9d7 100%) !important;
  border-bottom: 1px solid var(--rmc-bright-copper-soft) !important;
  box-shadow: 0 10px 28px rgba(23, 63, 79, 0.10) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-topbar {
  color: #fff8ec !important;
  background: linear-gradient(100deg, #173f4f 0%, #1d5360 58%, #27685e 100%) !important;
  border-bottom-color: rgba(255, 248, 236, 0.18) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-topbar__badges span {
  color: #fff8ec !important;
  background: rgba(255, 248, 236, 0.10) !important;
  border-color: rgba(216, 176, 140, 0.58) !important;
  box-shadow: none !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-topbar__links a {
  color: #fff8ec !important;
  opacity: 1 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-header__main {
  color: var(--rmc-bright-navy) !important;
  background: transparent !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__links a {
  color: var(--rmc-bright-navy) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__links a:hover,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__links a:focus-visible,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__links a[aria-current="page"] {
  color: var(--rmc-bright-green) !important;
  background: var(--rmc-bright-sage) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__phone {
  color: var(--rmc-bright-navy) !important;
  background: #eef4ef !important;
  border: 1px solid #afc2bc !important;
  box-shadow: 0 8px 20px rgba(23, 63, 79, 0.07) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__phone :is(small, strong, span) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__cta {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: var(--rmc-bright-copper) !important;
  background-image: none !important;
  border-color: var(--rmc-bright-copper) !important;
  box-shadow: 0 10px 22px rgba(139, 61, 39, 0.20) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__cta :is(small, strong, span) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__cta:hover,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-nav__cta:focus-visible {
  color: #ffffff !important;
  background: var(--rmc-bright-copper-dark) !important;
  border-color: var(--rmc-bright-copper-dark) !important;
  filter: none !important;
}

/* Hero: ivory and sage instead of a white field */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero {
  color: var(--rmc-bright-ink) !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(139, 61, 39, 0) 0 88px, rgba(139, 61, 39, 0.10) 89px 91px, rgba(139, 61, 39, 0) 92px 132px, rgba(18, 61, 58, 0.09) 133px 135px, rgba(18, 61, 58, 0) 136px),
    linear-gradient(112deg, #f7f2e8 0%, #f7f2e8 52%, #e3eee4 100%) !important;
  border-bottom: 1px solid #c7d3c5 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero h1 {
  color: var(--rmc-bright-navy) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero h1 span:last-child {
  color: var(--rmc-bright-copper) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero :is(.rmc-eyebrow, .rmc-kicker) {
  color: #245f58 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero__lead {
  color: #3f514d !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero-fee {
  color: var(--rmc-bright-ink) !important;
  background: linear-gradient(100deg, #f0e6d7 0%, #fff8ec 100%) !important;
  border: 1px solid #d8c1aa !important;
  border-left: 5px solid var(--rmc-bright-copper) !important;
  box-shadow: 0 12px 28px rgba(23, 63, 79, 0.07) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero-fee :is(span, small, strong, b) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero-fee strong {
  color: var(--rmc-bright-copper) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero__mobile-photo,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-consult-box {
  border: 1px solid #b9c9c2 !important;
  box-shadow: 0 22px 54px rgba(23, 63, 79, 0.13) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero__mobile-photo img,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-consult-box img {
  filter: brightness(1.035) saturate(0.96) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-consult-box,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-consult-box__body {
  color: var(--rmc-bright-ink) !important;
  background: var(--rmc-bright-card) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-consult-box h2 {
  color: var(--rmc-bright-navy) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-consult-box :is(p, li) {
  color: #3f514d !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero__proof > span {
  color: var(--rmc-bright-ink) !important;
  background: rgba(227, 238, 228, 0.94) !important;
  border: 1px solid #afc2bc !important;
  box-shadow: 0 8px 18px rgba(23, 63, 79, 0.055) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero__proof > span :is(small, strong, b) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* Trust band and alternating section surfaces */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-trust-row {
  background: #dbe9e0 !important;
  border-top: 1px solid #b8cbc0 !important;
  border-bottom: 1px solid #b8cbc0 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-trust-row__item {
  color: var(--rmc-bright-ink) !important;
  background: var(--rmc-bright-ivory) !important;
  border-color: #c5d1c8 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-trust-row__item :is(strong, b) {
  color: var(--rmc-bright-navy) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(3) {
  background: linear-gradient(180deg, #f0e6d7 0%, #f7f2e8 100%) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(4) {
  background: linear-gradient(180deg, #e3eee4 0%, #edf4ee 100%) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(5) {
  background: linear-gradient(180deg, #f0e6d7 0%, #f7f2e8 100%) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(6) {
  background: #e6efec !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(7) {
  background: linear-gradient(180deg, #f7f2e8 0%, #f0e6d7 100%) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(8) {
  background: linear-gradient(180deg, #e3eee4 0%, #edf4ee 100%) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(9) {
  background: #f0e6d7 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(10) {
  background: linear-gradient(180deg, #e6efec 0%, #e3eee4 100%) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #rmc-main > section:nth-of-type(11) {
  background: linear-gradient(180deg, #f7f2e8 0%, #f0e6d7 100%) !important;
}

/* Consistent headings, cards and readable secondary text */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-section :is(h2, h3, h4) {
  color: var(--rmc-bright-navy) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-section :is(.rmc-kicker, .rmc-eyebrow, .rmc-label) {
  color: var(--rmc-bright-copper) !important;
  opacity: 1 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-section :is(.rmc-lead, .rmc-section__head > p, .rmc-note) {
  color: var(--rmc-bright-muted) !important;
  opacity: 1 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 :where(
  .rmc-card,
  .rmc-target-card,
  .rmc-step,
  .rmc-value-item,
  .rmc-field-card,
  .rmc-path,
  .rmc-knowledge-card,
  .rmc-faq details
) {
  color: var(--rmc-bright-ink) !important;
  background: var(--rmc-bright-card) !important;
  border-color: var(--rmc-bright-border) !important;
  box-shadow: 0 14px 34px rgba(23, 63, 79, 0.075) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 :where(
  .rmc-card,
  .rmc-target-card,
  .rmc-step,
  .rmc-value-item,
  .rmc-field-card,
  .rmc-path,
  .rmc-knowledge-card,
  .rmc-faq details
) :is(h2, h3, h4, strong, b, summary) {
  color: var(--rmc-bright-navy) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 :where(
  .rmc-card,
  .rmc-target-card,
  .rmc-step,
  .rmc-value-item,
  .rmc-field-card,
  .rmc-path,
  .rmc-knowledge-card,
  .rmc-faq details
) :is(p, li, small) {
  color: var(--rmc-bright-muted) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-target-card__body {
  background: var(--rmc-bright-card) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-fee-card--ours {
  color: var(--rmc-bright-ink) !important;
  background: #f3ddca !important;
  border-color: var(--rmc-bright-copper) !important;
  box-shadow: 0 18px 38px rgba(139, 61, 39, 0.13) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-fee-card--example {
  color: var(--rmc-bright-ink) !important;
  background: #e8efe9 !important;
  border-color: #afc2bc !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-fee-card :is(span, small, strong, b, em) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-fee-card--ours strong {
  color: var(--rmc-bright-copper-dark) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-process-intro {
  color: #fff8ec !important;
  background: linear-gradient(145deg, #164a45 0%, #225e57 100%) !important;
  border: 1px solid rgba(255, 248, 236, 0.25) !important;
  box-shadow: 0 22px 50px rgba(23, 63, 79, 0.15) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-process-intro :is(h2, h3, p, .rmc-kicker, span, small, strong) {
  color: #fff8ec !important;
  opacity: 1 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-credibility__group--location {
  color: #fff8ec !important;
  background: linear-gradient(145deg, #164a45 0%, #225e57 100%) !important;
  border: 1px solid rgba(255, 248, 236, 0.22) !important;
  box-shadow: 0 22px 50px rgba(23, 63, 79, 0.15) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-credibility__group--location :is(h2, h3, h4, p, span, small, strong) {
  color: #fff8ec !important;
  opacity: 1 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-location-card {
  color: #fff8ec !important;
  background: rgba(255, 248, 236, 0.10) !important;
  border-color: rgba(255, 248, 236, 0.30) !important;
  border-left-color: var(--rmc-bright-copper-soft) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-location-card :is(h4, p, span, small, strong) {
  color: #fff8ec !important;
  opacity: 1 !important;
}

/* Clear, confident button hierarchy */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 a.rmc-btn.rmc-btn--primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: var(--rmc-bright-copper) !important;
  border-color: var(--rmc-bright-copper) !important;
  box-shadow: 0 12px 24px rgba(139, 61, 39, 0.18) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 a.rmc-btn.rmc-btn--primary:hover,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 a.rmc-btn.rmc-btn--primary:focus-visible {
  color: #ffffff !important;
  background: var(--rmc-bright-copper-dark) !important;
  border-color: var(--rmc-bright-copper-dark) !important;
  filter: none !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 a.rmc-btn.rmc-btn--dark {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: var(--rmc-bright-green) !important;
  border-color: var(--rmc-bright-green) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 a.rmc-btn.rmc-btn--dark:hover,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 a.rmc-btn.rmc-btn--dark:focus-visible {
  color: #ffffff !important;
  background: #0d302e !important;
  border-color: #0d302e !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 :is(
  a.rmc-btn.rmc-btn--light,
  .rmc-hero a.rmc-btn.rmc-btn--outline
) {
  color: var(--rmc-bright-navy) !important;
  -webkit-text-fill-color: var(--rmc-bright-navy) !important;
  background: var(--rmc-bright-card) !important;
  border: 2px solid #6f8580 !important;
  box-shadow: 0 10px 22px rgba(23, 63, 79, 0.07) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 :is(
  a.rmc-btn.rmc-btn--light,
  .rmc-hero a.rmc-btn.rmc-btn--outline
):hover,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 :is(
  a.rmc-btn.rmc-btn--light,
  .rmc-hero a.rmc-btn.rmc-btn--outline
):focus-visible {
  color: var(--rmc-bright-green) !important;
  background: #e3eee4 !important;
  border-color: var(--rmc-bright-green) !important;
  filter: none !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 a.rmc-btn :is(span, small, strong, b, em) {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* Final consultation band */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-cta {
  color: #fff8ec !important;
  background: linear-gradient(120deg, #8b3d27 0%, #a45135 46%, #205b54 100%) !important;
  border-top: 4px solid var(--rmc-bright-copper-soft) !important;
  border-bottom: 1px solid rgba(255, 248, 236, 0.20) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-cta :is(h2, h3) {
  color: #fff8ec !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-cta p {
  color: #f0e6d7 !important;
  opacity: 1 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-cta a.rmc-btn--light {
  color: var(--rmc-bright-copper-dark) !important;
  background: #fff8ec !important;
  border-color: #fff8ec !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-cta a.rmc-btn--outline {
  color: #fff8ec !important;
  -webkit-text-fill-color: #fff8ec !important;
  background: rgba(18, 61, 58, 0.46) !important;
  border-color: rgba(255, 248, 236, 0.66) !important;
}

/* Footer: brighter deep teal with a warm operator card */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 > footer.rmc-footer {
  color: #d6e1da !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 176, 140, 0.16), rgba(216, 176, 140, 0) 34%),
    linear-gradient(145deg, #123d3a 0%, #1b4a46 54%, #173f4f 100%) !important;
  border-top: 5px solid var(--rmc-bright-copper-soft) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > div {
  color: #d6e1da !important;
  background: #1b4a46 !important;
  border-color: rgba(255, 248, 236, 0.20) !important;
  box-shadow: 0 16px 36px rgba(7, 36, 35, 0.16) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > .rmc-footer__brand {
  color: var(--rmc-bright-ink) !important;
  background: linear-gradient(145deg, #f0e6d7 0%, #e3eee4 100%) !important;
  border-color: #d8b08c !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand :is(p, address) {
  color: #435650 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand :is(strong, b) {
  color: var(--rmc-bright-navy) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand a:not(.rmc-footer__logo) {
  color: var(--rmc-bright-copper-dark) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > div:not(.rmc-footer__brand) h3 {
  color: #fff8ec !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > div:not(.rmc-footer__brand) a {
  color: #eaf1ec !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > div:not(.rmc-footer__brand) a:hover,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > div:not(.rmc-footer__brand) a:focus-visible {
  color: #ffd9a3 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__bottom {
  color: #d6e1da !important;
  border-top-color: rgba(255, 248, 236, 0.18) !important;
}

/* Keyboard and responsive finish */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 :is(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 6px var(--rmc-bright-navy) !important;
}
@media (max-width: 980px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-header {
    background: linear-gradient(180deg, #fff8ec 0%, #f5e9d7 100%) !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-mobile-menu > summary {
    color: var(--rmc-bright-navy) !important;
    background: #e3eee4 !important;
    border-color: #9fb7af !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-mobile-menu__panel {
    color: var(--rmc-bright-navy) !important;
    background: #fff8ec !important;
    border-color: #b9c9c2 !important;
    box-shadow: 0 18px 42px rgba(23, 63, 79, 0.15) !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-mobile-menu__panel a {
    color: var(--rmc-bright-navy) !important;
    background: transparent !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-mobile-menu__panel a:hover,
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-mobile-menu__panel a:focus-visible {
    color: var(--rmc-bright-green) !important;
    background: #e3eee4 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero {
    background: linear-gradient(155deg, #f7f2e8 0%, #f7f2e8 56%, #e3eee4 100%) !important;
  }
}
@media (max-width: 720px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero > .rmc-wrap {
    padding-top: 34px !important;
    padding-bottom: 42px !important;
    gap: 20px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero h1 {
    color: var(--rmc-bright-navy) !important;
    letter-spacing: -0.025em !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-hero__mobile-photo {
    border-radius: 16px !important;
    overflow: hidden !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-section {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 :where(
    .rmc-card,
    .rmc-target-card,
    .rmc-step,
    .rmc-value-item,
    .rmc-field-card,
    .rmc-path,
    .rmc-knowledge-card,
    .rmc-faq details
  ) {
    border-radius: 14px !important;
    box-shadow: 0 10px 24px rgba(23, 63, 79, 0.065) !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > div {
    padding: 18px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 *,
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 *::before,
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}



/* RMC full-page spacing rhythm refinement — 2026-07-21 */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-cta {
  padding-block: 64px !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer {
  padding-block: 0 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer > .rmc-wrap {
  padding-top: 72px !important;
  padding-bottom: 44px !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid {
  align-items: start !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > * {
  align-self: start !important;
}
@media (min-width: 1101px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-target-grid {
    gap: 22px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 #ramen-field-notes .rmc-credibility__group + .rmc-credibility__group {
    margin-top: 44px !important;
  }
}
@media (min-width: 621px) and (max-width: 1100px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-section {
    padding-block: 52px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-section__head {
    margin-bottom: 28px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-split {
    gap: 36px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-cta {
    padding-block: 52px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer > .rmc-wrap {
    padding-top: 52px !important;
    padding-bottom: 36px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr) !important;
    grid-template-areas:
      "logo operator"
      "description address" !important;
    gap: 16px 28px !important;
    padding: 26px !important;
    align-items: start !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand > .rmc-footer__logo {
    grid-area: logo !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand > p:not(.rmc-footer__operator):not(.rmc-footer__address) {
    grid-area: description !important;
    max-width: none !important;
    margin: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand > .rmc-footer__operator {
    grid-area: operator !important;
    max-width: none !important;
    margin: 0 !important;
    padding-top: 12px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand > .rmc-footer__address {
    grid-area: address !important;
    max-width: none !important;
    margin: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > div:last-child {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 26px !important;
    align-content: start !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid > div:last-child > h3 {
    grid-column: 1 / -1 !important;
  }
}
@media (max-width: 620px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-section {
    padding-block: 44px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-section__head {
    margin-bottom: 26px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-split {
    gap: 30px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-cta {
    padding-block: 48px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer > .rmc-wrap {
    padding-top: 44px !important;
    padding-bottom: 90px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand {
    padding: 20px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand > .rmc-footer__logo {
    margin: 0 0 14px !important;
    padding: 8px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand > p {
    margin: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand > .rmc-footer__operator {
    margin-top: 14px !important;
    padding-top: 12px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__brand > .rmc-footer__address {
    margin-top: 14px !important;
  }
}
	


/* RMC site-wide edge and generated-tail cleanup — 2026-07-21 */
html body.rmc-body {
  margin: 0 !important;
}
html body.rmc-body .post_content > .rmc-seo-topic-cluster,
html body:has(.rmc-site) .post_content > .rmc-seo-topic-cluster {
  display: none !important;
}
	


/* RMC mobile page-end whitespace cleanup — 2026-07-21 */
@media (max-width: 860px) {
  html body.rmc-body {
    padding-bottom: 0 !important;
  }
}
	


/* RMC homepage full-bleed edge correction — 2026-07-21 */
html body.rmc-body:has(.rmc-site.rmc-v2) {
  margin: 8px !important;
}
	

/* RMC responsive QA refinements — 2026-07-21 */
html body.rmc-body .rmc-site .rmc-cf7-consent > p > strong {
  display: block !important;
  margin-bottom: 8px !important;
  line-height: 1.55 !important;
}
html body.rmc-body .rmc-site .rmc-cf7-consent > p > small {
  display: block !important;
  max-width: 72ch;
  line-height: 1.8 !important;
}
html body.rmc-body .rmc-site .rmc-cf7-consent .wpcf7-form-control-wrap {
  margin-top: 12px !important;
}
html body.rmc-body .rmc-site .rmc-cf7-consent .wpcf7-list-item label {
  min-height: 44px;
  align-items: flex-start;
}
html body.rmc-body .rmc-site .rmc-cf7-submit input[type="submit"] {
  min-height: 52px !important;
}
html body.rmc-body .rmc-site .rmc-footer__bottom {
  font-size: 14px !important;
  line-height: 1.65 !important;
  overflow-wrap: anywhere;
}

@media (min-width: 621px) and (max-width: 920px) {
  html body.rmc-body .rmc-site.rmc-v2 .rmc-hero h1 {
    font-size: clamp(2rem, 5.1vw, 2.45rem) !important;
    line-height: 1.18 !important;
  }
  html body.rmc-body .rmc-site.rmc-v2 .rmc-hero h1 > span {
    display: inline !important;
  }
  html body.rmc-body .rmc-site.rmc-v2 .rmc-hero h1 > span:nth-child(2)::after {
    content: "";
    display: block;
  }
}

@media (min-width: 621px) and (max-width: 1100px) {
  html body.rmc-body .rmc-site .rmc-cf7-mini-choice .wpcf7-radio {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  html body.rmc-body .rmc-site .rmc-footer__grid > div:nth-child(2),
  html body.rmc-body .rmc-site .rmc-footer__grid > div:nth-child(3) {
    align-self: stretch !important;
  }
}

@media (max-width: 620px) {
  html body.rmc-body .rmc-site .rmc-mobile-menu__panel > a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 340px) {
  html body.rmc-body .rmc-site .rmc-header .rmc-logo,
  html body.rmc-body .rmc-site .rmc-header .rmc-logo img {
    width: min(230px, calc(100vw - 112px)) !important;
    max-width: min(230px, calc(100vw - 112px)) !important;
  }
}
	

/* RMC tablet footer row equalization — 2026-07-21 */
@media (min-width: 621px) and (max-width: 1100px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid.rmc-footer__grid > div:nth-child(2),
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2.rmc-v2 .rmc-footer__grid.rmc-footer__grid > div:nth-child(3) {
    align-self: stretch !important;
  }
}
	

/* RMC hero two-column boundary correction — 2026-07-21 */
@media (min-width: 901px) and (max-width: 920px) {
  html body.rmc-body .rmc-site.rmc-v2 .rmc-hero h1 {
    font-size: 2.45rem !important;
    line-height: 1.13 !important;
  }
  html body.rmc-body .rmc-site.rmc-v2 .rmc-hero h1 > span {
    display: block !important;
  }
  html body.rmc-body .rmc-site.rmc-v2 .rmc-hero h1 > span:nth-child(2)::after {
    display: none;
  }
}
	


/* RMC homepage section organization — 2026-07-21 */
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-section h2 {
  text-wrap: balance;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-section .rmc-eyebrow {
  color: #7a331f !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-section__head--split .rmc-head-copy {
  max-width: 590px;
  padding-left: 24px;
  border-left: 3px solid rgba(139, 61, 39, .42);
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-card,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-target-card,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-value-item,
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-faq details {
  background: #fff9ef !important;
  border-color: #d6cabb !important;
  box-shadow: 0 10px 26px rgba(23, 63, 79, .07) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-faq details p {
  max-width: 960px;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-hero__proof > span:first-child {
  display: none !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-hero__proof {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-step::before {
  background: #c99158 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-step::after {
  background: rgba(215, 179, 126, .78) !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-cta {
  background: linear-gradient(115deg, #99442f 0%, #8b513c 42%, #145a50 100%) !important;
  border-bottom: 3px solid #c68b58 !important;
}
html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 + .rmc-footer {
  border-top: 0 !important;
}
html body.rmc-body.rmc-body .rmc-footer__grid > div:not(.rmc-footer__brand) {
  background: rgba(255, 248, 236, .035) !important;
  border-color: rgba(216, 176, 140, .24) !important;
}
html body.rmc-body.rmc-body .rmc-mobile-bar a:first-child {
  background: #f7f2e8 !important;
  color: #173f4f !important;
}
@media (min-width: 901px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-process-layout {
    align-items: stretch !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-process-intro {
    position: relative !important;
    top: auto !important;
    align-self: stretch !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-process-intro .rmc-btn {
    align-self: flex-start;
  }
}
@media (max-width: 900px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 #seller-fee .rmc-split {
    gap: 24px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 #seller-fee .rmc-split > div {
    display: contents !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 #seller-fee .rmc-section__head {
    order: 1;
    margin-bottom: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 #seller-fee .rmc-photo {
    order: 2;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 #seller-fee .rmc-fee-panel {
    order: 3;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 #seller-fee .rmc-fee-note {
    order: 4;
    margin: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 #seller-fee .rmc-cta-actions {
    order: 5;
    margin: 0 !important;
  }
}
@media (max-width: 620px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-section__head--split .rmc-head-copy {
    max-width: none;
    padding: 16px 0 0;
    border-top: 1px solid rgba(139, 61, 39, .24);
    border-left: 0;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-grid--4 > .rmc-card {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    row-gap: 6px !important;
    align-items: start !important;
    padding: 20px !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-grid--4 > .rmc-card .rmc-card__num {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-grid--4 > .rmc-card h3 {
    grid-column: 2;
    margin: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-grid--4 > .rmc-card p {
    grid-column: 2;
    margin: 0 !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-value-item {
    padding: 16px !important;
    align-content: start;
  }
}


/* RMC_JAPANESE_WRAP_20260721_START */
.rmc-site,
.rmc-post-longform,
body.single-post .post_content {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}

.rmc-site :where(h1, h2, h3, h4, h5, h6, .rmc-title, .rmc-home-title, .rmc-btn, .rmc-nav__cta, .rmc-footer__contact-btn, summary),
.rmc-post-longform :where(h1, h2, h3, h4, h5, h6, .rmc-btn, summary),
body.single-post .post_content :where(h1, h2, h3, h4, h5, h6, .wp-block-button__link, summary) {
  text-wrap: balance;
}

.rmc-site :where(p, li, dt, dd, small, figcaption, .rmc-lead, .rmc-note-panel),
.rmc-post-longform :where(p, li, dt, dd, small, figcaption),
body.single-post .post_content :where(p, li, dt, dd, small, figcaption) {
  text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
  .rmc-site :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, small, figcaption, a, button, summary),
  .rmc-post-longform :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, small, figcaption, a, button, summary),
  body.single-post .post_content :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, small, figcaption, a, button, summary) {
    word-break: auto-phrase;
  }
}

.rmc-site :where(a[href^="http"], code),
.rmc-post-longform :where(a[href^="http"], code),
body.single-post .post_content :where(a[href^="http"], code) {
  overflow-wrap: anywhere;
}

.rmc-site .rmc-keep,
.rmc-site .rmc-fee-note a {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .rmc-site .rmc-knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .rmc-site .rmc-fee-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .rmc-site .rmc-knowledge-grid {
    grid-template-columns: 1fr;
  }

  .rmc-site .rmc-topbar__badges span,
  .rmc-site :where(.rmc-btn, .rmc-footer__contact-btn, .rmc-mobile-bar a) {
    white-space: normal !important;
    line-height: 1.45;
    text-wrap: balance;
  }
}

@media (max-width: 480px) {
  .rmc-site .rmc-field-grid {
    grid-template-columns: 1fr;
  }

  .rmc-site .rmc-field-card {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .rmc-site .rmc-cta h2 {
    font-size: clamp(1.25rem, 6.4vw, 1.55rem) !important;
  }
}
/* RMC_JAPANESE_WRAP_20260721_END */


/* RMC_TYPOGRAPHY_BALANCE_20260721_START */
body .rmc-site {
  --rmc-ink: #202923;
  --rmc-muted: #4f5a52;
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: .012em;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

body .rmc-site h1 {
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.014em;
}

body .rmc-site h2 {
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -.008em;
}

body .rmc-site h3,
body .rmc-site h4 {
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0;
}

body .rmc-site p,
body .rmc-site li,
body .rmc-site dd {
  font-weight: 600;
  line-height: 1.82;
}

.rmc-site .rmc-hero h1 {
  font-size: clamp(2.55rem, 3.9vw, 3.65rem);
  line-height: 1.16;
  letter-spacing: -.014em;
}

.rmc-site .rmc-hero__lead,
.rmc-site .rmc-section__head > p:not(.rmc-eyebrow):not(.rmc-kicker),
.rmc-site .rmc-section__head--split .rmc-head-copy > p,
.rmc-site .rmc-process-intro > p,
.rmc-site .rmc-cta p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.85;
}

.rmc-site .rmc-eyebrow,
.rmc-site .rmc-kicker {
  font-size: .8rem;
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: .015em;
}

.rmc-site .rmc-card h3,
.rmc-site .rmc-target-card h3,
.rmc-site .rmc-step h3,
.rmc-site .rmc-value-item h3,
.rmc-site .rmc-knowledge-card h3,
.rmc-site .rmc-path h3 {
  font-weight: 800;
  line-height: 1.5;
}

.rmc-site .rmc-card p,
.rmc-site .rmc-consult-box p {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.78;
}

.rmc-site .rmc-target-card p {
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.76;
}

.rmc-site .rmc-step p,
.rmc-site .rmc-value-item p,
.rmc-site .rmc-knowledge-card p {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.76;
}

.rmc-site .rmc-field-card h4 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.rmc-site .rmc-field-card p,
.rmc-site .rmc-location-card p {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.74;
}

.rmc-site .rmc-credibility__group-head p {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.76;
}

.rmc-site .rmc-photo figcaption,
.rmc-site .rmc-value-mosaic figcaption {
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.68;
}

.rmc-site .rmc-hero-fee__label {
  font-size: .82rem;
  font-weight: 850;
}

.rmc-site .rmc-hero-fee small {
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.65;
}

.rmc-site .rmc-hero__proof span {
  font-size: .94rem;
  font-weight: 850;
  line-height: 1.5;
}

.rmc-site .rmc-hero__proof small {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.65;
}

.rmc-site .rmc-trust-row__item span {
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.65;
}

.rmc-site .rmc-fee-panel span {
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.5;
}

.rmc-site .rmc-fee-panel small {
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.7;
}

.rmc-site .rmc-fee-card strong em {
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.45;
}

.rmc-site .rmc-fee-note {
  font-size: .81rem;
  font-weight: 600;
  line-height: 1.8;
}

.rmc-site .rmc-btn {
  font-size: .98rem;
  font-weight: 850;
  line-height: 1.35;
}

.rmc-site .rmc-nav__links a {
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.35;
}

.rmc-site .rmc-nav__cta {
  font-weight: 850;
}

.rmc-site .rmc-nav__cta small {
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
}

.rmc-site .rmc-nav__cta strong {
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.3;
}

.rmc-site .rmc-topbar {
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.45;
}

.rmc-site .rmc-faq summary {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.65;
}

.rmc-site .rmc-faq p {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.82;
}

.rmc-site .rmc-footer h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.rmc-site .rmc-footer a {
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.65;
}

.rmc-site .rmc-footer__brand p {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.78;
}

.rmc-site .rmc-footer__bottom {
  font-size: .8rem;
  line-height: 1.7;
}

.rmc-site .rmc-mobile-bar a {
  font-size: .86rem;
  font-weight: 850;
  line-height: 1.3;
}

.rmc-site .rmc-mobile-bar a small {
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
}

body .rmc-site label {
  font-weight: 700;
  line-height: 1.6;
}

body .rmc-site input,
body .rmc-site select,
body .rmc-site textarea {
  font-size: 1rem;
  line-height: 1.5;
}

body.single-post .rmc-post-longform {
  font-size: 1rem;
  line-height: 1.9;
}

body.single-post .rmc-post-longform p,
body.single-post .rmc-post-longform li {
  font-weight: 500;
  line-height: 1.9;
}

@media (min-width: 701px) and (max-width: 980px) {
  .rmc-site .rmc-field-grid,
  .rmc-site .rmc-knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rmc-site .rmc-field-card {
    min-height: 0;
  }

  .rmc-site .rmc-section {
    padding-block: 66px;
  }
}

@media (max-width: 700px) {
  .rmc-site .rmc-hero h1 {
    font-size: clamp(1.95rem, 8.2vw, 2.15rem);
    line-height: 1.19;
  }

  .rmc-site .rmc-hero__lead,
  .rmc-site .rmc-section__head > p:not(.rmc-eyebrow):not(.rmc-kicker),
  .rmc-site .rmc-section__head--split .rmc-head-copy > p,
  .rmc-site .rmc-process-intro > p,
  .rmc-site .rmc-cta p {
    font-size: 1rem;
    line-height: 1.82;
  }

  .rmc-site .rmc-eyebrow,
  .rmc-site .rmc-kicker {
    font-size: .78rem;
  }

  .rmc-site .rmc-field-grid {
    grid-template-columns: 1fr;
  }

  .rmc-site .rmc-field-card {
    min-height: 0;
  }

  .rmc-site .rmc-card p,
  .rmc-site .rmc-consult-box p,
  .rmc-site .rmc-target-card p,
  .rmc-site .rmc-step p,
  .rmc-site .rmc-value-item p,
  .rmc-site .rmc-knowledge-card p {
    font-size: .94rem;
  }

  .rmc-site .rmc-field-card p,
  .rmc-site .rmc-location-card p {
    font-size: .91rem;
  }

  .rmc-site .rmc-topbar .rmc-wrap {
    padding-block: 5px;
  }
}
/* RMC_TYPOGRAPHY_BALANCE_20260721_END */


/* RMC_TYPOGRAPHY_MOBILE_CARD_FIX_20260721_START */
@media (max-width: 480px) {
  .rmc-site .rmc-value-list {
    grid-template-columns: 1fr !important;
  }

  .rmc-site .rmc-value-item {
    padding: 19px;
  }

  .rmc-site .rmc-mobile-bar a small {
    font-size: .7rem;
  }
}
/* RMC_TYPOGRAPHY_MOBILE_CARD_FIX_20260721_END */


/* RMC_VALUE_LIST_320_READABILITY_20260721_START */
@media (max-width: 480px) {
  html body.rmc-body.rmc-body div.post_content div.rmc-site.rmc-v2 .rmc-value-list {
    grid-template-columns: 1fr !important;
  }
}
/* RMC_VALUE_LIST_320_READABILITY_20260721_END */


/* RMC_FOOTER_CTA_CONTRAST_FIX_20260823_START */
.rmc-footer__cta-actions .rmc-btn.rmc-btn--light,
.rmc-footer__cta-actions .rmc-btn.rmc-btn--light:hover,
.rmc-footer__cta-actions .rmc-btn.rmc-btn--light:focus-visible {
  color: #5f1614 !important;
  -webkit-text-fill-color: #5f1614 !important;
  background: #fff !important;
}
/* RMC_FOOTER_CTA_CONTRAST_FIX_20260823_END */


/* RMC_FOOTER_CTA_CONTRAST_FIX_V2_20260823_START */
html body:not(.wp-admin) #body_wrap div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site footer.rmc-footer.rmc-footer--polished .rmc-footer__cta-actions a.rmc-btn.rmc-btn--light:nth-child(2),
html body:not(.wp-admin) #body_wrap div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site footer.rmc-footer.rmc-footer--polished .rmc-footer__cta-actions a.rmc-btn.rmc-btn--light:nth-child(2):hover,
html body:not(.wp-admin) #body_wrap div.post_content.post_content div.rmc-site.rmc-site.rmc-site.rmc-site footer.rmc-footer.rmc-footer--polished .rmc-footer__cta-actions a.rmc-btn.rmc-btn--light:nth-child(2):focus-visible {
  color: #5f1614 !important;
  -webkit-text-fill-color: #5f1614 !important;
  background: #fff !important;
  border-color: #8f211d !important;
}
/* RMC_FOOTER_CTA_CONTRAST_FIX_V2_20260823_END */
