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

a {
  cursor: pointer;
}

H1 {
  font-size: 2.1rem;
  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;
} 

.logo-zone {
  text-align: center;
  position: relative;
  padding: 15px 0;
}

.logo-zone .logo {
  position: relative;
  z-index: 99;
}

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

.logo-zone img {
  /*  filter: drop-shadow(1px 0px 1px #efcf84);*/
  box-shadow: 1px solid #fff;
  height: 150px;
}

.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 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 */

.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;
}

.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: #d8ba76;
}

.navbar li a.show {
  color: #d8ba76;
}

.megamenu-caret {
  position: absolute;
  z-index: 9999;
  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 .megamenu i {
  color: #d8ba76;
}


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

.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;
  line-height: 100px;
}

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

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

.degree-title {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 9;
}

.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;
}

.mail-title {
  display: block;
  text-align: center;
  background-color: #2F1F22;
  color:  #c3a578;
  max-width: 788px;
  margin: 0px auto 30px;
  -webkit-box-shadow: 0px -2px 2px 0px #0000003d;
  box-shadow: 0px -2px 2px 0px #0000004f;
  font-size: 32px;
  padding: 10px;
  font-weight: 400;
}




.mail-content {
  background:  rgba(255, 255, 255, 0.9);
  text-align: left;
  max-width: 788px;
  margin:  0 auto;
  padding: 30px;
  font-size: 17px;
  line-height: 22px;
  -webkit-box-shadow: 0px -2px 2px 0px #0000003d;
  box-shadow: 0px -2px 2px 0px #0000004f;
}

.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: 32px;
    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: rgba(0,0,0,0.7);
  color: #d8ba76;
  font-size: 32px;
  padding: 20px 10px;
  font-weight: 400;
}

.slider {
    margin: 100px auto 0px;
    width: 75%;
    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: 22em;
  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;
}

.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:  40px auto 80px;
  background-color: #d8ba76;
  background-color: #5f3a40;
  background-color: #211e1e;
  border: 2px solid #211e1e;
  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:hover{
  background-color: #211e1e;
  color: #d8ba76;
  border-color: #d8ba76;
  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;
}


/****************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;
}

.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;
  padding: 30px 0;
  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;    
}

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

.home-content .degree-home-content .degree a .degree-title {
    font-size: 1.7em;
    font-weight: 300;
    line-height: 310px;
    
    /*text-transform: uppercase;*/
    
}

.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: #c3a578;
    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;
}

/****************************FOOTER****************************/

.footer {
    background-color: #5f3a40;
    color: #fff;
}

.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: #c3a578;
    font-size: 19px;
    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;
}


/* =============================== 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: #8B6839;
    background-color: #d8ba76;
    position: absolute;
    top: 13px;
    right: 15px;
  }
  .navbar-collapse {
   background-color: #211e1e;
  }  
  .navbar-toggler-icon {
    color: #d8ba76;
  }  
  .navbar li a.parent-link  {
    padding: 7px 0;
  }
  .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;
  }
}
