/* Repair Check banner for market ZIP pages (2026-11-17), generated from the blog's RepairCheckBannerTest.module.css.
   :where() keeps the reset at element weight, so the banner's own class rules always win. */
:where(.rcb-split) *, :where(.rcb-split) *::before, :where(.rcb-split) *::after { box-sizing: border-box; border: 0 solid; margin: 0; padding: 0; }
:where(.rcb-split) img, :where(.rcb-split) svg { display: block; max-width: 100%; height: auto; }
:where(.rcb-split) a { color: inherit; text-decoration: inherit; }
:where(.rcb-split) p { color: inherit; }
:where(.rcb-split) b { font-weight: bolder; }
.rcb-split { line-height: 1.5; width: min(896px, calc(100vw - 32px)); margin: 0 0 0 calc(50% - min(448px, calc(50vw - 16px))); }
/* Repair Check banner split test on homeowner market posts (2026-11-16). Variants A, B, D, E from the Claude Design
   canvas (https://claude.rcb-ai/artifact/JdUDx9y8ngN1ZVMwcnApXj). Phone layout by default; the wide layout switches on
   when the banner's own container is at least 860px (the blog column is 896px on laptops). */

.rcb-wrap { container-type: inline-size; margin: 40px 0; }
.rcb-box {
  --ink: #121f1c; --muted: #43534e; --dim: #5a6a65; --teal: #0d7266; --teal2: #0f9384; --ground: #f6f8f7;
  position: relative; box-sizing: border-box; border-radius: 20px; overflow: hidden;
  font-family: 'DM Sans', system-ui, sans-serif; color: var(--ink); text-align: left;
}
.rcb-box * { box-sizing: border-box; }
.rcb-box p { margin: 0; }
.rcb-light { background: var(--ground); border: 1px solid rgba(18,31,28,0.08); }
.rcb-white { background: #ffffff; border: 1px solid #e3e8e6; box-shadow: 0 1px 2px rgba(18,31,28,0.04); }
.rcb-dark { background: var(--ink); color: #ffffff; }

.rcb-lockup { display: flex; align-items: center; gap: 10px; }
.rcb-lockup img { height: 14px; width: auto; display: block; }
.rcb-lockup i { width: 1px; height: 13px; background: rgba(18,31,28,0.2); }
.rcb-dark .rcb-lockup i { background: rgba(255,255,255,0.28); }
.rcb-lockup span { font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em; }

.rcb-h { font-size: 28px; line-height: 1.05; font-weight: 650; letter-spacing: -0.04em; text-wrap: balance; }
.rcb-serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--teal); }
.rcb-hSerif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.rcb-body { font-size: 15px; line-height: 23px; color: var(--muted); text-wrap: pretty; }
.rcb-dark .rcb-body { color: rgba(255,255,255,0.74); }
.rcb-mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

