body {
  font-family: 'Lora', serif;
}

a {
  cursor: pointer;
}

H1 {
  font-size: 2rem;
  margin: 0;
}
.red-bg {
  background-color: #5f3a40;
  color:  #fff;
}

.red-border {
  border-top: 2px solid #3d161c;
  border-bottom: none;
  padding: 0;
}

.top-menu {
  text-align: center;
} 


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

.logo-zone {
    padding: 12px 0 14px;
}

.logo-zone .container {
    position: relative;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    text-align: center;
}

.logo img {
    width: auto;
    height: 150px;
    display: block;
    margin: 0 auto;
}

/*************************** MENU UTILISATEUR *********************************/

/* Position dans le header */
.user-menu {
    position: absolute;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Base */
.header-user-menu--luxury {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

/* Force couleur (corrige violet WP) */
.header-user-menu--luxury a,
.header-user-menu--luxury a:visited {
    color: #5e4740;
    text-decoration: none;
}

/* =========================
   GUEST (non connecté)
========================= */

.header-user-guest {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Connexion */
.header-user-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5e4740 !important;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.01em;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.header-user-login:hover,
.header-user-login:focus {
    color: #a27c4c !important;
    outline: none;
}

/* Séparateur fin */
.header-user-login::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 11px;
    margin-left: 8px;
    background: rgba(94, 71, 64, 0.18);
}

/* Inscription premium */
.header-user-register {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #9e7a4d !important;
    font-size: 13px;
    line-height: 1;
    padding: 4px 0 2px;
    transition: color 0.2s ease;
}

.header-user-register:hover,
.header-user-register:focus {
    color: #7f6238 !important;
    outline: none;
}

/* Soulignement doré subtil */
.header-user-register::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(191,155,95,0.15),
        rgba(191,155,95,0.8),
        rgba(191,155,95,0.15)
    );
}

/* =========================
   CONNECTÉ (dropdown)
========================= */

.header-user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* zone tampon invisible pour éviter la coupure du hover */
.header-user-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    min-width: 220px;
    height: 14px;
}

/* Trigger */
.header-user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5e4740 !important;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.01em;
    padding: 4px 0;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header-user-trigger:hover,
.header-user-trigger:focus {
    color: #a27c4c !important;
    outline: none;
}

/* Petite étoile */
.header-user-mark {
    font-size: 11px;
    color: #b7925c;
    transform: translateY(-1px);
    line-height: 1;
}

/* Caret */
.header-user-caret {
    font-size: 11px;
    color: #9e7a4d;
    transform: translateY(-1px);
    line-height: 1;
}

/* Dropdown */
.header-user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    padding: 10px 0;
    margin-top: 8px;

    background: rgba(255, 252, 248, 0.98);
    border: 1px solid rgba(183, 146, 92, 0.22);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(59, 32, 36, 0.10);

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;

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

/* Hover activation */
.header-user-dropdown:hover .header-user-dropdown-menu,
.header-user-dropdown:focus-within .header-user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Lien dropdown */
.header-user-dropdown-menu a {
    display: block;
    padding: 11px 16px;
    color: #5d4940 !important;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* hover SANS décalage */
.header-user-dropdown-menu a:hover,
.header-user-dropdown-menu a:focus {
    background: rgba(183, 146, 92, 0.08);
    color: #3d2528 !important;
    outline: none;
}



.mobile-nav-wrap {
    position: relative;
}

.mobile-header-actions {
    display: none;
}

.mobile-user-toggle-wrap {
    position: relative;
}

.mobile-user-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.mobile-user-btn:hover,
.mobile-user-btn:focus {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.55);
    color: #fff;
}

.mobile-user-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
    padding: 8px 0;
    display: none;
    z-index: 1200;
}

.mobile-user-panel.is-open {
    display: block;
}

.mobile-user-header {
    padding: 10px 16px;
    font-weight: 600;
    color: #3d161c;
    border-bottom: 1px solid #eee;
    margin-bottom: 4px;
}

.mobile-user-panel a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #3d161c;
    font-size: 15px;
}

.mobile-user-panel a:hover,
.mobile-user-panel a:focus {
    background: #f7f3f4;
    color: #3d161c;
}

@media (max-width: 992px) {
    .desktop-user-menu {
        display: none;
    }

    .navbar-brand img {
        max-height: 58px;
        width: auto;
    }

    .navbar-toggler {
        margin-left: auto;
        border-color: rgba(255,255,255,0.25);
    }

    .navbar-collapse {
        margin-top: 14px;
        background: #5f3a40;
        padding: 0px;
        border-top: 1px solid rgba(255,255,255,0.12);
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-item > a,
    .navbar-nav .nav-item .parent-link {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .mobile-account-menu {
        margin-top: 0px;
        /*background-color: #000;*/
    }

    .mobile-account-separator {
        height: 1px;
        background: rgba(255,255,255,0.18);
        margin: 10px 0 14px;
    }

    .mobile-account-title {
        color: #d8b06a;
        font-size: 0.95rem;
        font-weight: 600;
        padding: 0 0 8px;
    }

    .mobile-account-link {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 10px 0;
    }

    .mobile-account-link:hover,
    .mobile-account-link:focus {
        color: #d8b06a;
    }

    .mobile-account-link--highlight {
        font-weight: 600;
    }

    .dropdown-menu.megamenu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: 8px;
    }
}

.desktop-search {
    display: block;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.mobile-search {
    display: none;
}

@media (max-width: 992px) {
    .desktop-search {
        display: none;
    }
    
    .mobile-search {
        display: block;
    }
} 



/******************/

.ledifice-account-intro {
    margin-bottom: 30px;
    padding: 24px;
    background: #f8f5f2;
    border: 1px solid #c1a378;
}

.ledifice-account-intro h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.ledifice-account-status {
    margin: 0 0 10px;
    font-weight: 300;
}

.ledifice-account-status.is-active {
    color: #c1a378;
}

.ledifice-account-status.is-inactive {
    color: #8a3b3b;
}


.ledifice-account-resubscribe .button {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
}


/* =========================
   MENU WP éventuel
========================= */

/* Le menu principal doit être en flex */
.main-navigation .menu,
.primary-menu,
#menu-menu-principal {
    display: flex;
    align-items: center;
}

/* Pousse le bloc utilisateur tout à droite */
.menu-item-user {
    margin-left: auto;
    position: relative;
}

/* Style du lien */
.menu-item-user > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    line-height: 1;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Sous-menu */
.menu-item-user .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #fff;
    padding: 10px 0;
    margin: 8px 0 0;
    list-style: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    z-index: 999;
}

.menu-item-user:hover .sub-menu,
.menu-item-user:focus-within .sub-menu {
    display: block;
}

.menu-item-user .sub-menu li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-item-user .sub-menu li a:hover,
.menu-item-user .sub-menu li a:focus {
    background-color: rgba(183, 146, 92, 0.08);
    outline: none;
}

.user-icon {
    font-size: 16px;
    line-height: 1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .user-menu {
        right: 16px;
    }
}

