html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: var(--ccb-canvas);
	color: var(--ccb-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.65;
}

a {
	color: var(--ccb-primary-text);
}

img {
	max-width: 100%;
	height: auto;
}

.mls-skip-link {
	position: absolute;
	left: -999px;
	top: 12px;
	z-index: 1000;
	padding: 10px 14px;
	background: #fff;
	color: var(--ccb-heading);
}

.mls-skip-link:focus {
	left: 12px;
}

.mls-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--mls-header-max);
	border-bottom: 1px solid color-mix(in srgb, var(--ccb-primary-border) 58%, transparent);
	background: color-mix(in srgb, var(--ccb-surface) 92%, transparent);
	box-shadow: 0 0 0 rgba(15,31,55,0);
	backdrop-filter: blur(18px);
	transform: translateZ(0);
	transition: height .28s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease, background .22s ease;
	will-change: height;
}

body.mls-shrink-header.mls-is-scrolled .mls-site-header {
	height: var(--mls-header-min);
	background: color-mix(in srgb, var(--ccb-surface) 94%, transparent);
	box-shadow: 0 14px 34px rgba(15,31,55,.12);
}

body.mls-header-dark .mls-site-header {
	border-bottom-color: rgba(255,255,255,.12);
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--ccb-primary) 82%, var(--ccb-surface) 18%), color-mix(in srgb, var(--ccb-accent) 48%, var(--ccb-primary) 52%));
	box-shadow: 0 12px 34px rgba(15,31,55,.18);
}

body.mls-header-dark.mls-shrink-header.mls-is-scrolled .mls-site-header {
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--ccb-primary) 86%, var(--ccb-surface) 14%), color-mix(in srgb, var(--ccb-accent) 42%, var(--ccb-primary) 58%));
	box-shadow: 0 18px 40px rgba(15,31,55,.25);
}

.mls-header-inner {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 22px;
	align-items: center;
	width: min(100% - 40px, 1180px);
	height: 100%;
	margin-inline: auto;
	padding-inline: 2px;
}

.mls-brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.mls-brand img {
	display: block;
	width: auto;
	height: var(--mls-logo-height);
	max-width: min(38vw, 300px);
	max-height: none;
	transition: height .28s cubic-bezier(.22, 1, .36, 1);
}

body.mls-shrink-header.mls-is-scrolled .mls-brand img {
	height: var(--mls-logo-height-shrunk);
	max-height: none;
}

.mls-site-title {
	color: var(--ccb-heading);
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 900;
	text-decoration: none;
	white-space: nowrap;
}

body.mls-header-dark .mls-site-title {
	color: #fff;
}

.mls-primary-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	min-width: 0;
}

.mls-menu,
.mls-menu ul,
.mls-footer-menu,
.mls-footer-menu ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mls-menu li,
.mls-footer-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mls-menu a {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--ccb-heading);
	font-family: var(--mls-nav-font-family, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif);
	font-size: var(--mls-nav-font-size, 15px);
	line-height: normal;
	font-weight: 820;
	text-decoration: none;
	white-space: nowrap;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

body.mls-header-dark .mls-menu a {
	color: rgba(255,255,255,.88);
}

.mls-menu a:hover,
.mls-menu a:focus {
	background: var(--ccb-primary-soft);
	color: var(--ccb-primary-text);
	transform: translateY(-1px);
}

body.mls-header-dark .mls-menu a:hover,
body.mls-header-dark .mls-menu a:focus {
	background: rgba(255,255,255,.12);
	color: #fff;
}

.mls-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--ccb-gradient-primary);
	box-shadow: 0 12px 30px color-mix(in srgb, var(--ccb-primary) 24%, transparent);
	color: #fff;
	font-family: var(--mls-nav-font-family, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif);
	font-weight: 850;
	font-size: var(--mls-nav-font-size, 15px);
	line-height: normal;
	text-decoration: none;
	white-space: nowrap;
}

