/* =========================================================================
   Clubs de Force — habillage Ultron (job 1110)
   Reproduction de l'identité Ultron iPaoo sur GeneratePress + GeoDirectory.
   Palette : cyan #00b4cc, sombre #222, neutres. Titres : Oswald (display).
   ========================================================================= */
:root{
  --cyan:#00b4cc; --cyan-dark:#038093; --cyan-2:#009db3;
  --dark:#222; --ink:#111; --muted:#666; --line:#e5e5e5; --soft:#f8f8f8;
}

/* ---- Lissage des polices (job 1460) ----
   Sur macOS, sans antialiasing explicite le navigateur épaissit le texte de poids 400
   (lissage sous-pixel) -> impression de « gras » alors que le poids est bien 400.
   Posé sur html pour couvrir tout le site (y compris conteneurs GeoDirectory/Bootstrap). */
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}

/* ---- Typographie ----
   Règle d'usage (job 1420) : Oswald (display, condensée) RÉSERVÉE aux titres ;
   corps de texte en sans-serif système, poids 400. Oswald n'est chargée qu'en
   500/600/700 — l'appliquer au corps ferait retomber le 400 sur 500 (« tout gras »). ---- */
body{font-family:"Inter",-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-weight:350;color:var(--ink);line-height:1.6;overflow-x:hidden}
h1,h2,h3,h4,.site-title,.cdf-disp{font-family:"Oswald","Arial Narrow",Arial,sans-serif;font-weight:600;letter-spacing:.2px;line-height:1.12}
/* Corps lisible, poids 400 partout (garde-fou : aucune règle ne doit remettre Oswald
   ou un poids >= 500 sur le corps). Le gras ne subsiste que là où il est voulu. */
body,p,li,.entry-content,.entry-content p,.entry-content li,
.geodir_post_meta,.gd-place-meta,input,textarea,select,button,td,th{
  font-family:"Inter",-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:350}
a{color:var(--cyan-dark)}
a:hover{color:var(--cyan)}

