/*
  Municipal — visual language from print campaign SVGs
  (see Marie - LSL/Final/profession-de-foi-*.svg):
  greens #1b5745 / #1b5546, leaf #88a062, crème #faf8ec, panels #572f1b & #c4e2e4;
  display type Candara Bold Italic / Italic (body on flyers is italic — web body stays upright for readability).
  Logo mark: static/images/logo-lessalles.svg (same green / leaf / crème).
*/
:root {
  --logo-green: #1b5745;
  --logo-green-text: #1b5546;
  --logo-leaf: #88a062;
  --logo-creme: #faf8ec;
  --tone-brown: #572f1b;
  --tone-sky: #c4e2e4;

  --bg: color-mix(in srgb, var(--logo-creme) 88%, white);
  --surface: color-mix(in srgb, var(--logo-creme) 42%, white);
  --text: #24312c;
  --text-muted: #4a5a52;
  --primary: #1e4d3f;
  --primary-dark: #163d32;
  --accent: #5a6345;
  --border: color-mix(in srgb, var(--logo-green) 14%, var(--logo-creme) 86%);
  --link: var(--logo-green);
  --link-hover: #143d32;
  --focus: color-mix(in srgb, var(--tone-sky) 45%, var(--logo-leaf) 55%);
  /* ~ logo tile rx 22/120 */
  --radius: 0.95rem;
  --radius-sm: 0.5rem;
  /* Flat UI: colour + borders + type — no drop shadows or “lift” */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* Candara = flyer face; fall back to common system sans then loaded Source Sans 3 */
  --font-display: Candara, Calibri, "Segoe UI", "Source Sans 3", system-ui, sans-serif;
  --font: "Source Sans 3", Candara, Calibri, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-content: 42rem;
  --max-wide: 72rem;
  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .post-card,
  .post-card__media img {
    transition: none !important;
  }

  .post-card:hover {
    transform: none;
  }

  .post-card:hover .post-card__media img {
    transform: none;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: var(--step-1);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  /* Very subtle flat pinstripes (texture, not depth) */
  background-image: repeating-linear-gradient(
    -9deg,
    transparent 0,
    transparent 14px,
    color-mix(in srgb, var(--logo-green) 4.5%, transparent) 14px,
    color-mix(in srgb, var(--logo-green) 4.5%, transparent) 15px
  );
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--logo-green);
  color: var(--logo-creme);
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.12em;
  text-decoration-color: color-mix(in srgb, var(--logo-leaf) 55%, var(--link));
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: var(--logo-leaf);
}

/* Nav / buttons use their own rules — reset heavy underlines */
.skip-link,
.site-nav a,
.lang-switch a,
.site-title a,
.post-card__title a,
.btn,
.pagination a,
.tag-list a,
.terms-index a {
  text-decoration: none;
  text-decoration-thickness: unset;
  text-decoration-color: unset;
}

.post-card__title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--logo-leaf);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.1em;
}

/* —— Site header —— */
.site-header {
  position: relative;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
}

/* Flat accent strip (campaign green — no colour transitions) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--logo-green);
}

.site-header__inner {
  position: relative;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1.25rem;
}

/* Anchor for PaperMod-style dropdown menu on small screens */
.site-header__nav-shell {
  position: static;
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.site-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex: 1;
  min-width: 0;
}

/* Hamburger: visible only on narrow screens */
.site-nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--logo-green-text);
  cursor: pointer;
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}

.site-nav-toggle:hover {
  border-color: var(--logo-leaf);
  background: color-mix(in srgb, var(--tone-sky) 18%, var(--surface));
}

.site-nav-toggle__bars,
.site-nav-toggle__bars::before,
.site-nav-toggle__bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}

.site-nav-toggle__bars::before,
.site-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav-toggle__bars::before {
  top: -5px;
}

