.elementor-413 .elementor-element.elementor-element-7061a7f7{--display:flex;}.elementor-413 .elementor-element.elementor-element-174c219{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-413 .elementor-element.elementor-element-174c219.elementor-element{--align-self:center;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-413 .elementor-element.elementor-element-85ba875{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-413 .elementor-element.elementor-element-079acf1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-413 .elementor-element.elementor-element-f7c397e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-413 .elementor-element.elementor-element-bc03920{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-174c219 *//* ==============================
   XRDB COUNTS (improved)
   - 1 ligne / 4 colonnes partout
   - scroll horizontal propre si écran trop étroit
   - cartes cliquables sans hover agressif
   ============================== */

/* Bloc */
.xrdb-counts{
  width: min(980px, 92vw);
  margin: 2rem auto;
  padding: clamp(1.2rem, 2vw, 2rem);
  border-radius: 18px;
  background: rgba(0,0,0,0.03);
  overflow: hidden; /* évite les débordements visuels */
}

/* Titre (si utilisé) */
.xrdb-counts-title{
  margin: 0 0 1.2rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  text-align: center;
}

/* Grille : toujours 4 colonnes (1 ligne) */
.xrdb-counts-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* Si écran trop étroit : on garde 1 ligne et on autorise le scroll */
@media (max-width: 640px){
  .xrdb-counts{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .xrdb-counts-grid{
    min-width: 640px; /* force 4 cartes sur une seule ligne */
  }
}

/* Carte (lien) */
.xrdb-count-card{
  padding: 1.1rem 1rem;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  transition: none; /* hover neutre */
}

/* Hover neutre : ne change rien */
.xrdb-count-card:hover,
.xrdb-count-card:focus,
.xrdb-count-card:active{
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  transform: none;
  filter: none;
  opacity: 1;
}

/* Chiffre */
.xrdb-count-number{
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Ligne label + icône */
.xrdb-count-label-line{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

/* Icône */
.xrdb-count-icon{
  font-size: 18px;
  line-height: 1;
  width: 18px;
  height: 18px;
}

/* Label */
.xrdb-count-label{
  font-size: 0.95rem;
  opacity: 0.75;
  margin: 0;
  white-space: nowrap;
}

/* Optionnel : un peu plus compact sur très petit écran (si tu veux éviter un scroll trop long) */
@media (max-width: 420px){
  .xrdb-count-card{ padding: 1rem 0.85rem; }
  .xrdb-count-label{ font-size: 0.9rem; }
  .xrdb-count-icon{ font-size: 17px; width: 17px; height: 17px; }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-31fea9c *//* =========================================================
   XRDB — TOP RATED EXPERIENCES
   Clean grid / no overflow right
   Target: .xrdb-top-rated-gallery only
   ========================================================= */

/* ---------- Safe box sizing ---------- */
.xrdb-top-rated-gallery,
.xrdb-top-rated-gallery *{
  box-sizing: border-box;
}

/* ---------- Base ---------- */
.xrdb-top-rated-gallery{
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

.xrdb-top-rated-gallery > *{
  max-width: 100%;
}

/* Inner wrapper feel */
.xrdb-top-rated-gallery .xrdb-top-rated-title,
.xrdb-top-rated-gallery .xrdb-top-rated-grid,
.xrdb-top-rated-gallery .xrdb-top-rated-empty{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Title ---------- */
.xrdb-top-rated-gallery .xrdb-top-rated-title{
  margin: 0 0 18px;
  text-align: left;
}

/* ---------- Grid ---------- */
.xrdb-top-rated-gallery .xrdb-top-rated-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1200px;
  margin-top: 10px;
  justify-items: stretch;
  align-items: start;
}

@media (min-width: 768px){
  .xrdb-top-rated-gallery .xrdb-top-rated-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px){
  .xrdb-top-rated-gallery .xrdb-top-rated-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Card ---------- */
.xrdb-top-rated-gallery .xrdb-top-rated-card{
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ededed;
  background: #fff;
  text-align: left;
}

.xrdb-top-rated-gallery .xrdb-top-rated-card:hover,
.xrdb-top-rated-gallery .xrdb-top-rated-card:focus,
.xrdb-top-rated-gallery .xrdb-top-rated-card:active{
  border-color: #e2e2e2;
}

.xrdb-top-rated-gallery .xrdb-top-rated-link{
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none !important;
}

/* ---------- Poster ---------- */
.xrdb-top-rated-gallery .xrdb-top-rated-thumb{
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #f3f3f3;
}

.xrdb-top-rated-gallery .xrdb-top-rated-thumb img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xrdb-top-rated-gallery .xrdb-top-rated-thumb--empty{
  background-color: #f3f3f3;
  background-image: url("/wp-content/uploads/xrmust-logo-grey.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 62% auto;
  opacity: 0.55;
}

/* ---------- Body ---------- */
.xrdb-top-rated-gallery .xrdb-top-rated-body{
  padding-top: 10px;
}

.xrdb-top-rated-gallery .xrdb-top-rated-name{
  margin: 0 0 8px;
  font-weight: 600;
  color: #EF3B2D;
  text-align: center;
  font-size: 16px;
  line-height: 1.15;
  text-decoration: none;
  min-width: 0;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: calc(1.15em * 2);
}

@media (max-width: 640px){
  .xrdb-top-rated-gallery .xrdb-top-rated-name{
    font-size: 15px;
  }
}

/* ---------- Rating ---------- */
.xrdb-top-rated-gallery .xrdb-top-rated-rating{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4px;
  text-align: center;
}

.xrdb-top-rated-gallery .xrdb-stars{
  display: inline-flex;
  gap: 2px;
  line-height: 1;
}

.xrdb-top-rated-gallery .xrdb-star{
  font-size: 15px;
}

.xrdb-top-rated-gallery .xrdb-star-full,
.xrdb-top-rated-gallery .xrdb-star-half{
  color: #EF3B2D;
}

.xrdb-top-rated-gallery .xrdb-star-empty{
  color: #cfcfcf;
}

.xrdb-top-rated-gallery .xrdb-top-rated-votes{
  display: block;
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.2;
}

/* ---------- Empty ---------- */
.xrdb-top-rated-gallery .xrdb-top-rated-empty{
  margin-top: 10px;
  text-align: center;
  opacity: 0.75;
}/* End custom CSS */