@media (min-width: 1200px) {
    .container {
        width: 1200px;
    }
}

h3 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.h4, h4 {
    font-size: 17px;
    margin-top: 0px;
    margin-bottom: 5px;
}

#homeArticle_wrapper {
  height: 520px;      
}   

#homeArticle_slide,
#homeArticle_slide .tp-revslider-mainul,
#homeArticle_slide .tp-revslider-slidesli {
  height: 520px !important;
}

#homeArticle_wrapper {
  height: 520px;
}

#homeArticle {
  overflow: hidden;
}

@media (max-width: 767px) {
  #homeArticle_wrapper {
    height: auto;
  }
}

#homeArticle {
  padding-bottom: 208px;
}

#homeArticle{ padding-bottom: 208px; }

@media (max-width: 991px){
  #homeArticle{ padding-bottom: 80px; }
}

@media (max-width: 767px){
  #homeArticle{ padding-bottom: 0 !important; }
}

  #homeArticle_wrapper{
  position: relative;
  width: 100%;
  height: 520px;      /* ta hauteur */
  overflow: hidden;   /* évite que ça déborde visuellement */
}

/* optionnel mais souvent utile : forcer le bloc homeArticle à englober */
#homeArticle{
  overflow: auto; /* ou hidden; selon ton design */
}


.bookDetail .fancybox img,
.bookDetail a.fancybox img {
  width: 100%;
  height: auto;
  display: block;
}

hr {
    margin-top: 17px;
    margin-bottom: 17px;
    border-top: none;
    background: url(../images/hr.png) center no-repeat;
    height: 19px;
    width: 100%;
}

/* HR responsive – version smartphone */
@media (max-width: 768px) {
  hr {
    background: url(../images/hr300.jpg) center no-repeat;
    margin: 10px auto;
    background-position: center;
  }
}


hr.hr-center {
  background: none;          /* supprime l'image hr.png */
  background-color: #000;    /* trait noir */
  border: none;
  height: 1px;
  width: 120px;
  margin: 25px auto;
}


/*************************************
 * Panel product : image + texte qui chevauche
 *************************************/

/* Fallback si Bootstrap n'est PAS chargé (d-md-flex / align-items-center) */
@media (min-width: 768px){
  .d-md-flex{ display:flex !important; }
  .align-items-center{ align-items:center !important; }
}
.d-block{ display:block; } /* au cas où */

/* Conteneur */
.panel-product{
  position: relative;
  margin: 40px 0;
  gap: 0;
}

/* Image */
.panel-product .block-img{
  width: 48%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

/* Variante “image à droite” */
.panel-product.panel-product-right{
  flex-direction: row-reverse;
}

/* Bloc texte (celui qui chevauche) */
.panel-product .block-text{
  position: relative;
  z-index: 10;
  width: 60%;
  margin: 80px 0 40px -60px;  /* chevauche à gauche */
  padding: 18px;
  background: #fff;
  border: 1px solid #00000040;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

/* Quand l’image est à droite, on chevauche à droite */
.panel-product.panel-product-right .block-text{
  margin: 34px -60px 18px 0;
}

/* Titres / hr (optionnel, mais ça colle à ton exemple) */
.panel-product .block-text .title{
  text-transform: uppercase;
  text-align: center;
}

hr.hr-left{
  margin-left: 0;
}

/* Mobile : on empile et on annule le chevauchement */
@media (max-width: 767px){
  .panel-product{
    display: block !important;
    margin: 25px 0;
  }
  .panel-product .block-img{
    width: 100%;
  }
  .panel-product .block-text,
  .panel-product.panel-product-right .block-text{
    width: 100%;
    margin: -20px 0 20px 0; /* petit recouvrement “soft” (mets 0 si tu veux zéro chevauchement) */
    padding: 20px;
  }
}

/* Fade on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* option : variante plus soft */
.reveal.reveal-soft {
  transform: translateY(10px);
  transition-duration: .9s;
}

.mainContent .innerContent {
    margin: 20px 0px;
    padding: 8px;
}

/*********** MAP******************/

/* Full-width map like Florabio */
/* ===== Contact : Map fullwidth (style Florabio) ===== */
.contact-map-fullwidth{
  width:100%;
  margin:0;
  padding:0;
}

.contact-map-wrap{
  position:relative;
  width:100%;
  height:420px;         /* ajuste si tu veux plus/moins haut */
  overflow:hidden;
}

@media (max-width: 768px){
  .contact-map-wrap{ height:320px; }
}

.contact-map-iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* Overlay “logo + adresse + itinéraire” */
.contact-map-overlay{
  position:absolute;
  left:24px;
  bottom:24px;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  background:rgba(0,0,0,.65);
  color:#fff;
  text-decoration:none;
  border-radius:14px;
  max-width: calc(100% - 48px);
  box-shadow:0 10px 25px rgba(0,0,0,.25);
}

.contact-map-logo{
  width:56px;
  height:56px;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
}

.contact-map-address{
  font-size:14px;
  line-height:1.2;
  display:block;
  white-space:normal;
}

.contact-map-cta{
  margin-left:auto;
  padding:10px 12px;
  border-radius:10px;
  background:#c00;      /* si tu veux autre couleur, change ici */
  color:#fff;
  font-weight:bold;
  display:inline-block;
  flex:0 0 auto;
}

@media (max-width: 480px){
  .contact-map-overlay{
    left:12px;
    right:12px;
    bottom:12px;
    max-width:none;
    width:auto;
    gap:10px;
    padding:12px 12px;
  }
  .contact-map-logo{ width:44px; height:44px; }
  .contact-map-cta{ padding:9px 10px; }
}
/* ===== Contact : Leaflet marker logo (replace default marker) ===== */
.contact-map-leaflet{
  width:100%;
  height:100%;
}

/* Hide attribution/credits (note: OSM/CARTO attribution is normally required) */
.contact-map-leaflet-wrap.no-attrib .leaflet-control-attribution,
.contact-map-leaflet-wrap.no-attrib .leaflet-control-attribution a{
  display:none !important;
}

/* Logo marker */
.contact-map-marker{
  background: transparent !important;
  border: none !important;
}

.contact-map-marker-badge{
  width:64px;
  height:64px;
  border-radius:999px;
  background: rgba(0,0,0,.70);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}

.contact-map-marker-badge img{
  width:42px;
  height:42px;
  object-fit:contain;
  display:block;
}
