/* =====================================================================
   Bright: light, search-first look for the Brands sites.
   Loads after rr.css and theme-fixes.css. Every page answers one question:
   "Can I find who or what I'm looking for today?"
   White header with the full-colour logo and a search box, light heroes,
   businesses straight after the title. The footer stays dark.
   ===================================================================== */

:root {
	--rb-wash: color-mix(in srgb, var(--rr-navy) 5%, #fff);
	--rb-wash-2: color-mix(in srgb, var(--rr-red) 7%, #fff);
	--rb-line: color-mix(in srgb, var(--rr-navy) 14%, #fff);
	--rb-ink: var(--rr-navy);
	--rb-body: #2b3442;
	--rb-muted: #566173;
}

/* ---------- Header: white bar, ink links, colour logo ---------- */
body.rr-site .x-masthead .x-bar,
body.rr-site .x-masthead .cc-hdr,
body.rr-site .x-masthead .cc-hdr.is-solid { background: #fff !important; border-bottom: 1px solid var(--rb-line) !important; box-shadow: 0 1px 0 rgb(20 40 75 / .03), 0 6px 18px -14px rgb(20 40 75 / .25) !important; backdrop-filter: none !important; }
body.rr-site .x-masthead .cc-nav > li > .x-anchor .x-anchor-text-primary,
body.rr-site .x-masthead .x-menu-first-level > li > .x-anchor .x-anchor-text-primary { color: var(--rb-ink) !important; font-weight: 600; }
body.rr-site .x-masthead .cc-nav > li > .x-anchor:hover .x-anchor-text-primary,
body.rr-site .x-masthead .cc-nav > li.current-menu-item > .x-anchor .x-anchor-text-primary { color: var(--rr-red) !important; }
body.rr-site .x-masthead .x-anchor-sub-indicator { color: var(--rb-muted) !important; }
body.rr-site .x-masthead .cc-hdr-phone a,
body.rr-site .x-masthead .cc-hdr-call a { color: var(--rb-ink) !important; border-color: var(--rb-line) !important; }
body.rr-site .x-masthead .cc-oc .x-toggle-burger,
body.rr-site .x-masthead .cc-oc .x-toggle-burger-bun-t,
body.rr-site .x-masthead .cc-oc .x-toggle-burger-bun-b { background-color: var(--rb-ink) !important; }

/* Logo: the Crew header asks for the white file; show the colour one there, white stays in the footer. */
.x-masthead .rr-lockup__img--white { display: none !important; }
.x-masthead .rr-lockup__img--color { display: block !important; }
.rr-lockup__img--color { display: none; }

/* Saved link in the menu. */
body.rr-site .x-masthead .rr-menu-saved > a { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 .9em; color: var(--rb-ink) !important; font: 600 .875rem/1 var(--rr-font); }
body.rr-site .x-masthead .rr-menu-saved > a:hover { color: var(--rr-red) !important; }
.rr-savedn { display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; padding: 0 .3em; border-radius: 1em; background: var(--rr-red); color: #fff; font-size: .72rem; font-weight: 700; }

/* Header search (every page but home). */
.rr-menu-search { display: flex; align-items: center; margin-right: .5rem; }
.rr-hsearch { position: relative; display: flex; align-items: center; width: clamp(12rem, 18vw, 17rem); margin: 0; }
.rr-hsearch input[type="search"] { width: 100%; min-height: 42px; margin: 0; padding: 0 44px 0 16px; border: 1.5px solid var(--rb-line); border-radius: 999px; background: var(--rb-wash); color: var(--rb-ink); font: 500 .9rem/1 var(--rr-font); box-shadow: none; -webkit-appearance: none; appearance: none; }
.rr-hsearch input[type="search"]::placeholder { color: var(--rb-muted); opacity: 1; }
.rr-hsearch input[type="search"]:focus { outline: none; border-color: var(--rr-red); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rr-red) 22%, transparent); }
.rr-hsearch button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--rr-red); color: #fff; cursor: pointer; }
.rr-hsearch button:hover { background: var(--rr-red-d, var(--rr-red)); }
.rr-hsearch button:focus-visible { outline: 2px solid var(--rb-ink); outline-offset: 2px; }
.rr-hsearch .rr-i { width: 17px; height: 17px; }
/* In the phone menu (dark panel) the search spans the width. */
.cc-oc .rr-menu-search, .cc-mnav .rr-menu-search { margin: 0 0 1rem; }
.cc-oc .rr-hsearch, .cc-mnav .rr-hsearch { width: 100%; }
.cc-oc .rr-hsearch input[type="search"], .cc-mnav .rr-hsearch input[type="search"] { background: #fff; border-color: #fff; min-height: 48px; }

/* ---------- Home hero: light, centred, the search is the hero ---------- */
body.rr-site .cr-hero { margin-top: 0 !important; min-height: 0 !important; display: block !important; color: var(--rb-ink) !important; background: radial-gradient(900px 340px at 50% -80px, var(--rb-wash-2) 0%, rgb(255 255 255 / 0) 70%), linear-gradient(180deg, var(--rb-wash) 0%, #fff 100%) !important; }
body.rr-site .cr-hero::before, body.rr-site .cr-hero::after { display: none !important; }
body.rr-site .cr-hero .cr-hero__photo, body.rr-site .cr-hero .cr-rating { display: none !important; }
body.rr-site .cr-hero .cr-hero__grid { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; text-align: center; gap: 1.25rem !important; padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem) !important; }
body.rr-site .cr-hero .cr-hero__copy { color: var(--rb-ink) !important; max-width: 52rem; }
body.rr-site .cr-hero .cr-live, body.rr-site .cr-hero .cr-hero__ctas { display: none !important; }
body.rr-site .cr-hero .cr-hero__title { color: var(--rb-ink) !important; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem) !important; line-height: 1.1 !important; text-wrap: balance; margin: 0 0 .45em; }
body.rr-site .cr-hero .cr-hero__title em { color: var(--rr-red) !important; }
body.rr-site .cr-hero .cr-hero__title em::after { background: color-mix(in srgb, var(--rr-red) 35%, transparent) !important; }
body.rr-site .cr-hero .cr-hero__lead { color: var(--rb-body) !important; margin-inline: auto; max-width: 40rem; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
body.rr-site .cr-hero .cr-quote { width: min(100%, 60rem); margin: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; text-align: left; }
body.rr-site .cr-hero .cr-quote > .x-text > h2, body.rr-site .cr-hero .cr-quote .cr-quote__sub { display: none !important; }
body.rr-site .cr-quote .rr-embed--search, body.rr-site .cr-quote .rr-search { width: 100%; max-width: 100%; box-sizing: border-box; margin: 0; }
body.rr-site .cr-hero .rr-search { background: #fff; border: 1.5px solid var(--rb-line); border-radius: 18px; padding: 8px; box-shadow: 0 24px 48px -28px rgb(20 40 75 / .35), 0 2px 6px rgb(20 40 75 / .06); }
body.rr-site .cr-hero .rr-search__field { border-color: transparent !important; background: var(--rb-wash); }

/* Quick categories under the home search. */
.rr-quickchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; }
.rr-quickchip { display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--rb-line); border-radius: 999px; background: #fff; color: var(--rb-ink) !important; font: 600 .9rem/1 var(--rr-font); text-decoration: none !important; transition: border-color .15s, color .15s, transform .15s; }
.rr-quickchip:hover { border-color: var(--rr-red); color: var(--rr-red) !important; transform: translateY(-1px); }
.rr-quickchip:focus-visible { outline: 2px solid var(--rr-red); outline-offset: 2px; }
.rr-quickchip--open { background: var(--rr-green-bg, #e6f4ec); border-color: transparent; color: var(--rr-green, #1f7a4d) !important; }
.rr-quickchip .rr-i { width: 16px; height: 16px; }
@media (max-width: 640px) {
	.rr-quickchips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
	.rr-quickchips::-webkit-scrollbar { display: none; }
	.rr-quickchip { flex: none; }
}

/* The navy trust strip under the home hero becomes a light band. */
body.rr-site .cr-trust { background: var(--rb-wash) !important; color: var(--rb-ink) !important; border-block: 1px solid var(--rb-line); }
body.rr-site .cr-trust * { color: inherit; }

/* ---------- Category, town and other inner pages: compact light title ---------- */
.hrp-hero--compact { min-height: 0 !important; display: block !important; color: var(--rb-ink) !important; background: linear-gradient(180deg, var(--rb-wash) 0%, #fff 100%) !important; border-bottom: 1px solid var(--rb-line); }
.hrp-hero--compact::before, .hrp-hero--compact::after { display: none !important; }
.hrp-hero--compact .hrp-hero__grid { grid-template-columns: minmax(0, 1fr) !important; padding-block: clamp(1.25rem, 3vw, 2rem) clamp(1.1rem, 2.5vw, 1.6rem) !important; gap: 0 !important; }
.hrp-page .hrp-hero--compact .hrp-hero__title, .hrp-hero--compact .hrp-hero__title { color: var(--rb-ink) !important; font-size: clamp(1.6rem, 1.15rem + 2vw, 2.4rem) !important; margin: 0 0 .3em !important; }
.hrp-hero--compact .hrp-hero__title em { color: var(--rr-red) !important; }
.hrp-hero--compact .hrp-hero__title em::after { display: none; }
.hrp-hero--compact .hrp-hero__lead { color: var(--rb-body) !important; font-size: 1rem; max-width: 60ch; margin: 0 0 .6rem; }
.hrp-hero--compact .hrp-hero__meta { color: var(--rb-muted) !important; }
.hrp-hero--compact .hrp-hero__meta a { color: var(--rb-ink) !important; }

/* Breadcrumbs on light backgrounds. */
.hrp-hero--compact .rr-crumbs, .hrp-hero--compact .rr-crumbs span, .rr-hero .rr-crumbs li, .rr-profile-head .rr-crumbs li { color: var(--rb-muted) !important; }
.hrp-hero--compact .rr-crumbs a, .rr-hero .rr-crumbs a, .rr-profile-head .rr-crumbs a { color: var(--rb-ink) !important; text-decoration: underline; text-decoration-color: var(--rb-line); text-underline-offset: 3px; }
.hrp-hero--compact .rr-crumbs span[aria-current], .rr-hero .rr-crumbs span[aria-current], .rr-profile-head .rr-crumbs span[aria-current] { color: var(--rb-body) !important; }
.rr-crumbs li + li::before { color: var(--rb-muted) !important; }
.hrp-hero--compact .rr-crumbs { margin-bottom: .6rem; }

/* Older navy heroes (explore, pricing, all categories, guides) go light too. */
body.rr-site .rr-hero, body.rr-site .rr-hero--home { background: linear-gradient(180deg, var(--rb-wash) 0%, #fff 100%) !important; color: var(--rb-body) !important; border-bottom: 1px solid var(--rb-line); }
body.rr-site .rr-hero .rr-h1, body.rr-site .rr-hero .rr-display, body.rr-site .rr-hero .rr-h3, body.rr-site .rr-hero h1, body.rr-site .rr-hero h2 { color: var(--rb-ink) !important; }
body.rr-site .rr-hero .rr-display em, body.rr-site .rr-hero .rr-h1 em { color: var(--rr-red) !important; }
body.rr-site .rr-hero__sub, body.rr-site .rr-hero p { color: var(--rb-body) !important; }
body.rr-site .rr-hero .rr-eyebrow--light { color: var(--rr-red); }
body.rr-site .rr-hero .rr-search--md .rr-search__field { border-color: var(--rb-line) !important; }
body.rr-site .rr-hero__match { background: #fff; border-color: var(--rb-line); }
body.rr-site .rr-hero__match p, body.rr-site .rr-hero__matchnote { color: var(--rb-muted) !important; }

/* Buttons that were made for navy, used on light. */
body.rr-site :is(.rr-hero, .rr-profile-head, .hrp-hero--compact) .rr-btn--onDark { background: #fff !important; color: var(--rb-ink) !important; border: 1.5px solid var(--rb-line) !important; backdrop-filter: none !important; }
body.rr-site :is(.rr-hero, .rr-profile-head, .hrp-hero--compact) .rr-btn--onDark:hover { border-color: var(--rr-red) !important; color: var(--rr-red) !important; }

/* ---------- Business profile: light head, cover photo as a banner ---------- */
body.rr-site .rr-profile-head { background: linear-gradient(180deg, var(--rb-wash) 0%, #fff 100%) !important; color: var(--rb-body) !important; border-bottom: 1px solid var(--rb-line); padding: 22px 0 26px; }
body.rr-site .rr-profile-head--cover { display: block !important; min-height: 0 !important; padding: 0 0 26px !important; overflow: visible; }
body.rr-site .rr-profile-head--cover::before { display: none !important; }
body.rr-site .rr-profile-head--cover .rr-profile-head__cover { position: relative !important; inset: auto !important; z-index: 0; width: min(1200px, 100% - 32px); height: clamp(11rem, 26vw, 19rem); margin: 18px auto 20px; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px -26px rgb(20 40 75 / .45); }
body.rr-site .rr-profile-head--cover .hrp-hero__credit { top: auto; bottom: auto; position: relative; right: auto; display: block; width: min(1200px, 100% - 32px); margin: -14px auto 12px; padding: 0; background: none; color: var(--rb-muted); text-align: right; }
body.rr-site .rr-profile-head .rr-profile-name { color: var(--rb-ink) !important; text-shadow: none !important; }
body.rr-site .rr-profile-head--cover .rr-profile-name { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); }
body.rr-site .rr-profile-head .rr-profile-h1 { color: var(--rb-muted) !important; }
body.rr-site .rr-profile-head .rr-profile-meta { color: var(--rb-body); }
body.rr-site .rr-profile-head .rr-profile-meta .rr-i { color: var(--rb-muted); }
body.rr-site .rr-profile-head .rr-profile-meta__rating strong { color: var(--rb-ink); }
body.rr-site .rr-profile-head .rr-profile-meta__rating a { color: var(--rb-ink) !important; }
body.rr-site .rr-profile-head .rr-stars__bg svg { fill: #d6dbe3; }
body.rr-site .rr-profile-head .rr-badge--unclaimed { background: #fff; color: var(--rb-muted); border-color: var(--rb-line); }
body.rr-site .rr-profile-head .rr-photo-credit { color: var(--rb-muted); }
/* One action row: Call, Website, Directions, Save. */
@media (min-width: 900px) {
	body.rr-site .rr-profile-head__cta { min-width: 240px; }
}
@media (max-width: 899px) {
	body.rr-site .rr-profile-head__cta { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-flow: row; min-width: 0; }
	body.rr-site .rr-profile-head__cta > :first-child { grid-column: 1 / -1; }
	body.rr-site .rr-profile-head__cta .rr-btn { width: 100%; justify-content: center; }
}

/* Contact panel buttons wrap instead of running out of the card. */
.rr-contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rr-contact-actions > * { flex: 1 1 10rem; min-width: 0; justify-content: center; white-space: normal; text-align: center; }

/* ---------- Lists: friendlier surfaces ---------- */
body.rr-site .rr-section--dir { padding-top: clamp(1rem, 2.5vw, 1.75rem); }
body.rr-site .rr-market-intro { margin-top: 1.5rem; color: var(--rb-body); font-size: 1rem; }

/* ---------- Fixes after the first look ---------- */
body.rr-site .cr-trust .cc-trust li, body.rr-site .cr-trust .cc-trust li * { color: var(--rb-ink) !important; }
body.rr-site .cr-hero .cr-quote__note { display: none !important; }
.rr-hsearch button { box-shadow: none !important; }
/* Explore and other photo heroes: no photo behind the title. */
body.rr-site .rr-hero--photo .rr-hero__photo, body.rr-site .rr-hero--photo > .hrp-hero__credit { display: none !important; }
body.rr-site .rr-hero--photo::after, body.rr-site .rr-hero--photo::before { display: none !important; }
body.rr-site .rr-hero--photo .rr-crumbs a { color: var(--rb-ink) !important; }
body.rr-site .rr-hero--photo .rr-crumbs span, body.rr-site .rr-hero--photo .rr-crumbs li { color: var(--rb-muted) !important; }
body.rr-site .rr-hero--explore .rr-xsearch { border: 1.5px solid var(--rb-line); box-shadow: 0 20px 40px -28px rgb(20 40 75 / .35); }
/* Category hub: the town cards right below answer "where", so no second search box. */
.hrp-hero--compact .rr-search, .hrp-hero--compact .hrp-hero__search { display: none !important; }
/* Phone profile: the sticky bar at the bottom already has Call, Directions, Website and Save. */
@media (max-width: 760px) {
	body.rr-has-mbar .rr-page--company .rr-profile-head__cta { display: none !important; }
}
/* Sidebar contact card: phone number on its own full-width button, the rest share a row. */
.rr-contact-actions > :first-child { flex-basis: 100%; white-space: nowrap; }
.rr-contact-actions > :not(:first-child) { flex: 1 1 7.5rem; }
/* Category list: filters sit right under the title. */
body.rr-site .rr-page--service .rr-section--dir { padding-top: 0; }
.hrp-hero--compact .hrp-hero__meta { display: block; }
.hrp-hero--compact .hrp-hero__meta .rr-i { display: inline-block; vertical-align: -3px; margin-right: .3em; }