.site-nav-toggle__bars::after {
  top: 5px;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars {
  background: transparent;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-brand__leading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  min-width: min(100%, 12rem);
}

.site-logo {
  flex-shrink: 0;
  line-height: 0;
  border-radius: 22%;
  border: 2px solid color-mix(in srgb, var(--logo-green) 35%, var(--border));
  transition: border-color 0.15s var(--ease-out);
}

.site-logo:hover {
  border-color: var(--logo-leaf);
}

.site-logo:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-logo img {
  display: block;
  width: 3.35rem;
  height: auto;
  aspect-ratio: 1;
  border-radius: inherit;
}

.site-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.site-title a {
  color: var(--logo-green);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--primary-dark);
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--step-0);
}

.lang-switch a {
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.lang-switch a:hover {
  background: color-mix(in srgb, var(--logo-green) 7%, transparent);
  border-color: var(--border);
}

.lang-switch a[aria-current="true"] {
  background: color-mix(in srgb, var(--logo-leaf) 32%, var(--surface));
  color: var(--primary-dark);
  border-color: var(--logo-green);
}

/* —— Main navigation —— */
.site-nav {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}

.site-nav a:hover {
  background: color-mix(in srgb, var(--tone-sky) 22%, var(--surface));
  color: var(--primary-dark);
  border-color: var(--logo-leaf);
}

.site-nav a[aria-current="page"] {
  background: var(--logo-green);
  color: var(--logo-creme);
  border-color: var(--logo-green);
}

.site-nav a[aria-current="page"]:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--logo-creme);
}

@media (max-width: 47.99rem) {
  .site-header__inner {
    padding: 0.65rem 1rem 0.75rem;
  }

  .site-header__nav-shell {
    position: relative;
    z-index: 50;
  }

  /*
    Compact header: avoid a tall stack (logo / title / lang) beside the menu button.
    Grid: row1 = logo + title (ellipsis) | hamburger; row2 = language switch full width.
  */
  .site-header__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.35rem 0.65rem;
    align-items: center;
    margin-bottom: 0;
  }

  .site-brand {
    display: contents;
  }

  .site-brand__leading {
    grid-column: 1;
    grid-row: 1;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem 0.65rem;
    min-width: 0;
    max-width: 100%;
  }

  .site-logo img {
    width: 2.65rem;
  }

  .site-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(1.02rem, 3.4vw, 1.32rem);
    line-height: 1.2;
  }

  .site-title a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .lang-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 0.3rem 0.5rem;
  }

  .lang-switch a {
    padding: 0.28rem 0.5rem;
    font-size: 0.9rem;
  }

  .site-nav-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-self: center;
  }

  /* Inline strip hidden on mobile; menu opens as a floating panel (like PaperMod) */
  .site-nav {
    border-top: none;
    padding-top: 0;
  }

  .site-nav:not(.is-open) {
    display: none;
  }

  .site-nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0.35rem;
    padding: 0.65rem 0.75rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    max-height: min(75vh, 24rem);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .site-nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.2rem;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    min-height: 0;
    padding: 0.5rem 0.7rem;
    font-size: var(--step-0);
    line-height: 1.35;
  }
}

@media (min-width: 48rem) {
  .site-header__nav-shell {
    position: static;
    z-index: auto;
  }
}

/* —— Layout —— */
main#main {
  flex: 1;
  max-width: var(--max-wide);
  width: 100%;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
  border-left: 3px solid var(--logo-green);
}

.page-header {
  position: relative;
  margin-bottom: 1.75rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: min(14rem, 70%);
  height: 4px;
  background: var(--logo-green);
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.35rem);
  font-weight: 700;
  color: var(--logo-green-text);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.page-header .meta {
  font-size: var(--step-0);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.meta-sep {
  color: var(--border);
}

.single__cover {
  margin: 0 0 1.5rem;
  max-width: var(--max-content);
}

.single__cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* —— Intro / prose —— */
.intro {
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  border-top: 4px solid var(--logo-green);
  border-left: 5px solid var(--logo-leaf);
  margin-bottom: 2rem;
  max-width: var(--max-content);
}

.intro p:first-child {
  margin-top: 0;
}

.intro p:last-child {
  margin-bottom: 0;
}

.prose {
  max-width: var(--max-content);
  font-size: var(--step-1);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--logo-green-text);
}

