/*
Theme Name: Mount Moriah
Theme URI: https://mountmoriah.net
Author: Mount Moriah
Author URI: https://mountmoriah.net
Description: Magazine francophone dedie a la spiritualite, aux pelerinages et a la formation religieuse. Ressources, guides et actualites pour accompagner votre cheminement de foi.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mountmoriah
Tags: blog, education, spirituality, custom-logo, custom-menu, featured-images, theme-options

Mount Moriah - Eclairez votre chemin de foi.
*/

/* ============================================================
   DESIGN TOKENS - Palette Sacred Gold & Midnight Blue
   ============================================================ */
:root {
    /* Primary Colors - Deep & Sacred */
    --mm-midnight: #1a2744;
    --mm-midnight-light: #253454;
    --mm-midnight-dark: #0f1a2e;
    
    /* Accent Colors - Sacred Gold */
    --mm-gold: #c9a962;
    --mm-gold-light: #d4bc7d;
    --mm-gold-dark: #b8944d;
    --mm-gold-muted: rgba(201, 169, 98, 0.15);
    
    /* Backgrounds - Warm Ivory */
    --mm-bg-primary: #faf8f5;
    --mm-bg-secondary: #f5f2ed;
    --mm-bg-tertiary: #eae5dc;
    --mm-bg-card: #ffffff;
    --mm-bg-dark: #1a2744;
    
    /* Text Colors */
    --mm-text-primary: #2c2c2c;
    --mm-text-secondary: #5c5c5c;
    --mm-text-muted: #8c8c8c;
    --mm-text-light: #ffffff;
    --mm-text-on-gold: #1a2744;
    --mm-white: #ffffff;
    
    /* Font Aliases */
    --mm-font-serif: 'Source Serif 4', 'Georgia', serif;
    
    /* Semantic */
    --mm-success: #3d7a5f;
    --mm-error: #b44d4d;
    --mm-warning: #c99a4d;
    
    /* Borders & Shadows */
    --mm-border: rgba(26, 39, 68, 0.08);
    --mm-border-medium: rgba(26, 39, 68, 0.12);
    --mm-border-gold: rgba(201, 169, 98, 0.3);
    --mm-shadow-soft: 0 2px 12px rgba(26, 39, 68, 0.06);
    --mm-shadow-medium: 0 4px 24px rgba(26, 39, 68, 0.08);
    --mm-shadow-elevated: 0 12px 48px rgba(26, 39, 68, 0.12);
    --mm-shadow-gold: 0 4px 20px rgba(201, 169, 98, 0.2);
    
    /* Typography - Elegant Serif */
    --mm-font-display: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --mm-font-body: 'Source Serif 4', 'Georgia', serif;
    --mm-font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing & Layout */
    --mm-container: 1200px;
    --mm-container-narrow: 780px;
    --mm-container-wide: 1400px;
    --mm-radius-sm: 3px;
    --mm-radius-md: 6px;
    --mm-radius-lg: 12px;
    --mm-radius-xl: 24px;
    
    /* Transitions */
    --mm-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --mm-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --mm-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Header */
    --mm-header-height: 80px;
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    text-size-adjust: 100%;
}

body {
    font-family: var(--mm-font-body);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--mm-text-primary);
    background: var(--mm-bg-primary);
    overflow-x: hidden;
}

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

a {
    color: var(--mm-midnight);
    text-decoration: none;
    transition: color var(--mm-transition-fast);
}

a:hover {
    color: var(--mm-gold-dark);
}

a:focus-visible {
    outline: 2px solid var(--mm-gold);
    outline-offset: 2px;
}

::selection {
    background: var(--mm-gold);
    color: var(--mm-text-on-gold);
}

