/* Beaverton Mike theme styles. Colors, fonts and sizes live in theme.json. */

:root {
	--bm-navy: var(--wp--preset--color--navy, #0E2650);
	--bm-blue: var(--wp--preset--color--blue, #19469D);
	--bm-orange: var(--wp--preset--color--orange, #F5821F);
	--bm-orange-text: var(--wp--preset--color--orange-text, #B4560A);
	--bm-peach: var(--wp--preset--color--peach, #F5A55F);
	--bm-ink: var(--wp--preset--color--ink, #374151);
	--bm-muted: var(--wp--preset--color--muted, #4B5563);
	--bm-sky: var(--wp--preset--color--sky, #E4ECF8);
	--bm-sand: var(--wp--preset--color--sand, #FDEBDB);
	--bm-cream: var(--wp--preset--color--cream, #FBFAF7);
	--bm-mist: var(--wp--preset--color--mist, #F3F6FB);
	--bm-line: var(--wp--preset--color--line, #E6E3DC);
	--bm-cloud: var(--wp--preset--color--cloud, #C9D8F2);
	--bm-panel: var(--wp--preset--color--panel, #2A4472);
	--bm-field: #B9C0CC;
	--bm-heading: var(--wp--preset--font-family--heading, "Plus Jakarta Sans", system-ui, sans-serif);
	--bm-radius: 24px;

	--bm-i-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-6h4v6'/%3E%3C/svg%3E");
	--bm-i-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12l-8 8-9-9V3h8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
	--bm-i-trend: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7l6 6 4-4 8 8'/%3E%3Cpath d='M21 11v6h-6'/%3E%3C/svg%3E");
	--bm-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
	--bm-i-school: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9l10-5 10 5-10 5z'/%3E%3Cpath d='M6 11v5c0 1.5 3 3 6 3s6-1.5 6-3v-5'/%3E%3C/svg%3E");
	--bm-i-tree: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l6 9H6z'/%3E%3Cpath d='M12 9l7 10H5z'/%3E%3Cpath d='M12 19v2'/%3E%3C/svg%3E");
	--bm-i-coffee: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h13v5a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5z'/%3E%3Cpath d='M17 10h1.5a2.5 2.5 0 0 1 0 5H17'/%3E%3Cpath d='M8 3v3M12 3v3'/%3E%3C/svg%3E");
	--bm-i-car: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 16V8a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8'/%3E%3Cpath d='M3 16h18v2H3z'/%3E%3Ccircle cx='8' cy='19.5' r='1.5'/%3E%3Ccircle cx='16' cy='19.5' r='1.5'/%3E%3C/svg%3E");
	--bm-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
	--bm-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--bm-i-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M4 18h5l2-6V5H4v7h3l-3 6zm9 0h5l2-6V5h-7v7h3l-3 6z'/%3E%3C/svg%3E");
	--bm-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	--bm-i-eho: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M2 11L12 3l10 8'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M8.5 13h7M8.5 16.5h7'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
[id] { scroll-margin-top: 1.5rem; }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--bm-orange);
	outline-offset: 2px;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; }
[class*="bm-"], [class*="bm-"]::before, [class*="bm-"]::after { box-sizing: border-box; }

/* Sections sit flush against each other, the header and the footer. */
.wp-site-blocks > * + *,
.bm-main > * + *,
.bm-main > .wp-block-post-content > * + * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block: 0; }
.bm-main { margin-block: 0; }
.bm-lined { border-top: 1px solid var(--bm-line); border-bottom: 1px solid var(--bm-line); }
.bm-lined + .bm-lined { border-top: 0; }

/* Text helpers */
.bm-eyebrow {
	font-family: var(--bm-heading);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--bm-blue);
}
:where(.has-navy-background-color, .has-blue-background-color) .bm-eyebrow { color: var(--bm-peach); }
:where(.is-layout-flow, .is-layout-constrained) > .bm-eyebrow + * { margin-block-start: 0.875rem; }
:where(.is-layout-flow, .is-layout-constrained) > h1 + p,
:where(.is-layout-flow, .is-layout-constrained) > h2 + p { margin-block-start: 1.25rem; }
.bm-measure { max-width: 34em; }
/* In a full-width section, keep the line short but lined up with the heading above it. */
.is-layout-constrained > .bm-measure:not(.has-text-align-center) { max-width: var(--wp--style--global--wide-size, 1200px) !important; padding-right: max(0px, calc(min(100%, var(--wp--style--global--wide-size, 1200px)) - 34em)); }
.bm-hero-title { line-height: 1.03; }
mark.has-inline-color { padding: 0; }
.has-navy-background-color :is(h1, h2, h3, h4),
.has-blue-background-color :is(h1, h2, h3, h4),
:is(h1, h2, h3, h4).has-white-color { color: #fff; }
.has-navy-background-color a:not(.wp-block-button__link),
.has-blue-background-color a:not(.wp-block-button__link) { color: #fff; }
.has-navy-background-color a:not(.wp-block-button__link):hover,
.has-blue-background-color a:not(.wp-block-button__link):hover { color: var(--bm-peach); }

/* Buttons */
.wp-block-button__link { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.wp-block-buttons { gap: 0.75rem; }
.bm-hero-buttons { margin-block-start: 2rem !important; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--bm-blue);
	border: 2px solid var(--bm-blue);
	padding: calc(1rem - 2px) calc(1.625rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--bm-blue); color: #fff; }
:where(.has-navy-background-color, .has-blue-background-color) .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: #fff; }
:where(.has-navy-background-color, .has-blue-background-color) .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--bm-navy); }
:where(.has-navy-background-color, .has-blue-background-color) .wp-block-button:not(.is-style-outline):not(.is-style-link) > .wp-block-button__link:hover { background: #fff; color: var(--bm-navy); }
.wp-block-button.is-style-blue > .wp-block-button__link { background: var(--bm-blue); color: #fff; }
.wp-block-button.is-style-blue > .wp-block-button__link:hover { background: var(--bm-navy); color: #fff; }
.wp-block-button.is-style-link > .wp-block-button__link {
	background: transparent;
	color: var(--bm-blue);
	padding-left: 0;
	padding-right: 0;
	text-decoration: underline;
	text-underline-offset: 5px;
}
.wp-block-button.is-style-link > .wp-block-button__link:hover { background: transparent; color: var(--bm-navy); }

/* Header */
.bm-header { border-bottom: 1px solid var(--bm-line); position: relative; z-index: 20; }
.bm-header-row { gap: 0.5rem 1.5rem; }
.bm-logo { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--bm-navy); padding: 0.25rem 0; }
.bm-logo-mark { display: inline-flex; gap: 4px; }
.bm-logo-mark span { display: block; width: 6px; height: 40px; border-radius: 3px; background: var(--bm-orange); }
.bm-logo-text { display: inline-flex; flex-direction: column; }
.bm-logo-name { font-family: var(--bm-heading); font-weight: 800; font-size: 1.625rem; line-height: 1; letter-spacing: -0.01em; color: var(--bm-blue); white-space: nowrap; }
.bm-logo-tag { font-size: 0.875rem; font-weight: 600; color: var(--bm-ink); margin-top: 5px; line-height: 1.2; white-space: nowrap; }
.bm-logo.is-light .bm-logo-name { color: #fff; }
.bm-logo.is-light .bm-logo-tag { color: var(--bm-cloud); }
.bm-logo:hover .bm-logo-name { color: var(--bm-navy); }
.bm-logo.is-light:hover .bm-logo-name { color: var(--bm-peach); }

.bm-nav { font-weight: 600; font-size: 1rem; }
.bm-nav .wp-block-navigation-item__content { color: var(--bm-navy); text-decoration: none; padding: 0.75rem 0; border-bottom: 3px solid transparent; }
.bm-nav .wp-block-navigation-item__content:hover { color: var(--bm-blue); }
.bm-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--bm-blue); border-bottom-color: var(--bm-orange); }
.bm-nav .bm-nav-call > .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 1.125rem;
	border-radius: 999px;
	border-bottom: 0;
	background: var(--bm-blue);
	color: #fff;
	font-weight: 700;
}
.bm-nav .bm-nav-call > .wp-block-navigation-item__content::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--bm-i-phone) center / contain no-repeat;
	mask: var(--bm-i-phone) center / contain no-repeat;
}
.bm-nav .bm-nav-call > .wp-block-navigation-item__content:hover { background: var(--bm-navy); color: #fff; }
.bm-nav .wp-block-navigation__responsive-container-open,
.bm-nav .wp-block-navigation__responsive-container-close { color: var(--bm-navy); width: 44px; height: 44px; justify-content: center; align-items: center; }
.bm-nav .wp-block-navigation__responsive-container.is-menu-open { background: #fff; color: var(--bm-navy); padding: 1.5rem; }
.bm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: 0.5rem; }
.bm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.375rem; padding: 0.5rem 0; }
.bm-nav .wp-block-navigation__responsive-container.is-menu-open .bm-nav-call > .wp-block-navigation-item__content { margin-top: 1rem; padding: 0 1.5rem; min-height: 52px; font-size: 1.125rem; }
.bm-mobile-call { display: none; margin: 0; }
.bm-mobile-call a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 1rem;
	border-radius: 999px;
	background: var(--bm-blue);
	color: #fff;
	font-weight: 700;
	font-size: 0.9375rem;
	text-decoration: none;
}
.bm-mobile-call a::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--bm-i-phone) center / contain no-repeat;
	mask: var(--bm-i-phone) center / contain no-repeat;
}
@media (max-width: 599px) {
	.bm-mobile-call { display: block; margin-left: auto !important; }
	.bm-mobile-call a { width: 44px; padding: 0; justify-content: center; font-size: 0; }
	.bm-mobile-call a::before { width: 20px; height: 20px; }
	.bm-header-row { flex-wrap: nowrap !important; }
	.bm-logo-mark span { height: 34px; width: 5px; }
	.bm-logo-name { font-size: 1.375rem; }
	.bm-logo-tag { font-size: 0.75rem; }
}
@media (max-width: 380px) {
	.bm-logo-tag { display: none; }
}

/* Footer */
.bm-footer a { color: #fff; text-decoration: none; }
.bm-footer a:hover { color: var(--bm-peach); }
.bm-footer p { margin: 0; }
.bm-footer .bm-footer-cols { gap: 2.5rem 3.5rem; margin-bottom: 0; }
.bm-footer .bm-footer-cols > .wp-block-column > * + * { margin-block-start: 1.25rem; }
.bm-footer-label {
	font-family: var(--bm-heading);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bm-peach);
}
.bm-footer .bm-footer-cols > .wp-block-column > .bm-footer-label + * { margin-block-start: 0.875rem; }
.bm-footer-nav { font-size: 0.9375rem; }
.bm-footer-nav .wp-block-navigation-item__content { padding: 0.25rem 0; }
.bm-footer .bm-footer-bottom {
	margin-block-start: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--bm-panel);
	gap: 0.75rem 1.5rem;
	font-size: 0.875rem;
}
.bm-footer .bm-footer-bottom a { text-decoration: underline; text-underline-offset: 3px; margin-left: 0.5rem; }
.bm-eho { display: inline-flex; align-items: center; gap: 0.5rem; }
.bm-eho::before {
	content: "";
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: var(--bm-i-eho) center / contain no-repeat;
	mask: var(--bm-i-eho) center / contain no-repeat;
}

/* Broker and license lines */
.bm-broker { display: flex; flex-direction: column; gap: 0.125rem; font-size: 0.9375rem; line-height: 1.5; margin: 0; color: var(--bm-muted); }
.bm-broker-firm { font-weight: 700; color: var(--bm-navy); }
.bm-broker.is-light { color: var(--bm-cloud); }
.bm-broker.is-light .bm-broker-firm { color: #fff; font-size: 1.0625rem; }

/* Photos */
.wp-block-image.bm-photo { margin: 0; }
.wp-block-image.bm-photo img { width: 100%; border-radius: 28px; display: block; }
.bm-photo-stack { position: relative; }
.bm-photo-stack > .bm-photo { margin: 0; }
.bm-photo-stack > .bm-mini-card {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1.25rem;
	margin: 0;
	background: #fff;
	border-radius: 18px;
	padding: 0.875rem 1.125rem 0.875rem 1.75rem;
	box-shadow: 0 10px 30px rgba(14, 38, 80, 0.16);
	color: var(--bm-navy);
	font-size: 1rem;
	line-height: 1.4;
}
.bm-mini-card::before {
	content: "";
	position: absolute;
	left: 0.875rem;
	top: 1rem;
	bottom: 1rem;
	width: 9px;
	background: linear-gradient(90deg, var(--bm-orange) 0 3px, transparent 3px 6px, var(--bm-orange) 6px 9px);
	border-radius: 2px;
}
.bm-mini-card p { margin: 0; padding-left: 0.5rem; }
.wp-block-image.bm-round { margin: 0; flex: 0 0 auto; }
.wp-block-image.bm-round img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; }

/* Tiles: the small link cards */
.bm-tiles { gap: 1rem; }
.bm-tile {
	position: relative;
	background: #fff;
	border: 1px solid var(--bm-line);
	border-radius: 20px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.bm-tile > * { margin: 0 !important; }
.bm-tile::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--bm-sky);
	margin-bottom: 0.375rem;
	flex: 0 0 auto;
}
.bm-tile::after {
	content: "";
	position: absolute;
	top: calc(1.5rem + 12px);
	left: calc(1.5rem + 12px);
	width: 24px;
	height: 24px;
	background: var(--bm-blue);
	-webkit-mask: var(--bm-i, var(--bm-i-home)) center / contain no-repeat;
	mask: var(--bm-i, var(--bm-i-home)) center / contain no-repeat;
	pointer-events: none;
}
.bm-tile.is-orange::before { background: var(--bm-sand); }
.bm-tile.is-orange::after { background: var(--bm-navy); }
.bm-icon-home { --bm-i: var(--bm-i-home); }
.bm-icon-tag { --bm-i: var(--bm-i-tag); }
.bm-icon-trend { --bm-i: var(--bm-i-trend); }
.bm-icon-mail { --bm-i: var(--bm-i-mail); }
.bm-icon-school { --bm-i: var(--bm-i-school); }
.bm-icon-tree { --bm-i: var(--bm-i-tree); }
.bm-icon-coffee { --bm-i: var(--bm-i-coffee); }
.bm-icon-car { --bm-i: var(--bm-i-car); }
.bm-tile-title { font-size: 1.1875rem; line-height: 1.3; }
.bm-tile-title a { color: inherit; text-decoration: none; }
.bm-tile-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.bm-tile p { font-size: 0.9375rem; line-height: 1.5; color: var(--bm-muted); }
.bm-tile .bm-tile-more,
.bm-path .bm-tile-more {
	margin-top: auto !important;
	padding-top: 0.25rem;
	color: var(--bm-blue);
	font-weight: 700;
	font-size: 0.9375rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}
.bm-tile-more::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--bm-i-arrow) center / contain no-repeat;
	mask: var(--bm-i-arrow) center / contain no-repeat;
	transition: transform 0.15s ease;
}
.bm-tile:not(.is-static):hover { border-color: var(--bm-blue); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14, 38, 80, 0.08); }
.bm-tile:not(.is-static):hover .bm-tile-more::after,
.bm-path:hover .bm-tile-more::after { transform: translateX(3px); }
.bm-tile:focus-within { border-color: var(--bm-blue); }
.bm-tile.is-static { border: 0; }
.bm-tile.has-blue-background-color { border-color: transparent; }
.bm-tile.has-blue-background-color::before { background: rgba(255, 255, 255, 0.14); }
.bm-tile.has-blue-background-color::after { background: #fff; }
.bm-tile.has-blue-background-color p,
.bm-tile.has-blue-background-color .bm-tile-more { color: var(--bm-sky); }
.bm-tile.has-blue-background-color:hover { border-color: transparent; background-color: var(--bm-navy) !important; }
.bm-tile.is-orange.is-wide { border: 2px solid var(--bm-orange); }
.bm-tile.is-wide { padding: 2rem; }
.bm-tile.is-wide::after { top: calc(2rem + 12px); left: calc(2rem + 12px); }
.bm-tile.is-wide .bm-tile-title { font-size: 1.375rem; }
.bm-tile.is-wide .bm-tile-more { color: inherit; font-weight: 600; }
.bm-tile.is-row {
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 1.125rem;
	row-gap: 0.125rem;
	align-items: center;
	padding: 1.25rem 1.5rem;
	border: 0;
	color: var(--bm-navy);
}
.bm-tile.is-row::before { grid-row: 1 / span 2; width: 52px; height: 52px; margin: 0; }
.bm-tile.is-row::after { top: calc(50% - 12px); left: calc(1.5rem + 14px); }
.bm-tile.is-row > * { grid-column: 2; }
.bm-tile.is-row .bm-tile-more { color: var(--bm-muted); font-weight: 500; padding: 0; }
.bm-tile.is-row .bm-tile-title { color: var(--bm-navy); }
.bm-link-stack { display: flex; flex-direction: column; gap: 0.875rem; }
.bm-hero.is-blue .bm-tile.is-row .bm-tile-title,
.bm-hero.is-blue .bm-tile.is-row .bm-tile-title a { color: var(--bm-navy); }
.bm-hero.is-blue .bm-tile.is-row:hover .bm-tile-title a { color: var(--bm-blue); }
.bm-link-stack > * { margin: 0 !important; }

/* Buy or sell cards on the homepage */
.bm-paths { gap: 1.25rem; }
.bm-path {
	position: relative;
	border-radius: 28px;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	min-height: 260px;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	transition: transform 0.15s ease;
}
.bm-path > * { margin: 0 !important; }
.bm-path.is-outline { border: 2px solid var(--bm-orange); color: var(--bm-ink); }
.bm-path-title { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; }
.bm-path-title a { color: inherit !important; text-decoration: none; }
.bm-path-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bm-path:hover { transform: translateY(-2px); }
.bm-path.has-blue-background-color p { color: var(--bm-sky); }
.bm-path.has-blue-background-color .bm-tile-more { color: #fff; }
.bm-path.has-blue-background-color .bm-eyebrow { color: var(--bm-cloud); }

/* "Why Beaverton Mike" */
.bm-stripe-title::before {
	content: "";
	display: block;
	width: 48px;
	height: 6px;
	border-radius: 3px;
	background: var(--bm-orange);
	margin-bottom: 1.25rem;
}
.bm-stripe-title + .bm-photo { margin-top: 2rem !important; }
.bm-note {
	background: var(--bm-cream);
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	color: var(--bm-navy);
}
.bm-note p { margin: 0; }

/* Quotes */
.bm-quotes { gap: 1.25rem; }
.wp-block-quote.is-style-card {
	margin: 0;
	background: #fff;
	border: 1px solid var(--bm-line);
	border-radius: var(--bm-radius);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--bm-navy);
}
.wp-block-quote.is-style-card::before {
	content: "";
	width: 34px;
	height: 34px;
	background: var(--bm-orange);
	-webkit-mask: var(--bm-i-quote) center / contain no-repeat;
	mask: var(--bm-i-quote) center / contain no-repeat;
}
.wp-block-quote.is-style-card p { margin: 0; }
.wp-block-quote.is-style-card cite {
	display: block;
	margin-top: auto;
	font-style: normal;
	font-size: 0.9375rem;
	color: var(--bm-muted);
	line-height: 1.5;
}
.wp-block-quote.is-style-card cite::first-line { font-weight: 700; color: var(--bm-navy); font-size: 1rem; }
.wp-block-quote.is-style-big {
	margin: 0;
	padding: 0 0 0 clamp(0rem, 6vw, 5rem);
	position: relative;
	font-family: var(--bm-heading);
	font-weight: 600;
	font-size: clamp(1.375rem, 2.6vw, 1.75rem);
	line-height: 1.4;
}
.wp-block-quote.is-style-big::before {
	content: "";
	display: block;
	width: 56px;
	height: 56px;
	background: var(--bm-orange);
	-webkit-mask: var(--bm-i-quote) center / contain no-repeat;
	mask: var(--bm-i-quote) center / contain no-repeat;
	margin-bottom: 1rem;
}
@media (min-width: 782px) {
	.wp-block-quote.is-style-big::before { position: absolute; left: 0; top: 0; }
}
.wp-block-quote.is-style-big p { margin: 0; }
.wp-block-quote.is-style-big cite {
	display: block;
	margin-top: 1.25rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	color: var(--bm-cloud);
}

/* Bands: rounded colored boxes */
.bm-band {
	border-radius: 32px;
	padding: clamp(1.75rem, 5vw, 3rem);
	gap: 1.5rem 2.5rem;
}
.bm-band-text { flex: 1 1 26rem; min-width: 0; }
.bm-band-text > :first-child { margin-top: 0; }
.bm-band .wp-block-buttons { flex: 0 1 auto; }
.bm-band.is-dashed { border: 2px dashed var(--bm-blue); }
.bm-band.is-quote { padding: clamp(2rem, 6vw, 3.5rem); }
.bm-band.is-take { gap: 1.25rem 2rem; }
.bm-band.is-post-cta { margin-top: 3rem !important; }
.bm-take {
	font-family: var(--bm-heading);
	font-weight: 600;
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	line-height: 1.45;
}
@media (max-width: 640px) {
	.bm-band.is-take { flex-wrap: wrap !important; }
}
.bm-eyebrow-row { gap: 0.5rem 1rem; }
.bm-eyebrow-row > * { margin: 0 !important; }

/* Market updated date */
.bm-updated { margin: 0; font-size: 0.875rem; font-weight: 700; line-height: 1.3; }
.bm-updated.is-pill { display: inline-block; background: var(--bm-sand); color: var(--bm-navy); padding: 0.4rem 0.875rem; border-radius: 999px; }
.bm-updated.is-plain { color: var(--bm-muted); }
.bm-title-row { gap: 1rem 2rem; }
.bm-title-text { flex: 1 1 30rem; }
.bm-title-text > :first-child { margin-top: 0; }

/* Cards */
.bm-cards { gap: 1.25rem; }
.bm-card {
	border-radius: var(--bm-radius);
	padding: 2rem;
	background: #fff;
	border: 1px solid var(--bm-line);
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}
.bm-card > * { margin: 0 !important; }
.bm-card.is-flat { border: 0; }
.bm-card.is-big { padding: clamp(2rem, 4vw, 2.5rem); border: 0; }
.bm-card.is-orange { border: 2px solid var(--bm-orange); }
.bm-card .wp-block-buttons { margin-top: auto !important; padding-top: 0.5rem; }
.bm-card.is-photo { padding: 0 0 1.5rem; overflow: hidden; }
.bm-card.is-photo > :not(.wp-block-image) { padding: 0 1.5rem; }
.bm-card.is-photo > .wp-block-image { margin: 0 0 0.5rem !important; }
.bm-card.is-photo .wp-block-image img { width: 100%; display: block; }

/* Steps */
.bm-steps { counter-reset: bm-step; gap: 1rem; }
.bm-step { counter-increment: bm-step; position: relative; }
.bm-step::before {
	content: counter(bm-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bm-blue);
	color: #fff;
	font-family: var(--bm-heading);
	font-weight: 800;
	font-size: 1.125rem;
}
.bm-step:last-child::before { background: var(--bm-orange); color: var(--bm-navy); }
.bm-steps:not(.is-list) .bm-step {
	background: var(--bm-cream);
	border-radius: 20px;
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}
.bm-steps:not(.is-list) .bm-step::before { margin-bottom: 0.25rem; }
.bm-step > * { margin: 0 !important; }
.bm-step p { font-size: 0.9375rem; line-height: 1.55; color: var(--bm-muted); }
.bm-steps.is-list { display: flex; flex-direction: column; gap: 0.75rem; }
.bm-steps.is-list > * { margin: 0 !important; }
.bm-steps.is-list .bm-step {
	background: #fff;
	border: 1px solid var(--bm-line);
	border-radius: 18px;
	padding: 1.25rem 1.5rem 1.25rem 5rem;
	min-height: 84px;
}
.bm-steps.is-list .bm-step::before { position: absolute; left: 1.5rem; top: 1.25rem; width: 40px; height: 40px; font-size: 1rem; }
.bm-steps.is-list .bm-step h3 { font-size: 1.125rem; }
.bm-steps.is-list .bm-step h3 + p { margin-top: 0.25rem !important; }

/* Fold-open questions */
.wp-block-details.is-style-card {
	background: var(--bm-cream);
	border-radius: 18px;
	padding: 1.25rem 1.5rem;
}
.wp-block-details.is-style-card + .wp-block-details.is-style-card { margin-top: 0.875rem; }
.wp-block-details.is-style-card summary {
	font-family: var(--bm-heading);
	font-weight: 700;
	font-size: 1.1875rem;
	color: var(--bm-navy);
	cursor: pointer;
	list-style-position: outside;
	padding: 0.25rem 0;
}
.wp-block-details.is-style-card > :not(summary) { margin-top: 0.75rem; margin-bottom: 0.25rem; }

/* Contact details */
.bm-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.bm-contact-row { display: flex; align-items: center; gap: 0.875rem; text-decoration: none; color: var(--bm-navy); }
.bm-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--bm-sky);
	color: var(--bm-blue);
	flex: 0 0 auto;
}
.bm-contact-row.is-phone .bm-contact-icon { background: var(--bm-blue); color: #fff; }
.bm-contact-icon .bm-svg { width: 22px; height: 22px; }
.bm-contact-text { display: flex; flex-direction: column; min-width: 0; }
.bm-contact-label { font-size: 0.875rem; color: var(--bm-muted); line-height: 1.3; }
.bm-contact-value { font-weight: 700; font-size: 1.125rem; line-height: 1.3; overflow-wrap: anywhere; }
.bm-contact-row.is-phone .bm-contact-value { font-family: var(--bm-heading); font-weight: 800; font-size: 1.75rem; }
.bm-contact-row:hover .bm-contact-value { color: var(--bm-blue); }
.bm-contact.is-light .bm-contact-row { color: #fff; }
.bm-contact.is-light .bm-contact-label { color: var(--bm-cloud); }
.bm-contact.is-light .bm-contact-icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.bm-contact.is-light .bm-contact-row:hover .bm-contact-value { color: var(--bm-peach); }
.bm-contact.is-small .bm-contact-list { gap: 0.75rem; }
.bm-contact.is-small .bm-contact-icon { width: 38px; height: 38px; }
.bm-contact.is-small .bm-contact-icon .bm-svg { width: 18px; height: 18px; }
.bm-contact.is-small .bm-contact-value,
.bm-contact.is-small .bm-contact-row.is-phone .bm-contact-value { font-size: 1rem; font-family: inherit; font-weight: 700; }
.bm-contact.is-small .bm-contact-label { font-size: 0.8125rem; }
:where(.is-layout-flow, .is-layout-constrained) > .bm-contact { margin-block-start: 2rem; }

/* Contact forms */
.bm-form {
	background: var(--bm-cream);
	border: 1px solid var(--bm-line);
	border-radius: var(--bm-radius);
	padding: clamp(1.25rem, 4vw, 2rem);
	position: relative;
}
.bm-contact-section:not(.has-white-background-color) .bm-form { background: #fff; }
.bm-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.125rem; }
.bm-field { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.bm-field.is-wide { grid-column: 1 / -1; }
.bm-field label { font-weight: 600; font-size: 0.875rem; color: var(--bm-navy); }
.bm-field :is(input, select, textarea) {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0 0.875rem;
	border: 1px solid var(--bm-field);
	border-radius: 12px;
	background: #fff;
	color: var(--bm-navy);
	font: inherit;
	font-size: 1rem;
}
.bm-field textarea { padding: 0.75rem 0.875rem; resize: vertical; min-height: 110px; }
.bm-field :is(input, select, textarea):focus { outline: none; border-color: var(--bm-blue); box-shadow: 0 0 0 3px rgba(25, 70, 157, 0.18); }
.bm-form-button {
	margin-top: 1.375rem;
	background: var(--bm-orange);
	color: var(--bm-navy);
	border: 0;
	border-radius: 999px;
	padding: 1rem 1.75rem;
	font-family: var(--bm-heading);
	font-weight: 700;
	font-size: 1.0625rem;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.bm-form-button:hover { background: var(--bm-navy); color: #fff; }
.bm-form-note { margin: 0.875rem 0 0; font-size: 0.875rem; color: var(--bm-muted); }
.bm-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.bm-form-error {
	margin: 0 0 1.125rem;
	padding: 0.875rem 1rem;
	background: #FCF0F1;
	border: 1px solid #D63638;
	border-radius: 12px;
	color: #8A2424;
	font-weight: 600;
}
.bm-form-done {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	background: #EDFAEF;
	border: 1px solid #00A32A;
	border-radius: var(--bm-radius);
	padding: 1.75rem;
	color: #0A3D18;
	font-size: 1.125rem;
	font-weight: 600;
}
.bm-form-done .bm-svg { width: 28px; height: 28px; flex: 0 0 28px; color: #00A32A; }
.bm-form-done p { margin: 0; }

/* Google Sheets charts */
.bm-chart-grid { gap: 1.25rem; }
.bm-chart-card { padding: 1.5rem; }
.bm-chart { width: 100%; }
.bm-chart iframe { display: block; width: 100%; height: var(--bm-chart-h, 380px); border: 0; border-radius: 12px; background: #fff; }
.bm-chart img { display: block; width: 100%; height: auto; border-radius: 12px; }
.bm-chart.is-empty {
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: var(--bm-mist);
	border: 2px dashed var(--bm-cloud);
	border-radius: 16px;
}

/* Life in Beaverton: featured post and post grids */
.bm-featured {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	background: #fff;
	border: 1px solid var(--bm-line);
	border-radius: 28px;
	overflow: hidden;
}
.bm-featured > * { margin: 0 !important; }
.bm-featured:not(:has(.bm-featured-img)) { grid-template-columns: 1fr; }
.bm-featured-img { height: 100%; min-height: 300px; aspect-ratio: auto !important; }
.bm-featured-img a, .bm-featured-img img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.bm-featured-body { padding: clamp(1.75rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; gap: 0.875rem; }
.bm-featured-body > * { margin: 0 !important; }
.bm-pill {
	align-self: flex-start;
	background: var(--bm-sand);
	color: var(--bm-navy);
	font-weight: 700;
	font-size: 0.8125rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
}
.bm-featured-title { font-size: clamp(1.75rem, 3vw, 2.125rem); line-height: 1.12; }
.bm-featured-title a, .bm-post-card-title a { color: var(--bm-navy); text-decoration: none; }
.bm-featured-title a:hover, .bm-post-card-title a:hover { color: var(--bm-blue); }
.bm-featured-excerpt p { margin: 0; color: var(--bm-ink); }
.wp-block-read-more.bm-read-more { font-weight: 700; color: var(--bm-blue); text-decoration: none; display: inline-flex; align-items: center; gap: 0.375rem; }
.wp-block-read-more.bm-read-more::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: var(--bm-i-arrow) center / contain no-repeat;
	mask: var(--bm-i-arrow) center / contain no-repeat;
}
@media (max-width: 781px) {
	.bm-featured { grid-template-columns: 1fr; }
	.bm-featured-img { min-height: 0; aspect-ratio: 4 / 3 !important; }
}
.bm-posts-query > h2 { margin-bottom: 1.5rem; }
.bm-post-grid { gap: 1.25rem; }
.bm-post-card {
	background: #fff;
	border: 1px solid var(--bm-line);
	border-radius: 20px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding-bottom: 1.25rem;
}
.bm-post-card > * { margin: 0 !important; }
.bm-post-card > :not(.wp-block-post-featured-image):not(.bm-post-card-img) { padding: 0 1.25rem; }
.bm-post-card .wp-block-post-featured-image { margin-bottom: 0.5rem !important; }
.bm-post-card-title { font-size: 1.1875rem; line-height: 1.3; }
.bm-post-card-excerpt p, .bm-post-card-excerpt { font-size: 0.9375rem; color: var(--bm-muted); margin: 0; }
@media (max-width: 781px) {
	.wp-block-post-template.bm-post-grid.is-layout-grid { grid-template-columns: 1fr !important; }
}
@media (min-width: 600px) and (max-width: 1000px) {
	.wp-block-post-template.bm-post-grid.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.bm-pagination { margin-top: 2rem; gap: 0.5rem 1rem; font-weight: 600; }

/* More posts (end of a post) */
.bm-more-title { font-size: var(--wp--preset--font-size--feature); margin: 0 0 1.5rem; }
ul.bm-post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
ul.bm-post-grid .bm-post-card { padding-bottom: 1.25rem; }
.bm-post-card > .bm-post-card-link { padding: 0 !important; }
.bm-post-card-link { display: flex; flex-direction: column; gap: 0.75rem; text-decoration: none; color: var(--bm-navy); }
.bm-post-card-link .bm-post-card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.bm-post-card-link .bm-post-card-img.is-empty { display: flex; align-items: center; justify-content: center; background: var(--bm-sky); color: var(--bm-blue); }
.bm-post-card-link .bm-post-card-title { padding: 0 1.25rem; font-family: var(--bm-heading); font-weight: 700; }
.bm-post-card-link:hover .bm-post-card-title { color: var(--bm-blue); }
ul.bm-post-grid .bm-post-card-excerpt { padding: 0 1.25rem; }

/* Neighborhood guides */
.bm-hoods { background: #fff; border-top: 1px solid var(--bm-line); border-bottom: 1px solid var(--bm-line); padding: var(--wp--preset--spacing--70) var(--wp--style--root--padding-right, 1.5rem) var(--wp--preset--spacing--70) var(--wp--style--root--padding-left, 1.5rem); }
.bm-hoods.is-pills { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.bm-hoods-inner { max-width: 1200px; margin: 0 auto; }
.bm-hoods-title { margin: 0; font-size: var(--wp--preset--font-size--large); }
.bm-hoods.is-pills .bm-hoods-title { font-size: var(--wp--preset--font-size--feature); }
.bm-hoods-intro { margin: 0.875rem 0 0; font-size: var(--wp--preset--font-size--lead); max-width: 34em; }
.bm-hood-list { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.bm-hood-list.is-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.875rem; }
.bm-hood-card {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	height: 100%;
	background: var(--bm-cream);
	border: 1px solid transparent;
	border-radius: 18px;
	padding: 1.375rem;
	text-decoration: none;
	transition: border-color 0.15s ease;
}
.bm-hood-card:hover { border-color: var(--bm-blue); }
.bm-hood-name { font-family: var(--bm-heading); font-weight: 700; font-size: 1.125rem; color: var(--bm-navy); }
.bm-hood-more { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--bm-blue); }
.bm-hood-more .bm-svg { width: 16px; height: 16px; }
.bm-hood-list.is-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.25rem; }
.bm-hood-pill {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1.25rem;
	border-radius: 999px;
	background: var(--bm-sky);
	color: var(--bm-blue);
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
}
.bm-hood-pill:hover { border-color: var(--bm-blue); }
.bm-hood-pill.is-all { background: #fff; border-color: var(--bm-blue); }

/* Breadcrumb */
.bm-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.875rem; }
.bm-breadcrumb li { color: var(--bm-muted); }
.bm-breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--bm-muted); }
.bm-breadcrumb a { color: var(--bm-blue); font-weight: 600; text-decoration: none; }
.bm-breadcrumb a:hover { text-decoration: underline; }
.bm-hero > .bm-breadcrumb { margin-bottom: 1.5rem; }

/* Posts */
.bm-post-title { margin-top: 1rem; }
.bm-post-image { margin: 2rem 0 0; }
.bm-post-image img { border-radius: 20px; }
.bm-prose a { text-underline-offset: 3px; }
.bm-prose img { border-radius: 16px; }
.bm-prose h2 { font-size: var(--wp--preset--font-size--large); margin-top: 2.5rem; }
.bm-prose h3 { font-size: var(--wp--preset--font-size--feature); margin-top: 2rem; }
.bm-author {
	margin-top: 3rem !important;
	padding-top: 2rem;
	border-top: 1px solid var(--bm-line);
	gap: 1rem;
}
.bm-author-text > * { margin: 0 !important; }
.bm-author-name { font-family: var(--bm-heading); font-weight: 700; font-size: 1.125rem; color: var(--bm-navy); }
.bm-headshot { width: var(--bm-size, 64px); height: var(--bm-size, 64px); flex: 0 0 auto; margin: 0; }
.bm-headshot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

/* Search */
.bm-search { max-width: 36rem; margin-top: 1.5rem; }
.bm-search .wp-block-search__inside-wrapper { border-radius: 999px; border-color: var(--bm-field); background: #fff; padding: 4px; }
.bm-search .wp-block-search__input { border: 0; padding: 0 1rem; font: inherit; }
.bm-search .wp-block-search__button { border-radius: 999px; background: var(--bm-blue); color: #fff; }

/* Editor-only notes */
.bm-editor-hint {
	margin: 0;
	padding: 0.75rem 1rem;
	background: #FFF8E5;
	border: 1px dashed var(--bm-orange);
	border-radius: 8px;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #5B3A00;
}

/* Small screens */
@media (max-width: 781px) {
	.bm-split { gap: 2rem; }
	.bm-photo-stack > .bm-mini-card { position: relative; left: auto; right: auto; bottom: auto; margin: -2.5rem 1rem 0 !important; }
}

/* Grids stretch to fill the row, so two cards share the width instead of leaving a gap. */
.bm-tiles.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
.bm-tiles.is-two.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
.bm-paths.is-layout-grid,
.bm-cards.is-layout-grid,
.bm-quotes.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
.bm-steps.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr)); }
.bm-chart-grid.is-layout-grid { grid-template-columns: repeat(auto-fill, minmax(min(26rem, 100%), 1fr)); }

/* Mortgage calculator */
.bm-calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.bm-calc-form { background: var(--bm-cream); border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: clamp(1.25rem, 4vw, 2rem); display: flex; flex-direction: column; gap: 1.125rem; }
.bm-calc-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1.125rem; }
.bm-calc-field { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.bm-calc-field label { font-weight: 600; font-size: 0.875rem; color: var(--bm-navy); }
.bm-calc-input { display: flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 0.875rem; border: 1px solid var(--bm-field); border-radius: 12px; background: #fff; color: var(--bm-muted); }
.bm-calc-input:focus-within { border-color: var(--bm-blue); box-shadow: 0 0 0 3px rgba(25, 70, 157, 0.18); }
.bm-calc-input :is(input, select) { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.0625rem; font-weight: 600; color: var(--bm-navy); padding: 0.5rem 0; outline: none; }
.bm-calc-input span { font-size: 0.9375rem; white-space: nowrap; }
.bm-calc-more summary { cursor: pointer; font-weight: 600; color: var(--bm-blue); padding: 0.25rem 0; }
.bm-calc-more-fields { display: flex; flex-direction: column; gap: 1.125rem; margin-top: 1rem; }
.bm-calc-result { background: var(--bm-navy); color: #fff; border-radius: var(--bm-radius); padding: clamp(1.5rem, 4vw, 2.25rem); display: flex; flex-direction: column; }
.bm-calc-result p { margin: 0; }
.bm-calc-label { font-family: var(--bm-heading); font-weight: 700; font-size: var(--wp--preset--font-size--eyebrow); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bm-peach); }
.bm-calc-total { font-family: var(--bm-heading); font-weight: 800; font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1.1; margin-top: 0.5rem !important; }
.bm-calc-break { margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.625rem; }
.bm-calc-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; }
.bm-calc-row dt { color: var(--bm-cloud); }
.bm-calc-row dd { margin: 0; font-weight: 700; }
.bm-calc-row.is-sep { border-top: 1px solid var(--bm-panel); padding-top: 0.75rem; margin-top: 0.25rem; }
.bm-calc-cta { align-self: flex-start; margin-top: 1.75rem; background: var(--bm-orange); color: var(--bm-navy); font-family: var(--bm-heading); font-weight: 700; padding: 0.875rem 1.5rem; border-radius: 999px; text-decoration: none; }
.bm-calc-cta:hover { background: #fff; color: var(--bm-navy); }
.bm-calc-note { margin-top: 1rem !important; font-size: 0.8125rem; color: var(--bm-cloud); }

/* Market charts ---------------------------------------------------------- */
.bmg-cap{font-size:.9rem;color:#666;margin:0 0 .5rem}
.bmg{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 2.5rem}
.bmg>div{background:#f4f2ec;border-radius:12px;padding:10px 14px}
.bmg p{margin:0}
.bmg .l{font-size:.8rem;color:#666}
.bmg .v{font-size:1.2rem;font-weight:700}
.bmg .v small{font-size:.8rem;font-weight:400;color:#666;margin-left:4px}
.bmc{background:#fff;border:1px solid #e6e3da;border-radius:20px;padding:20px 20px 14px;min-width:0}
.bm-mc-loading{margin:0;padding:2rem 0;color:#888;font-weight:600}
.bmc-h{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.bmc-t{font-size:1.1rem;font-weight:700;margin:0;line-height:1.3}
.bmc-by{font-size:.8rem;color:#888;margin:2px 0 0}
.bmc-btn{font:inherit;font-size:.8rem;border:1px solid #d6d3ca;background:#fff;color:#333;border-radius:8px;padding:5px 10px;cursor:pointer;white-space:nowrap}
.bmc-btn:hover{background:#f4f2ec}
.bmc-n{margin:10px 0 6px}
.bmc-v{font-size:1.75rem;font-weight:700}
.bmc-d{font-size:.85rem;color:#666;margin-left:6px}
.bmc-lg{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.bmc-k{font:inherit;font-size:.75rem;color:#555;display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border:1px solid #e6e3da;border-radius:999px;background:#fff;cursor:pointer}
.bmc-k:hover{background:#f4f2ec}
.bmc-k i{display:inline-block;width:16px}
.bmc-k[aria-pressed="false"]{opacity:.4;text-decoration:line-through}
.bmc-c{position:relative;height:260px}
/* How the blocks look in the editor */
.bm-mc-editor{display:flex;flex-direction:column;gap:4px;padding:18px 20px;border:2px dashed #c9c6bd;border-radius:16px;background:#fbfaf7}
.bm-mc-editor.is-summary{border-color:#1f5fa8}
.bm-mc-eyebrow{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:#888;font-weight:700}
.bm-mc-name{font-size:1.15rem;color:#14213d}
.bm-mc-short{font-size:.85rem;color:#666}
.bm-mc-status{font-size:.85rem;font-weight:600}
.bm-mc-status.is-ok{color:#1a7f4f}
.bm-mc-status.is-missing{color:#b54708}

/* Summary tiles: Beaverton peach, Portland light blue; long-term charts get a deeper tint and an edge */
.bmg>div.is-beaverton{background:#FDEBDB}
.bmg>div.is-beaverton .l,.bmg>div.is-beaverton small{color:#a0560f}
.bmg>div.is-beaverton .v{color:#7a3d06}
.bmg>div.is-portland{background:#E4ECF8}
.bmg>div.is-portland .l,.bmg>div.is-portland small{color:#19469D}
.bmg>div.is-portland .v{color:#0E2650}
.bmg>div.is-long{border-left:4px solid;border-radius:0 12px 12px 0}
.bmg>div.is-beaverton.is-long{background:#fbd9bc;border-left-color:#F5821F}
.bmg>div.is-portland.is-long{background:#c9d8f0;border-left-color:#19469D}
.bm-mc-note{margin:.5rem 0 0;color:#8a877f;font-size:.85rem}
