.vs-fares {
  font-family: var(--font-text);
}
.vs-fares section { margin-block: 3rem; }
.vs-fare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ink);
}
.vs-fare {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 2.5vw, 2rem);
  border-block-start: var(--line-width) solid var(--route);
}
.vs-fare + .vs-fare { border-inline-start: 1px solid var(--ink); }
.vs-fare h3 { font-size: 1.5rem; margin: 0; }
.vs-fare h3::before {
  content: "";
  display: inline-block;
  width: .6em;
  height: .6em;
  margin-inline-end: .45em;
  border: .14em solid var(--route);
  border-radius: 50%;
  background: var(--surface);
}
.vs-fare p { margin: .25rem 0; }
.vs-fare .vs-plan__price { margin-block-start: 1rem; }
/* The lignes mono rule includes #events-sign, so its specificity is (1,1,1). */
html.vs-lignes :is(#tarifs, .vs-fares) :is(.vs-plan__price, .vs-plan__unit + p, .vs-addons) {
  font-family: var(--font-text);
}
.vs-free-access { margin: 1rem 0 0; line-height: 1.45; }
.vs-included {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .75rem 1.5rem;
}
.vs-included li { margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.vs-included li::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1rem;
  height: var(--line-width);
  margin-inline-end: .45rem;
  background: var(--route);
}
.vs-included strong { font-weight: 800; }
.vs-fare-contact { margin: 1rem 0 0; }
.vs-fare-contact .py-link { display: inline-flex; align-items: center; }
html.vs-lignes:not(.vs-register) main a[href]:not(.py-btn) {
  color: var(--ink);
  text-decoration-color: var(--ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
.vs-fare p:last-of-type { padding-block: 1rem; font-weight: 600; }
.vs-fare .py-btn { margin-block-start: auto; background: var(--ink); color: var(--surface); }
.vs-fare-grid + .py-link { display: inline-flex; align-items: center; margin-block-start: 1rem; }
.vs-fare-scroll { position: relative; max-width: 100%; overflow-x: auto; }
.vs-fare-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.vs-fare-scroll table { width: 100%; min-width: 46rem; table-layout: fixed; border-collapse: collapse; }
/* Reserve row heights at first paint, allowing longer translations to grow. */
.vs-fare-scroll tr { height: 3.5rem; }
.vs-fare-scroll :is(th, td) {
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
  line-height: 1.4;
}
.vs-fare-scroll th { font-weight: 600; }
.vs-fare-scroll thead th { border-color: var(--ink); font-weight: 800; }
.vs-fare-scroll th:first-child { width: 26%; position: sticky; left: 0; background: var(--surface); }
.vs-fare-scroll small { display: block; font-size: .875rem; }
.vs-fare-scroll th small { font-weight: 400; overflow-wrap: anywhere; }
.vs-fare-plan { display: none; }
html.vs-lignes #questions .vs-faq__item { padding: 0; margin: 0; }
html.vs-lignes #questions .vs-faq__item summary {
  box-sizing: border-box;
  min-height: 44px;
  padding-block: .75rem;
  line-height: 1.35;
}
html.vs-lignes #questions .vs-faq__item p { margin: 0 0 .75rem; line-height: 1.45; }
@media (min-width: 881px) {
  html.vs-lignes #questions .vs-faq > h2 {
    grid-row: 1 / span 12;
    align-self: start;
    height: max-content;
  }
}
@media (max-width: 760px) {
  .vs-fare-grid { grid-template-columns: minmax(0, 1fr); }
  .vs-fare + .vs-fare { border-inline-start: 0; }
  .vs-fare-scroll th:first-child { width: 9rem; }
}
@media (max-width: 640px) {
  .vs-fare-scroll { overflow-x: visible; }
  .vs-fare-scroll table { min-width: 0; }
  .vs-fare-scroll thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .vs-fare-scroll tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: auto;
  }
  .vs-fare-scroll tbody th[scope="row"] {
    grid-column: 1 / -1;
    position: static;
    width: auto;
    height: auto;
  }
  .vs-fare-plan {
    display: block;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.2;
  }
}
