/* The wine routes landing, the route regions and the small guide (M2-ROUTES, ROUTE2): the design system's tokens only. Cards, hub
   cards, tabs, notices, tags, the filter bar and the buttons are the kit's (components.css); the head, the section titles and the
   illustration are press.css's; the source line, the original-text quotation and the facts are places.css's. */

.route-body {
  display: grid;
  gap: var(--spacing-32);
  padding-block: var(--spacing-32) var(--spacing-48);
}

.route-subtitle {
  margin: var(--spacing-24) 0 var(--spacing-12);
  font-size: var(--font-size-20);
  line-height: var(--line-height-28);
}

.route-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-12);
  margin: 0;
}

.route-link {
  margin: var(--spacing-16) 0 0;
}

/* The landing's hero: a band with the line, the slogan, the text and the two buttons */
.route-hero {
  padding: var(--spacing-32) var(--spacing-24);
  border-radius: var(--border-radius-12);
  background: var(--color-surface-muted);
}

.route-hero__title {
  max-width: 24ch;
  margin: 0 0 var(--spacing-16);
  font-size: var(--font-size-40);
  line-height: var(--line-height-48);
  letter-spacing: var(--letter-spacing-h1);
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .route-hero {
    padding: var(--spacing-24) var(--spacing-16);
  }

  .route-hero__title {
    font-size: var(--font-size-32);
    line-height: var(--line-height-40);
  }
}

.route-hero__text {
  max-width: var(--size-44rem);
  margin: 0 0 var(--spacing-24);
}

/* The four counters of the landing and the two figures of a region */
.route-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--size-12rem)), 1fr));
  gap: var(--spacing-16) var(--spacing-24);
  margin: 0 0 var(--spacing-12);
  padding: 0;
  list-style: none;
}

.route-counter {
  display: grid;
  gap: var(--spacing-2);
  padding-left: var(--spacing-12);
  border-left: var(--border-width-2) solid var(--color-action);
}

.route-counter__value {
  color: var(--color-action);
  font-size: var(--font-size-40);
  line-height: var(--line-height-48);
  font-weight: var(--font-weight-semibold);
}

.route-counter__label {
  overflow-wrap: anywhere;
}

.route-counters-note {
  max-width: var(--size-44rem);
  margin: 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-14);
  line-height: var(--line-height-20);
}

.route-source {
  display: grid;
  gap: var(--spacing-12);
}

.route-source .brochure-source {
  max-width: none;
}

/* A route region */
.route-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-16) var(--spacing-32);
  margin: 0;
  padding: var(--spacing-16) 0;
  border-block: var(--border-width-1) solid var(--color-border);
  background: var(--color-surface-muted);
  list-style: none;
}

.route-summary__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--spacing-12);
}

.route-summary__label {
  color: var(--color-text-secondary);
  font-size: var(--font-size-14);
  line-height: var(--line-height-20);
}

.route-context {
  display: grid;
  gap: var(--spacing-12);
}

.route-context .section-title {
  margin-bottom: 0;
}

.route-reported {
  display: grid;
  gap: var(--spacing-16);
}

.route-reported__item {
  display: grid;
  gap: var(--spacing-4);
  padding: var(--spacing-16) var(--spacing-20);
  border-radius: var(--border-radius-12);
  background: var(--color-surface-muted);
}

.route-reported__label {
  color: var(--color-text-secondary);
  font-size: var(--font-size-14);
  line-height: var(--line-height-20);
}

.route-reported__value {
  color: var(--color-action);
  font-size: var(--font-size-32);
  line-height: var(--line-height-40);
  font-weight: var(--font-weight-semibold);
}

.route-reported small {
  color: var(--color-text-secondary);
  font-size: var(--font-size-14);
  line-height: var(--line-height-20);
}

@media (min-width: 768px) {
  .route-reported {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The disclosure box, its summary and its icon are the shared .disclosure of components.css (M4-DISCLOSURE, CC-8) */
.route-disclosure__body {
  display: grid;
  gap: var(--spacing-12);
  overflow-wrap: anywhere;
}

.route-disclosure__body p {
  margin: 0;
}

/* The small guide */
.route-story {
  display: grid;
  gap: var(--spacing-12);
}

.route-story .section-title {
  margin-bottom: 0;
}

.route-story .section-title:not(:first-child) {
  margin-top: var(--spacing-16);
}

.route-claims,
.route-credits {
  display: grid;
  gap: var(--spacing-8);
  margin: 0;
  padding-left: var(--spacing-24);
  overflow-wrap: anywhere;
}

.route-credits-site {
  margin: 0;
  overflow-wrap: anywhere;
}

.route-grape {
  height: 100%;
}

.route-grape__dot {
  display: inline-block;
  width: var(--spacing-12);
  height: var(--spacing-12);
  margin-bottom: var(--spacing-8);
  border-radius: var(--border-radius-full);
  background: var(--color-text-secondary);
}

.route-grape__dot--white {
  border: var(--border-width-1) solid var(--color-text-secondary);
  background: var(--color-surface);
}

.route-grape__dot--red {
  background: var(--wine-of-moldova);
}

.route-words {
  display: grid;
  gap: var(--spacing-12);
  margin: 0 0 var(--spacing-12);
}

.route-word {
  display: grid;
  gap: var(--spacing-2);
  padding-bottom: var(--spacing-12);
  border-bottom: var(--border-width-1) solid var(--color-border);
}

.route-word dt {
  font-weight: var(--font-weight-semibold);
}

.route-word dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .route-word {
    grid-template-columns: minmax(var(--size-8rem), var(--size-14rem)) 1fr;
    gap: var(--spacing-16);
  }
}