.prose h2 {
  margin-top: 1.4em;
  margin-bottom: 0.45em;
}

.prose h2:first-of-type {
  margin-top: 0.25em;
}

.prose h3 {
  margin-top: 1.25em;
  margin-bottom: 0.35em;
}

.prose h2 + p {
  margin-top: 0;
  margin-bottom: 0.65em;
}

.prose h2 + table {
  margin-top: 0.2rem;
}

.prose p + table {
  margin-top: 0.45rem;
}

.prose table + p {
  margin-top: 0.85rem;
}

.prose table + h2 {
  margin-top: 1.65em;
}

.prose blockquote {
  margin: 1.25em 0;
  padding: 0.75rem 1rem 0.75rem 1.1rem;
  border-left: 4px solid var(--tone-sky);
  background: color-mix(in srgb, var(--tone-sky) 12%, var(--surface));
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
}

.prose hr {
  border: 0;
  height: 2px;
  margin: 1.5em 0;
  background: color-mix(in srgb, var(--tone-sky) 65%, var(--logo-green) 35%);
  border-radius: 1px;
}

/* —— Tables —— */
.prose:has(> table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 42rem) {
  .prose {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .prose > table {
    min-width: min(100%, 36rem);
  }
}

/* Shared */
.prose > table {
  width: 100%;
  margin: 0.85rem 0 1rem;
  border-collapse: collapse;
  border: none;
  background: transparent;
  font-size: var(--step-0);
  line-height: 1.55;
}

/* Mayor / team-style: 2-column key-value (empty header row from Markdown) */
.prose > table:not(:has(thead th:nth-child(3))) thead:not(:has(th:not(:empty))) {
  display: none;
}

.prose > table:not(:has(thead th:nth-child(3))) {
  margin: 0.35rem 0 0.85rem;
  line-height: 1.45;
}

.prose > table:not(:has(thead th:nth-child(3))) tbody td {
  padding: 0.45rem 0.75rem 0.5rem;
  border: none;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.prose > table:not(:has(thead th:nth-child(3))) tbody tr:last-child td {
  border-bottom: none;
  padding-bottom: 0.35rem;
}

@media (min-width: 42rem) {
  .prose > table:not(:has(thead th:nth-child(3))) {
    table-layout: fixed;
  }

  .prose > table:not(:has(thead th:nth-child(3))) tbody td:first-child {
    width: 38%;
    padding-right: 1rem;
  }
}

.prose > table:not(:has(thead th:nth-child(3))) tbody td:first-child {
  font-weight: 700;
  color: var(--logo-green-text);
}

.prose > table:not(:has(thead th:nth-child(3))) tbody td:not(:first-child) {
  color: var(--text);
}

/* Agenda: 3-column schedule (Date | Venue | Event) */
.prose > table:has(thead th:nth-child(3)) {
  margin: 1.35rem 0 1.15rem;
}

@media (min-width: 42rem) {
  .prose > table:has(thead th:nth-child(3)) {
    table-layout: fixed;
  }

  .prose > table:has(thead th:nth-child(3)) th:nth-child(1),
  .prose > table:has(thead th:nth-child(3)) td:nth-child(1) {
    width: 11.5rem;
    white-space: nowrap;
  }

  .prose > table:has(thead th:nth-child(3)) th:nth-child(2),
  .prose > table:has(thead th:nth-child(3)) td:nth-child(2) {
    width: 32%;
  }
}

.prose > table:has(thead th:nth-child(3)) thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  color: var(--logo-green-text);
  background: transparent;
  padding: 0.35rem 1rem 0.6rem;
  border: none;
  border-bottom: 3px solid var(--logo-green);
  vertical-align: bottom;
}

.prose > table:has(thead th:nth-child(3)) tbody td {
  padding: 0.95rem 1rem;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 85%, var(--logo-green));
  vertical-align: top;
  background: transparent;
}

