/*
Theme Name: FO CPAM 91
Description: Thème de la section FO CPAM de l'Essonne, repris de l'ancien thème PluXml « FO2 ».
Version: 1.0
Text Domain: fo-cpam91
*/
:root { --rouge: rgb(192,57,43); --rouge-fonce: rgb(150,40,30); --noir: rgb(34,34,34); --gris: rgb(127,140,141); --fond: #fff; --clair: #f4f2f1; }
* { box-sizing: border-box; }
body { margin: 0; font: 400 17px/1.6 Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--noir); background: var(--fond); }
img, iframe, video { max-width: 100%; height: auto; }
iframe { aspect-ratio: 16/9; width: 100%; height: auto; }
a { color: var(--rouge); }
a:hover { color: var(--rouge-fonce); }
.menu { background: var(--rouge); }
.menu ul { list-style: none; margin: 0 auto; padding: 0 16px; display: flex; flex-wrap: wrap; justify-content: center; max-width: 1200px; }
.menu a { display: block; padding: 14px 18px; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; font-size: 15px; }
.menu a:hover, .menu .current-menu-item a { background: var(--noir); color: #fff; }
.entete { text-align: center; padding: 16px; }
.entete img { width: 1000px; }
.mise-en-page { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 48px; max-width: 1200px; margin: 0 auto; padding: 16px 24px 48px; }
@media (max-width: 800px) { .mise-en-page { grid-template-columns: 1fr; gap: 24px; } }
h1.titre, h2.titre { color: var(--rouge); font-weight: 300; font-size: 2rem; line-height: 1.2; margin: 0 0 .3em; }
h2.titre a { color: inherit; text-decoration: none; }
.meta { color: var(--gris); font-size: 14px; margin-bottom: 1em; }
.meta a { color: var(--gris); }
.billet { margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--clair); }
.billet .une img { display: block; margin: 0 auto 1em; max-height: 520px; width: auto; }
.chapo { font-weight: 700; margin-bottom: 1em; }
.suite { display: inline-block; background: var(--rouge); color: #fff; padding: 6px 14px; text-decoration: none; }
.suite:hover { background: var(--noir); color: #fff; }
aside h3 { color: var(--noir); border-bottom: 3px solid var(--rouge); padding-bottom: 4px; font-size: 1.1rem; text-transform: uppercase; }
aside ul { padding-left: 1.1em; }
aside .etiquettes ul, aside .etiquettes { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
aside .etiquettes a { display: inline-block; background: var(--rouge); color: #fff; padding: 3px 10px; text-decoration: none; font-size: 14px !important; }
aside .etiquettes a:hover { background: var(--noir); }
.recherche { display: flex; } .recherche input[type=search] { flex: 1; padding: 8px; border: 1px solid #ccc; font: inherit; } .recherche button { background: var(--rouge); color: #fff; border: 0; padding: 0 14px; font: inherit; cursor: pointer; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; } .pagination .page-numbers { padding: 6px 12px; background: var(--clair); text-decoration: none; } .pagination .current { background: var(--rouge); color: #fff; }
footer { background: var(--noir); color: #fff; text-align: center; padding: 24px 16px; }
footer img { width: 1000px; } footer a { color: #fff; }
