/*
 * LadySenegal v3.7.89 — Cartes de profil « photo + bandeau noir ».
 * Couleurs mesurées sur le site de référence. Variables modifiables ci-dessous.
 */
html body {
    --lsx-page: #232028;       /* fond de page */
    --lsx-strip: #0a0a0c;      /* bandeau noir sous la photo */
    --lsx-accent: #d4af37;     /* or */
    --lsx-accent-soft: #e6c35c;
    --lsx-gold: #d4af37;       /* or : texte (note, prix) */
    --lsx-gold-1: #e6c35c;     /* or : fond des étiquettes */
    --lsx-gold-2: #b98a1f;
    --lsx-seal-1: #ffd27a;     /* pastille « photo OK » */
    --lsx-seal-2: #f0a030;
    --lsx-seal-3: #d98314;
}

/* ---------- Fonds des sections de l'accueil : même couleur que la page ---------- */
html body .hdm-v430-all,
html body .hdm-v430-destinations,
html body .lsn-modern-directory-hero {
    background: var(--lsx-page) !important;
}

html body .ls-stories {
    background: #1f1c24 !important;
}

html body .hdm-footer {
    background: #19171d !important;
}

html body .lsn-modern-directory-hero,
html body .ls-stories,
html body .hdm-v430-destinations {
    border-color: rgba(255, 255, 255, .08) !important;
}

html body .hdm-home-order-note strong,
html body .hdm-home-order-note span {
    color: var(--lsx-gold) !important;
}

/* ---------- Grille : 4 colonnes, puis 3, puis 2 sur mobile ---------- */
html body .hdm-v430-grid:not(.teg-intl-home-card-grid) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 30px 26px !important;
    align-items: stretch !important;
}

@media (max-width: 1180px) {
    html body .hdm-v430-grid:not(.teg-intl-home-card-grid) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px 20px !important;
    }
}

@media (max-width: 760px) {
    html body .hdm-v430-grid:not(.teg-intl-home-card-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 12px !important;
    }
}

/* ---------- Carte ---------- */
.lsx-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--lsx-strip);
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 0;
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.lsx-card:hover,
.lsx-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .5);
}

.lsx-card-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
}

.lsx-card-link:focus-visible {
    outline: 2px solid var(--lsx-accent);
    outline-offset: -3px;
}

.lsx-card-photo {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    background: #17141c;
    overflow: hidden;
}

.lsx-card-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s ease;
}

.lsx-card:hover .lsx-card-photo img {
    transform: scale(1.03);
}

/* Étiquette d'abonnement (VIP / PREMIUM / GRATUIT) : fond or, texte blanc. */
.lsx-card-tier {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 11px;
    border: 0;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--lsx-gold-1), var(--lsx-gold-2));
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

