/*
Theme Name: Maurielle's
Theme URI: https://www.mau-fashion.com
Author: Maurielle Lozario
Author URI: https://www.mau-fashion.com/about-maurielle/
Description: A lightweight editorial block theme for a first-person handbag blog — glossy-magazine layout, Archivo Black display, Space Grotesk body, and a charcoal / racing-red / sea-green palette. No page builder, self-hosted fonts, near-zero frontend JS.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maurielles
Tags: blog, editorial, full-site-editing, block-patterns, custom-colors, custom-logo, news, one-column, two-columns, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
Maurielle's — supplemental styles
Core design tokens remain in theme.json.
This file handles presentation that is cleaner and easier to control in CSS.
========================================================================== */

:root {
--m-base: var(--wp--preset--color--base, #FFFFFF);
--m-surface: var(--wp--preset--color--surface, #F6F5F2);
--m-hairline: var(--wp--preset--color--hairline, #E6E4DF);
--m-ink: var(--wp--preset--color--ink, #2B2B2B);
--m-graphite: var(--wp--preset--color--graphite, #363636);
--m-charcoal: var(--wp--preset--color--charcoal, #555555);
--m-accent: var(--wp--preset--color--accent, #FF202E);
--m-accent-dark: #D71924;
--m-sea: var(--wp--preset--color--sea, #5E8C61);
--m-soft-blush: #FFF4F1;
--m-display: var(--wp--preset--font-family--display, "Archivo Black", "Arial Black", sans-serif);
--m-body: var(--wp--preset--font-family--body, "Space Grotesk", system-ui, sans-serif);
--m-shadow: 0 14px 38px rgba(43, 43, 43, 0.08);
}

/* ==========================================================================
Global foundations
========================================================================== */

html {
scroll-behavior: smooth;
}

body {
overflow-x: hidden;
}

a {
color: #FF202E;
text-decoration-color: currentColor;
text-decoration-thickness: 1px;
text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
color: #D71924;
}

.wp-element-button,
.wp-block-button__link {
color: #FFFFFF !important;
text-decoration: none;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
color: #FFFFFF !important;
}

/* ==========================================================================
Masthead
========================================================================== */

.site-masthead {
border-bottom: 2px solid var(--m-ink);
padding-top: 1.75rem;
padding-bottom: 0;
}

.site-masthead .brand-logo img,
.site-masthead .wp-block-site-logo img {
width: clamp(200px, 28vw, 300px);
height: auto;
}

.site-masthead .wp-block-navigation {
padding-bottom: 0.9rem;
font-size: 0.72rem;
font-weight: 500;
letter-spacing: 0.2em;
text-transform: uppercase;
}

.site-masthead .wp-block-navigation a,
.site-masthead .wp-block-navigation-item__content {
color: #FF202E;
text-decoration: none;
}

.site-masthead .wp-block-navigation a:hover,
.site-masthead .wp-block-navigation a:focus-visible,
.site-masthead .wp-block-navigation-item__content:hover,
.site-masthead .wp-block-navigation-item__content:focus-visible {
color: #D71924;
}

/* ==========================================================================
Shared editorial elements
========================================================================== */

.eyebrow,
.mf-eyebrow,
.mf-card-kicker,
.mf-note-label {
margin: 0 0 0.85rem;
color: var(--m-accent);
font-family: var(--m-body);
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.2em;
line-height: 1.4;
text-decoration: none;
text-transform: uppercase;
}

.section-label {
margin-bottom: 1.75rem !important;
padding-bottom: 0.6rem;
border-bottom: 1px solid var(--m-hairline);
font-family: var(--m-display);
font-size: 0.82rem;
letter-spacing: 0.04em;
text-transform: uppercase;
}

/* ==========================================================================
Blog index and post cards
========================================================================== */

.post-card .wp-block-post-featured-image {
margin-bottom: 0.9rem;
overflow: hidden;
}

.post-card .wp-block-post-featured-image img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
transition: transform 0.5s ease;
}

.post-card .wp-block-post:hover .wp-block-post-featured-image img {
transform: scale(1.04);
}

.post-card .wp-block-post-title {
margin-top: 0.35rem;
line-height: 1.12;
letter-spacing: -0.01em;
}

.post-card .wp-block-post-title a {
color: var(--m-ink);
text-decoration: none;
}

.post-card .wp-block-post-title a:hover,
.post-card .wp-block-post-title a:focus-visible {
color: var(--m-accent);
}

/* Featured article on the blog index */
.post-hero .wp-block-post-featured-image img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
}

.post-hero .wp-block-post-title a {
color: var(--m-ink);
text-decoration: none;
}

.post-hero .wp-block-post-title a:hover,
.post-hero .wp-block-post-title a:focus-visible {
color: var(--m-accent);
}

/* ==========================================================================
Long-form posts
========================================================================== */

.entry-content {
font-size: 1.125rem;
line-height: 1.78;
}

.entry-content > * {
margin-block: 1.4rem;
}

.entry-content h2 {
margin-top: 2.6rem;
}

.entry-content a {
color: #FF202E;
}

/* ==========================================================================
Static homepage: full-bleed shell
========================================================================== */

.site-main--front,
.site-main--front > .wp-block-post-content,
.site-main--front .mf-homepage {
width: 100%;
max-width: none !important;
margin: 0 !important;
padding: 0 !important;
}

.mf-homepage {
background: var(--m-base);
color: var(--m-ink);
font-family: var(--m-body);
line-height: 1.7;
}

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

.mf-home-wrap {
width: min(1180px, calc(100% - 2.5rem));
margin-right: auto;
margin-left: auto;
}

.mf-reading-width {
width: min(780px, calc(100% - 2.5rem));
margin-right: auto;
margin-left: auto;
}

.mf-home-section {
padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.mf-section-intro {
max-width: 790px;
margin-bottom: 1.9rem !important;
color: var(--m-charcoal);
font-size: 1.08rem !important;
}

/* ==========================================================================
Homepage typography
========================================================================== */

.mf-homepage h1,
.mf-homepage h2,
.mf-homepage h3,
.mf-homepage h4 {
color: var(--m-ink);
font-family: var(--m-display);
font-weight: 400;
letter-spacing: -0.035em;
line-height: 1.02;
}

.mf-homepage h1 {
max-width: 1040px;
margin: 0;
font-size: clamp(3rem, 7vw, 6.5rem);
}

.mf-homepage h2 {
max-width: 960px;
margin: 0 0 1.4rem;
font-size: clamp(2rem, 4.2vw, 3.65rem);
}

.mf-homepage h3 {
margin: 0 0 0.95rem;
font-size: clamp(1.35rem, 2.2vw, 1.85rem);
line-height: 1.08;
}

.mf-homepage h4 {
margin: 1.55rem 0 0.45rem;
color: var(--m-sea);
font-family: var(--m-body);
font-size: 0.88rem;
font-weight: 700;
letter-spacing: 0.12em;
line-height: 1.35;
text-transform: uppercase;
}

.mf-homepage p {
margin: 0 0 1.1rem;
font-size: 1.04rem;
}

.mf-homepage a {
color: #FF202E;
}

/* ==========================================================================
Homepage hero
========================================================================== */

.mf-home-hero {
padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(4.5rem, 8vw, 7rem);
background:
radial-gradient(circle at 92% 15%, rgba(255, 32, 46, 0.12), transparent 28%),
linear-gradient(135deg, #FFFFFF 0%, #FFF4F1 100%);
border-bottom: 1px solid var(--m-hairline);
}

.mf-hero-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 300px;
gap: 3.25rem;
align-items: end;
}

.mf-hero-lead {
max-width: 820px;
margin-top: 1.45rem !important;
color: #463D38;
font-size: 1.16rem !important;
}

.mf-hero-note {
padding: 1.65rem 1.5rem;
background: rgba(255, 255, 255, 0.84);
border: 1px solid rgba(255, 32, 46, 0.22);
box-shadow: var(--m-shadow);
}

.mf-note-copy {
color: #3F3631;
font-size: 1.14rem !important;
line-height: 1.5;
}

.mf-note-signoff {
margin-top: 1.3rem !important;
color: var(--m-accent-dark);
}

/* ==========================================================================
Homepage buttons
========================================================================== */

.mf-button-row {
display: flex;
flex-wrap: wrap;
gap: 0.85rem;
margin-top: 1.85rem;
}

.mf-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0.82rem 1.25rem;
border: 1px solid transparent;
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.1em;
line-height: 1.35;
text-align: center;
text-decoration: none !important;
text-transform: uppercase;
transition:
transform 160ms ease,
background-color 160ms ease,
border-color 160ms ease,
color 160ms ease;
}

.mf-button:hover,
.mf-button:focus-visible {
transform: translateY(-2px);
}

.mf-button-primary {
background: var(--m-accent);
color: #FFFFFF !important;
}

.mf-button-primary:hover,
.mf-button-primary:focus-visible {
background: var(--m-accent-dark);
color: #FFFFFF !important;
}

.mf-button-secondary {
border-color: var(--m-accent);
background: transparent;
color: var(--m-accent) !important;
}

.mf-button-secondary:hover,
.mf-button-secondary:focus-visible {
background: #FFFFFF;
color: var(--m-accent-dark) !important;
}

.mf-button-light {
background: #FFFFFF;
color: var(--m-accent-dark) !important;
}

.mf-button-light:hover,
.mf-button-light:focus-visible {
background: var(--m-surface);
color: var(--m-accent-dark) !important;
}

/* ==========================================================================
Homepage section backgrounds
========================================================================== */

.mf-home-return,
.mf-home-authenticity,
.mf-home-why-now {
background: #FFFFFF;
}

.mf-home-paths,
.mf-home-latest-heading {
background: var(--m-surface);
border-top: 1px solid var(--m-hairline);
border-bottom: 1px solid var(--m-hairline);
}

.mf-home-return p,
.mf-home-why-now p {
font-size: 1.08rem;
}

/* ==========================================================================
Homepage cards
========================================================================== */

.mf-card-grid {
display: grid;
gap: 1.25rem;
}

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

.mf-guide-card,
.mf-detail-card {
padding: 1.75rem;
background: #FFFFFF;
border: 1px solid var(--m-hairline);
box-shadow: 0 8px 24px rgba(43, 43, 43, 0.04);
}

.mf-guide-card {
display: flex;
flex-direction: column;
}

.mf-guide-card .mf-text-link {
margin-top: auto;
padding-top: 0.5rem;
font-weight: 700;
}

.mf-detail-card h3 {
color: var(--m-accent-dark);
}

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

/* ==========================================================================
Homepage editorial standards panel
========================================================================== */

.mf-home-editorial {
padding: clamp(3.5rem, 6vw, 5.2rem) 0;
background: var(--m-sea);
}

.mf-editorial-panel {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 2.15rem;
align-items: center;
}

.mf-editorial-panel h2,
.mf-editorial-panel p {
color: #FFFFFF;
}

.mf-editorial-panel .mf-eyebrow {
color: #FFD2D5;
}

.mf-editorial-panel p {
max-width: 760px;
}

/* ==========================================================================
Homepage latest-post Query Loop
========================================================================== */

.mf-home-latest-heading {
padding-bottom: 1.6rem;
}

.mf-home-latest-grid {
width: min(1180px, calc(100% - 2.5rem));
margin-right: auto;
margin-left: auto;
padding: 0 0 5.5rem;
}

.mf-home-latest-grid .wp-block-post-template {
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.25rem;
}

.mf-home-latest-grid .wp-block-post {
overflow: hidden;
padding: 0 0 1.35rem;
background: #FFFFFF;
border: 1px solid var(--m-hairline);
box-shadow: 0 8px 24px rgba(43, 43, 43, 0.04);
}

.mf-home-latest-grid .wp-block-post-featured-image {
margin: 0 0 1rem;
overflow: hidden;
}

.mf-home-latest-grid .wp-block-post-featured-image img {
width: 100%;
aspect-ratio: 16 / 10;
object-fit: cover;
transition: transform 0.5s ease;
}

.mf-home-latest-grid .wp-block-post:hover .wp-block-post-featured-image img {
transform: scale(1.04);
}

.mf-home-latest-grid .wp-block-post-title,
.mf-home-latest-grid .wp-block-post-excerpt,
.mf-home-latest-grid .wp-block-post-date {
padding-right: 1.2rem;
padding-left: 1.2rem;
}

.mf-home-latest-grid .wp-block-post-title {
margin: 0 0 0.65rem;
font-family: var(--m-display);
font-size: 1.32rem;
letter-spacing: -0.025em;
line-height: 1.08;
}

.mf-home-latest-grid .wp-block-post-title a {
color: var(--m-ink);
text-decoration: none;
}

.mf-home-latest-grid .wp-block-post-title a:hover,
.mf-home-latest-grid .wp-block-post-title a:focus-visible {
color: var(--m-accent);
}

.mf-home-latest-grid .wp-block-post-excerpt {
color: var(--m-charcoal);
font-size: 0.95rem;
line-height: 1.6;
}

.mf-home-latest-grid .wp-block-post-date {
color: var(--m-accent-dark);
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
}

/* ==========================================================================
Pillar-page utilities
========================================================================== */

.mf-pillar-wrap {
width: min(1180px, calc(100% - 2.5rem));
margin-right: auto;
margin-left: auto;
}

.mf-pillar-reading-width {
width: min(780px, 100%);
}

.mf-pillar-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.25rem;
}

/* ==========================================================================
Footer
========================================================================== */

.site-footer {
margin-top: 5rem;
border-top: 2px solid var(--m-ink);
}

.site-footer a {
color: #FF202E;
}

.site-footer a:hover,
.site-footer a:focus-visible {
color: #D71924;
}

.site-footer .footer-tag {
color: var(--m-charcoal);
font-size: 0.72rem;
letter-spacing: 0.18em;
text-transform: uppercase;
}

/* ==========================================================================
Accessibility and motion
========================================================================== */

.screen-reader-text {
position: absolute !important;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
}

@media (prefers-reduced-motion: reduce) {
* {
transition: none !important;
scroll-behavior: auto !important;
}
}

/* ==========================================================================
Responsive adjustments
========================================================================== */

@media (max-width: 900px) {
.mf-hero-layout,
.mf-editorial-panel {
grid-template-columns: 1fr;
}

.mf-card-grid-three,
.mf-pillar-grid,
.mf-home-latest-grid .wp-block-post-template {
	grid-template-columns: 1fr;
}

.mf-hero-note {
	max-width: 480px;
}

}

@media (max-width: 620px) {
.mf-home-wrap,
.mf-reading-width,
.mf-pillar-wrap,
.mf-home-latest-grid {
width: min(100% - 1.5rem, 1180px);
}

.mf-home-hero {
	padding: 4.35rem 0 3.9rem;
}

.mf-home-section {
	padding: 3.8rem 0;
}

.mf-homepage h1 {
	font-size: clamp(2.65rem, 13vw, 4.3rem);
}

.mf-homepage h2 {
	font-size: clamp(1.85rem, 9vw, 2.85rem);
}

.mf-guide-card,
.mf-detail-card {
	padding: 1.35rem;
}

.mf-button-row {
	align-items: stretch;
	flex-direction: column;
}

.mf-button {
	width: 100%;
}

}
/* ==========================================================================
Mau Fashion — corrected homepage hero
========================================================================== */

.mf-home-hero {
padding: clamp(3.75rem, 6vw, 5.75rem) 0;
background:
radial-gradient(circle at 92% 15%, rgba(255, 32, 46, 0.10), transparent 30%),
linear-gradient(135deg, #FFFFFF 0%, #FFF4F1 100%);
border-bottom: 1px solid var(--m-hairline);
}

.mf-hero-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
gap: clamp(2.25rem, 4vw, 4.5rem);
align-items: center;
}

.mf-homepage .mf-home-hero h1 {
max-width: 720px;
margin: 0;
font-size: clamp(2.8rem, 4vw, 3.85rem);
line-height: 1.02;
letter-spacing: -0.045em;
}

.mf-hero-lead {
max-width: 680px;
margin-top: 1.15rem !important;
font-size: 1.08rem !important;
line-height: 1.66;
}

.mf-hero-portrait {
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
min-height: 520px;
background:
linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 232, 230, 0.92));
border: 1px solid rgba(255, 32, 46, 0.18);
box-shadow: var(--m-shadow);
}

.mf-hero-portrait-placeholder {
padding: 1.5rem;
color: rgba(43, 43, 43, 0.52);
font-family: var(--m-body);
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.16em;
line-height: 1.5;
text-align: center;
text-transform: uppercase;
}

.mf-hero-portrait img {
display: block;
width: 100%;
height: 100%;
min-height: 520px;
object-fit: cover;
object-position: center center;
}

@media (max-width: 900px) {
.mf-hero-layout {
grid-template-columns: 1fr;
}

.mf-homepage .mf-home-hero h1 {
	max-width: 720px;
	font-size: clamp(2.7rem, 8vw, 3.75rem);
}

.mf-hero-portrait {
	max-width: 620px;
	min-height: 420px;
}

.mf-hero-portrait img {
	min-height: 420px;
}

}

@media (max-width: 620px) {
.mf-homepage .mf-home-hero h1 {
font-size: clamp(2.35rem, 11vw, 3.25rem);
}

.mf-hero-portrait {
	min-height: 340px;
}

.mf-hero-portrait img {
	min-height: 340px;
}

}
/* ==========================================================================
Mau Fashion — final homepage hero sizing
========================================================================== */

.mf-hero-main {
	min-width: 0;
}

.mf-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
	gap: clamp(2.25rem, 4vw, 4.75rem);
	align-items: center;
}

.mf-home-hero h1 {
	max-width: 680px;
	margin: 0;
	font-size: clamp(2.35rem, 3vw, 3.1rem) !important;
	line-height: 1.04 !important;
	letter-spacing: -0.035em !important;
}

.mf-hero-portrait {
	width: 100%;
}

/* Homepage hero buttons only */
.mf-home-hero .mf-button-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.85rem;
	max-width: 560px;
	margin-top: 1.85rem;
}

.mf-home-hero .mf-button {
	box-sizing: border-box;
	max-width: 100%;
}

/* Tablet */
@media (max-width: 900px) {
	.mf-hero-layout {
		grid-template-columns: 1fr;
	}

	.mf-home-hero h1 {
		max-width: 720px;
		font-size: clamp(2.4rem, 7vw, 3.15rem) !important;
	}

	.mf-hero-portrait {
		max-width: 620px;
	}
}

/* Mobile */
@media (max-width: 620px) {
	.mf-home-hero h1 {
		font-size: clamp(2.1rem, 9vw, 2.7rem) !important;
	}

	.mf-home-hero .mf-button-row {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 100%;
		gap: 0.75rem;
	}

	.mf-home-hero .mf-button {
		width: 100%;
		min-width: 0;
		padding: 0.95rem 0.95rem;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

/* ==========================================================================
Mau Fashion — RB pillar page
========================================================================== */

.mf-pillar-page {
width: 100%;
max-width: none !important;
margin: 0 !important;
padding: 0 !important;
}

/* --- Pillar hero ---------------------------------------------------------- */

.mf-pillar-hero {
padding: clamp(3.75rem, 6vw, 6.25rem) 0;
background:
radial-gradient(circle at 90% 12%, rgba(255, 32, 46, 0.10), transparent 30%),
linear-gradient(135deg, #FFFFFF 0%, #FFF4F1 100%);
border-bottom: 1px solid var(--m-hairline);
}

.mf-pillar-wrap {
width: min(1180px, calc(100% - 2.5rem));
margin-right: auto;
margin-left: auto;
}

.mf-pillar-hero-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
gap: clamp(2.25rem, 5vw, 5rem);
align-items: center;
}

.mf-pillar-hero-copy {
min-width: 0;
}

.mf-pillar-hero h1 {
max-width: 760px;
margin: 0;
font-family: var(--m-display);
font-size: clamp(2.65rem, 4vw, 4rem) !important;
font-weight: 400;
letter-spacing: -0.045em;
line-height: 1.01 !important;
}

.mf-pillar-lead {
max-width: 700px;
margin: 1.35rem 0 0;
color: var(--m-graphite);
font-size: clamp(1.08rem, 1.4vw, 1.22rem);
line-height: 1.7;
}

.mf-pillar-hero-image {
overflow: hidden;
margin: 0;
background: var(--m-soft-blush);
border: 1px solid rgba(255, 32, 46, 0.16);
box-shadow: var(--m-shadow);
}

.mf-pillar-hero-image img {
display: block;
width: 100%;
height: auto;
aspect-ratio: 4 / 5;
object-fit: cover;
}

/* --- Readable article column --------------------------------------------- */

.mf-pillar-article {
width: min(790px, calc(100% - 2.5rem));
margin: 0 auto;
padding: clamp(3.5rem, 6vw, 5.5rem) 0;
color: var(--m-ink);
font-family: var(--m-body);
font-size: 1.08rem;
line-height: 1.82;
}

.mf-pillar-article h2 {
margin: 3.9rem 0 1.25rem;
font-family: var(--m-display);
font-size: clamp(2rem, 3.5vw, 3rem);
font-weight: 400;
letter-spacing: -0.035em;
line-height: 1.04;
}

.mf-pillar-article h2:first-child {
margin-top: 0;
}

.mf-pillar-article h3 {
margin: 2.55rem 0 0.85rem;
color: var(--m-ink);
font-family: var(--m-display);
font-size: clamp(1.35rem, 2vw, 1.75rem);
font-weight: 400;
letter-spacing: -0.025em;
line-height: 1.1;
}

.mf-pillar-article p {
margin: 0 0 1.2rem;
}

.mf-pillar-article ul {
margin: 1.2rem 0 1.8rem;
padding-left: 1.4rem;
}

.mf-pillar-article li {
margin-bottom: 0.62rem;
padding-left: 0.25rem;
}

.mf-pillar-article a {
color: var(--m-accent);
}

/* --- Pillar callout ------------------------------------------------------- */

.mf-pillar-callout {
margin: 1.9rem 0;
padding: 1.2rem 1.3rem;
background: var(--m-soft-blush);
border-left: 4px solid var(--m-accent);
}

.mf-pillar-callout p:last-child {
margin-bottom: 0;
}

/* --- Seller-tier table ---------------------------------------------------- */

.mf-table-wrap {
max-width: 1080px;
margin: 1.8rem 0 2rem;
overflow-x: auto;
border: 1px solid var(--m-hairline);
}

.mf-pillar-table {
width: 100%;
min-width: 760px;
border-collapse: collapse;
background: #FFFFFF;
font-size: 0.92rem;
line-height: 1.55;
}

.mf-pillar-table th,
.mf-pillar-table td {
padding: 0.9rem 1rem;
border-bottom: 1px solid var(--m-hairline);
text-align: left;
vertical-align: top;
}

.mf-pillar-table th {
background: var(--m-ink);
color: #FFFFFF;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.09em;
text-transform: uppercase;
}

.mf-pillar-table tr:last-child td {
border-bottom: 0;
}

.mf-pillar-table tr:nth-child(even) td {
background: var(--m-surface);
}

/* --- Editorial statement ------------------------------------------------- */

.mf-editorial-note {
width: min(790px, calc(100% - 2.5rem));
margin: 0 auto clamp(4.5rem, 7vw, 7rem);
padding: clamp(1.6rem, 4vw, 2.4rem);
background: var(--m-surface);
border-top: 4px solid var(--m-sea);
}

.mf-editorial-note h2 {
margin: 0 0 1rem;
font-family: var(--m-display);
font-size: clamp(1.65rem, 3vw, 2.4rem);
font-weight: 400;
letter-spacing: -0.035em;
line-height: 1.06;
}

.mf-editorial-note p {
margin: 0 0 1rem;
line-height: 1.75;
}

.mf-editorial-note p:last-child {
margin-bottom: 0;
}

.mf-editorial-note-links {
display: flex;
flex-wrap: wrap;
gap: 0.48rem;
padding-top: 0.35rem;
font-weight: 700;
}

/* --- Responsive pillar layout -------------------------------------------- */

@media (max-width: 900px) {
.mf-pillar-hero-grid {
grid-template-columns: 1fr;
}


.mf-pillar-hero h1 {
	max-width: 780px;
	font-size: clamp(2.55rem, 8vw, 3.8rem) !important;
}

.mf-pillar-hero-image {
	max-width: 620px;
}


}

@media (max-width: 620px) {
.mf-pillar-wrap,
.mf-pillar-article,
.mf-editorial-note {
width: min(100% - 1.5rem, 1180px);
}

.mf-pillar-hero {
	padding: 3.5rem 0 3rem;
}

.mf-pillar-hero h1 {
	font-size: clamp(2.35rem, 11vw, 3.15rem) !important;
}

.mf-pillar-article {
	padding: 3rem 0;
	font-size: 1.02rem;
	line-height: 1.74;
}

.mf-pillar-article h2 {
	margin-top: 3.25rem;
}

.mf-editorial-note-links {
	display: block;
}

.mf-editorial-note-links span {
	display: none;
}

.mf-editorial-note-links a {
	display: block;
	margin-top: 0.45rem;
}


}
/* ==========================================================================
Mau Fashion — FINAL homepage mobile containment fix
Paste at the absolute bottom of style.css
========================================================================== */

/* Lock the real WordPress homepage canvas */
body.home,
body.home .wp-site-blocks,
body.home main.site-main--front,
body.home .entry-content,
body.home .entry-content > .wp-block-group {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	overflow-x: hidden !important;
	box-sizing: border-box !important;
}

body.home {
	position: relative;
	touch-action: pan-y;
}

/* Make the homepage custom sections calculate width correctly */
body.home .entry-content,
body.home .entry-content *,
body.home .entry-content *::before,
body.home .entry-content *::after {
	box-sizing: border-box !important;
	min-width: 0;
}

/* Every major homepage section stays inside the viewport */
body.home .mf-home-hero,
body.home .mf-home-section,
body.home .mf-home-return,
body.home .mf-home-paths,
body.home .mf-home-latest-heading,
body.home .mf-home-authenticity,
body.home .mf-home-editorial,
body.home .mf-home-why-now {
	width: 100% !important;
	max-width: 100% !important;
	overflow-x: hidden !important;
}

/* The inner content wrapper gets spacing without causing overflow */
body.home .mf-home-wrap,
body.home .mf-reading-width {
	width: min(1180px, calc(100% - 2.5rem)) !important;
	max-width: 1180px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Reading-width sections stay narrower but still safe */
body.home .mf-reading-width {
	max-width: 780px !important;
}

/* Hero layout */
body.home .mf-hero-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 470px) !important;
	gap: clamp(2.25rem, 4vw, 4.75rem) !important;
	align-items: center !important;
	width: min(1180px, calc(100% - 2.5rem)) !important;
	max-width: 1180px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.home .mf-hero-main,
body.home .mf-hero-portrait,
body.home .mf-button-row,
body.home .mf-card-grid,
body.home .mf-guide-card,
body.home .mf-detail-card,
body.home .mf-editorial-panel,
body.home .mf-editorial-panel > *,
body.home .mf-editorial-action {
	max-width: 100% !important;
	min-width: 0 !important;
}

/* Hero portrait stays contained */
body.home .mf-hero-portrait {
	width: 100% !important;
	overflow: hidden !important;
}

body.home .mf-hero-portrait img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: cover !important;
}

/* Buttons stay inside their parent */
body.home .mf-button-row {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 0.85rem !important;
}

body.home .mf-button {
	max-width: 100% !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
}

/* Cards never force a wider screen */
body.home .mf-card-grid-three {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 1.25rem !important;
}

/* Editorial panel containment */
body.home .mf-editorial-panel {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 2.15rem !important;
	align-items: center !important;
	width: 100% !important;
}

body.home .mf-editorial-action .mf-button {
	max-width: 100% !important;
}

/* Tablet/mobile collapse */
@media (max-width: 900px) {
	body.home .mf-hero-layout,
	body.home .mf-card-grid-three,
	body.home .mf-editorial-panel {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.home .mf-hero-portrait {
		max-width: 620px !important;
	}

	body.home .mf-editorial-action .mf-button {
		width: 100% !important;
	}
}

/* Phone lock */
@media (max-width: 620px) {
	body.home .mf-home-wrap,
	body.home .mf-reading-width,
	body.home .mf-hero-layout {
		width: calc(100% - 1.5rem) !important;
		max-width: calc(100% - 1.5rem) !important;
	}

	body.home .mf-home-hero {
		padding: 3.5rem 0 3.25rem !important;
	}

	body.home .mf-hero-layout {
		gap: 2rem !important;
	}

	body.home .mf-button-row {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		width: 100% !important;
		gap: 0.75rem !important;
	}

	body.home .mf-button {
		display: flex !important;
		width: 100% !important;
		padding: 0.95rem 0.85rem !important;
	}

	body.home .mf-home-section {
		padding: 3.6rem 0 !important;
	}

	body.home .mf-editorial-panel {
		gap: 1.4rem !important;
	}

	body.home .mf-editorial-panel h2,
	body.home .mf-editorial-panel p {
		max-width: 100% !important;
	}

	body.home .mf-editorial-action {
		width: 100% !important;
	}

	body.home .mf-editorial-action .mf-button {
		width: 100% !important;
	}
}