/*
 * LeCatho Native 5.5.12.37 — rétro-complète : modules latéraux, compte et espace membre.
 *
 * Buts :
 *  1. Typographie STRICTEMENT identique pour « Les articles les plus lus » et
 *     toutes les cartes latérales/widgets, quel que soit le contexte (accueil,
 *     article, archive, page, ressources). La feuille de 2000 d'origine ne
 *     styrait que l'accueil (fond jaune 12 px) : elle est arbitrée ici.
 *  2. Menu déroulant du compte (COMPTE ▾) habillé années 2000 : carte crème
 *     à relief, ruban vert brillant, séparateurs pointillés, carré, ombre décalée.
 *  3. Espace membre (profil, réglages, commentaires, 2FA) habillé années 2000 :
 *     panneaux crème en relief, champs en creux, boutons brillants compacts,
 *     onglets pressés — plus de gros boutons modernes arrondis.
 *
 * Aucune modernité retirée : responsive, sticky, reduced-motion et
 * accessibilité restent intacts. Chargée EN DERNIER (après v36).
 */

:root{
  --lc37-line:#b6cdbb;
  --lc37-ink:#132b1f;
  --lc37-muted:#5c6e63;
  --lc37-link:#0033cc;
  --lc37-visited:#551a8b;
  --lc37-panel:linear-gradient(#fffdf4,#fff6dd);
  --lc37-panel-pop:linear-gradient(#fffef0,#fff8d9);
}

/* ------------------------------------------------------------------
   1. Cartes latérales et widgets : une seule typographie partout
   ------------------------------------------------------------------ */

/* Contexte canonique : toutes les colonnes latérales ET les zones de widgets.
   « html body:not(.wp-admin) » donne priorité sur les feuilles antérieures
   (y compris retro-2000.css qui ne couvrait que l'accueil). */
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-v208-sidebar,.lca-widget,.lca-article-widget) .lca-v208-popular{
  background:var(--lc37-panel-pop)!important;
}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-v208-sidebar,.lca-widget,.lca-article-widget) .lca-v208-popular ol{
  margin:6px 10px 6px!important;padding:0 0 0 26px!important;
  list-style:decimal!important;display:block!important;
}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-v208-sidebar,.lca-widget,.lca-article-widget) .lca-v208-popular li{
  display:list-item!important;list-style:decimal outside!important;
  margin:0 0 9px!important;padding:0!important;border:0!important;
  font:12.5px/1.5 Tahoma,Verdana,Arial,sans-serif!important;
  color:var(--lc37-ink)!important;
}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-v208-sidebar,.lca-widget,.lca-article-widget) .lca-v208-popular li>b{display:none!important}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-v208-sidebar,.lca-widget,.lca-article-widget) .lca-v208-popular li a{
  display:inline!important;font:12.5px/1.5 Tahoma,Verdana,Arial,sans-serif!important;
  color:var(--lc37-link)!important;
}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-v208-sidebar,.lca-widget,.lca-article-widget) .lca-v208-popular li a:visited{color:var(--lc37-visited)!important}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-v208-sidebar,.lca-widget,.lca-article-widget) .lca-v208-popular li a:hover{color:#a11212!important;text-decoration:underline!important}

/* Tout le contenu texte des cartes et widgets : Tahoma 12,5 px, liens bleus,
   visités violets — comme en 2000, quel que soit le module ou le widget. */
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-widget,.lca-article-widget) .lca-v208-side-card :is(p,li){
  font:12.5px/1.5 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-ink)!important;
}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-widget,.lca-article-widget) .lca-v208-side-card a{
  color:var(--lc37-link)!important;
}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-widget,.lca-article-widget) .lca-v208-side-card a:visited{color:var(--lc37-visited)!important}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-widget,.lca-article-widget) .lca-v208-side-card a:hover{color:#a11212!important}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-widget,.lca-article-widget) .lca-v208-side-card small,
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-widget,.lca-article-widget) .lca-v208-side-card .lc-native-side-list a small{
  font:10.5px/1.35 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-muted)!important;
}
html body:not(.wp-admin) :is(.lc2k-aside,.lca-article-sidebar,.lca-v208-archive-sidebar,.lc-resource-sidebar,.lc-route-sidebar,.lca-widget,.lca-article-widget) .lca-v208-side-card .lc-native-side-list a strong{
  font:700 12px/1.35 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-ink)!important;
}