/* Pastille ronde « photo OK » en bas à gauche de la photo. */
.lsx-card-seal {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 34% 28%, var(--lsx-seal-1), var(--lsx-seal-2) 56%, var(--lsx-seal-3));
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 2px var(--lsx-seal-2), 0 6px 14px rgba(0, 0, 0, .4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.lsx-card-seal b {
    display: block;
    font-weight: 700;
    line-height: 1;
}

.lsx-card-seal b:first-child {
    font-size: 9px;
    letter-spacing: .01em;
}

.lsx-card-seal b:last-child {
    margin-top: 2px;
    font-size: 13px;
}

/* ---------- Bandeau noir sous la photo ---------- */
.lsx-card-info {
    display: block;
    flex: 1 1 auto;
    min-height: 92px;
    padding: 12px 14px 14px;
    background: var(--lsx-strip);
}

.lsx-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lsx-card-name {
    min-width: 0;
    overflow: hidden;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: .01em;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Drapeau du Sénégal dessiné en CSS (aucune image à charger). */
.lsx-flag {
    flex: 0 0 auto;
    width: 27px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 2'%3E%3Crect width='1' height='2' fill='%2300853f'/%3E%3Crect x='1' width='1' height='2' fill='%23fdef42'/%3E%3Crect x='2' width='1' height='2' fill='%23e31b23'/%3E%3Cpath d='M1.5 .6l.1.32h.34l-.27.2.1.32-.27-.2-.27.2.1-.32-.27-.2h.34z' fill='%2300853f'/%3E%3C/svg%3E") center / cover no-repeat;
}

.lsx-card-tagline {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(255, 255, 255, .9);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lsx-card-city {
    display: block;
    margin-top: 6px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, .58);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lsx-card-price {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 500;
    color: var(--lsx-gold);
}

/* Vues et favoris : petite pastille en haut à droite de la photo. */
.lsx-card-stats {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    background: rgba(10, 10, 12, .66);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.lsx-card-views span {
    font-size: 11px;
}

.lsx-card-views strong {
    font-weight: 500;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
    .lsx-card-info {
        min-height: 78px;
        padding: 9px 9px 11px;
    }

    .lsx-card-name {
        font-size: 14.5px;
    }

    .lsx-flag {
        width: 22px;
        height: 15px;
    }

    .lsx-card-tagline {
        font-size: 12px;
    }

    .lsx-card-city,
    .lsx-card-price {
        font-size: 11px;
    }

    .lsx-card-seal {
        left: 8px;
        bottom: 8px;
        width: 38px;
        height: 38px;
    }

    .lsx-card-seal b:first-child { font-size: 7.5px; }
    .lsx-card-seal b:last-child { font-size: 11px; }

    .lsx-card-tier {
        top: 7px;
        left: 7px;
        min-height: 19px;
        padding: 0 8px;
        font-size: 9px;
    }

    .lsx-card-stats {
        top: 7px;
        right: 7px;
        gap: 7px;
        padding: 0 8px;
        min-height: 19px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsx-card,
    .lsx-card-photo img {
        transition: none;
    }

    .lsx-card:hover,
    .lsx-card:focus-within {
        transform: none;
    }

    .lsx-card:hover .lsx-card-photo img {
        transform: none;
    }
}

/* ---------- Destinations privées : libellés en or, bien visibles ---------- */
html body .hdm-v430-destination-grid a,
html body .hdm-v430-destination-grid a * {
    text-decoration: none !important;
}

html body .hdm-v430-destination-grid a small {
    color: var(--lsx-gold) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
}

html body .hdm-v430-destination-grid a span {
    color: rgba(255, 255, 255, .72) !important;
    font-size: 12px !important;
}

html body .hdm-v430-destination-grid a b {
    color: var(--lsx-gold) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .12em !important;
}

html body .hdm-v430-destination-grid a:hover strong {
    color: var(--lsx-gold-1) !important;
}

/* ---------- Colonne VIP à droite (photos hautes + pseudo) ---------- */
html body .lsx-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(150px, 14vw, 220px);
    gap: 26px;
    align-items: start;
}

html body .lsx-layout > .lsx-main {
    min-width: 0;
}

/* Si aucun profil VIP : la liste reprend toute la largeur. */
html body .lsx-layout > .lsx-main:only-child {
    grid-column: 1 / -1;
}

.lsx-rail {
    position: sticky;
    top: 16px;
    height: min(calc(100vh - 32px), 980px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--lsx-gold) transparent;
    padding-right: 8px;
}

.lsx-rail::-webkit-scrollbar {
    width: 4px;
}

.lsx-rail::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .06);
    border-radius: 4px;
}

.lsx-rail::-webkit-scrollbar-thumb {
    background: var(--lsx-gold);
    border-radius: 4px;
}

.lsx-rail-item {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;      /* v3.7.99 : photos moins hautes, 3 a 4 profils visibles a la fois */
    margin: 0 0 6%;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #17141c;
    border: 1px solid rgba(255, 255, 255, .9);
}

.lsx-rail-item img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s ease;
}

.lsx-rail-item::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 32%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .72));
    pointer-events: none;
}

.lsx-rail-item:hover img,
.lsx-rail-item:focus-visible img {
    transform: scale(1.04);
}

.lsx-rail-item:focus-visible {
    outline: 2px solid var(--lsx-gold);
    outline-offset: -3px;
}

.lsx-rail-name {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    overflow: hidden;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.1;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .65);
}

/* Tablette et mobile : la colonne est masquée, la liste prend toute la largeur. */
@media (max-width: 1100px) {
    html body .lsx-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    html body .lsx-layout > .lsx-rail {
        display: none !important;
    }
}

