/* ================================
   EASYBLOG - REPRODUCTION JOOMLA 3
   ================================ */

/* couleur de fond su site bleu-clair*/
body {background-color: #D3EBCD;}
.site-grid .container-component {background-color: white;}
/*titre article*/
.page-header h1 {
  font-size: 18px;
  line-height: 20px;
  color: white;
  padding: 5px;
  text-align: center;}
.page-header {background-color: #D3EBCD;}


/* TITRE POST MAGAZINE */
.eb-post-body.type-standard p {
    display: none !important;
}


#eb .eb-mag-post-title a {
    font-size: 30px !important;
    line-height: 1.2 !important;
    margin: 20px 0 10px !important;
    overflow: hidden !important;
    background: rgba(0,0,0,.75) !important;
    color: #fff !important;
    padding: 10px !important;
    display: block !important;
}

/* BORDURE POST */
#eb .eb-mag-post.has-border {
    border-bottom: 0 !important;
}

/* GRID MAGAZINE */
#eb .eb-mag .eb-mag-grids {
    top: -50px !important;
    position: relative !important;
}

#eb .eb-mag .eb-mag-grids__item > div {
    padding: 10px 20px 0 0 !important;
}

/* TITRE MAGAZINE (categorie, etc) */
#eb .eb-mag-title {
    font-size: 13px !important;
    font-weight: bold !important;
    line-height: 17px !important;
    background: rgba(0,0,0,.65) !important;
    color: #fff !important;
    padding: 2px 10px !important;
    top: -57px !important;
    position: relative !important;
    height: 55px !important;

  
    /* Animation hover */
 /*   transition: transform 0.3s ease, background 0.3s ease;
}

#eb .eb-mag-title:hover {
    transform: scale(1.05);
    background: rgba(0,0,0,0.75) !important;
}

/* Effet hover animé sur le titre du magazine */

 /*   transition: all 0.3s ease; /* transition douce pour tous les changements */
}

/*#eb .eb-mag-title:hover {
    background: rgba(0,0,0,0.85); /* fond légèrement plus foncé */
   /* transform: scale(1.05);       /* légère augmentation de taille */
/*}

/* Effet hover subtil sur le titre du magazine */
#eb .eb-mag-title {
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease; /* transition douce pour le fond et la couleur */
}

#eb .eb-mag-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 7px; /* épaisseur de l'effet soulignement */
    background: #fff; /* couleur du soulignement */
    transition: width 0.3s ease;
}

#eb .eb-mag-title:hover {
    background: rgba(0,0,0,0.75); /* fond légèrement plus foncé au survol */
}

#eb .eb-mag-title:hover::after {
    width: 100%; /* soulignement animé qui se déploie */
}





  

/* CONTENU POST */
#eb .eb-mag .eb-mag-body {
    font-size: 14px !important;
    line-height: 20px !important;
    top: -50px !important;
    position: relative !important;
}

/* Afficher le body */
#eb .eb-mag-body {
    width: 100% !important;
    display: none !important;
}

#eb .eb-mag-post .eb-mag-body {
    display: block !important;
}

/* DATE POST */
#eb .eb-mag-post .eb-mag-meta-date {
    color: #fff !important;
    font-size: 16px !important;
    top: -99px !important;
    position: relative !important;
    background: #80bb81 !important;
    padding: 6px !important;
}

#eb .eb-mag-meta-date {
    color: #fff !important;
    font-size: 12px !important;
    top: -78px !important;
    position: relative !important;
    background: #80bb81 !important;
    padding: 6px !important;
}

/* IMAGE MAGAZINE */
#eb .eb-mag-thumb {
    margin: 0 !important;
    border-radius: 10px !important;
}

/* ITEM GRIDS */
#eb .eb-mag .eb-mag-grids__item {
    flex: 0 33.33333333% !important;
    padding: 0 !important;
    max-height: 250px !important;
}

/* POST SECTION HEADING */
#eb .eb-section-heading {
    border-bottom: 1px dotted #80bb81 !important;
    font-family: inherit !important;
    font-size: 20px !important;
    font-weight: bold !important;
    padding: 20px 0 5px 0 !important;
    margin: 20px 0 !important;
    text-transform: uppercase !important;
    color: #80bb81 !important;
}

/* RELATED POSTS */
#eb .eb-entry-nav {
    border: 1px solid #80bb81 !important;
    border-radius: 3px !important;
    margin: 20px 0 !important;
    overflow: hidden !important;
    font-size: 13px !important;
    background: #80bb81 !important;
    text-transform: uppercase !important;
}

#eb .eb-entry-nav > div > a .fa {
    color: #000 !important;
    font-size: 25px !important;
}

body #eb .eb-post-title .text-inherit {
    color: #548b8b !important;
}

/* BOUTON CONTINUE READING */
#eb .magazine-btn.magazine-btn-more {
    display: inline-block !important;
    background: #80bb81 !important;
    color: #fff !important;
    padding: 8px 15px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    margin-top: 10px !important;
}

#eb .magazine-btn.magazine-btn-more:hover {
    background: #548b8b !important;
    color: #fff !important;
}

/** css du menu left-side-bar vert */
body .sidebar-left.card {
  background: rgba(249,243,237,0.95) !important;
  backdrop-filter: blur(6px);
  border-radius: 10px !important;
  border: 1px solid rgba(128,187,129,0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  overflow: hidden !important;
  margin-bottom: 25px !important;
  transition: all 0.3s ease;
}

body .sidebar-left.card .card-header {
  background: #80bb81 !important;
  color: #ffffff !important;
  padding: 12px 18px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  border-radius: 10px 10px 0 0 !important;
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 !important;
}

body .sidebar-left.card .card-body { padding: 10px 14px !important; }
body .sidebar-left.card .mod-menu { padding: 0; margin: 0; list-style: none !important; }
body .sidebar-left.card .mod-menu .nav-item { margin-bottom: 2px; position: relative; }
body .sidebar-left.card .mod-menu .nav-item a {
  display: block; padding: 5px 8px; border-radius: 4px;
  color: #4f7a4f !important; line-height: 1.1; font-size: 0.95rem;
  font-weight: 500; text-decoration: none; transition: all 0.2s ease;
}
body .sidebar-left.card .mod-menu .nav-item a:hover {
  background: rgba(128,187,129,0.15) !important; color: #2f502f !important;
}
body .sidebar-left.card .mod-menu .nav-item.current > a {
  background: rgba(128,187,129,0.25) !important; color: #2f502f !important;
  font-weight: 600; padding-left: 12px;
}
body .sidebar-left.card .mod-menu .nav-item.current::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 5px; height: 100%; background-color: #80bb81; border-radius: 2px;
}
body .sidebar-left.card .mod-menu .nav-item.current > a::after {
  content: '▸'; margin-left: 6px; color: #80bb81; font-size: 0.9em;
}
body .sidebar-left.card .mod-menu .nav-item.active:not(.current) > a {
  background: transparent !important; color: #4f7a4f !important;
}