body.mls-header-dark .mls-header-cta {
	background: #fff;
	box-shadow: 0 14px 32px rgba(0,0,0,.22);
	color: var(--ccb-primary-text);
}

.mls-menu-toggle {
	display: none;
	appearance: none;
	justify-self: end;
	width: 44px;
	height: 44px;
	border: 1px solid color-mix(in srgb, var(--ccb-primary-border) 70%, #fff 30%);
	border-radius: 999px;
	background: #fff;
}

body.mls-header-dark .mls-menu-toggle {
	border-color: rgba(255,255,255,.22);
	background: rgba(255,255,255,.1);
}

.mls-menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	border-radius: 2px;
	background: var(--ccb-heading);
}

body.mls-header-dark .mls-menu-toggle span:not(.screen-reader-text) {
	background: #fff;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.mls-site-main {
	min-height: 55vh;
}

.mls-content-wrap,
.mls-entry {
	width: min(100% - 40px, 920px);
	margin: 0 auto;
}

.mls-content-wrap {
	padding: 52px 0;
}

.mls-entry {
	padding: clamp(42px, 6vw, 76px) 0;
}

.mls-entry--post {
	width: min(100% - 40px, 1120px);
}

.mls-entry--ccb {
	width: 100%;
	padding: 0;
}

.mls-entry-header {
	margin-bottom: 28px;
	text-align: center;
}

.mls-entry-header h1 {
	max-width: 940px;
	margin: 0 auto;
	color: var(--ccb-heading);
	font-size: clamp(2.1rem, 5vw, 4.4rem);
	line-height: 1.04;
}

.mls-entry-header a {
	color: inherit;
	text-decoration: none;
}

.mls-entry-meta {
	margin: 12px 0 0;
	color: var(--ccb-muted);
	font-weight: 700;
}

.mls-featured-image {
	overflow: hidden;
	margin-bottom: 32px;
	border-radius: 8px;
	box-shadow: var(--ccb-shadow);
}