/* v3.7.101 : colonne de droite aux dimensions exactes du site de reference (#pub-right : 142 px + 7 px de marge, fond #1a1720, photos 142 x 339, 10 px entre elles) */
html body .lsx-layout{grid-template-columns:minmax(0,1fr) 156px !important;gap:20px !important}
html body .lsx-rail{width:156px !important;box-sizing:border-box !important;padding:7px !important;background:#1a1720 !important}
html body .lsx-rail-item{aspect-ratio:142 / 339 !important;margin:0 0 10px !important;border:0 !important}

/* v3.7.102 : comme ladyxena - fin cadre blanc, nom en petites capitales en bas a gauche, pas de barre de defilement, rotation profil par profil */
html body .lsx-rail{scrollbar-width:none !important;-ms-overflow-style:none !important}
html body .lsx-rail::-webkit-scrollbar{display:none !important;width:0 !important}
html body .lsx-rail-item{border:1px solid rgba(255,255,255,.92) !important;background:#000 !important}
html body .lsx-rail-item img{object-fit:cover !important;object-position:center top !important}
html body .lsx-rail-name{left:8px !important;right:8px !important;bottom:6px !important;text-align:left !important;font-family:"Cinzel","Trajan Pro",Georgia,"Times New Roman",serif !important;font-variant:small-caps !important;text-transform:none !important;font-size:20px !important;font-weight:500 !important;letter-spacing:.01em !important;line-height:1.05 !important;white-space:normal !important;text-shadow:0 1px 5px rgba(0,0,0,.85) !important}

/* v3.7.99 : boutons Indépendantes / Vidéos en noir premium (plus de rose ni de gris) */
html body .lsn-modern-categories a.is-red,
html body .lsn-modern-categories a.is-grey,
html body a.is-red,
html body a.is-grey{
  background:#0b0b0d !important;
  color:#fff !important;
  border:1px solid rgba(212,175,55,.35) !important;
}
html body .lsn-modern-categories a.is-red:hover,
html body .lsn-modern-categories a.is-grey:hover,
html body .lsn-modern-categories a.is-red.is-active,
html body .lsn-modern-categories a.is-grey.is-active{
  border-color:#d4af37 !important;
  color:#e6c35c !important;
}

/* v3.7.103 : une colonne par profil VIP, la photo de chaque colonne change toute seule (3 colonnes visibles sur ecran moyen, 4 sur grand ecran, le reste passe a la ligne) */
html body .lsx-layout{grid-template-columns:minmax(0,1fr) auto !important}
html body .lsx-rail.lsx-rail-cols{position:static !important;height:auto !important;overflow:visible !important;box-sizing:border-box !important;display:grid !important;grid-template-columns:repeat(auto-fill,142px) !important;gap:10px !important;align-content:start !important;padding:7px !important;background:#1a1720 !important;width:calc(min(var(--lsx-n),2) * 152px + 4px) !important}
@media (min-width:1300px){html body .lsx-rail.lsx-rail-cols{width:calc(min(var(--lsx-n),3) * 152px + 4px) !important}}
@media (min-width:1500px){html body .lsx-rail.lsx-rail-cols{width:calc(min(var(--lsx-n),4) * 152px + 4px) !important}}
html body .lsx-rail-cols .lsx-rail-item{margin:0 !important;width:142px !important}
html body .lsx-rail-cols .lsx-ph{opacity:0;transition:opacity .9s ease}
html body .lsx-rail-cols .lsx-ph.is-on{opacity:1}
@media (max-width:1100px){html body .lsx-layout{grid-template-columns:minmax(0,1fr) !important}}

/* v3.7.104 : largeur de la zone des colonnes sans calc() : 2 colonnes (ecran moyen), 3 (>=1300px), 4 (>=1500px) ; les autres profils VIP passent en dessous */
html body .lsx-layout{grid-template-columns:minmax(0,1fr) max-content !important}
html body .lsx-rail.lsx-rail-cols{width:auto !important;max-width:none !important;justify-self:end !important;grid-template-columns:repeat(var(--lsx-c2,2),142px) !important}
@media (min-width:1300px){html body .lsx-rail.lsx-rail-cols{grid-template-columns:repeat(var(--lsx-c3,3),142px) !important}}
@media (min-width:1500px){html body .lsx-rail.lsx-rail-cols{grid-template-columns:repeat(var(--lsx-c4,4),142px) !important}}
@media (max-width:1100px){html body .lsx-layout{grid-template-columns:minmax(0,1fr) !important}}

/* v3.7.105 : un profil VIP par ligne, la colonne s'allonge d'une ligne a chaque nouveau VIP (comme ladyxena) */
html body .lsx-layout{grid-template-columns:minmax(0,1fr) max-content !important}
html body .lsx-rail.lsx-rail-cols{grid-template-columns:142px !important}
@media (min-width:1300px){html body .lsx-rail.lsx-rail-cols{grid-template-columns:142px !important}}
@media (min-width:1500px){html body .lsx-rail.lsx-rail-cols{grid-template-columns:142px !important}}
@media (max-width:1100px){html body .lsx-layout{grid-template-columns:minmax(0,1fr) !important}}

/* v3.7.106 : comme ladyxena sur telephone - la bande de profils VIP reste a droite de la liste (une photo par ligne, etroite), au lieu d'etre masquee */
@media (max-width:1100px){
html body .lsx-layout{grid-template-columns:minmax(0,1fr) 12.5vw !important;gap:6px !important;align-items:start !important}
html body .lsx-layout > .lsx-rail.lsx-rail-cols{display:grid !important;width:12.5vw !important;grid-template-columns:100% !important;gap:1vw !important;padding:.5vw !important;justify-self:end !important}
html body .lsx-rail.lsx-rail-cols .lsx-rail-item{width:100% !important}
html body .lsx-rail.lsx-rail-cols .lsx-rail-name{left:2px !important;right:2px !important;bottom:2px !important;font-size:1.9vw !important;line-height:1 !important;text-shadow:0 1px 3px rgba(0,0,0,.9) !important;overflow:hidden !important}
}
