/*
Theme Name: Moppery
Theme URI: https://moppery.com/
Author: Moppery
Description: A classic WordPress theme for moppery.com: a real oak floor across the top, a real flat mop gliding in with a wet trail, a floating pill header, "Skip ahead" jump chips in articles and an oak-floor footer. Cleaning how-to shortcodes (What you'll need, steps, warnings, tips, mix calculator, charts), custom widgets, local fonts, no jQuery on the front end.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moppery
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--mpy-bg: #FFFFFF;
	--mpy-ink: #17140F;
	--mpy-text: #2E2820;
	--mpy-muted: #5D5446;
	--mpy-line: #E5DDD0;
	--mpy-soft: #EFE8DD;
	--mpy-oak: #D8C3A3;
	--mpy-oak-ink: #2B241A;
	--mpy-accent: #0F5257;
	--mpy-accent-hover: #093538;
	--mpy-accent-soft: #E3EEEE;
	--mpy-warn-bg: #FBEFDC;
	--mpy-warn-ink: #8A4B00;
	--mpy-on-dark: #FFFFFF;
	--mpy-on-dark-muted: #CFC6B8;
	--mpy-c1: #0F5257;
	--mpy-c2: #A9773A;
	--mpy-c3: #17140F;
	--mpy-c4: #6E9C9F;
	--mpy-c5: #CBB28C;
	--mpy-font: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--mpy-wrap: 1200px;
	--mpy-col: 720px;
	--mpy-gutter: 24px;
	--mpy-r-sm: 12px;
	--mpy-r: 18px;
	--mpy-r-lg: 24px;
	--mpy-r-xl: 28px;
	--mpy-pill: 999px;
	--mpy-shadow-pill: 0 10px 30px rgba(60, 40, 15, 0.14);
	--mpy-floor: url("assets/img/floor.webp");
	--mpy-logo-h: 40px;
	--mpy-logo-h-phone: 32px;
	--mpy-text-logo: 26px;
	--mpy-foot-logo-h: 64px;
	--mpy-phone-logo-h: 34px;
	--mpy-head-h: 84px;
}
.mpy-system-fonts { --mpy-font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--mpy-bg);
	color: var(--mpy-text);
	font-family: var(--mpy-font);
	font-size: 18px;
	line-height: 1.6;
	overflow-x: hidden;
}
body.mpy-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--mpy-accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--mpy-accent-hover); }
h1, h2, h3, h4, h5, h6 { color: var(--mpy-ink); font-family: var(--mpy-font); line-height: 1.12; letter-spacing: -0.03em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mpy-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--mpy-ink); color: #fff; }
#top { position: absolute; top: 0; }
#top:focus { outline: none; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.mpy-skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0;
	top: 12px; left: 12px; z-index: 1000; padding: 12px 18px;
	background: var(--mpy-ink); color: #fff; border-radius: var(--mpy-pill); font-weight: 700; text-decoration: none;
}

.mpy-wrap { width: 100%; max-width: calc(var(--mpy-wrap) + 2 * var(--mpy-gutter)); margin: 0 auto; padding: 0 var(--mpy-gutter); }
.mpy-main { display: block; }

/* ==========================================================================
   3. Buttons, pills, icons, labels
   ========================================================================== */
