/* ============================================================
   SECURITY PARAMETER
   ============================================================ */

img,
iframe,
video {
  max-width: 100%;
  height: auto;
}
* {
  box-sizing: border-box;
}


/* Couleur sépia pour le body */
:root {
  --banner-padding: 0 !important;
}

body {
    background-color: #ebe6dd !important; /* Couleur sépia */
}



/* === ESPERANZA — Lisibilité large type magazine === */

body {
  font-size: 20px;
  line-height: 1.8;
}

/* Contenu principal des articles */
.com-content-article,
.articleBody,
.item-page,
.blog-item,
.page-content {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* Paragraphes */
/*.com-content-article p,
.articleBody p,
.item-page p,
.blog-item p,
.page-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.45em;
}*/

/* Titres */
.com-content-article h1,
.item-page h1,
.page-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 0.6em;
}

.com-content-article h2,
.item-page h2,
.page-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-top: 1.6em;
  margin-bottom: 0.7em;
}

.com-content-article h3,
.item-page h3,
.page-content h3 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin-top: 1.4em;
}

/* Listes */
.com-content-article li,
.item-page li,
.page-content li {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0.5em;
}

/* Images centrées et respirantes */
.com-content-article img,
.item-page img,
.page-content img {
  max-width: 100%;
  height: auto;
  margin-top: 1.4em;
  margin-bottom: 1.4em;
}

/* ============================================================
   XXL
   ============================================================ */

@media (max-width: 1399.98px) {

    body{
        font-size:20px;
        line-height:1.75;
    }

    .com-content-article,
    .articleBody,
    .item-page,
    .blog-item,
    .page-content{
        max-width:1180px;
    }

}

/* ============================================================
   PORTABLES
   ============================================================ */

@media (max-width: 1199.98px) {

    body{
        font-size:19px;
        line-height:1.7;
    }

    .com-content-article h1,
    .item-page h1,
    .page-content h1{
        font-size:clamp(2.4rem,5vw,3.6rem);
    }

    .com-content-article h2,
    .item-page h2,
    .page-content h2{
        font-size:clamp(1.8rem,3vw,2.7rem);
    }

    .com-content-article h3,
    .item-page h3,
    .page-content h3{
        font-size:clamp(1.4rem,2.5vw,2rem);
    }

}

/* ============================================================
   TABLETTES
   ============================================================ */

@media (max-width: 991.98px) {

    body{
        font-size:18px;
    }

    .com-content-article,
    .articleBody,
    .item-page,
    .blog-item,
    .page-content{
        padding-left:20px;
        padding-right:20px;
    }

}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 575.98px) {

    body{
        font-size:17px;
        line-height:1.65;
    }

    .com-content-article h1,
    .item-page h1,
    .page-content h1{
        font-size:2rem;
    }

    .com-content-article h2,
    .item-page h2,
    .page-content h2{
        font-size:1.6rem;
    }

    .com-content-article h3,
    .item-page h3,
    .page-content h3{
        font-size:1.3rem;
    }

}

/* ============================================================
   POLICE MENU
   ============================================================ */

@media (max-width: 991.98px) {

    .container-nav .mod-menu > li > a,
    .container-nav .mod-menu .nav-link {
        font-size: 0.90rem;
    }

}

/* ============================================================
   HAMBURGER MENU
   ============================================================ */

/*@media (max-width: 765.98px) {
  .container-header .navbar-toggler {
    display: block !important;
    margin: 18px auto 0;
    border: 1px solid rgba(255,255,255,.65);
    color: #fff;
    background: transparent;
  }

  .container-header .navbar-collapse:not(.show) {
    display: none !important;
  }

  .container-header .navbar-collapse.show {
    display: block !important;
    margin-top: 18px;
  }

  .container-header .mod-menu {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}*/

/* ============================================================
   HEADER
   ============================================================ */

/* Centrer le logo dans le header */
.header .header-title .brand-logo {
  text-align: center;
}
@media (min-width: 1400px) {
  /* 1. Conteneur racine du contenu */
  .site-grid > .container,
  .site-content .container,
  .container-component
    max-width: 1800px !important;
    width: 100% !important;
  }

@media (min-width: 1400px) {
  /* 1. Conteneur racine du contenu */
  .site-grid > .container,
  .site-content .container,
  .container-component,
  .component,
  .item-page
    max-width: 1600px !important;
    width: 100% !important;
  }

  /* ==============================
   HEADER – BLEU NUIT NUANCÉ
   ============================== */
.container-header {
    background: linear-gradient(
        180deg,
        #1a2a4a 0%,    /* Bleu nuit clair */
        #14203a 50%,   /* Bleu nuit plus clair */
        #0e1830 100%   /* Bleu nuit encore plus clair */
    ) !important;
}
  
/* ==============================
   CENTRAGE GLOBAL HEADER
   ============================== */

/* Le header devient la référence */
.container-header {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center; /* clé du centrage */
}

/* ==============================
   LOGO
   ============================== */
.container-header .navbar-brand,
.container-header .site-logo {
    justify-self: center;
    margin: 0 auto;
    text-align: center;
}

/* ==============================
   SWITCHER DE LANGUE
   ============================== */
.container-header .mod-languages {
    justify-self: center;
    margin: 0 auto;
}

/* UL du sélecteur */
.container-header ul.mod-languages__list.lang-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Espacement drapeaux */
.container-header ul.mod-languages__list.lang-inline li {
    margin: 0 0.35rem;
}

/* ==============================
   MENU
   ============================== */
