/*
Theme Name: MAVO Health
Author: MAVO HEALTH
Description: A fast, responsive editorial WordPress theme for health, nutrition, recipes, weight management, fitness, and wellness publications.
Version: 1.0.0
Requires at least: 6.0
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: mavo-health
Tags: blog, news, food-and-drink, health, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
	--mavo-green: #247a35;
	--mavo-green-dark: #155424;
	--mavo-green-deep: #103f1c;
	--mavo-green-soft: #e8f2e6;
	--mavo-lime-soft: #f0f6e9;
	--mavo-cream: #f8f5ed;
	--mavo-cream-deep: #f1ecdf;
	--mavo-white: #fff;
	--mavo-ink: #172019;
	--mavo-copy: #4c574f;
	--mavo-muted: #738078;
	--mavo-line: #dfe5df;
	--mavo-shadow-sm: 0 8px 28px rgba(21, 61, 30, 0.07);
	--mavo-shadow-lg: 0 22px 60px rgba(18, 63, 28, 0.13);
	--mavo-radius-sm: 10px;
	--mavo-radius: 18px;
	--mavo-radius-lg: 30px;
	--mavo-container: 1240px;
	--mavo-serif: Georgia, Cambria, "Times New Roman", Times, serif;
	--mavo-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

body {
	margin: 0;
	background: var(--mavo-white);
	color: var(--mavo-copy);
	font-family: var(--mavo-sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: var(--mavo-green);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--mavo-green-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid #f3c64f;
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.65em;
	color: var(--mavo-ink);
	font-family: var(--mavo-serif);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.025em;
}

p {
	margin: 0 0 1.4em;
}

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

button,
input,
textarea,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.mavo-container {
	width: min(calc(100% - 48px), var(--mavo-container));
	margin-inline: auto;
}

.section {
	padding-block: 104px;
}

.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;
}

.screen-reader-text:focus {
	position: fixed !important;
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--mavo-white);
	color: var(--mavo-green-dark);
	font-weight: 700;
	white-space: normal;
	box-shadow: var(--mavo-shadow-lg);
}

.eyebrow {
	display: block;
	margin: 0 0 16px;
	color: var(--mavo-green);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.35;
	text-transform: uppercase;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-height: 50px;
	padding: 13px 23px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 0.91rem;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button svg,
.text-link svg,
.category-card__action svg {
	width: 18px;
	height: 18px;
	transition: transform 180ms ease;
}

.button--primary {
	background: var(--mavo-green);
	color: var(--mavo-white);
	box-shadow: 0 10px 24px rgba(36, 122, 53, 0.2);
}

.button--primary:hover {
	background: var(--mavo-green-dark);
	color: var(--mavo-white);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(36, 122, 53, 0.27);
}

.button:hover svg,
.text-link:hover svg,
.category-card:hover .category-card__action svg {
	transform: translateX(4px);
}

/* Header */
.site-header {
	position: relative;
	z-index: 1000;
	background: var(--mavo-green);
	color: var(--mavo-white);
	box-shadow: 0 4px 20px rgba(13, 58, 23, 0.13);
}

.header-inner {
	display: flex;
	align-items: center;
	min-height: 86px;
	gap: 28px;
}

.site-branding {
	flex: 0 0 auto;
}

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: var(--mavo-white);
	line-height: 1;
	text-decoration: none;
}

.brand-lockup:hover {
	color: var(--mavo-white);
}

.brand-mark {
	display: grid;
	width: 43px;
	height: 43px;
	place-items: center;
}

.brand-mark svg {
	width: 43px;
	height: 43px;
	fill: currentColor;
	stroke: var(--mavo-green);
	stroke-width: 2.1;
}

.brand-mark svg path {
	fill: none;
	stroke: currentColor;
}

.site-header .brand-mark svg {
	fill: var(--mavo-white);
	stroke: var(--mavo-green);
}

.site-header .brand-mark svg path {
	stroke: var(--mavo-green);
}