.mls-entry-content > * {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.mls-entry--post .mls-entry-content > * {
	max-width: 920px;
}

.mls-entry-content > .alignwide {
	max-width: 1180px;
}

.mls-entry-content > .alignfull,
.mls-entry--ccb .mls-entry-content > * {
	max-width: none;
}

.mls-entry-content h2,
.mls-entry-content h3 {
	color: var(--ccb-heading);
	line-height: 1.15;
	scroll-margin-top: calc(var(--mls-header-min) + 24px);
}

.mls-blog-layout {
	width: min(100% - 40px, 1260px);
	margin: 0 auto;
	padding: clamp(42px, 6vw, 76px) 0;
}

.mls-blog-header {
	max-width: 840px;
	margin-bottom: clamp(34px, 5vw, 58px);
}

.mls-blog-kicker {
	margin: 0 0 10px;
	color: var(--ccb-primary-text);
	font-size: .8rem;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mls-blog-header h1 {
	margin: 0;
	color: var(--ccb-heading);
	font-size: clamp(2.3rem, 5vw, 4.2rem);
	line-height: 1.02;
}

.mls-blog-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
	gap: clamp(34px, 5vw, 64px);
	align-items: start;
}

.mls-blog-sidebar {
	position: sticky;
	top: calc(var(--mls-header-min) + 26px);
}

.mls-blog-sidebar-inner {
	display: grid;
	gap: 34px;
	padding-left: clamp(22px, 3vw, 34px);
	border-left: 1px solid color-mix(in srgb, var(--ccb-primary-border) 72%, #fff 28%);
}

.mls-blog-widget-title {
	margin: 0 0 14px;
	color: var(--ccb-heading);
	font-size: clamp(1.1rem, 2vw, 1.55rem);
	font-weight: 900;
	line-height: 1.12;
}

.mls-blog-widget ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mls-blog-widget li {
	margin: 0;
	padding: 0;
}

.mls-blog-widget a {
	color: var(--ccb-muted);
	font-size: 1.02rem;
	font-weight: 720;
	line-height: 1.32;
	text-decoration: none;
}

.mls-blog-widget a:hover,
.mls-blog-widget a:focus {
	color: var(--ccb-primary-text);
}

.mls-blog-widget .search-form {
	display: grid;
	gap: 8px;
}

.mls-blog-widget .search-field {
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid color-mix(in srgb, var(--ccb-primary-border) 74%, #fff 26%);
	border-radius: 6px;
	color: var(--ccb-text);
}

.mls-blog-widget .search-submit {
	min-height: 40px;
	border: 0;
	border-radius: 999px;
	background: var(--ccb-gradient-primary);
	color: #fff;
	font-weight: 850;
	cursor: pointer;
}

.mls-blog-feed {
	display: grid;
	gap: clamp(34px, 5vw, 58px);
	min-width: 0;
}

.mls-blog-card {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: clamp(24px, 3vw, 34px);
	align-items: start;
	padding-bottom: clamp(32px, 5vw, 54px);
	border-bottom: 1px solid color-mix(in srgb, var(--ccb-primary-border) 70%, #fff 30%);
}

.mls-blog-card--text-only {
	grid-template-columns: 1fr;
}

.mls-blog-card-image {
	display: block;
	overflow: hidden;
	width: 320px;
	height: 204px;
	border-radius: 8px;
	background: var(--ccb-gradient-soft);
	box-shadow: 0 16px 42px rgba(15,31,55,.1);
}

.mls-blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .24s ease;
}

.mls-blog-card-image:hover img,
.mls-blog-card-image:focus img {
	transform: scale(1.035);
}

.mls-blog-card-body {
	min-width: 0;
}

.mls-blog-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	align-items: center;
	margin: 0 0 10px;
	color: var(--ccb-muted);
	font-size: .95rem;
	font-weight: 680;
	line-height: 1.45;
}

.mls-blog-card-meta span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.mls-blog-card-meta span:not(:first-child)::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 1em;
	background: color-mix(in srgb, var(--ccb-muted) 58%, transparent);
}

.mls-blog-card-meta a {
	color: inherit;
	text-decoration: none;
}

.mls-blog-card-meta a:hover,
.mls-blog-card-meta a:focus {
	color: var(--ccb-primary-text);
}

.mls-blog-card h2 {
	margin: 0 0 12px;
	color: var(--ccb-heading);
	font-size: clamp(1.6rem, 3vw, 2.45rem);
	line-height: 1.06;
}

.mls-blog-card h2 a {
	color: inherit;
	text-decoration: none;
}

.mls-blog-card-excerpt,
.mls-blog-card-excerpt p {
	margin: 0;
	color: var(--ccb-text);
	font-size: clamp(1.02rem, 1.7vw, 1.18rem);
	line-height: 1.55;
}

.mls-blog-read-more {
	display: inline-flex;
	align-items: center;
	margin-top: 16px;
	color: var(--ccb-primary-text);
	font-weight: 850;
	text-decoration: none;
}

.mls-blog-read-more::after {
	content: "";
	width: 1.45em;
	height: 1px;
	margin-left: 10px;
	background: currentColor;
	transition: width .18s ease;
}

.mls-blog-read-more:hover::after,
.mls-blog-read-more:focus::after {
	width: 2.2em;
}

.mls-blog-feed .navigation.pagination {
	margin: 0;
	padding-top: 8px;
}

.mls-blog-feed .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mls-blog-feed .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 6px 11px;
	border: 1px solid color-mix(in srgb, var(--ccb-primary-border) 74%, #fff 26%);
	border-radius: 999px;
	background: var(--ccb-surface);
	color: var(--ccb-primary-text);
	font-weight: 800;
	text-decoration: none;
}

.mls-blog-feed .page-numbers.current {
	background: var(--ccb-gradient-primary);
	color: #fff;
}

.mls-entry--with-nav {
	width: min(100% - 40px, 1180px);
	max-width: 1180px;
}

.mls-post-shell {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: clamp(28px, 4vw, 52px);
	align-items: start;
}

.mls-post-main {
	min-width: 0;
}

.mls-entry--with-nav .mls-entry-header {
	text-align: left;
}

.mls-entry--with-nav .mls-entry-header h1 {
	margin-left: 0;
	margin-right: 0;
}

.mls-entry--with-nav .mls-featured-image,
.mls-entry--with-nav .mls-entry-content > * {
	max-width: 780px;
	margin-left: 0;
	margin-right: 0;
}

.mls-post-side-nav {
	position: sticky;
	top: calc(var(--mls-header-min) + 26px);
}

.mls-post-side-nav-inner {
	padding: 18px;
	border: 1px solid color-mix(in srgb, var(--ccb-primary-border) 74%, #fff 26%);
	border-radius: 8px;
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--ccb-surface) 92%, transparent), color-mix(in srgb, var(--ccb-primary-soft) 54%, #fff 46%));
	box-shadow: 0 18px 44px rgba(15,31,55,.1);
}

.mls-post-side-nav-mobile {
	display: none;
}

.mls-post-side-nav-mobile summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	color: var(--ccb-heading);
	font-size: .82rem;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}