.mpy-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--mpy-pill);
	font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s ease, color .15s ease;
}
.mpy-btn--accent { background: var(--mpy-accent); color: #fff; }
.mpy-btn--accent:hover { background: var(--mpy-accent-hover); color: #fff; }
.mpy-btn--ink { background: var(--mpy-ink); color: #fff; }
.mpy-btn--ink:hover { background: #000; color: #fff; }
.mpy-btn--block { display: flex; width: 100%; }
.mpy-round {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px;
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mpy-line); background: #fff; color: var(--mpy-ink); cursor: pointer;
}
.mpy-round:hover { border-color: var(--mpy-ink); }
.mpy-icon { flex: 0 0 auto; display: inline-block; vertical-align: middle; }

.mpy-kicker {
	display: inline-block; margin: 0 0 8px; color: var(--mpy-accent);
	font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; line-height: 1.3;
}
a.mpy-kicker:hover { text-decoration: underline; }
.mpy-badge {
	display: inline-flex; align-items: center; padding: 5px 11px; border-radius: var(--mpy-pill);
	background: var(--mpy-ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.mpy-meta { margin: 0; color: var(--mpy-muted); font-size: 14px; }
.mpy-more { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.mpy-more:hover { text-decoration: underline; }
.mpy-hl { color: var(--mpy-accent); }

.mpy-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mpy-pills a {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid var(--mpy-line);
	border-radius: var(--mpy-pill); color: var(--mpy-ink); font-size: 15px; font-weight: 600; text-decoration: none; background: #fff;
}
.mpy-pills a:hover { border-color: var(--mpy-ink); }
.mpy-pills a span { color: var(--mpy-muted); font-weight: 500; }

.mpy-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mpy-social a {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 50%; border: 1px solid var(--mpy-line); color: var(--mpy-ink); background: #fff;
}
.mpy-social a:hover { border-color: var(--mpy-ink); }

/* ==========================================================================
   4. The oak floor
   ========================================================================== */
.mpy-floor {
	background-color: var(--mpy-oak);
	background-image: var(--mpy-floor);
	background-size: 1536px auto;
	background-position: center top;
	background-repeat: repeat;
}
.mpy-top { position: relative; overflow: hidden; }
.mpy-top--band { padding-bottom: 26px; }

/* ==========================================================================
   5. Header: floor pill
   ========================================================================== */
.mpy-head { position: relative; z-index: 30; min-height: var(--mpy-head-h); }
.mpy-head__inner { max-width: calc(var(--mpy-wrap) + 2 * var(--mpy-gutter)); margin: 0 auto; padding: 20px var(--mpy-gutter) 0; }
.mpy-pill {
	display: flex; align-items: center; gap: 20px; min-height: 60px;
	padding: 8px 8px 8px 24px; background: rgba(255, 255, 255, 0.96); border-radius: var(--mpy-pill); box-shadow: var(--mpy-shadow-pill);
}
.mpy-logo { display: flex; align-items: center; gap: 12px; margin: 0; min-width: 0; flex: 0 0 auto; }
.mpy-logo__link { display: inline-flex; align-items: center; gap: 10px; color: var(--mpy-ink); text-decoration: none; }
.mpy-logo__img { display: block; width: auto; height: var(--mpy-logo-h); max-width: 220px; object-fit: contain; }
.mpy-logo__text { font-size: var(--mpy-text-logo); font-weight: 900; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.mpy-logo__tag { font-size: 13px; color: var(--mpy-muted); padding-left: 12px; border-left: 1px solid var(--mpy-line); white-space: nowrap; }
.mpy-logo__tag.no-divider { border-left: 0; padding-left: 0; }

.mpy-pill__nav { flex: 1 1 auto; min-width: 0; }
.mpy-pill__menu { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mpy-pill__menu > li { position: relative; }
.mpy-pill__menu a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--mpy-pill);
	color: var(--mpy-ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.mpy-pill__menu a:hover { background: var(--mpy-soft); }
.mpy-pill__menu > .current-menu-item > a,
.mpy-pill__menu > .current-menu-ancestor > a,
.mpy-pill__menu > .current-post-ancestor > a { background: var(--mpy-ink); color: #fff; }
.mpy-pill__menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; display: none; min-width: 220px;
	margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: var(--mpy-r); box-shadow: var(--mpy-shadow-pill);
}
.mpy-pill__menu li:hover > .sub-menu, .mpy-pill__menu li:focus-within > .sub-menu { display: block; }
.mpy-pill__menu .sub-menu a { display: flex; width: 100%; border-radius: var(--mpy-r-sm); }
.mpy-pill__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mpy-pill__menu-btn { display: none; }

.mpy-search-panel {
	margin: 10px 0 0 auto; max-width: 520px; padding: 10px; background: #fff; border-radius: var(--mpy-r-lg); box-shadow: var(--mpy-shadow-pill);
}
.mpy-search { display: flex; align-items: center; gap: 8px; }
.mpy-search__input {
	flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid var(--mpy-line); border-radius: var(--mpy-pill); background: #fff;
}
.mpy-search__input:focus { border-color: var(--mpy-ink); outline: none; box-shadow: 0 0 0 3px var(--mpy-accent-soft); }
.mpy-search__btn {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; border: 0;
	border-radius: 50%; background: var(--mpy-ink); color: #fff; cursor: pointer;
}

/* Pinned once the header scrolls away */
.mpy-stuck .mpy-head__inner {
	position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding-top: 10px;
	animation: mpyDrop .28s ease-out both;
}
@keyframes mpyDrop { from { transform: translateY(-110%); } to { transform: translateY(0); } }
.admin-bar.mpy-stuck .mpy-head__inner { top: 32px; }
@media (max-width: 782px) { .admin-bar.mpy-stuck .mpy-head__inner { top: 46px; } }
@media (max-width: 600px) { .admin-bar.mpy-stuck .mpy-head__inner { top: 0; } }

/* Section strip (phones and tablets) */
.mpy-strip { display: none; border-bottom: 1px solid var(--mpy-line); background: #fff; }
.mpy-strip__list {
	display: flex; gap: 6px; margin: 0; padding: 12px var(--mpy-gutter); list-style: none; overflow-x: auto; scrollbar-width: none;
}
.mpy-strip__list::-webkit-scrollbar { display: none; }
.mpy-strip__list a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid var(--mpy-line);
	border-radius: var(--mpy-pill); color: var(--mpy-ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.mpy-strip__list .current-menu-item > a, .mpy-strip__list .current-post-ancestor > a { background: var(--mpy-ink); border-color: var(--mpy-ink); color: #fff; }

/* Classic header (fallback) */
.mpy-classic { position: relative; z-index: 30; min-height: 76px; background: #fff; border-bottom: 1px solid var(--mpy-line); }
.mpy-classic__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; background: #fff; }
.mpy-classic__nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.mpy-classic__menu { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.mpy-classic__menu a { color: var(--mpy-ink); font-weight: 600; font-size: 16px; text-decoration: none; }
.mpy-classic__menu a:hover, .mpy-classic__menu .current-menu-item > a { color: var(--mpy-accent); }
.mpy-classic__menu .sub-menu { display: none; }
.mpy-classic .mpy-pill__actions { margin-left: 0; }
.mpy-stuck .mpy-classic__inner { position: fixed; top: 0; left: 0; right: 0; max-width: none; z-index: 60; border-bottom: 1px solid var(--mpy-line); padding-left: max(var(--mpy-gutter), calc((100vw - var(--mpy-wrap)) / 2)); padding-right: max(var(--mpy-gutter), calc((100vw - var(--mpy-wrap)) / 2)); animation: mpyDrop .28s ease-out both; }

/* ==========================================================================
   6. Hero: the mop on the oak floor
   ========================================================================== */
.mpy-hero { position: relative; min-height: 540px; }
.mpy-top--classic .mpy-hero { min-height: 520px; }
.mpy-hero__inner { position: relative; z-index: 3; display: flex; justify-content: flex-end; padding-top: 72px; padding-bottom: 110px; }
.mpy-hero__text { width: 560px; max-width: 100%; }
.mpy-hero__kicker {
	display: inline-block; margin: 0 0 18px; padding: 7px 13px; border-radius: var(--mpy-pill); background: #fff;
	color: var(--mpy-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.mpy-hero__title { margin: 0; color: var(--mpy-ink); font-size: clamp(40px, 5.4vw, 68px); line-height: 0.98; font-weight: 900; letter-spacing: -0.05em; }
.mpy-hero__sub { margin: 20px 0 0; max-width: 500px; color: var(--mpy-oak-ink); font-size: 20px; line-height: 1.5; }

.mpy-hero__mop {
	position: absolute; z-index: 2; left: -150px; bottom: 26px; width: 660px; height: auto; pointer-events: none;
	filter: drop-shadow(0 14px 14px rgba(60, 35, 10, 0.28));
}
.mpy-hero__trail {
	position: absolute; z-index: 1; left: 0; bottom: 30px; height: 74px; width: 470px; border-radius: 0 40px 40px 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.34) 36%, rgba(255,255,255,0.12) 62%, rgba(110,70,30,0.14) 100%);
	filter: blur(1.5px); opacity: 0;
}
.mpy-hero--glide .mpy-hero__mop { animation: mpyGlide 2.4s cubic-bezier(.3,.7,.25,1) .2s both, mpyNudge 9s ease-in-out 4s infinite; }
.mpy-hero--once .mpy-hero__mop { animation: mpyGlide 2.4s cubic-bezier(.3,.7,.25,1) .2s both; }
.mpy-hero--glide .mpy-hero__trail, .mpy-hero--once .mpy-hero__trail { animation: mpyWet 2.4s cubic-bezier(.3,.7,.25,1) .2s both, mpyDry 7s ease-in 3.2s forwards; }
@keyframes mpyGlide { from { transform: translateX(-80%); } to { transform: translateX(0); } }
@keyframes mpyNudge { 0%, 70%, 100% { transform: translateX(0); } 78% { transform: translateX(-34px); } 86% { transform: translateX(6px); } 92% { transform: translateX(0); } }
@keyframes mpyWet { from { clip-path: inset(0 100% 0 0); opacity: 1; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes mpyDry { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.mpy-hero__mop, .mpy-hero__trail { animation: none !important; }
	.mpy-hero__trail { display: none; }
	.mpy-stuck .mpy-head__inner, .mpy-stuck .mpy-classic__inner { animation: none; }
}

/* ==========================================================================
   7. Homepage
   ========================================================================== */
.mpy-home { padding-bottom: 32px; }
.mpy-top-stories { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-top: 56px; padding-bottom: 24px; }
.mpy-top-stories.is-solo { grid-template-columns: minmax(0, 1fr); }
.mpy-top-stories.is-solo .mpy-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 40px; align-items: center; }
.mpy-top-stories.is-solo .mpy-lead__media { grid-row: span 5; margin: 0; }

.mpy-lead__media { display: block; margin-bottom: 20px; border-radius: 20px; overflow: hidden; background: var(--mpy-soft); aspect-ratio: 16 / 9; }
.mpy-lead__media .mpy-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mpy-lead__media:hover .mpy-img { transform: scale(1.02); }
.mpy-lead__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 10px; }
.mpy-lead__labels .mpy-kicker { margin: 0; }
.mpy-lead__title { margin: 0; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; }
.mpy-lead__title a { color: var(--mpy-ink); text-decoration: none; }
.mpy-lead__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.mpy-lead__excerpt { margin: 12px 0 14px; font-size: 18px; line-height: 1.6; color: var(--mpy-text); }

.mpy-section-title { margin: 0 0 20px; font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.mpy-section-title--sm { font-size: 22px; margin-bottom: 8px; }
.mpy-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.mpy-section-head .mpy-section-title { margin: 0; }
.mpy-count { display: inline-flex; min-width: 28px; height: 28px; align-items: center; justify-content: center; padding: 0 8px; border-radius: var(--mpy-pill); background: var(--mpy-soft); font-size: 15px; vertical-align: middle; letter-spacing: 0; }

.mpy-rows { display: flex; flex-direction: column; }
.mpy-row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--mpy-line); }
.mpy-row__media { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--mpy-soft); display: block; }
.mpy-row__media .mpy-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpy-row__body { min-width: 0; }
.mpy-row__body .mpy-kicker { font-size: 12px; margin-bottom: 4px; }
.mpy-row__title { margin: 0 0 4px; font-size: 18px; line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; }
.mpy-row__title a { color: var(--mpy-ink); text-decoration: none; }
.mpy-row__title a:hover { text-decoration: underline; }
.mpy-row .mpy-meta { font-size: 13px; }

.mpy-img--empty { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--mpy-soft); color: #A08F78; }

.mpy-band { padding: 32px 0; }
.mpy-band .widget { margin: 0; }

.mpy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 40px; padding-bottom: 56px; }
.mpy-sidebar-left .mpy-layout { grid-template-columns: 320px minmax(0, 1fr); }
.mpy-sidebar-left .mpy-layout__side { order: -1; }
.mpy-sidebar-none .mpy-layout { grid-template-columns: minmax(0, 1fr); }
.mpy-layout__main { min-width: 0; }

.mpy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
.mpy-sidebar-none .mpy-grid, .mpy-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mpy-card { min-width: 0; }
.mpy-card__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--mpy-r); overflow: hidden; background: var(--mpy-soft); margin-bottom: 14px; }
.mpy-card__media .mpy-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.mpy-card__media:hover .mpy-img { transform: scale(1.03); }
.mpy-card .mpy-kicker { font-size: 12px; margin-bottom: 6px; }
.mpy-card__title { margin: 0; font-size: 21px; line-height: 1.18; font-weight: 700; letter-spacing: -0.025em; }
.mpy-card__title a { color: var(--mpy-ink); text-decoration: none; }
.mpy-card__title a:hover { text-decoration: underline; }
.mpy-card__excerpt { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: var(--mpy-muted); }

.mpy-catrow { padding-top: 24px; padding-bottom: 48px; border-top: 1px solid var(--mpy-line); }
.mpy-catrow .mpy-section-head { padding-top: 32px; }

/* ==========================================================================
   8. Sidebar and widgets
   ========================================================================== */
.mpy-sidebar { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.widget { margin: 0; font-size: 16px; }
.widget-title { margin: 0 0 14px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.widget ul, .widget ol { margin: 0; padding: 0; list-style: none; }
.widget p { margin: 0 0 12px; }

.mpy-w-about { position: relative; padding: 38px 24px 24px; border: 1px solid var(--mpy-line); border-radius: var(--mpy-r-lg); overflow: hidden; background: #fff; }
.mpy-w-about::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 16px; background: var(--mpy-oak) var(--mpy-floor) center / 900px auto; }
.mpy-w-about p { color: var(--mpy-text); line-height: 1.55; }

.mpy-ranked { counter-reset: none; }
.mpy-ranked li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--mpy-line); }
.mpy-ranked li:first-child { border-top: 0; padding-top: 0; }
.mpy-ranked__n { flex: 0 0 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--mpy-ink); color: #fff; font-weight: 800; font-size: 15px; }
.mpy-ranked a { color: var(--mpy-ink); font-weight: 700; line-height: 1.3; text-decoration: none; letter-spacing: -0.01em; }
.mpy-ranked a:hover { text-decoration: underline; }

.mpy-w-author { padding: 24px; border: 1px solid var(--mpy-line); border-radius: var(--mpy-r-lg); container-type: inline-size; }
.mpy-w-author__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.mpy-w-author__who { min-width: 0; }
.mpy-w-author__name { margin: 0; font-size: 19px; font-weight: 800; color: var(--mpy-ink); letter-spacing: -0.02em; line-height: 1.2; }
.mpy-w-author__line { margin: 2px 0 0; font-size: 14px; color: var(--mpy-muted); }
.mpy-w-author__bio { color: var(--mpy-text); line-height: 1.55; }
.mpy-w-author__links { margin: 0 0 16px !important; display: flex; flex-direction: column; gap: 6px; }
.mpy-w-author__links a { font-weight: 700; text-decoration: none; }
.mpy-w-author__links a:hover { text-decoration: underline; }
.mpy-w-author .mpy-social { margin-top: 14px; }
@container (max-width: 250px) { .mpy-w-author__head { flex-direction: column; align-items: flex-start; } }

.mpy-avatar { display: inline-block; flex: 0 0 auto; overflow: hidden; border-radius: 50%; background: var(--mpy-soft); }
.mpy-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mpy-avatar--sm { flex-basis: 44px; width: 44px; height: 44px; }
.mpy-avatar--md { flex-basis: 64px; width: 64px; height: 64px; }
.mpy-avatar--lg { flex-basis: 96px; width: 96px; height: 96px; }
.mpy-avatar.is-square { border-radius: 16px; }
.mpy-avatar__ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; color: var(--mpy-ink); }

/* ==========================================================================
   9. Archives, search, 404
   ========================================================================== */
.mpy-archive-head { padding: 48px 0 0; }
.mpy-archive-head__title { margin: 0; font-size: clamp(36px, 4.6vw, 56px); line-height: 1; font-weight: 900; letter-spacing: -0.05em; }
.mpy-archive-head__desc { max-width: 680px; margin-top: 14px; color: var(--mpy-muted); font-size: 19px; }
.mpy-archive-head__desc p { margin: 0; }
.mpy-archive-head__search { max-width: 560px; margin-top: 20px; }
.mpy-none { padding: 8px 0 24px; }
.mpy-none__title { margin: 0 0 8px; font-size: 28px; font-weight: 800; }
.mpy-none .mpy-search { max-width: 520px; margin: 18px 0; }
.mpy-404__inner { max-width: 960px; padding-top: 56px; padding-bottom: 72px; }
.mpy-404__text { max-width: 620px; font-size: 19px; color: var(--mpy-text); }
.mpy-404 .mpy-search { max-width: 520px; margin: 24px 0; }
.mpy-404 .mpy-pills { margin-bottom: 56px; }

.mpy-pages { margin-top: 48px; }
.mpy-pages .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mpy-pages .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border: 1px solid var(--mpy-line); border-radius: var(--mpy-pill); color: var(--mpy-ink); font-weight: 700; text-decoration: none;
}
.mpy-pages .page-numbers.current { background: var(--mpy-ink); border-color: var(--mpy-ink); color: #fff; }
.mpy-pages a.page-numbers:hover { border-color: var(--mpy-ink); }

/* ==========================================================================
   10. Articles
   ========================================================================== */
.mpy-single { padding-bottom: 24px; }
.mpy-article { width: 100%; max-width: var(--mpy-col); margin: 0 auto; padding-top: 40px; padding-bottom: 32px; }
.mpy-layout .mpy-article { margin: 0; padding-top: 0; }
.mpy-single .mpy-layout { padding-top: 40px; }
.mpy-single--wide .mpy-article { max-width: 880px; }

.mpy-crumbs { margin: 0 0 18px; font-size: 14px; color: var(--mpy-muted); }
.mpy-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mpy-crumbs a { color: var(--mpy-muted); text-decoration: none; }
.mpy-crumbs a:hover { color: var(--mpy-ink); text-decoration: underline; }
.mpy-crumbs__sep { margin: 0 6px; color: var(--mpy-line); color: #B7AB97; }
.mpy-crumbs [aria-current] { color: var(--mpy-ink); }

.mpy-entry-title { margin: 0 0 14px; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.03; font-weight: 900; letter-spacing: -0.05em; }
.mpy-dek { margin: 0 0 22px; font-size: 21px; line-height: 1.5; color: var(--mpy-muted); }
.mpy-byline { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--mpy-line); border-bottom: 1px solid var(--mpy-line); }
.mpy-byline__text { min-width: 0; }
.mpy-byline p { margin: 0; }
.mpy-byline__who { font-weight: 700; color: var(--mpy-ink); font-size: 16px; }
.mpy-byline__who a { color: var(--mpy-ink); text-decoration: none; }
.mpy-byline__who a:hover { text-decoration: underline; }
.mpy-byline__when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; color: var(--mpy-muted); }
.mpy-byline__when .mpy-icon { margin-right: 4px; vertical-align: -3px; }
.mpy-updated { color: var(--mpy-accent); font-weight: 700; }

.mpy-featured { margin: 28px 0 8px; }
.mpy-featured img { display: block; width: 100%; height: auto; border-radius: 20px; }
.mpy-featured figcaption { margin-top: 8px; font-size: 14px; color: var(--mpy-muted); }

/* Skip ahead */
.mpy-skip {
	position: sticky; top: 10px; z-index: 20; display: flex; align-items: center; gap: 12px;
	margin: 22px 0 6px; padding: 8px 8px 8px 16px; background: rgba(255,255,255,0.96); border: 1px solid var(--mpy-line); border-radius: var(--mpy-pill);
	transition: box-shadow .2s ease, top .2s ease;
}
.mpy-stuck .mpy-skip { top: calc(var(--mpy-head-h) - 4px); }
.admin-bar .mpy-skip { top: 42px; }
.admin-bar.mpy-stuck .mpy-skip { top: calc(var(--mpy-head-h) + 28px); }
.mpy-skip.is-pinned { box-shadow: var(--mpy-shadow-pill); border-color: transparent; }
.mpy-skip__label { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mpy-ink); }
.mpy-skip__rail { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.mpy-skip__rail::-webkit-scrollbar { display: none; }
.mpy-skip__chip {
	flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--mpy-pill);
	background: var(--mpy-soft); color: var(--mpy-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; scroll-snap-align: start;
	transition: background-color .2s ease, color .2s ease;
}
.mpy-skip__chip:hover { background: #E3D8C6; color: var(--mpy-ink); }
.mpy-skip__chip.is-sub { background: transparent; border: 1px dashed var(--mpy-line); font-weight: 500; }
.mpy-skip__chip.is-current { background: var(--mpy-ink); color: #fff; }
.mpy-skip__sentinel { display: block; height: 0; }
.entry-content .mpy-skip { margin: 28px 0; }

/* Prose */
.mpy-prose { margin-top: 28px; font-size: 19px; line-height: 1.72; color: var(--mpy-text); overflow-wrap: break-word; }
.mpy-prose > :first-child { margin-top: 0; }
.mpy-prose :where(p, ul, ol, dl, pre, table, figure, blockquote) { margin: 0 0 1.2em; }
.mpy-prose :where(h2, h3, h4) { scroll-margin-top: 150px; }
.mpy-prose :where(h2) { margin: 1.9em 0 0.55em; font-size: 31px; font-weight: 800; letter-spacing: -0.035em; }
.mpy-prose :where(h3) { margin: 1.6em 0 0.5em; font-size: 23px; font-weight: 800; letter-spacing: -0.025em; }
.mpy-prose :where(h4) { margin: 1.4em 0 0.4em; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.mpy-prose :where(ul, ol) { padding-left: 1.3em; }
.mpy-prose :where(li) { margin: 0.35em 0; }
.mpy-prose :where(li)::marker { color: var(--mpy-accent); font-weight: 700; }
.mpy-prose :where(a) { text-decoration: underline; }
.mpy-prose :where(strong) { color: var(--mpy-ink); }
.mpy-prose :where(blockquote) { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--mpy-oak); font-size: 22px; line-height: 1.5; color: var(--mpy-ink); font-weight: 500; }
.mpy-prose :where(hr) { border: 0; height: 14px; margin: 2.2em 0; background: var(--mpy-oak) var(--mpy-floor) center / 900px auto; border-radius: var(--mpy-pill); }
.mpy-prose :where(code) { padding: 2px 6px; border-radius: 6px; background: var(--mpy-soft); font-size: 0.9em; }
.mpy-prose :where(pre) { padding: 18px; overflow-x: auto; border-radius: var(--mpy-r-sm); background: var(--mpy-ink); color: #fff; font-size: 15px; }
/* Media never wider than the text column */
.mpy-prose :where(img, video, iframe, embed, object, figure, .wp-caption, .wp-block-embed, .wp-block-image, .wp-video, .alignwide, .alignfull) { max-width: 100%; }
.mpy-prose :where(img) { height: auto; border-radius: 14px; }
.mpy-prose :where(.alignwide, .alignfull) { width: 100%; margin-left: 0; margin-right: 0; }
.mpy-prose :where(.wp-caption) { width: auto !important; }
.mpy-prose :where(.wp-caption-text, figcaption) { margin-top: 8px; font-size: 14px; color: var(--mpy-muted); line-height: 1.45; }
.mpy-prose :where(.aligncenter) { display: block; margin-left: auto; margin-right: auto; }
.mpy-prose :where(.alignleft) { float: left; margin: 0.3em 1.4em 1em 0; max-width: 50%; }
.mpy-prose :where(.alignright) { float: right; margin: 0.3em 0 1em 1.4em; max-width: 50%; }
.mpy-prose :where(iframe) { width: 100%; border: 0; border-radius: 14px; }
.mpy-prose :where(iframe[src*="youtube"], iframe[src*="vimeo"]) { aspect-ratio: 16 / 9; height: auto; }
.mpy-prose :where(table) { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 16px; }
.mpy-prose :where(th, td) { padding: 10px 14px; border-bottom: 1px solid var(--mpy-line); text-align: left; vertical-align: top; }
.mpy-prose :where(th) { color: var(--mpy-ink); font-weight: 800; background: var(--mpy-soft); }
.mpy-prose::after { content: ""; display: table; clear: both; }

/* Boxes */
.mpy-box { margin: 1.6em 0; padding: 22px 24px; border-radius: var(--mpy-r); font-size: 17px; line-height: 1.6; }
.mpy-box > :last-child { margin-bottom: 0; }
.mpy-box p { margin: 0 0 0.8em; }
.mpy-box__title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px !important; color: var(--mpy-ink); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.mpy-need { background: var(--mpy-soft); }
.mpy-need ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.mpy-need li { position: relative; margin: 0; padding-left: 26px; }
.mpy-need li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 12px; border-radius: 4px; border: 2px solid var(--mpy-ink); }
.mpy-warn { background: var(--mpy-warn-bg); color: var(--mpy-ink); }
.mpy-warn .mpy-box__title { color: var(--mpy-warn-ink); }
.mpy-tip { background: var(--mpy-accent-soft); }
.mpy-tip .mpy-box__title { color: var(--mpy-accent); }

.mpy-steps { margin: 1.8em 0; }
.mpy-steps__title { margin: 0 0 12px !important; font-size: 20px; font-weight: 800; color: var(--mpy-ink); }
.mpy-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: mpystep; }
.mpy-step { position: relative; margin: 0; padding: 0 0 22px 58px; counter-increment: mpystep; }
.mpy-step::before {
	content: counter(mpystep); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: var(--mpy-ink); color: #fff; font-weight: 800; font-size: 17px;
}
.mpy-step::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; background: var(--mpy-line); }
.mpy-step:last-child::after { display: none; }
.mpy-step__title { margin: 6px 0 6px !important; color: var(--mpy-ink); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.mpy-step__text > :last-child { margin-bottom: 0; }
.mpy-step__text p { margin: 0 0 0.6em; }

.mpy-stat { margin: 1.6em 0; padding: 24px; border: 1px solid var(--mpy-line); border-radius: var(--mpy-r); }
.mpy-stat p { margin: 0; }
.mpy-stat__value { color: var(--mpy-accent); font-size: 52px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.mpy-stat__label { margin-top: 8px !important; color: var(--mpy-ink); font-weight: 700; font-size: 18px; line-height: 1.35; }
.mpy-stat__note { margin-top: 6px !important; color: var(--mpy-muted); font-size: 15px; }
.mpy-source { margin: 12px 0 0 !important; font-size: 13px; color: var(--mpy-muted); line-height: 1.4; }
.mpy-source a { color: var(--mpy-muted); }

/* Charts */
.mpy-chart { margin: 1.8em 0; padding: 22px 24px; border: 1px solid var(--mpy-line); border-radius: var(--mpy-r); }
.mpy-chart__title { margin: 0 0 16px !important; color: var(--mpy-ink); font-size: 18px; font-weight: 800; line-height: 1.3; }
.mpy-chart__note { margin: 12px 0 0 !important; font-size: 15px; color: var(--mpy-muted); }
.mpy-hbars { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.mpy-hbar { display: grid; grid-template-columns: minmax(90px, 32%) minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0 !important; font-size: 15px; }
.mpy-hbar__label { color: var(--mpy-ink); font-weight: 600; line-height: 1.25; }
.mpy-hbar__track { height: 14px; border-radius: var(--mpy-pill); background: var(--mpy-soft); overflow: hidden; }
.mpy-hbar__fill { display: block; height: 100%; width: var(--w); border-radius: var(--mpy-pill); background: #8A7B66; transition: width .9s cubic-bezier(.3,.7,.25,1); }
.mpy-hbar.is-hl .mpy-hbar__fill { background: var(--mpy-accent); }
.mpy-hbar.is-muted .mpy-hbar__fill { background: #D3C7B4; }
.mpy-hbar__val { font-weight: 800; color: var(--mpy-ink); font-variant-numeric: tabular-nums; }
.mpy-hbar.is-hl .mpy-hbar__val { color: var(--mpy-accent); }
.mpy-js-charts .mpy-chart:not(.is-in) .mpy-hbar__fill { width: 0; }
.mpy-bars { display: flex; align-items: flex-end; gap: 12px; height: 240px; }
.mpy-bar { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mpy-bar__col { flex: 1 1 auto; width: 100%; display: flex; align-items: flex-end; }
.mpy-bar__fill { display: block; width: 100%; height: var(--h); border-radius: 10px 10px 4px 4px; background: #8A7B66; transition: height .9s cubic-bezier(.3,.7,.25,1); }
.mpy-bar.is-hl .mpy-bar__fill { background: var(--mpy-accent); }
.mpy-bar.is-muted .mpy-bar__fill { background: #D3C7B4; }
.mpy-js-charts .mpy-chart:not(.is-in) .mpy-bar__fill { height: 0; }
.mpy-bar__val { font-size: 14px; font-weight: 800; color: var(--mpy-ink); }
.mpy-bar__label { font-size: 13px; color: var(--mpy-muted); text-align: center; line-height: 1.25; }
.mpy-line { width: 100%; height: auto; overflow: visible; }
.mpy-line__axis { stroke: var(--mpy-line); stroke-width: 2; }
.mpy-line__path { fill: none; stroke: var(--mpy-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mpy-line__dot { fill: #fff; stroke: var(--mpy-accent); stroke-width: 3; }
.mpy-line__dot.is-hl { fill: var(--mpy-accent); }
.mpy-line__val { font-size: 14px; font-weight: 800; fill: var(--mpy-ink); }
.mpy-line__lab { font-size: 13px; fill: var(--mpy-muted); }
.mpy-donut { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.mpy-donut svg { flex: 0 0 160px; width: 160px; height: 160px; transform: rotate(-90deg); }
.mpy-donut__track { fill: none; stroke: var(--mpy-soft); stroke-width: 6; }
.mpy-donut__seg { fill: none; stroke-width: 6; }
.mpy-donut__seg.c1, .mpy-dot.c1 { stroke: var(--mpy-c1); background: var(--mpy-c1); }
.mpy-donut__seg.c2, .mpy-dot.c2 { stroke: var(--mpy-c2); background: var(--mpy-c2); }
.mpy-donut__seg.c3, .mpy-dot.c3 { stroke: var(--mpy-c3); background: var(--mpy-c3); }
.mpy-donut__seg.c4, .mpy-dot.c4 { stroke: var(--mpy-c4); background: var(--mpy-c4); }
.mpy-donut__seg.c5, .mpy-dot.c5 { stroke: var(--mpy-c5); background: var(--mpy-c5); }
.mpy-donut__legend { flex: 1 1 200px; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.mpy-donut__legend li { display: flex; align-items: center; gap: 8px; margin: 0; }
.mpy-donut__legend strong { margin-left: auto; color: var(--mpy-ink); }
.mpy-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: 0 0 12px; }

/* Mix calculator */
.mpy-mix { margin: 1.8em 0; padding: 22px 24px; border-radius: var(--mpy-r); background: var(--mpy-accent-soft); font-size: 16px; }
.mpy-mix p { margin: 0; }
.mpy-mix__title { display: flex; align-items: center; gap: 10px; color: var(--mpy-ink); font-size: 18px; font-weight: 800; }
.mpy-mix__rule { margin-top: 4px !important; color: var(--mpy-text); font-size: 15px; }
.mpy-mix__field { display: grid; gap: 8px; margin: 16px 0 12px; color: var(--mpy-ink); font-weight: 700; font-size: 15px; }
.mpy-mix__field input { width: 100%; accent-color: var(--mpy-accent); height: 28px; }
.mpy-mix__out { font-size: 20px; color: var(--mpy-ink); }
.mpy-mix__out strong { color: var(--mpy-accent); font-weight: 900; }
.mpy-mix__note { margin-top: 10px !important; font-size: 14px; color: var(--mpy-muted); }
.mpy-sidebar .mpy-mix { margin: 0; }

.mpy-sources { margin: 2em 0 0; padding-top: 18px; border-top: 1px solid var(--mpy-line); font-size: 15px; }
.mpy-sources__title { margin: 0 0 8px !important; color: var(--mpy-ink); font-weight: 800; font-size: 16px; }
.mpy-sources ol { margin: 0; padding-left: 1.2em; }

/* After the article */
.mpy-entry-foot { margin-top: 36px; }
.mpy-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.mpy-tags a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 14px; border-radius: var(--mpy-pill); background: var(--mpy-soft); color: var(--mpy-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.mpy-tags a:hover { background: #E3D8C6; }
.mpy-after-post { margin-bottom: 28px; }
.mpy-author { display: flex; gap: 22px; align-items: flex-start; margin: 0 0 28px; padding: 28px; border-radius: var(--mpy-r-lg); background: var(--mpy-soft); }
.mpy-author__body { min-width: 0; }
.mpy-author__label { margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mpy-accent); }
.mpy-author__name { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.mpy-author__bio { margin: 0 0 12px; font-size: 17px; line-height: 1.55; color: var(--mpy-text); }
.mpy-author__links { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.mpy-author__links span { color: var(--mpy-muted); }
.mpy-author__links a { text-decoration: none; }
.mpy-author__links a:hover { text-decoration: underline; }

.mpy-postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 36px; }
.mpy-postnav a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--mpy-line); border-radius: var(--mpy-r); color: var(--mpy-ink); text-decoration: none; }
.mpy-postnav a:hover { border-color: var(--mpy-ink); }
.mpy-postnav span { font-size: 13px; font-weight: 700; color: var(--mpy-accent); }
.mpy-postnav strong { font-size: 17px; line-height: 1.3; letter-spacing: -0.015em; }
.mpy-postnav__next { grid-column: 2; text-align: right; }

.mpy-related { margin-top: 24px; padding: 56px 0 72px; border-top: 1px solid var(--mpy-line); }

/* Comments */
.mpy-comments { margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--mpy-line); }
.mpy-comment-list { margin: 0 0 32px; padding: 0; list-style: none; }
.mpy-comment-list .children { margin: 0; padding-left: 28px; list-style: none; }
.mpy-comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--mpy-line); font-size: 16px; }
.mpy-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--mpy-ink); }
.mpy-comment-list .comment-author img { border-radius: 50%; }
.mpy-comment-list .comment-metadata { font-size: 13px; margin: 4px 0 8px; }
.mpy-comment-list .comment-metadata a { color: var(--mpy-muted); text-decoration: none; }
.comment-reply-title { margin: 0 0 12px; color: var(--mpy-ink); font-size: 20px; font-weight: 800; }
.comment-form { display: grid; gap: 14px; font-size: 16px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--mpy-ink); font-size: 15px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 16px; border: 1px solid #B9AC98; border-radius: var(--mpy-r-sm); background: #fff;
}
.comment-form textarea { min-height: 140px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.mpy-foot { position: relative; }
.mpy-foot--oak { overflow: hidden; padding: 60px 0 32px; margin-top: 24px; }
.mpy-foot__mop {
	position: absolute; right: -170px; bottom: 18px; width: 560px; height: auto; transform: scaleX(-1); pointer-events: none;
	filter: drop-shadow(0 12px 12px rgba(60, 35, 10, 0.28));
}
.mpy-foot__card { position: relative; z-index: 2; max-width: 780px; padding: 36px 40px 26px; background: #fff; border-radius: var(--mpy-r-xl); display: flex; flex-direction: column; gap: 20px; }
.mpy-foot-brand { margin: 0; }
.mpy-foot-brand__img { display: block; width: auto; height: var(--mpy-foot-logo-h); }
.mpy-foot-brand__name { display: block; color: var(--mpy-ink); font-weight: 900; letter-spacing: -0.06em; line-height: 0.86; font-size: 56px; }
.mpy-foot-brand--big .mpy-foot-brand__name { font-size: clamp(64px, 11vw, 124px); }
.mpy-foot__mission { margin: 0; max-width: 540px; font-size: 17px; line-height: 1.5; color: var(--mpy-text); }
.mpy-foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.mpy-foot-links a { color: var(--mpy-ink); font-weight: 700; font-size: 16px; text-decoration: none; }
.mpy-foot-links a:hover { text-decoration: underline; }
.mpy-foot-links .is-page a { color: var(--mpy-accent); }
.mpy-foot__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 18px; border-top: 1px solid var(--mpy-line); font-size: 14px; color: var(--mpy-muted); }
.mpy-foot__bar p { margin: 0; }
.mpy-foot__barw .widget { font-size: 14px; }
.mpy-backtop { font-weight: 700; text-decoration: none; }
.mpy-backtop:hover { text-decoration: underline; }

.mpy-foot--cols { margin-top: 24px; padding: 64px 0 28px; background: var(--mpy-ink); color: var(--mpy-on-dark-muted); }
.mpy-foot--cols a { color: #fff; }
.mpy-foot--cols .mpy-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(calc(var(--cols) - 1), minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; }
.mpy-foot--cols .mpy-foot-brand__name { color: #fff; }
.mpy-foot--cols .mpy-hl { color: #8FD0D4; }
.mpy-foot--cols .mpy-foot__mission { color: var(--mpy-on-dark-muted); margin-top: 14px; }
.mpy-foot--cols .widget-title { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.mpy-foot--cols .mpy-foot-list, .mpy-foot--cols .mpy-foot-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mpy-foot--cols .mpy-foot-list a, .mpy-foot--cols .mpy-foot-links a { color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.mpy-foot--cols .mpy-foot-list a:hover { text-decoration: underline; }
.mpy-foot--cols .mpy-foot-links .is-page a { color: #8FD0D4; }
.mpy-foot--cols .mpy-social { margin-top: 18px; }
.mpy-foot--cols .mpy-social a { background: transparent; border-color: #4A4339; color: #fff; }
.mpy-foot--cols .mpy-foot__bar { border-top-color: #3A342B; color: var(--mpy-on-dark-muted); }
.mpy-foot--cols .mpy-backtop { color: #8FD0D4; }

.mpy-foot--min { margin-top: 24px; padding: 28px 0; border-top: 1px solid var(--mpy-line); }
.mpy-foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 14px; color: var(--mpy-muted); }
.mpy-foot__row p { margin: 0; }
.mpy-foot--min .mpy-foot-brand__name { font-size: 30px; }
.mpy-foot--min nav { flex: 1 1 auto; }
.mpy-foot--min .mpy-foot-links a { font-size: 15px; }

/* ==========================================================================
   12. Phone menu sheet (wipes in from the left)
   ========================================================================== */
.mpy-sheet { position: fixed; inset: 0; z-index: 200; background: rgba(23, 20, 15, 0); transition: background-color .3s ease; }
.mpy-sheet.is-open { background: rgba(23, 20, 15, 0.5); }
.mpy-sheet__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(440px, 92vw); padding: 12px; overflow-y: auto;
	transform: translateX(-102%); transition: transform .32s cubic-bezier(.3,.7,.25,1); background-size: 900px auto;
}
.mpy-sheet.is-open .mpy-sheet__panel { transform: translateX(0); }
.mpy-sheet__panel::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none;
	background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.35), rgba(255,255,255,0)); transform: skewX(-12deg);
}
.mpy-sheet.is-open .mpy-sheet__panel::after { animation: mpyWipe .9s ease-out .15s both; }
@keyframes mpyWipe { from { left: -40%; } to { left: 120%; } }
.mpy-sheet__card { display: flex; flex-direction: column; gap: 18px; padding: 20px; background: #fff; border-radius: var(--mpy-r-lg); min-height: calc(100% - 0px); }
.mpy-sheet__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mpy-sheet__logo { color: var(--mpy-ink); font-size: 26px; font-weight: 900; letter-spacing: -0.045em; text-decoration: none; }
.mpy-sheet__logo img { display: block; height: var(--mpy-phone-logo-h); width: auto; }
.mpy-sheet__menu { margin: 0; padding: 0; list-style: none; }
.mpy-sheet__menu > li > a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--mpy-line); color: var(--mpy-ink); font-size: 24px; font-weight: 800; letter-spacing: -0.035em; text-decoration: none; }
.mpy-sheet__menu .current-menu-item > a { color: var(--mpy-accent); }
.mpy-sheet__menu .sub-menu { margin: 0; padding: 4px 0 8px 16px; list-style: none; }
.mpy-sheet__menu .sub-menu a { display: flex; min-height: 40px; align-items: center; color: var(--mpy-text); font-size: 17px; font-weight: 600; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
	.mpy-sheet, .mpy-sheet__panel { transition: none; }
	.mpy-sheet.is-open .mpy-sheet__panel::after { animation: none; }
}

/* Below header widgets */
.mpy-below-header { padding: 14px 0; border-bottom: 1px solid var(--mpy-line); font-size: 15px; }
.mpy-below-header .widget p:last-child { margin-bottom: 0; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.mpy-pill__nav, .mpy-classic__nav { display: none; }
	.mpy-pill__menu-btn { display: inline-flex; }
	.mpy-strip { display: block; }
	.mpy-hero__text { width: 480px; }
	.mpy-hero__mop { width: 540px; left: -180px; }
	.mpy-hero__trail { width: 360px; }
	.mpy-top-stories { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
	.mpy-layout { gap: 40px; grid-template-columns: minmax(0, 1fr) 280px; }
	.mpy-sidebar-left .mpy-layout { grid-template-columns: 280px minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.mpy-hero { min-height: 0; }
	.mpy-hero__inner { justify-content: flex-start; padding-top: 44px; padding-bottom: 250px; }
	.mpy-hero__text { width: 100%; max-width: 620px; }
	.mpy-hero__mop { width: 460px; left: -140px; bottom: 18px; }
	.mpy-hero__trail { width: 300px; height: 56px; bottom: 22px; }
	.mpy-top-stories, .mpy-top-stories.is-solo .mpy-lead { grid-template-columns: minmax(0, 1fr); }
	.mpy-top-stories.is-solo .mpy-lead__media { margin-bottom: 20px; }
	.mpy-layout, .mpy-sidebar-left .mpy-layout { grid-template-columns: minmax(0, 1fr); }
	.mpy-sidebar-left .mpy-layout__side { order: 0; }
	.mpy-grid--3, .mpy-sidebar-none .mpy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mpy-foot--cols .mpy-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mpy-foot--cols .mpy-foot__brandcol { grid-column: 1 / -1; }
	.mpy-foot__mop { width: 420px; right: -170px; }
}
@media (max-width: 640px) {
	:root { --mpy-gutter: 16px; --mpy-head-h: 72px; }
	body { font-size: 17px; }
	.mpy-head__inner { padding-top: 12px; }
	.mpy-pill { gap: 10px; min-height: 56px; padding: 6px 6px 6px 18px; }
	.mpy-logo__img { height: var(--mpy-logo-h-phone); }
	.mpy-logo__text { font-size: min(var(--mpy-text-logo), 23px); }
	.mpy-logo__tag, .mpy-pill__btn { display: none; }
	.mpy-floor { background-size: 900px auto; }
	.mpy-hero__inner { padding-top: 32px; padding-bottom: 200px; }
	.mpy-hero__kicker { font-size: 12px; margin-bottom: 14px; }
	.mpy-hero__sub { font-size: 17px; margin-top: 14px; }
	.mpy-hero__mop { width: 380px; left: -110px; bottom: 16px; }
	.mpy-hero__trail { width: 250px; height: 46px; bottom: 20px; }
	.mpy-top-stories { padding-top: 32px; gap: 28px; }
	.mpy-lead__title { font-size: 28px; }
	.mpy-lead__excerpt { font-size: 17px; }
	.mpy-section-title { font-size: 25px; }
	.mpy-grid, .mpy-grid--3, .mpy-sidebar-none .mpy-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.mpy-article { padding-top: 26px; }
	.mpy-entry-title { font-size: 34px; }
	.mpy-dek { font-size: 18px; }
	.mpy-prose { font-size: 18px; }
	.mpy-prose :where(h2) { font-size: 26px; }
	.mpy-prose :where(h3) { font-size: 21px; }
	.mpy-prose :where(.alignleft, .alignright) { float: none; margin: 0 0 1em; max-width: 100%; }
	.mpy-skip { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; border-radius: var(--mpy-r); }
	.mpy-skip__label { padding-left: 6px; }
	.mpy-need ul { grid-template-columns: minmax(0, 1fr); }
	.mpy-box, .mpy-chart, .mpy-mix { padding: 18px; }
	.mpy-hbar { grid-template-columns: minmax(0, 1fr) auto; }
	.mpy-hbar__track { grid-column: 1 / -1; grid-row: 2; }
	.mpy-author { flex-direction: column; padding: 22px; }
	.mpy-avatar--lg { width: 72px; height: 72px; flex-basis: 72px; }
	.mpy-postnav { grid-template-columns: minmax(0, 1fr); }
	.mpy-postnav__next { grid-column: auto; text-align: left; }
	.mpy-foot--oak { padding: 32px 0 170px; }
	.mpy-foot__card { padding: 26px 22px 20px; gap: 16px; }
	.mpy-foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mpy-foot__mop { width: 330px; right: -120px; bottom: 10px; }
	.mpy-foot--cols .mpy-foot__grid { grid-template-columns: minmax(0, 1fr); }
	.mpy-archive-head { padding-top: 32px; }
}
@media (max-width: 360px) {
	.mpy-pill { padding-left: 14px; }
	.mpy-pill__actions { gap: 6px; }
	.mpy-hero__title { font-size: 36px; }
}
