/* =====================================================================
   Site du Divers — nouveau design 2026
   Chargé APRÈS style.css, uniquement si le design est activé dans l'admin
   (ou en aperçu admin). Les largeurs d'origine sont conservées :
   page 995 px, colonne articles 615 px (+2x15 de marge), colonne droite 330 px.
   ===================================================================== */

html body{
  margin:0;
  background-color:#1d1812;                       /* même teinte que l'ancien fond */
  background-image:
    repeating-linear-gradient(0deg,rgba(255,255,255,.02) 0 1px,transparent 1px 3px,rgba(0,0,0,.1) 3px 4px,transparent 4px 6px),
    linear-gradient(90deg,rgba(0,0,0,.3),transparent 12%,transparent 88%,rgba(0,0,0,.3)),
    linear-gradient(#2e1605 0,#7a3f12 18px,#b8692a 45px,#cf7d36 80px,#a65b26 112px,#5b3a22 150px,rgba(42,29,19,.85) 185px,rgba(29,24,18,0) 260px),
    url(img/bg/bbg-bottom2.png);                  /* ancienne texture du site, répétée jusqu'en bas */
  background-repeat:repeat,no-repeat,no-repeat,repeat;
  /* stries : petit motif répété partout ; ombre des côtés fixée à l'écran */
  background-size:100% 6px,100% 100%,100% 400px,auto;
  background-attachment:scroll,fixed,scroll,scroll;
  min-height:100%;
}
html{background:#1d1812 url(img/bg/bbg-bottom2.png) repeat;min-height:100%}
html body #bbg-top{background:none;margin:0}

/* ---------- En-tête : logo centré + barre de menu « verre » ---------- */
html body #header{position:relative;width:995px;height:auto;margin:0 auto;padding-bottom:0;font-family:Arial,Helvetica,sans-serif}
html body #header::after{content:"";display:block;clear:both}
html body #header2{height:136px;display:flex;align-items:center;justify-content:center}
html body #logoSDD{position:relative;z-index:9972;display:block}   /* logo devant la guirlande de Noël */
html body #logoSDD img{display:block;filter:drop-shadow(0 3px 5px rgba(0,0,0,.45))}
/* Nouveau logo (avec son fond orangé) : bords fondus pour qu'on ne voie pas où il commence */
html body #logoSDD img.logo-2026{height:100%;width:auto;margin-top:13px;filter:none}   /* fond du logo recoloré à la couleur de l'en-tête */
html body #header::before{content:"";position:absolute;left:0;right:0;top:149px;height:52px;border-radius:11px;z-index:0;pointer-events:none;
  background:linear-gradient(rgba(92,70,55,.78),rgba(52,38,28,.85));border:1px solid rgba(255,235,210,.22);box-sizing:border-box;
  box-shadow:0 6px 18px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,240,220,.15)}

html body .menu_top{position:relative;z-index:2;float:left;margin-top:13px;height:52px}
html body .menu_top ul{float:left;margin:0;padding:0 0 0 20px;display:flex;align-items:center;height:52px}
html body .menu_top ul li{float:none;display:block;height:auto;line-height:normal;background:none;margin:0 17px 0 0;list-style:none}
html body .menu_top ul li:empty{display:none}
html body .menu_top ul li a,
html body .menu_top ul li a:hover,
html body .menu_top ul li[class*="cat-item"] a:hover{display:block;position:relative;margin:0;padding:14px 0;background:none;color:#FFF;
  font-family:Arial,Helvetica,sans-serif;line-height:1;text-decoration:none}   /* police, taille et couleur d'origine */
