/**
 * MaasiUniverse – universal single article styles (v1.1).
 * Loaded ONLY on single blog posts. Everything is scoped under .mu-blog so the
 * Forestra header, footer and all other pages are untouched.
 *
 * Signature motif: the "ply edge" – a band of stacked veneer layers, used on
 * the header, the bottom-line box and the enquiry panels.
 */

/* ------------------------------------------------------------------ *
 * 1. Design tokens
 * ------------------------------------------------------------------ */
.mu-blog {
	--mu-white: #ffffff;
	--mu-cream: #f7f1e8;
	--mu-cream-deep: #efe4d3;
	--mu-line: #e4d8c6;
	--mu-ink: #26221f;
	--mu-ink-soft: #5b544c;
	--mu-accent: #a8673a;
	--mu-accent-text: #8a4b22;
	--mu-accent-dark: #6f3b19;
	--mu-copper-bright: #dd9c64;
	--mu-panel: #2a2420;
	--mu-panel-soft: #3a322c;
	--mu-on-panel: #e9dfd2;
	--mu-radius: 4px;
	--mu-content: 780px;
	--mu-side: 290px;
	--mu-max: 1200px;
	--mu-gutter: 24px;
	--mu-sticky-top: 110px;
	--mu-scroll-offset: 120px;
	--mu-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--mu-ply: linear-gradient(
		to bottom,
		#dcb586 0 20%,
		#8f5c33 20% 40%,
		#c8935c 40% 60%,
		#6d4425 60% 80%,
		#b47c49 80% 100%
	);

	/* Header colours (light version; dark version below) */
	--mu-hero-bg: var(--mu-cream);
	--mu-hero-ink: var(--mu-ink);
	--mu-hero-soft: var(--mu-ink-soft);
	--mu-hero-accent: var(--mu-accent-text);
	--mu-hero-line: var(--mu-line);

	background: var(--mu-white);
	color: var(--mu-ink);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
	width: 100%;
	overflow-x: clip;
}

.mu-hero-dark .mu-blog {
	--mu-hero-bg: var(--mu-panel);
	--mu-hero-ink: #ffffff;
	--mu-hero-soft: #d3c7b8;
	--mu-hero-accent: var(--mu-copper-bright);
	--mu-hero-line: rgba(255, 255, 255, 0.16);
}

.mu-blog *,
.mu-blog *::before,
.mu-blog *::after {
	box-sizing: border-box;
}

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

.mu-blog .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mu-blog a:focus-visible,
.mu-blog button:focus-visible,
.mu-blog summary:focus-visible,
.mu-blog [tabindex]:focus-visible {
	outline: 2px solid var(--mu-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

.mu-container {
	width: 100%;
	max-width: calc(var(--mu-max) + var(--mu-gutter) * 2);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--mu-gutter);
	padding-right: var(--mu-gutter);
}

.mu-container--narrow {
	max-width: calc(var(--mu-content) + var(--mu-gutter) * 2);
}

.mu-blog h1,
.mu-blog h2,
.mu-blog h3,
.mu-blog h4 {
	color: var(--mu-ink);
	text-transform: none;
	letter-spacing: -0.012em;
	font-weight: 700;
}

.mu-font-serif .mu-blog h1,
.mu-font-serif .mu-blog h2,
.mu-font-serif .mu-blog h3,
.mu-font-serif .mu-blog h4,
.mu-font-serif .mu-blog .mu-lead,
.mu-font-serif .mu-blog blockquote {
	font-family: var(--mu-serif);
}

.mu-kicker {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--mu-accent-text);
}

/* ------------------------------------------------------------------ *
 * 2. Reading progress
 * ------------------------------------------------------------------ */
.mu-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 99999;
	pointer-events: none;
}

.mu-progress__bar {
	display: block;
	height: 100%;
	width: 100%;
	background: var(--mu-copper-bright);
	transform-origin: 0 50%;
	transform: scaleX(0);
}

/* ------------------------------------------------------------------ *
 * 3. Article header
 * ------------------------------------------------------------------ */