/* Centrer le menu principal */
/*.mod-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important; *//* Espace entre les items */
/*}*/

/* Centrer les items du menu */
.mod-menu .nav-item {
    text-align: center !important;
}

/* Si le menu est dans un conteneur */
.container-header .mod-menu {
    justify-content: center !important;
}

/* Option : si vous voulez que le menu prenne toute la largeur */
/*.container-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}*/

/* ============================================================
   RÉSEAUX SOCIAUX + SWITCH LANGUAGE
   ============================================================ */

.container-topbar {
    padding-top: 8px;
    padding-bottom: 2px;
}

  /* TOPBAR : réseaux + langues */
.topbar-inline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  transition: .25s;
}

.topbar-inline a:hover {
  color: #c4a06c;
  transform: translateY(-2px);
}

.topbar-inline img {
  display: block;
  width: 24px;
  height: auto;
  opacity: .45;
  border-radius: 3px;
  transition: .25s;
}

.topbar-inline a:hover img {
  opacity: 1;
  transform: scale(1.08);
}

.topbar-inline a.active img {
  opacity: 1;
  box-shadow: 0 0 8px rgba(196,160,108,.75);
  transform: scale(1.10);
}

.topbar-separator {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.35);
}

/* ============================================================
   RECHERCHE COMPACTE
   ============================================================ */

/* Cache le bouton natif */
.container-search button,
.container-search .btn {
    display: none !important;
}

/* Conteneur */
.container-search {
    display: flex;
    align-items: center;
}

  .container-search .mod-finder {
    position: relative;
    width: 220px;
    height: 42px;
    border-radius: 12px;
    overflow: hidden;
}

/* Champ */
.container-search .js-finder-search-query {
    width: 220px;
    height: 42px;
    padding-left: 48px !important;

    background: #23385d !important;
    color: #fff !important;

    border: 1px solid rgba(216,176,106,.60) !important;
    border-radius: 12px !important;

    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;

    transition: .25s ease;
}

.container-search .js-finder-search-query::placeholder {
    color: rgba(255,255,255,.75);
}

/* Loupe */
.container-search .mod-finder::before {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);

    color: #d8b06a;

    z-index: 10;
    pointer-events: none;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 575.98px){

/* Cache le bouton natif du module recherche */
.mod-finder button,
.mod-finder .btn {
  display: none !important;
}

/* Icône loupe propre */
.mod-finder {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
}

.mod-finder input[type="search"] {
  width: 46px;
  height: 46px;
  padding-left: 46px !important;
  border-radius: 8px;
  cursor: pointer;
}

.mod-finder:focus-within {
  width: 250px;
}

.mod-finder:focus-within input[type="search"] {
  width: 250px;
  cursor: text;
}

.mod-finder::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  z-index: 3;
  pointer-events: none;
}
  
/* Cache tous les boutons du module de recherche */
.container-header form button,
.container-header form .btn,
.container-header .mod-finder button,
.container-header .mod-finder .btn,
.container-header .finder button,
.container-header .finder .btn {
  display: none !important;
}

/* Conteneur recherche */
.container-header .mod-finder,
.container-header .finder {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
}

/* Champ fermé */
.container-header input[type="search"],
.container-header input[name="q"] {
  width: 46px !important;
  height: 46px;
  padding-left: 46px !important;
  border-radius: 8px;
  cursor: pointer;
}

/* Ouverture au clic */
.container-header .mod-finder:focus-within,
.container-header .finder:focus-within {
  width: 250px;
}

.container-header .mod-finder:focus-within input[type="search"],
.container-header .finder:focus-within input[type="search"],
.container-header .mod-finder:focus-within input[name="q"],
.container-header .finder:focus-within input[name="q"] {
  width: 250px !important;
  cursor: text;
}

/* Loupe CSS */
.container-header .mod-finder::before,
.container-header .finder::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  z-index: 5;
  pointer-events: none;
}

/* Conteneur */
.mod-finder,
.mod-finder form {
    border-radius: 10px !important;
    overflow: hidden;
}

/* Champ */
.mod-finder input[type="search"],
.mod-finder input[name="q"] {
    border-radius: 10px !important;
    border: none !important;
}

/* Si un bouton existe encore */
.mod-finder button,
.mod-finder .btn {
    border-radius: 0 10px 10px 0 !important;
}

/* Bouton recherche */
.mod-finder,
.mod-finder form,
.mod-finder input[type="search"] {
    background: #dbe6f4 !important;
   border: 1px solid rgba(216,176,106,.75) !important;
    border-radius: 12px !important;
    color: #16223d;
}

.mod-finder input::placeholder {
    color: #5b6d8d;
}

/* Icône */
.mod-finder::before {
    color: #2d436b !important;
}

/* Recherche - champ compact bleuté */
.container-search .mod-finder {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 12px;
}

.container-search .mod-finder:focus-within {
  width: 250px;
}

.container-search .js-finder-search-query {
  width: 46px !important;
  height: 46px;
  padding-left: 46px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(137,169,211,.75) !important;
  background: #2b3d63 !important;
  color: #ffffff !important;
  cursor: pointer;
}

.container-search .mod-finder:focus-within .js-finder-search-query {
  width: 250px !important;
  cursor: text;
}

.container-search .js-finder-search-query::placeholder {
  color: rgba(255,255,255,.75) !important;
}

/* Loupe */
.container-search .mod-finder::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #d7e5ff;
  z-index: 5;
  pointer-events: none;
}

.container-search .mod-finder::before {
    color: #d8b06a !important;   /* doré Esperanza */
}

