
/* QFEF V6 — FINITIONS */

/* HERO HÉBERGEMENTS : texte directement sur la photo */
body.qfef-hebergements-index-synced
#hebergements .qfef-bandeau-contenu,
body.qfef-hebergements-index-synced
#hebergements .qfef-bandeau-contenu::before {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* HERO ACTIVITÉS : aucun encart */
#qfa-page .qfa-hero.qfef-photo-active
> div:not(.qfa-hero-photo),
#qfa-page .qfa-hero.qfef-photo-active
.qfa-hero-copy,
#qfa-page .qfa-hero.qfef-photo-active
.qfa-hero-content {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Textes blancs dans les deux HERO */
body.qfef-hebergements-index-synced
#hebergements :is(h1,p,span),
#qfa-page .qfa-hero.qfef-photo-active
:is(h1,h2,p,span,small) {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.65) !important;
}

/* ACTIVITÉS : une seule photo, en fond */
#qfa-page .qfa-hero.qfef-photo-active
:is(
    figure,
    picture,
    img,
    .qfa-hero-photo,
    .qfa-hero-media,
    .qfa-hero-visual
) {
    display: none !important;
}

#qfa-page .qfa-hero.qfef-photo-active::before,
#qfa-page .qfa-hero.qfef-photo-active::after {
    background-image: none !important;
}

/* TARIFS BLANCS SUR NAVY, UNE SEULE LIGNE */
#qfa-page #qfa-cards .qfa-card
:is(
    .qf-wee-price,
    .qfa-price,
    .qfa-card-price,
    .qfef-prix-ligne,
    .price
),
body.qfef-hebergements-index-synced
#listingsGrid .listing-card
:is(
    .qf-wee-price,
    .price-chip-modern,
    .qfef-prix-ligne
) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    font-size: clamp(.75rem,1vw,.93rem) !important;
    font-weight: 850 !important;
    text-align: center !important;
    color: #ffffff !important;
    background: #0b294d !important;
    background-image: none !important;
    border-color: #0b294d !important;
}

#qfa-page #qfa-cards .qfa-card
:is(
    .qf-wee-price,
    .qfa-price,
    .qfa-card-price,
    .qfef-prix-ligne,
    .price
) *,
body.qfef-hebergements-index-synced
#listingsGrid .listing-card
:is(
    .qf-wee-price,
    .price-chip-modern,
    .qfef-prix-ligne
) * {
    color: #ffffff !important;
    white-space: nowrap !important;
}

/* SUPPRIMER LES BADGES SUR LES PHOTOS */
#qfa-cards .qf-sponsor-card .qfef-cap-marque,
#qfa-cards .qf-sponsor-card .qfc-ad > p,
#listingsGrid .qf-sponsor-card .qfc-ad > p {
    display: none !important;
}

/* BADGES PARTENAIRES SOUS LES PHOTOS */
.qf-sponsor-card .qf-sponsor-badge-v6 {
    display: inline-flex !important;
    align-self: flex-start !important;
    padding: 7px 12px !important;
    margin: 0 !important;
    border-radius: 11px !important;
    color: #ffffff !important;
    background: #0b294d !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
}

/* Widget Maeva sous la photo */
.qf-sponsor-card .qf-maeva-widget-v6 {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border: 1px solid #d7dfe8;
    border-radius: 9px;
    margin: 5px 0;
}

/* DESCRIPTIONS COURTES */
.qf-wee-description.qf-wee-desc-clamped {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    line-clamp: 4 !important;
    overflow: hidden !important;
}

/* DESCRIPTIONS DÉROULÉES */
.qf-wee-description.qf-wee-desc-open {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
}

/* BOUTONS PLUS / MOINS */
.qf-wee-desc-toggle {
    align-self: flex-start !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 7px 14px !important;
    margin: 2px 0 8px !important;
    background: #0b294d !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

/* ACTIVITÉS : supprimer la navigation page 1 / page 2 */
#qfa-page :is(
    .qfa-pagination,
    .qfa-pager,
    #qfa-pagination,
    .qfa-page-controls
) {
    display: none !important;
}

#qfa-page #qfa-cards > .qfa-card {
    min-width: 0 !important;
}