@media (max-width: 767px) {
    .header-user-guest {
        gap: 8px;
    }

    .header-user-login,
    .header-user-register,
    .header-user-trigger {
        font-size: 12px;
    }

    .header-user-dropdown-menu {
        min-width: 190px;
    }

    .header-user-dropdown::after {
        min-width: 190px;
    }
}


.recherche-rapide-top{
    position: absolute;
    right: 0;
    top: 55px;
    max-width: 275px;
    z-index: 99;
}

.recherche-rapide-top input {
    padding-left: 15px;
}
.recherche-rapide-top .btn{ 
    background-color: #caac78;   
    border-color: #caac78;
}


.has-megamenu:hover .has-megamenu{
  display: block;
}

.navbar-brand {
  width: 100%;
  text-align: center;
  padding: 15px 0;
}

.navbar li a.parent-link {
  border-bottom: 1px solid #5f3a40;
}

/*.navbar li a.parent-link i {
    margin-left: 5px;
}
*/
.navbar a:visited {
    color: #fff;
}

/*.logo-zone .container {
  position: relative;
}


.logo-zone .btn-edifice {
  position: absolute;
  right: 20px;
  color: #211e1e;
  width: auto;
  top: 55px;
  cursor: pointer;
  z-index: 9999;
}

.logo-zone .btn-edifice:hover {
  border-color: #fff;
  color: #d8ba76;
}*/
/*************************** MENU UTILISATEUR *********************************/
/* Le menu principal doit être en flex */
.main-navigation .menu,
.primary-menu,
#menu-menu-principal {
    display: flex;
    align-items: center;
}

/* Pousse le bloc utilisateur tout à droite */
.menu-item-user {
    margin-left: auto;
    position: relative;
}

/* Style du lien */
.menu-item-user > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
}

/* Sous-menu */
.menu-item-user .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #fff;
    padding: 10px 0;
    margin: 8px 0 0;
    list-style: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    z-index: 999;
}

.menu-item-user:hover .sub-menu {
    display: block;
}

.menu-item-user .sub-menu li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    white-space: nowrap;
}

.user-icon {
    font-size: 16px;
    line-height: 1;
}

/*MENU */

.navbar-nav {
    margin-left: 0;
}

.navbar-nav form {
    margin-top: 12px;
}

.navbar-nav .search-form input[type="search"] {
    border: 1px solid #c1a378;
    background-color: #331f22;
    color: #fff;
    padding-left: 15px;
}

.navbar-nav .search-form input[type="search"]:focus {
    box-shadow: 0 0 0 .25rem rgba(193, 163, 21, .25);
}

.navbar-nav .search-form input[type="search"]::placeholder {
    color: #c1a378;
    /*font-family: 'Lora', serif;*/
}

.navbar-nav .search-form .btn {
    background-color: #c1a378;
    padding-left: 9px;
    padding-right: 14px;
}

.navbar-nav .search-form .btn:hover {
    background-color: #8b683b;
    border: 1px solid #c1a378;
    border-left: 1px solid #8b683b;
    color: #fff;
}

.navbar li {
  /*min-width: 230px;*/
  padding-left: 15px;
  padding-right: 15px;
}

.navbar .dropdown-menu li {
    padding-left: 0;
    padding-right: 0;
}

.navbar li.menu-search {
    width: 305px;
}

.navbar li.fm {
    width: 237px;
}

.navbar li {
  text-align: center;
}

