/*
 Theme Name: Astra Child
 Template: astra
 Version: 1.0.0
*/
/*Couleur des titres*/
.tit-color{
	color:#78ADA5;
}
/* =========================================================
   Cartes “Vous aimerez aussi” – CSS consolidé
   ========================================================= */

/* ---------- Thématiques : masquées puis visibles au survol ---------- */
.offre-card .hover-thematiques{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.offre-card:hover .hover-thematiques{
  opacity: 1;
  transform: translateY(0);
}
.offre-card {
    position: relative;
}
/* ==================================================
   BANDEAU PUBLIC + FORMAT
   ================================================== */

.badge-offre {
    position: absolute;
    top: 0;
    left: 0px;
    right: 12px;
    z-index: 5;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;

	width: max-content;
    min-height: 42px;
    padding: 0 14px !important;
    margin: 0 !important;
    background-color: #7fb3ad;
    color: #ffffff;
    border-radius: 4px 4px 4px 4px;
    box-sizing: border-box;
	min-height: 38px;
    padding: 0 11px !important;
    font-size: 11px;
	max-width: calc(100% - 16px);
}


/* Petite puce colorée */

.badge-offre::before {
content: "";
    position: relative;
    top: 3px;
    left: 0px;
    right: 7px;
	margin-right: 9px;
	margin-left: 5px;
    width: 8px;
    vertical-align: middle;
    height: 8px;
    background-color: #c94a3d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.badge-offre.Entreprises::before {
	background-color: #E45D50;
}

.badge-offre.Particuliers::before {
    background-color: #C9E82E;
}

/* Empêche Elementor d'étirer les deux widgets */

.badge-offre > .elementor-element,
.badge-offre > .e-con {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}


/* Conteneurs internes Elementor */

.badge-public .elementor-widget-container,
.badge-format .elementor-widget-container {
    display: inline-flex;
    align-items: center;

    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;

    color: inherit;
}


/* Suppression des marges automatiques des paragraphes */

.badge-public p,
.badge-format p {
    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}


/* Séparateur entre Public et Format */

.badge-public::after {
    content: "|";
    margin: 0 7px;
    opacity: 0.7;
}


/* Sécurité si le shortcode n'est pas entouré d'un paragraphe */

.badge-public,
.badge-format {
    color: inherit !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}


/* ==================================================
   VERSION MOBILE
   ================================================== */

@media (max-width: 767px) {

    .badge-offre {
        left: 8px;
        right: 8px;
        min-height: 36px;
        padding: 0 10px !important;
    }

    .badge-public p,
    .badge-format p,
    .badge-public,
    .badge-format {
        font-size: 10px;
    }

    .badge-public .elementor-widget-container::after {
        margin: 0 9px;
    }
}
/* =========================================================
   GRILLE
   ========================================================= */
.offers-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;           /* toutes les cartes même hauteur */
}
@media (max-width: 1199px){
  .offers-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px){
  .offers-grid{ grid-template-columns: 1fr; gap: 22px; }
}

/* =========================================================
   CARTE : conteneur + hover + structure flexible
   ========================================================= */
.offre-card{
  background:#fff;
  border-radius:14px;
  box-shadow:0 1px 8px rgba(19,41,61,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow:hidden;

  /* structure */
  display:flex;
  flex-direction:column;
  height:100%;
}
.offre-card:hover,
.offre-card:focus-within{
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(19,41,61,.14);
}

/* wrapper Elementor interne */
.offre-card .elementor-widget-wrap{
  display:flex;
  flex-direction:column;
  flex-grow:1;
}

/* rendre toute la carte cliquable (Wrapper Link) */
.offre-card a:focus-visible{
  outline:2px solid #7b5bd6;
  outline-offset:2px;
}

/* =========================================================
   IMAGE
   ========================================================= */
.offre-card .offre-img img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:block;
}

/* =========================================================
   TITRE / EXCERPT / RYTHME
   ========================================================= */

/* Titre : clamp + hauteur mini → CTA toujours aligné */
.offre-card .titre .elementor-heading-title{
  line-height:1.25;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;     /* 2 lignes par défaut (passe à 3 si tu veux) */
  overflow:hidden;
  min-height:3em;         /* 2 × 1.25em */
}
/* Marge uniforme sous le widget titre */
.offre-card .titre.elementor-widget-heading{
  margin-bottom:.65rem;
}

