/*
Theme Name:     La Drums Compagnie
Description:    Ascend Child Theme by dstgta | Team Helper
Author:         dstgta
Author URI:     https://www.team-helper.fr
Template:       ascend                         
Version:        1.4.17
*/
/* =========================================
   La Drums Compagnie - Overrides scroll-to-top (topcontrol)
   Charte : orange brand #f28c1b, arrondi, chevron blanc
   ========================================= */

#topcontrol .to_the_top {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: #f28c1b;
  border: 2px solid #f28c1b;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 6px 18px rgba(242, 140, 27, 0.35);
  box-sizing: content-box;
}
#topcontrol .to_the_top:hover {
  background: #e07c0f;
  border-color: #e07c0f;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(242, 140, 27, 0.5);
}
#topcontrol .to_the_top > div {
  font-size: 22px;
  line-height: 26px;
  padding-top: 11px;
  color: #ffffff;
}
/* Icône chevron plus lisible */
#topcontrol .to_the_top .kt-icon-chevron-up::before {
  color: #ffffff;
}

/* =========================================
   Menu déroulant : élargir les sous-menus
   pour que chaque item tienne sur une ligne
   ========================================= */
.sf-menu.sf-menu-normal > li > ul {
  min-width: 15em !important;
  white-space: nowrap !important;
}
.sf-menu.sf-menu-normal > li > ul a {
  white-space: nowrap !important;
}

/* =========================================
   Pagination : boutons carrés arrondis orange
   actif orange plein, inactifs bordure orange
   ========================================= */
.wp-pagenavi a,
.wp-pagenavi span {
  padding: 8px 16px !important;
  font-weight: 600 !important;
  margin: 5px 4px !important;
  display: inline-block;
  color: #f28c1b !important;
  border: 2px solid #f28c1b !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  text-align: center;
  min-width: 44px;
  line-height: 1.2;
  font-size: 1rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.wp-pagenavi a i {
  vertical-align: middle;
  font-size: 20px;
  line-height: 20px;
  display: inline-block;
  width: 16px;
  color: #f28c1b !important;
}
.wp-pagenavi a:hover {
  border-color: #e07c0f !important;
  color: #ffffff !important;
  background: #e07c0f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(242, 140, 27, 0.35);
}
.wp-pagenavi .current {
  color: #ffffff !important;
  border-color: #f28c1b !important;
  background: #f28c1b !important;
  box-shadow: 0 4px 12px rgba(242, 140, 27, 0.35);
}

/* =========================================
   Cartes d'article : look "évènementiel enfant"
   Palette vive (logo) + beige de charte
   Bandeau coloré, badge, image, titre
   ========================================= */
.blog_item.grid_item {
  position: relative;
  background: #fcedde;                 /* beige chaud de charte */
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(63, 75, 93, 0.12);
  overflow: hidden;
  -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog_item.grid_item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 64, 192, 0.18);
}
/* Bandeau coloré animé en haut de carte */
.blog_item.grid_item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg,
    #1040c0 0%, #00b0e0 25%,
    #f08010 50%, #f0c000 75%, #d02070 100%);
  z-index: 2;
}
/* Image : coins arrondis + zoom au survol */
.blog_item.grid_item .blog-grid-media,
.blog_item.grid_item .imghoverclass {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.blog_item.grid_item .blog-grid-media img {
  -webkit-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
  display: block;
}
.blog_item.grid_item:hover .blog-grid-media img {
  -webkit-transform: scale(1.06);
  -ms-transform: scale(1.06);
  -o-transform: scale(1.06);
  transform: scale(1.06);
}
/* Contenu */
.blog_item.grid_item .postcontent {
  padding: 18px 22px 22px;
}
/* Badge catégorie : pilule colorée vive */
.blog_item.grid_item .kt-post-cats {
  margin-bottom: 8px;
}
.blog_item.grid_item .kt-post-cats a {
  display: inline-block;
  background: #1040c0;
  color: #ffffff !important;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-transition: background 0.2s ease, transform 0.2s ease;
  -o-transition: background 0.2s ease, transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease;
}
.blog_item.grid_item .kt-post-cats a:hover {
  background: #d02070;
  transform: translateY(-1px);
}
/* Titre */
.blog_item.grid_item .postcontent header {
  margin-bottom: 10px;
}
.blog_item.grid_item .postcontent h2.entry-title {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #2e3540;
  font-weight: 700;
  -webkit-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
.blog_item.grid_item .postcontent h2.entry-title a {
  color: #2e3540;
}
.blog_item.grid_item .postcontent h2.entry-title a:hover {
  color: #1040c0;
}
/* Extrait + lien "Lire la suite" */
.blog_item.grid_item .postcontent .entry-content p {
  color: #5a6575;
  font-size: 1.5rem;
  line-height: 1.5;
  margin: 0 0 10px;
}
.blog_item.grid_item .postcontent .entry-content a.more-link,
.blog_item.grid_item .postcontent .more-link,
.blog_item.grid_item .postcontent .entry-content a {
  color: #f08010 !important;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
  border-bottom: none !important;
  box-shadow: none;
  -webkit-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
.blog_item.grid_item .postcontent .entry-content a:hover {
  color: #d02070 !important;
}
/* Footer de la carte */
.blog_item.grid_item .post-grid-footer-meta {
  border-top: 1px solid #f08010;
  margin-top: 12px;
  padding: 12px 0 0 !important;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #1040c0;
}
.blog_item.grid_item .kt-post-date {
  font-size: 1.3rem;
}
