/*
 * The wine list, the wine page and the producer's page (M2-WINES): the head is the team page's (institution.css, team.css), the
 * filter bar and the cards are the kit's (components.css), the technical sheet and the producer's wines are the Files table's
 * (components.css). The fields are a description list in the design system's field rows. Values come from tokens.css; this
 * file holds no colour and no font size of its own.
 */
.wines-list {
  padding-block: var(--spacing-32) var(--spacing-48);
}

.wines-note {
  margin-top: var(--spacing-32);
}

.wine-record {
  padding-block: var(--spacing-32) var(--spacing-48);
}

.wine-tags {
  margin: 0 0 var(--spacing-24);
}

.wine-image {
  max-width: var(--size-28rem);
  margin: 0 0 var(--spacing-24);
}

.wine-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-12);
}

.wine-fields,
.producer-facts-list {
  max-width: var(--size-52rem);
  margin: 0 0 var(--spacing-32);
  overflow-wrap: anywhere;
}

.wine-fields dd,
.producer-facts-list dd {
  margin: 0;
}

/* The producer's profile (brief-m1-4): the map number in a round badge beside its grouping, then the brochure's text and contacts */
.producer-banner {
  display: flex;
  align-items: center;
  gap: var(--spacing-12);
  margin: 0 0 var(--spacing-24);
}

.producer-banner .eyebrow {
  margin: 0;
}

.producer-number {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: var(--spacing-40);
  height: var(--spacing-40);
  padding-inline: var(--spacing-8);
  border-radius: var(--border-radius-full);
  background: var(--color-action);
  color: var(--color-action-text);
  font-size: var(--font-size-20);
  line-height: var(--line-height-28);
  font-weight: var(--font-weight-semibold);
}

.producer-brochure {
  display: grid;
  gap: var(--spacing-24);
  margin: 0 0 var(--spacing-32);
}

.producer-reading h2 {
  margin: 0 0 var(--spacing-12);
}

.producer-reading h2:not(:first-child) {
  margin-top: var(--spacing-24);
}

.producer-description {
  margin: 0 0 var(--spacing-12);
  overflow-wrap: anywhere;
}

.producer-services {
  margin: 0 0 var(--spacing-12);
}

.producer-source {
  margin: 0 0 var(--spacing-32);
}

.wine-section {
  max-width: var(--size-52rem);
  margin: 0 0 var(--spacing-32);
}

.wine-section h2 {
  margin-bottom: var(--spacing-12);
}

.wine-edition-note {
  margin: var(--spacing-12) 0 0;
  font-size: var(--font-size-14);
  line-height: var(--line-height-20);
  color: var(--color-text-secondary);
}

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