.brand-name {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 104px;
}

.brand-name strong {
	font-family: var(--mavo-sans);
	font-size: 1.45rem;
	font-weight: 850;
	letter-spacing: 0.065em;
}

.brand-name small {
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.31em;
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	width: auto;
	max-width: 205px;
	max-height: 56px;
}

.primary-navigation {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
}

.primary-menu,
.primary-navigation ul {
	display: flex;
	align-items: center;
	gap: clamp(12px, 1.55vw, 25px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation li {
	position: relative;
	margin: 0;
}

.primary-navigation a {
	display: block;
	padding: 31px 0;
	color: rgba(255, 255, 255, 0.91);
	font-size: clamp(0.69rem, 0.68vw, 0.78rem);
	font-weight: 750;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-decoration: none;
	white-space: nowrap;
}

.primary-navigation > ul > li > a::after {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	height: 2px;
	background: var(--mavo-white);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	color: var(--mavo-white);
}

.primary-navigation > ul > li > a:hover::after,
.primary-navigation > ul > .current-menu-item > a::after,
.primary-navigation > ul > .current_page_item > a::after {
	transform: scaleX(1);
}

.primary-navigation .sub-menu {
	position: absolute;
	top: calc(100% - 8px);
	left: -20px;
	display: block;
	min-width: 220px;
	padding: 10px;
	background: var(--mavo-white);
	border: 1px solid var(--mavo-line);
	border-radius: var(--mavo-radius-sm);
	box-shadow: var(--mavo-shadow-lg);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.primary-navigation .sub-menu a {
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--mavo-copy);
	font-size: 0.82rem;
	white-space: normal;
}

.primary-navigation .sub-menu a:hover {
	background: var(--mavo-green-soft);
	color: var(--mavo-green-dark);
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.header-socials {
	flex: 0 0 auto;
}

.social-links {
	display: flex;
	align-items: center;
	gap: 7px;
}

.social-links a {
	display: grid;
	width: 35px;
	height: 35px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	color: var(--mavo-white);
	place-items: center;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
	background: rgba(255, 255, 255, 0.13);
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--mavo-white);
	transform: translateY(-2px);
}

.social-links svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	stroke: none;
}

.menu-toggle,
.mobile-socials {
	display: none;
}

/* Hero */
.hero-section {
	padding-block: 62px 72px;
	background: var(--mavo-white);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1.18fr);
	align-items: center;
	gap: clamp(44px, 6vw, 92px);
}

.hero-copy {
	padding-block: 42px;
}

.hero-copy h1 {
	max-width: 600px;
	margin-bottom: 25px;
	font-size: clamp(3.35rem, 5vw, 5.25rem);
	line-height: 0.98;
}

.hero-copy h1::first-line {
	color: var(--mavo-ink);
}

.hero-copy h1 span {
	display: block;
	color: var(--mavo-green);
}

.hero-intro {
	max-width: 540px;
	margin-bottom: 33px;
	color: var(--mavo-copy);
	font-size: 1.06rem;
	line-height: 1.78;
}

.hero-media {
	position: relative;
	min-height: 530px;
	margin: 0;
	overflow: hidden;
	border-radius: var(--mavo-radius-lg);
	background: var(--mavo-cream);
	box-shadow: var(--mavo-shadow-lg);
}

.hero-media::before {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 36%);
	content: "";
	pointer-events: none;
}

.hero-media::after {
	position: absolute;
	z-index: 2;
	right: 24px;
	bottom: 24px;
	width: 78px;
	height: 78px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.74);
	box-shadow: 0 10px 26px rgba(20, 61, 27, 0.13);
	content: "M";
	color: var(--mavo-green);
	font-family: var(--mavo-serif);
	font-size: 2rem;
	font-weight: 700;
	line-height: 76px;
	text-align: center;
	backdrop-filter: blur(9px);
}

.hero-media img {
	width: 100%;
	height: 530px;
	object-fit: cover;
	object-position: center;
}