/* ============================================================
   TYPOGRAPHY - Elegant & Readable
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--mm-font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--mm-text-primary);
    letter-spacing: -0.01em;
}

h1 { 
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 { 
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}

h3 { 
    font-size: clamp(1.375rem, 3vw, 1.75rem);
}

h4 { 
    font-size: 1.25rem;
}

h5 { 
    font-size: 1.125rem;
}

h6 { 
    font-size: 1rem;
    font-family: var(--mm-font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

p {
    margin: 0 0 1.5rem 0;
}

p:last-child {
    margin-bottom: 0;
}

blockquote {
    margin: 2.5rem 0;
    padding: 2rem 2.5rem;
    border-left: 4px solid var(--mm-gold);
    background: linear-gradient(135deg, var(--mm-gold-muted) 0%, transparent 100%);
    font-family: var(--mm-font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--mm-midnight);
    border-radius: 0 var(--mm-radius-md) var(--mm-radius-md) 0;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-family: var(--mm-font-sans);
    font-size: 0.875rem;
    font-style: normal;
    color: var(--mm-text-secondary);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.mm-container {
    width: 100%;
    max-width: var(--mm-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.mm-container--narrow {
    max-width: var(--mm-container-narrow);
}

.mm-container--wide {
    max-width: var(--mm-container-wide);
}

.mm-section {
    padding: 6rem 0;
}

.mm-section--alt {
    background: var(--mm-bg-secondary);
}

.mm-section--dark {
    background: var(--mm-bg-dark);
    color: var(--mm-text-light);
}

.mm-section--dark h2,
.mm-section--dark h3,
.mm-section--dark h4 {
    color: var(--mm-text-light);
}

.mm-text-center {
    text-align: center;
}

.mm-mt-2 { margin-top: 1rem; }
.mm-mt-3 { margin-top: 1.5rem; }
.mm-mt-4 { margin-top: 2rem; }
.mm-mb-4 { margin-bottom: 2rem; }

/* ============================================================
   ACCESSIBILITY - Skip Links & Screen Reader
   ============================================================ */
.mm-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    padding: 1rem 2rem;
    background: var(--mm-midnight);
    color: var(--mm-gold);
    font-family: var(--mm-font-sans);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--mm-radius-md);
    box-shadow: var(--mm-shadow-elevated);
    transition: top 0.2s ease;
}

.mm-skip-link:focus {
    top: 1rem;
    color: var(--mm-gold);
    outline: 3px solid var(--mm-gold);
    outline-offset: 2px;
}

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

/* ============================================================
   HEADER - Elegant Transparent to Solid
   ============================================================ */
.mm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--mm-header-height);
    background: transparent;
    transition: background var(--mm-transition-base), box-shadow var(--mm-transition-base);
}

.mm-header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--mm-shadow-soft);
    backdrop-filter: blur(12px);
}

.mm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 2rem;
}

/* Logo */
.mm-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--mm-font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--mm-text-light);
    transition: color var(--mm-transition-fast);
    text-decoration: none;
}

.mm-header--scrolled .mm-logo {
    color: var(--mm-midnight);
}

.mm-logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.mm-logo__mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.mm-logo:hover {
    color: var(--mm-gold);
}

.mm-logo__text {
    font-family: var(--mm-font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Navigation */
.mm-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mm-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.125rem;
    font-family: var(--mm-font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: var(--mm-radius-md);
    transition: all var(--mm-transition-fast);
}

.mm-header--scrolled .mm-nav__link {
    color: var(--mm-text-secondary);
}

.mm-nav__link:hover {
    color: var(--mm-gold);
    background: rgba(201, 169, 98, 0.1);
}

.mm-nav__link--active {
    color: var(--mm-gold) !important;
    background: rgba(201, 169, 98, 0.15);
}

.mm-nav__link--disabled {
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}

.mm-header--scrolled .mm-nav__link--disabled {
    color: var(--mm-text-muted);
}

/* Mobile Menu Toggle */
.mm-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.mm-menu-toggle span {
    display: block;
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background: var(--mm-text-light);
    border-radius: 2px;
    transition: all var(--mm-transition-fast);
}

.mm-header--scrolled .mm-menu-toggle span {
    background: var(--mm-midnight);
}

.mm-menu-toggle span:nth-child(1) { top: 14px; }
.mm-menu-toggle span:nth-child(2) { top: 21px; }
.mm-menu-toggle span:nth-child(3) { top: 28px; }

.mm-menu-toggle.is-active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.mm-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mm-menu-toggle.is-active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* Mobile Menu */
.mm-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--mm-midnight);
    padding: calc(var(--mm-header-height) + 2rem) 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--mm-transition-base);
}

.mm-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.mm-mobile-menu__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.mm-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mm-mobile-menu__link {
    display: block;
    padding: 1rem;
    font-family: var(--mm-font-display);
    font-size: 1.5rem;
    color: var(--mm-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--mm-transition-fast);
}

.mm-mobile-menu__link:hover {
    color: var(--mm-gold);
    padding-left: 1.5rem;
}

/* ============================================================
   HERO - Cinematic Full-Screen
   ============================================================ */
.mm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--mm-midnight);
}

