/*
Theme Name:        Marc-André Raynaud
Theme URI:         https://www.maraynaud.fr
Author:            Marc-André Raynaud
Author URI:        https://www.maraynaud.fr
Description:       Thème éditorial sur mesure pour maraynaud.fr — palette crème/noir, typographies Cormorant Garamond & Jost, sections modulaires via blocs Gutenberg.
Version:           1.0.0
Requires at least: 6.4
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       maraynaud
Tags:              one-column, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, block-styles, wide-blocks, editor-style
*/

/* ====================================================================
   VARIABLES & RESET
==================================================================== */
:root {
  --black:   #0a0a0a;
  --white:   #f7f5f2;
  --muted:   #6b6560;
  --accent:  #b8a99a;
  --line:    rgba(0,0,0,0.12);
  --line-light: rgba(0,0,0,0.06);
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Jost', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--black); text-decoration: none; transition: color .25s; }
a:hover { color: var(--muted); }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: .5;
}

/* Skip link (accessibilité) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--black);
  color: var(--white);
  padding: .75rem 1.25rem;
  z-index: 100000;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip-link:focus { left: 1rem; }

/* ====================================================================
   HEADER
==================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(247,245,242,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-branding .custom-logo,
.site-branding img,
.site-branding svg {
  height: 46px;
  width: auto;
  opacity: .92;
}

.site-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: .04em;
}
.site-title a { color: var(--black); }

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-contact {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.header-contact:hover { color: var(--black); }

/* Menu principal */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}

.main-navigation a {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--black);
}

/* Toggle menu mobile */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: .5rem .9rem;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  font-family: var(--sans);
}

/* ====================================================================
   MAIN CONTENT — wrapper commun aux pages/articles
==================================================================== */
.site-main {
  padding-top: 88px; /* hauteur du header fixe */
}

.site-main.has-front-page {
  padding-top: 0; /* la home gère son propre espacement via .hero */
}

.content-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}

/* ====================================================================
   TYPOGRAPHIE — articles et pages
==================================================================== */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-title,
.page-title {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.005em;
  color: var(--black);
  margin: 2.5rem 0 1rem;
}

.entry-title,
.page-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 300;
  margin-bottom: .5rem;
}

.entry-content h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.entry-content h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.entry-content h4 { font-size: 1.25rem; font-weight: 500; }

.entry-meta {
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
}
.entry-meta a { color: var(--accent); }
.entry-meta a:hover { color: var(--black); }

.entry-content p,
.entry-content li {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2a2520;
  font-weight: 300;
}

.entry-content p { margin: 0 0 1.5rem; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.5rem 1.5rem; padding: 0; }
.entry-content li { margin-bottom: .5rem; }

.entry-content blockquote {
  border-left: 2px solid var(--accent);
  padding: .25rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--muted);
}

.entry-content a {
  color: var(--black);
  border-bottom: 1px solid var(--accent);
  transition: background .25s, color .25s;
}
.entry-content a:hover {
  background: var(--accent);
  color: var(--white);
}

.entry-content code,
.entry-content pre {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: .9rem;
}
.entry-content pre {
  background: #1a1a1a;
  color: #f7f5f2;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.entry-content :not(pre) > code {
  background: var(--line-light);
  padding: .15rem .4rem;
  border-radius: 2px;
}

.entry-content img,
.entry-content figure {
  margin: 2rem 0;
}
.entry-content figcaption {
  font-size: .8rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin-top: .5rem;
}

/* Galerie Gutenberg */
.wp-block-gallery { margin: 2rem 0; }

/* Tableaux */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: .95rem;
}
.entry-content th,
.entry-content td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.entry-content th { font-weight: 500; }

/* Plus-button "Lire la suite" */
.read-more-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
}
.read-more-link:hover { color: var(--muted); border-color: var(--muted); }

/* ====================================================================
   FRONT PAGE — Sections issues du design original
==================================================================== */

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp .8s .2s ease forwards;
}

.hero-logo {
  height: clamp(180px, 26vw, 280px);
  width: auto;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.07));
}

.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--black);
  margin: 0 auto 2.5rem;
  transform-origin: center;
  animation: growLine .8s .3s ease both;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
  opacity: 0;
  animation: fadeUp .7s .5s ease forwards;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  margin: 0 0 2rem;
  opacity: 0;
  animation: fadeUp .7s .65s ease forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--muted);
}

.hero-lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.75;
  color: #3a3530;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0;
  animation: fadeUp .7s .8s ease forwards;
}

.bg-monogram {
  position: absolute;
  right: -4vw;
  bottom: -4vh;
  font-family: var(--serif);
  font-size: clamp(18rem, 28vw, 36rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.05);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero > *:not(.bg-monogram) { position: relative; z-index: 1; }

/* ABOUT / Approche & Éthique */
.section-about {
  padding: 7rem 3rem;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section-about::before {
  content: '20';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(12rem, 22vw, 22rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}

.section-about > * { position: relative; z-index: 1; }

.about-tag {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 2.5rem;
}

.about-text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(247,245,242,.85);
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.about-text strong {
  font-weight: 500;
  color: var(--white);
}

.stat-row {
  display: flex;
  justify-content: center;
  gap: 6rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}

.stat-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}

.stat-label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: .4rem;
}

/* SECTION DIVIDER */
.section-divider {
  height: 1px;
  background: var(--line);
  margin: 0 3rem;
}

/* THEMES */
.section-themes {
  padding: 2rem 3rem 7rem;
}

.section-label {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 3.5rem;
}

.themes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid var(--line);
}