/* Extrait : clamp + hauteur mini stable */
.offre-card .excerpt{
  color:#475569;
  margin-bottom:.75rem;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:3.6em;
}

/* Espace vertical entre widgets (hors pills) */
.offre-card .elementor-widget:not(:last-child){
  margin-bottom:.75rem;
}

/* Zone bas de carte (CTA + pills + badges) poussée en bas */
.offre-card .cta,
.offre-card .pills,
.offre-card .badges{
  margin-top:auto;
}
.offre-card .cta{ margin-bottom:.75rem; }
.offre-card .pills{ margin-bottom:.5rem; }

/* =========================================================
   PILLS (prix & durée)
   ========================================================= */

/* Ligne de pills */
.offre-card .pills{
  display:flex;
  align-items:center;
  gap:.5rem;
  flex-wrap:wrap;                  /* retour à la ligne si besoin */
}
/* Elementor ajoute des marges entre widgets : on supprime dans la ligne */
.offre-card .pills > .elementor-widget{ margin:0 !important; }

/* Style générique d’une pill */
.pill{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.75rem .75rem;
  border-radius:10px;
  border:1px solid #badbcd;
  background:var(--e-global-color-secondary-10,#e9f7f1);
  color:var(--e-global-color-text,#2e3a35);
  font-weight:500;
  font-size:0.7rem;
  line-height:1;
  white-space:normal;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Variantes + plafonds de largeur (pour garder l’alignement) */
.pill--price{
  --pill-bg:#e9f7f1;
  --pill-border:#cdece0;
  max-width:65%;
  word-break:break-word;
}
.pill--duration{
  --pill-bg:#f3f7fb;
  --pill-border:#d7e5f4;
  max-width:30%;
  word-break:break-word;
}

/* =========================================================
   BADGES (catégories / thématiques)
   ========================================================= */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  /* si Elementor insère des virgules entre les termes */
  letter-spacing:-.25em;
	font-size: 0.7rem;
}
.badges a, .badges span {
    display: inline-block;
    padding: .28rem .6rem;
    border-radius: 9999px;
    background: #F6F7FB;
    color: #41506B;
    font-size: 0.7rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 0.7rem;
    letter-spacing: normal;
}
.badges a + a::before{
  content:"";
  margin-left:.1rem;               /* compense le letter-spacing parent */
}
.badges a:hover,
.badges a:focus{ background:#EDEFF6; }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width:767px){
  .offre-card .excerpt{ -webkit-line-clamp:2; min-height:2.4em; }
  .offre-card .pills{ gap:.4rem; }
  /* si tu veux alléger visuellement */
  .badges{ display:none; }
}



/* === Harmonisation du widget Liste d'icônes Elementor avec les pastilles .keyfacts === */

.offre-hero{
  background: var(--c-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(20px, 3vw, 28px);
  margin: 12px 0 24px;
}

/* Conteneur global (le div portant la classe .keyfact) */
.keyfact .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .5rem;
  margin: .5rem 0 1rem;
  padding: 0;
  list-style: none;
}

/* Chaque élément de la liste */
.keyfact .elementor-icon-list-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--c-chip-bg, #eef6f3);
  color: var(--c-chip-text, #2f6e63);
  padding: .5rem .75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  transition: background .2s ease;
}

/* L'icône à gauche */
.keyfact .elementor-icon-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: inherit; /* même couleur que le texte */
}

/* Le texte */
.keyfact .elementor-icon-list-text {
  margin: 0;
  color: inherit;
}

/* Hover (optionnel) */
.keyfact .elementor-icon-list-item:hover {
  background: #ddeee8;
}

/* === Liste d’icônes Elementor > style "pastilles infos" quand le widget a la classe .keyfact === */

/* Le <ul> */
.keyfact .elementor-icon-list-items{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:.5rem .5rem !important;
  margin:.5rem 0 1rem !important;
  padding:0 !important;
  list-style:none !important;
}

/* Chaque <li> */
.keyfact .elementor-icon-list-item{
  display:inline-flex !important;
  align-items:center !important;
  gap:.4rem !important;

  background:#EEF6F3 !important;
  color:#2F6E63 !important;
  border:1px solid #badbcd !important;
  padding:.5rem .75rem !important;
  border-radius:9999px !important;

  font-weight:600 !important;
  font-size:.95rem !important;
  line-height:1 !important;

  /* au cas où Elementor positionne l’item */
  position:static !important;
}

/* Le conteneur d’icône à gauche */
.keyfact .elementor-icon-list-icon{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  /* Elementor met un padding calculé : on le neutralise */
  padding:0 !important;
  margin:0 !important;
  line-height:1 !important;
  color:inherit !important;
}

/* Le texte */
.keyfact .elementor-icon-list-text{
  margin:0 !important;
  color:inherit !important;
}

/* Rollover (optionnel) */
.keyfact .elementor-icon-list-item:hover{
  background:#DDEEE8 !important;
}
/*position amelia */
.amelia-v2-booking #amelia-container.am-fs__wrapper {
    margin-top: 0px!important;

}

