/* Ritter'Hoft — Les 10 boucles au départ de l'hôtel.
   Companion to velo-map.css; deliberately reuses the same tokens and the same
   two-column shape so the two blocks read as one tool rather than two widgets. */

.bcl-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 32px;
  align-items: start;
}

.bcl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: flex-end;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.bcl-filters fieldset { border: 0; padding: 0; margin: 0; }

.bcl-filters legend,
.bcl-filters label.bcl-lbl {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
  display: block;
  padding: 0;
}

.bcl-segs { display: flex; flex-wrap: wrap; gap: 6px; }

/* The radio itself is the accessible control; the label is the visible chip. */
.bcl-segs input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* Same pill idiom as .blog-topics / .menu-jump in styles.css. */
.bcl-segs span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}

.bcl-segs label:hover span { border-color: var(--gold); }
.bcl-segs input:checked + span {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--color-accent-ink);
}
.bcl-segs input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.bcl-filters select {
  font: inherit;
  font-size: .85rem;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: inherit;
}

.bcl-count { margin: 18px 0 12px; font-size: .82rem; color: var(--ink-faint); }
.bcl-count b { font-family: var(--logo); font-size: 1.05rem; color: var(--gold-deep); }

.bcl-list { display: grid; gap: 12px; max-height: 700px; overflow-y: auto; padding-right: 4px; }

.bcl-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 16px 18px 14px;
  transition: border-color .18s, transform .18s;
}
.bcl-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.bcl-card:has(.bcl-card__open[aria-expanded="true"]) {
  border-color: var(--gold);
  background: var(--paper-2);
}

.bcl-card__open {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.bcl-card__open:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.bcl-card__tag {
  display: block;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.bcl-card__name {
  display: block;
  margin-top: 5px;
  font-family: var(--logo);
  font-size: 1.16rem;
  line-height: 1.25;
}

.bcl-card__goal {
  display: block;
  margin-top: 7px;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.bcl-card__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* Reads as .route__level in styles.css, which labels the same kind of data. */
.bcl-card__stats b {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
}

.bcl-card__via {
  margin: 12px 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

.bcl-card__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Card-scale version of .btn / .btn-teal / .btn-outline from styles.css:
   same charcoal-primary language, shorter so it sits inside a list card. */
.bcl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 2px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--color-accent-ink);
  cursor: pointer;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.bcl-btn:hover { background: var(--teal-700); border-color: var(--teal-700); transform: translateY(-2px); }
.bcl-btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.bcl-btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.bcl-btn--ghost:hover {
  background: transparent;
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

.bcl-map__wrap { position: sticky; top: 100px; }

#bcl-map {
  height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: var(--paper-2);
  z-index: 0; /* keep Leaflet panes under the site header */
}

.bcl-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: .76rem;
  color: var(--ink-faint);
}
.bcl-legend span { display: inline-flex; align-items: center; gap: 7px; }
.bcl-legend i { width: 22px; height: 3px; border-radius: 2px; flex: none; }
/* Must stay in step with GOLD/INK in velo-boucles.js, which paints the same lines. */
.bcl-legend .k-sel { background: var(--gold); height: 4px; }
.bcl-legend .k-line { background: var(--teal); opacity: .5; }
.bcl-legend .k-hotel {
  width: 11px; height: 11px; border-radius: 50%; background: var(--gold);
  border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line);
}

.bcl-source { margin-top: 16px; font-size: .78rem; line-height: 1.6; color: var(--ink-faint); }
.bcl-source a { color: var(--gold-deep); }

.bcl-empty {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--ink-faint);
}

@media (max-width: 900px) {
  .bcl-layout { grid-template-columns: 1fr; }
  .bcl-map__wrap { position: static; order: -1; }
  #bcl-map { height: 380px; }
  .bcl-list { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bcl-card, .bcl-btn, .bcl-segs span { transition: none; }
}

.bcl-card__fee{margin:6px 0 0;font-size:.82rem;font-weight:600;color:#92500B;}