/* Shared headings */
.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 40px;
}

.section-heading h2 {
	margin: 0;
	font-size: clamp(2.2rem, 3.5vw, 3.35rem);
}

.section-heading .eyebrow {
	margin-bottom: 11px;
}

.section-heading--centered {
	justify-content: center;
	text-align: center;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--mavo-green);
	font-size: 0.87rem;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

/* Article cards */
.featured-section {
	background: var(--mavo-cream);
}

.article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.post-card {
	display: flex;
	min-width: 0;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	background: var(--mavo-white);
	border: 1px solid rgba(27, 69, 35, 0.1);
	border-radius: var(--mavo-radius);
	box-shadow: var(--mavo-shadow-sm);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.post-card:hover {
	border-color: rgba(36, 122, 53, 0.2);
	box-shadow: var(--mavo-shadow-lg);
	transform: translateY(-6px);
}

.post-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--mavo-green-soft);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.post-card:hover .post-card__media img {
	transform: scale(1.045);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 25px 25px 22px;
}

.post-card__category,
.article-category {
	align-self: flex-start;
	margin-bottom: 12px;
	color: var(--mavo-green);
	font-size: 0.7rem;
	font-weight: 850;
	letter-spacing: 0.105em;
	line-height: 1.4;
	text-decoration: none;
	text-transform: uppercase;
}

.post-card__category:hover,
.article-category:hover {
	color: var(--mavo-green-dark);
	text-decoration: underline;
}

.post-card__title {
	margin-bottom: 13px;
	font-size: clamp(1.32rem, 1.6vw, 1.62rem);
	line-height: 1.22;
}

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

.post-card__title a:hover {
	color: var(--mavo-green);
}

.post-card__excerpt {
	margin-bottom: 22px;
	color: var(--mavo-copy);
	font-size: 0.91rem;
	line-height: 1.65;
}

.post-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-top: 17px;
	margin-top: auto;
	border-top: 1px solid var(--mavo-line);
	color: var(--mavo-muted);
	font-size: 0.73rem;
	font-weight: 600;
}

.post-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.post-card__meta svg {
	width: 14px;
	height: 14px;
}

.empty-state {
	grid-column: 1 / -1;
	padding: 60px 30px;
	background: var(--mavo-white);
	border: 1px dashed #b8c6ba;
	border-radius: var(--mavo-radius);
	text-align: center;
}

.empty-state h2,
.empty-state h3 {
	margin-bottom: 10px;
	font-size: 1.8rem;
}

.empty-state p:last-child {
	margin-bottom: 0;
}

.ad-area {
	padding-block: 28px;
	text-align: center;
}

.ad-area .widget {
	min-height: 90px;
	padding: 12px;
	overflow: hidden;
	background: #fafafa;
	border: 1px solid #ecefec;
	border-radius: 8px;
}

