/*
 * The page 'Consiliul de coordonare' (M2-COUNCIL): the body under the tab nav: the block 'Temei și regulament de funcționare', the
 * tables of the members and the register's rows of 'Decizii' and 'Rapoarte'. The head and the tab nav are team.css's (with
 * institution.css), the rows register.css's, the table's cells components.css's .files-table. Values come from tokens.css; this
 * file holds no colour and no font size of its own. It also styles the block 'Rezultate și decizii' of an official event that ended
 * (Views/Events/_Results.cshtml) and the list of the council's meetings, whose cards are events.css's.
 */

.council-body {
  display: grid;
  gap: var(--spacing-40);
  padding-block: var(--spacing-24) var(--spacing-56);
}

.council-block h2 {
  margin-bottom: var(--spacing-12);
}

.council-block > p {
  max-width: var(--size-48rem);
}

.council-block.card {
  padding: var(--spacing-24);
}

.council-basis-links {
  display: grid;
  gap: var(--spacing-8);
  margin: var(--spacing-16) 0 0;
  padding: 0;
  list-style: none;
  overflow-wrap: anywhere;
}

.council-empty {
  margin-bottom: var(--spacing-16);
}

/* A table wider than the column scrolls inside its own focusable wrapper, never the page (WCAG 1.4.10) */
.council-table-wrap {
  overflow-x: auto;
  border: var(--border-width-1) solid var(--color-border);
  border-radius: var(--border-radius-8);
  background: var(--color-surface);
}

.council-table th,
.council-table td {
  vertical-align: top;
}

@media (min-width: 768px) {
  .council-table {
    min-width: var(--size-56rem);
  }
}

.council-table .person-acts {
  margin: var(--spacing-4) 0 0;
  padding: 0;
  list-style: none;
}

.council-table .person-act-meta {
  color: var(--color-text-secondary);
}

.council-table .field-paragraph {
  display: block;
}

.council-register-link {
  margin-top: var(--spacing-24);
}

/* The council's meetings: event cards, one under the other */
.council-meetings__list {
  display: grid;
  gap: var(--spacing-24);
  margin: var(--spacing-16) 0 0;
  padding: 0;
  list-style: none;
}

/* The block 'Rezultate și decizii' on an official event that ended: three parts, one under the other */
.event-results {
  display: grid;
  gap: var(--spacing-24);
  margin-top: var(--spacing-32);
  padding: var(--spacing-24);
}

.event-results h2,
.event-results h3 {
  margin: 0 0 var(--spacing-12);
}

.event-results__decisions {
  display: grid;
  gap: var(--spacing-8);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-wrap: anywhere;
}

.event-results__register {
  margin-top: var(--spacing-12);
}
