/*!
Theme Name: mam
Theme URI: https://minit-l.com/fr
Description: A custom theme based on _tw
Version: 0.1.0
Author: Minit-L
Author URI: https://minit-l.com/fr
Text Domain: mam
Requires at least: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mam is based on _tw https://underscoretw.com/, (C) 2021-2025 Greg Sullivan
_tw is distributed under the terms of the GNU GPL v2 or later.

_tw is based on Underscores https://underscores.me/ and Varia https://github.com/Automattic/themes/tree/master/varia, (C) 2012-2025 Automattic, Inc.
Underscores and Varia are distributed under the terms of the GNU GPL v2 or later.
*/

/*
Theme Name: Your Theme Name
... other theme header info ...
*/

/* 1. Global Font Import (Already handled by functions.php, but often kept here for reference) */
/* If you use the enqueuing method above, you do NOT strictly need the @import here. */
/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800&display=swap'); */


/* 2. Light Theme Variables (Default) */
:root {
    --font-size: 16px;
	
    /* Palette Mémorial Alsace-Moselle */
    --memorial-navy: #1a2332;
    --memorial-navy-light: #2c3e50;
    --memorial-slate: #475569;
    --memorial-slate-light: #64748b;
    --memorial-bronze: #b8860b;
    --memorial-gold: #d4af37;
    --memorial-cream: #f8f6f3;
    --memorial-beige: #e8e4dd;
    --memorial-sepia: #704214;
    --background: #fff;
    --radius: .5rem;    
    --wp--style--gallery-gap-default: 1rem;
}

/* 3. Base Styles (Mapping Variables and setting typography) */
html {
    font-size: var(--font-size);
}

body {
    background-color: var(--background);
    color: var(--memorial-navy);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 0;
}

/* Base typography for elements without block styles */
h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
}
h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 3.5vw + 1rem, 2.5rem);
    margin-bottom: 1.5rem;
}
h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 3.5vw + .5rem, 1.5rem);
}
h4, h5, p, label, button, input {
    font-family: 'Montserrat', sans-serif;
}

/* 4. Custom Utility Classes */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-body {
    font-family: 'Montserrat', sans-serif;
}

.text-balance {
    text-wrap: balance;
}