/* Homepage sections ([mr_home …]) and the footer ([mr_footer]). Brand: green #0b823e, red #dd003b. */

.mr-h {
	--g: #0b823e;
	--g-dk: #076530;
	--g-xdk: #053d1e;
	--g-soft: #eaf5ee;
	--r: #dd003b;
	--r-dk: #b80031;
	--ink: #1f2a24;
	--muted: #5b6962;
	--line: #e4eae6;
	--bg: #f5f8f6;
	--radius: 20px;
	--shadow: 0 10px 30px rgba(16, 40, 26, .08);
	--gutter: 40px;
	position: relative;
	padding: 72px 0;
	color: var(--ink);
	font-size: 16px;
	line-height: 1.55;
}
.mr-h *, .mr-h *::before, .mr-h *::after { box-sizing: border-box; }
/* As wide as the original homepage: full width less 40px each side, up to 1440px. */
.mr-h-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.mr-h-i { flex: none; width: 1.15em; height: 1.15em; }
.mr-h-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mr-h ul, .mr-h ol { list-style: none; margin: 0; padding: 0; }
.mr-h h2, .mr-h h3, .mr-h p { margin: 0; }
.mr-h a { text-decoration: none; }

/* Section heading */
.mr-h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.mr-h-eyebrow { margin-bottom: 8px !important; color: var(--g); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mr-h-title { color: var(--ink); font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.mr-h-lede { max-width: 640px; margin-top: 10px !important; color: var(--muted); font-size: 17px; }

/* Buttons */
.mr-h-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px;
	font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.mr-h-btn:hover { transform: translateY(-1px); }
.mr-h-btn:focus-visible, .mr-h-tab:focus-visible, .mr-h-arrow:focus-visible, .mr-h a:focus-visible { outline: 3px solid rgba(11, 130, 62, .35); outline-offset: 2px; }
.mr-h-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.mr-h-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.mr-h-btn--red { background: var(--r); color: #fff !important; box-shadow: 0 8px 20px rgba(221, 0, 59, .22); }
.mr-h-btn--red:hover { background: var(--r-dk); }
.mr-h-btn--green { background: var(--g); color: #fff !important; }
.mr-h-btn--green:hover { background: var(--g-dk); }
.mr-h-btn--ghost { border-color: var(--line); background: #fff; color: var(--ink) !important; }
.mr-h-btn--ghost:hover { border-color: var(--g); color: var(--g) !important; }
.mr-h-btn--light { border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff !important; }
.mr-h-btn--light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* Tabs (pills) */
.mr-h-tabs { display: flex; gap: 8px; margin: -8px 0 24px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.mr-h-tabs::-webkit-scrollbar { display: none; }
.mr-h-tab {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
	color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.mr-h-tab .mr-h-i { color: var(--g); }
.mr-h-tab:hover { border-color: var(--g); }
.mr-h-tab[aria-selected="true"] { border-color: var(--g); background: var(--g); color: #fff; }
.mr-h-tab[aria-selected="true"] .mr-h-i { color: #fff; }

/* Card rails (horizontal scroll, snap) */
.mr-h-arrows { display: flex; gap: 8px; flex: none; }
.mr-h-arrow {
	display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer;
	transition: border-color .15s, color .15s, opacity .15s;
}
.mr-h-arrow:hover { border-color: var(--g); color: var(--g); }
.mr-h-arrow:disabled { opacity: .35; cursor: default; }
.mr-h-rail {
	display: flex; gap: 20px; margin: 0 -8px; padding: 4px 8px 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 8px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.mr-h-rail::-webkit-scrollbar { display: none; }
/* Four across, as on the original homepage (325px wide on a 1440px screen). */
.mr-h-card { flex: 0 0 calc((100% - 60px) / 4); min-width: 260px; scroll-snap-align: start; }
/* MyListing cards are sized by its grid columns; inside a rail they fill their slot. */
.mr-h-card .lf-item-container { width: 100%; margin: 0 !important; }
/* The cards' text exactly as on the rest of the site: the theme's 14px / 20px base,
   not the homepage sections' 16px. */
.mr-h-card { font-size: 14px; line-height: 1.42857; }
.mr-h-panel { position: relative; min-height: 200px; transition: opacity .2s; }
.mr-h-panel.is-loading { opacity: .45; pointer-events: none; }
.mr-h-panel-msg { padding: 40px 0; color: var(--muted); text-align: center; }
.mr-h-more { margin-top: 8px; text-align: center; }

/* The last card in a rail: on to Explore. Same size as the property cards. */
.mr-h-endcard {
	display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px;
	min-height: 300px; padding: 28px; border: 1.5px dashed #b9d6c4; border-radius: 6px;
	background: var(--g-soft); color: var(--ink) !important;
	transition: border-color .15s, background-color .15s;
}
.mr-h-endcard:hover { border-color: var(--g); background: #e0f0e6; }
.mr-h-endcard-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--g); color: #fff; }
.mr-h-endcard-icon .mr-h-i { width: 24px; height: 24px; }
.mr-h-endcard-title { font-size: 20px; font-weight: 700; line-height: 1.25; }
.mr-h-endcard-text { color: var(--muted); font-size: 14px; }
.mr-h-endcard .mr-h-btn { margin-top: 6px; white-space: normal; text-align: left; }

/* ---------- Trust strip ---------- */
.mr-h-stats { padding: 0; border-bottom: 1px solid var(--line); background: #fff; }
.mr-h-stats .mr-h-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.mr-h-stats-list { display: flex; flex-wrap: wrap; gap: 10px 36px; }
.mr-h-stats-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.mr-h-stats-list .mr-h-i { width: 22px; height: 22px; color: var(--g); }
.mr-h-stats-list strong { color: var(--ink); font-weight: 700; }

/* ---------- Property types ---------- */
/* Tiles keep their 3:2 shape (330 × 220 on a 1440px screen) and scale with
   the width of the screen, so smaller screens get proportionally smaller tiles
   rather than stretched ones. The big Apartments tile spans two rows. */
.mr-h-cats .mr-h-lede { max-width: 920px; }
.mr-h-cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mr-h-cat:not(.mr-h-cat--big) { aspect-ratio: 3 / 2; }
.mr-h-cat--big { grid-column: span 2; grid-row: span 2; }
/* "Fit to screen" (Homepage → Settings, on by default): on shorter screens the
   section narrows, centred, so heading + grid take about 85% of the screen
   height. The tiles keep their 3:2 shape, just smaller. Tall screens are
   unaffected (the cap only bites below ~1000px of height). */
.mr-h-cats--fit .mr-h-wrap { max-width: min(1440px, max(760px, calc(170vh - 266px))); }
/* A tile too short for title + description + button drops the description. */
.mr-h-cats--fit .mr-h-cat { container-type: size; }
@container (max-height: 158px) {
	.mr-h-cats--fit .mr-h-cat-blurb { display: none; }
	.mr-h-cats--fit .mr-h-cat-body { padding: 14px 16px; }
	.mr-h-cats--fit .mr-h-cat-name { font-size: 18px; }
	.mr-h-cats--fit .mr-h-cat-cta { margin-top: 8px; }
}
.mr-h-cat a {
	position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius);
	background: linear-gradient(135deg, var(--g), var(--g-xdk)); color: #fff; isolation: isolate;
}
.mr-h-cat img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mr-h-cat a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .8) 100%); }
.mr-h-cat a:hover img { transform: scale(1.06); }
.mr-h-cat-body { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 20px; }
.mr-h-cat-name { font-size: 21px; font-weight: 700; line-height: 1.2; }
.mr-h-cat--big .mr-h-cat-name { font-size: 30px; }
.mr-h-cat-blurb { margin-top: 4px; color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 1.35; }
.mr-h-cat-cta {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 14px; border-radius: 999px;
	background: #fff; color: var(--g); font-size: 13px; font-weight: 700; line-height: 1.2;
	transition: background-color .15s, color .15s, gap .15s;
}
.mr-h-cat a:hover .mr-h-cat-cta { gap: 10px; background: var(--r); color: #fff; }

/* ---------- Newest listings ---------- */
.mr-h-listings { background: var(--bg); }
.mr-h-carousel { overflow-x: clip; }

/*
 * Card carousels (Fresh on MY REALTOR, Explore by location): the original
 * homepage carousel, modernised.
 * - Cards exactly as on the original site: 360px wide, 20px apart.
 * - The row runs edge to edge of the screen and starts in line with the
 *   heading; cards not fully in view fade back (as on the original) and ease
 *   forward as they scroll in (mr-home.js marks them .is-out).
 * - Rounded corners, a soft shadow and a small lift on hover.
 * - Underneath: a "View all" link, a progress bar for the row, prev / next.
 *
 * The row scrolls sideways, which also clips anything outside it vertically,
 * so it carries extra room above and below for the hover lift and shadow and
 * gives that room back with negative margins (spacing looks unchanged).
 */
.mr-h-carousel { --bleed: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); }
.mr-h-carousel .mr-h-rail {
	gap: 20px;
	margin: -14px calc(-1 * var(--bleed)) -26px;
	padding: 24px var(--bleed) 54px;
	scroll-padding: 0 var(--bleed);
}
.mr-h-carousel .mr-h-card { flex: 0 0 360px; min-width: 0; transition: opacity .4s ease, transform .4s ease; }
.mr-h-carousel .mr-h-card.is-out { opacity: .4; transform: scale(.965); }
.mr-h-carousel .mr-h-card.is-out:hover { opacity: .75; }
.mr-h-carousel .mr-h-card .lf-item-container,
.mr-h-carousel .mr-h-poster {
	overflow: hidden; border-radius: 16px;
	box-shadow: 0 6px 22px rgba(16, 40, 26, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}
.mr-h-carousel .mr-h-card:not(.is-out) .lf-item-container:hover { transform: none; box-shadow: 0 14px 32px rgba(16, 40, 26, .14); } /* listing cards: no lift, as on the rest of the site */
.mr-h-carousel .mr-h-poster:not(.is-out):hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 40, 26, .16); }
.mr-h-carousel .mr-h-endcard { border-radius: 16px; }
/* Drag with the mouse on computers */
.mr-h-carousel .mr-h-rail.is-draggable { cursor: grab; }
.mr-h-carousel .mr-h-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.mr-h-carousel .mr-h-rail.is-dragging a { pointer-events: none; }
.mr-h-carousel .mr-h-rail.is-dragging .mr-h-card { -webkit-user-select: none; user-select: none; }

.mr-h-railbar { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.mr-h-railbar > .mr-h-btn { flex: none; }
.mr-h-progress { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 999px; background: var(--line); }
.mr-h-progress span { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; border-radius: inherit; background: var(--g); transition: left .15s linear, width .2s ease; }

/* ---------- Endless carousels (partners, testimonials) ---------- */
.mr-h-marquee {
	position: relative; overflow: hidden; padding: 8px 0 16px; touch-action: pan-y; cursor: grab;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.mr-h-marquee.is-dragging { cursor: grabbing; }
.mr-h-marquee.is-dragging a { pointer-events: none; }
.mr-h-marquee-track { display: flex; align-items: flex-start; width: max-content; will-change: transform; }
.mr-h-marquee-item { flex: none; padding-right: 16px; }
.mr-h-marquee:not(.is-running) .mr-h-marquee-track { margin: 0 auto; }
/* Reduced motion: a plain scrolling list. */
.mr-h-marquee.is-static { overflow-x: auto; cursor: auto; -webkit-mask-image: none; mask-image: none; }
.mr-h-marquee.is-static .mr-h-marquee-track { padding: 0 var(--gutter); }

/* ---------- Partners ---------- */
.mr-h-partners { padding-bottom: 56px; }
.mr-h-partners .mr-h-head { display: block; text-align: center; }
.mr-h-partners .mr-h-lede { margin-left: auto; margin-right: auto; }
.mr-h-logo {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	width: 200px; height: 140px; padding: 16px 16px 12px;
	border: 1.5px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink);
	transition: border-color .15s, box-shadow .15s, transform .15s;
	-webkit-user-select: none; user-select: none;
}
a.mr-h-logo:hover { border-color: var(--g); box-shadow: var(--shadow); transform: translateY(-2px); }
.mr-h-logo-img { display: grid; place-items: center; width: 100%; height: 76px; }
.mr-h-logo-img img { max-width: 160px; max-height: 76px; object-fit: contain; -webkit-user-drag: none; }
.mr-h-logo-initials { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--g-soft); color: var(--g); font-size: 22px; font-weight: 700; }
.mr-h-logo-name { overflow: hidden; width: 100%; color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.mr-h-partners-cta { margin-top: 20px !important; color: var(--muted); text-align: center; }
.mr-h-partners-cta a { display: inline-flex; align-items: center; gap: 6px; color: var(--g); font-weight: 600; }

/* ---------- List your property ---------- */
.mr-h-list { padding: 32px 0; }
.mr-h-list-card {
	position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
	overflow: hidden; padding: 56px; border-radius: 28px;
	background: radial-gradient(120% 140% at 0% 0%, #13a152 0%, var(--g) 35%, var(--g-xdk) 100%); color: #fff;
}
.mr-h-list-card::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%); pointer-events: none;
}
.mr-h-list .mr-h-eyebrow { color: #b8f0cd; }
.mr-h-list .mr-h-title { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.mr-h-list .mr-h-lede { color: rgba(255, 255, 255, .86); }
.mr-h-steps { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 28px !important; }
.mr-h-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.mr-h-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; }
.mr-h-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mr-h-who { position: relative; z-index: 1; display: grid; gap: 14px; }
.mr-h-who li {
	display: flex; gap: 16px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px;
	background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.mr-h-who .mr-h-i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; color: var(--g); }
.mr-h-who h3 { margin-bottom: 4px; color: #fff; font-size: 17px; font-weight: 700; }
.mr-h-who p { color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.45; }

/* ---------- Locations ---------- */
/* The poster for the place is the first card in its row: same size as the property cards. */
.mr-h-poster {
	position: relative; display: flex; align-items: flex-end; overflow: hidden;
	border-radius: 16px; background: var(--g-xdk) var(--mr-poster, none) center / cover; color: #fff; isolation: isolate;
}
.mr-h-poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 61, 30, .15) 0%, rgba(5, 40, 20, .92) 75%); }
.mr-h-poster-body { width: 100%; padding: 24px; }
.mr-h-poster-where { display: flex; align-items: center; gap: 6px; color: #b8f0cd; font-size: 14px; font-weight: 600; }
.mr-h-poster h3 { margin: 4px 0 14px; color: #fff; font-size: 34px; font-weight: 700; line-height: 1.1; }
.mr-h-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px !important; }
.mr-h-chips a {
	display: inline-flex; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14);
	color: #fff; font-size: 13px; font-weight: 500; transition: background-color .15s;
}
.mr-h-chips a:hover { background: rgba(255, 255, 255, .26); }
.mr-h-poster .mr-h-btn { width: 100%; white-space: normal; }

/* ---------- Testimonials ---------- */
.mr-h-reviews { background: var(--bg); }
.mr-h-reviews .mr-h-head { display: block; text-align: center; }
.mr-h-reviews .mr-h-lede { margin-left: auto; margin-right: auto; }
.mr-h-gsum {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px;
	width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 16px 24px;
	border-radius: 999px; background: #fff; box-shadow: var(--shadow);
}
.mr-h-gsum-top { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.mr-h-gsum-score { display: flex; align-items: center; gap: 10px; }
.mr-h-gsum-score strong { font-size: 30px; font-weight: 700; line-height: 1; }
.mr-h-gsum-count { color: var(--muted); font-size: 14px; }
.mr-h-gsum-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mr-h-stars { display: inline-flex; gap: 2px; color: #d9dcd9; }
.mr-h-stars .on { color: #fbbc04; }
.mr-h-reviews-run .mr-h-marquee-item { padding-right: 20px; }
.mr-h-review {
	display: flex; flex-direction: column; width: 360px; height: 300px; margin: 0; padding: 24px;
	border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); cursor: auto;
	white-space: normal;
}
.mr-h-review:focus-visible { outline: 3px solid rgba(11, 130, 62, .35); outline-offset: 2px; }
.mr-h-review-top { display: flex; align-items: center; justify-content: space-between; }
.mr-h-review-top .mr-h-g { width: 22px; height: 22px; }
/* The theme styles every blockquote as a big centred capitalised quote; not here. */
.mr-h-review blockquote {
	flex: 1 1 auto; min-height: 0; margin: 14px 0 14px; padding: 0; border: 0; background: none; overflow: hidden;
	color: var(--ink); font-size: 15px; font-style: normal; font-weight: 400; line-height: 1.6;
	letter-spacing: normal; text-align: left; text-transform: none;
}
.mr-h-review blockquote::before, .mr-h-review blockquote::after,
.mr-h-review blockquote p::before, .mr-h-review blockquote p::after { content: none !important; display: none !important; }
.mr-h-review blockquote p {
	margin: 0; color: inherit; font-size: inherit; font-weight: 400 !important; line-height: inherit;
	letter-spacing: normal; text-align: left; text-transform: none;
}
.mr-h-review blockquote p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.mr-h-review-more[hidden] { display: none; }
.mr-h-review-more { flex: none; align-self: flex-start; margin: -6px 0 14px; padding: 0; border: 0; background: none; color: var(--g); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.mr-h-review-more:hover { text-decoration: underline; }

/* "Read more" pop-up: the review in full */
.mr-h.mr-h-review-dialog {
	position: fixed; inset: 0; z-index: 100000;
	width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 64px); margin: auto; padding: 0;
	overflow: auto; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px rgba(5, 25, 14, .28);
	animation: mr-h-pop .2s ease;
}
.mr-h-review-dialog:not([open]) { display: none; }
.mr-h-review-dialog::backdrop { background: rgba(5, 25, 14, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
html:has(.mr-h-review-dialog[open]) { overflow: hidden; }
@keyframes mr-h-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.mr-h-review-dialog .mr-h-review { width: auto; height: auto; padding: 28px; border-radius: 0; box-shadow: none; }
.mr-h-review-dialog .mr-h-review-top { padding-right: 48px; }
.mr-h-review-dialog .mr-h-review blockquote { overflow: visible; font-size: 16px; line-height: 1.65; }
.mr-h-review-dialog .mr-h-review blockquote p { display: block; overflow: visible; -webkit-line-clamp: unset; }
.mr-h-review-close {
	position: absolute; top: 18px; right: 18px; z-index: 1;
	display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
	border: 0; border-radius: 50%; background: #f2f4f3; color: var(--ink); cursor: pointer;
}
.mr-h-review-close:hover { background: var(--g-soft); color: var(--g); }
@media (max-width: 680px) {
	.mr-h-review-dialog .mr-h-review { padding: 22px 20px; }
	.mr-h-review-dialog .mr-h-review blockquote { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .mr-h.mr-h-review-dialog { animation: none; } }
.mr-h-review figcaption { display: flex; align-items: center; gap: 12px; }
.mr-h-review figcaption strong { display: block; font-size: 15px; }
.mr-h-review figcaption small { display: block; color: var(--muted); font-size: 13px; }
.mr-h-review-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: var(--g); color: #fff; font-weight: 700; }
.mr-h-review-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Property request ---------- */
.mr-h-request-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.mr-h-request-copy { position: sticky; top: calc(var(--mr-header-bottom, 90px) + 24px); }
.mr-h-ticks { display: grid; gap: 14px; margin: 28px 0 !important; }
.mr-h-ticks li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.mr-h-ticks .mr-h-i { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--g-soft); color: var(--g); }
.mr-h-request-rate { display: flex; align-items: flex-start; gap: 12px; margin: -8px 0 22px !important; padding: 14px 16px; border-radius: 14px; background: var(--g-soft); color: var(--ink); font-size: 14px; line-height: 1.5; }
.mr-h-request-rate .mr-h-i { width: 22px; height: 22px; margin-top: 1px; color: var(--g); }
.mr-h-request-wa { color: var(--muted); }
.mr-h-request-wa a { display: inline-flex; align-items: center; gap: 6px; color: var(--g); font-weight: 600; }
.mr-h-request-form { min-width: 0; padding: 32px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.mr-h-form-small { display: none; }

/* ---------- Newsletter ---------- */
.mr-h-news { padding: 0 0 72px; }
.mr-h-news-card {
	display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: 40px 48px;
	border-radius: 28px; background: var(--g-soft);
}
.mr-h-news-copy { display: flex; gap: 20px; align-items: flex-start; }
.mr-h-news-copy > .mr-h-i { width: 56px; height: 56px; padding: 14px; border-radius: 16px; background: var(--g); color: #fff; }
.mr-h-news .mr-h-title { font-size: clamp(22px, 2.4vw, 28px); }
.mr-h-news .mr-h-lede { font-size: 16px; }
.mr-h-news-form { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 10px; }
.mr-h-news-form input[type="email"], .mr-h-news-form select {
	width: 100%; height: 54px; margin: 0; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px;
	background: #fff; color: var(--ink); font: inherit; font-size: 15px; box-shadow: none;
}
.mr-h-news-form select { padding-right: 36px; -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6962' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; }
.mr-h-news-form input:focus, .mr-h-news-form select:focus { border-color: var(--g); outline: none; box-shadow: 0 0 0 3px rgba(11, 130, 62, .12); }
.mr-h-news-form .mr-h-btn { height: 54px; }
.mr-h-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mr-h-news-msg { grid-column: 1 / -1; min-height: 1.4em; color: var(--muted); font-size: 14px; }
.mr-h-news-msg.is-ok { color: var(--g); font-weight: 600; }
.mr-h-news-msg.is-err { color: var(--r); }

/* ---------- Plans ---------- */
.mr-h-plans { background: var(--bg); }
.mr-h-plans .mr-h-head { display: block; text-align: center; }
.mr-h-plans .mr-h-lede { margin-left: auto; margin-right: auto; }
.mr-h-plans .mr-h-tabs { justify-content: center; }
/* Cards a quarter of the row wide, centred whatever their number (3 or 4) */
.mr-h-plan-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; align-items: stretch; }
.mr-h-plan-grid > .mr-h-plan { flex: 0 1 calc((100% - 48px) / 4); min-width: 0; }
.mr-h-plan-grid[hidden] { display: none; }
.mr-h-plan { display: flex; flex-direction: column; padding: 26px 24px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; }
.mr-h-plan.is-pick { border-color: var(--g); box-shadow: 0 16px 40px rgba(11, 130, 62, .14); }
.mr-h-plan h3 { color: var(--ink); font-size: 18px; font-weight: 700; }
.mr-h-plan-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 18px !important; }
.mr-h-plan-price strong { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.mr-h-plan-price span { color: var(--muted); font-size: 14px; }
.mr-h-plan ul { display: grid; gap: 10px; margin-bottom: 24px !important; }
.mr-h-plan li { display: flex; gap: 8px; color: var(--ink); font-size: 14px; line-height: 1.4; }
.mr-h-plan li .mr-h-i { margin-top: 1px; color: var(--g); }
.mr-h-plan .mr-h-btn { margin-top: auto; }
.mr-h-plans-note { margin-top: 24px !important; color: var(--muted); font-size: 14px; text-align: center; }
.mr-h-plans-note a { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: var(--g); font-weight: 600; }

/* ---------- Footer ---------- */
.mr-f { padding: 0; background: transparent; color: #fff; }
/* The whole skyline, pin included, sitting on the green footer. */
/* Skyline sits at the bottom; the extra height is white space above it */
.mr-f-sky { height: calc(17.5vw + clamp(28px, 4vw, 64px)); min-height: 124px; margin-bottom: -1px; background: no-repeat center bottom / 100% auto; }
.mr-f-main { background: var(--g); }
.mr-f-cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
	padding: 0 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.mr-f-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.15; }
.mr-f-cta p { max-width: 620px; margin-top: 8px; color: rgba(255, 255, 255, .85); font-size: 16px; }
.mr-f-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mr-f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding: 48px 0; }
.mr-f-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.mr-f-logo { display: inline-block; flex: none; padding: 8px 14px; border-radius: 0; background: #fff; }
.mr-f-logo img { display: block; width: auto; max-width: 170px; height: 40px; object-fit: contain; }
.mr-f-brand p { max-width: 340px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.mr-f-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; }
.mr-f-social a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255, 255, 255, .12); color: #fff; font-size: 16px; transition: background-color .15s, color .15s;
}
.mr-f-social a:hover { background: #fff; color: var(--g); }
.mr-f-col h3 { margin-bottom: 16px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mr-f-col ul { display: grid; gap: 10px; }
.mr-f-col a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.35; transition: color .15s; }
.mr-f-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mr-f-contact .mr-h-i { width: 18px; height: 18px; color: #b8f0cd; }
.mr-f-news { display: block; margin-top: 24px; }
.mr-f-news label { display: block; margin-bottom: 8px; color: #fff; font-size: 14px; font-weight: 600; }
.mr-f-news-row { display: flex; gap: 8px; }
.mr-f-news input[type="email"] { flex: 1; min-width: 0; height: 46px; border-color: transparent; }
.mr-f-news .mr-h-btn { height: 46px; box-shadow: none; }
.mr-f-news .mr-h-news-msg { margin-top: 6px; color: rgba(255, 255, 255, .85); }
.mr-f-news .mr-h-news-msg.is-ok { color: #fff; }
.mr-f-news .mr-h-news-msg.is-err { color: #ffd2dc; }
.mr-f-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
	padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .75); font-size: 14px;
}
.mr-f-bottom p { margin: 0; color: rgba(255, 255, 255, .75); font-size: 14px; } /* the theme colours footer text dark */
.mr-f-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.mr-f-bottom a { color: rgba(255, 255, 255, .85); }
.mr-f-bottom a:hover { color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.mr-h { --gutter: 24px; padding: 56px 0; }
	.mr-h-card { flex-basis: calc((100% - 40px) / 3); }
	.mr-h-cats-grid { grid-template-columns: repeat(3, 1fr); }
	.mr-h-cats--fit .mr-h-wrap { max-width: max(600px, calc(127.5vh - 215px)); }
	.mr-h-cat--big { grid-column: auto; grid-row: auto; }
	.mr-h-cat--big { aspect-ratio: 3 / 2; }
	.mr-h-cat--big .mr-h-cat-name { font-size: 21px; }
	.mr-h-list-card { grid-template-columns: 1fr; gap: 32px; padding: 44px 36px; }
	.mr-h-request-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.mr-h-request-copy { position: static; }
	.mr-h-form-big { display: none; }
	.mr-h-form-small { display: block; }
	.mr-h-news-card { grid-template-columns: 1fr; padding: 36px; }
	.mr-h-plan-grid > .mr-h-plan { flex-basis: calc((100% - 16px) / 2); }
	.mr-h-stats .mr-h-btn { display: none; }
	.mr-f-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 680px) {
	.mr-h { --gutter: 16px; padding: 44px 0; font-size: 15px; }
	.mr-h-head { margin-bottom: 22px; }
	.mr-h-head .mr-h-arrows { display: none; }
	.mr-h-lede { font-size: 15px; }
	/* One card plus a strip of the next, so it's clear the row scrolls. */
	.mr-h-rail { gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; scroll-padding: 0 16px; }
	.mr-h-card { flex-basis: calc(100% - 28px); min-width: 0; }
	/* Phones: the card in view sits in the middle, with the cards before and
	   after peeking in (faded) at the sides. */
	.mr-h-carousel .mr-h-rail { gap: 10px; padding-left: 40px; padding-right: 40px; scroll-padding: 0 40px; }
	.mr-h-carousel .mr-h-card { flex: 0 0 100%; scroll-snap-align: center; }
	.mr-h-railbar { flex-direction: column-reverse; align-items: stretch; gap: 16px; }
	.mr-h-railbar .mr-h-arrows { display: none; }
	.mr-h-railbar .mr-h-progress { flex: none; }
	.mr-h-railbar > .mr-h-btn { align-self: center; }
	.mr-h-endcard { min-height: 260px; }
	.mr-h-stats .mr-h-wrap { min-height: 0; padding-top: 16px; padding-bottom: 16px; }
	.mr-h-stats-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; width: 100%; }
	.mr-h-stats-list li { font-size: 13px; line-height: 1.3; }

	/* All nine types on one screen: a 3 × 3 grid of compact tiles. */
	.mr-h-cats { padding-top: 32px; padding-bottom: 32px; }
	.mr-h-cats .mr-h-head { margin-bottom: 16px; }
	.mr-h-cats .mr-h-title { font-size: 24px; }
	.mr-h-cats .mr-h-lede { display: none; }
	.mr-h-cats--fit .mr-h-wrap { max-width: none; }
	.mr-h-cats--fit .mr-h-cat { container-type: normal; }
	/* Phones: the compact 3 × 3 grid, fixed 128px rows. */
	.mr-h-cats-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 128px; gap: 8px; }
	.mr-h-cat:not(.mr-h-cat--big), .mr-h-cat--big { aspect-ratio: auto; }
	.mr-h-cat a { border-radius: 14px; }
	.mr-h-cat-body { padding: 10px; }
	.mr-h-cat-name, .mr-h-cat--big .mr-h-cat-name { font-size: 14px; line-height: 1.2; }
	.mr-h-cat-blurb { display: none; }
	.mr-h-cat-cta { gap: 4px; margin-top: 6px; padding: 4px 9px; font-size: 11px; }
	.mr-h-cat-cta .mr-h-i { width: 12px; height: 12px; }

	.mr-h-logo { width: 150px; height: 112px; padding: 12px 10px 10px; }
	.mr-h-logo-img { height: 60px; }
	.mr-h-logo-img img { max-width: 124px; max-height: 60px; }
	.mr-h-list { padding: 16px 0; }
	.mr-h-list .mr-h-wrap { padding: 0 10px; }
	.mr-h-list-card { padding: 32px 22px; border-radius: 22px; }
	.mr-h-steps { flex-direction: column; }
	.mr-h-actions .mr-h-btn { width: 100%; }
	.mr-h-who li { padding: 16px; }
	.mr-h-poster h3 { font-size: 28px; }
	.mr-h-poster .mr-h-btn { width: 100%; }
	.mr-h-gsum { border-radius: 20px; }
	.mr-h-review { width: 290px; height: 290px; padding: 20px; }
	.mr-h-review blockquote { font-size: 14px; line-height: 1.55; }
	.mr-h-reviews-run .mr-h-marquee-item { padding-right: 14px; }
	.mr-h-request-form { padding: 20px 16px; border-radius: 20px; }
	.mr-h-news { padding-bottom: 44px; }
	.mr-h-news-card { padding: 28px 20px; border-radius: 22px; }
	.mr-h-news-copy { flex-direction: column; gap: 14px; }
	.mr-h-news-form { grid-template-columns: 1fr; }
	/* One plan in the middle, the previous and next peeking at the sides */
	.mr-h-plan-grid { position: relative; display: flex; gap: 10px; margin: 0 -16px; padding: 4px 40px 12px; overflow-x: auto; scroll-padding: 0 40px; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.mr-h-plan-grid::-webkit-scrollbar { display: none; }
	.mr-h-plan-grid { flex-wrap: nowrap; justify-content: flex-start; }
	.mr-h-plan-grid > .mr-h-plan { flex: 0 0 100%; scroll-snap-align: center; }
	.mr-h-plans .mr-h-tabs { justify-content: flex-start; }
	/* Skyline zoomed in (centred on the pin), so its buildings and windows show */
	.mr-f-sky { height: calc(38.5vw + 28px); background-size: 220% auto; }
	.mr-f-cta { padding: 8px 0 32px; }
	.mr-f-cta-actions, .mr-f-cta-actions .mr-h-btn { width: 100%; }
	.mr-f-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 36px 0; }
	.mr-f-brand, .mr-f-contact { grid-column: 1 / -1; }
	.mr-f-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.mr-h *, .mr-h *::before, .mr-h *::after { transition: none !important; animation: none !important; }
}

/* ======================================================================
 * Hero: promotional carousel + "Find the Space You Need!" + search
 * ==================================================================== */
/* The site header is fixed and sits over the page: start below it (the child
   theme keeps its height in --mr-header-bottom). */
.mr-hero { padding: calc(var(--mr-header-bottom, 136px) + 20px) 0 36px; background: var(--g-soft); } /* light green, set apart from the white header */
@media (min-width: 1201px) { .mr-hero { padding-top: calc(var(--mr-header-bottom, 136px) + 36px); } } /* computers: the same space above and below */
/* The row is as tall as its tallest part (at least the min-height); the
   carousel stretches to it, so the side tiles never spill out below. */
.mr-hero-top { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 24vw, 340px); gap: 16px; min-height: clamp(300px, 27vw, 400px); }
.mr-hero-top.is-empty { grid-template-columns: 1fr 1fr; min-height: 0; }
.mr-hero-top.is-empty .mr-hero-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }

/* Carousel */
.mr-hero-carousel { position: relative; min-width: 0; }
.mr-hero-track {
	position: absolute; inset: 0;
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	border-radius: 22px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.mr-hero-track::-webkit-scrollbar { display: none; }
.mr-hero-slide { position: relative; display: block; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: center; background: var(--g-xdk); color: #fff !important; isolation: isolate; }
.mr-hero-slide img, .mr-hero-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.mr-hero-slide.is-current img { transform: scale(1.04); }
.mr-hero-slide.has-copy::after, .mr-hero-tile.has-copy::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(5, 25, 14, .78) 0%, rgba(5, 25, 14, .45) 45%, rgba(5, 25, 14, 0) 75%);
}
.mr-hero-copy { position: absolute; left: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: min(560px, 62%); }
.mr-hero-badge { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--g); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.mr-hero-badge--sponsored, .mr-hero-badge--offer { background: var(--r); color: #fff; }
.mr-hero-badge--corner { position: absolute; top: 14px; left: 14px; }
.mr-hero-title { display: -webkit-box; overflow: hidden; color: #fff; font-size: clamp(22px, 2.4vw, 36px); font-weight: 700; line-height: 1.15; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.mr-hero-text { color: rgba(255, 255, 255, .88); font-size: clamp(14px, 1.1vw, 16px); }
.mr-hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.mr-hero-price { color: #fff; font-size: clamp(16px, 1.4vw, 20px); font-weight: 700; }
.mr-hero-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; transition: background-color .15s, color .15s, gap .15s; }
.mr-hero-slide:hover .mr-hero-cta { gap: 12px; background: var(--r); color: #fff; }
.mr-hero-arrow {
	position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .15); opacity: 0; transform: translateY(-50%); transition: opacity .2s, background-color .15s;
}
.mr-hero-arrow[data-dir="-1"] { left: 14px; }
.mr-hero-arrow[data-dir="1"] { right: 14px; }
.mr-hero-carousel:hover .mr-hero-arrow, .mr-hero-arrow:focus-visible { opacity: 1; }
.mr-hero-arrow:hover { background: #fff; color: var(--g); }
.mr-hero-dots { position: absolute; left: 50%; bottom: 14px; z-index: 2; display: flex; gap: 6px; transform: translateX(-50%); }
.mr-hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .25s, background-color .25s; }
.mr-hero-dots button[aria-selected="true"] { width: 24px; background: #fff; }

/* Side tiles */
.mr-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; min-width: 0; }
.mr-hero-tile {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px;
	min-height: 0; padding: 20px; overflow: hidden; border-radius: 22px; color: #fff !important; isolation: isolate;
	transition: transform .2s, box-shadow .2s;
}
.mr-hero-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 40, 26, .16); }
.mr-hero-tile--green { background: radial-gradient(120% 120% at 0% 0%, #13a152 0%, var(--g) 40%, var(--g-xdk) 100%); }
.mr-hero-tile--dark { background: radial-gradient(120% 120% at 100% 0%, #2d3a33 0%, #18211c 100%); }
.mr-hero-tile-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: auto; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.mr-hero-tile-icon .mr-h-i { width: 22px; height: 22px; }
.mr-hero-tile strong { font-size: 20px; font-weight: 700; line-height: 1.2; }
.mr-hero-tile-text { color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.4; }
.mr-hero-tile-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; }
.mr-hero-tile--dark .mr-hero-tile-cta { color: #ff6b8e; }
.mr-hero-tile.has-copy .mr-hero-copy { left: 18px; bottom: 18px; max-width: calc(100% - 36px); gap: 6px; }
.mr-hero-tile.has-copy .mr-hero-title { font-size: 18px; }
.mr-hero-tile.has-copy .mr-hero-text, .mr-hero-tile.has-copy .mr-hero-price { display: none; }
.mr-hero-tile.has-copy::after { background: linear-gradient(0deg, rgba(5, 25, 14, .8) 0%, rgba(5, 25, 14, 0) 70%); }

/* Heading + search */
.mr-hero-heading { margin: 30px 0 16px !important; color: var(--ink); font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-align: center; }
.mr-hero-heading span { color: var(--g); }
.mr-hero-search .featured-search { margin: 0 auto; }

/* Search pill above the slides (phones and tablets only; computers use the
   one in the header). Same look as the header pill. */
.mr-hero-qs { display: none; }
@media (max-width: 1200px) {
	.mr-hero-qs { position: relative; z-index: 30; display: block; margin: 0 0 14px; }
	.mr-hero-qs .quick-search-instance { width: 100%; }
	.mr-hero-qs form { margin: 0; }
	.mr-hero-qs .header-search {
		position: relative !important;
		left: auto !important;
		display: flex !important;
		align-items: center;
		float: none !important;
		width: 100% !important;
		height: 50px;
		margin: 0 !important;
		border: 1.5px solid #e4eae6 !important;
		border-radius: 999px;
		background: #fff;
		box-shadow: 0 4px 14px rgba(16, 40, 26, .06);
		transform: none !important;
		transition: border-color .15s, background-color .15s;
	}
	.mr-hero-qs .header-search.is-focused,
	.mr-hero-qs .header-search:focus-within { border-color: #0b823e !important; box-shadow: 0 4px 14px rgba(11, 130, 62, .12); }
	.mr-hero-qs .header-search > i.mi.search {
		position: absolute;
		top: 50% !important;
		right: auto !important;
		left: 16px !important;
		z-index: 6;
		margin: 0;
		color: #5b6962 !important;
		font-size: 22px;
		line-height: 1;
		transform: translateY(-50%);
		pointer-events: none;
	}
	.mr-hero-qs .header-search.is-focused > i.mi.search,
	.mr-hero-qs .header-search:focus-within > i.mi.search { color: #0b823e !important; }
	.mr-hero-qs .header-search > input[type="search"] {
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0 18px 0 48px !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		outline: none !important;
		color: #1f2a24 !important;
		font-size: 15px;
		text-overflow: ellipsis;
	}
	.mr-hero-qs .header-search > input[type="search"]::placeholder { color: #75817a; opacity: 1; }
	.mr-hero-qs .instant-results::before { display: none !important; }
	.mr-hero-qs .instant-results {
		top: calc(100% + 8px) !important;
		left: 0 !important;
		width: 100% !important;
		border-radius: 16px;
		overflow: hidden;
		box-shadow: 0 16px 40px rgba(16, 40, 26, .16);
	}
}
@media (max-width: 680px) {
	.mr-hero-qs { margin: 0 16px 14px; }
	.mr-hero-qs .header-search > input[type="search"] { font-size: 14px; }
}

/* Narrow laptops: a little less padding in the tiles */
@media (max-width: 1300px) {
	.mr-hero-tile { padding: 18px; }
	.mr-hero-tile strong { font-size: 18px; }
	.mr-hero-tile-text { font-size: 13px; }
}

/* Tablets: carousel full width, the two tiles side by side underneath */
@media (min-width: 681px) and (max-width: 1024px) {
	.mr-hero-top { display: block; min-height: 0; }
	.mr-hero-carousel { height: clamp(280px, 38vw, 380px); }
	.mr-hero-copy { max-width: 80%; }
	.mr-hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; margin-top: 12px; }
	.mr-hero-top.is-empty .mr-hero-side { margin-top: 0; }
	.mr-hero-tile { min-height: 150px; }
	.mr-hero-tile-icon { width: 36px; height: 36px; }
	.mr-hero-heading { margin-top: 26px !important; }
}

/* Phones: the sketch — slides with neighbours peeking, dots underneath. */
@media (max-width: 680px) {
	.mr-hero { padding: calc(var(--mr-header-bottom, 60px) + 12px) 0 28px; }
	.mr-hero .mr-h-wrap { padding: 0; }
	.mr-hero-top { display: block; min-height: 0; }
	.mr-hero-side { display: none; }
	.mr-hero-track { position: relative; inset: auto; gap: 8px; height: auto; padding: 0 8%; scroll-padding: 0 8%; border-radius: 0; }
	/* Same height on every phone: at least 280px (the slides’ size on a large
	   phone), so the text never gets crammed on smaller ones; wider phones keep
	   the 16:10 shape (slide width = 84% of the screen) */
	.mr-hero-slide { flex: 0 0 100%; height: max(280px, 52.5vw); border-radius: 18px; }
	.mr-hero-slide.has-copy::after { background: linear-gradient(0deg, rgba(5, 25, 14, .82) 0%, rgba(5, 25, 14, .3) 55%, rgba(5, 25, 14, 0) 80%); }
	.mr-hero-copy { left: 16px; right: 16px; bottom: 14px; max-width: none; gap: 6px; }
	.mr-hero-title { font-size: 18px; }
	.mr-hero-text { font-size: 13px; }
	.mr-hero-badge { padding: 4px 10px; font-size: 11px; }
	.mr-hero-cta { padding: 7px 14px; font-size: 13px; }
	.mr-hero-price { font-size: 15px; }
	.mr-hero-arrow { display: none; }
	.mr-hero-dots { position: static; justify-content: center; margin-top: 12px; transform: none; }
	.mr-hero-dots button { background: #cfd8d2; }
	.mr-hero-dots button[aria-selected="true"] { background: var(--g); }
	.mr-hero-heading { margin: 22px 16px 14px !important; font-size: 24px; }
	.mr-hero-search { padding: 0 16px; }
}