.mm-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.mm-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mm-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(26, 39, 68, 0.4) 0%,
        rgba(26, 39, 68, 0.6) 50%,
        rgba(26, 39, 68, 0.85) 100%
    );
}

.mm-hero__content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 2rem;
    text-align: center;
    color: var(--mm-text-light);
}

.mm-hero__tagline {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.25rem;
    font-family: var(--mm-font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--mm-gold);
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: var(--mm-radius-xl);
}

.mm-hero__title {
    margin-bottom: 1.5rem;
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--mm-text-light);
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.mm-hero__title span {
    color: var(--mm-gold);
}

.mm-hero__description {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    font-size: 1.1875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

.mm-hero__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.mm-hero__scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--mm-font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: mm-float 2s ease-in-out infinite;
}

.mm-hero__scroll svg {
    width: 24px;
    height: 24px;
    stroke: var(--mm-gold);
}

@keyframes mm-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.mm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.9375rem 2rem;
    font-family: var(--mm-font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--mm-radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--mm-transition-fast);
}

.mm-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--mm-transition-fast);
}

.mm-btn:hover svg {
    transform: translateX(3px);
}

.mm-btn--primary {
    background: var(--mm-gold);
    color: var(--mm-text-on-gold);
    border-color: var(--mm-gold);
}

.mm-btn--primary:hover {
    background: var(--mm-gold-dark);
    border-color: var(--mm-gold-dark);
    color: var(--mm-text-on-gold);
    box-shadow: var(--mm-shadow-gold);
}

.mm-btn--secondary {
    background: transparent;
    color: var(--mm-text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.mm-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--mm-text-light);
}

.mm-btn--outline {
    background: transparent;
    color: var(--mm-midnight);
    border-color: var(--mm-border-medium);
}

.mm-btn--outline:hover {
    background: var(--mm-midnight);
    border-color: var(--mm-midnight);
    color: var(--mm-text-light);
}

.mm-btn--text {
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    color: var(--mm-gold-dark);
    font-weight: 600;
}

.mm-btn--text:hover {
    color: var(--mm-midnight);
}

.mm-btn__text {
    display: inline;
}

.mm-btn__loading {
    display: none;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.mm-section-header {
    margin-bottom: 3.5rem;
}

.mm-section-header--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.mm-section-header__label {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-family: var(--mm-font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mm-gold-dark);
}

.mm-section--dark .mm-section-header__label {
    color: var(--mm-gold);
}

.mm-section-header__title {
    margin-bottom: 1rem;
}

.mm-section-header__description {
    color: var(--mm-text-secondary);
    font-size: 1.0625rem;
}

.mm-section--dark .mm-section-header__description {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   CATEGORY CARDS - Masonry Style
   ============================================================ */
.mm-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mm-category-card {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--mm-radius-lg);
    text-decoration: none;
}

.mm-category-card__image {
    position: absolute;
    inset: 0;
}

.mm-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--mm-transition-slow);
}

.mm-category-card:hover .mm-category-card__image img {
    transform: scale(1.08);
}

.mm-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 39, 68, 0.9) 0%,
        rgba(26, 39, 68, 0.4) 40%,
        rgba(26, 39, 68, 0.1) 100%
    );
    transition: background var(--mm-transition-base);
}

.mm-category-card:hover .mm-category-card__overlay {
    background: linear-gradient(
        to top,
        rgba(26, 39, 68, 0.95) 0%,
        rgba(26, 39, 68, 0.5) 50%,
        rgba(26, 39, 68, 0.2) 100%
    );
}

.mm-category-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    color: var(--mm-text-light);
}

.mm-category-card__title {
    margin-bottom: 0.5rem;
    font-family: var(--mm-font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--mm-text-light);
}

.mm-category-card__count {
    font-family: var(--mm-font-sans);
    font-size: 0.875rem;
    color: var(--mm-gold);
}

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.mm-grid {
    display: grid;
    gap: 2rem;
}

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

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

.mm-card {
    display: flex;
    flex-direction: column;
    background: var(--mm-bg-card);
    border-radius: var(--mm-radius-lg);
    overflow: hidden;
    box-shadow: var(--mm-shadow-soft);
    transition: all var(--mm-transition-base);
}

.mm-card:hover {
    box-shadow: var(--mm-shadow-elevated);
    transform: translateY(-4px);
}

.mm-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.mm-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--mm-transition-slow);
}