.mu-hero {
	position: relative;
	padding: calc(34px + var(--mu-header-gap, 0px)) 0 78px;
	background: var(--mu-hero-bg);
	color: var(--mu-hero-ink);
}

/* Ply edge: stacked veneer layers along the bottom of the header */
.mu-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 15px;
	background: var(--mu-ply);
}

/* Faint grain, dark header only */
.mu-hero-dark .mu-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(900px 420px at 88% -10%, rgba(221, 156, 100, 0.2), transparent 70%),
		repeating-linear-gradient(178deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 9px);
	pointer-events: none;
}

.mu-hero__inner {
	position: relative;
}

.mu-hero--has-image {
	padding-bottom: 190px;
}

.mu-hero__text {
	max-width: 900px;
}

/* Breadcrumbs (built-in and Rank Math) */
.mu-breadcrumbs {
	margin-bottom: 34px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mu-hero-soft);
}

.mu-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mu-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	min-width: 0;
}

.mu-breadcrumbs li + li::before {
	content: "/";
	margin: 0 10px;
	color: var(--mu-hero-accent);
}

.mu-breadcrumbs li:last-child span {
	display: inline-block;
	max-width: 46ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

.mu-breadcrumbs a,
.mu-breadcrumbs--rankmath a {
	color: var(--mu-hero-soft);
	text-decoration: none;
}

.mu-breadcrumbs a:hover,
.mu-breadcrumbs--rankmath a:hover {
	color: var(--mu-hero-ink);
	text-decoration: underline;
}

.mu-breadcrumbs--rankmath p {
	margin: 0;
}

.mu-breadcrumbs--rankmath .separator {
	margin: 0 8px;
	color: var(--mu-hero-accent);
}

.mu-eyebrow {
	display: inline-block;
	margin-bottom: 20px;
	padding: 5px 14px;
	border: 1px solid var(--mu-hero-accent);
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--mu-hero-accent);
	text-decoration: none;
}

.mu-eyebrow:hover {
	background: var(--mu-hero-accent);
	color: var(--mu-hero-bg);
}

.mu-blog .mu-title {
	margin: 0 0 20px;
	color: var(--mu-hero-ink);
	font-size: clamp(2.1rem, 1.2rem + 3.1vw, 3.6rem);
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.mu-subtitle {
	max-width: 720px;
	margin: 0;
	font-size: clamp(1.08rem, 1rem + 0.45vw, 1.32rem);
	line-height: 1.55;
	color: var(--mu-hero-soft);
}

/* Byline */
.mu-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--mu-hero-line);
	font-size: 14.5px;
	color: var(--mu-hero-soft);
}

.mu-byline__author {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--mu-hero-ink);
	font-weight: 600;
	text-decoration: none;
}

.mu-byline__author:hover {
	color: var(--mu-hero-accent);
}

.mu-byline__author img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--mu-hero-accent);
}

.mu-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mu-meta li {
	margin: 0;
	padding: 0 18px;
	border-left: 1px solid var(--mu-hero-line);
	line-height: 1.3;
}

.mu-meta li:first-child {
	padding-left: 0;
	border-left: 0;
}

.mu-meta__label {
	display: block;
	font-size: 12.5px;
	opacity: 0.8;
}

.mu-meta__value {
	color: var(--mu-hero-ink);
	font-weight: 600;
}

/* Featured image: a sheet lying on a stack of sheets */
.mu-featured {
	position: relative;
	z-index: 1;
	margin-top: -130px;
	margin-bottom: 0;
}

.mu-featured__frame {
	position: relative;
	margin-right: 14px;
}

.mu-featured__frame::before,
.mu-featured__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--mu-radius);
}

.mu-featured__frame::before {
	transform: translate(14px, 14px);
	background: #c8935c;
}

.mu-featured__frame::after {
	transform: translate(7px, 7px);
	background: #dcb586;
}

.mu-featured__img,
.mu-featured__frame img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-height: 620px;
	object-fit: cover;
	border-radius: var(--mu-radius);
}

.mu-featured figcaption {
	margin-top: 26px;
	font-size: 14px;
	color: var(--mu-ink-soft);
}