.navbar li a {
  text-decoration: none;
  color: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.navbar li a.parent-link {
  padding: 10px 0;
  width: 100%;
  line-height: 42px;  
  display: inline-block;
  font-size: 16.5px;
}

/*.parent-link i {
  color: #5f3a40;
  transition: all 0.2s ease;
  line-height: 1.3em;
}

.parent-link:hover i {
  color: #d8ba76;
}*/

.navbar li a:hover {
  color: #c1a378;
}

.navbar-nav .nav-item.active > a {
    color: #c1a378;
}

/*.navbar li a.show {
  color: #c1a378;
}
*/
.megamenu-caret {
  position: absolute;
  z-index: 9990;
  bottom: 0px;
  left: 50%;
  display : none;
  height : 0;
  width : 0;
  display: inline-block;
  border-top : 12px solid #5f3a40;
  border-right : 12px solid transparent;
  border-left : 12px solid transparent;  
  transition: all 0.3s ease;
  margin-left: -12px;
/*  opacity: 0;*/
}

.show .megamenu-caret {
/*  opacity: 1;*/
  bottom: -12px;
}

.btn-edifice .megamenu-caret {
  bottom: -18px;
}

.btn-edifice.show .megamenu-caret {
  bottom: -31px;
}


.navbar .megamenu {
  transition: display 1s ease;
  background-color: #331e21;
  /*background-color: #44272b;*/
  color: #fff;
  line-height: 33px;
  padding: 0;
  height: 0;
  transition: all 0.4s ease ;
  display: block;
  overflow: hidden;
  top: 62px;
  border: none;
}

.navbar .megamenu .container {
  margin-top: 30px;
}

.navbar .megamenu.show {
  height: 314px;
}


.navbar .planches .megamenu.show {
    height: 580px;
}


.navbar .chapitre-degre, .navbar .areopage-degre {
    background-size: cover!important ;
}

/*.navbar li:nth-child(2) .megamenu.show {
  min-height: 614px;
}*/


.navbar .megamenu i {
  color: #d8ba76;
}


.dropdown-menu {
  border-radius: 0px;
}

.dropdown-menu .degree a {
    height: 250px;
    margin-bottom: 25px;
    background-position: center;
    background-size: 100% auto;
    
    text-decoration: none;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.dropdown-menu .degree a .degree-title {
    font-size: 1.2em;
    font-weight: 300;
    position: absolute;
    z-index: 99;
}

.dropdown-menu .degree a .degree-subtitle {
    font-size: 0.7em;
}


.menu-label{
    color: #d8ba76;
    font-size:18px;
    font-weight:bold;  
    text-transform: uppercase;
    margin-bottom: 8px;
}

.quote {
  color:  #d8ba76;
  font-style: italic;
}

b, strong, dt {
    font-weight: 500;
}

.megamenu ul{
  padding-left: 0px;
  margin-left: 0;
}

.megamenu ul li {
  text-align: left;
  list-style: none;
  line-height: 33px;
}

.megamenu ul li a:hover {
 color: #96616a;
}

.degree a {
  display: block;
  position: relative;
  height: 100px;
  text-align: center;
}

/*.degree a:after {
  clear: both;
}*/

.degree a img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.degree-title {
    text-decoration: none;
}

.alphabet {
  margin-top: 30px;
}

.alphabet .letter {
  display: inline-block;
  width: 2.95%;
  text-align: center;
}  

.alphabet .menu-label {
  text-align: center;
}

.navbar .alphabet a:hover {
  color: #96616a;
}

.clearfix {
  display: block;
  clear: both;
}


.btn-edifice, .navbar li a.btn-edifice {
  text-align: center;
  padding: 5px 25px;
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-radius: 0;
  border-color: #d8ba76;
  border-top-style: double;
  border-bottom-style: double;
  border-left:  none;
  border-right:  none;
  color:  #fff;
  display: inline-block;
  position:  relative;
  min-width: 180px;
  transition: all 0.3s ease;
  line-height: 24px;
  transition: all 0.4s ease;
}

.links {
    border-top: 1px solid #c6c1c1;
}

.btn-edifice {
  color: #d8ba76;
}

.btn-edifice:visited {
    color: #d8ba76;
    
}


.btn-edifice:before {
  display: block;
  width: 25px;
  height: 35px;
  background-image: url(../images/colonne.svg);
  background-size: 25px 34px;
  content: " ";
  position: absolute;
  top: 0px;
  left: -6px;
  transition: all 0.4s ease;
}


.btn-edifice:after {
  display: block;
  width: 20px;
  height: 35px;
  background-image: url(../images/colonne.svg);
  background-size: 25px 34px;
  content: " ";
  position: absolute;
  top: 0px;
  right: -2px;
  transition: all 0.4s ease;
}

.navbar .container {
  position: relative;
}


.home-btn  {
  position: absolute;
  top: 9px;
  left: calc(50% + 445px);
}

.navbar .btn-edifice:hover, .navbar .btn-edifice:focus {
  color: #d8ba76;
}

.navbar .btn-edifice.special-columns:hover, .navbar .btn-edifice.special-columns:focus {
  border-color: #5f3a40;
}

/*.navbar .btn-edifice.special-columns:hover::before, .navbar .btn-edifice.special-columns:focus::before {
  width: 50px;
  height: 74px;
  background-size: 50px 74px;
  top: -21px;
  left: -30px;
}

.navbar .btn-edifice.special-columns:hover::after, .navbar .btn-edifice.special-columns:focus::after {
  width: 50px;
  height: 74px;
  background-size: 50px 74px;
  top: -21px;
  right: -30px;
}*/

.navbar .megamenu .btn-edifice{
 margin: 20px auto 0;
 display: inherit;
}

.special-columns {
  margin-top: 15px;
} 
.degree a {
  position: relative;
  font-size: 18px;
  border: 1px solid #5f3a40;
}

.degree a:hover {
  border: 1px double #d8ba76;
}

.degree a::after {
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.1;
  transition: all 0.3s ease;
}

.degree a:hover::after {
  opacity: 0.7;
}

.first-degree {
  background: url(../images/menu-image-1.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.second-degree {
  background: url(../images/menu-image-2.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.third-degree {
  background: url(../images/menu-image-3.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.fourth-degree {
  background: url(../images/menu-image-4.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.abonnements {
  display: block;
  width: 200px;
  margin: 0 auto;
}

.mail {
  background: rgb(2,0,36);
  background: url(../images/gravure.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
  min-height: calc(100vh - 360px);
}

.mail-title {
    border-left: 3px solid #caac78;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    max-width: 788px;
    padding: 15px 20px;
    margin: 0 auto 30px;
    font-size: 0.9rem;
    position: relative;  
    color: #caac78;
    color: #937241;
    text-align: center;
    max-width: 788px;
    margin: 10px auto 20px;
    font-size: 28px;
    font-weight: 300;    
}




.mail-content {
    background: #fff;
    text-align: left;
    max-width: 788px;
    margin: 0 auto;
    padding: 30px;
    font-size: 17px;
    line-height: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #d5cdca;
}

.mail-content h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.post {
    margin-bottom: 0;
}

.planche {
  background: rgb(2,0,36);
  background: url(../images/gravure.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
  text-align: center;
  padding-top: 40px;
  padding-bottom: 0px;
}

.planche-infos-list {
    border-left: 3px solid #caac78;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #fff;
    max-width: 788px;
    padding: 15px 20px 0;
    margin: 0 auto 30px;
    font-size: 0.9rem;
    position: relative;
}
.planche-category-id {
    margin-bottom: -10px;
}
.planche-category-id a {
    text-decoration: none;
    color: #dec9a6;
    line-height: 15px;
    transition: color ease 0.2s;
}

.planche-category-id a:hover {
    color: #000;
}

.planche-infos-separator {
    height: 1px;
    background-color: #caac78;
    width: 100%;
    margin-bottom: 20px;
}

.obedience-badge--img {
    margin-bottom: 15px;
    height: 150px;
    margin-top: -15px;
    width: auto;
}

.planche-title {
    color: #caac78;
    display: inline-block;
    text-align: center;
    max-width: 788px;
    margin: 10px auto 20px;
    font-size: 30px;
    font-weight: 400;
}



.planche-content {
  background: #fff;
  text-align: left;
  max-width: 788px;
  margin:  0 auto;
  padding: 30px;
  font-size: 17px;
  line-height: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-top: 3px solid #d5cdca;
} 

.planche-content a {
    color: #caac78;
}

.post-navigation-container {
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
    padding: 30px 0;
}

.post-navigation {
    max-width: 788px;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);*/
    margin: 0 auto!important;
    /*background: #caac78;*/
    /*padding: 10px;*/
}


/* Conteneur des liens : en flex, deux colonnes */
.post-navigation .nav-links {
  display: flex;
  /*gap: 1rem;        */         /* espace entre les deux blocs */
  align-items: stretch;
}

/* Chaque bloc occupe 50% */
.post-navigation .nav-previous,
.post-navigation .nav-next {
  width: 50;
}

/* Style des ancres comme des boutons "plein largeur" */
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: flex;
  align-items: center;
  justify-content: space-between; /* titre à gauche/droite selon le sens */
  width: 100%;
  padding: 1rem 1.25rem;
  color: #000;

  /*border-radius: .5rem;*/
  text-decoration: none;
  background: var(--bs-body-bg, #fff);
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.post-navigation .nav-previous a {
    border-left: 3px solid #caac78;
    border-right: 1px solid #d5cdca;
}

.post-navigation .nav-next a {
    border-right: 3px solid #caac78;
}

/* Hover/focus pour feedback */
.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover {
  background-color: rgba(0,0,0,.03);
}

.post-navigation .nav-previous a:focus,
.post-navigation .nav-next a:focus {
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.25); /* style Bootstrap-like */
}

/* Alignements fins */
.post-navigation .nav-previous a {
  justify-content: flex-start;
  gap: .5rem;
}

.post-navigation .nav-next a {
  justify-content: flex-end;
  gap: .5rem;
}

/* Sous-titres plus discrets */
.post-navigation .nav-subtitle {
  font-size: .875rem;
  opacity: .75;
  margin: 0 .25rem;
  white-space: nowrap;
}

/* Titre tronqué proprement si trop long */
.post-navigation .nav-title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-width: 33ch;
  white-space: nowrap;
}

/* Petits écrans : empiler en colonne */
@media (max-width: 576px) {
  .post-navigation .nav-links {
    flex-direction: column;
  }
  .post-navigation .nav-previous,
  .post-navigation .nav-next {
    width: 100%;
  }
}

.intro {
  font-size: 22px;
  font-weight: 500;
}
.mail .banner {
  margin-top: 30px;
  margin-bottom: 20px;
}

.mail .banner img {
  max-width: 100%;
  height: auto!important;
}

.mail .banner a, .mail .banner div {
  max-width: 100%;
  height: auto!important;
}

.publications {
  background-color: #211e1e;
}

.publications-content {
  color:  #fff;
  max-width: 788px;
  margin:  0 auto;
  padding:  30px;
  font-size: 17px;
  position:  relative;
}

.btn-abonnement {
  display: block;
  position: absolute;
  top: -19px;
  right: 30px;
  width: 227px;
  height: 172px;
  background-image: url(../images/bg-btn-abonnement-rouge.png);
  text-align: center;
  padding:  20px 40px;
  line-height: 20px;
  color: #d8ba76!important;
  text-decoration: none;
  transition-property: background, color;
  transition-duration: 1s;
}

.btn-abonnement:hover {
  color: #fff!important;
  background-image: url(../images/bg-btn-abonnement-rouge-hover.png);
}

.publications-content h2{
  text-transform: uppercase;
  font-size:  22px;
}

.publications-content a {
  color: #d8ba76;
  transition:  all 0.3s;
}

.publications-content a:hover {
  color: #8b683a;
  text-decoration: none;
}


.newsletter {
  text-align: center;
  padding: 20px;
  font-size: 20px;
}

.newsletter a {
  color:  #c3575a;
  transition: color 0.3s ease;
}

.newsletter a:hover {
  color: #d8ba76;
}


.books {
  background-image: url(../images/ouvrages.jpg);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.books-title {
  display: block;
  text-align: center;
  background-color: #f9f5f4;
  color: #c3a578;
  color: #9e7a4d;
  font-size: 21px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 10px;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.slider {
    margin: 30px auto 0px;
    width: 1100px;
    padding-bottom: 0px;
}

.slick-list {
    padding-top: 30px;
}

.regular .slick-slide {
  margin: 0px 20px;
  text-align: center;
}

.regular .slick-slide a {
  text-decoration: none;
  color: #211e1e;
} 

.regular .slick-slide h4 {
  /*color: #5f3a40;*/
  margin-bottom: 0;
  font-size: 20px;
}

.regular .slick-slide img {
  height: 28em;
  width: auto;
  display: inline-block;
  margin-bottom: 50px;
  -webkit-box-shadow: 1px 1px 2px 0px #0000004f;
  box-shadow: 1px 1px 2px 0px #0000004f;
}

.slick-prev:before,
.slick-next:before {
  color: #c3a578;
}

.books .slick-prev:before,
.books  .slick-next:before {
    color: #000;
    
}

.slick-slide {
  transition: all ease-in-out .3s;
}
.slick-slide a img{
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.slick-slide a:hover img{
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.slick-active {
 /* opacity: .5;*/
}

.slick-current {
  /*opacity: 1;*/
}

.slick-prev {
  left:  -90px;
  top: calc(50% - 40px);
  width: 40px;
  height: 40px;  
 
}

.slick-next {
  right: -60px;
  top:  calc(50% - 40px);
  width: 40px;
  height: 40px;
}

.slick-prev::before {
  content: "\f284";
  font-size: 60px;
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;  
  z-index: 99;
}

.slick-next::before {
  content: "\f285";
  font-size: 60px;
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;  
  z-index: 99;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}
.slick-dots {
  position: static;
  margin-top: 30px;
}

.slick-dots li button::before {
  font-size: 16px;
}

.btn-books{
  padding:  10px 20px;
  margin:  50px auto 50px;
  background-color: #d8ba76;
  background-color: #5f3a40;
  background-color: #9f7a4d;
  border: 2px solid #9f7a4d;
  color:  #fff;
  border-radius: 0;
  /*font-weight: 500;*/
  -webkit-box-shadow: 1px 1px 2px 0px #0000004f;
  box-shadow: 1px 1px 2px 0px #0000004f;
  font-family: "PT Sans",sans-serif;
  transition: all 0.3s ease;
}

.btn-books:visited {
    color: #fff;
}

.btn-books:hover{
  background-color: #fff;
  color: #9f7a4d!important;
  border-color: #9f7a4d;
  transition: all 0.3s ease;
}

.link-mosaic {
  text-align: center;
  padding:  30px 30px;
  font-size: 18px;
}

.link-mosaic h3{
  text-transform: uppercase;
  color: #d8ba76;
}

.link-mosaic p {
  font-style: italic;
}

.link-mosaic:nth-child(1), .link-mosaic:nth-child(3),.link-mosaic:nth-child(6), .link-mosaic:nth-child(8){
  background-color: #211e1e;
  color:  #fff;
}

.link-mosaic:nth-child(2), .link-mosaic:nth-child(4), .link-mosaic:nth-child(5), .link-mosaic:nth-child(7){
  background-color: #fff;
  color:  #000;
}


.wp-block-list, ul {
    margin: 0 0 30px 0;
    padding-left: 20px;
}

/****************ANCIENNE PAGE D'ACCEUIL*******************/

.right-border {
/*  border-right: 1px solid #e9dab8;*/
  border-right: 1px solid #baa3a6;
}


.titre-accueil {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
    font-size: 25px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8e4e59;
    color: #c3a578;
    color: #9e7a4d;
}

.sous-titre-accueil {
    background-color: #fff;
    background-color: #faf9f9;
    text-align: center;
    color: #d8ba76;
    color: #5f3a40;
    padding: 10px;
    margin: 30px 0 10px;
    font-size: 1.2em;
}

.home-content {
  /*background-color: #32212A;*/
  /*background-color: #44272b;*/
  /*background-color: #321f22;*/
  background-color: #f5ece9;
  padding: 30px 0 50px;
  font-size: 18px;
/*  border-bottom: 1px solid #000;*/
}

.home-content .menu-label {
  font-size: 21px;
  font-weight: 500;
  color: #a99c7e;
  color: #8e4e59;
}

.home-content ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.home-content ul a {
  color: #212529;
  text-decoration: none;
}

.home-content ul a:hover {
  color: #d8ba76;
}

.home-content ul a i, .home-content ul i {
  color: #d8ba76;
  color: #8e4e59;
}

.home-content .alphabet .letter {
  color: #5f3a40;
  text-decoration: none;
  width: 5.4%;
}

.home-content .alphabet .letter:hover {
  color: #d8ba76;
}



.home-content.hauts-grades {
  background-size: 100% auto;
  background: url(../images/larmes-dargent.jpg) top center no-repeat , linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.hg-grads {
  background-color: #fff;
  padding-bottom: 20px;
}

.hg-grads .degree a {
  background: linear-gradient(43deg, rgba(95,58,64,1) 0%, rgba(144,73,85,1) 100%);
}

/*.hg-grads .degree.last a {
  background: orange;
}*/

.blue-grads .menu-label {
  color: #5f5f89;
}

.blue-grads .alphabet .letter{
  width: 2.2%;
}

.home-content .degree .icon-image {
  width: 10px;
  height: auto;
}
.fifth-degree {
  background: url(../images/menu-image-5.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}


.sixth-degree {
  background: url(../images/menu-image-6.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.home-content .degree a:hover {
  color: #caac78;
}

.home-content .abonnements {
  margin-top: 40px;
  margin-bottom: 40px;
  text-decoration: none;
  color: #212529;
}

.home-content .abonnements:hover {
  color: #d8ba76;
  border-color: #faf9f9;
}

.degree-home-content {
  padding: 0 10px;
}

.home-content .degree-home-content .degree a {
    position: relative;
    overflow: hidden;
    height: 310px;
    margin-top: 20px;
    color: white;
    border: 1px solid;
    font-weight: 500;
    background-color: #904955;
    background-size: cover;
    border-radius: .3rem .3rem .3rem .3rem;
    border: 1px solid #c3a578;
    /*border: 1px solid #44272b;*/
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;    
    text-decoration: none;
    line-height: 1.2;
    
    display: flex;
    align-items: center;      /* centre vertical */
    justify-content: center;  /* centre horizontal */
    text-align: center; 
    
}

.home-content .degree-home-content .degree a:hover {
    color: #c3a578;
    border: 1px solid #c3a578;
    transform: translateY(-5px);
}

.home-content .degree-home-content .degree a:hover .degree-subtitle {
    color: #fff;
}

.home-content .degree-home-content .degree a .degree-title {
    font-size: 1.5em;
    font-weight: 300;
    position: absolute;
    z-index: 99;
    /*text-transform: uppercase;*/
}

.home-content .degree-home-content .degree a .degree-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 300;
    /*display: none;*/
}

.premier-degre {
  background: url(../images/image-apprenti.jpg) top center no-repeat;
}

.deuxieme-degre {
  background: url(../images/image-compagnon.jpg) top center no-repeat;
}

.troisieme-degre {
  background: url(../images/image-maitre-2.jpg) top center no-repeat;
}

.quatrieme-degre {
  background: url(../images/image-maitre-secret.jpg) top center no-repeat;
}

.douzieme-degre {
    background: url(../images/image-grand-maitre-architecte.jpg) top center no-repeat;
}

.quatorzieme-degre {
    background: url(../images/image-grand-elu-parfait.jpg) top center no-repeat;
}

.chapitre-degre {
    background: url(../images/image-chevalier-rose-croix-2.jpg) top center no-repeat;
}

.areopage-degre {
    background: url(../images/image-chevalier-kadosh.jpg) top center no-repeat;
}


.library {
  height: 170px;
  background-image: url(../images/library.jpg);
  background-size: cover;
  background-position: top center;  
}

/************************CATEGORIE - LISTES ***********************/

.liste-articles-detail {
    margin: 30px 0;
}



.article-detail h2 a{
text-decoration: none;
color: #2d2b26;
}


/************************CATEGORIE LISTE ACCUEIL **************************+

/* Conteneur */

.titre-alpha-grid {
    color: #9e7a4d;
    font-size:21px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
    
}

.liste-alphabetique {
    /*background-color: #f4efed;*/
    background-color: #f9f5f4;
} 

/*#alpha-grid {
  margin: 2rem auto;
  max-width: 960px;
}*/

.alphabet-grid {
    margin-top: 50px;
}

/* Groupes de lettres */
.alpha-group {
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid #caac78; /* liseré doré simple */
  background: #fff;
  border-radius: 0 .25rem .25rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alpha-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* Titre de la lettre */
.alpha-group h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #caac78;
}
.alpha-group h3::first-letter {
  font-size: 1.8rem;
  color: #caac78; /* doré */
}

/* Sous-catégories : simple liste de liens */
.alpha-group .list-group {
  list-style: none;
  margin: 0;
  padding: 0;
}
.alpha-group .list-group-item {
  display: inline-block; /* affichage fluide, pas en bloc */
  margin: .1rem .6rem .1rem 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0;
  color: #2d2b26;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-bottom .2s ease;

}
.alpha-group .list-group-item:hover {
  color: #caac78;
  border: none;
  border-bottom: 1px solid #caac78;
}

/* Navigation A–Z */
.nav.nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}
.nav-pills .nav-link {
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  color: #6b5a42;
  text-decoration: none;
  padding: .25rem .5rem;
  transition: color .2s ease, border-bottom .2s ease;
  border: 1px solid transparent;
  border-radius: 0;
}
.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
  color: #caac78;
  border-bottom: 1px solid #caac78;
}
.nav-pills .nav-link.disabled {
  opacity: .35;
  cursor: default;
}



.blue-grads {
  background-color: #dde3ef;
  padding-bottom: 20px;
/*  margin-top: 10px;*/
}

.special-title {
  display: block;
  text-align: center;
  background-color: #211e1e;
  color: #d8ba76;
  margin: 10px -10px 0px -10px;
  -webkit-box-shadow: 0px -2px 2px 0px #0000003d;
  box-shadow: 0px -2px 2px 0px #0000004f;
  font-size: 32px;
  padding: 10px;
  font-weight: 400;
}

.title-back-to-blue-grads {
  margin-top: 20px;
  color: #5f5f89;
}

.colonnes {
  background: rgb(2,0,36);
  background: url(../images/gravure.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
  text-align: center;
  padding-top: 30px;
}

.page {
    margin: 0;
}


/* Sous-catégories */ 

.special-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.special-subcategory-card {
    display: block;
    text-decoration: none;
    background: #fff;
    border-left: 3px solid #caac78;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.special-subcategory-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    text-decoration: none;
}

.special-subcategory-bg,
.special-subcategory-bg.no-image {
    display: none;
}

.special-subcategory-overlay {
    position: static;
    inset: auto;
    display: block;
    padding: 22px 22px 20px;
    background: transparent;
    color: #2f2a26;
}

.special-subcategory-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .05em;
    /*color: #caac78;*/
}

.special-subcategory-desc {
    font-family: 'Lora', serif;
    font-size: 1.02rem;
    line-height: 1.55;
    color: #2f2a26;
}

.special-subcategory-desc p {
    margin: 0;
}

@media (max-width: 991px) {
    .special-subcategories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .special-subcategories-grid {
        grid-template-columns: 1fr;
    }

    .special-subcategory-card {
        min-height: auto;
    }

    .special-subcategory-title {
        font-size: 1.7rem;
    }
}


/**************** LETTRE MENSUELLE *******************/

.latest-lettre-mensuelle {margin-bottom: 50px ;}

.lettre-navigation .nav-prev a {
    width: 200px;
    color: #caac78;
    border-left: 3px solid #caac78;
    padding: 1rem 1.25rem;
    color: #000;
    /* border-radius: .5rem; */
    text-decoration: none;
    background: var(--bs-body-bg, #fff);
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

/****************************FOOTER****************************/
.footer {
    background-color: #331e21;
    color: #fff;
}

footer .newsletter {
    background: linear-gradient(135deg, #5f3a40 0%, #4b2b31 100%);
    padding: 54px 20px 58px;
    text-align: center;
    color: #fff;
    border-top: 1px solid rgba(193, 163, 120, 0.28);
    border-bottom: 1px solid rgba(193, 163, 120, 0.18);
}

.newsletter h4 {
    font-family: "Lora", serif;
    font-size: clamp(21px, 3vw, 26px);
    font-weight: 400;
    line-height: 1.35;
    /*max-width: 760px;*/
    margin: 0 auto 30px;
    color: #fff;
    
}

.newsletter form#sib_signup_form_2 {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 !important;
}

.newsletter .sib_signup_box_inside_2 {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 0;
    max-width: 640px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(193, 163, 120, 0.9);
    box-shadow: 0 18px 45px rgba(25, 12, 15, 0.28);
}

.newsletter p {
    margin: 0 !important;
}

.newsletter p.sib-email-area {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 0 0 18px;
    min-width: 0;
    font-family: "Lora", serif;
    font-size: 14px;
    color: #5f3a40;
}

.newsletter p.sib-email-area label {
    color: #5f3a40;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0.85;
}

.newsletter input[type="email"].sib-email-area {
    width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 0 16px 0 0;
    border: 0 !important;
    background: transparent;
    color: #2b1a1d;
    font-size: 16px;
    font-family: "Lora", serif;
    box-shadow: none;
}

.newsletter input[type="email"].sib-email-area:focus {
    outline: none;
    box-shadow: none;
}

.newsletter .sib-default-btn {
    height: 56px;
    padding: 0 28px !important;
    margin: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(193, 163, 120, 0.7) !important;
    border-radius: 0 !important;
    background: #c1a378 !important;
    color: #2b1a1d !important;
    font-family: "Lora", serif;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.25s ease;
}

.newsletter .sib-default-btn:hover {
    background: #2b1a1d !important;
    color: #c1a378 !important;
}

.newsletter .sib_msg_disp {
    grid-column: 1 / -1;
}

.newsletter p.sib-alert-message {
    max-width: 640px;
    margin: 0 auto 18px !important;
    padding: 12px 16px;
    border-radius: 0;
    font-size: 14px;
    font-family: "Lora", serif;
}

.newsletter .sib_loader {
    margin-bottom: 14px;
}

@media (max-width: 640px) {
    footer .newsletter {
        padding: 40px 18px 44px;
    }

    .newsletter h4 {
        font-size: 23px;
        margin-bottom: 24px;
    }

    .newsletter .sib_signup_box_inside_2 {
        display: block;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .newsletter p.sib-email-area {
        display: block;
        padding: 0;
        color: #fff;
        text-align: left;
    }

    .newsletter p.sib-email-area label {
        display: block;
        margin-bottom: 8px;
        color: #f8eeee;
    }

    .newsletter input[type="email"].sib-email-area {
        height: 52px !important;
        padding: 0 16px;
        background: #fff;
        border: 1px solid rgba(193, 163, 120, 0.85) !important;
    }

    .newsletter .sib-default-btn {
        width: 100%;
        height: 52px;
        margin-top: 12px !important;
        border: 1px solid #c1a378 !important;
    }
}

.footer-links {
    padding: 10px 0;
    color: #bb878f;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    color: #bb878f;
}

.footer-links a:hover {
    color: #caac78;
}

.copyright {
  background-color: #000;
  text-align: center;
  color:  #d8ba76;
  padding:  20px;
}



/********** Liste des catégories par ordre alphabétique **************/

.menu-alpha-nav {
    margin-bottom: 1em;
    font-weight: bold;
}

.menu-alpha-nav a {
    text-decoration: none;
    margin: 0 4px;
    color: #0073aa;
}

.menu-alpha-nav a:hover {
    text-decoration: underline;
}

.menu-alpha-nav .disabled {
    color: #ccc;
    margin: 0 4px;
}

.menu-alphabetique-categories h3 {
    margin-top: 1.2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
}

.menu-alphabetique-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-alphabetique-categories li {
    margin: 0.2em 0;
}

.letter-box {
    display: inline-block;
    float: left;
}


/* Boîte d’archives */

.page-title {
    text-align: center;
    margin-bottom: 30px;
}

#primary {
    background-color: #f9f5f4;
}



/* Mise en grille des lettres */
.liste-sous-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.archive-box {
  padding: 2rem 2rem;
}


/* Bloc par lettre */
.letter-box {
  background: #fff;
  border-left: 4px solid #8b683a;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.letter-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Lettre (titre de section) */
.letter-box h3 {
  font-size: 1.4rem;
  margin: 0 0 0.8rem 0;
  color: #8b683a;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.3rem;
}

/* Liste des liens */
.letter-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.letter-box li {
  margin: 0.4rem 0;
}

/* Liens */
.letter-box a {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.letter-box a:hover {
  background: #d8ba76;
  color: #fff;
  transform: translateX(3px);
}

/* Liste des articles */
.liste-articles-detail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Slidershow recueils relatifs */ 
.contenu-relatif {
    background-color: #44272b;
    padding: 30px 0 20px 0;
}

.titre-contenu-relatif {
    color: #caac78;
    font-size: 17px;
    text-transform: uppercase;
    margin-bottom: 0px;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 300;
}    

.contenu-relatif .slick-slide {
    margin-bottom: 30px;
}

.contenu-relatif .slick-slide img {
    margin: 0 auto;
    height: 20em;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 50%);*/
}

/* Carte article */


.article-detail {
  background: #fff;
  border-radius: 0 .25rem .25rem 0;
  border-left: 3px solid #caac78;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  padding-bottom: 40px;

}

.article-detail .article-card {
    display: block;
    border-radius: 0 .25rem .25rem 0;
    padding: 1rem 1.25rem;
    text-decoration: none;
    z-index: 99;
    background-color: #fff;
}

.article-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

/* Image */
 .article-detail img {
  border-radius: 8px;
  margin-bottom: 1rem;
  max-width: 100%;
  height: auto;
}

/* Titre */


.article-detail h2 {
  font-size: 1.3rem;
  padding-bottom: 0.8rem;
  padding-right: 40px;
  margin: 0 0 0.5rem 0;
  color: #404040;
  text-align: left;
  border-bottom: 1px solid #5f3a40;
}

.article-detail a:hover .article-title {
    color: #caac78;
    border-bottom: 1px solid #caac78;
}

/* Extrait */
.article-detail p {
  color: #555;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.article-excerpt {
    text-align: justify;
}

.article-detail .btn-readmore {
    display: block;
    border: 1px solid #caac78;
    border: 1px solid #5f3a40;
    border-radius: 0;
    color: #000;
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
}

.article-card:hover .btn-readmore {
    background-color: #caac78;
    border: 1px solid #caac78;
    color: #fff;
}

.article-id {
    display: block;
    position: absolute;
    top: 0px;
    right: 12px;
    background-color: #eddbbc;
    border-radius: 0 0 5px 5px;
    padding: 2px 5px;
    color: #fff;
    font-size: 0.8rem;
}

.article-author {
    color: #caac78;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.article-parent-cat {
    height: 20px;
    background-color: #f9f5f4;
    color: #2b2b2b;
    font-size: 0.7rem;
    padding: 2px 10px;
    z-index: 50;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}



/* LIGHTBOX MODALE ABONNEMENT */

.pc_lightbox_contents {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    background: #f9f5f4!important;
}

.premium-access-modal {
  border: 1px solid #CAAC7B;
  padding: 30px;
  background: #f9f5f4;

}

/* HEADER */
.premium-access-header {
  text-align: center;
  margin-bottom: 22px;
}

/* ICÔNE */
.premium-access-icon {
  font-size: 18px;
  color: #b08a57;
  background-image: url(../images/serrure-abonnement.png);
  background-size: 100%;
  background-position: center;
  width: 300px;
  height: 124px;

  display: block;
  margin: 0px auto 0px;
}

/* TITRE */
.premium-access-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #CAAC7B;
  line-height: 2;
}

/* TEXTE */
.premium-access-text {
  font-size: 15px;
  line-height: 1.6;
  color: #5b4c40;
  max-width: 420px;
  margin: 0 auto;
}

/* BÉNÉFICES */
.premium-access-benefits {
  margin: 22px 0;
  padding: 16px 15px;
  border: 1px solid rgba(176, 138, 87, 0.25);
  border-radius: 3px;
  background: #ffffff;
}

.premium-access-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-access-benefits li {
  padding: 8px 0;
  font-size: 17px;
  color: #000;
  position: relative;
  padding-left: 33px;
}

/* Spark ✔ */
.premium-access-benefits li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 21px;
  color: #CAAC7B;
}

/* CTA */
.premium-access-cta {
  margin: 20px 0 40px;
}

/* BOUTON ABONNEMENT */
.premium-subscribe-button  {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  background: linear-gradient(135deg, #4a1f1f, #7a2e2e);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(74, 31, 31, 0.25);
  transition: all 0.25s ease;
}
.premium-subscribe-button:visited {
    color: #fff;
}

.premium-subscribe-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(74, 31, 31, 0.35);
  color: #ffff;
  background: linear-gradient(135deg, #b08a57, #CAAC7B);
}

/* SÉPARATEUR */
.premium-access-separator {
  text-align: center;
  margin: 18px 0;
  position: relative;
  font-size: 14px;
  color: #7a6a5f;
}

.premium-access-separator span {
  background: #f9f5f4;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

/* ligne */
.premium-access-separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(120, 100, 80, 0.2);
  z-index: 1;
}

/* FORMULAIRE (zone uniquement, pas les champs encore) */

.premium-access-login-form {
  margin-top: 20px;
}

.pc_login_form:not(.pc_widget_login), .pvtcont_form {
    max-width: none!important;
    border: 1px solid rgba(176, 138, 87, 0.25)!important;
    border-radius: 3px;
}

.pc_aligned_form .pvtcont_form {
    background-color: #f9f5f4;
    border: 1px solid #caac78;
}



.premium-access-modal .pc_login_form .pc_auth_btn {
    display: block;
    border: 1px solid #CAAC7B !important;
    color: #CAAC7B!important;
    background-color: #fff!important;
    text-align: center;
    width: 100%;
    font-weight: 600;
    font-size: 16px!important;
    font-family: 'Lora', serif;
    margin-top: 30px;
    padding: 14px 0!important;
    transition: none;
}

.premium-access-modal .pc_login_form .pc_auth_btn:hover {
    background-color: #CAAC7B!important;
    color: #fff!important;
}


/*********** RENOUVELER UN ABONNEMENT ****************/

.woocommerce-notices-wrapper {
    border: none !important;
    outline: none !important;
    box-shadow: none !important; 
}

.ledifice-expired-login-message {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: "Lora", serif;
}

.ledifice-expired-login-message strong {
    font-size: 26px;
    color: #4d4d4d;
    font-weight: 600;
}

.ledifice-expired-login-message span {
    font-size: 18px;
    color: #5a5a5a;
}

.ledifice-renew-access-btn {
    display: inline-block;
    width: fit-content;
    margin-top: 8px;
    padding: 13px 24px;
    background: #5f3a40;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 600;
    border-radius: 2px;
}

.ledifice-renew-access-btn:hover {
    background: #4a2c32;
    color: #fff !important;
}

/******** WOOCOMMERCE ********/ 

.woocommerce-orders-table {
    display: none!important;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    background-color: #f9f5f4;
    border: 1px solid #caac78;
    border-radius: 0;
}

.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
    background: #fefefe!important;
    border: 1px solid #cfcfcf;
    color: #808080;
    padding: 7px 7px !important;
    border-radius: 1px !important;
}

.woocommerce form input,
.woocommerce form input:focus,
.woocommerce form input:-webkit-autofill {
    background-color: #caac78!important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    background-color: #c1a378 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0;
    display: block;
    font-weight: 400;
    margin-top:20px;
}

.pcpp_change_plan_form .pcpp_change_plan_btn {
    background-color: #c1a378 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0;
    display: block;
    font-weight: 400;
    margin-top: 20px;
    font-size: 15px!important;
    padding: .618em 1em!important;
    line-height: 1;
}

.pcpp_change_plan_form .pcpp_change_plan_btn:hover {
    background: #8a6125 !important;
    border-color: #8a6125 !important;
    color: #fff !important;
    
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    margin-top: 20px;
}


.woocommerce-LostPassword {
    margin-bottom: 0;
}

.woocommerce-LostPassword  a {
    color: #937241;
    font-size: 13px;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    margin: 0;
}

.woocommerce-account .button:hover,
.woocommerce-account .woocommerce-button:hover,
.woocommerce-account a.button:hover,
.woocommerce-account button.button:hover,
.woocommerce-account input.button:hover {
    background: #8a6125 !important;
    border-color: #8a6125 !important;
    color: #fff !important;
}

.pc_one_col_form.pvtcont_form {
    margin: 0;
}

.pcpp_checkout_billing_data {
    display: none!important;
} 

.woocommerce-billing-fields h3 {
    display: none;
}
/* 1) Masquer la colonne quantité */
#order_review table.shop_table th.product-quantity,
#order_review table.shop_table td.product-quantity {
    display: none;
}

/* 2) Rééquilibrer la largeur des 2 colonnes restantes */
#order_review table.shop_table th.product-name,
#order_review table.shop_table td.product-name {
    width: 70%;
}

#order_review table.shop_table th.product-total,
#order_review table.shop_table td.product-subtotal,
#order_review table.shop_table td.product-total {
    width: 30%;
    text-align: right;
}

/* 3) Masquer uniquement la ligne Sous-total */
#order_review table.shop_table tfoot tr:first-child {
    display: none;
}

#order_review tfoot {
    display: none!important;
} 

.wc_payment_methods {
    display: none;
}


.woocommerce a:visited {
    color: #c1a378;
}

#pcpp_plan_dd_label {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}


.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border-top-color: #caac78;
}

.woocommerce-info::before {
    color: #caac78;
}

/* Masquer bouton WooCommerce "Parcourir les produits" */
.woocommerce-MyAccount-content .woocommerce-message .button,
.woocommerce-MyAccount-content .woocommerce-info .button {
    display: none !important;
}

/* Bloc abonnement */
.ledifice-account-intro {
    margin-bottom: 30px;
    padding: 24px;
    background: #f8f5f2;
    border: 1px solid #e3ddd7;
}

.ledifice-account-status {
    font-weight: 600;
}

.ledifice-account-status.is-active {
    color: #2e7d32;
}

.ledifice-account-status.is-inactive {
    color: #8a3b3b;
}

.ledifice-account-expiry {
    margin-bottom: 14px;
}

.ledifice-account-resubscribe .button {
    display: inline-block!important;
    padding: 10px 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        display: block;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        margin-bottom: 25px;
    }
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0 20px 0 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    padding: 10px 10px;
    border-bottom: 1px solid #cfcfcf;
}


.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    color: #373737;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #caac78;
}

#account_display_name_description {
    display: none;
}

.woocommerce form .form-row {
    padding: 0;
}

.woocommerce form .form-row .required {
    color: #c1a378; 
    
}


.woocommerce-MyAccount-content fieldset {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f5f4;
    border: 1px solid #caac78;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    background-color: #c1a378 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0;
    display: block;
    font-weight: 400;
}


/* FOOTER */
.premium-access-footer {
  text-align: center;
  margin-top: 18px;
}

/* RETOUR */
.premium-back-link {
  font-size: 14px;
  color: #7a6a5f;
  text-decoration: none;
  transition: color 0.2s ease;
}

.premium-back-link:visited {
    color: #7a6a5f;
}

.premium-back-link:hover {
  color: #2b211b;
}

.pcpp_plan_ul li.pcpp_chosen:before, .pcpp_plan_choser_form .pcpp_plan_ul>li:hover:before {
    border-color: #C2A377!important;
}

.post-9870 .pc_login_form input[type="button"], .post-9870 .pc_login_form button, .post-9870 .pc_login_form input[type="button"]:focus, .post-9870 .pc_login_form button:focus, .post-9870 .pvtcont_form input[type="button"], .post-9870 .pvtcont_form input[type="button"]:focus, .post-9870 .pvtcont_form button, .post-9870 .pvtcont_form button:focus, .post-9870 .pc_logout_btn, .post-9870 .pc_logout_btn:focus, .post-9870 .pc_button, .pc_warn_box_btn {
    background-color: #c1a378!important;
    color: #fff!important;
    border: none!important;
    margin: 0 auto;
    display: block;
    font-size: 17px!important;
}

.pc_login_form input[type="button"]:hover, .pc_login_form input[type="button"]:active, .pc_login_form button:hover, .pc_login_form button:active, .pc_registration_form input[type="button"]:hover, .pc_registration_form input[type="button"]:active, .pc_registration_form button:hover, .pc_registration_form button:active, .pvtcont_form input[type="button"]:hover, .pvtcont_form input[type="button"]:active, .pvtcont_form button:hover, .pvtcont_form button:active, .pc_logout_btn:hover, .pc_logout_btn:active, .pc_spinner_btn:hover, .pc_spinner_btn:active, .pc_spinner_btn:focus, .pc_button:hover, .pc_button:active, .pc_button:focus, .pc_warn_box_btn:hover {
    background-color: #9e7a4d!important;
}

.pcpp_plan_name {
    font-weight: bold;
}

.pcpp_plan_price {
 color: #c1a378!important;
}

.pc_req_field {
    color: #caac78!important;
}


/* =============================== RESPONSIVE ====================== */
@media all and (min-width: 992px) {

  .navbar .has-megamenu{position:static!important;}
  .navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }

}

@media only screen and (max-width: 992px) and (min-width: 768px)  {
  .link-mosaic:nth-child(1), .link-mosaic:nth-child(4),.link-mosaic:nth-child(5), .link-mosaic:nth-child(8){
    background-color: #211e1e;
    color:  #fff;
  }
  .link-mosaic:nth-child(2), .link-mosaic:nth-child(3), .link-mosaic:nth-child(6), .link-mosaic:nth-child(7){
    background-color: #fff;
    color:  #000;
  }    
}
@media (max-width: 1500px) {
  .slider {
    width: 85%;
  }
}

@media (max-width: 1400px) {
  .alphabet .letter {
    width: 2.8%;
  }
  .quote {
    font-size: 0.9em;
  }
}

@media (max-width: 1300px) {
  .home-btn {
    left: calc(50% + 345px);
  }
  .home-content .alphabet .letter {
    width: 4.8%;
  }
  .blue-grads .alphabet .letter{
    width: 2.4%;
  }
}

@media (max-width: 1200px) {
  .slider {
    width: 90%;
  }
  .alphabet .letter {
    width: 2.6%;
  }
  .home-btn {
    display: none;
  }
  .right-border {
    border: none;
  }
  .home-content .alphabet .letter {
    width: 2.4%;
  }
}

@media (max-width: 991px) {
  .logo-zone {
    display: none;
  }
  .logo-zone img {
    height: 120px;
  }
  .baseline {
    margin-bottom: 5px!important;
    font-size: 17px;
  }
  .mail {
    padding-top: 30px;
  }
  .mail-title {
    font-size: 25px;
    margin-bottom: 20px;
  }
  .mail-content {
    font-size:  15px;
    padding:  20px;
  }
  .justify-content-md-between {
    justify-content: center!important;
  }
  .publications-content {
    font-size: 15px;
  }
  .publications-content h2 {
    font-size: 18px;
  }
  .newsletter {
    font-size: 18px;
    padding:  10px;
  }
  .books-title {
    font-size: 25px;
  }
  .slider {
    margin-top:  50px;
    padding-bottom: 40px;
  }
  .slick-dots {
    margin-top: 0;
  }
  .navbar .container-fluid {
    padding: 0;
  }
  .navbar-toggler {
    border-color: #331E24;
    background-color: #331E24;
    position: absolute;
    top: 13px;
    right: 15px;
  }
  .navbar-collapse {
   background-color: #331E24;
  }  
  .navbar-toggler-icon {
    color: #ffffff;
  }  
  .navbar li a.parent-link  {
    padding: 7px 0;
  }
  .navbar li.menu-search {
      width: 100%;
    padding-bottom: 15px;
    background-color: #251217;
  }
  .megamenu-caret {display: none!important;}
  .navbar .megamenu.show {height: auto;}
  
  .show .megamenu-caret {display: none;}
  .navbar .btn-edifice.special-columns:hover::before, .navbar .btn-edifice.special-columns:focus::before {
    display: none;
  }
  .navbar .btn-edifice.special-columns:hover::after, .navbar .btn-edifice.special-columns:focus::after {
    display: none;
  }
  .navbar .megamenu .container {
    margin-top: 15px;
  }
  .quote {
    text-align: center;
    line-height: 1rem;
  }
  .degree a {
    margin-bottom: 10px;
  }
  .navbar .megamenu .btn-edifice {
    margin-bottom: 20px;
  }
  .megamenu ul {margin-bottom: 15px;}
  .alphabet .letter {
    width: 20%;
  }
  .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
    overflow-y: auto;
    max-height: 90vh;
    margin-top:10px;
  }
  .home-content .alphabet .letter {
    width: 5.6%;
  }
}


@media (max-width: 768px) {
  .mail {
    padding-top: 20px;
  }
  .link-mosaic:nth-child(1), .link-mosaic:nth-child(3),.link-mosaic:nth-child(5), .link-mosaic:nth-child(7){
    background-color: #211e1e;
    color:  #fff;
  }

  .link-mosaic:nth-child(2), .link-mosaic:nth-child(4), .link-mosaic:nth-child(6), .link-mosaic:nth-child(8){
    background-color: #fff;
    color:  #000;
  }
  .publications-content {
    padding-top:  80px;
  }
  .btn-abonnement {
    height: 75px;
    right: calc(50% - 113px);
  }
  .home-content .alphabet .letter {
    width: 22%;
  }
}


@media (max-width: 310px) {
  .regular .slick-slide img {
    max-width: 100%;
    height: auto;
  }
}