.mm-card:hover .mm-card__image img {
    transform: scale(1.05);
}

.mm-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
}

.mm-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.875rem;
    font-family: var(--mm-font-sans);
    font-size: 0.8125rem;
    color: var(--mm-text-muted);
}

.mm-card__category {
    color: var(--mm-gold-dark);
    font-weight: 600;
}

.mm-card__title {
    margin-bottom: 0.875rem;
    font-size: 1.25rem;
    line-height: 1.35;
}

.mm-card__title a {
    color: inherit;
    text-decoration: none;
}

.mm-card__title a:hover {
    color: var(--mm-gold-dark);
}

.mm-card__excerpt {
    flex: 1;
    margin-bottom: 1.25rem;
    color: var(--mm-text-secondary);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Featured Card - Large */
.mm-card--featured {
    flex-direction: row;
}

.mm-card--featured .mm-card__image {
    flex: 0 0 55%;
    aspect-ratio: auto;
}

.mm-card--featured .mm-card__content {
    padding: 2.5rem;
    justify-content: center;
}

.mm-card--featured .mm-card__title {
    font-size: 1.75rem;
}

/* ============================================================
   QUOTE BLOCK - Elegant Citation
   ============================================================ */
.mm-quote-block {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
    text-align: center;
}

.mm-quote-block__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--mm-gold);
}

.mm-quote-block__icon svg {
    width: 48px;
    height: 48px;
    opacity: 0.6;
}

.mm-quote-block__text {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-family: var(--mm-font-display);
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.5;
    color: var(--mm-midnight);
}

.mm-quote-block__author {
    margin-top: 1.5rem;
    font-family: var(--mm-font-sans);
    font-size: 0.9375rem;
    font-style: normal;
    color: var(--mm-text-secondary);
}

.mm-quote-block__author::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    margin-right: 1rem;
    background: var(--mm-gold);
    vertical-align: middle;
}

/* ============================================================
   NEWSLETTER - Elegant Dark Section
   ============================================================ */
.mm-newsletter {
    position: relative;
    padding: 4rem;
    background: var(--mm-midnight);
    border-radius: var(--mm-radius-xl);
    text-align: center;
    overflow: hidden;
}

.mm-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.mm-newsletter__title {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--mm-text-light);
}

.mm-newsletter__description {
    max-width: 500px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.mm-newsletter__form {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.mm-newsletter__input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-family: var(--mm-font-sans);
    font-size: 1rem;
    color: var(--mm-text-primary);
    background: var(--mm-bg-card);
    border: 2px solid transparent;
    border-radius: var(--mm-radius-md);
    outline: none;
    transition: all var(--mm-transition-fast);
}

.mm-newsletter__input:focus {
    border-color: var(--mm-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.2);
}

.mm-newsletter__input::placeholder {
    color: var(--mm-text-muted);
}

.mm-newsletter__note {
    margin-top: 1rem;
    font-family: var(--mm-font-sans);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Honeypot field - invisible */
.mm-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================================
   FOOTER - Refined & Minimal
   ============================================================ */
.mm-footer {
    background: var(--mm-bg-tertiary);
    padding: 4rem 0 2rem;
}

.mm-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.mm-footer__brand {
    max-width: 280px;
}

.mm-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-family: var(--mm-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mm-midnight);
    text-decoration: none;
}

.mm-footer__logo svg {
    width: 36px;
    height: 36px;
    stroke: var(--mm-midnight);
}

.mm-footer__tagline {
    font-size: 0.9375rem;
    color: var(--mm-text-secondary);
    line-height: 1.6;
}

.mm-footer__column h4 {
    margin-bottom: 1.25rem;
    font-family: var(--mm-font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mm-text-primary);
}

.mm-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mm-footer__links li {
    margin-bottom: 0.75rem;
}

.mm-footer__links a {
    font-size: 0.9375rem;
    color: var(--mm-text-secondary);
    transition: color var(--mm-transition-fast);
}

.mm-footer__links a:hover {
    color: var(--mm-gold-dark);
}

.mm-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--mm-border);
}

.mm-footer__copyright {
    font-family: var(--mm-font-sans);
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.mm-footer__legal {
    display: flex;
    gap: 1.5rem;
}

.mm-footer__legal a {
    font-family: var(--mm-font-sans);
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.mm-footer__legal a:hover {
    color: var(--mm-gold-dark);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.mm-post-header {
    padding: calc(var(--mm-header-height) + 4rem) 0 4rem;
    background: var(--mm-bg-secondary);
}

.mm-post-header__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mm-post-header__meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--mm-font-sans);
    font-size: 0.875rem;
    color: var(--mm-text-muted);
}

.mm-post-header__category {
    color: var(--mm-gold-dark);
    font-weight: 600;
}

.mm-post-header__title {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 5vw, 3rem);
}