/* ------------------------------------------------------------------
   2. Menu déroulant du compte : habillage années 2000
   ------------------------------------------------------------------ */

html body:not(.wp-admin) .lca-account-hover-menu-v51{
  border:2px outset var(--lc37-line)!important;border-top:2px outset var(--lc37-line)!important;
  border-radius:0!important;background:var(--lc37-panel)!important;
  box-shadow:3px 3px 0 rgba(23,62,42,.28)!important;color:var(--lc37-ink)!important;
}
html body:not(.wp-admin) .lca-account-v51-user{
  background:var(--lc2k-gloss)!important;border-bottom:2px solid #153e2a!important;
  padding:10px 12px!important;gap:10px!important;
}
html body:not(.wp-admin) .lca-account-v51-user img{
  width:40px;height:40px;border-radius:0!important;
  border:2px outset #cbded1!important;box-shadow:none!important;
}
html body:not(.wp-admin) .lca-account-v51-user strong{
  font:800 13px/1.2 Tahoma,Verdana,Arial,sans-serif!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body:not(.wp-admin) .lca-account-v51-user small{
  font:10px/1.25 Tahoma,Verdana,Arial,sans-serif!important;color:#d8e6dc!important;margin-top:2px!important;
}
html body:not(.wp-admin) .lca-account-v51-links{
  display:block!important;background:transparent!important;padding:0!important;gap:0!important;
}
html body:not(.wp-admin) .lca-account-v51-links a{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-height:0!important;padding:8px 11px!important;border:0!important;
  border-bottom:1px dotted #a9c0ae!important;border-radius:0!important;background:transparent!important;
}
html body:not(.wp-admin) .lca-account-v51-links a strong{
  font:700 12px/1.25 Tahoma,Verdana,Arial,sans-serif!important;color:#173e2a!important;
}
html body:not(.wp-admin) .lca-account-v51-links a small{
  font:10px/1.3 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-muted)!important;margin-top:2px!important;
}
html body:not(.wp-admin) .lca-account-v51-links a>b{color:#1b4933!important;font-size:14px!important;font-weight:400!important}
html body:not(.wp-admin) .lca-account-v51-links a:hover{background:#e6efe7!important;border-color:#a9c0ae!important;border-bottom-style:dotted!important}
html body:not(.wp-admin) .lca-account-v51-links a:hover strong{text-decoration:underline!important}
html body:not(.wp-admin) .lca-account-v51-logout{
  background:transparent!important;border-top:2px outset #cbded1!important;
  color:#a11212!important;font:800 11px/1.2 Tahoma,Verdana,Arial,sans-serif!important;
  padding:9px 12px!important;
}
html body:not(.wp-admin) .lca-account-v51-logout:hover{color:#7d0d0d!important;text-decoration:underline!important}

/* ------------------------------------------------------------------
   3. Espace membre : profil, réglages, commentaires, 2FA
   ------------------------------------------------------------------ */

/* Boutons : brillants, compacts, en relief — fini les gros blocs arrondis. */
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-member-button,
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-v209-profile-hero>a,
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-v209-my-comments>header>a{
  min-height:0!important;padding:5px 13px!important;
  border:3px outset #c6d8ca!important;border-radius:7px!important;
  background:var(--lc2k-button)!important;color:#173e2a!important;
  font:800 11.5px/1.2 Tahoma,Verdana,Arial,sans-serif!important;
  text-shadow:1px 1px 0 #fff;box-shadow:none!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-member-button-primary{
  background:var(--lc2k-gloss)!important;border-color:#153e2a!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-shadow:1px 1px 0 #143622!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-member-button,.lca-v209-profile-hero>a,.lca-v209-my-comments>header>a):hover{
  filter:brightness(1.07);text-decoration:none!important;
}

/* Panneaux : crème à relief carré, en-têtes de cartes façon journal. */
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v209-profile-hero,.lca-v209-settings-hero,.lca-v209-my-comments,.lca-v209-settings-card,.lca-member-card,.lca-v209-account-cards>article,.lca-v209-account-cards>a,.lca-2fa-settings,.lca-security-sessions){
  background:#fffdf4!important;border:2px outset #cbded1!important;border-radius:0!important;
  box-shadow:none!important;color:var(--lc37-ink)!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v209-profile-hero,.lca-v209-settings-hero){border-top:2px outset #cbded1!important}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v209-settings-identity,.lca-v209-profile-person) img{
  border:3px outset #cbded1!important;border-radius:0!important;box-shadow:none!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v209-settings-identity,.lca-v209-profile-person) :is(h1,h2){
  font:700 21px/1.2 Georgia,"Times New Roman",serif!important;color:#173e2a!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v209-settings-identity,.lca-v209-profile-person) p{
  font:11px/1.4 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-muted)!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v209-settings-identity>div>span,.lca-v209-profile-person>div>span,.lca-v209-my-comments>header span,.lca-v193-card-head span){
  font:800 10px/1.2 Tahoma,Verdana,Arial,sans-serif!important;letter-spacing:.08em!important;
  text-transform:uppercase!important;color:#a11212!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-v193-card-head :is(h2){
  font:700 16px/1.25 Georgia,"Times New Roman",serif!important;color:#173e2a!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-v193-card-head p{
  font:11px/1.45 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-muted)!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-v209-account-cards>article,
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-v209-account-cards>a{
  min-height:0!important;padding:14px 16px!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-v209-account-cards b{
  font:700 20px/1.1 Georgia,"Times New Roman",serif!important;color:#173e2a!important;
}

/* Champs : en creux (inset), fond blanc, Tahoma — saisie d'époque. */
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea){
  background:#fff!important;border:2px inset var(--lc37-line)!important;border-radius:0!important;
  color:var(--lc37-ink)!important;font:12px/1.4 Tahoma,Verdana,Arial,sans-serif!important;
  padding:5px 7px!important;box-shadow:none!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) label{
  font:700 11px/1.4 Tahoma,Verdana,Arial,sans-serif!important;color:#173e2a!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-profile-newsletter-toggle strong{
  font:700 12px/1.3 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-ink)!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-profile-newsletter-toggle small{
  font:10.5px/1.4 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-muted)!important;
}