/* ---- Header sombre ---- */
.site-header{background:var(--dark)}
.inside-header{padding:14px 24px}
.main-title,.site-title a,.site-description{color:#fff !important}
.main-title{font-size:26px;text-transform:none;letter-spacing:-.5px}
.main-title .cdf-de{color:var(--cyan)}
.main-navigation,.main-navigation ul{background:var(--dark)}
.main-navigation .main-nav ul li a{color:#fff;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a{color:var(--cyan)}
.main-navigation .menu-bar-items{color:#fff}
/* bouton "Proposer un club" via une classe de menu .cdf-cta */
.main-navigation .main-nav ul li.cdf-cta a{background:var(--cyan);color:#fff;border-radius:3px;margin:8px 0;padding:8px 18px}
.main-navigation .main-nav ul li.cdf-cta a:hover{background:var(--cyan-dark);color:#fff}

/* ---- Boutons ---- */
.button,.wp-block-button__link,input[type=submit],
.geodir-bx-search-btn,.gd-search-bar-button,.btn-primary,
.cdf-btn{display:inline-block;background:var(--cyan);color:#fff;border:2px solid transparent;
  border-radius:3px;padding:12px 24px;font-weight:700;font-size:14px;text-transform:none;cursor:pointer;transition:.15s}
.button:hover,.wp-block-button__link:hover,input[type=submit]:hover,.cdf-btn:hover{background:var(--cyan-dark);color:#fff}
.cdf-btn-ghost{background:transparent;color:#fff;border-color:#fff}
.cdf-btn-ghost:hover{background:#fff;color:var(--dark)}
.cdf-btn-light{background:#fff;color:var(--ink)}

/* ---- Bandeau de titre des pages internes (.cdf-phead) ---- */
.cdf-phead{background:var(--dark);color:#fff;padding:44px 0;margin-bottom:32px}
.cdf-phead .cdf-wrap{max-width:1100px;margin:0 auto;padding:0 24px}
.cdf-phead .crumb{color:var(--cyan);font-size:12px;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.cdf-phead h1{font-size:40px;color:#fff;margin:0}

/* ---- Bandes pleine largeur (technique full-bleed) ---- */
.cdf-band{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}
.cdf-wrap{max-width:1100px;margin:0 auto;padding:0 24px}

/* ---- Hero accueil (image + overlay) ---- */
.cdf-hero{color:#fff;overflow:hidden;position:relative;background-color:var(--dark);
  background-image:linear-gradient(90deg,rgba(17,18,20,.92),rgba(17,18,20,.55)),url(/wp-content/uploads/cdf/hero.jpg);
  background-size:cover;background-position:center;background-repeat:no-repeat}
.cdf-hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 120% at 85% 8%,rgba(0,180,204,.18),transparent 55%)}
.cdf-hero .cdf-wrap{position:relative;z-index:2;padding:104px 24px 112px}
.cdf-hero .eyebrow{display:inline-block;color:var(--cyan);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:2px;margin-bottom:16px}
.cdf-hero h1{font-family:"Oswald","Arial Black",Arial,sans-serif;font-weight:700;font-size:76px;line-height:1;color:#fff;text-transform:uppercase;letter-spacing:-.5px;max-width:16ch;margin:0 0 20px}
.cdf-hero h1 .cdf-hl{color:var(--cyan)}

/* ---- Pictos hexagonaux (navigation visuelle Ultron) ---- */
.cdf-hex-section{padding:64px 0}
.cdf-hex-grid{display:flex;flex-wrap:wrap;gap:18px;justify-content:center}
.cdf-hex{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;width:170px;text-decoration:none}
.cdf-hex .shape{width:120px;height:132px;display:flex;align-items:center;justify-content:center;
  clip-path:path('M66.1,3.4L113.9,29.6Q120,33 120,40L120,92Q120,99 113.9,102.4L66.1,128.6Q60,132 53.9,128.6L6.1,102.4Q0,99 0,92L0,40Q0,33 6.1,29.6L53.9,3.4Q60,0 66.1,3.4Z');transition:transform .15s}
.cdf-hex:hover .shape{transform:translateY(-5px) scale(1.03)}
.cdf-hex .shape svg{width:46px;height:46px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cdf-hex .shape span{font-size:42px;line-height:1}
.cdf-hex b{display:block;margin-top:12px;font-family:"Oswald",Arial;font-size:16px;text-transform:uppercase;letter-spacing:.5px;color:var(--ink)}
.cdf-hex .soon{position:absolute;top:6px;right:18px;background:#222;color:#fff;font-size:10px;font-weight:700;
  text-transform:uppercase;letter-spacing:.5px;padding:2px 7px;border-radius:3px}
.cdf-hex .hx-clubs{background:#7d5fc4}.cdf-hex .hx-villes{background:#00b4cc}
.cdf-hex .hx-comp{background:#f7941e}.cdf-hex .hx-mag{background:#ffcf33}
.cdf-hex .hx-coachs{background:#f0506e}
@media(max-width:600px){.cdf-hero h1{font-size:44px}.cdf-hex{width:44%}}
.cdf-hero p{font-size:19px;max-width:56ch;opacity:.9;margin:0 0 28px}
.cdf-hero .cdf-cta{display:flex;gap:14px;flex-wrap:wrap}

/* ---- Bandeau « compétition à la une » ---- */
.cdf-une .cdf-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;flex-wrap:wrap}
.cdf-une-info{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.cdf-une-nom{font-family:"Oswald",Arial;font-size:18px;font-weight:600}
.cdf-une-meta{font-size:13px;opacity:.8}
.cdf-une-badge{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;
  text-transform:uppercase;letter-spacing:.6px;padding:5px 12px;border-radius:3px;white-space:nowrap}
.cdf-une-direct{background:var(--dark);color:#fff}
.cdf-une-direct .cdf-une-badge.cdf-live{background:#e8462f;color:#fff}
.cdf-une-direct .cdf-une-badge .dot{width:8px;height:8px;border-radius:50%;background:#fff;animation:cdf-pulse 1.2s infinite}
@keyframes cdf-pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}100%{opacity:1;transform:scale(1)}}
.cdf-une-avenir{background:var(--soft);color:var(--ink);border-top:3px solid var(--cyan)}
.cdf-une-avenir .cdf-une-badge.cdf-soon{background:var(--cyan);color:#fff}
.cdf-une-champion{background:var(--dark);color:#fff}
.cdf-une-champion .cdf-une-badge.cdf-palmares{background:#ffcf33;color:#222}
/* ---- Bloc palmarès sur le calendrier ---- */
.cdf-palmares-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:8px 0 28px}
.cdf-palmares-card{background:#fff;border:1px solid var(--line);border-left:4px solid #ffcf33;border-radius:6px;padding:16px 18px}
.cdf-palmares-card h3{font-size:16px;margin:0 0 4px}
.cdf-palmares-card .meta{color:var(--muted);font-size:12px;margin-bottom:8px}
.cdf-palmares-card .champ{font-size:14px;padding:2px 0}
.cdf-palmares-card .champ b{color:var(--cyan-dark)}
@media(max-width:700px){.cdf-palmares-list{grid-template-columns:1fr}}
@media(max-width:700px){.cdf-une .cdf-wrap{flex-direction:column;align-items:flex-start}}

/* ---- Bande chiffres ---- */
.cdf-figures{background:var(--cyan);color:#fff}
.cdf-figures .cdf-wrap{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;padding:26px 24px}
.cdf-fig{flex:1;min-width:150px;text-align:center}
.cdf-fig b{display:block;font-family:"Oswald",Arial;font-size:34px;line-height:1}
.cdf-fig span{font-size:13px;text-transform:uppercase;letter-spacing:1px;opacity:.92}

/* ---- Sections accueil ---- */
.cdf-section{padding:70px 0}
.cdf-center{text-align:center;max-width:720px;margin:0 auto 44px}
.cdf-center h2{font-size:38px}
.cdf-center p{color:var(--muted);font-size:17px}
.cdf-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.cdf-card{background:#fff;border:1px solid var(--line);border-radius:6px;padding:30px 24px;text-align:center}
.cdf-card .ico{width:56px;height:62px;clip-path:path('M31.1,1.7L52.9,13.8Q56,15.5 56,19L56,43Q56,46.5 52.9,48.2L31.1,60.3Q28,62 24.9,60.3L3.1,48.2Q0,46.5 0,43L0,19Q0,15.5 3.1,13.8L24.9,1.7Q28,0 31.1,1.7Z');background:var(--cyan);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:24px}
.cdf-card h3{font-size:18px;margin:0 0 8px}
.cdf-card p{color:var(--muted);font-size:14px;margin:0}

/* ---- Split ---- */
.cdf-split{background:var(--soft)}
.cdf-split .cdf-wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;padding:64px 24px}
.cdf-split h2{font-size:34px}
.cdf-split ul{list-style:none;padding:0;margin:16px 0 26px}
.cdf-split li{padding:8px 0 8px 28px;position:relative;font-weight:600}
.cdf-split li::before{content:"";position:absolute;left:0;top:13px;width:15px;height:15px;border-radius:50%;background:var(--cyan)}
.cdf-panel{background:var(--dark);border-radius:8px;color:#fff;padding:36px;min-height:220px;display:flex;flex-direction:column;justify-content:center}
.cdf-panel .big{font-family:"Oswald",Arial;font-size:28px;color:#fff;line-height:1.1;letter-spacing:.3px}
.cdf-panel p{color:rgba(255,255,255,.85);margin:.6em 0 0;font-size:15px}
.cdf-panel-cta{align-self:flex-start;margin-top:20px}

/* ---- Villes en vedette ---- */
.cdf-cities{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.cdf-city{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden;display:block}
.cdf-city .top{background:var(--dark);color:#fff;padding:16px 20px;display:flex;align-items:baseline;justify-content:space-between}
.cdf-city .top b{font-family:"Oswald",Arial;font-size:18px}
.cdf-city .top .n{color:var(--cyan);font-weight:700}
.cdf-city .bd{padding:14px 20px;color:var(--muted);font-size:14px}

/* ---- GeoDirectory : cartes de fiches ---- */
.geodir-post-title,.geodir_more_info,.gd-list-cards{font-family:inherit}
.geodir-loop-container .geodir-post,
.geodir-listings .geodir-post,
article.gd-place{border:1px solid var(--line);border-left:4px solid var(--cyan);border-radius:6px;background:#fff}
.geodir-category-list-view li{border-left:4px solid var(--cyan)}
.geodir-post-title a,.geodir_more_info a{color:var(--ink)}
.geodir-tab-head,.geodir-tabs-head{border-bottom:2px solid var(--cyan)}
.gd-tab-active a,.geodir-tab-active{color:var(--cyan-dark) !important}
.geodir-cat-list .geodir-cat-row,.gd-badge{background:var(--soft);color:var(--cyan-dark)}

/* badge fiche vérifiée + boîte revendication (plugin cdf-claim) */
.cdf-claim-box .button{width:auto}
.cdf-claim-badge{background:#32d296;color:#fff}

/* ---- Blog « Le Mag' » ---- */
.blog .site-main article.post,.archive .site-main article.post{
  background:#fff;border:1px solid var(--line);border-left:4px solid var(--cyan);
  border-radius:6px;padding:26px 30px;margin-bottom:24px}
.blog .entry-title,.archive .entry-title{font-size:24px}
.blog .entry-title a,.archive .entry-title a,.single-post .entry-title a{color:var(--ink)}
.entry-meta,.cat-links,.posted-on{color:var(--muted);font-size:13px}
.cat-links a{display:inline-block;background:var(--soft);color:var(--cyan-dark);font-weight:700;
  font-size:11px;text-transform:uppercase;letter-spacing:.5px;padding:3px 9px;border-radius:3px}
.cdf-lead{font-size:19px;color:var(--muted);margin-bottom:24px}
.single-post .entry-content{max-width:760px}
.single-post .entry-content h2{font-size:26px;margin:30px 0 12px}

/* ---- Footer cyan + newsletter ---- */
.cdf-news{background:var(--cyan);color:#fff;text-align:center;padding:52px 24px 36px}
.cdf-news h2{color:#fff;font-size:30px;margin:0 0 8px}
.cdf-news p{opacity:.92;margin:0 0 20px}
.cdf-news form{display:flex;gap:10px;max-width:460px;margin:0 auto;justify-content:center}
.cdf-news input{flex:1;height:46px;border:none;border-radius:3px;padding:0 16px;font-size:15px}
.site-footer,.site-info{background:var(--cyan);color:#fff}
.site-info a{color:#fff;font-weight:600}
.site-info .cdf-sign b{font-family:"Oswald",Arial}

/* ---- Responsive ---- */
@media(max-width:900px){
  .cdf-hero h1{font-size:52px}.cdf-center h2{font-size:28px}
  .cdf-grid,.cdf-cities{grid-template-columns:repeat(2,1fr)}
  .cdf-split .cdf-wrap{grid-template-columns:1fr}
  .cdf-phead h1{font-size:30px}
}
@media(max-width:600px){.cdf-grid,.cdf-cities{grid-template-columns:1fr}}

/* ============================ Corrections rendu v1 (job 1210) ============ */
/* Header sombre forcé (le CSS inline GP mettait un gris clair -> logo invisible) */
.site-header{background:var(--dark) !important}
.cdf-phead-sub{opacity:.85;margin:.4em 0 0;font-size:15px}

/* Masque les titres natifs GeoDirectory (remplacés par le bandeau .cdf-phead) */
body.post-type-archive-gd_place .page-header,
body.single-gd_place .entry-header .entry-title,
.geodir-page .geodir-archive-title,
.gd-archive-title{display:none}
/* Coupe d'éventuels Admin Hints résiduels */
.gd-hints-list,.geodir-hint,.geodir-admin-hint{display:none !important}

/* Cartes accueil : icône SVG ligne colorée (zéro emoji) */
/* Pictos des cartes en hexagones colorés (comme la nav), icône blanche (job retours Will) */
.cdf-card .ico svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cdf-card .ico.c-cyan{background:#00b4cc} .cdf-card .ico.c-violet{background:#7d5fc4}
.cdf-card .ico.c-orange{background:#f7941e} .cdf-card .ico.c-jaune{background:#e0a800}

/* Section villes : pas de cellule vide (wpautop) */
.cdf-cities > p:empty,.cdf-grid > p:empty,.cdf-hex-grid > p:empty{display:none}
.cdf-cities br,.cdf-grid br{display:none}

/* Page Compétitions : tableaux lisibles à la charte */
.entry-content table{width:100%;border-collapse:collapse;margin:0 0 28px;font-size:14px;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.entry-content thead th{background:var(--dark);color:#fff;text-align:left;padding:11px 14px;font-family:"Oswald",Arial;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.3px}
.entry-content tbody td{padding:10px 14px;border-top:1px solid var(--line)}
.entry-content tbody tr:hover{background:var(--soft)}
.single-post .entry-content h2,.page-id-353 h2{border-left:4px solid var(--cyan);padding-left:12px}

/* Blog « Le Mag' » : grille de cartes (home + archives catégorie), pleine largeur.
   Mêmes règles pour .blog et .category -> rendu identique filtré / non filtré. */
/* Les archives catégorie reprennent À L'IDENTIQUE le design des cartes du blog
   (mêmes valeurs que le bloc body.blog plus bas) : grille, image en haut (order:-1),
   signature masquée sur les vignettes, carte stylée. */
body.category .site-main{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;max-width:1180px;margin-left:auto;margin-right:auto;justify-content:center}
body.category .site-main article.post{margin:0;background:#fff;border:1px solid var(--line);border-top:4px solid var(--cyan);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;padding:0;max-width:380px;width:100%}
body.category .site-main .post-image{margin:0;order:-1}
body.category .site-main .post-image img{width:100%;height:200px;object-fit:cover;display:block}
body.category .site-main .inside-article{padding:22px 24px;display:flex;flex-direction:column;flex:1}
body.category .site-main .entry-title{font-size:20px;margin:6px 0 10px;line-height:1.2}
body.category .site-main .entry-summary,body.category .site-main .entry-content{color:var(--muted);font-size:14px;flex:1}
body.category .site-main .entry-meta,body.category .site-main .byline{font-size:12px;color:var(--muted)}
body.category .site-main .byline{display:none}
body.category .site-main .read-more-container{margin-top:14px}
@media(max-width:900px){body.category .site-main{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body.category .site-main{grid-template-columns:1fr}}
/* Titre d'archive natif GP masqué (le bandeau .cdf-phead fournit le H1) */
.category .page-header{display:none}
/* Filtre par catégorie : pills dans le bandeau sombre */
.cdf-magfilter{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.cdf-magfilter__pill{display:inline-block;padding:7px 16px;border-radius:30px;font-size:14px;font-weight:600;text-decoration:none;background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.28);line-height:1.3}
.cdf-magfilter__pill:hover{background:rgba(255,255,255,.20);color:#fff}
.cdf-magfilter__pill.is-active{background:var(--cyan);color:#fff;border-color:var(--cyan)}

/* Index des villes (« Où pratiquer ») */
.cdf-villes-index{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:8px 0 28px}
.cdf-villes-index a{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-left:4px solid var(--cyan);border-radius:6px;padding:14px 16px;font-family:"Oswald",Arial;font-weight:600;color:var(--ink);transition:.15s}
.cdf-villes-index a:hover{border-left-color:#f7941e;transform:translateX(3px)}
.cdf-villes-index .n{background:var(--soft);color:var(--cyan-dark);font-size:13px;border-radius:3px;padding:2px 8px}
@media(max-width:900px){.cdf-villes-index{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.cdf-villes-index{grid-template-columns:1fr}}

/* GeoDirectory : recherche + filtres + fiche aux couleurs du thème */
.geodir-loop-actions,.geodir-search,.geodir_advance_search_widget,.gd-search-bar{background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:14px}
.geodir-search input[type=text],.gd-search-input,.geodir_full_search input{border:1px solid var(--line);border-radius:3px;padding:9px 12px}
.geodir-category-list-view .geodir-post,.geodir-loop-container article{border:1px solid var(--line);border-left:4px solid var(--cyan);border-radius:6px;background:#fff;margin-bottom:14px}
.single-gd_place .geodir-tab-head a.active,.geodir-tabs-head li.active a{color:var(--cyan-dark) !important;border-bottom:2px solid var(--cyan)}

/* Palette : accents secondaires cohérents (badges fédération, puces, survols) */
.cdf-tag,.geodir-cat-list a,.cat-links a{background:var(--soft);color:var(--cyan-dark);border-radius:3px;padding:3px 9px;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.4px}
.cdf-fed-ffforce{background:#eef0ff;color:#7d5fc4}
.cdf-fed-wpc{background:#fff2e6;color:#c06a00}
.cdf-fed-wrpf{background:#ffe9ee;color:#c01f43}
.cdf-split li::before{background:#f7941e}
.cdf-card:hover{border-color:#f7941e}
.button:hover,.cdf-btn:hover{box-shadow:0 4px 14px rgba(0,180,204,.25)}
.cdf-city .bd{display:block}
.cdf-city .top{display:flex}
/* Masque le titre-template « GD Archive » qui fuit dans le loop d'archive */
body.post-type-archive-gd_place .site-main > article > .entry-header,
body.post-type-archive-gd_place .entry-title a[href="#"]{display:none}
/* Encart revendication sur la fiche (maquette : bloc sombre) */
.cdf-claim-box{background:var(--dark);color:#fff;border-radius:6px;padding:22px;margin:18px 0}
.cdf-claim-box p{color:rgba(255,255,255,.85);font-size:14px}
.cdf-claim-box .button,.cdf-claim-box .cdf-btn{background:var(--cyan)}
.cdf-claim-badge{display:inline-block;margin-bottom:8px}

/* ============================ Corrections rendu v2 (job 1220) ============ */
/* Masquer le sélecteur de vues multiples, l'avatar placeholder et les avis (annuaire MVP) */
.geodir-loop-actions .geodir-loop-paging-actions,.geodir-loop-view-actions,
.gd-list-view-select,.geodir-loop-actions select.geodir-sort-by{display:none !important}
.geodir-post-avatar,.gd-author-avatar,.geodir-author-img,.geodir-post-author-avatar,
.geodir-default-image .gd-no-image,img.geodir-default-img{display:none !important}
.geodir-rating,.gd-rating,.geodir-post-rating,.geodir-review-rating,
.geodir-output-rating,.branch-rating{display:none !important}
/* Conteneur centré pour le contenu des pages internes (sécurité anti pleine largeur) */
.page .entry-content > .cdf-wrap{max-width:1180px;margin-left:auto;margin-right:auto}

/* ---- Le Mag' archive : cartes larges et aérées (point 6 / job 1220) ---- */
body.blog .site-main{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;max-width:1180px;margin-left:auto;margin-right:auto}
body.blog .site-main article.post{margin:0;background:#fff;border:1px solid var(--line);border-top:4px solid var(--cyan);border-radius:8px;overflow:hidden;display:flex;flex-direction:column;padding:0}
body.blog .site-main .post-image{margin:0;order:-1}
body.blog .site-main .post-image img{width:100%;height:200px;object-fit:cover;display:block}
body.blog .site-main .inside-article{padding:22px 24px;display:flex;flex-direction:column;flex:1}
body.blog .site-main .entry-title{font-size:20px;margin:6px 0 10px;line-height:1.2}
body.blog .site-main .entry-summary,body.blog .site-main .entry-content{color:var(--muted);font-size:14px;flex:1}
body.blog .site-main .entry-meta,body.blog .site-main .byline{font-size:12px;color:var(--muted)}
body.blog .site-main .byline{display:none}
body.blog .site-main .read-more-container{margin-top:14px}
@media(max-width:900px){body.blog .site-main{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body.blog .site-main{grid-template-columns:1fr}}

/* ---- Calendrier compétitions timeline (point 7 / job 1220) ---- */
.page-id-353 .entry-content{max-width:1180px;margin-left:auto;margin-right:auto}
.cdf-cal{margin:8px 0 28px}
.cdf-cal-month{font-family:"Oswald",Arial;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--dark);border-bottom:2px solid var(--cyan);padding:14px 0 8px;margin:18px 0 10px}
.cdf-cal-row{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px 16px;margin-bottom:10px;transition:.15s}
.cdf-cal-row:hover{box-shadow:0 3px 12px rgba(0,0,0,.06);transform:translateX(2px)}
.cdf-pill{flex-shrink:0;width:58px;height:58px;border-radius:8px;background:var(--soft);display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.cdf-pill b{font-family:"Oswald",Arial;font-size:19px;color:var(--dark)}
.cdf-pill span{font-size:10px;font-weight:700;letter-spacing:.5px;color:var(--cyan-dark)}
.cdf-cal-main{flex:1;min-width:0}
.cdf-cal-nom{font-family:"Oswald",Arial;font-size:16px;font-weight:600}
.cdf-cal-nom a{color:var(--ink)} .cdf-cal-nom a:hover{color:var(--cyan-dark)}
.cdf-cal-meta{font-size:12px;color:var(--muted);margin-top:3px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cdf-cal-lieu{color:var(--dark)}
.cdf-rel{flex-shrink:0;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;padding:4px 10px;border-radius:20px;white-space:nowrap}
.cdf-rel-now .cdf-rel{background:#e8462f;color:#fff}
.cdf-rel-soon .cdf-rel{background:#f7941e;color:#fff}
.cdf-rel-near .cdf-rel{background:var(--cyan);color:#fff}
.cdf-rel-far .cdf-rel{background:var(--soft);color:var(--muted)}
.cdf-rel-now{border-left:4px solid #e8462f}.cdf-rel-soon{border-left:4px solid #f7941e}
.cdf-fed-int{background:#e6f7fa;color:#038093}
@media(max-width:600px){.cdf-cal-row{flex-wrap:wrap}.cdf-rel{order:3}}

/* ---- Badge « bientôt » Coachs sous le label (point 3 / job 1230) ---- */
.cdf-hex .soon{display:none}
.cdf-soon-tag{display:inline-block;margin-top:5px;background:var(--dark);color:#fff;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:2px 8px;border-radius:3px}

/* ---- Fiche club valorisante (point 2 / job 1230) ---- */
.single-gd_place .cdf-cover{background:linear-gradient(90deg,rgba(17,18,20,.92),rgba(17,18,20,.5)),radial-gradient(120% 140% at 85% 0,rgba(0,180,204,.45),transparent 55%),#1c1d20;padding:36px 0}
.single-gd_place .cdf-phead h1{font-size:54px;text-transform:uppercase;line-height:1}
.cdf-cover-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.cdf-cover-tag{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;padding:6px 12px;border-radius:4px;background:rgba(255,255,255,.14);color:#fff}
.cdf-cover-tag.cdf-verif{background:rgba(50,210,150,.2);color:#9af0cf}
.cdf-fiche-body{display:grid;grid-template-columns:1fr 310px;gap:32px;max-width:1100px;margin:0 auto;padding:0 24px}
.cdf-fiche-main .geodir_post_meta,.cdf-fiche-main .geodir-post-content{margin-bottom:26px}
.cdf-fiche-main .geodir_post_meta .geodir_post_meta_title,.cdf-fiche-main h2{font-family:"Oswald",Arial;font-size:19px;font-weight:600;border-bottom:2px solid var(--cyan);display:inline-block;padding-bottom:6px;margin-bottom:12px}
.cdf-fiche-side .card,.cdf-fiche-side > div{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:16px}
.cdf-fiche-side .geodir_post_meta{padding:10px 16px;border-bottom:1px solid var(--line);font-size:14px}
/* Carte fiche (jobs 1430→1520) : la carte Leaflet REMPLIT le cadre de 250px.
   Structure GD réelle : wrap > catcher + stick_trigger_container > geodir_map_container
   (min-height:250) > map_background > top_banner_section_in > main_map_wrapper >
   .iprelative(position-relative) > #gd_map_canvas_post. Le canvas s'ancrait sur
   .iprelative (et les 1490 empilaient chaque intermédiaire à 250px en flux) -> bande
   blanche en haut. Fix : SEUL le wrap est positionné ; TOUS les intermédiaires en
   position:static (y compris .iprelative) pour que le canvas s'ancre sur le wrap ; le
   canvas en absolute remplit le cadre. Les contrôles GD (z-index 3) restent au-dessus. */
.cdf-fiche-side .geodir-map-wrap,
.cdf-fiche-side .geodir-post-map-wrap{position:relative !important;height:250px !important;overflow:hidden !important}
.cdf-fiche-side .stick_trigger_container,
.cdf-fiche-side .geodir_map_container,
.cdf-fiche-side .map_background,
.cdf-fiche-side .top_banner_section_in,
.cdf-fiche-side #gd_map_canvas_post_wrapper,
.cdf-fiche-side .main_map_wrapper,
.cdf-fiche-side .iprelative{position:static !important;height:auto !important;min-height:0 !important;margin:0 !important;inset:auto !important}
.cdf-fiche-side #gd_map_canvas_post,
.cdf-side-card .geodir-map-canvas{position:absolute !important;top:0 !important;left:0 !important;right:0 !important;bottom:0 !important;height:250px !important;width:100% !important;z-index:1 !important}
/* Le widget GD .geodir-wgt-map s'intercale entre la card (fond blanc) et la carte avec
   une marge bsui -> c'était le « bandeau blanc en haut ». On le colle au ras du haut. */
/* Mention de transparence sur les fiches pré-remplies (job 1520). */
.cdf-prefill-note{font-size:12.5px;color:var(--muted);font-style:italic;margin:8px 0 30px;padding-left:10px;border-left:2px solid var(--line)}
/* Carte de fiche = embed OSM en iframe (remplit le cadre, aucun chrome). */
.cdf-side-card .cdf-map-embed{display:block;width:100%;height:250px;border:0;margin:0;background:#e9eef0}
.cdf-side-card .geodir-wgt-map{margin:0 !important;padding:0 !important;line-height:0}
/* Toute zone non couverte par les tuiles -> fond cyan charte plutôt que blanc
   (demande Will : « met du bleu dans la bande »). */
.cdf-side-card .geodir-wgt-map,
.cdf-fiche-side .geodir-post-map-wrap,
.cdf-fiche-side .geodir_map_container,
.cdf-fiche-side .map_background,
.cdf-fiche-side .main_map_wrapper,
.cdf-fiche-side #gd_map_canvas_post,
.cdf-fiche-side .geodir-map-canvas{background-color:var(--cyan) !important}
.cdf-fiche-side .geodir-post-meta-cdf_site_web a{display:block;text-align:center;background:var(--cyan);color:#fff;font-weight:700;padding:11px;border-radius:6px;margin:6px 0}
/* Infobulle marqueur (job 1500) : adresse sans le label anglais collé « Adresse: »
   (le « : » est ajouté par le template GD, hors chaîne gettext) -> on n'affiche que la
   valeur, déjà normalisée en base. Le titre est le nom du club seul. */
.gd-bubble .geodir-field-address .geodir_post_meta_title{display:none !important}
/* Le mapbubble réaffiche le champ post_title (déjà en titre h4), rendu « — : » (icône +
   label vide) -> ligne redondante supprimée. */
.gd-bubble .geodir-field-post_title{display:none !important}
.cdf-club-comps{background:var(--dark);color:#fff;border-radius:8px;padding:18px}
.cdf-club-comps h3{color:var(--cyan);font-size:12px;text-transform:uppercase;letter-spacing:1px;margin:0 0 8px}
.cdf-club-comps ul{list-style:none;padding:0;margin:0;font-size:14px}
@media(max-width:760px){.cdf-fiche-body{grid-template-columns:1fr}.single-gd_place .cdf-phead h1{font-size:34px}}

/* ---- Logo SVG inline (job 1240) ---- */
.cdf-logo{margin:0;line-height:0}
.cdf-logo a{display:inline-block;line-height:0}
.cdf-logo svg{height:40px;width:auto;display:block}
@media(max-width:600px){.cdf-logo svg{height:32px}}

/* ---- Formulaire « proposer un club » (job 1250) ---- */
.cdf-form{max-width:720px;margin:0 auto}
.cdf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin-bottom:18px}
.cdf-form-grid .full{grid-column:1/-1}
.cdf-form label{display:block;font-weight:600;font-size:14px}
.cdf-form input[type=text],.cdf-form input[type=email],.cdf-form input[type=url],.cdf-form select,.cdf-form textarea{width:100%;border:1px solid var(--line);border-radius:6px;padding:10px 12px;margin-top:4px;font-size:14px;font-family:inherit}
.cdf-form input:focus,.cdf-form textarea:focus,.cdf-form select:focus{outline:none;border-color:var(--cyan)}
.cdf-form .hint{font-weight:400;color:var(--muted);font-size:12px}
.cdf-form fieldset{border:1px solid var(--line);border-radius:6px;padding:10px 14px;margin:0}
.cdf-form legend{font-weight:600;font-size:13px;padding:0 6px}
.cdf-chk{display:inline-block;margin:4px 14px 4px 0;font-weight:400;font-size:14px}
.cdf-cap input{background:var(--soft)}
.cdf-hp{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden}
.cdf-form-notice{padding:12px 16px;border-radius:6px;margin-bottom:18px;font-size:14px}
.cdf-form-notice.ok{background:#e6f9f0;border-left:4px solid #32d296}
.cdf-form-notice.err{background:#fdecec;border-left:4px solid #e8462f}
@media(max-width:600px){.cdf-form-grid{grid-template-columns:1fr}}

/* ---- Taille logo (job 1260) : override final + dimensions explicites sur le SVG ---- */
.cdf-logo svg{height:38px;width:auto;display:block}
.cdf-logo a{display:inline-flex;align-items:center;line-height:0}
.inside-header{display:flex;align-items:center}
@media(max-width:768px){.cdf-logo svg{height:32px}}

/* ---- Archive Clubs : petites cartes 3-4/rangée (job 1280) ---- */
.geodir-loop.geodir-post-loop-layout-3,.geodir-post-loop[class*="layout"]{display:grid !important;grid-template-columns:repeat(3,1fr);gap:18px}
.cdf-club-card{position:relative;background:#fff;border:1px solid var(--line);border-left:4px solid var(--cyan);border-radius:8px;padding:18px 20px;height:100%;transition:.15s}
.cdf-club-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.07);border-left-color:#f7941e}
.cdf-club-card .geodir-post-title,.cdf-club-card h2,.cdf-club-card h3{font-family:"Oswald",Arial;font-size:17px;margin:0 0 6px}
.cdf-club-card .geodir-post-title a,.cdf-club-card a.cdf-card-link{color:var(--ink);position:static}
.cdf-club-card .geodir_post_meta{font-size:13px;color:var(--muted);margin:2px 0;padding:0;border:0}
.cdf-club-card .geodir_post_meta.geodir-post-meta-cdf_federations{display:inline-block;background:var(--soft);color:var(--cyan-dark);font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.4px;padding:3px 9px;border-radius:3px;margin-top:8px}
.cdf-club-card .geodir-post-meta-label{display:none}
.cdf-club-card .geodir-post-distance{color:var(--cyan-dark);font-weight:600}
/* carte entière cliquable */
.cdf-card-overlay{position:absolute;inset:0;z-index:1}
/* masque tout reste d'image/avatar/contenu/avis sur les cartes */
.geodir-post-loop .geodir-image,.geodir-post-loop .geodir-post-images,.geodir-post-loop figure,
.geodir-post-loop .geodir-post-content,.geodir-post-loop .geodir-output-location{display:none !important}
@media(max-width:900px){.geodir-loop[class*="layout"],.geodir-post-loop[class*="layout"]{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.geodir-loop[class*="layout"],.geodir-post-loop[class*="layout"]{grid-template-columns:1fr}}
.cdf-club-card .geodir-post-title a::after{content:"";position:absolute;inset:0;z-index:1}
.cdf-card-overlay{display:none}
/* badge fédération (classe réelle geodir-field-*) */
.cdf-club-card .geodir-field-cdf_federations{display:inline-block;background:var(--soft);color:var(--cyan-dark);font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.4px;padding:3px 9px;border-radius:3px;margin-top:8px}
.cdf-club-card .geodir-field-cdf_federations .geodir_post_meta_icon{display:none}
.cdf-club-card .geodir-field-city{font-size:13px;color:var(--muted)}
.cdf-club-card .geodir-field-city .geodir_post_meta_icon{color:var(--cyan)}

/* ---- Logo dans le hero (job 1290) ---- */
.hero-logo{margin-bottom:24px}
.hero-logo svg{height:66px;width:auto;display:block}
@media(max-width:768px){.hero-logo svg{height:48px}}

/* ---- Le Mag' : grille centrée (job 1310) ---- */
body.blog .site-main{justify-content:center}
body.blog .site-main article.post{max-width:380px;width:100%}

/* ---- Fiche : masquer la zone avis/commentaires (job 1320) ---- */
.single-gd_place #comments,.single-gd_place .comment-respond,.single-gd_place .geodir-comments-area,
.single-gd_place #respond,.single-gd_place .geodir-company_info ~ #comments{display:none !important}

/* ---- Fiche état structuré + placeholders (job 1330) ---- */
.cdf-fiche-invite{max-width:1100px;margin:0 auto 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#fff8e6;border:1px solid #ffe1a8;border-left:4px solid #f7941e;border-radius:8px;padding:16px 20px}
.cdf-fiche-invite strong{color:var(--dark)}
.cdf-fiche-invite .cdf-claim-box{margin:0}
.cdf-sec{margin-bottom:26px}
.cdf-sec h2{font-family:"Oswald",Arial;font-size:19px;font-weight:600;border-bottom:2px solid var(--cyan);display:inline-block;padding-bottom:6px;margin:0 0 12px}
.cdf-sec-empty{color:var(--muted);font-style:italic;font-size:14px;margin:0}
.cdf-sec-val{font-size:15px}
.cdf-side-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:16px}
.cdf-side-coords{padding:12px 16px}
.cdf-side-coords .geodir_post_meta{padding:6px 0;border:0;font-size:14px;color:var(--ink)}
.cdf-side-coords .geodir-post-meta-label{color:var(--muted)}
.cdf-visit{display:block;text-align:center;margin:0 16px 16px;border-radius:7px}
.cdf-socials{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 16px}
.cdf-social{display:inline-block;background:var(--soft);color:var(--cyan-dark);font-weight:600;font-size:13px;padding:7px 14px;border-radius:5px;border:1px solid var(--line)}
.cdf-social:hover{background:var(--cyan);color:#fff;border-color:var(--cyan)}

/* ---- Pages villes : hiérarchie de titres lisible (job 1440).
   GeneratePress héritait h2 ~35px / h3 ~29px (les deux Oswald 600) -> sections et
   questions FAQ au même niveau. On creuse l'écart : h1 (40) > h2 sections (28) >
   h3 questions FAQ (20) > corps 400. Cible par la classe body cdf-ville. ---- */
.cdf-ville .entry-content h2{font-size:28px;font-weight:600;line-height:1.2;margin:40px 0 14px;border-left:4px solid var(--cyan);padding-left:12px}
.cdf-ville .entry-content h3{font-size:20px;font-weight:600;line-height:1.25;margin:22px 0 8px}
.cdf-ville .entry-content,.cdf-ville .entry-content p,.cdf-ville .entry-content li,
.cdf-ville .entry-content h3 + p{font-weight:350}
.cdf-ville .entry-content p strong{font-weight:600}

/* ---- Masquer les labels de champ GeoDirectory superflus (job 1340) ---- */
.cdf-club-card .geodir-field-city .geodir_post_meta_label,
.geodir-field-city .geodir-post-meta-label,
.cdf-side-coords .geodir_post_meta_label{display:none !important}
.cdf-fiche-main ul,.entry-content ul{margin:0 0 16px;padding-left:22px}
.cdf-fiche-main li,.entry-content li{margin:4px 0}
/* label de champ (« City: », « Phone: ») retiré des cartes (classe réelle) */
.cdf-club-card .geodir_post_meta_title,.cdf-side-coords .geodir_post_meta_title{display:none !important}

/* ---- Article blog : pleine largeur réelle + colonne de lecture centrée (job 1410).
   La sidebar droite VIDE restait dans le flux flex (width 30% ≈ 277 px) et comprimait
   le contenu ; on la sort du flux et on force la zone de contenu à 100 %. ---- */
.single-post .site-content{display:flex}
.single-post #right-sidebar,
.single-post .widget-area.is-right-sidebar{display:none !important}
.single-post .content-area,
.single-post .site-content .content-area{width:100% !important;flex:1 1 100% !important;max-width:100% !important}
.single-post .inside-article{max-width:780px;margin-left:auto;margin-right:auto}
.single-post .entry-content{max-width:none}
.single-post .cdf-phead .cdf-wrap{max-width:780px}
/* garde-fou anti-gras : les <p> sont déjà en 400, ceinture de sécurité */
.single-post .entry-content,
.single-post .entry-content p,
.single-post .entry-content li{font-weight:350}
/* ---- Sélecteur de vues GeoDirectory masqué (job 1390 : la classe .gd-list-view-select
   sur le btn-group wrapper, qui n'a pas d'id, restait visible) ---- */
.gd-list-view-select,[id^="gd-list-view-select"],[aria-labelledby^="gd-list-view-select"],
.geodir-loop-actions .dropdown:has([id^="gd-list-view-select"]){display:none !important}

/* ---- Fiche finitions charte (job 1360) ---- */
.single-gd_place .cdf-phead h1{color:#fff !important}
.cdf-fiche-claim{max-width:1100px;margin:0 auto 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-left:4px solid var(--cyan);border-radius:8px;padding:18px 22px}
.cdf-fiche-claim.cdf-claim-on{border-left-color:#32d296}
.cdf-fiche-claim .cdf-claim-txt{flex:1;min-width:240px}
.cdf-fiche-claim strong{color:var(--dark)}
.cdf-fiche-claim .cdf-claim-box{margin:0;background:transparent;padding:0;color:inherit}
.cdf-fiche-claim .cdf-claim-box p{display:none}
.cdf-fiche-claim .cdf-claim-box .button,.cdf-fiche-claim .cdf-btn{background:var(--cyan);color:#fff}
/* carte fiche : conteneur propre */
.cdf-side-card .geodir-map-canvas,.cdf-side-card .gd-map-canvas{height:250px !important;border-radius:0}
.cdf-side-coords .cdf-adr{align-items:flex-start}
.cdf-side-coords .cdf-adr .cdf-adr-txt{line-height:1.45}
/* petit espace entre le picto de géolocalisation et l'adresse (demande Will) */
.cdf-side-coords .cdf-adr .geodir_post_meta_icon{margin-right:6px}
.cdf-chips{display:flex;flex-wrap:wrap;gap:8px}
.cdf-chip{font-size:13px;background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:6px 14px;color:var(--ink)}