/* ------------------------------------------------------------------ *
 * 4. Layout
 * ------------------------------------------------------------------ */
.mu-layout {
	padding-top: 60px;
	padding-bottom: 24px;
}

.mu-main {
	min-width: 0;
	max-width: var(--mu-content);
	margin: 0 auto;
}

.mu-sidebar {
	display: none;
}

@media (min-width: 1100px) {
	.mu-layout--sidebar {
		display: grid;
		grid-template-columns: minmax(0, var(--mu-content)) var(--mu-side);
		justify-content: space-between;
		gap: 56px;
	}

	.mu-layout--sidebar .mu-main {
		margin: 0;
	}

	.mu-sidebar {
		display: block;
	}

	.mu-sidebar__sticky {
		position: sticky;
		top: var(--mu-sticky-top);
		display: flex;
		flex-direction: column;
		gap: 22px;
	}

	.mu-toc--mobile-only {
		display: none;
	}
}

/* Sidebar cards */
.mu-side-card {
	padding: 22px;
	background: var(--mu-white);
	border: 1px solid var(--mu-line);
	border-radius: var(--mu-radius);
	font-size: 15px;
	line-height: 1.55;
}

.mu-side-card__title,
.mu-blog .mu-side-card .widget-title,
.mu-blog .mu-side-card .wp-block-heading {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--mu-ink);
}

.mu-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mu-widget li {
	padding: 9px 0;
	border-top: 1px solid var(--mu-line);
}

.mu-widget li:first-child {
	border-top: 0;
	padding-top: 0;
}

.mu-widget a {
	color: var(--mu-ink);
	text-decoration: none;
}

.mu-widget a:hover {
	color: var(--mu-accent-text);
	text-decoration: underline;
}

/* Enquiry card (sidebar) */
.mu-cta-card {
	position: relative;
	padding-top: 32px;
	overflow: hidden;
	background: var(--mu-panel);
	border: 0;
	color: var(--mu-on-panel);
}

.mu-cta-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 10px;
	background: var(--mu-ply);
}

.mu-cta-card .mu-side-card__title {
	font-size: 19px;
	line-height: 1.3;
	color: var(--mu-white);
}

.mu-cta-card__text {
	margin: 0 0 14px;
	color: var(--mu-on-panel);
}

/* Checklist */
.mu-checks {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.mu-checks li {
	position: relative;
	margin: 0;
	padding: 7px 0 7px 26px;
	line-height: 1.4;
}

.mu-checks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 12px;
	width: 12px;
	height: 6px;
	border-left: 2px solid var(--mu-copper-bright);
	border-bottom: 2px solid var(--mu-copper-bright);
	transform: rotate(-45deg);
}

/* ------------------------------------------------------------------ *
 * 5. Table of contents
 * ------------------------------------------------------------------ */
.mu-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mu-toc__item {
	margin: 0;
}

.mu-toc__item a {
	display: block;
	padding: 7px 0 7px 14px;
	border-left: 2px solid transparent;
	color: var(--mu-ink-soft);
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
}

.mu-toc__item--h3 a {
	padding-left: 28px;
	font-size: 14px;
}

.mu-toc__item a:hover {
	color: var(--mu-accent-text);
}

.mu-toc__item a.is-active {
	color: var(--mu-ink);
	font-weight: 700;
	border-left-color: var(--mu-accent);
	background: linear-gradient(to right, var(--mu-cream), transparent);
}

.mu-toc--sidebar {
	border-top: 3px solid var(--mu-ink);
}

.mu-toc--sidebar .mu-toc__list {
	max-height: calc(100vh - var(--mu-sticky-top) - 330px);
	min-height: 120px;
	overflow-y: auto;
	border-left: 1px solid var(--mu-line);
	scrollbar-width: thin;
}

.mu-toc--sidebar .mu-toc__item a {
	margin-left: -1px;
}

.mu-toc__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: var(--mu-ink);
}

/* Inline (collapsible) */
.mu-toc--inline {
	margin: 0 0 36px;
	background: var(--mu-cream);
	border: 1px solid var(--mu-cream-deep);
	border-top: 3px solid var(--mu-ink);
	border-radius: var(--mu-radius);
}