/* Cartes */
.sec-audience .aud-card .elementor-widget-container{
  border: 1px solid var(--card-bd);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease, color .2s ease;
}

/* Icône, Titre, Texte */
.sec-audience .aud-card .elementor-icon{ 
  color: var(--brand);     /* icônes vert signature */
  font-size: 22px; line-height: 1;
}
.sec-audience .aud-card .elementor-icon svg{
  fill: currentColor;      /* pour les SVG */
}

.sec-audience .aud-card .elementor-icon-box-title,
.sec-audience .aud-card h4{
  color: var(--ink);       /* titres charcoal */
  margin: 8px 0 6px;
}

.sec-audience .aud-card .elementor-icon-box-description,
.sec-audience .aud-card p{
  color: var(--muted);     /* sous-titres gris doux */
  margin: 0;
}

/* Hover/focus */
.sec-audience .aud-card:hover .elementor-widget-container,
.sec-audience .aud-card:focus-within .elementor-widget-container{
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
.sec-audience .aud-card:hover .elementor-icon,
.sec-audience .aud-card:focus-within .elementor-icon{
  color: var(--accent);    /* icône dorée au hover */
}
.sec-audience .aud-card:hover h4,
.sec-audience .aud-card:focus-within h4{
  color: var(--brand);     /* titre passe en vert */
}

/* Petite note */
.sec-audience .aud-note{
  color: var(--muted);
  font-style: italic;
  margin-top: 14px;
  display: block;
}


/* icones card */
/* Icon Boxes : force un rendu outline (trait) */
.aud-card.icon-outline .score-icon svg{
  fill: none !important;
}

.aud-card.icon-outline .score-icon svg,
.aud-card.icon-outline .score-icon svg *{
  stroke: currentColor !important;
  stroke-width: 1.6 !important;   /* ajuste 1.3 → 2.0 selon le look */
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Forcer les icônes du widget "score-icon-boxes" en style outline */
.aud-card.icon--outline .score-icon svg {
  fill: none !important;          /* enlève le remplissage */
  stroke: currentColor !important; /* garde la couleur via color */
  stroke-width: 2 !important;      /* ajuste si besoin (1.5–2) */
}
.aud-card.icon--outline .score-icon svg g{
  fill: currentColor !important;        /* enlève le remplissage */
  stroke: currentColor !important; /* garde la couleur via color */
  stroke-width: 2 !important;      /* ajuste si besoin (1.5–2) */
}

/* Optionnel : éviter que le widget remette une taille étrange */
.aud-card.icon--outline .score-icon svg{
  width: 60px;
  height: 60px;
}
/*Note de bas de page */
.aud-note {
	font-size:0,9em;
}


.event-location-simple {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.event-location-simple address {
    margin: 0 !important;
    font-style: normal !important;
}

.event-location-simple a {
    display: none !important;
}
.event-location-simple .tec-events-elementor-event-widget__venue-container {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.event-location-simple .tec-events-elementor-event-widget__venue-details {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

.event-location-simple .tec-events-elementor-event-widget__venue-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* =========================================================
SINGLE EVENEMENT (container pleine largeur)
   ========================================================= */

.single-tribe_events .site-content .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: block !important;
}

.single-tribe_events #tribe-events-pg-template {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.fleches{
	box-shadow:none;
	-webkit-box-shadow:none;
}

/* =========================================================
   CATALOGUE DE FILTRES
   ========================================================= */


/* =========================================================
   OPTIONS DES FILTRES
   ========================================================= */

.catalogue-filtres .search-filter-field label,
.catalogue-filtres .search-filter-field .search-filter-input-label,
.catalogue-filtres .search-filter-input-checkbox__label,
.catalogue-filtres .search-filter-input-checkbox__count,
.catalogue-filtres .search-filter-field__input,
.catalogue-filtres .search-filter-input-text__input {
    font-size: 12px;
    line-height: 1.1;
}


/* Espacement entre les lignes d'options */
.catalogue-filtres .search-filter-field li,
.catalogue-filtres .search-filter-field .search-filter-option {
    margin-bottom: 6px;
}


/* =========================================================
   TITRES DES FILTRES + ICONES
   ========================================================= */

.catalogue-filtres .search-filter-label {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;

    margin-left: 0 !important;
    margin-right: 0 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: left !important;
    color: #24737a !important;
}


/* Icône générique */
.catalogue-filtres .search-filter-label::before {
    content: "";

    width: 15px;
    height: 15px;
    flex: 0 0 15px;

    background-color: currentColor;

    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}


/* RECHERCHER : loupe */
.catalogue-filtres .filtre-recherche .search-filter-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a6 6 0 1 0 0 12a6 6 0 0 0 0-12Zm0-2a8 8 0 1 1 4.9 14.3l4.4 4.4l-1.4 1.4l-4.4-4.4A8 8 0 0 1 10 2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 4a6 6 0 1 0 0 12a6 6 0 0 0 0-12Zm0-2a8 8 0 1 1 4.9 14.3l4.4 4.4l-1.4 1.4l-4.4-4.4A8 8 0 0 1 10 2Z'/%3E%3C/svg%3E");
}


/* PUBLIC : utilisateur */
.catalogue-filtres .filtre-public .search-filter-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10a5 5 0 0 0 0 10Zm0 2c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10a5 5 0 0 0 0 10Zm0 2c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Z'/%3E%3C/svg%3E");
}


/* FORMAT : grille */
.catalogue-filtres .filtre-format .search-filter-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h8v8H3V3Zm10 0h8v8h-8V3ZM3 13h8v8H3v-8Zm10 0h8v8h-8v-8Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h8v8H3V3Zm10 0h8v8h-8V3ZM3 13h8v8H3v-8Zm10 0h8v8h-8v-8Z'/%3E%3C/svg%3E");
}