.mm-post-header__excerpt {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--mm-text-secondary);
}

.mm-post-featured-image {
    margin: -2rem auto 0;
    max-width: 1000px;
    padding: 0 1.5rem;
}

.mm-post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-elevated);
}

.mm-post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.mm-post-content p {
    margin-bottom: 1.75rem;
}

.mm-post-content h2 {
    margin: 3rem 0 1.5rem;
}

.mm-post-content h3 {
    margin: 2.5rem 0 1rem;
}

.mm-post-content ul,
.mm-post-content ol {
    margin: 0 0 1.75rem 1.5rem;
}

.mm-post-content li {
    margin-bottom: 0.5rem;
}

.mm-post-content img {
    margin: 2rem 0;
    border-radius: var(--mm-radius-md);
}

/* ============================================================
   POST NAVIGATION
   ============================================================ */
.mm-post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mm-post-nav-item--next {
    text-align: right;
    align-items: flex-end;
}

.mm-post-nav-item__label {
    font-family: var(--mm-font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mm-gold-dark);
}

.mm-post-nav-item__link {
    font-family: var(--mm-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--mm-text-primary);
    text-decoration: none;
    transition: color var(--mm-transition-fast);
    line-height: 1.3;
}

.mm-post-nav-item__link:hover {
    color: var(--mm-gold-dark);
}

@media (max-width: 768px) {
    .mm-post-nav-item--next {
        text-align: left;
        align-items: flex-start;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--mm-border);
    }
    
    .mm-post-nav-item__link {
        font-size: 1.125rem;
    }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.mm-error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--mm-bg-secondary);
    text-align: center;
}

.mm-error-page__code {
    font-family: var(--mm-font-display);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 700;
    color: var(--mm-gold);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 var(--mm-midnight);
}

.mm-error-page__title {
    margin-bottom: 1rem;
}

.mm-error-page__description {
    max-width: 400px;
    margin: 0 auto 2rem;
    color: var(--mm-text-secondary);
}

/* ============================================================
   ARCHIVE/SEARCH
   ============================================================ */
.mm-archive-header {
    padding: calc(var(--mm-header-height) + 3rem) 0 3rem;
    background: var(--mm-bg-secondary);
    text-align: center;
}

.mm-archive-header__title {
    margin-bottom: 0.75rem;
}

.mm-archive-header__description {
    color: var(--mm-text-secondary);
}

.mm-search-form {
    display: flex;
    max-width: 500px;
    margin: 2rem auto 0;
}

.mm-search-form input[type="search"] {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-family: var(--mm-font-sans);
    font-size: 1rem;
    border: 2px solid var(--mm-border-medium);
    border-right: none;
    border-radius: var(--mm-radius-md) 0 0 var(--mm-radius-md);
    background: var(--mm-bg-card);
    outline: none;
    transition: border-color var(--mm-transition-fast);
}

.mm-search-form input[type="search"]:focus {
    border-color: var(--mm-gold);
}

.mm-search-form button {
    padding: 0.875rem 1.5rem;
    background: var(--mm-midnight);
    color: var(--mm-text-light);
    border: none;
    border-radius: 0 var(--mm-radius-md) var(--mm-radius-md) 0;
    cursor: pointer;
    transition: background var(--mm-transition-fast);
}

.mm-search-form button:hover {
    background: var(--mm-gold-dark);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.mm-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    font-family: var(--mm-font-sans);
}

.mm-pagination a,
.mm-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--mm-text-secondary);
    background: var(--mm-bg-card);
    border-radius: var(--mm-radius-md);
    transition: all var(--mm-transition-fast);
}

.mm-pagination a:hover {
    background: var(--mm-midnight);
    color: var(--mm-text-light);
}