.mu-toc--inline summary {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
}

.mu-toc--inline summary::-webkit-details-marker {
	display: none;
}

.mu-toc--inline summary::after {
	content: "";
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin-left: auto;
	border-right: 2px solid var(--mu-accent-text);
	border-bottom: 2px solid var(--mu-accent-text);
	transform: rotate(45deg) translateY(-3px);
	transition: transform 0.2s ease;
}

.mu-toc--inline[open] summary::after {
	transform: rotate(-135deg) translateY(-2px);
}

.mu-toc__count {
	font-size: 13.5px;
	font-weight: 400;
	color: var(--mu-ink-soft);
}

.mu-toc--inline nav {
	padding: 0 20px 16px;
}

.mu-toc--inline .mu-toc__list {
	border-left: 1px solid var(--mu-line);
}

/* ------------------------------------------------------------------ *
 * 6. Article body
 * ------------------------------------------------------------------ */
.mu-article-body {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--mu-ink);
}

.mu-article-body > *:first-child {
	margin-top: 0;
}

.mu-article-body p {
	margin: 0 0 1.35em;
}

.mu-article-body .mu-lead {
	margin-bottom: 1.5em;
	font-size: 1.3rem;
	line-height: 1.6;
	font-weight: 500;
	color: var(--mu-ink);
}

.mu-article-body h2,
.mu-article-body h3,
.mu-article-body h4 {
	scroll-margin-top: var(--mu-scroll-offset);
	line-height: 1.22;
}

.mu-article-body h2 {
	position: relative;
	margin: 2.3em 0 0.75em;
	padding-top: 26px;
	font-size: clamp(1.55rem, 1.25rem + 1vw, 2.05rem);
}

/* A short copper ply marks every new section */
.mu-article-body h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 56px;
	height: 4px;
	background: var(--mu-accent);
}

.mu-article-body [class*="mu-"] h2::before,
.mu-article-body [class*="is-style-mu-"] h2::before {
	content: none;
}

.mu-article-body h3 {
	margin: 1.8em 0 0.6em;
	font-size: clamp(1.22rem, 1.1rem + 0.45vw, 1.42rem);
}

.mu-article-body h4 {
	margin: 1.6em 0 0.5em;
	font-size: 1.1rem;
}

.mu-article-body a {
	color: var(--mu-accent-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.mu-article-body a:hover {
	color: var(--mu-accent-dark);
	text-decoration-thickness: 2px;
}

.mu-article-body .elementor-button,
.mu-article-body .wp-block-button__link,
.mu-article-body a.mu-btn {
	text-decoration: none;
}

.mu-article-body ul,
.mu-article-body ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}

.mu-article-body li {
	margin: 0 0 0.5em;
}

.mu-article-body ul li::marker {
	color: var(--mu-accent);
}

.mu-article-body ol li::marker {
	color: var(--mu-accent-text);
	font-weight: 700;
}

.mu-article-body strong {
	font-weight: 700;
}

.mu-article-body hr {
	margin: 2.5em 0;
	border: 0;
	border-top: 1px solid var(--mu-line);
}

/* Quotes */
.mu-article-body blockquote,
.mu-article-body .wp-block-quote {
	margin: 2.2em 0;
	padding: 4px 0 4px 26px;
	border-left: 4px solid var(--mu-accent);
	background: none;
	font-size: 1.3rem;
	line-height: 1.5;
	font-weight: 500;
	font-style: normal;
	color: var(--mu-ink);
}

.mu-article-body blockquote p:last-child {
	margin-bottom: 0;
}

.mu-article-body blockquote cite,
.mu-article-body .wp-block-quote cite {
	display: block;
	margin-top: 12px;
	font-size: 14.5px;
	font-weight: 400;
	font-style: normal;
	color: var(--mu-ink-soft);
}

.mu-article-body .wp-block-pullquote {
	margin: 2.4em 0;
	padding: 28px 0;
	border-top: 2px solid var(--mu-accent);
	border-bottom: 2px solid var(--mu-accent);
	text-align: center;
}

.mu-article-body .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.45rem;
}