.container-search .js-finder-search-query {
    padding-left: 54px !important;
}

/* sdfdsfdsfdssdgfdgfgg*/
  /* Recherche intégrée au menu */
.container-header .container-search {
  display: inline-flex;
  align-items: center;
  margin-left: 24px;
}

.container-header .mod-finder {
  position: relative;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 12px;
  transition: width .3s ease;
}

.container-header .mod-finder:focus-within {
  width: 230px;
}

.container-header .js-finder-search-query {
  width: 42px !important;
  height: 42px;
  padding-left: 42px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(216,176,106,.75) !important;
  background: #23385d !important;
  color: #fff !important;
  cursor: pointer;
}

.container-header .mod-finder:focus-within .js-finder-search-query {
  width: 230px !important;
  cursor: text;
}

.container-header .js-finder-search-query::placeholder {
  color: rgba(255,255,255,.75) !important;
}

.container-header .mod-finder::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #d8b06a;
  z-index: 5;
  pointer-events: none;
}

  .container-search .awesomplete{
    width:100%;
    height:100%;
    background:#23385d !important;
    border-radius:12px;
    overflow:hidden;
}
  

}
 
/* ============================================================
   BANNER – SEPARATION
   ============================================================ */

/* TEST + séparation banner (force l'affichage) */
/*.site-grid .container-banner.full-width { 
  filter:
    drop-shadow(0 -3px 0 rgba(8,16,36,0.85))
    drop-shadow(0  3px 0 rgba(8,16,36,0.65)) !important;
  position: relative;
  z-index: 10;
}*/
/* === BANNIERE FULL-WIDTH AVEC FOND SOMBRE COUVRANT TOUT, y compris les marges === */

