/*
Theme Name: Soirées privées — Entre particuliers
Version: 1.0.0
Description: Espace de rencontre et d’organisation pour les membres.
*/
*{box-sizing:border-box}
body{margin:0;background:#faf4f1;color:#30242b;font:17px/1.55 system-ui,sans-serif}
.mast{background:#512940;color:white;padding:18px max(5vw,calc((100% - 960px)/2));display:flex;gap:1em;align-items:baseline;flex-wrap:wrap}
.mast a{font:700 1.7rem Georgia,serif;color:white;text-decoration:none}
.mast span{color:#f5d8e4}
main{max-width:1020px;margin:auto;padding:22px clamp(15px,4vw,38px) 60px}
nav,.months,.pair{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
nav a,.months a{padding:.45rem .8rem;border:1px solid #c4a4b4;border-radius:8px;background:white;text-decoration:none}
nav a[aria-current]{background:#53263d;color:white}
a{color:#732147}h1,h2{font-family:Georgia,serif;line-height:1.15}h1{font-size:clamp(2rem,5vw,3.5rem);margin:1em 0 .45em}
.rule{border-left:4px solid #ad6586;background:#f4e4eb;padding:1rem;max-width:65ch}
form{background:#fff;border-radius:12px;border:1px solid #e2d0d8;padding:1rem;display:grid;gap:.85rem;max-width:600px}
label{display:grid;gap:4px}label.check,.login-remember label{display:flex;gap:10px;align-items:baseline}
input,textarea,button{font:inherit}input:not([type=checkbox]):not([type=submit]),textarea{max-width:100%;width:100%;padding:.55rem;border:1px solid #ad97a1;border-radius:6px;color:#211921;background:white}
button,input[type=submit]{background:#662d48;color:white;border:0;border-radius:7px;padding:.65rem 1.1rem;cursor:pointer;justify-self:start}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr));gap:12px;margin:1rem 0}
article{background:white;border-radius:12px;padding:1rem;overflow-wrap:anywhere}article h2,article p{margin:.45em 0}.when{color:#66384e;font-weight:600}
.months{justify-content:space-between;margin:1rem 0}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:3px}.day{background:white;border-radius:6px;padding:.5rem .1rem}.calendar a{background:#eac4d4;font-weight:bold}.day small{display:block;font-size:.55rem}
.messages{max-height:45vh;overflow:auto;display:grid;gap:7px;margin:1rem 0}.messages p{white-space:pre-wrap}.messages article{border-left:3px solid #c18aa4}
:focus-visible{outline:3px solid #925720;outline-offset:2px}