/* Images, captions, galleries */
.mu-article-body figure {
	max-width: 100%;
	margin: 2.2em 0;
}

.mu-article-body figure img,
.mu-article-body .wp-block-image img {
	border-radius: var(--mu-radius);
}

.mu-article-body figcaption,
.mu-article-body .wp-caption-text,
.mu-article-body .wp-element-caption {
	margin-top: 10px;
	padding-left: 12px;
	border-left: 2px solid var(--mu-accent);
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	color: var(--mu-ink-soft);
}

.mu-article-body .wp-caption {
	max-width: 100%;
}

.mu-article-body .alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
	max-width: 50%;
}

.mu-article-body .alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
	max-width: 50%;
}

.mu-article-body .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.mu-article-body .alignwide,
.mu-article-body .alignfull {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.mu-article-body::after {
	content: "";
	display: table;
	clear: both;
}

/* Embedded video */
.mu-article-body iframe,
.mu-article-body video,
.mu-article-body embed,
.mu-article-body object {
	max-width: 100%;
}

.mu-article-body iframe[src*="youtube"],
.mu-article-body iframe[src*="youtu.be"],
.mu-article-body iframe[src*="vimeo"],
.mu-article-body video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--mu-radius);
	background: var(--mu-panel);
}

.mu-article-body .wp-block-embed {
	margin: 2em 0;
}

/* Comparison tables: read like a specification sheet */
.mu-table-scroll {
	max-width: 100%;
	margin: 2.2em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--mu-line);
	border-radius: var(--mu-radius);
}

.mu-article-body figure.wp-block-table {
	margin: 2.2em 0;
}

.mu-article-body figure.wp-block-table .mu-table-scroll {
	margin: 0;
}

.mu-article-body table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 15px;
	line-height: 1.5;
	background: var(--mu-white);
}

.mu-article-body th,
.mu-article-body td {
	padding: 13px 18px;
	border: 0;
	border-bottom: 1px solid var(--mu-line);
	text-align: left;
	vertical-align: top;
}

.mu-article-body thead th,
.mu-article-body table tr:first-child th {
	background: var(--mu-panel);
	color: var(--mu-white);
	font-weight: 700;
	border-bottom: 4px solid var(--mu-accent);
	white-space: nowrap;
}

.mu-article-body tbody tr:nth-child(even) td {
	background: #fbf8f2;
}

.mu-article-body tbody tr:last-child td {
	border-bottom: 0;
}

.mu-article-body tbody td:first-child {
	font-weight: 700;
	background: var(--mu-cream);
	border-right: 1px solid var(--mu-line);
}

.mu-article-body tbody tr:nth-child(even) td:first-child {
	background: var(--mu-cream);
}

/* Code */
.mu-article-body code {
	padding: 2px 6px;
	background: var(--mu-cream);
	border-radius: 4px;
	font-size: 0.9em;
}

.mu-article-body pre {
	margin: 2em 0;
	padding: 18px;
	overflow-x: auto;
	background: var(--mu-panel);
	color: #f4ede3;
	border-radius: var(--mu-radius);
}

.mu-article-body pre code {
	padding: 0;
	background: none;
	color: inherit;
}

/* Callout boxes
 * Block editor: Group block → Styles → "MU – Note / Key takeaway / Important".
 * Classic/Elementor: add class mu-note, mu-takeaway or mu-warning. */
.mu-article-body .mu-note,
.mu-article-body .is-style-mu-note,
.mu-article-body .mu-takeaway,
.mu-article-body .is-style-mu-takeaway,
.mu-article-body .mu-warning,
.mu-article-body .is-style-mu-warning {
	margin: 2em 0;
	padding: 20px 24px;
	border-radius: var(--mu-radius);
	border-left: 4px solid var(--mu-accent);
	font-size: 1rem;
}

.mu-article-body .mu-note,
.mu-article-body .is-style-mu-note {
	background: #f1f3f0;
	border-left-color: #4f6b55;
}

