/*
Theme Name: WP Secure Demo
Description: Thème volontairement simple pour les sites de démonstration WP Secure.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: wp-secure-demo
*/

:root { --ink: #202126; --paper: #fffaf0; --accent: #b54b2a; --soft: #f3e6cf; --muted: #6d655b; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.7 Georgia, serif; }
a { color: var(--accent); }
.demo-notice { padding: .8rem 1rem; color: #fff; background: #202126; font: 700 .82rem/1.4 system-ui, sans-serif; text-align: center; letter-spacing: .02em; }
.site-header, main, .site-footer { width: min(1080px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2.3rem 0 1.3rem; border-bottom: 1px solid #d9cdbb; }
.site-name { margin: 0; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; }
.site-tagline { margin: .35rem 0 0; color: var(--muted); font-style: italic; }
.site-mark { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font: 700 1.4rem/1 system-ui, sans-serif; }
.hero { padding: clamp(3rem, 8vw, 6rem) 0; }
.hero small { color: var(--accent); font: 800 .72rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.hero h1 { max-width: 800px; margin: .7rem 0 1rem; font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; }
.hero p { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.12rem; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; padding-bottom: 4rem; }
.post-card { padding: 1.4rem; border: 1px solid #d9cdbb; border-radius: 16px; background: rgba(255,255,255,.55); box-shadow: 0 12px 30px rgba(76,54,32,.06); }
.post-card .meta { color: var(--muted); font: 700 .68rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.post-card h2 { margin: .7rem 0; font-size: 1.35rem; line-height: 1.25; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { margin: 0; color: var(--muted); }
.single-article { max-width: 760px; padding: 4rem 0; }
.single-article h1 { font-size: clamp(2rem, 5vw, 3.7rem); line-height: 1.08; }
.site-footer { padding: 1.5rem 0 2.5rem; border-top: 1px solid #d9cdbb; color: var(--muted); font-size: .8rem; }
@media (max-width: 760px) { .posts-grid { grid-template-columns: 1fr; } .site-header { align-items: flex-start; } }
