/* TEST VISUEL (2026-11-30) — styles de la section « Where to stay » repris de visitlarochelle.com (assets/css/style.css),
   limités à #lr-stay pour ne pas toucher au reste de visitlausanne.com. */
#lr-stay{--iron:#22313b; --iron-2:#3a4a55; --iron-soft:#5d6c76; --river:#0f6b66; --river-2:#0b524e; --river-tint:#e3efed; --visit:#b3202a; --visit-2:#8f1820; --ochre:#d9a441; --ochre-tint:#f7ecd4; --stone:#f3f4f1; --line:#dfe3e0; --line-2:#c9d0cc; --ink:#1f2a31; --muted:#5b6770; --ui:'Archivo',system-ui,'Segoe UI',Roboto,Arial,sans-serif; --read:'Literata',Georgia,'Times New Roman',serif; --r-s:6px; --r-m:12px; --r-l:20px; --hdr:74px; --wrap:1200px;}
#lr-stay{font-family:var(--ui);color:var(--ink)}
#lr-stay img{max-width:100%;height:auto}
#lr-stay .ico{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#lr-stay .btn{display:inline-flex;align-items:center;gap:8px;font:700 .95rem var(--ui);padding:12px 20px;border-radius:999px;border:2px solid transparent;text-decoration:none;cursor:pointer}
#lr-stay .btn-river{background:var(--river);color:#fff}
#lr-stay .btn-river:hover{background:var(--river-2);color:#fff}
#lr-stay .sec-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px;flex-wrap:wrap}
#lr-stay .sec .lead{font-family:var(--read);font-size:1.12rem;color:var(--muted);max-width:640px;margin:10px 0 0;line-height:1.65}
#lr-stay .more{font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
#lr-stay .more .ico{width:18px;height:18px}
#lr-stay .stay-feat{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
#lr-stay .hcard{background:#fff;border:1px solid var(--line);border-radius:var(--r-m);overflow:hidden;display:flex;flex-direction:column}
#lr-stay .hcard .ph{aspect-ratio:16/10;background:var(--line) center/cover}
#lr-stay .hcard .bd{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
#lr-stay .hcard h3{font-size:1.25rem;color:var(--iron)}
#lr-stay .hcard p{margin:0;color:var(--muted);font-size:.92rem}
#lr-stay .hcard .meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:8px}
#lr-stay .tag{display:inline-flex;align-items:center;gap:5px;font:600 .74rem var(--ui);color:var(--iron-2);background:var(--stone);border:1px solid var(--line);border-radius:999px;padding:3px 9px}
#lr-stay .tag .ico{width:14px;height:14px}
#lr-stay .filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:20px}
#lr-stay .filters .lbl{font-weight:700;font-size:.85rem;color:var(--iron);margin-right:4px}
#lr-stay .filters input[type=search]{height:40px;border:1.5px solid var(--line-2);border-radius:999px;padding:0 16px;font:500 .9rem var(--ui);flex:1 1 200px;min-width:0;max-width:320px;background:#fff}
#lr-stay .tbl{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--r-m);overflow:hidden;font-size:.9rem}
#lr-stay .tbl th,#lr-stay .tbl td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
#lr-stay .tbl th{background:var(--stone);color:var(--iron);font-weight:700}
#lr-stay .tblwrap{overflow-x:auto}
@media (max-width:1020px){#lr-stay .stay-feat{grid-template-columns:1fr 1fr}}
@media (max-width:640px){#lr-stay .stay-feat{grid-template-columns:1fr}}
#lr-stay .ph{position:relative}
#lr-stay .vsmap{width:100%;border-radius:var(--r-m);overflow:hidden;background:#e8ecea;border:1px solid var(--line);position:relative}
#lr-stay .vs-pin{width:26px;height:26px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--visit);border:2px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.35);cursor:pointer}
#lr-stay .vs-pin.sel{background:var(--ochre);width:32px;height:32px}
#lr-stay .vs-thumb{position:relative;cursor:pointer;display:flex;flex-direction:column;align-items:center}
#lr-stay .vs-thumb .tw{width:58px;height:58px;border-radius:12px;overflow:hidden;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.35);background:var(--river) center/cover}
#lr-stay .vs-thumb .tw img{width:100%;height:100%;object-fit:cover;display:block}
#lr-stay .vs-thumb::after{content:"";width:0;height:0;border:8px solid transparent;border-top-color:#fff;margin-top:-1px}
#lr-stay .vs-thumb:hover .tw{border-color:var(--ochre)}
#lr-stay .maplibregl-popup-content{font:500 .88rem/1.4 var(--ui);padding:12px 14px;border-radius:10px;max-width:260px}
#lr-stay .maplibregl-popup-content b{display:block;color:var(--iron);font-size:.95rem}
#lr-stay .maplibregl-popup-content small{display:block;color:var(--muted)}
#lr-stay .map-note{font:500 .8rem var(--ui);color:var(--muted);margin:8px 0 0}
#lr-stay .hcard .ph{position:relative}
#lr-stay .vs-pin{width:26px;height:34px;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
#lr-stay .vs-pin .drop{position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--visit);border:2px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.35)}
#lr-stay .vs-pin.is-open .drop{background:#1f8a4c}
#lr-stay .vs-pin.is-closed .drop{background:#c0392b}
#lr-stay .vs-pin.is-unknown .drop{background:#8a969d}
#lr-stay .vs-pin.sel .drop{transform:rotate(-45deg) scale(1.25);border-color:var(--iron);border-width:3px}
#lr-stay .vs-pin .tip{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);white-space:nowrap;background:var(--iron);color:#fff;font:600 .78rem var(--ui);padding:4px 9px;border-radius:7px;display:none;pointer-events:none;box-shadow:0 4px 12px rgba(0,0,0,.3)}
#lr-stay .vs-pin:hover .tip,#lr-stay .vs-pin:focus .tip,#lr-stay .vs-pin.sel .tip{display:block}
#lr-stay .vs-pin:hover{z-index:5}
#lr-stay .vs-thumb.sel .tw{border-color:var(--ochre);transform:scale(1.15)}
#lr-stay .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,#lr-stay .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{display:none}
#lr-stay .vs-pin.sel{width:26px!important;height:34px!important}
#lr-stay .vs-label .maplibregl-popup-content{padding:6px 10px;font-size:.8rem;max-width:200px;box-shadow:0 4px 12px rgba(0,0,0,.25)}
#lr-stay .vs-label .maplibregl-popup-content b{font-size:.82rem}
#lr-stay .vn-empty{padding:20px;background:#fff;border:1px dashed var(--line-2);border-radius:var(--r-m);color:var(--muted)}
#lr-stay .intro-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:1.2rem}
#lr-stay .intro-links .btn .ico{width:18px;height:18px}
#lr-stay .vs-nt{display:inline!important;margin:0!important;padding:0!important}
#lr-stay .stay-feat .hcard h3 a{color:inherit;text-decoration:none}
#lr-stay .stay-feat .hcard h3 a:hover{text-decoration:underline}
#lr-stay .lr-h3{font-size:1.45rem;color:var(--iron);margin:40px 0 14px}
#lr-stay .lr-htable td{vertical-align:middle}
#lr-stay .lr-htable td:first-child{min-width:220px}
#lr-stay .lr-htable img{width:120px;height:80px;object-fit:cover;border-radius:8px;display:block;margin-bottom:6px}
#lr-stay .lr-htable b a{color:var(--iron)}
#lr-stay .lr-cj{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
#lr-stay .lr-cj img{display:block;border-radius:6px}
#lr-stay .lr-cj-t{font-size:.9rem;color:var(--muted)}
@media (max-width:640px){#lr-stay .lr-htable td:first-child{min-width:150px}#lr-stay .lr-htable img{width:96px;height:64px}}
#lr-stay .map-note:empty{display:none}
#lr-stay .vs-thumb .tw{position:relative}
#lr-stay .vs-thumb .st{position:absolute;left:0;right:0;bottom:0;padding:1px 0 2px;background:rgba(20,30,38,.78);color:#f5c542;font:700 .6rem/1 var(--ui);letter-spacing:-.5px;text-align:center}
#lr-stay .maplibregl-popup-content .pstars{display:block;color:#d9a21b;font-size:.85rem;letter-spacing:1px;margin:2px 0}

/* Correctif 2026-11-30 : les épingles MapLibre doivent rester en position absolue (la règle .vs-thumb{position:relative}, limitée à la section, passait devant la feuille MapLibre) */
#lr-stay .maplibregl-marker{position:absolute!important;top:0;left:0}

/* 2026-11-30 : lien du nom dans la bulle de la carte — pas de cadre de sélection au clic, mais souligné + surligné pour montrer qu'il est cliquable */
#lr-stay .maplibregl-popup-content a{outline:none!important;box-shadow:none;color:inherit;text-decoration:underline;text-decoration-color:#d9a21b;text-decoration-thickness:2px;text-underline-offset:3px;background:linear-gradient(transparent 55%,rgba(217,162,27,.28) 55%);border-radius:2px;padding:0 2px}
#lr-stay .maplibregl-popup-content a:hover,#lr-stay .maplibregl-popup-content a:focus-visible{background:rgba(217,162,27,.35)}

/* 2026-11-30 : petit (i) sur chaque photo Wikimedia Commons -> page source (crédit / licence) */
#lr-stay .hcard .ph,#lr-stay .figure .ph,#lr-stay .phero{position:relative}
#lr-stay .wm-wrap{position:relative;display:inline-block;vertical-align:middle}
#lr-stay .wm-i{position:absolute;right:8px;bottom:8px;z-index:3;width:22px;height:22px;border-radius:50%;background:rgba(20,30,38,.72);color:#fff!important;font:italic 700 13px/22px Georgia,'Times New Roman',serif;text-align:center;text-decoration:none!important;opacity:.85;box-shadow:0 1px 4px rgba(0,0,0,.35);transition:opacity .2s,background .2s}
#lr-stay .wm-i:hover,#lr-stay .wm-i:focus-visible{opacity:1;background:#d9a21b;outline:none}
#lr-stay .wm-i-s{right:2px;bottom:2px;width:16px;height:16px;font-size:10px;line-height:16px}
#lr-stay .wm-i-hero{right:12px;bottom:12px;width:26px;height:26px;font-size:15px;line-height:26px}

/* 2026-11-30 : bulle de la carte — plus de barre/bordure à gauche du titre (le lien en ligne entourait un bloc) : le surlignage passe sur le titre lui-même */
#lr-stay .maplibregl-popup-content a{display:inline-block!important;background:none!important;padding:0!important;border:0!important;text-decoration:none!important}
#lr-stay .maplibregl-popup-content a:hover,#lr-stay .maplibregl-popup-content a:focus,#lr-stay .maplibregl-popup-content a:focus-visible{background:none!important;border:0!important;outline:none!important;box-shadow:none!important}
#lr-stay .maplibregl-popup-content a b{display:inline;text-decoration:underline;text-decoration-color:#d9a21b;text-decoration-thickness:2px;text-underline-offset:3px;background:linear-gradient(transparent 55%,rgba(217,162,27,.28) 55%)}
#lr-stay .maplibregl-popup-content a:hover b,#lr-stay .maplibregl-popup-content a:focus-visible b{background:rgba(217,162,27,.35)}

/* 2026-11-30 : (i) des vignettes du tableau collé au bord de l'image (la marge basse de l'image passe sur le conteneur) */
#lr-stay .lr-htable .wm-wrap{margin-bottom:6px}
#lr-stay .lr-htable .wm-wrap img{margin-bottom:0}
/* 2026-11-30 : tableau des hôtels sur mobile — 2 colonnes seulement (Hotel + Book), largeur de l'écran, sans défilement latéral */
@media (max-width:640px){
#lr-stay .tblwrap{overflow-x:visible}
#lr-stay .lr-htable{table-layout:fixed;width:100%}
#lr-stay .lr-htable th:nth-child(2),#lr-stay .lr-htable td:nth-child(2){display:none}
#lr-stay .lr-htable th:first-child,#lr-stay .lr-htable td:first-child{min-width:0;width:58%}
#lr-stay .lr-htable th:last-child,#lr-stay .lr-htable td:last-child{width:42%}
#lr-stay .lr-htable td,#lr-stay .lr-htable th{padding:10px 8px;overflow-wrap:anywhere;word-break:normal}
#lr-stay .lr-htable img{width:100%;max-width:140px;height:auto;aspect-ratio:3/2}
}

/* 2026-11-30 : mobile — aucun mot coupé (ex. « Booking.com ») ; la taille du texte se réduit toute seule si un mot ne tient pas (stay-test.js) */
@media (max-width:640px){
#lr-stay .lr-htable td,#lr-stay .lr-htable th{overflow-wrap:normal!important;word-break:keep-all!important;hyphens:none!important}
#lr-stay .lr-htable td .more{white-space:nowrap}
}

/* 2026-11-30 : cartes-hôtels cliquables (vers la sous-page) */
#lr-stay .hcard{cursor:pointer;transition:box-shadow .2s,transform .2s}
#lr-stay .hcard:hover{box-shadow:0 8px 22px rgba(0,0,0,.12);transform:translateY(-2px)}

/* 2026-11-30 : tableau des hôtels sur ordinateur — espace entre la vignette et le nom de l'hôtel */
@media (min-width:641px){#lr-stay .lr-htable .wm-wrap{margin-right:18px}}