.mu-article-body .mu-takeaway,
.mu-article-body .is-style-mu-takeaway {
	background: var(--mu-cream);
	border-left-color: var(--mu-accent);
}

.mu-article-body .mu-warning,
.mu-article-body .is-style-mu-warning {
	background: #fdf1e6;
	border-left-color: #b4501f;
}

.mu-article-body [class*="is-style-mu-"] .wp-block-group__inner-container > :last-child,
.mu-article-body [class*="is-style-mu-"] p:last-child,
.mu-article-body .mu-note p:last-child,
.mu-article-body .mu-takeaway p:last-child,
.mu-article-body .mu-warning p:last-child {
	margin-bottom: 0;
}

/* Mid-article enquiry strip */
.mu-inline-cta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	margin: 2.8em 0;
	padding: 30px 28px 24px;
	overflow: hidden;
	background: var(--mu-panel);
	border-radius: var(--mu-radius);
	color: var(--mu-on-panel);
}

.mu-inline-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 10px;
	background: var(--mu-ply);
}

.mu-inline-cta__copy {
	flex: 1 1 300px;
	min-width: 0;
}

.mu-article-body .mu-inline-cta p {
	margin: 0;
}

.mu-article-body .mu-inline-cta__title {
	margin-bottom: 4px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--mu-white);
}

.mu-inline-cta__text {
	font-size: 15px;
	line-height: 1.5;
}

/* Page links, tags, share */
.mu-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 2em 0;
	font-weight: 600;
}

.mu-article-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px 32px;
	margin: 36px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--mu-line);
}

.mu-article-foot:not(:has(*)) {
	display: none;
}

.mu-tags,
.mu-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.mu-tags__label,
.mu-share__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--mu-ink);
}

.mu-tags__list,
.mu-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mu-tags__list li,
.mu-share__list li {
	margin: 0;
}

.mu-tags__list a,
.mu-share__list a,
.mu-share__list button {
	display: inline-block;
	padding: 6px 13px;
	border: 1px solid var(--mu-line);
	border-radius: 999px;
	background: var(--mu-white);
	font: inherit;
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--mu-ink);
	text-decoration: none;
	cursor: pointer;
}

.mu-tags__list a:hover,
.mu-share__list a:hover,
.mu-share__list button:hover {
	border-color: var(--mu-ink);
	background: var(--mu-ink);
	color: var(--mu-white);
}

/* ------------------------------------------------------------------ *
 * 7. Bottom line
 * ------------------------------------------------------------------ */
.mu-bottom-line {
	position: relative;
	margin: 52px 0 8px;
	padding: 40px 34px 32px;
	overflow: hidden;
	background: var(--mu-cream);
	border-radius: var(--mu-radius);
}

.mu-bottom-line::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 10px;
	background: var(--mu-ply);
}

.mu-bottom-line__label {
	margin: 0 0 10px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--mu-ink);
}

.mu-bottom-line__text {
	font-size: 1.12rem;
	line-height: 1.7;
}

.mu-bottom-line__text p {
	margin: 0 0 0.8em;
}

.mu-bottom-line__text > :last-child {
	margin-bottom: 0;
}

.mu-bottom-line__text a {
	color: var(--mu-accent-text);
}

/* ------------------------------------------------------------------ *
 * 8. Article ending
 * ------------------------------------------------------------------ */
.mu-article-end {
	margin-top: 64px;
}

.mu-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 30px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--mu-line);
}

.mu-blog .mu-section-title {
	margin: 0;
	font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem);
	line-height: 1.15;
}

.mu-section-link {
	font-size: 15px;
	font-weight: 700;
	color: var(--mu-accent-text);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mu-section-link:hover {
	color: var(--mu-accent-dark);
}

/* Related guides */
.mu-related {
	padding: 68px 0 76px;
	background: var(--mu-cream);
}

.mu-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mu-related__grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.mu-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	background: var(--mu-white);
	border-radius: var(--mu-radius);
	border-bottom: 4px solid var(--mu-line);
	transition: border-color 0.2s ease;
}

.mu-card:hover,
.mu-card:focus-within {
	border-bottom-color: var(--mu-accent);
}

