/* Ici, vous pouvez insérer vos propres définitions CSS si nécessaire. *//* Reflets du Clos du Doubs - habillage aux couleurs du journal.
   Polices (Barlow, Barlow Condensed) : reglees dans "Ajuster le design".
   Pour revenir en arriere : vider ce fichier. */

:root {
  --rf-rouge: #e30613;
  --rf-rouge-fonce: #b8050f;
  --rf-creme: #f8eee5;
  --rf-encre: #1d1d1b;
  --rf-gris: #6b6b68;
  --rf-filet: #e4dcd8;
  --rf-titres: "Barlow Condensed", sans-serif;
}
html { background: #fff; }

/* ---------- Texte, titres, liens ---------- */
.cd-block-content p, .cd-block-content li { font-size: 17px; line-height: 1.6; color: var(--rf-encre); }
.cd-content h1, .cd-content h2, .cd-content h3 { font-weight: 500 !important; color: var(--rf-encre) !important; }
.cd-content h1 { font-size: 34px; }
.cd-content h1::after { content: ""; display: block; width: 56px; height: 4px; background: var(--rf-rouge); margin-top: 8px; }
.cd-content h1[style*="center"]::after { margin-left: auto; margin-right: auto; }
.cd-content h1, .cd-content .cd-block { scroll-margin-top: 90px; }
.cd-content a:not(.cd-button), .cd-footer a { color: var(--rf-rouge-fonce) !important; }
.cd-content a:not(.cd-button):hover, .cd-footer a:hover { color: var(--rf-rouge) !important; }

/* ---------- Boutons ---------- */
.cd-button, .cd-content input[type="submit"], .cc-btn:last-child {
  background: var(--rf-rouge) !important; border: 1.5px solid var(--rf-rouge) !important; color: #fff !important;
  font-family: var(--rf-titres) !important; font-size: 19px !important; font-weight: 500;
  text-transform: none !important; border-radius: 999px !important; padding: 9px 24px !important;
  transition: background .15s ease;
}
.cd-button:hover, .cd-content input[type="submit"]:hover { background: var(--rf-rouge-fonce) !important; border-color: var(--rf-rouge-fonce) !important; }

/* ---------- Menu (ordinateur) ---------- */
.cd-navigation-bar-container { background: #fff !important; border-bottom: 3px solid var(--rf-rouge) !important; height: auto !important; }
.cd-singledropdownmenu .cd-menu-level-1 a, .cd-navigation-bar a.cd-link-login {
  font-family: var(--rf-titres) !important; font-weight: 500 !important; color: var(--rf-encre) !important;
}
.cd-singledropdownmenu .cd-menu-level-1 a:hover,
.cd-singledropdownmenu .cd-menu-level-1 a.cd-menu-active,
.cd-singledropdownmenu .cd-menu-level-1 a.cd-menu-selected { color: var(--rf-rouge-fonce) !important; }
.cd-singledropdownmenu .cd-menu-level-2, .cd-singledropdownmenu .cd-menu-level-2 a,
.cd-singledropdownmenu .cd-menu-level-3 > ul, .cd-singledropdownmenu .cd-menu-level-3 a { background-color: #fff !important; }
.cd-singledropdownmenu .cd-menu-expander { color: var(--rf-encre) !important; }

/* ---------- Menu (telephone) ---------- */
.cd-mobile-menu-bar { background: #fff !important; border-bottom: 3px solid var(--rf-rouge) !important; }
.cd-mobile-menu-bar-content { background: #fff !important; }
.cd-mobile-menu-button .menu-label, .cd-login-link-mobile a.cd-link-login { font-family: var(--rf-titres) !important; color: var(--rf-encre) !important; }
.cd-mobile-menu-button .nav-icon span { background: var(--rf-encre) !important; }
.cd-logo-and-name-mobile .cd-club-logo { height: 44px !important; }
.cd-mobile-menu .cd-mobile-menu-background, .cd-mobile-menu .cd-mobile-menu-level-1,
.cd-mobile-menu .cd-mobile-menu-level-2, .cd-mobile-menu .cd-mobile-menu-level-3 { background: #fff !important; }
.cd-mobile-menu a.cd-menu-item { font-family: var(--rf-titres) !important; color: var(--rf-encre) !important; border-color: var(--rf-filet) !important; }
.cd-mobile-menu a.cd-menu-item.cd-menu-selected, .cd-mobile-menu a.cd-menu-item.cd-menu-active { color: var(--rf-rouge-fonce) !important; }

/* ---------- Cadres et fonds herites de l'ancien design ---------- */
.cd-block-content[style*="border-style"] { border-color: var(--rf-filet) !important; border-width: 1px !important; border-radius: 10px !important; }
.cd-content .cd-block.cd-light > .cd-block-content[style*="border-style"] { background: #fff !important; }
.cd-content .cd-section > .cd-backgroundPane[style*="rgba(0,0,0,0."],
.cd-content .cd-backgroundPane[style*="rgba(247,247,244"] { background-color: var(--rf-creme) !important; }
.cd-content .cd-block .cd-backgroundPane[style*="rgba(0,0,0,0."] { background-color: transparent !important; }
.cd-image-block a img { transition: transform .15s ease, box-shadow .15s ease; }

/* ---------- Page La redaction ---------- */
.cd-tile-h-box { border: 1px solid var(--rf-filet) !important; border-radius: 10px; overflow: hidden; background: #fff !important; }
.cd-tile-h-main-area { background: var(--rf-creme) !important; }
.cd-tile-h-main-heading { font-family: var(--rf-titres) !important; font-weight: 600 !important; font-size: 20px !important; color: var(--rf-rouge-fonce) !important; }
.cd-tile-h-main-subheading { color: var(--rf-encre) !important; }
.cd-tile-h-detail-area { background: #fff !important; }

/* ---------- Pied de page ---------- */
.cd-footer hr { border: 0; border-top: 3px solid var(--rf-rouge); }

/* ==========================================================================
   PAGE D'ACCUEIL
   ========================================================================== */

/* En-tete : logo a gauche, menu a droite sur la meme bande */
#block_1000352 img { width: 400px; max-width: 100%; height: auto; }
#block_1000352 a { pointer-events: none; }
#block_1000352 .cd-image-block { text-align: left; }
.cd-header:has(#block_1000352) { border-bottom: 3px solid var(--rf-rouge); }
@media (min-width: 993px) {
  #block_1000331 .cd-space { height: 14px !important; }
  body:has(#block_1000352):not(.cd-scroll) .cd-navigation-bar-container { background: transparent !important; border-bottom-color: transparent !important; pointer-events: none; }
  body:has(#block_1000352) .cd-navigation-bar-container .cd-menu-level-1 > ul { text-align: right; padding-right: 40px; pointer-events: auto; }
  body:has(#block_1000352):not(.cd-scroll) .cd-navigation-bar-container .cd-menu-level-1 > ul { padding-top: 34px; }
  body:has(#block_1000352) .cd-menu-level-1 > ul > li:first-child { display: none; }
}

/* Derniere edition */
#block_1000355 p { font-family: var(--rf-titres); font-size: 17px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rf-rouge); margin: 0; }
#block_1000353 h1 { font-size: 48px; line-height: 1.12; margin: 0; }
#block_1000353 h1::after { display: none; }
#block_1000356 p { font-size: 19px; max-width: 30em; }
#block_1000358, #block_1000357 { display: inline-block !important; width: auto !important; margin: 6px 10px 6px 0 !important; }
#block_1000354 img { width: 300px; max-width: 80%; border: 1px solid var(--rf-filet); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); transform: rotate(1.5deg); }
#block_1000354 .cd-image-block { text-align: center; }
#block_1000354 a:hover img { transform: rotate(0deg) translateY(-4px); }
@media (min-width: 993px) {
  #block_1000354 { margin-top: -150px; }
}

/* Boutons secondaires (contour) */
#block_1000357 .cd-button, #block_1000367 .cd-button, #block_1000368 .cd-button { background: #fff !important; color: var(--rf-rouge-fonce) !important; }
#block_1000357 .cd-button:hover, #block_1000367 .cd-button:hover, #block_1000368 .cd-button:hover { background: var(--rf-creme) !important; }

/* Editions precedentes */
#block_1000319 img, #block_1000321 img { border: 1px solid var(--rf-filet); box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
#block_1000319 a:hover img, #block_1000321 a:hover img { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
#block_1000319_content, #block_1000321_content { border: 0 !important; padding: 0 12% !important; background: transparent !important; }
#block_1000320 p, #block_1000322 p { font-family: var(--rf-titres); font-size: 20px; text-align: center; }
#block_1000359 { height: 100%; }
#block_1000359_content { height: 100%; padding: 0 12%; box-sizing: border-box; }
#block_1000359 .cd-button {
  display: flex !important; align-items: center; justify-content: center; text-align: center;
  height: 100%; min-height: 220px; box-sizing: border-box;
  background: transparent !important; color: var(--rf-rouge-fonce) !important;
  border: 1.5px dashed var(--rf-rouge) !important; border-radius: 10px !important; font-size: 22px !important;
}
#block_1000359 .cd-button:hover { background: var(--rf-creme) !important; }

/* Participez au journal : fond creme, trois cartes blanches */
#section_1000184 { background: var(--rf-creme); padding-top: 40px; padding-bottom: 56px; }
#section_1000184 .cd-col.m4 {
  background: #fff; background-clip: padding-box;
  border: 12px solid transparent; border-radius: 28px; padding: 14px 14px 20px;
}
#section_1000184 .cd-col.m4 h1 { font-size: 26px; color: var(--rf-rouge-fonce) !important; margin: 0; }
#section_1000184 .cd-col.m4 h1::after { display: none; }
#section_1000184 .cd-col.m4 .cd-block { text-align: left; }

/* Statuts et reseaux sociaux */
#section_1000185 > .cd-backgroundPane { background-color: #fff !important; }

/* Corrections : menu a droite, boutons cote a cote, cartes alignees a gauche */
@media (min-width: 993px) {
  body:has(#block_1000352) .cd-navigation-bar-content .cd-filler { order: -1; }
  body:has(#block_1000352) .cd-navigation-bar-content { padding-right: 20px; }
  body:has(#block_1000352):not(.cd-scroll) .cd-navigation-bar-container .cd-menu-level-1 > ul { padding-top: 0; }
  body:has(#block_1000352) .cd-navigation-bar-container .cd-singledropdownmenu,
  body:has(#block_1000352) .cd-navigation-bar-container .cd-login-link-desktop { pointer-events: auto; }
}
@media (max-width: 992px) {
  #block_1000352 { display: none; }
}
.cd-col:has(> #block_1000358) { flex-flow: row wrap !important; align-content: flex-start; }
#block_1000356 { flex: 0 0 100%; }
#block_1000358, #block_1000357 { flex: 0 0 auto; }
#section_1000184 .cd-col.m4 .cd-block-content { text-align: left; }

/* En-tete commun a toutes les pages : logo a gauche, menu a droite */
.cd-header .cd-image-block { text-align: left; }
.cd-header .cd-image-block img { width: 400px; max-width: 100%; height: auto; }
.cd-header .cd-image-block a { pointer-events: none; }
.cd-header:has(.cd-image-block) { border-bottom: 3px solid var(--rf-rouge); }
@media (min-width: 993px) {
  .cd-header .cd-space { height: 14px !important; }
  body:has(.cd-header .cd-image-block):not(.cd-scroll) .cd-navigation-bar-container { background: transparent !important; border-bottom-color: transparent !important; pointer-events: none; }
  body:has(.cd-header .cd-image-block) .cd-navigation-bar-content .cd-filler { order: -1; }
  body:has(.cd-header .cd-image-block) .cd-navigation-bar-content { padding-right: 20px; }
  body:has(.cd-header .cd-image-block) .cd-navigation-bar-container .cd-singledropdownmenu,
  body:has(.cd-header .cd-image-block) .cd-navigation-bar-container .cd-login-link-desktop { pointer-events: auto; }
}
@media (min-width: 993px) and (max-width: 1250px) {
  .cd-header .cd-image-block img { width: 280px; }
  .cd-singledropdownmenu .cd-menu-level-1 a { font-size: 19px !important; }
}
@media (max-width: 992px) {
  .cd-header .cd-block:has(.cd-image-block) { display: none; }
}

/* Pages interieures : le bandeau photo devient un titre sobre */
.cd-content .cd-section > .cd-backgroundPane[style*="background-image"] { display: none !important; }
.cd-content .cd-section:has(> .cd-backgroundPane[style*="background-image"]) { padding-top: 30px; padding-bottom: 0; min-height: 0 !important; }
.cd-content .cd-section:has(> .cd-backgroundPane[style*="background-image"]) :is(h1, h2, h3, h4, h5, h6, p, span) { color: var(--rf-encre) !important; text-shadow: none !important; text-align: left !important; }
.cd-content .cd-section:has(> .cd-backgroundPane[style*="background-image"]) :is(h1, h5, p) { font-family: var(--rf-titres) !important; font-size: 44px !important; font-weight: 500 !important; }
.cd-content .cd-section:has(> .cd-backgroundPane[style*="background-image"]) h1::after { margin-left: 0 !important; }

/* Archives : liste sur plusieurs colonnes */
#block_1000339_content { border: 0 !important; columns: 4 200px; column-gap: 30px; }
#block_1000339_content h3 { column-span: all; font-size: 24px; margin-bottom: 16px; }
#block_1000339_content h3 :is(u, em, i) { text-decoration: none; font-style: normal; }
#block_1000339_content p { margin: 0 0 6px; break-inside: avoid; font-size: 16px; }
#block_1000339_content a { text-decoration: none; }
#block_1000339_content a:hover { text-decoration: underline; }

/* Telephone : pas de bande vide sous la barre de menu */
@media (max-width: 992px) {
  .cd-header:has(.cd-image-block) { border-bottom: 0; }
  .cd-header:has(.cd-image-block) .cd-space { height: 0 !important; }
}

/* Retouches : espacements, boutons des cartes, titre agenda, pied de page */
#section_1000201 { padding-bottom: 10px; }
#section_1000183 { padding-top: 0; }
#block_1000316 h1 { margin-top: 10px; }
#section_1000184 .cd-col.m4 .cd-block:has(.cd-button) { margin-top: auto !important; }
#section_1000184 .cd-col.m4 .cd-button { display: block !important; width: 100%; box-sizing: border-box; text-align: center; margin-bottom: 0 !important; background: var(--rf-rouge) !important; color: #fff !important; }
#section_1000184 .cd-col.m4 .cd-button:hover { background: var(--rf-rouge-fonce) !important; }
.cd-content .cd-section:has(> .cd-backgroundPane[style*="background-image"]) :is(h1, h5, p) span { font-size: inherit !important; }
.cd-footer img { width: 150px !important; height: auto !important; }
.cd-social-media-icon, .cd-social-media-icon svg { color: var(--rf-rouge) !important; fill: var(--rf-rouge) !important; }
.cd-footer .cd-block:has(.cd-social-media-icon) .cd-block-content { text-align: center; }

/* Ordinateur : le menu reste dans l'en-tete et ne suit plus le defilement */
@media (min-width: 993px) {
  body:has(.cd-header .cd-image-block) .cd-navigation-bar-container { position: absolute !important; background: transparent !important; border-bottom-color: transparent !important; pointer-events: none; }
}

/* Encadre "Toutes les archives" : meme taille que les couvertures */
#block_1000359 { margin: 0 10px !important; height: auto; }
#block_1000359_content { height: auto; }
#block_1000359 .cd-button { width: 100%; height: auto !important; min-height: 0 !important; aspect-ratio: 595 / 836; margin: 0 !important; padding: 10px !important; }

/* Telephone : encadre "Toutes les archives" plus bas */
@media (max-width: 600px) {
  #block_1000359 .cd-button { aspect-ratio: auto; min-height: 96px !important; }
  #block_1000359 { margin-top: 10px !important; }
}

/* En-tete plus serre, boutons de la derniere edition de meme largeur */
.cd-header .cd-section:has(.cd-image-block) { padding-bottom: 14px; }
#block_1000358 .cd-button, #block_1000357 .cd-button { min-width: 215px; box-sizing: border-box; text-align: center; }
@media (min-width: 993px) {
  #block_1000354 { margin-top: -130px; }
}

/* ===== Novembre : vagues du Doubs, fonds alternes, boutons, formats (Titre 4 = surtitre, Titre 6 = citation), pied bleu ===== */
:root {
  --rf-bleu: #c9e8fb;
  --rf-bleu-pale: #e4f3fd;
  --rf-frise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 240' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1000' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23c9e8fb' stop-opacity='0'/%3E%3Cstop offset='.25' stop-color='%23a9d6ef'/%3E%3Cstop offset='.5' stop-color='%236f8fb4'/%3E%3Cstop offset='.78' stop-color='%234fb8e6'/%3E%3Cstop offset='1' stop-color='%239bd6f2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke-width='1.1' vector-effect='non-scaling-stroke'%3E%3Cpath stroke='url(%23g)' d='M0 173C150 120 300 65 450 65C600 65 700 158 830 158C900 158 950 125 1000 106M0 176.5C146.5 125.6 290.6 69.4 438.2 69.3C588.2 69.1 691.8 162.5 823.5 162.5C895.3 162.5 948.2 127.6 1000 108.2M0 180.1C142.9 131.2 281.2 73.8 426.5 73.6C576.5 73.2 683.5 167.1 817.1 167.1C890.6 167.1 946.5 130.3 1000 110.5M0 183.6C139.4 136.8 271.8 78.2 414.7 77.9C564.7 77.4 675.3 171.6 810.6 171.6C885.9 171.6 944.7 132.9 1000 112.7M0 187.1C135.9 142.4 262.4 82.6 402.9 82.2C552.9 81.5 667.1 176.1 804.1 176.1C881.2 176.1 942.9 135.6 1000 114.9M0 190.6C132.4 147.9 252.9 87.1 391.2 86.5C541.2 85.6 658.8 180.6 797.6 180.6C876.5 180.6 941.2 138.2 1000 117.2M0 194.2C128.8 153.5 243.5 91.5 379.4 90.8C529.4 89.7 650.6 185.2 791.2 185.2C871.8 185.2 939.4 140.9 1000 119.4M0 197.7C125.3 159.1 234.1 95.9 367.6 95.1C517.6 93.8 642.4 189.7 784.7 189.7C867.1 189.7 937.6 143.5 1000 121.6M0 201.2C121.8 164.7 224.7 100.3 355.9 99.4C505.9 97.9 634.1 194.2 778.2 194.2C862.4 194.2 935.9 146.2 1000 123.9M0 204.8C118.2 170.3 215.3 104.7 344.1 103.6C494.1 102.1 625.9 198.8 771.8 198.8C857.6 198.8 934.1 148.8 1000 126.1M0 208.3C114.7 175.9 205.9 109.1 332.4 107.9C482.4 106.2 617.6 203.3 765.3 203.3C852.9 203.3 932.4 151.5 1000 128.4M0 211.8C111.2 181.5 196.5 113.5 320.6 112.2C470.6 110.3 609.4 207.8 758.8 207.8C848.2 207.8 930.6 154.1 1000 130.6M0 215.4C107.6 187.1 187.1 117.9 308.8 116.5C458.8 114.4 601.2 212.4 752.4 212.4C843.5 212.4 928.8 156.8 1000 132.8M0 218.9C104.1 192.6 177.6 122.4 297.1 120.8C447.1 118.5 592.9 216.9 745.9 216.9C838.8 216.9 927.1 159.4 1000 135.1M0 222.4C100.6 198.2 168.2 126.8 285.3 125.1C435.3 122.6 584.7 221.4 739.4 221.4C834.1 221.4 925.3 162.1 1000 137.3M0 225.9C97.1 203.8 158.8 131.2 273.5 129.4C423.5 126.8 576.5 225.9 732.9 225.9C829.4 225.9 923.5 164.7 1000 139.5M0 229.5C93.5 209.4 149.4 135.6 261.8 133.7C411.8 130.9 568.2 230.5 726.5 230.5C824.7 230.5 921.8 167.4 1000 141.8M0 233C90 215 140 140 250 138C400 135 560 235 720 235C820 235 920 170 1000 144'/%3E%3Cpath stroke='%238fd0f0' d='M700 232C800 226 900 150 1000 95M706.7 231.2C805.6 223.7 903.3 151.1 1000 101.1M713.3 230.4C811.1 221.3 906.7 152.2 1000 107.2M720 229.7C816.7 219 910 153.3 1000 113.3M726.7 228.9C822.2 216.7 913.3 154.4 1000 119.4M733.3 228.1C827.8 214.3 916.7 155.6 1000 125.6M740 227.3C833.3 212 920 156.7 1000 131.7M746.7 226.6C838.9 209.7 923.3 157.8 1000 137.8M753.3 225.8C844.4 207.3 926.7 158.9 1000 143.9M760 225C850 205 930 160 1000 150'/%3E%3C/g%3E%3C/svg%3E");
  --rf-bord-creme: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23f8eee5' d='M0 40V24C220 4 470 0 730 16S1200 40 1440 12V40Z'/%3E%3C/svg%3E");
  --rf-bord-bleu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23e4f3fd' d='M0 40V24C220 4 470 0 730 16S1200 40 1440 12V40Z'/%3E%3C/svg%3E");
}
@media (min-width: 993px) {
.cd-header .cd-section:has(.cd-image-block)::before { content: ""; position: absolute; right: 0; bottom: 0; width: 72%; height: 100%; background: var(--rf-frise) right bottom / 100% 100% no-repeat; opacity: .75; pointer-events: none; }
.cd-header .cd-section:has(.cd-image-block) .cd-section-content { position: relative; z-index: 1; }
}
#section_1000201 { overflow-x: clip; padding-bottom: 0 !important; }
#section_1000201 .cd-row:has(#block_1000379),
#section_1000201 .cd-row:has(#block_1000379) ~ .cd-row { position: relative; border-image: linear-gradient(var(--rf-creme) 0 0) fill 0 / / 0 100vmax; }
#section_1000201 .cd-row:has(#block_1000379) { margin-top: 70px; padding-top: 20px; }
#section_1000201 .cd-row:has(#block_1000379) ~ .cd-row:last-child { padding-bottom: 50px; margin-bottom: 40px; }
#section_1000201 .cd-row:has(#block_1000379)::before,
#section_1000201 .cd-row:has(#block_1000379) ~ .cd-row:last-child::after,
#section_1000184::before, #section_1000184::after { content: ""; position: absolute; left: 50%; width: 100vw; transform: translateX(-50%); height: 34px; background: var(--rf-bord-creme) center / 100% 100% no-repeat; pointer-events: none; z-index: 1; }
#section_1000201 .cd-row:has(#block_1000379)::before, #section_1000184::before { top: -33px; }
#section_1000201 .cd-row:has(#block_1000379) ~ .cd-row:last-child::after, #section_1000184::after { bottom: -33px; transform: translateX(-50%) scale(-1, -1); }
#section_1000183 { padding-top: 30px !important; padding-bottom: 60px; }
#section_1000184 { position: relative; overflow: visible !important; margin-bottom: 20px; }
#section_1000185 { padding-top: 40px; }
#block_1000354 { margin-top: 0 !important; }
#block_1000374 { margin-bottom: 0 !important; }
#block_1000374 p:last-child { margin-bottom: 0; }
.cd-col:has(> #block_1000357) { justify-content: flex-start !important; align-items: flex-start !important; }
#block_1000357 { margin: 4px 0 0 !important; }
#block_1000357 .cd-block-content { text-align: left; }
.cd-col:has(> #block_1000358) { align-items: flex-start; }
#block_1000358, #block_1000377 { display: inline-block !important; flex: 0 0 auto; width: auto !important; margin: 8px 12px 0 0 !important; }
#block_1000358 .cd-button, #block_1000377 .cd-button { width: 240px; min-width: 0; box-sizing: border-box; text-align: center; margin: 0 !important; }
#block_1000377 .cd-button { background: #fff !important; color: var(--rf-rouge-fonce) !important; border: 2px solid var(--rf-rouge) !important; }
#block_1000377 .cd-button:hover { background: var(--rf-creme) !important; }
@media (max-width: 600px) {
  #block_1000358, #block_1000377 { display: block !important; flex: 0 0 100%; margin: 0 0 10px !important; }
  #block_1000358 .cd-button, #block_1000377 .cd-button { width: 100%; }
}
#block_1000353 h1 { font-size: 38px; }
@media (max-width: 600px) { #block_1000353 h1 { font-size: 30px; } }
.cd-content h4 { font-family: var(--rf-titres) !important; font-size: 17px !important; font-weight: 500 !important; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rf-rouge) !important; margin: 0 0 4px; line-height: 1.4; font-style: normal; text-decoration: none; }
.cd-content h4::after, .cd-content h6::after { display: none !important; }
.cd-content h6 { font-family: Barlow, sans-serif !important; font-size: 21px !important; font-weight: 400 !important; font-style: italic; text-transform: none; letter-spacing: 0; color: var(--rf-encre) !important; border-left: 4px solid var(--rf-rouge); padding: 2px 0 2px 16px; margin: 6px 0 16px; line-height: 1.45; }
.cd-content :is(h4, h6) :is(span, em, strong) { color: inherit !important; font-size: inherit !important; font-style: inherit; font-weight: inherit; }
#block_1000363 p:first-child strong:first-child { display: block; font-family: var(--rf-titres); font-size: 36px; font-weight: 500; color: var(--rf-rouge); line-height: 1.1; margin: 2px 0 6px; }
.cd-content .cd-section:has(> .cd-backgroundPane[style*="background-image"]) h1 :is(strong, b, em, span) { font-weight: inherit !important; font-style: normal !important; color: inherit !important; font-size: inherit !important; }
.cd-content .cd-section:has(> .cd-backgroundPane[style*="background-image"]) h1 br { display: none; }
.cd-footer { background: var(--rf-bleu-pale); position: relative; margin-top: 34px; }
.cd-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -33px; height: 34px; background: var(--rf-bord-bleu) center / 100% 100% no-repeat; pointer-events: none; }
.cd-footer hr { display: none; }
.cd-footer .cd-section { background: transparent !important; }

/* Ordinateur : couverture alignee du titre "Lire notre derniere edition" jusqu'aux boutons
   (-190px = hauteur du titre, du surtitre et de "A la Une avec..." sur une ligne chacun) */
@media (min-width: 993px) {
  #section_1000201 .cd-row:has(> .cd-col > #block_1000354) { position: relative; }
  #section_1000201 .cd-col:has(> #block_1000354) { position: absolute; right: 0; width: 50%; top: -190px; bottom: 50px; display: flex; justify-content: center; }
  #block_1000354, #block_1000354_content, #block_1000354 .cd-image-block, #block_1000354 .cd-image-block a { height: 100%; margin: 0 !important; padding: 0 !important; }
  #block_1000354 .cd-image-block a { display: inline-block; }
  #block_1000354 img { height: 100% !important; width: auto !important; max-width: none !important; }
}

/* Archives : vagues en haut et en bas de la partie creme, collee au pied de page bleu */
#section_1000190 { position: relative; margin-top: 40px; overflow: visible !important; }
#section_1000190::before { content: ""; position: absolute; left: 0; right: 0; top: -33px; height: 34px; background: var(--rf-bord-creme) center / 100% 100% no-repeat; pointer-events: none; z-index: 1; }
body:has(#section_1000190) .cd-footer::before { top: -36px; height: 37px; background: var(--rf-bord-bleu) center bottom / 100% 34px no-repeat, var(--rf-creme); }

/* ---------- Page La redaction (version 2) ---------- */
/* La page n'a qu'une section (titre + contenu) : texte normal en dehors du titre */
#section_1000188 .cd-block:not(.cd-row:first-child .cd-block) :is(h1, h5, p) { font-family: Barlow, sans-serif !important; font-size: 17px !important; font-weight: 400 !important; }
#section_1000188 .cd-block:not(.cd-row:first-child .cd-block) h1 { font-family: var(--rf-titres) !important; font-size: 34px !important; font-weight: 500 !important; margin-top: 34px; }
#section_1000188 .cd-block:not(.cd-row:first-child .cd-block) h4 { color: var(--rf-rouge) !important; }
/* Introduction sous le titre */
#section_1000188 .cd-row:first-child + .cd-row:not(:has(#block_1000337)) p { font-size: 20px !important; line-height: 1.6; max-width: 60ch; }

/* Cartes de l'equipe : filet rouge, fonction en surtitre, nom en grand */
#block_1000337 .cd-tile-h-box { border: 1.5px solid var(--rf-filet) !important; border-top: 4px solid var(--rf-rouge) !important; border-radius: 10px; transition: transform .15s, box-shadow .15s; }
#block_1000337 .cd-tile-h-box:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
#block_1000337 .cd-tile-h-main-area { background: #fff !important; display: flex; flex-direction: column-reverse; padding-bottom: 2px !important; }
#block_1000337 .cd-tile-h-main-subheading { font-family: var(--rf-titres) !important; font-size: 14px !important; font-weight: 500 !important; letter-spacing: 1.3px; text-transform: uppercase; color: var(--rf-rouge) !important; line-height: 1.3; margin-bottom: 2px; }
#block_1000337 .cd-tile-h-main-subheading br { display: none; }
#block_1000337 .cd-tile-h-main-heading { font-family: var(--rf-titres) !important; font-size: 25px !important; font-weight: 500 !important; line-height: 1.15; color: var(--rf-encre) !important; }
#block_1000337 .cd-tile-h-detail-area { padding-top: 0 !important; }
#block_1000337 .cd-tile-h-detail-value a { font-size: 15px; overflow-wrap: anywhere; }

/* Nous ecrire : une rangee de 4 colonnes devient 4 cartes */
body:has(#block_1000337) .cd-row:has(> .cd-col.m3 ~ .cd-col.m3 ~ .cd-col.m3) > .cd-col {
  background: #fff; background-clip: padding-box; border: 8px solid transparent; border-radius: 18px;
  box-shadow: inset 0 0 0 1.5px var(--rf-filet); padding: 16px 16px 12px;
}
body:has(#block_1000337) .cd-row:has(> .cd-col.m3 ~ .cd-col.m3 ~ .cd-col.m3) > .cd-col :is(p, a) { overflow-wrap: anywhere; }

/* Bande creme "Ecrire dans Reflets" : vague en haut, collee au pied de page bleu */
body:has(#block_1000337) .cd-content .cd-section:has(> .cd-backgroundPane:is([style*="rgba(247,247,244"], [style*="rgba(0,0,0,0."])) { position: relative; margin-top: 50px; overflow: visible !important; padding-bottom: 40px; }
body:has(#block_1000337) .cd-content .cd-section:has(> .cd-backgroundPane:is([style*="rgba(247,247,244"], [style*="rgba(0,0,0,0."]))::before { content: ""; position: absolute; left: 0; right: 0; top: -33px; height: 34px; background: var(--rf-bord-creme) center / 100% 100% no-repeat; pointer-events: none; z-index: 1; }
body:has(#block_1000337) .cd-content .cd-section:has(> .cd-backgroundPane:is([style*="rgba(247,247,244"], [style*="rgba(0,0,0,0."])) p:first-of-type > strong:first-child { display: block; font-family: var(--rf-titres); font-size: 36px; font-weight: 500; color: var(--rf-rouge); line-height: 1.1; margin: 2px 0 6px; }
body:has(#block_1000337) .cd-content .cd-section:has(> .cd-backgroundPane:is([style*="rgba(247,247,244"], [style*="rgba(0,0,0,0."])) ul { padding-left: 1.2em; }
body:has(#block_1000337) .cd-content .cd-section:has(> .cd-backgroundPane:is([style*="rgba(247,247,244"], [style*="rgba(0,0,0,0."])) li { margin-bottom: 6px; }
body:has(#block_1000337) .cd-content .cd-section:has(> .cd-backgroundPane:is([style*="rgba(247,247,244"], [style*="rgba(0,0,0,0."])) li::marker { color: var(--rf-rouge); }
body:has(#block_1000337):has(.cd-content .cd-section:last-child > .cd-backgroundPane:is([style*="rgba(247,247,244"], [style*="rgba(0,0,0,0."])) .cd-footer::before { top: -36px; height: 37px; background: var(--rf-bord-bleu) center bottom / 100% 34px no-repeat, var(--rf-creme); }

/* Redaction - Nous ecrire : une liste a puces devient des cartes
   (1re ligne en gras = sujet, Maj+Entree, puis l'adresse e-mail) */
#section_1000188 .cd-block:not(#block_1000337) ul { list-style: none; padding: 0 !important; margin: 16px 0 8px !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#section_1000188 .cd-block:not(#block_1000337) ul li { margin: 0 !important; background: #fff; border: 1.5px solid var(--rf-filet); border-top: 4px solid var(--rf-rouge); border-radius: 10px; padding: 12px 16px 14px; font-size: 15px !important; line-height: 1.5; overflow-wrap: anywhere; }
#section_1000188 .cd-block:not(#block_1000337) ul li strong { display: block; font-family: var(--rf-titres); font-weight: 500; font-size: 19px; line-height: 1.25; color: var(--rf-rouge-fonce); margin-bottom: 6px; }
#section_1000188 .cd-block:not(#block_1000337) ul li strong + br { display: none; }
@media (max-width: 900px) { #section_1000188 .cd-block:not(#block_1000337) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { #section_1000188 .cd-block:not(#block_1000337) ul { grid-template-columns: 1fr; } }
#section_1000188 .cd-block:not(#block_1000337) ul li strong br { display: none; }