.ad-area .widget-title {
	font-family: var(--mavo-sans);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Categories */
.categories-section {
	background: var(--mavo-white);
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.category-card {
	position: relative;
	display: flex;
	min-height: 275px;
	align-items: center;
	justify-content: center;
	padding: 31px 20px 26px;
	overflow: hidden;
	background: var(--mavo-white);
	border: 1px solid var(--mavo-line);
	border-radius: var(--mavo-radius);
	color: var(--mavo-copy);
	flex-direction: column;
	text-align: center;
	text-decoration: none;
	transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.category-card::before {
	position: absolute;
	top: -45px;
	right: -45px;
	width: 100px;
	height: 100px;
	background: var(--mavo-green-soft);
	border-radius: 50%;
	content: "";
	transition: transform 300ms ease;
}

.category-card:hover {
	background: #fefffc;
	border-color: rgba(36, 122, 53, 0.3);
	box-shadow: var(--mavo-shadow-lg);
	color: var(--mavo-copy);
	transform: translateY(-7px);
}

.category-card:hover::before {
	transform: scale(1.2);
}

.category-card__icon {
	display: grid;
	width: 70px;
	height: 70px;
	margin-bottom: 22px;
	background: var(--mavo-green-soft);
	border-radius: 50%;
	color: var(--mavo-green);
	place-items: center;
	transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.category-card__icon svg {
	width: 36px;
	height: 36px;
	stroke-width: 2.2;
}

.category-card:hover .category-card__icon {
	background: var(--mavo-green);
	color: var(--mavo-white);
	transform: rotate(-4deg) scale(1.04);
}

.category-card__name {
	margin-bottom: 8px;
	color: var(--mavo-ink);
	font-family: var(--mavo-serif);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
}

.category-card__description {
	min-height: 48px;
	color: var(--mavo-muted);
	font-size: 0.79rem;
	line-height: 1.5;
}

.category-card__action {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 18px;
	color: var(--mavo-green);
	font-size: 0.76rem;
	font-weight: 800;
}

.category-card__action svg {
	width: 15px;
	height: 15px;
}

/* Trust panel */
.trust-section {
	padding-bottom: 104px;
}

.trust-panel {
	display: grid;
	grid-template-columns: 104px minmax(0, 700px);
	align-items: center;
	justify-content: center;
	gap: 36px;
	padding: 48px 60px;
	background: linear-gradient(115deg, var(--mavo-cream), #fbf9f2 60%, var(--mavo-green-soft));
	border: 1px solid #ebe7dc;
	border-radius: var(--mavo-radius-lg);
}

.trust-mark {
	display: grid;
	width: 94px;
	height: 94px;
	background: var(--mavo-white);
	border-radius: 50%;
	color: var(--mavo-green);
	place-items: center;
	box-shadow: var(--mavo-shadow-sm);
}

.trust-mark svg {
	width: 54px;
	height: 54px;
	stroke-width: 2;
}

.trust-panel h2 {
	margin-bottom: 10px;
	font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.trust-panel .eyebrow {
	margin-bottom: 9px;
}

.trust-panel p:last-child {
	max-width: 700px;
	margin-bottom: 0;
}

/* Footer */
.site-footer {
	background: var(--mavo-green-deep);
	color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(280px, 1.4fr) minmax(180px, 0.7fr) minmax(200px, 0.8fr);
	gap: clamp(50px, 8vw, 120px);
	padding-block: 76px 68px;
}

.brand-lockup--footer {
	margin-bottom: 22px;
}

.brand-lockup--footer .brand-mark svg path {
	stroke: var(--mavo-green-deep);
}

.footer-brand > p {
	max-width: 440px;
	margin-bottom: 24px;
	font-size: 0.91rem;
	line-height: 1.75;
}

.footer-links h2,
.footer-topics h2 {
	margin-bottom: 24px;
	color: var(--mavo-white);
	font-family: var(--mavo-sans);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.footer-menu,
.footer-topics ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-menu li,
.footer-topics li {
	margin-bottom: 10px;
}

.footer-menu a,
.footer-topics a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.86rem;
	text-decoration: none;
}

.footer-menu a:hover,
.footer-topics a:hover {
	color: var(--mavo-white);
	text-decoration: underline;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom__inner {
	display: flex;
	min-height: 72px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.77rem;
}

.back-to-top {
	display: grid;
	width: 38px;
	height: 38px;
	background: var(--mavo-green);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: var(--mavo-white);
	font-size: 1.1rem;
	font-weight: 700;
	place-items: center;
	text-decoration: none;
}

.back-to-top:hover {
	background: var(--mavo-white);
	color: var(--mavo-green-dark);
}

/* Archives and search */
.archive-hero,
.page-header {
	padding-block: 80px;
	background: var(--mavo-cream);
	border-bottom: 1px solid #ece7db;
}

.archive-hero__inner,
.page-header__inner {
	max-width: 850px;
	text-align: center;
}

.archive-hero h1,
.page-header h1 {
	margin-bottom: 16px;
	font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.archive-hero .eyebrow,
.page-header .eyebrow {
	margin-bottom: 12px;
}

.archive-description,
.archive-hero__inner > p:last-child {
	max-width: 650px;
	margin: 0 auto;
	font-size: 1.03rem;
}

.archive-description p:last-child {
	margin-bottom: 0;
}

.archive-content .article-grid {
	row-gap: 34px;
}

.navigation.pagination {
	margin-top: 54px;
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	padding-inline: 12px;
	background: var(--mavo-white);
	border: 1px solid var(--mavo-line);
	border-radius: 8px;
	color: var(--mavo-copy);
	font-size: 0.85rem;
	font-weight: 700;
	place-items: center;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--mavo-green);
	border-color: var(--mavo-green);
	color: var(--mavo-white);
}

.empty-state--page {
	max-width: 760px;
	margin-inline: auto;
}

.search-form {
	display: flex;
	width: min(100%, 620px);
	gap: 10px;
	margin: 26px auto 0;
}

.search-form label {
	flex: 1;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
textarea,
select {
	width: 100%;
	min-height: 50px;
	padding: 12px 15px;
	background: var(--mavo-white);
	border: 1px solid #cad3cb;
	border-radius: 8px;
	color: var(--mavo-ink);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

/* Single article and pages */
.article-header {
	padding-block: 78px 62px;
	background: var(--mavo-cream);
	text-align: center;
}

.article-header__inner {
	max-width: 930px;
}

.article-header h1 {
	margin-bottom: 22px;
	font-size: clamp(2.7rem, 5.5vw, 5rem);
}

.article-category {
	display: inline-block;
	margin-bottom: 17px;
}

.article-deck {
	max-width: 760px;
	margin: 0 auto 24px;
	font-size: 1.15rem;
	line-height: 1.7;
}

.article-byline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	color: var(--mavo-muted);
	font-size: 0.8rem;
	font-weight: 650;
}

.article-featured-image {
	max-width: 1160px;
	margin-top: 58px;
}

.article-featured-image img {
	width: 100%;
	max-height: 710px;
	object-fit: cover;
	border-radius: var(--mavo-radius-lg);
	box-shadow: var(--mavo-shadow-sm);
}

.article-layout {
	max-width: 850px;
	padding-block: 70px 76px;
}

.entry-content {
	color: #354039;
	font-family: var(--mavo-serif);
	font-size: 1.16rem;
	line-height: 1.85;
}

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

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 1.75em;
	margin-bottom: 0.55em;
}

.entry-content h2 {
	font-size: 2.25rem;
}

.entry-content h3 {
	font-size: 1.7rem;
}

.entry-content a {
	font-weight: 650;
}

.entry-content blockquote {
	padding: 8px 0 8px 28px;
	margin-block: 38px;
	border-left: 4px solid var(--mavo-green);
	color: var(--mavo-green-dark);
	font-size: 1.35rem;
	font-style: italic;
}

.entry-content img,
.entry-content .wp-block-image {
	border-radius: var(--mavo-radius-sm);
}

.entry-content .alignwide {
	width: min(1080px, calc(100vw - 48px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--mavo-sans);
	font-size: 0.92rem;
}

.entry-content th,
.entry-content td {
	padding: 12px;
	border: 1px solid var(--mavo-line);
	text-align: left;
}

.entry-content th {
	background: var(--mavo-green-soft);
	color: var(--mavo-green-dark);
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 30px;
	margin-top: 44px;
	border-top: 1px solid var(--mavo-line);
	font-family: var(--mavo-sans);
}

.article-tags a {
	padding: 7px 11px;
	background: var(--mavo-green-soft);
	border-radius: 999px;
	font-size: 0.75rem;
	text-decoration: none;
}

.article-footer {
	padding-block: 68px;
	background: var(--mavo-cream);
}

.article-footer__inner {
	max-width: 880px;
}

.author-card {
	display: grid;
	grid-template-columns: 84px 1fr;
	align-items: center;
	gap: 24px;
	padding-bottom: 42px;
	border-bottom: 1px solid #ded9cd;
}

.author-card img {
	border-radius: 50%;
}

.author-card .eyebrow {
	margin-bottom: 5px;
}

.author-card h2 {
	margin-bottom: 4px;
	font-size: 1.65rem;
}

.author-card p:last-child {
	margin-bottom: 0;
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	padding-top: 40px;
}

.post-navigation > div:last-child {
	text-align: right;
}

.post-navigation span {
	display: block;
	margin-bottom: 6px;
	color: var(--mavo-muted);
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.post-navigation a {
	color: var(--mavo-ink);
	font-family: var(--mavo-serif);
	font-size: 1.06rem;
	font-weight: 700;
	text-decoration: none;
}

.page-content {
	max-width: 850px;
	padding-block: 70px 96px;
}

/* Comments */
.comments-wrap {
	max-width: 880px;
	padding-block: 72px;
}

.comments-area {
	padding: 42px;
	background: var(--mavo-white);
	border: 1px solid var(--mavo-line);
	border-radius: var(--mavo-radius);
	box-shadow: var(--mavo-shadow-sm);
}

.comments-title,
.comment-reply-title {
	font-size: 2rem;
}

.comment-list {
	padding: 0;
	margin: 30px 0;
	list-style: none;
}

.comment-list .children {
	padding-left: 28px;
	list-style: none;
}

.comment-body {
	padding-block: 25px;
	border-bottom: 1px solid var(--mavo-line);
}

.comment-meta {
	font-size: 0.8rem;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.comment-author img {
	border-radius: 50%;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 0.8rem;
	font-weight: 750;
}

.form-submit input,
button[type="submit"] {
	min-height: 48px;
	padding: 12px 22px;
	background: var(--mavo-green);
	border: 0;
	border-radius: 8px;
	color: var(--mavo-white);
	font-weight: 750;
}

/* 404 */
.not-found-page {
	padding-block: 100px;
	background: var(--mavo-cream);
}

.not-found-panel {
	display: grid;
	grid-template-columns: minmax(260px, 0.7fr) minmax(420px, 1.3fr);
	align-items: center;
	gap: 60px;
	padding: 70px;
	background: var(--mavo-white);
	border: 1px solid #e8e2d5;
	border-radius: var(--mavo-radius-lg);
	box-shadow: var(--mavo-shadow-sm);
}

.not-found-panel h1 {
	font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.not-found-illustration {
	color: var(--mavo-green);
}

.not-found-illustration svg {
	width: 100%;
	height: auto;
	stroke-width: 4;
}

.not-found-actions .search-form {
	margin: 22px 0 0;
}

/* WordPress utilities */
.sticky {
	position: relative;
}

.sticky::before {
	position: absolute;
	z-index: 3;
	top: 14px;
	left: 14px;
	padding: 6px 10px;
	background: var(--mavo-green);
	border-radius: 5px;
	color: var(--mavo-white);
	content: "Featured";
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bypostauthor {
	background: rgba(232, 242, 230, 0.25);
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
	color: var(--mavo-muted);
	font-size: 0.78rem;
}

.alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

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

/* Responsive navigation */
@media (max-width: 1120px) {
	.header-inner {
		min-height: 78px;
	}

	.header-socials {
		margin-left: auto;
	}

	.menu-toggle {
		display: grid;
		width: 44px;
		height: 44px;
		order: 3;
		padding: 10px;
		background: transparent;
		border: 1px solid rgba(255, 255, 255, 0.35);
		border-radius: 8px;
		place-content: center;
		gap: 5px;
	}

	.menu-toggle > span:not(.screen-reader-text) {
		display: block;
		width: 21px;
		height: 2px;
		background: var(--mavo-white);
		border-radius: 999px;
		transition: transform 200ms ease, opacity 200ms ease;
	}

	.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
		transform: translateY(7px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
		opacity: 0;
	}

	.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.primary-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: block;
		max-height: 0;
		overflow: hidden;
		background: var(--mavo-white);
		border-bottom: 1px solid var(--mavo-line);
		box-shadow: var(--mavo-shadow-lg);
		visibility: hidden;
		transition: max-height 300ms ease, visibility 300ms ease;
	}

	.primary-navigation.is-open {
		max-height: calc(100vh - 78px);
		overflow-y: auto;
		visibility: visible;
	}

	.primary-menu,
	.primary-navigation ul {
		display: block;
		width: min(calc(100% - 48px), var(--mavo-container));
		padding-block: 18px;
		margin-inline: auto;
	}

	.primary-navigation li {
		border-bottom: 1px solid var(--mavo-line);
	}

	.primary-navigation a {
		padding: 13px 2px;
		color: var(--mavo-ink);
		font-size: 0.92rem;
	}

	.primary-navigation a:hover,
	.primary-navigation .current-menu-item > a,
	.primary-navigation .current_page_item > a {
		color: var(--mavo-green);
	}

	.primary-navigation > ul > li > a::after {
		display: none;
	}

	.primary-navigation .sub-menu {
		position: static;
		display: block;
		width: 100%;
		min-width: 0;
		padding: 0 0 7px 18px;
		background: transparent;
		border: 0;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.primary-navigation .sub-menu li:last-child {
		border-bottom: 0;
	}

	.mobile-socials {
		display: none;
	}

	.hero-grid {
		grid-template-columns: minmax(300px, 0.9fr) minmax(430px, 1.1fr);
		gap: 44px;
	}

	.hero-media,
	.hero-media img {
		height: 470px;
		min-height: 470px;
	}

	.hero-copy h1 {
		font-size: clamp(3rem, 5.4vw, 4.3rem);
	}

	.category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 840px) {
	.section {
		padding-block: 78px;
	}

	.hero-section {
		padding-block: 42px 70px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.hero-copy {
		max-width: 670px;
		padding-block: 26px;
	}

	.hero-copy h1 {
		font-size: clamp(3.25rem, 10vw, 5rem);
	}

	.hero-media,
	.hero-media img {
		height: 500px;
		min-height: 500px;
	}

	.article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-grid--featured .post-card:last-child {
		grid-column: 1 / -1;
		width: calc(50% - 14px);
	}

	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.category-card:last-child {
		grid-column: 1 / -1;
	}

	.trust-section {
		padding-bottom: 78px;
	}

	.trust-panel {
		grid-template-columns: 80px 1fr;
		gap: 24px;
		padding: 40px;
	}

	.trust-mark {
		width: 76px;
		height: 76px;
	}

	.trust-mark svg {
		width: 44px;
		height: 44px;
	}

	.footer-grid {
		grid-template-columns: 1.2fr 0.8fr;
	}

	.footer-topics {
		grid-column: 1 / -1;
	}

	.footer-topics ul {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 6px 22px;
	}

	.not-found-panel {
		grid-template-columns: 1fr;
		padding: 50px;
	}

	.not-found-illustration {
		max-width: 290px;
		margin-inline: auto;
	}
}

@media (max-width: 640px) {
	.mavo-container {
		width: min(calc(100% - 32px), var(--mavo-container));
	}

	.section {
		padding-block: 64px;
	}

	.header-inner {
		min-height: 72px;
		gap: 12px;
	}

	.brand-mark,
	.brand-mark svg {
		width: 38px;
		height: 38px;
	}

	.brand-name strong {
		font-size: 1.25rem;
	}

	.brand-name small {
		font-size: 0.6rem;
	}

	.header-socials {
		display: none;
	}

	.menu-toggle {
		margin-left: auto;
	}

	.primary-navigation.is-open {
		max-height: calc(100vh - 72px);
	}

	.primary-menu,
	.primary-navigation ul {
		width: min(calc(100% - 32px), var(--mavo-container));
	}

	.mobile-socials {
		display: block;
		width: min(calc(100% - 32px), var(--mavo-container));
		padding: 0 0 22px;
		margin-inline: auto;
	}

	.mobile-socials .social-links {
		display: flex;
		width: auto;
		padding: 0;
		margin: 0;
	}

	.mobile-socials .social-links a {
		background: var(--mavo-green-soft);
		border-color: transparent;
		color: var(--mavo-green);
	}

	.hero-section {
		padding-block: 32px 58px;
	}

	.hero-grid {
		gap: 14px;
	}

	.hero-copy {
		padding-block: 18px 26px;
	}

	.hero-copy h1 {
		margin-bottom: 20px;
		font-size: clamp(2.85rem, 15vw, 4.25rem);
	}

	.hero-intro {
		font-size: 1rem;
		line-height: 1.7;
	}

	.hero-media,
	.hero-media img {
		height: 350px;
		min-height: 350px;
	}

	.hero-media {
		border-radius: 20px;
	}

	.hero-media::after {
		right: 16px;
		bottom: 16px;
		width: 58px;
		height: 58px;
		font-size: 1.5rem;
		line-height: 56px;
	}

	.section-heading {
		align-items: flex-start;
		margin-bottom: 28px;
		flex-direction: column;
	}

	.section-heading--centered {
		align-items: center;
	}

	.section-heading h2 {
		font-size: 2.35rem;
	}

	.article-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.article-grid--featured .post-card:last-child {
		grid-column: auto;
		width: auto;
	}

	.post-card__body {
		padding: 22px 20px 20px;
	}

	.post-card__title {
		font-size: 1.4rem;
	}

	.category-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.category-card,
	.category-card:last-child {
		grid-column: auto;
		min-height: 0;
		align-items: flex-start;
		padding: 24px;
		text-align: left;
	}

	.category-card__icon {
		width: 60px;
		height: 60px;
		margin-bottom: 17px;
	}

	.category-card__icon svg {
		width: 31px;
		height: 31px;
	}

	.category-card__description {
		min-height: 0;
	}

	.trust-section {
		padding-bottom: 64px;
	}

	.trust-panel {
		grid-template-columns: 1fr;
		padding: 32px 26px;
		text-align: left;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 44px;
		padding-block: 60px 50px;
	}

	.footer-topics {
		grid-column: auto;
	}

	.footer-topics ul {
		grid-template-columns: 1fr;
	}

	.footer-bottom__inner {
		padding-block: 16px;
	}

	.archive-hero,
	.page-header,
	.article-header {
		padding-block: 58px;
	}

	.archive-hero h1,
	.page-header h1,
	.article-header h1 {
		font-size: 2.75rem;
	}

	.article-byline {
		flex-wrap: wrap;
	}

	.article-featured-image {
		width: calc(100% - 32px);
		margin-top: 32px;
	}

	.article-featured-image img {
		border-radius: 16px;
	}

	.article-layout,
	.page-content {
		padding-block: 52px 62px;
	}

	.entry-content {
		font-size: 1.07rem;
		line-height: 1.8;
	}

	.entry-content h2 {
		font-size: 1.85rem;
	}

	.entry-content .alignwide {
		width: calc(100vw - 32px);
	}

	.author-card {
		grid-template-columns: 64px 1fr;
		align-items: start;
	}

	.author-card img {
		width: 64px;
		height: 64px;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

	.post-navigation > div:last-child {
		padding-top: 22px;
		border-top: 1px solid #ded9cd;
		text-align: left;
	}

	.comments-area {
		padding: 28px 20px;
	}

	.search-form {
		flex-direction: column;
	}

	.not-found-page {
		padding-block: 48px;
	}

	.not-found-panel {
		gap: 30px;
		padding: 32px 24px;
	}

	.not-found-panel h1 {
		font-size: 2.65rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.article-footer,
	.comments-wrap,
	.ad-area,
	.button {
		display: none !important;
	}

	body {
		color: #000;
		font-size: 12pt;
	}

	.article-header {
		padding: 0;
		background: transparent;
	}

	.entry-content {
		font-size: 12pt;
	}
}