.mm-pagination .current {
    background: var(--mm-gold);
    color: var(--mm-text-on-gold);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
    .mm-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mm-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mm-card--featured {
        flex-direction: column;
    }
    
    .mm-card--featured .mm-card__image {
        flex: none;
        aspect-ratio: 16/9;
    }
    
    .mm-footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --mm-header-height: 70px;
    }
    
    .mm-section {
        padding: 4rem 0;
    }
    
    .mm-nav {
        display: none;
    }
    
    .mm-menu-toggle {
        display: block;
    }
    
    .mm-hero__content {
        padding: 0 1rem;
    }
    
    .mm-hero__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .mm-hero__actions .mm-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .mm-categories {
        grid-template-columns: 1fr;
    }
    
    .mm-category-card {
        aspect-ratio: 16/9;
    }
    
    .mm-grid--2,
    .mm-grid--3 {
        grid-template-columns: 1fr;
    }
    
    .mm-newsletter {
        padding: 2.5rem 1.5rem;
    }
    
    .mm-newsletter__form {
        flex-direction: column;
    }
    
    .mm-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mm-footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .mm-section-header {
        margin-bottom: 2.5rem;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .mm-header,
    .mm-footer,
    .mm-newsletter,
    .mm-hero__scroll,
    .mm-btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .mm-post-content {
        max-width: none;
        padding: 0;
    }
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.wp-caption {
    max-width: 100%;
    margin: 2rem 0;
}

.wp-caption img {
    border-radius: var(--mm-radius-md);
}

.wp-caption-text {
    margin-top: 0.75rem;
    font-family: var(--mm-font-sans);
    font-size: 0.875rem;
    color: var(--mm-text-muted);
    text-align: center;
}

.aligncenter {
    display: block;
    margin: 2rem auto;
}

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

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

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    border-radius: var(--mm-radius-sm);
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.mm-section--testimonials {
    background: linear-gradient(135deg, var(--mm-midnight) 0%, #243352 100%);
    padding: 5rem 0;
}

.mm-section--testimonials .mm-section-header__label {
    color: var(--mm-gold);
}

.mm-section--testimonials .mm-section-header__title {
    color: var(--mm-white);
}

.mm-section--testimonials .mm-section-header__description {
    color: rgba(255, 255, 255, 0.7);
}

.mm-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .mm-testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .mm-testimonials {
        grid-template-columns: 1fr;
    }
}

.mm-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: var(--mm-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mm-testimonial:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 98, 0.4);
}

.mm-testimonial__quote {
    color: var(--mm-gold);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.mm-testimonial__text {
    font-family: var(--mm-font-serif);
    font-size: 1.0625rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--mm-white);
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.mm-testimonial__footer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mm-testimonial__author {
    font-family: var(--mm-font-sans);
    font-weight: 600;
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--mm-white);
}

.mm-testimonial__meta {
    font-family: var(--mm-font-sans);
    font-size: 0.8125rem;
    color: var(--mm-gold);
}

/* ============================================================
   ERROR PAGE 404
   ============================================================ */
.mm-error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.mm-error-page__code {
    font-family: var(--mm-font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--mm-gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -2rem;
}

.mm-error-page__title {
    font-family: var(--mm-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--mm-midnight);
    margin-bottom: 1rem;
}

.mm-error-page__description {
    font-family: var(--mm-font-serif);
    font-size: 1.125rem;
    color: var(--mm-text-muted);
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* ============================================================
   SEARCH FORM
   ============================================================ */
.mm-search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 1.5rem auto 0;
}

.mm-search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    font-family: var(--mm-font-sans);
    font-size: 1rem;
    border: 2px solid var(--mm-border);
    border-radius: var(--mm-radius-md);
    background: var(--mm-white);
    transition: border-color 0.2s ease;
}

.mm-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--mm-gold);
}

.mm-search-form button {
    padding: 0.75rem 1rem;
    background: var(--mm-midnight);
    color: var(--mm-white);
    border: none;
    border-radius: var(--mm-radius-md);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mm-search-form button:hover {
    background: var(--mm-midnight-light);
}

/* ============================================================
   ARCHIVE HEADER
   ============================================================ */
.mm-archive-header {
    background: linear-gradient(135deg, var(--mm-midnight) 0%, #243352 100%);
    padding: 4rem 0;
    text-align: center;
}

.mm-archive-header__title {
    font-family: var(--mm-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--mm-white);
    margin-bottom: 0.5rem;
}

.mm-archive-header__title span {
    color: var(--mm-gold);
}

.mm-archive-header__description {
    font-family: var(--mm-font-serif);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .mm-header,
    .mm-footer,
    .mm-newsletter,
    .mm-hero__scroll,
    .mm-btn,
    .mm-mobile-menu {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .mm-post-content {
        max-width: 100%;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}