.rcb-ctaRow { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.rcb-cta {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 22px;
  border-radius: 13px; background: var(--teal); color: #ffffff !important; font-size: 15.5px; font-weight: 600;
  letter-spacing: -0.01em; text-decoration: none !important; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 22px rgba(13,114,102,0.22);
  transition: transform 160ms ease-out, background 160ms ease-out;
}
.rcb-cta:hover { background: #0b6358; transform: translateY(-1px); }
.rcb-cta svg { width: 17px; height: 17px; }
.rcb-dark .rcb-cta { background: var(--teal2); box-shadow: none; }
.rcb-dark .rcb-cta:hover { background: #0d7f72; }
.rcb-note { font-size: 13px; color: var(--dim); text-align: center; }
.rcb-dark .rcb-note { color: rgba(255,255,255,0.58); }

/* ---------- A · product shot ---------- */
.rcb-aText { padding: 22px 20px 0; display: flex; flex-direction: column; gap: 14px; }
.rcb-aVis { position: relative; height: 330px; margin: 18px 20px 0; }
.rcb-aPhoto { position: absolute; left: 0; top: 0; width: 100%; height: 184px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(18,31,28,0.06); }
.rcb-aList { position: absolute; right: -6px; top: 142px; width: 222px; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 40px -18px rgba(18,31,28,0.6); }
.rcb-aList img { display: block; width: 100%; height: auto; }
.rcb-aCta { padding: 24px 20px 22px; }

/* ---------- B · inspector's markup ---------- */
.rcb-bPane { position: relative; height: 240px; overflow: hidden; }
.rcb-bText { padding: 22px 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.rcb-dot { position: absolute; width: 11px; height: 11px; border-radius: 99px; border: 2px solid #ffffff; background: rgba(18,31,28,0.35); box-shadow: 0 0 0 3px rgba(18,31,28,0.25); }
.rcb-lineV { position: absolute; width: 2px; background: #ffffff; }
.rcb-lineH { position: absolute; height: 2px; background: #ffffff; }
.rcb-tag { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 6px 9px 7px; border-radius: 8px; background: rgba(18,31,28,0.92); color: #ffffff; white-space: nowrap; }
.rcb-tag b { font-weight: 600; font-size: 10.5px; color: rgba(255,255,255,0.66); }
.rcb-tag span { font-size: 12px; font-weight: 500; }
.rcb-bad { color: #f6a394; }
.rcb-ok { color: #6fe3d3; }
.rcb-ctaWide, .rcb-annWide { display: none; }
.rcb-annNarrow, .rcb-annWide { position: absolute; inset: 0; pointer-events: none; }
.rcb-ePic { object-fit: cover; object-position: 62% 20%; }

/* ---------- D · the pro handoff ---------- */
.rcb-dText { padding: 22px 18px 0; display: flex; flex-direction: column; gap: 14px; }
.rcb-dVis { padding: 14px 18px 0; display: flex; flex-direction: column; }
.rcb-dRow { display: block; width: 100%; height: auto; border-radius: 11px; box-shadow: 0 18px 36px -22px rgba(18,31,28,0.55); }
.rcb-dLink { display: flex; align-items: center; gap: 9px; padding: 8px 0 8px 24px; }
.rcb-dLink i { width: 1px; height: 20px; background: #c9d3d0; }
.rcb-dLink span { font-size: 12px; font-weight: 500; color: var(--dim); }
.rcb-pros { border: 1px solid #e3e8e6; border-radius: 13px; background: #ffffff; }
.rcb-prosHead { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 14px; border-bottom: 1px solid #eef2f1; font-size: 13.5px; font-weight: 600; }
.rcb-prosHead span { font-size: 11.5px; font-weight: 500; color: #8a9893; }
.rcb-pro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #f2f5f4; }
.rcb-pro:last-child { border-bottom: 0; }
.rcb-pro b { font-size: 14px; font-weight: 600; }
.rcb-pro small { display: none; font-size: 12.5px; color: #6b7a75; }
.rcb-proIcon { display: none; }
.rcb-rate { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.rcb-rate em { font-family: 'JetBrains Mono', ui-monospace, monospace; font-style: normal; font-size: 11px; font-weight: 400; color: #6b7a75; }
.rcb-dCta { padding: 16px 18px 20px; }

/* ---------- E · listing vs Repair Check ---------- */
.rcb-eText { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 14px; }
.rcb-ePics { padding: 14px 20px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rcb-eFig { display: flex; flex-direction: column; gap: 6px; }
.rcb-eImg { position: relative; height: 150px; border-radius: 10px; overflow: hidden; }
.rcb-eCap { font-size: 11.5px; font-weight: 600; color: #6b7a75; }
.rcb-eCapOn { color: var(--teal); }
.rcb-boxR, .rcb-boxG { position: absolute; border: 2px solid #e4573f; border-radius: 6px; }
.rcb-boxG { border-color: #19a594; }
.rcb-boxR em, .rcb-boxG em { position: absolute; left: 3px; top: 3px; background: #d8402f; color: #ffffff; font-style: normal; font-size: 9px; font-weight: 700; line-height: 12px; padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
.rcb-boxG em { background: var(--teal2); }
.rcb-eBody { padding: 14px 20px 0; }
.rcb-eCta { padding: 16px 20px 20px; }

/* =================== wide layout (blog column on laptops) =================== */
@container (min-width: 860px) {
  .rcb-lockup img { height: 15px; }
  .rcb-lockup span { font-size: 13px; }
  .rcb-h { font-size: 34px; line-height: 1.04; }
  .rcb-body { font-size: 15.5px; line-height: 25px; }
  .rcb-ctaRow { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rcb-cta { height: 48px; font-size: 15px; }
  .rcb-note { text-align: left; font-size: 13.5px; }

  /* A */
  .rcb-a { min-height: 352px; }
  .rcb-aText { position: absolute; left: 40px; top: 38px; width: 356px; padding: 0; gap: 16px; }
  .rcb-aCta { padding: 0; margin-top: 4px; }
  .rcb-aVis { position: static; height: auto; margin: 0; }
  .rcb-aPhoto { left: auto; right: 32px; top: 34px; width: 396px; height: 246px; box-shadow: 0 0 0 1px rgba(18,31,28,0.06), 0 30px 60px -32px rgba(18,31,28,0.5); border-radius: 14px; }
  .rcb-aList { right: 230px; top: 128px; width: 236px; border-radius: 14px; }

  /* B */
  .rcb-b { display: grid; grid-template-columns: 352px minmax(0, 1fr); height: 372px; }
  .rcb-bPane { order: 2; height: auto; }
  .rcb-bText { order: 1; padding: 34px 34px 32px 36px; justify-content: center; gap: 16px; }
  .rcb-hSerif { font-size: 42px; }
  .rcb-b .rcb-ctaRow { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rcb-tag { padding: 8px 11px 9px; gap: 3px; border-radius: 9px; }
  .rcb-tag b { font-size: 10.5px; }
  .rcb-tag span { font-size: 13.5px; }
  .rcb-dot { width: 12px; height: 12px; }
  .rcb-ctaWide, .rcb-annWide { display: block; }
  .rcb-ctaNarrow, .rcb-annNarrow { display: none; }
  .rcb-ePic { object-position: center; }

  /* D */
  .rcb-d { display: grid; grid-template-columns: minmax(0, 1fr) 404px; grid-template-rows: 1fr auto auto 1fr; column-gap: 48px; padding: 36px 36px 36px 40px; }
  .rcb-dText { grid-column: 1; grid-row: 2; padding: 0; gap: 16px; }
  .rcb-dCta { grid-column: 1; grid-row: 3; padding: 0; margin-top: 20px; }
  .rcb-dVis { grid-column: 2; grid-row: 1 / 5; padding: 0; align-self: center; }
  .rcb-dRow { border-radius: 12px; }
  .rcb-dLink { padding: 10px 0 10px 28px; }
  .rcb-dLink i { height: 26px; }
  .rcb-dLink span { font-size: 11px; }
  .rcb-pros { border-radius: 14px; box-shadow: 0 18px 36px -26px rgba(18,31,28,0.35); }
  .rcb-prosHead { padding: 12px 16px; }
  .rcb-pro { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; padding: 11px 16px; }
  .rcb-pro b { display: block; font-size: 14.5px; }
  .rcb-pro small { display: block; }
  .rcb-proIcon { display: flex; width: 34px; height: 34px; border-radius: 10px; background: #e6f2ef; color: var(--teal); align-items: center; justify-content: center; }
  .rcb-proIcon svg { width: 17px; height: 17px; }
  .rcb-rate { flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; }
  .rcb-rate em { font-size: 11.5px; }

  /* E */
  .rcb-e { display: grid; grid-template-columns: 486px minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 40px; padding: 28px 32px 28px 28px; }
  .rcb-ePics { grid-column: 1; grid-row: 1 / 6; align-self: center; padding: 0; gap: 14px; }
  .rcb-eImg { height: 180px; border-radius: 12px; }
  .rcb-eCap { font-size: 12.5px; }
  .rcb-eText { grid-column: 2; grid-row: 2; padding: 0; gap: 15px; }
  .rcb-eBody { grid-column: 2; grid-row: 3; padding: 0; margin-top: 15px; }
  .rcb-eCta { grid-column: 2; grid-row: 4; padding: 0; margin-top: 16px; }
  .rcb-e .rcb-h { font-size: 29px; line-height: 1.06; }
  .rcb-e .rcb-ctaRow { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rcb-boxR em, .rcb-boxG em { font-size: 10px; line-height: 14px; padding: 1px 6px; border-radius: 5px; left: 4px; top: 4px; }
}

/* Per-visitor split (2026-11-17, RepairCheckBannerSplit): all four arms are in the HTML, hidden; the inline script
   sets data-rcb on .rcb-split before the arms are parsed, and only that arm shows. No pick, no banner. */
.rcb-split > .rcb-arm { display: none; }
.rcb-split[data-rcb="A"] > .rcb-arm[data-rcb-arm="A"],
.rcb-split[data-rcb="B"] > .rcb-arm[data-rcb-arm="B"],
.rcb-split[data-rcb="D"] > .rcb-arm[data-rcb-arm="D"],
.rcb-split[data-rcb="E"] > .rcb-arm[data-rcb-arm="E"] { display: block; }
