/* Courir en côte à Orléans — vivre-orleans.fr (styles de la carte, tous préfixés .cs-) */
.cs-app { container-type: inline-size; --rouge: #bf0a37; --encre: #222; --gris: #666; --filet: #e3e3e3; max-width: 1200px; margin: 0 auto 30px; padding: 0; box-sizing: border-box; font-family: "Open Sans", sans-serif; color: var(--encre); }
.cs-app *, .cs-app *::before, .cs-app *::after { box-sizing: border-box; }
.cs-app button { font-family: inherit; }
.cs-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.cs-filtre { padding: 8px 14px; border: 1.5px solid #e1c3cb; border-radius: 999px; background: #fff; color: var(--rouge); font-size: 14px; font-weight: 600; cursor: pointer; }
.cs-filtre:hover { background: #faf3f4; }
.cs-filtre.est-actif { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.cs-filtre:focus-visible, .cs-fond:focus-visible, .cs-item:focus-visible, .cs-btn:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; }
.cs-zone { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.cs-carte { height: clamp(420px, 66vh, 640px); background: #f1efe9; border: 1px solid var(--filet); border-radius: 6px; z-index: 1; }
.cs-liste { height: clamp(420px, 66vh, 640px); margin: 0; padding: 0; list-style: none; overflow: auto; border: 1px solid var(--filet); border-radius: 6px; background: #fff; }
.cs-liste li { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--filet); }
.cs-liste li:last-child { border-bottom: 0; }
.cs-item { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 10px 12px; border: 0; background: #fff; text-align: left; cursor: pointer; font-size: 13.5px; line-height: 1.3; color: var(--encre); }
.cs-item:hover, .cs-item.est-actif { background: #faf3f4; }
.cs-num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #222; color: #fff; font: 700 12px/24px "Open Sans", sans-serif; text-align: center; }
.cs-item.est-actif .cs-num { background: var(--rouge); }
.cs-item b { display: block; font-weight: 700; }
.cs-item small { display: block; color: var(--gris); font-size: 12px; margin-top: 2px; }
.cs-marq { background: #222; color: #fff; border: 2px solid #fff; border-radius: 50%; width: 24px; height: 24px; font: 700 12px/20px "Open Sans", sans-serif; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.cs-marq.est-actif { background: var(--rouge); transform: scale(1.2); }
.cs-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 10px 0 0; font-size: 12.5px; color: #444; }
.cs-legende i { display: inline-block; width: 22px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 4px solid; }
.cs-l1 { border-color: #2b9a3a !important; } .cs-l2 { border-color: #f08a00 !important; } .cs-l3 { border-color: #d6283b !important; }
.cs-trait { border-color: #555 !important; } .cs-tirets { border-top-style: dashed !important; border-color: #555 !important; }
.cs-fond { margin-left: auto; padding: 6px 12px; border: 1.5px solid #e1c3cb; border-radius: 6px; background: #fff; color: var(--rouge); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cs-fiche { margin: 16px 0 0; padding: 18px 20px; border: 1px solid var(--filet); border-radius: 6px; background: #fff; }
.cs-aide { margin: 0; color: var(--gris); font-size: 14px; }
.cs-fiche h3 { margin: 0 0 2px; font: 500 22px/1.2 Oswald, sans-serif; }
.cs-quartier { margin: 0 0 12px; color: var(--gris); font-size: 13.5px; }
.cs-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 4px; font: 700 11px/1.6 "Open Sans", sans-serif; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.cs-badge--libre { background: #e5f4e8; color: #1d6b2a; } .cs-badge--rue { background: #fdeed8; color: #8a4b00; }
.cs-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: start; }
.cs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; }
.cs-stats div { padding: 8px 10px; background: #f7f4f1; border-radius: 6px; }
.cs-stats dt { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.cs-stats dd { margin: 2px 0 0; font: 500 22px/1.1 Oswald, sans-serif; color: var(--rouge); }
.cs-stats dd small { font: 400 12px "Open Sans", sans-serif; color: var(--gris); }
.cs-profil { width: 100%; height: auto; display: block; }
.cs-profil text { font: 11px "Open Sans", sans-serif; fill: #666; }
.cs-note { margin: 14px 0 0; padding: 10px 12px; border-left: 4px solid #f08a00; background: #fff8ee; font-size: 14px; line-height: 1.5; }
.cs-note--libre { border-color: #2b9a3a; background: #f1faf3; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cs-btn { display: inline-block; padding: 9px 14px; border: 1.5px solid #e1c3cb; border-radius: 6px; background: #fff; color: var(--rouge); font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none; }
.cs-btn:hover { background: #faf3f4; }
.cs-credit { margin: 10px 0 0; font-size: 11.5px; color: #777; }
@container (max-width: 860px) {
  .cs-zone { grid-template-columns: 1fr; }
  .cs-carte { height: 400px; }
  .cs-liste { height: 280px; }
  .cs-corps { grid-template-columns: 1fr; }
  .cs-fond { margin-left: 0; }
}
@media (max-width: 860px) {
  .cs-zone { grid-template-columns: 1fr; }
  .cs-carte { height: 400px; }
  .cs-liste { height: 280px; }
  .cs-corps { grid-template-columns: 1fr; }
  .cs-fond { margin-left: 0; }
}