.prose > table:has(thead th:nth-child(3)) tbody tr:last-child td {
  border-bottom: none;
}

.prose > table:has(thead th:nth-child(3)) tbody td:first-child {
  font-weight: 700;
  color: var(--logo-green-text);
}

.prose > table:has(thead th:nth-child(3)) tbody td:not(:first-child) {
  color: var(--text);
}

/* —— Post list —— */
.section-heading {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.55rem);
  font-style: italic;
  font-weight: 700;
  color: var(--logo-leaf);
  margin: 0 0 1.15rem;
  padding-bottom: 0.55rem;
  letter-spacing: 0.02em;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 4px;
  background: var(--logo-leaf);
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-left: 5px solid var(--logo-green);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transform-origin: center;
  transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out), background-color 0.28s var(--ease-out);
}

.post-card:hover {
  transform: scale(1.018);
  border-color: var(--logo-green);
  background: color-mix(in srgb, var(--logo-leaf) 9%, var(--surface));
}

@media (min-width: 36rem) {
  .post-card.has-thumb {
    grid-template-columns: min(200px, 32vw) 1fr;
  }
}

.post-card__media {
  margin: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--border) 40%, var(--surface));
}

.post-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 140px;
  max-height: 200px;
  object-fit: cover;
  transform-origin: center;
  transition: transform 0.32s var(--ease-out);
}

.post-card:hover .post-card__media img {
  transform: scale(1.04);
}

.post-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.3;
}

.post-card__title a {
  color: var(--logo-green-text);
  text-decoration: none;
}

.post-card__title a:hover {
  text-decoration: underline;
}

.post-card__meta {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.post-card__summary {
  margin: 0;
  font-size: var(--step-0);
  color: var(--text-muted);
}

.actions {
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5rem 1.35rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--logo-creme);
  background: var(--logo-green);
  border: 3px solid var(--logo-green);
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}

.btn:hover {
  background: var(--surface);
  color: var(--logo-green);
  border-color: var(--logo-green);
}

/* —— Pagination —— */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
  font-size: var(--step-1);
  font-weight: 600;
}

.pagination a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.pagination a:hover {
  background: color-mix(in srgb, var(--logo-leaf) 20%, var(--surface));
  border-color: var(--logo-green);
  color: var(--primary-dark);
}

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  padding: 2rem 1.25rem;
  background: var(--surface);
  border-top: 3px solid color-mix(in srgb, var(--tone-brown) 22%, var(--border));
  font-size: var(--step-0);
  color: var(--text-muted);
}

.site-footer__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.site-footer p {
  margin: 0.35rem 0;
}

/* —— Tags (inline in articles) —— */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.tag-list a {
  padding: 0.35rem 0.75rem;
  font-size: var(--step-0);
  font-weight: 600;
  background: color-mix(in srgb, var(--logo-leaf) 18%, var(--surface));
  border: 2px solid color-mix(in srgb, var(--logo-leaf) 50%, var(--border));
  border-radius: 999px;
  color: color-mix(in srgb, var(--logo-green) 55%, #3d4a38);
  transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out);
}

.tag-list a:hover {
  background: color-mix(in srgb, var(--logo-leaf) 8%, var(--surface));
  border-color: var(--logo-green);
}

/* —— Taxonomy index (/tags/) —— */
.terms-index {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--max-content);
}

.terms-index li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--step-1);
}

.terms-index a {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-dark);
}

.terms-index a:hover {
  text-decoration: underline;
}

.terms-index .meta {
  font-size: var(--step-0);
  font-weight: 400;
  color: var(--text-muted);
}