/* Badges 2FA, notices et onglets : carrés, relief, pas de couleurs néon. */
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-v209-settings-status>span{
  border:2px outset #cbded1!important;border-radius:0!important;background:#fffdf4!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) .lca-member-notice{
  background:#ffffd8!important;border:2px outset #d9c98f!important;border-radius:0!important;
  color:#4a3f10!important;font:12px/1.4 Tahoma,Verdana,Arial,sans-serif!important;box-shadow:none!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v186-account-nav a,.lca-v194-account-nav a){
  min-height:0!important;padding:10px 8px!important;border:0!important;
  border-right:1px solid #b6cdbb!important;border-radius:0!important;
  background:var(--lc2k-button)!important;color:#173e2a!important;
  font:800 10.5px/1.2 Tahoma,Verdana,Arial,sans-serif!important;text-shadow:1px 1px 0 #fff;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v186-account-nav a,.lca-v194-account-nav a):last-child{border-right:0!important}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v186-account-nav a,.lca-v194-account-nav a).is-active{
  background:var(--lc2k-gloss)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-shadow:1px 1px 0 #143622!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-v186-account-nav,.lca-v194-account-nav){
  border:2px outset #cbded1!important;border-radius:0!important;background:transparent!important;
}
html body:not(.wp-admin) :is(.lca-profile-page-full,.lca-v186-account-app,.lca-v194-account-app) :is(.lca-2fa-message,.lca-v209-comment-preview,.lca-v209-my-comment-head time){
  font:11.5px/1.45 Tahoma,Verdana,Arial,sans-serif!important;color:var(--lc37-muted)!important;
}