/* PUBLIC CIBLE : cible */
.catalogue-filtres .filtre-public-cible .search-filter-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10h-2a8 8 0 1 1-8-8V2Zm0 5a5 5 0 1 0 5 5h-2a3 3 0 1 1-3-3V7Zm8-5v3h-3v2h3v3h2V7h3V5h-3V2h-2Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10h-2a8 8 0 1 1-8-8V2Zm0 5a5 5 0 1 0 5 5h-2a3 3 0 1 1-3-3V7Zm8-5v3h-3v2h3v3h2V7h3V5h-3V2h-2Z'/%3E%3C/svg%3E");
}


/* BESOINS : coeur */
.catalogue-filtres .filtre-besoins .search-filter-label::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-7.5-4.5-10-9C-.2 8 2.2 4 6.3 4c2.2 0 4 1.2 5.7 3.1C13.7 5.2 15.5 4 17.7 4C21.8 4 24.2 8 22 12c-2.5 4.5-10 9-10 9Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-7.5-4.5-10-9C-.2 8 2.2 4 6.3 4c2.2 0 4 1.2 5.7 3.1C13.7 5.2 15.5 4 17.7 4C21.8 4 24.2 8 22 12c-2.5 4.5-10 9-10 9Z'/%3E%3C/svg%3E");
}


/* =========================================================
   SEPARATEURS DES FILTRES
   ========================================================= */

.catalogue-filtres .filtre-public,
.catalogue-filtres .filtre-format,
.catalogue-filtres .filtre-public-cible,
.catalogue-filtres .filtre-besoins {
    border-top: 1px solid rgba(36, 115, 122, 0.12);
    padding-top: 12px;
    margin-top: 12px;
}