.mu-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--mu-cream-deep);
}

.mu-card__img,
.mu-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.4s ease;
}

.mu-card:hover .mu-card__media img {
	transform: scale(1.04);
}

.mu-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		repeating-linear-gradient(178deg, rgba(111, 59, 25, 0.1) 0 2px, transparent 2px 11px),
		linear-gradient(135deg, #e6cfae, #cfa878);
}

.mu-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 22px;
}

.mu-card__cat {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--mu-accent-text);
}

.mu-blog .mu-card__title {
	margin: 0;
	font-size: 1.18rem;
	line-height: 1.32;
}

.mu-card__title a {
	color: var(--mu-ink);
	text-decoration: none;
}

.mu-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.mu-card__date {
	margin-top: auto;
	padding-top: 8px;
	font-size: 13.5px;
	color: var(--mu-ink-soft);
}

/* Author */
.mu-author {
	display: flex;
	gap: 26px;
	align-items: flex-start;
	padding-top: 60px;
	padding-bottom: 60px;
}

.mu-author__media {
	flex: 0 0 auto;
}

.mu-author__img,
.mu-author__media img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid var(--mu-accent);
	padding: 3px;
	background: var(--mu-white);
}

.mu-author__body {
	min-width: 0;
}

.mu-blog .mu-author__name {
	margin: 0 0 8px;
	font-size: 1.45rem;
	line-height: 1.3;
}

.mu-author__name a {
	color: var(--mu-ink);
	text-decoration: none;
}

.mu-author__name a:hover {
	color: var(--mu-accent-text);
}

.mu-author__bio {
	color: var(--mu-ink-soft);
	font-size: 1rem;
}

.mu-author__bio p {
	margin: 0 0 0.8em;
}

.mu-author__bio > :last-child {
	margin-bottom: 0;
}

/* Comments */
.mu-comments {
	padding-bottom: 48px;
}

/* Buttons */
.mu-btn,
.mu-article-body a.mu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 28px;
	border: 0;
	border-radius: var(--mu-radius);
	background: var(--mu-accent-text);
	color: var(--mu-white);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.mu-btn:hover,
.mu-btn:focus-visible,
.mu-article-body a.mu-btn:hover {
	background: var(--mu-accent-dark);
	color: var(--mu-white);
}

.mu-btn--block {
	width: 100%;
}

/* On dark panels the button turns bright copper with dark text */
.mu-btn--copper,
.mu-article-body a.mu-btn--copper {
	background: var(--mu-copper-bright);
	color: #1d1815;
}

.mu-btn--copper:hover,
.mu-btn--copper:focus-visible,
.mu-article-body a.mu-btn--copper:hover {
	background: var(--mu-white);
	color: #1d1815;
}

/* Wholesale enquiry panel */
.mu-cta {
	padding: 0 0 80px;
	background: var(--mu-white);
}

.mu-cta__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	gap: 48px;
	align-items: center;
	padding: 70px 60px 60px;
	overflow: hidden;
	background: var(--mu-panel);
	border-radius: var(--mu-radius);
	color: var(--mu-on-panel);
}

.mu-cta__panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 15px;
	background: var(--mu-ply);
}

.mu-cta__panel::after {
	content: "";
	position: absolute;
	inset: 15px 0 0;
	background:
		radial-gradient(700px 360px at 0% 110%, rgba(221, 156, 100, 0.16), transparent 70%),
		repeating-linear-gradient(178deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 9px);
	pointer-events: none;
}

.mu-cta__copy,
.mu-cta__card {
	position: relative;
	z-index: 1;
}

.mu-cta__lede {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: var(--mu-copper-bright);
}