.mls-post-side-nav-mobile summary::-webkit-details-marker {
	display: none;
}

.mls-post-side-nav-mobile summary::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: var(--ccb-primary-soft);
	color: var(--ccb-primary-text);
	font-size: 1rem;
	line-height: 1;
}

.mls-post-side-nav-mobile[open] summary {
	margin-bottom: 12px;
}

.mls-post-side-nav-mobile[open] summary::after {
	content: "-";
}

.mls-post-side-nav-label {
	margin: 0 0 12px;
	color: var(--ccb-heading);
	font-size: .78rem;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.mls-post-side-nav-list {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mls-post-side-nav-item {
	margin: 0;
	padding: 0;
}

.mls-post-side-nav-item a {
	display: block;
	padding: 8px 10px;
	border-radius: 6px;
	color: var(--ccb-muted);
	font-size: .92rem;
	font-weight: 750;
	line-height: 1.35;
	text-decoration: none;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

.mls-post-side-nav-item a:hover,
.mls-post-side-nav-item a:focus {
	background: color-mix(in srgb, var(--ccb-primary-soft) 78%, #fff 22%);
	color: var(--ccb-primary-text);
	transform: translateX(2px);
}

.mls-post-side-nav-item--h3 a {
	padding-left: 22px;
	font-size: .86rem;
	font-weight: 700;
}

.mls-post-side-nav-empty {
	margin: 0;
	color: var(--ccb-muted);
	font-size: .9rem;
}

.mls-site-footer {
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--ccb-primary-dark) 94%, #000 6%), color-mix(in srgb, var(--ccb-heading) 90%, #000 10%));
	color: color-mix(in srgb, var(--ccb-surface) 78%, #fff 22%);
}

.mls-footer-inner {
	width: min(100% - 40px, 1180px);
	margin-inline: auto;
	padding: clamp(40px, 6vw, 72px) 0 24px;
}

.mls-footer-brand {
	display: grid;
	gap: 12px;
	max-width: 560px;
	margin-bottom: 30px;
}

.mls-footer-brand img {
	max-height: 54px;
	width: auto;
	filter: brightness(0) invert(1);
}

.mls-footer-brand strong {
	color: #fff;
	font-size: 1.4rem;
}

.mls-footer-brand p {
	margin: 0;
	color: color-mix(in srgb, var(--ccb-surface) 72%, transparent);
}

.mls-footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	padding: 30px 0;
	border-top: 1px solid rgba(255,255,255,.12);
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.mls-footer-widget-title {
	margin: 0 0 12px;
	color: #fff;
	font-size: 1rem;
}

.mls-footer-widget,
.mls-footer-widget p {
	color: color-mix(in srgb, var(--ccb-surface) 72%, transparent);
}

.mls-footer-widget a,
.mls-footer-menu a {
	color: #fff;
	text-decoration: none;
}

.mls-footer-widget ul {
	margin: 0;
	padding-left: 18px;
}

.mls-footer-widget .wp-block-heading {
	margin: 0 0 12px;
	color: #fff;
	font-size: 1rem;
}

.mls-footer-widget .wp-block-group {
	margin: 0;
}

.mls-footer-widget .wp-block-group > :first-child {
	margin-top: 0;
}

.mls-footer-widget .wp-block-group > :last-child {
	margin-bottom: 0;
}

.mls-footer-widget :where(.wp-block-latest-posts, .wp-block-categories, .wp-block-archives) {
	margin: 0;
	padding-left: 18px;
}

.mls-footer-widget .wp-block-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.mls-footer-widget .wp-block-social-links :where(.wp-social-link, .wp-block-social-link) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mls-footer-widget .wp-block-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(255,255,255,.1);
	color: #fff;
}

.mls-footer-widget .wp-block-social-links svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.mls-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 22px;
	color: color-mix(in srgb, var(--ccb-surface) 70%, transparent);
}

.mls-footer-bottom p {
	margin: 0;
}

@media (max-width: 980px) {
	.mls-blog-layout {
		width: min(100% - 40px, 920px);
	}

	.mls-blog-shell {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.mls-blog-sidebar {
		position: static;
		order: 2;
	}

	.mls-blog-sidebar-inner {
		padding: 14px;
		border-left: 0;
		border-top: 1px solid color-mix(in srgb, var(--ccb-primary-border) 72%, #fff 28%);
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}

	.mls-blog-card {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.mls-blog-card-image {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.mls-entry--with-nav {
		width: min(100% - 40px, 920px);
	}

	.mls-post-shell {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mls-post-side-nav {
		position: static;
		order: 1;
	}

	.mls-post-main {
		order: 2;
	}

	.mls-post-side-nav-inner {
		padding: 14px;
	}

	.mls-post-side-nav-desktop {
		display: none;
	}

	.mls-post-side-nav-mobile {
		display: block;
	}

	.mls-post-side-nav-list {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		gap: 4px;
	}

	.mls-post-side-nav-item--h3 a {
		padding-left: 10px;
	}
}

@media (max-width: 820px) {
	.mls-header-inner {
		grid-template-columns: auto auto;
	}

	.mls-menu-toggle {
		display: block;
	}

	.mls-primary-nav {
		position: absolute;
		top: calc(100% + 10px);
		left: 20px;
		right: 20px;
		display: none;
		align-items: stretch;
		justify-content: start;
		padding: 16px;
		border: 1px solid color-mix(in srgb, var(--ccb-primary-border) 70%, #fff 30%);
		border-radius: 8px;
		background: #fff;
		box-shadow: var(--ccb-shadow);
	}

	body.mls-header-dark .mls-primary-nav {
		border-color: rgba(255,255,255,.14);
		background: color-mix(in srgb, var(--ccb-primary) 86%, var(--ccb-surface) 14%);
		box-shadow: 0 24px 70px rgba(15,31,55,.28);
	}

	body.mls-menu-open .mls-primary-nav {
		display: grid;
	}

	.mls-menu {
		display: grid;
		gap: 4px;
	}

	.mls-menu a,
	.mls-header-cta {
		width: 100%;
		justify-content: flex-start;
	}

	.mls-footer-widgets,
	.mls-footer-bottom {
		grid-template-columns: 1fr;
		display: grid;
	}
}

@media (max-width: 560px) {
	.mls-header-inner,
	.mls-footer-inner,
	.mls-content-wrap,
	.mls-blog-layout,
	.mls-entry,
	.mls-entry--with-nav {
		width: calc(100% - 32px);
	}

	.mls-entry--ccb {
		width: 100%;
	}
}