.theme-card {
  flex: 1 1 220px;
  max-width: 25%;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
  position: relative;
  overflow: hidden;
}

.theme-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.theme-card:hover { background: rgba(0,0,0,0.025); }
.theme-card:hover::after { transform: scaleX(1); }

.theme-arrow {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.theme-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 .75rem;
}

.theme-desc {
  font-size: .82rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* CONTACT */
.section-contact {
  padding: 7rem 3rem;
  text-align: center;
}

.contact-eyebrow {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 2rem;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.contact-title em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}

.contact-sub {
  font-size: .9rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.btn-dark-outline,
.btn-dark-fill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 2.2rem;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  transition: background .25s, color .25s;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-dark-outline {
  color: var(--black);
  background: transparent;
}
.btn-dark-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-dark-fill {
  background: var(--black);
  color: var(--white);
}
.btn-dark-fill:hover {
  background: transparent;
  color: var(--black);
}

/* SOON */
.section-soon {
  padding: 7rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, #eeebe6 100%);
}

.soon-inner {
  max-width: 640px;
  margin: 0 auto;
}

.soon-label {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

.soon-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.soon-title em {
  font-style: italic;
  color: var(--muted);
}

.soon-text {
  font-size: .92rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 3rem;
}

.soon-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.soon-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1.2rem;
  border: 1px solid var(--accent);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.soon-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* ====================================================================
   ARTICLES POPULAIRES (en bas des pages/articles)
==================================================================== */
.popular-posts-section {
  padding: 5rem 3rem;
  background: #eeebe6;
  border-top: 1px solid var(--line);
}

.popular-posts-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.popular-posts-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 .5rem;
}

.popular-posts-subtitle {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 2.5rem;
}

.popular-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.popular-posts-list li {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.popular-posts-list .wpp-post-title,
.popular-posts-list a {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--black);
  display: block;
  margin-bottom: .4rem;
}

.popular-posts-list a:hover { color: var(--muted); }

.popular-posts-list .wpp-meta,
.popular-posts-list .wpp-date,
.popular-posts-list .wpp-views {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ====================================================================
   ARCHIVE / LISTE D'ARTICLES
==================================================================== */
.archive-header,
.page-header {
  padding: 7rem 3rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.archive-title,
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin: 0 0 1rem;
}

.archive-description {
  font-size: .95rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.posts-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.post-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
.post-item:first-child { padding-top: 0; }

.post-item .entry-title {
  margin: .5rem 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.post-item .entry-title a {
  color: var(--black);
}
.post-item .entry-title a:hover {
  color: var(--muted);
}

.post-item .entry-summary {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin: .75rem 0 1rem;
}

/* Pagination */
.pagination,
.posts-navigation,
.post-navigation {
  margin: 3rem 0;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.pagination .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination .current {
  padding: .5rem .8rem;
  border: 1px solid var(--line);
}
.pagination .current {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ====================================================================
   COMMENTAIRES
==================================================================== */
.comments-area {
  max-width: 760px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.comments-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 2rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
}

.comment-body {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.comment-author {
  font-weight: 500;
  margin-bottom: .25rem;
}

.comment-metadata {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.comment-form label {
  display: block;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}

.comment-form .submit {
  padding: .9rem 2.2rem;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-family: var(--sans);
}
.comment-form .submit:hover {
  background: transparent;
  color: var(--black);
}

/* ====================================================================
   404
==================================================================== */
.error-404 {
  text-align: center;
  padding: 10rem 3rem 8rem;
  max-width: 760px;
  margin: 0 auto;
}
.error-404 .page-title {
  font-size: clamp(3rem, 8vw, 6rem);
}

/* ====================================================================
   FOOTER
==================================================================== */
.site-footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--white);
}

.site-footer .footer-logo,
.site-footer .custom-logo {
  height: 32px;
  width: auto;
}

.footer-copy {
  font-size: .7rem;
  font-weight: 300;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-nav a:hover { color: var(--black); }

/* ====================================================================
   ANIMATIONS
==================================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes growLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.75); }
}

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

/* ====================================================================
   RESPONSIVE
==================================================================== */
@media (max-width: 1024px) {
  .theme-card { max-width: 50%; }
  .theme-card:last-child {
    flex: 0 1 66.666%;
    max-width: 66.666%;
  }
}

@media (max-width: 900px) {
  .main-navigation ul { display: none; }
  .main-navigation.is-open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
  }
  .menu-toggle { display: inline-block; }
  .header-right { gap: 1rem; }
}

@media (max-width: 768px) {
  .site-header { padding: 1rem 1.5rem; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .section-themes,
  .section-about,
  .section-contact,
  .section-soon,
  .popular-posts-section { padding: 5rem 1.5rem; }
  .section-divider { margin: 0 1.5rem; }
  .stat-row { flex-direction: column; gap: 2rem; }
  .site-footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .bg-monogram { display: none; }
  .header-contact.d-mobile-none { display: none; }
  .archive-header,
  .page-header { padding: 7rem 1.5rem 3rem; }
}

@media (max-width: 576px) {
  .theme-card,
  .theme-card:last-child {
    flex: 1 1 100%;
    max-width: 100%;
    border-right: none;
  }
}

/* ====================================================================
   ALIGNMENTS GUTENBERG (alignfull / alignwide)
==================================================================== */
.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}
.alignwide {
  margin-left: calc(50% - 45vw);
  margin-right: calc(50% - 45vw);
  max-width: 90vw;
  width: 90vw;
}
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }

/* ====================================================================
   UTILITAIRES
==================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

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