.mu-blog .mu-cta__title {
	margin: 0 0 14px;
	color: var(--mu-white);
	font-size: clamp(1.8rem, 1.3rem + 1.7vw, 2.7rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.mu-cta__text {
	max-width: 560px;
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.6;
	color: var(--mu-on-panel);
}

.mu-cta__card {
	padding: 26px;
	background: var(--mu-panel-soft);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--mu-radius);
}

.mu-cta__card .mu-checks {
	font-size: 1rem;
	color: var(--mu-white);
}

.mu-admin-note {
	margin-top: 0;
	margin-bottom: 48px;
	padding: 12px 16px;
	border: 1px dashed #b26a00;
	border-radius: var(--mu-radius);
	background: #fff8ec;
	font-size: 14px;
}

/* Mobile quote bar */
.mu-sticky-cta {
	display: none;
}

/* ------------------------------------------------------------------ *
 * 9. Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.mu-related__grid,
	.mu-related__grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mu-cta__panel {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 58px 40px 44px;
	}
}

@media (max-width: 767px) {
	.mu-blog {
		--mu-gutter: 18px;
		font-size: 16px;
	}

	.mu-hero {
		padding: calc(22px + var(--mu-header-gap, 0px)) 0 56px;
	}

	.mu-hero--has-image {
		padding-bottom: 110px;
	}

	.mu-featured {
		margin-top: -72px;
	}

	.mu-featured__frame {
		margin-right: 8px;
	}

	.mu-featured__frame::before {
		transform: translate(8px, 8px);
	}

	.mu-featured__frame::after {
		transform: translate(4px, 4px);
	}

	.mu-featured figcaption {
		margin-top: 18px;
	}

	.mu-breadcrumbs {
		margin-bottom: 22px;
		font-size: 13px;
	}

	.mu-breadcrumbs li:last-child {
		display: none;
	}

	.mu-byline {
		margin-top: 26px;
		padding-top: 18px;
	}

	.mu-meta {
		gap: 12px 26px;
	}

	.mu-meta li {
		padding: 0;
		border-left: 0;
	}

	.mu-layout {
		padding-top: 40px;
	}

	.mu-article-body {
		font-size: 1rem;
	}

	.mu-article-body .mu-lead {
		font-size: 1.14rem;
	}

	.mu-article-body blockquote,
	.mu-article-body .wp-block-quote {
		padding-left: 18px;
		font-size: 1.14rem;
	}

	.mu-article-body .alignleft,
	.mu-article-body .alignright {
		float: none;
		max-width: 100%;
		margin: 1.5em 0;
	}

	.mu-table-scroll table {
		min-width: 580px;
	}

	.mu-article-body th,
	.mu-article-body td {
		padding: 10px 12px;
		font-size: 14px;
	}

	.mu-inline-cta {
		padding: 28px 20px 22px;
	}

	.mu-inline-cta .mu-btn {
		width: 100%;
	}

	.mu-bottom-line {
		padding: 34px 20px 24px;
	}

	.mu-related {
		padding: 50px 0 58px;
	}

	.mu-related__grid,
	.mu-related__grid--4 {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.mu-author {
		flex-direction: column;
		gap: 16px;
		padding-top: 46px;
		padding-bottom: 46px;
	}

	.mu-author__img,
	.mu-author__media img {
		width: 76px;
		height: 76px;
	}

	.mu-cta {
		padding-bottom: 96px;
	}

	.mu-cta__panel {
		padding: 46px 22px 26px;
	}

	.mu-cta__card {
		padding: 20px;
	}

	/* Quote bar pinned to the bottom of the phone screen */
	.mu-sticky-cta {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		display: block;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--mu-panel);
		box-shadow: 0 -8px 24px -12px rgba(38, 34, 31, 0.6);
		transform: translateY(110%);
		transition: transform 0.25s ease;
	}

	.mu-sticky-cta.is-visible {
		transform: none;
	}

	.mu-sticky-cta .mu-btn {
		width: 100%;
		padding: 13px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mu-card,
	.mu-card__media img,
	.mu-btn,
	.mu-sticky-cta,
	.mu-toc--inline summary::after {
		transition: none;
	}

	.mu-card:hover .mu-card__media img {
		transform: none;
	}
}

@media print {
	.mu-progress,
	.mu-sidebar,
	.mu-toc,
	.mu-related,
	.mu-cta,
	.mu-inline-cta,
	.mu-share,
	.mu-sticky-cta {
		display: none !important;
	}

	.mu-hero {
		background: none;
		color: #000;
	}
}