/* On neutralise tout conteneur parent indésirable */
.banner,
.mod-custom.banner-full-dark-module,
.mod-custom.banner-full-dark-module > div {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Élément racine full-width */
.banner-full-dark {
  /* Fond sombre RÉEL sur toute la largeur */
 background: linear-gradient(135deg, #000103, #050710);
  
  /* Largeur écran complète */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  /* ✅ ICI : le secret — le padding crée l'espace VISIBLE rempli de fond */
  padding: 15px 0;
  
  /* Centrage robuste */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Empêche tout débordement ou clipping */
  overflow: hidden;
  
  /* S'assure que le fond couvre aussi le padding */
  background-clip: padding-box;
  box-sizing: border-box;
}

/* Lien et image */
.banner-full-dark a {
  display: block;
  outline: none;
  max-width: 1680px; /* ou votre largeur max souhaitée */
  width: 100%;
  padding: 0;
  margin: 0;
}

.banner-full-dark img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* Smartphones */
@media (max-width: 575.98px) {
  .banner,
  .container-banner,
  .container-banner.full-width {
    display: none !important;
  }
}
  
  /* ==============================
CONTAINER-COMPONENT
   ============================== */

.container-component {
    margin-top : 10px;
    margin-bottom : 10px;
    
    background: rgba(255,255,255,0.42);
    backdrop-filter: blur(4px);

    border: 1px solid rgba(210,170,100,0.22);
    border-radius: 12px;

    padding: 20px;
    border-left: 4px solid #d0aa64;
    border-right: 1px solid #d0aa64;
    border-top: 1px solid #d0aa64;
    border-bottom : 1px solid #d0aa64;
}

@media (max-width:575.98px){

  .container-component,
  .com-content-category-blog,
  .com-content-article,
  .item-page,
  .blog-item {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .com-content-category-blog .blog-item {
    padding: 16px !important;
    margin: 18px 0 !important;
  }

  .com-content-category-blog {
    max-width: 100% !important;
  }

    margin-right : 10px;
    margin-left : 10px;

}

/* ==============================
TOP-A – SEPARATION
   ============================== */
.bottom-a {
  /*width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);*/

  background: rgba(14, 9, 22, 0.99); /* violet nocturne profond */
  padding: 0.50rem 0; /* moins de vide vertical */
  border-radius: 12px;
    border: 2px solid rgba(55, 40, 75, 0.95);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4) inset;
}
/* Texte blanc et majuscules dans bottom-a */
.bottom-a,
.bottom-a * {
  color: #ffffff;
  text-transform: uppercase;
}
/* Écrase les bordures autour de bottom-a */
.bottom-a,
.bottom-a > .container,
.bottom-a > .grid-child,
.bottom-a .container,
.bottom-a .grid-child {
  border-top: none !important;
  border-bottom: none !important;
}

/* ==============================
TOP B
   ============================== */
.module--bottom-b,
.module--bottom-b > .card,
.module--bottom-b .card,
.module--bottom-b > .moduletable,
.moduletable.module--bottom-b,
.moduletable.module--bottom-b > .card,
.moduletable.module--bottom-b .card {
  background: /*rgba(0, 0, 0, 0.60)*/ rgba(240, 248, 255, 0.50) !important;
  border-radius: 12px;
    border: 2px solid rgba(55, 40, 75, 0.95);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4) inset;
}
.bottom-b .book-cover {
  width: 100%;
  height: auto;
  display: block;
}

/* TOP-A : garder les 3 modules/livres sur tablette */
@media (min-width: 768px) {
  .container-top-a {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    align-items: start;
  }

  .container-top-a .module--bottom-b {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Mobile : 1 livre par ligne */
@media (max-width: 767px) {
  .container-top-a {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

@media (max-width: 767.98px) {
  .container-top-a {
    display: none !important;
  }
}
  
   /*==============================
  BREADCRUMBS — ESPERANZA
==============================*/

.breadcrumb,
.mod-breadcrumbs,
.breadcrumbs {
  background: rgba(255,255,255,0.28) !important;
  border: 1px solid rgba(210,170,100,0.18);
  border: 1px solid #d0aa64;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  margin-bottom: 2.2rem;
  color: #3a342d;
  font-size: 0.95rem;
  box-shadow: none;
}

.breadcrumb a,
.mod-breadcrumbs a,
.breadcrumbs a {
  color: #7b5a27;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover,
.mod-breadcrumbs a:hover,
.breadcrumbs a:hover {
  color: #1d2740;
  text-decoration: none;
}

.breadcrumb-item.active,
.mod-breadcrumbs__item.active {
  color: #2b2f36;
  font-weight: 500;
}

/* Retire l'effet gros bandeau */
.breadcrumb li,
.mod-breadcrumbs li {
  line-height: 1.3;
}


/* TEST — élargir le contenu article dans Joomla */
.main {
  max-width: 1320px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ==============================
 BOTTOM-A – SEPARATION
   ============================== */
.bottom-a {
  /*width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);*/

  background: rgba(14, 9, 22, 0.99); /* violet nocturne profond */
  padding: 0.50rem 0; /* moins de vide vertical */
  border-radius: 12px;
    border: 2px solid rgba(55, 40, 75, 0.95);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4) inset;
}
/* Texte blanc et majuscules dans bottom-a */
.bottom-a,
.bottom-a * {
  color: #ffffff;
  text-transform: uppercase;
}
/* Écrase les bordures autour de bottom-a */
.bottom-a,
.bottom-a > .container,
.bottom-a > .grid-child,
.bottom-a .container,
.bottom-a .grid-child {
  border-top: none !important;
  border-bottom: none !important;
}

/* ==============================
BOTTOM B
   ============================== */
.module--bottom-b,
.module--bottom-b > .card,
.module--bottom-b .card,
.module--bottom-b > .moduletable,
.moduletable.module--bottom-b,
.moduletable.module--bottom-b > .card,
.moduletable.module--bottom-b .card {
  background: /*rgba(0, 0, 0, 0.60)*/ rgba(240, 248, 255, 0.50) !important;
  border-radius: 12px;
    border: 2px solid rgba(55, 40, 75, 0.95);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4) inset;
}
.bottom-b .book-cover {
  width: 100%;
  height: auto;
  display: block;
}

  /* ==============================
   ACYMAILING
   ============================== */

/* Newsletter AcyMailing - rendu propre dans article */
.acym_module {
  max-width: 560px;
  margin: 35px 0;
  padding: 28px;
  border: 1px solid rgba(191, 165, 106, 0.75);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.32);
}

.acym_module .acym_form {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
}

/* Force le tableau AcyMailing en affichage vertical */
.acym_module .acym_form tr,
.acym_module .acym_form td {
  display: block;
  width: 100% !important;
  padding: 0 !important;
}

/* Libellés */
.acym_module .acym_form td:first-child {
  margin: 0 0 6px;
  font-weight: 700;
  color: #23272b;
}

/* Espacement entre les champs */
.acym_module .acym_form tr {
  margin-bottom: 18px;
}

/* Champs texte */
.acym_module .acym_form input[type="text"],
.acym_module .acym_form input[type="email"] {
  width: 100%;
  max-width: 460px;
  padding: 12px 14px;
  border: 1px solid #bfa56a;
  border-radius: 7px;
  background: #fff;
  font-size: 16px;
}

/* RGPD */
.acym_module .acymterms {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 4px 0 20px;
  font-size: 15px;
}

/* Bouton */
.acym_module input[type="submit"],
.acym_module button {
  background: #912b3b;
  color: #fff;
  border: 0;
  border-radius: 7px;
  padding: 12px 24px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.acym_module input[type="submit"]:hover,
.acym_module button:hover {
  background: #954b56;
}

  /*==============================
  TOP-A-B - AGENDA - EVENTS
==============================*/

.module--agenda,
.module--event,
.module--event > .card,
.module--event .card,
.module--event > .moduletable,
.moduletable.module--event,
.moduletable.module--event > .card,
.moduletable.module--event .card {
  background: #1d2740 !important;
  border: 1px solid rgba(210, 170, 100, 0.55);
  border-radius: 12px;
  color: #f3eee6;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45) inset,
    0 10px 24px rgba(0, 0, 0, 0.18);
}

/* Padding */
.module--agenda,
.module--event,
.moduletable.module--event,
.module--event > .card,
.moduletable.module--event > .card {
  padding: 1.25rem 1.45rem;
}

/* Interligne */
.module--agenda,
.module--event,
.moduletable.module--event {
  line-height: 1.5;
}

/* Titres des événements */
.module--agenda h3,
.module--event h3,
.moduletable.module--event h3 {
  font-size: 1.28rem;
  line-height: 1.25;
  margin: 0.35rem 0 0.75rem;
  color: #d0aa64;
  font-weight: 700;
}

/* Paragraphes */
.module--agenda p,
.module--event p,
.moduletable.module--event p {
  margin: 0 0 0.7rem;
  color: #f3eee6;
}

/* Date */
.module--agenda .event-date,
.module--event .event-date,
.moduletable.module--event .event-date {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.02rem;
}

/* Texte secondaire */
.module--agenda .event-lang,
.module--event .event-lang,
.moduletable.module--event .event-lang {
  color: #d8d2c8;
  font-size: 0.95em;
  line-height: 1.45;
}

/* Liens */
.module--agenda a,
.module--event a,
.moduletable.module--event a {
  color: #d0aa64;
  text-decoration: none;
  font-weight: 600;
}

.module--agenda a:hover,
.module--event a:hover,
.moduletable.module--event a:hover {
  color: #f0c879;
  text-decoration: none;
  opacity: 0.92;
}

/* Boutons édition Joomla : ne pas les casser */
.module--agenda .btn,
.module--event .btn,
.moduletable.module--event .btn {
  color: inherit;
}

/* Mobile */
@media (max-width: 768px) {
  .module--agenda,
  .module--event,
  .moduletable.module--event,
  .module--event > .card,
  .moduletable.module--event > .card {
    padding: 1rem;
  }

  .module--agenda h3,
  .module--event h3,
  .moduletable.module--event h3 {
    font-size: 1.15rem;
  }
}

  .module--agenda {
  padding: 1.6rem 1.45rem !important;
}

.module--agenda h1 {
  margin: 0 !important;
}

.module--event,
.moduletable.module--event {
  padding: 1.6rem 1.7rem !important;
}

/* ============================================================
FOOTER – SEPARATION
   ============================================================ */

/* Footer Esperanza : centrage global */
.esperanza-footer {
  text-align: center;
}

/* Liens légaux */
.esperanza-footer-links {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.esperanza-footer-links a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0.35rem;
}

.esperanza-footer-links a:hover {
  opacity: 0.8;
}

/* Séparateur discret */
.esperanza-footer .footer-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

/* Copyright */
.esperanza-copyright {
  font-size: 0.7rem;
  opacity: 0.75;
  letter-spacing: 0.08em;
}

/* Fond très sombre du footer */
footer,
.site-footer,
.footer,
.footer .container,
.footer .grid-child {
  background: rgba(18, 12, 28, 0.98);
}

/* Fond très sombre du footer */
footer,
.site-footer,
.footer,
.footer .container,
.footer .grid-child {
  background: rgba(18, 12, 28, 0.98);
}

/* Centrage réel */
.esperanza-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Liens */
.esperanza-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

/* Copyright */
.esperanza-copyright {
  font-size: 0.7rem;
  opacity: 0.75;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Neutralise marges parasites */
.footer * {
  margin-left: auto;
  margin-right: auto;
}
/* Supprimer l’espace entre bottom-a et footer */
.bottom-a {
  margin-bottom: 0 !important;
  padding-bottom: 1.25rem; /* ce que TU contrôles */
}

footer,
.site-footer,
.footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
footer,
.site-footer,
.footer {
  border-top: 2px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

/* ============================================================
  PRINCIPAL RECIPIENT
============================================================*/

  /* ============================================================
   PAGE LIVRES — ESPERANZA — ACCUEIL
   ============================================================ */



.esperanza-livres {
  /*max-width: 1320px;*/
  margin: 0 auto;
  padding: 35px 24px 35px;
  text-align: center;
  color: #25282c;
}

/* Intro */
.esperanza-intro {
  margin-bottom: 32px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.esperanza-intro p {
  margin: 4px 0;
}

/* Signature */
.section-signature h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0.22em;
  color: #c4a06c;
  font-weight: 800;
}
/* Question centrale */
.esperanza-question {
  margin: 34px auto 32px;
 /* max-width: 760px;*/
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.55;
}

.esperanza-question p {
  margin: 8px 0;
}

.question-majeure {
  margin-top: 20px !important;
}

/* Trinité Tamara / Dan / Ewa */
.esperanza-trinite {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  /*max-width: 760px;*/
  margin: 38px auto 28px;
}

.esperanza-trinite div {
  padding: 10px 8px;
}

.esperanza-trinite span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #25282c;
}

.esperanza-trinite strong {
  display: block;
  margin-top: 5px;
  font-size: 1.85rem;
  color: #a65422;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Séparation */
.esperanza-separateur {
  width: 68%;
  height: 1px;
  margin: 28px auto;
  background: linear-gradient(
    to right,
    transparent,
    rgba(166, 84, 34, 0.55),
    transparent
  );
}

/* Manifeste */
.esperanza-manifeste {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
}

.esperanza-manifeste p {
  margin: 5px 0;
}

.bloc-respiration {
  margin-top: 28px !important;
}

.esperanza-manifeste h2 {
  margin: 44px 0 30px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 900;
  letter-spacing: 0.03em;
}

/* CTA */
.esperanza-cta {
  margin: 22px 0 42px;
}

.esperanza-cta a {
  color: #28618a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Liens bas de page */
.esperanza-liens {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 20px;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.6;
}

.esperanza-liens p {
  margin: 4px 0;
}

.esperanza-liens a {
  color: #28618a;
  font-weight: 700;
}

/* Mobile */
@media (max-width: 700px) {
  .esperanza-livres {
    padding: 28px 16px 48px;
  }

  .section-signature h1 {
    letter-spacing: 0.12em;
  }

  .esperanza-trinite {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .esperanza-liens {
    text-align: center;
  }
}

/* ============================================================
   PAGE TOUS LES LIVRES
   ============================================================ */

.livres-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 40px;
  text-align: center;
}

/* Bloc titre */
.livres-hero,
.cycle-box,
.book-item {
  background: rgba(255, 252, 245, 0.92);
  border: 1px solid rgba(196, 160, 108, 0.45);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(20, 12, 5, 0.10);
}

.livres-hero {
  padding: 34px 22px 30px;
  margin-bottom: 26px;
}

.livres-kicker {
  margin: 0 0 8px;
  color: #8c5a24;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.livres-hero h1 {
  margin: 0;
  color: #5a483a;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.livres-intro {
  margin: 16px auto 0;
  max-width: 620px;
  color: #4c463f;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
}

/* Cycle */
.cycle-box {
  padding: 34px 24px;
  margin-bottom: 34px;
}

.cycle-title {
  margin: 0 0 26px;
  color: #4b4037;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
}

.cycle-cover {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
}

/* Grille livres */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.book-item {
  padding: 20px 16px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.book-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(20, 12, 5, 0.16);
}

.book-date {
  margin: 0 0 16px;
  color: #3b3029;
  font-size: 0.9rem;
  font-weight: 800;
}

.book-cover {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

/* Tablette */
@media (max-width: 991.98px) {
  .books-grid {
    gap: 20px;
  }

  .book-item {
    padding: 16px 12px 20px;
  }
}

/* Smartphone */
@media (max-width: 575.98px) {
  .livres-container {
    padding: 18px 10px 30px;
  }

  .livres-hero {
    padding: 26px 16px 24px;
  }

  .cycle-box {
    padding: 22px 12px;
    margin-bottom: 24px;
  }

  .books-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .book-item {
    max-width: 310px;
    margin: 0 auto;
  }

  .book-cover {
    max-width: 240px;
  }
}

@media (max-width: 767.98px) {
  .container-top-a {
    display: none !important;
  }
}

  @media (max-width: 575.98px) {

    .cycle-main {
        display: none;
    }

}

  /* ==============================
     CYCLE ARTICLE
   ============================== */

  .urbs-cycle-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 70px);
  background: #f7f4ee;
  border: 1px solid rgba(196, 160, 108, 0.75);
  color: #292d33;
}

.cycle-hero {
  text-align: center;
  margin-bottom: clamp(45px, 7vw, 85px);
}

.cycle-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.5rem;
  font-weight: 800;
  color: #9a6a2f;
}

.cycle-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: #c4a06c;
}

.cycle-subtitle {
  max-width: 720px;
  margin: 24px auto 42px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: #5b5650;
}

.cycle-main-image {
  display: block;
  width: min(100%, 920px);
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.cycle-intro,
.cycle-final {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.85;
}

.cycle-intro p,
.cycle-final p {
  margin: 0 0 22px;
}

.cycle-intro .lead {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.5;
  font-weight: 700;
}

.cycle-statement {
  margin: 42px 0 !important;
  padding: 28px;
  text-align: center;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.6;
  border-top: 1px solid rgba(196, 160, 108, 0.55);
  border-bottom: 1px solid rgba(196, 160, 108, 0.55);
}

.cycle-axis {
  margin: clamp(55px, 8vw, 95px) auto;
  text-align: center;
}

.cycle-axis h2 {
  margin: 0 0 36px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  color: #292d33;
}

.cycle-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cycle-card {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(70, 54, 91, 0.32);
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.cycle-card span {
  display: block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #8a1f2d;
}

.cycle-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.cycle-card strong {
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  color: #a95624;
}

.cycle-card p {
  margin: 0 0 22px;
  line-height: 1.65;
}

.cycle-card em {
  display: block;
  color: #5b5650;
  line-height: 1.5;
}

.cycle-genre {
  margin-top: 38px !important;
  text-align: center;
  font-weight: 800;
  color: #a95624;
}

.cycle-motto {
  margin-top: 34px !important;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  color: #292d33;
}

.cycle-card em a {
    display: inline-block;
    margin-top: 6px;
    padding: 10px 22px;

    background: #efe8dc;           /* ivoire légèrement plus foncé */
    border: 1px solid #d8c5a5;

    color: #7f1824;
    text-decoration: none;
    font-style: italic;
    font-weight: 700;
    line-height: 1.45;

    border-radius: 999px;
    transition: .25s ease;
}

.cycle-card em a:hover {
    background: #c4a06c;
    border-color: #c4a06c;
    color: white;
}



  

@media (max-width: 900px) {
  .cycle-cards {
    grid-template-columns: 1fr;
  }

  .urbs-cycle-page {
    padding: 28px 20px;
  }
}

/* ==============================
BOOK ARTICLE
   ============================== */

.section-book {
  /*background: rgba(18, 12, 28, 0.65);*/
 /* background: linear-gradient(
180deg,
#22293f 0%,
#2d313d 100%*/
   /* background: rgba(29, 39, 64, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);*/
background: #d9d9df;/*rgba(248,244,236,.90);
    border: 1px solid rgba(210,170,100,0.35);
    border-radius: 14px;
    color: #f2ede4;*/
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 1.5rem;
  border-radius: 14px;
  text-align: center;
  /*max-width: 960px;*/
  margin: 2.5rem auto;
}



.book-detail {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Colonne gauche : bloc cohérent (image + meta + boutons) */
/*.book-left {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}*/
.book-left{
    flex:0 0 360px;
}
  
/* Couverture */
/*.book-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}*/
.book-cover img{
    width: 360px;
    max-width:100%;
    height:auto;
}

  

/* Meta sous l’image (1 colonne) */
.book-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem;
  font-size: 0.95rem;
  color:#000 !important;
}

/* Boutons sous la meta */
.book-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* Boutons */
.btn {
  display: block;
  text-align: center;
  padding: .65rem .9rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.15);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.btn-primary {
  border-color: rgba(194,164,109,.6);
}

/* Colonne droite */
.book-right {
  flex: 1;
  min-width: 0;
}

.book-title {
  /*font-size: 1.8rem;
  margin: .2rem 0 .3rem;
  text-transform: uppercase;
  letter-spacing: .06em;*/
  color: #c2a46d; /* sépia chaud */
}

  .book-title {
    line-height: 1.15;
}

.book-title span {
    display:block;
    margin-top: .15em;
}


  
.book-subtitle {
  /*font-weight: 600;
  opacity: .85;
  margin-bottom: 1rem;*/
  color: #000000;
}

.book-description p {
  margin: 0 0 .85rem 0;
  line-height: 1.55;
  color: #000000;
}

.book-cycle {
color: #c2a46d; /* sépia chaud */
}


  .book-left {
  flex: 0 0 auto;
}
  
.book-cover img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  border-radius: 0px;
}

/* Responsive : on empile, mais la colonne gauche reste un bloc cohérent */
@media (max-width: 860px) {
  .book-detail {
    flex-direction: column;
  }

  .book-left {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  
}

  /* ==============================
 AGENDA
   ============================== */

 /*.event-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 28px;
  margin: 35px 0;
  border: 1px solid rgba(191,165,106,.7);
  border-radius: 12px;
  background: rgba(255,255,255,.35);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}*/

  .event-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 0;
  margin: 35px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.event-date {
  text-align: center;
  color: #7c1420;
  text-transform: uppercase;
  border-right: 1px solid rgba(191,165,106,.7);
  padding-right: 25px;
}

.event-date span,
.event-date em {
  display: block;
  font-weight: 700;
  font-style: normal;
}

.event-date strong {
  display: block;
  font-size: 4rem;
  line-height: 1;
  margin: 8px 0;
}

.event-body h2 {
  margin: 0;
  font-size: 2rem;
}

.event-type {
  font-style: italic;
  margin: 8px 0 22px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 25px 0;
}

.event-grid div {
  border-left: 1px solid rgba(191,165,106,.6);
  padding-left: 12px;
  font-size: .9rem;
}

.event-grid b {
  color: #7c1420;
  text-transform: uppercase;
  font-size: .8rem;
}

@media (max-width: 900px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card {
  padding: 0 !important;
  margin: 18px 0 !important;
  gap: 18px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

  .event-date {
    border-right: 0;
    border-bottom: 1px solid rgba(191,165,106,.7);
    padding: 0 0 18px;
  }

  .event-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

.event-date {
  text-align: center;
  color: #8b1220;
  text-transform: uppercase;
  padding: 18px 14px;
  background: rgba(145, 43, 59, 0.08);
  border: 1px solid rgba(145, 43, 59, 0.25);
  border-radius: 10px;
  align-self: start;
}

.event-date span,
.event-date em {
  display: block;
  font-weight: 800;
  font-style: normal;
}

.event-date strong,
.event-number {
  display: block;
  font-size: 4.2rem;
  line-height: 0.95;
  margin: 8px 0;
  color: #912b3b;
}

.event-day,
.event-month,
.event-year {
  letter-spacing: 0.04em;
}

  .event-more {
  margin-top: 22px;
  text-align: right;
}

.event-more a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(145, 43, 59, 0.35);
  border-radius: 7px;
  background: rgba(145, 43, 59, 0.06);
  color: #912b3b;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.event-more a:hover {
  background: #912b3b;
  color: #fff;
}

@media (max-width: 900px) {

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    border-right: 0;
    border-bottom: 1px solid rgba(191,165,106,.7);
    padding: 0 0 18px;
  }

  /* Le nombre devient un peu plus petit */
  .event-date strong,
  .event-number {
    font-size: 3.2rem;
  }

  .event-grid {
    grid-template-columns: 1fr 1fr;
  }

}

  /* ==============================
   AGENDA — PETITS MOBILES
   ============================== */

@media (max-width: 575.98px) {

  .event-card {
    padding: 14px !important;
    margin: 18px 0 !important;
    gap: 18px !important;
  }

  .event-date {
    padding: 14px 10px !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 220px !important;
  }

  .event-date strong,
  .event-number {
    font-size: 2.7rem !important;
  }

  .event-date span,
  .event-date em {
    font-size: 0.85rem !important;
  }

  .event-body h2 {
    font-size: 1.65rem !important;
  }

  .event-type {
    font-size: 0.95rem !important;
    margin-bottom: 16px !important;
  }

  .event-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin: 18px 0 !important;
  }

  .event-grid div {
    border-left: none !important;
    border-top: 1px solid rgba(191,165,106,.45);
    padding: 10px 0 0 !important;
    font-size: 0.95rem !important;
  }

  .event-more {
    text-align: center !important;
  }

  .event-more a {
    width: 100%;
    text-align: center;
  }
}

/* ==============================
 BLOG
   ============================== */

  /* BLOG - cartes d'articles */
.com-content-category-blog .blog-item {
  padding: 26px;
  margin: 34px 0;
  border: 1px solid rgba(191, 165, 106, 0.65);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

/* Image intro */
.com-content-category-blog .blog-item img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(191, 165, 106, 0.45);
}

/* Légende / petit texte sous image */
.com-content-category-blog .blog-item figcaption,
.com-content-category-blog .blog-item p:first-of-type {
  font-size: 0.95rem;
  color: #5d554b;
  font-style: italic;
}

/* Titre article */
.com-content-category-blog .blog-item h2,
.com-content-category-blog .blog-item .item-title {
  margin-top: 18px;
  margin-bottom: 12px;
  color: #23272b;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

/* Texte intro */
.com-content-category-blog .blog-item p {
  line-height: 1.7;
  margin-bottom: 1em;
}

/* Bouton lire la suite */
.com-content-category-blog .readmore a,
.com-content-category-blog .btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  background: #912b3b;
  color: #fff !important;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.com-content-category-blog .readmore a:hover,
.com-content-category-blog .btn:hover {
  background: #954b56;
}

  .readmore {
    margin-top: 20px;
}

/* Icônes de partage : plus discret */
.com-content-category-blog .sharing,
.com-content-category-blog .icons {
  margin-top: 18px;
  opacity: 0.85;
}

/* Bouton nouvel article */
.com-content-category-blog .btn-success,
.com-content-category-blog a[href*="task=article.add"] {
  display: block;
  text-align: center;
  margin-top: 30px;
  padding: 14px 22px;
  border-radius: 8px;
  background: #912b3b !important;
  border: none !important;
  color: #fff !important;
  font-weight: 800;
}

  .article-info dd.published {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 15px;
    background: rgba(145,43,59,.08);
    border: 1px solid rgba(145,43,59,.25);
    border-radius: 6px;
    color: #912b3b;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.icons,
.sharing {
    margin-top: 20px;
    margin-bottom: 20px;
}
.btn.btn-secondary {
    margin-top: 20px;
}

  /* ============================================================
   CONTACT
   ============================================================ */

/* Bouton ChronoForms */
#envoyer {
    background: #c4a06c !important;
    border: 1px solid #c4a06c !important;
    color: #1b1b1b !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 28px;
    transition: all .25s ease;
}

#envoyer:hover {
    background: #d6b27a !important;
    border-color: #d6b27a !important;
    color: #111 !important;
    transform: translateY(-2px);
}

/* Si ChronoForms force sa classe */
button.nui.button.colored.slate {
    background: #c4a06c !important;
    border-color: #c4a06c !important;
    color: #1b1b1b !important;
}

button.nui.button.colored.slate:hover {
    background: #d6b27a !important;
    border-color: #d6b27a !important;
}








  /* ============================================================
   SITEMAP
   ============================================================ */


  /* Sitemap ShuWeb - mise en forme */
.sitemap,
#sitemap,
.com-schuweb_sitemap {
  max-width: 1100px;
  margin: 40px auto;
  padding: 40px;
  background: rgba(245, 241, 232, 0.92);
  border: 1px solid rgba(180, 120, 40, 0.45);
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Titres */
.sitemap h2,
#sitemap h2,
.com-schuweb_sitemap h2,
.menutitle {
  margin: 30px 0 18px;
  padding-bottom: 10px;
  font-size: 2rem;
  color: #252525;
  border-bottom: 2px solid rgba(180, 120, 40, 0.45);
}

/* Listes */
.sitemap ul,
#sitemap ul,
.com-schuweb_sitemap ul,
ul.level_1,
ul.level_2,
ul.level_3 {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

ul.level_1 > li {
  margin: 10px 0;
}

ul.level_2 {
  margin-top: 10px;
  margin-left: 24px;
}

ul.level_3 {
  margin-top: 8px;
  margin-left: 24px;
}

/* Puces stylées */
ul.level_1 > li::before {
  content: "◆";
  color: #b57a2a;
  margin-right: 10px;
}

ul.level_2 > li::before {
  content: "◇";
  color: #8b5a20;
  margin-right: 10px;
}

ul.level_3 > li::before {
  content: "—";
  color: #8b5a20;
  margin-right: 10px;
}

/* Liens */
.sitemap a,
#sitemap a,
.com-schuweb_sitemap a,
ul.level_1 a,
ul.level_2 a,
ul.level_3 a {
  display: inline-block;
  padding: 6px 10px;
  color: #243b6b;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sitemap a:hover,
#sitemap a:hover,
.com-schuweb_sitemap a:hover,
ul.level_1 a:hover,
ul.level_2 a:hover,
ul.level_3 a:hover {
  color: #111;
  background: rgba(180, 120, 40, 0.14);
  transform: translateX(4px);
}

/* Mobile */
@media (max-width: 768px) {
  .sitemap,
  #sitemap,
  .com-schuweb_sitemap {
    margin: 20px 12px;
    padding: 24px 18px;
  }

  .menutitle {
    font-size: 1.6rem;
  }

  ul.level_2,
  ul.level_3 {
    margin-left: 14px;
  }

  .sitemap a,
  #sitemap a,
  .com-schuweb_sitemap a {
    font-size: 1rem;
  }
}
  /* ============================================================
   LINKS
   ============================================================ */

  .book-link {
    display: inline-block;
    margin-top: 12px;
    color: #7c1420;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

.book-link:hover {
    color: #c2a46d;
    transform: translateX(4px);
}

.sang-seche {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 150px;
  /* L'astuce : empiler des ronds flous et sombres pour faire des taches organiques */
  background-image: 
    radial-gradient(circle at 30% 60%, #2a0404 20px, transparent 30px),
    radial-gradient(circle at 60% 80%, #1a0000 40px, transparent 50px),
    radial-gradient(circle at 45% 40%, #3a0808 15px, transparent 25px),
    radial-gradient(circle at 70% 50%, #0d0000 25px, transparent 35px);
  filter: blur(1px) contrast(1.2); /* Donne l'aspect croûteux/séché */
  opacity: 0.85;
  pointer-events: none; /* Le sang est décoratif, il ne bloque pas le clic */
}


  
  