/* Majuscule Public : Particulier / Entreprise */
.catalogue-filtres .filtre-public label {
    text-transform: capitalize;
}


/* =========================================================
   CHAMP DE RECHERCHE
   ========================================================= */

.catalogue-filtres .search-filter-input-text {
    position: relative;
}


/* Champ */
.catalogue-filtres .search-filter-input-text__input {
    height: 34px !important;
    min-height: 34px !important;

    padding: 4px 10px 4px 34px !important;

    font-size: 12px !important;
    line-height: 1.2 !important;

    border-radius: 5px !important;
}


/* Placeholder */
.catalogue-filtres .search-filter-input-text__input::placeholder {
    font-size: 11px !important;
    opacity: 0.70;
}


/* Loupe dans le champ */
.catalogue-filtres .search-filter-input-text__icon {
    position: absolute !important;

    left: 11px !important;
    top: 50% !important;

    transform: translateY(-80%) !important;

    width: 14px !important;
    height: 14px !important;

    margin: 0 !important;
}


/* Espace après Recherche */
.catalogue-filtres .search-filter-field--type-search {
    margin-bottom: 10px !important;
}


/* =========================================================
   CHIPS DES FILTRES ACTIFS
   ========================================================= */

.filtres-actifs .search-filter-input-button-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}


.filtres-actifs .search-filter-input-button {
    display: inline-flex !important;
    align-items: center !important;

    gap: 6px !important;

    padding: 6px 10px !important;
    min-height: auto !important;

    border-radius: 999px !important;
    border: 1px solid rgba(36, 115, 122, 0.18) !important;

    background: rgba(111, 175, 165, 0.14) !important;
    color: #24737a !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    box-shadow: none !important;

    text-transform: capitalize !important;
}


/* Croix */
.filtres-actifs .search-filter-input-button .search-filter-icon {
    width: 10px !important;
    height: 10px !important;
    margin: 0 !important;
}


/* Hover */
.filtres-actifs .search-filter-input-button:hover {
    background: rgba(111, 175, 165, 0.22) !important;
    color: #24737a !important;
}


/* =========================================================
   TRI DU CATALOGUE
   ========================================================= */

.filtre-tri {
    width: 185px !important;
    flex-shrink: 0 !important;
}


/* Conteneur du champ */
.filtre-tri .search-filter-component-combobox-base {
    font-size: 11px;

    border: 1px solid rgba(70, 100, 100, 0.18) !important;
    border-radius: 4px !important;

    box-shadow: none !important;
}


/* Focus */
.filtre-tri .search-filter-component-combobox-base:focus-within {
    border-color: rgba(80, 110, 110, 0.40) !important;
    box-shadow: none !important;
}


/* Texte "Trier par..." */
.filtre-tri .search-filter-component-combobox__selection-placeholder,
.filtre-tri .search-filter-component-combobox__selection {
    font-size: 11px !important;
    color: #8b8b8b !important;
    line-height: 1.2 !important;
}

/* Sécurité : texte interne */
.filtre-tri .search-filter-component-combobox__selection * {
    font-size: 11px !important;
}

/* Zone du texte */
.filtre-tri .search-filter-component-combobox__selection {
    min-height: 30px !important;
    padding: 6px 28px 6px 8px !important;

    display: flex !important;
    align-items: center !important;
}


/* Zone contenant les actions */
.filtre-tri .search-filter-component-combobox__actions {
    width: 24px !important;
    min-width: 24px !important;
}


/* Zone du chevron */
.filtre-tri .search-filter-component-combobox__listbox-toggle {
    width: 24px !important;
    min-width: 24px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;
}


/* Chevron */
.filtre-tri .search-filter-component-combobox__listbox-toggle .search-filter-icon {
    width: 10px !important;
    height: 10px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;

    transform: none !important;
    opacity: 0.45 !important;
}


.filtre-tri .search-filter-component-combobox__listbox-toggle svg {
    width: 10px !important;
    height: 10px !important;

    display: block !important;
}


/* Liste déroulante */
.filtre-tri .search-filter-component-combobox-base__listbox {
    font-size: 11px !important;

    border: 1px solid rgba(80, 110, 110, 0.20) !important;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}