html body .menu_top ul li a.on::after{content:"";position:absolute;left:0;right:0;bottom:7px;height:2px;border-radius:2px;background:#ff9933}
/* Survol du menu : le texte prend la couleur de la rubrique (mêmes couleurs que les étiquettes) */
html body .menu_top ul li[class*="cat-item"] a{transition:color .2s}
html body .menu_top ul li[class*="cat-item"] a[href$="page="]:hover,
html body .menu_top ul li[class*="cat-item"] a[href*="annoncesdudivers"]:hover{color:#ff9933}
html body .menu_top ul li[class*="cat-item"] a[href$="page=news"]:hover{color:#3f82f0}
html body .menu_top ul li[class*="cat-item"] a[href$="page=maj"]:hover{color:#ef5a4a}
html body .menu_top ul li[class*="cat-item"] a[href$="page=cuisinerecettes"]:hover{color:#b45ec6}
html body .menu_top ul li[class*="cat-item"] a[href$="page=humour"]:hover{color:#f0983a}
html body .menu_top ul li[class*="cat-item"] a[href$="page=bonsplans"]:hover{color:#f6c33d}
html body .menu_top ul li[class*="cat-item"] a[href$="page=depannpc"]:hover{color:#33b3a6}

html body .menu_top2{position:relative;z-index:2;float:right;margin:13px 9px 0 0;height:52px;display:flex;align-items:center}
html body .menu_top2 ul{float:none;margin:0;padding:0}
html body .menu_top2 ul li,html body .menu_top2 ul li.cat-item-9{float:none;height:auto;margin:0;list-style:none}
html body .menu_top2 form{display:flex;align-items:center;height:36px;width:216px;box-sizing:border-box;padding:0 6px 0 15px;margin:0;border-radius:19px;
  background:rgba(25,18,13,.75);border:1px solid rgba(255,235,210,.25);box-shadow:inset 0 1px 3px rgba(0,0,0,.5)}
html body .menu_top2 form input[type=text]{flex:1;width:auto!important;min-width:0;height:30px!important;float:none!important;background:transparent!important;
  border:0!important;outline:0;color:#ddd;font-family:Arial,Helvetica,sans-serif;padding:0}
html body .menu_top2 form input[type=image]{float:none!important;width:24px;height:24px!important;padding:0;border:0;background:none;cursor:pointer}

/* ---------- Bandeau A LA UNE (200 px de haut) ---------- */
html body #alaune2{width:995px;height:200px;margin:15px auto 5px;box-sizing:border-box;border-radius:14px;
  border:1.5px solid rgba(232,196,150,.75);background:#1b1612;box-shadow:0 10px 28px rgba(0,0,0,.65)}
html body #alaune2 .diapo{border-radius:13px;overflow:hidden}
html body #alaune2 .diapo img{width:100%;height:200px;object-fit:cover}
html body #alaune2 .fond{filter:blur(24px) brightness(.5) saturate(.6);transform:scale(1.25)}
html body #alaune2 .diapo img.contenue{position:absolute;left:50%;top:8px;transform:translateX(-50%);width:auto;max-width:440px;min-width:240px;height:146px;
  object-fit:cover;border-radius:11px;border:1.5px solid rgba(240,200,150,.85);box-sizing:border-box;
  box-shadow:0 0 18px rgba(255,140,40,.35),0 4px 14px rgba(0,0,0,.6)}
html body #alaune2 .legende{bottom:0;padding:0 14px;height:38px;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform:translateY(45px);line-height:37px;padding-top:0;padding-bottom:0}
html body #alaune2 .diapo.active .legende{transform:translateY(0)}
html body #alaune2 .pause{color:#fff;background:linear-gradient(rgba(255,255,255,.22),rgba(255,255,255,.1));border:1px solid rgba(255,255,255,.35);
  border-radius:8px;backdrop-filter:blur(6px);box-shadow:0 2px 6px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.3)}
html body #alaune2 .titre{top:9px;left:10px;border-radius:4px}
html body #alaune2 .pause{top:9px;right:10px;width:30px;height:30px;padding:0;font:12px/28px Arial,sans-serif}
html body #alaune2 .points{bottom:46px;right:12px}
html body #alaune2 .points button{width:10px;height:10px;background:rgba(150,150,150,.55);border:1.5px solid rgba(255,255,255,.75)}
html body #alaune2 .points button.active{background:#ff8a1f;border-color:#ff8a1f}
html body #alaune2 .temps{background:#ff8a1f;height:2px}
html body #alaune2 .fl{background:rgba(0,0,0,.3);border-radius:8px}

/* ---------- Colonne des articles ---------- */
html body #contener{width:995px}
html body #contener_premier{background:#fff;border-radius:13px;box-shadow:0 8px 22px rgba(0,0,0,.55);margin-top:20px}
html body .separation{width:615px;height:0;background:none;border-bottom:2px solid #5a3a26;margin:14px 0 6px}

/* Pagination */
html body a.cercle,html body a.cercle3,html body a.cercle_333,html body a.cercle_C60,html body a.cercle_FFF{
  display:inline-block;min-width:28px;height:31px;box-sizing:border-box;padding:0 8px;margin:0 3px;
  border:1px solid #cfcac5;border-radius:6px;background:#fff;color:#333;font:bold 12px/29px Arial,Helvetica,sans-serif;text-align:center;text-decoration:none}
html body a.cercle:hover,html body a.cercle3:hover,html body a.cercle_333:hover{background:#f6efe8;border-color:#e0b98f;color:#333;padding:0 8px;margin:0 3px;font-size:12px}
html body a.cercle_C60{background:#e6e3e0;color:#C60;border-color:#ddd}
html body a.cercle_marge{display:inline-block;margin-left:50px}

/* Titre, auteur, texte */
/* Titres et textes : police, taille et couleur de la version actuelle (style.css) ; titre à droite de l'étiquette */
/* Étiquette de rubrique : taille visuelle de la version 1 (l'image a des marges/ombre, d'où 40px), jamais réduite */
html body img.logo-rubrique{float:left!important;height:40px;width:auto;max-width:none;flex-shrink:0;margin:5px 10px 0 0!important}   /* 5px : centrée sur la hauteur du titre */
/* Titre à droite de l'étiquette : centré sur sa hauteur ; s'il est trop long il passe à la ligne dans sa colonne (pas sous l'étiquette) */
html body a:has(> img.logo-rubrique) + a > *{display:flex;align-items:center;min-height:36px;overflow:hidden}
html body h3n img{max-width:100%;height:auto}

/* ---------- Colonne de droite : cartes blanches ---------- */
html body .menu_droite,html body .menu_droiteTV1,html body .menu_droiteTV{background:#fff;border-radius:13px;box-shadow:0 8px 22px rgba(0,0,0,.55);margin-top:20px}
html body #logo-ephemeride{margin:-14px 0 0 -6px}
html body #menu_droite_ephemeride{padding:4px 0 18px}
html body .menu_droite[style*="text-align:center"]{padding:16px 0!important}
html body .menu_droiteTV1{overflow:hidden;border-radius:13px 13px 0 0;line-height:0;box-shadow:0 -2px 18px rgba(0,0,0,.35)}
html body .menu_droiteTV1 img{display:block}
html body .menu_droiteTV{border-radius:0 0 13px 13px;margin-top:20px;scrollbar-width:thin;scrollbar-color:#2b2b2b #f1f1f1}
html body .menu_droiteTV::-webkit-scrollbar{width:10px}
html body .menu_droiteTV::-webkit-scrollbar-track{background:#f1f1f1;border-radius:0 0 13px 0}
html body .menu_droiteTV::-webkit-scrollbar-thumb{background:#2b2b2b;border-radius:5px;border:2px solid #f1f1f1}

/* Petits boutons */
html body .En_Haut{filter:drop-shadow(0 3px 6px rgba(0,0,0,.5))}
html body #barre-1 .progression{background:linear-gradient(90deg,#ff9933,#c96a12)}
