/* /guides.css */
/* Guides Markdown (Redac Web) et page sommaire /guide-casino/ — couleurs du kit du site (Kadence/Elementor) */
:root{--cef-bleu:#2B6CB0;--cef-bleu-f:#215387;--cef-encre:#1A202C;--cef-texte:#2D3748;--cef-gris:#718096;--cef-trait:#E2E8F0;--cef-fond:#F7FAFC;--cef-fond2:#EDF2F7;--cef-rouge:#c8102e}

/* Article */
.cef-guide{max-width:820px;margin:0 auto;padding:12px 16px 56px;font-size:17px;line-height:1.75;color:var(--cef-texte)}
.cef-guide h1{font-family:"Roboto Slab",serif;font-size:clamp(28px,4vw,40px);line-height:1.15;color:var(--cef-encre);margin:8px 0 16px}
.cef-chapo{font-size:19px;line-height:1.6;color:var(--cef-encre);background:var(--cef-fond);border-left:4px solid var(--cef-bleu);border-radius:0 8px 8px 0;padding:16px 20px;margin:0 0 12px}
.cef-date{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--cef-gris);margin:0 0 24px}
.cef-couv{display:block;width:100%;height:auto;border-radius:10px;margin:0 0 32px;box-shadow:0 8px 24px rgba(26,32,44,.12)}
.cef-texte a{color:var(--cef-bleu);text-decoration:underline;text-underline-offset:2px}.cef-texte a:hover{color:var(--cef-bleu-f)}
.cef-texte h2{font-family:"Roboto Slab",serif;font-size:26px;line-height:1.25;color:var(--cef-encre);margin:44px 0 14px;padding-left:14px;border-left:4px solid var(--cef-bleu)}
.cef-texte h3{font-family:"Roboto Slab",serif;font-size:20px;color:var(--cef-encre);margin:28px 0 8px}
.cef-texte ul,.cef-texte ol{padding-left:24px}.cef-texte li{margin-bottom:8px}.cef-texte li::marker{color:var(--cef-bleu);font-weight:700}
.cef-texte table{width:100%;border-collapse:collapse;margin:24px 0;font-size:16px;border-radius:8px;overflow:hidden;box-shadow:0 0 0 1px var(--cef-trait)}
.cef-texte th{background:var(--cef-texte);color:#fff;font-weight:700;text-align:left;padding:10px 14px}
.cef-texte td{padding:10px 14px;border-top:1px solid var(--cef-trait)}.cef-texte tbody tr:nth-child(even){background:var(--cef-fond)}
.cef-texte blockquote{margin:28px 0;padding:16px 22px;background:var(--cef-fond2);border-left:4px solid var(--cef-bleu);border-radius:0 8px 8px 0;color:var(--cef-encre)}
.cef-texte blockquote p{margin:0}
.cef-texte img{max-width:100%;height:auto;border-radius:8px}
.cef-sources{margin-top:48px;padding:18px 22px;background:var(--cef-fond);border:1px solid var(--cef-trait);border-radius:10px;font-size:15px}
.cef-sources h2{font-family:"Roboto Slab",serif;font-size:18px;margin:0 0 8px;color:var(--cef-encre)}.cef-sources ol{margin:0;padding-left:20px}
.cef-sources a{color:var(--cef-bleu)}
@media(max-width:767px){.cef-guide{font-size:16px}.cef-chapo{font-size:17px}.cef-texte h2{font-size:22px}.cef-texte table{display:block;overflow-x:auto}}

/* Page sommaire : un bloc par guide (image seulement si le guide en a une) */
.cef-hub{max-width:1140px;margin:0 auto;padding:10px 16px 40px;display:grid;gap:20px}
.cef-bloc{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px;align-items:center;padding:22px;background:#fff;border:1px solid var(--cef-trait);border-left:4px solid var(--cef-bleu);border-radius:10px}
.cef-bloc-texte{grid-template-columns:1fr}
.cef-bloc-img img{display:block;width:100%;height:auto;border-radius:8px}
.cef-bloc h2{font-family:"Roboto Slab",serif;font-size:24px;line-height:1.25;margin:0 0 8px}.cef-bloc h2 a{color:var(--cef-encre);text-decoration:none}.cef-bloc h2 a:hover{color:var(--cef-bleu)}
.cef-bloc p{margin:0 0 16px;color:var(--cef-texte)}
.cef-bouton{display:inline-block;padding:11px 22px;border-radius:6px;font-weight:700;text-decoration:none;background:var(--cef-rouge);color:#fff}.cef-bouton:hover{filter:brightness(.92);color:#fff}
@media(max-width:767px){.cef-bloc{grid-template-columns:1fr;gap:14px;padding:18px}.cef-bloc h2{font-size:21px}}

/* /site.css */
/* Remplace le JS des extensions retirées. */

/* Tableaux Unlimited Elements figés (Tabulator retiré) : colonnes égales et fluides,
   comme la disposition « fitColumns » d'origine. */
.ue-table .tabulator-headers,
.ue-table .tabulator-row { display: flex; }
.ue-table .tabulator-col,
.ue-table .tabulator-cell { flex: 1 1 0; min-width: 0; }
.ue-table .tabulator-cell { display: block; white-space: normal; }
.ue-table .tabulator-row::after,
.ue-table .tabulator-headers::after { display: none; }
.ue-table .tabulator-table,
.ue-table .tabulator-headers { display: flex; flex-direction: column; width: 100%; }
.ue-table .tabulator-headers { flex-direction: row; }

/* En-tête collant (réglages « sticky » Elementor Pro de 40bcb10 et d804c1f) :
   0 px et 80 px, le second à 0 px sur mobile. L'en-tête n'a plus de boîte propre
   pour que le collage dure sur toute la page. */
.elementor-location-header { display: contents; }
.elementor-location-header > .elementor-element-40bcb10 { position: sticky; top: 0; z-index: 99; }
.elementor-location-header > .elementor-element-d804c1f { position: sticky; top: 80px; z-index: 99; }
@media (max-width: 767px) {
  .elementor-location-header > .elementor-element-d804c1f { top: 0; }
}

/* Démo de jeu chargée au clic (site.js) */
.cef-demo { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 0; padding: 0; cursor: pointer; background: #1a202c center / cover no-repeat; }
.cef-demo__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cef-demo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .45); }
.cef-demo__btn, .cef-demo__age { position: relative; z-index: 2; }
.cef-demo__btn { background: #2B6CB0; color: #fff; font: 700 18px/1 'Roboto Condensed', Arial, sans-serif; text-transform: uppercase; padding: 16px 28px; border-radius: 6px; }
.cef-demo:hover .cef-demo__btn, .cef-demo:focus-visible .cef-demo__btn { background: #1a4f8a; }
.cef-demo__age { color: #fff; font-size: 14px; }

/* Fenêtre « nous vous conseillons » (fiche Casino Extra, site.js) */
.cef-conseil { width: min(480px, calc(100% - 32px)); border: 0; border-radius: 12px; padding: 30px 26px 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); color: #1f2937; font-family: 'Roboto Condensed', Arial, sans-serif; }
.cef-conseil::backdrop { background: rgba(17, 24, 39, .6); }
.cef-conseil-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: none !important; font-size: 28px; line-height: 1; color: #6b7280 !important; cursor: pointer; padding: 0; box-shadow: none; }
.cef-conseil-titre { margin: 0 28px 20px 0; font-size: 19px; font-weight: 700; line-height: 1.35; }
.cef-conseil ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cef-conseil li { display: flex; flex-direction: column; align-items: center; gap: 14px; border: 1px solid #d6d9de; border-radius: 10px; padding: 18px 12px; margin: 0; }
.cef-conseil img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.cef-conseil-btn { display: inline-block; background: #000; color: #fff !important; text-transform: uppercase; font-weight: 700; padding: 11px 18px; border-radius: 4px; text-decoration: none; }
.cef-conseil-btn:hover, .cef-conseil-btn:focus-visible { background: #2B6CB0; }
@media (max-width: 760px) { .cef-conseil ul { grid-template-columns: 1fr; } }