/* Options du tri */
.filtre-tri .search-filter-component-combobox-base__option {
    font-size: 11px !important;
    padding: 6px 9px !important;
}
.filtre-tri input.search-filter-component-combobox__actions-input {
    font-size: 11px !important;
    color: #8b8b8b !important;
}

.filtre-tri input.search-filter-component-combobox__actions-input::placeholder {
    font-size: 11px !important;
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.offre-description {
    min-height: 80px;
}

.offre-description,
.offre-description p,
.offre-description .elementor-shortcode {
    font-size: 12px !important;
    line-height: 1.55 !important;
}
.offre-titre {
    min-height: 40px;
}

/* ==================================================
   RESET DES FILTRES
   ================================================== */

.reset-filtres {
    margin-top: 10px;
}

.reset-filtres .search-filter-input-button {
    /* Annule le style bouton général */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 4px 0 !important;
    min-height: 0 !important;
    width: auto !important;

    /* Typographie */
    color: #6f7f7d !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;

    /* Alignement */
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;

    cursor: pointer;
}

/* Petite icône reset */
.reset-filtres .search-filter-input-button::before {
    content: "↻";
    color: #197b83;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

/* Survol */
.reset-filtres .search-filter-input-button:hover {
    background: transparent !important;
    color: #197b83 !important;
    box-shadow: none !important;
}

/* Petit effet sur l'icône au survol */
.reset-filtres .search-filter-input-button:hover::before {
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}
/* Sidebar catalogue sticky */
.catalogue-sidebar {
    position: sticky;
    top: 160px;
    align-self: flex-start;
}
@media (max-width: 1024px) {
    .catalogue-sidebar {
        position: static;
    }
}
/* on limite les badges besoins à 3 sur les cartes*/
.offre-besoins .besoin-tag:nth-child(n+6) {
    display: none;
}


/* =========================================
   PROCHAINS ÉVÉNEMENTS - SIDEBAR BLOG
   Events Calendar Templates - Minimal style 3
   ========================================= */

/* Carte événement */
#secondary .ect-list-posts.style-3 {
    border: 1px solid #e2e2e2;
    border-left: 0;
    margin-bottom: 14px;
    background: #fff;
}

/* Colonne date */
#secondary .ect-list-posts.style-3 .ect-event-dates {
    width: 58px;
    min-width: 58px;
    background: #78ADA5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Jour + mois */
#secondary .ect-list-posts.style-3 .ect-event-datetimes {
    text-align: center;
    line-height: 1.1;
}

#secondary .ect-list-posts.style-3 .ev-day {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

#secondary .ect-list-posts.style-3 .ev-mo {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

/* Partie droite */
#secondary .ect-list-posts.style-3 .ect-right-wrapper {
    padding: 14px 14px 14px 15px;
}

/* Horaire / période */
#secondary .ect-list-posts.style-3 .ect-minimal-list-time {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
    margin-bottom: 7px;
}

/* Titre */
#secondary .ect-list-posts.style-3 .ect-events-title {
    line-height: 1.4;
}

#secondary .ect-list-posts.style-3 .ect-events-title a {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

/* Hover du titre */
#secondary .ect-list-posts.style-3 .ect-events-title a:hover {
    color: #78ADA5;
}
#secondary .ect-list-posts.style-3 .ect-event-datetimes {
    background: transparent !important;
    padding: 0 !important;
}
#secondary .ect-list-posts.style-3 .ect-events-title a {
    font-size: 12px!important;
    line-height: 1.25;
    font-weight: 600;
}
#secondary .ect-list-posts.style-3 .ect-minimal-list-time {
    color: #777;
    font-size: 11px;
    margin-bottom: 8px;
}
#secondary #ect-events-minimal-list-content::before {
    content: "Événements à venir";
    display: block;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}
/* Titre du formulaire de contact dans la sidebar */
#secondary .sidebar-contact::before {
    content: "Contactez-moi";
    display: block;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #333;
    margin-bottom: 22px;
}
.single-post .ast-single-post-featured-section.post-thumb {
    overflow: hidden;
}

.single-post .ast-single-post-featured-section.post-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}