/* Professionele agendaweergave voor de agenda-overzichtspagina. */
body.path-agenda {
  --agenda-ink: #203447;
  --agenda-muted: #53697a;
  --agenda-blue: #176e9c;
  --agenda-line: #dbe6ee;
  --agenda-soft: #f5f9fc;
}

body.path-agenda .view-content {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 24px !important;
  align-items: stretch !important;
}

body.path-agenda .view-content .views-row {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr) !important;
  grid-template-areas:
    "date title"
    "date meta"
    "date action" !important;
  column-gap: 18px !important;
  row-gap: 7px !important;
  min-width: 0 !important;
  min-height: 164px !important;
  padding: 20px !important;
  background: #fff !important;
  border: 1px solid var(--agenda-line) !important;
  border-top: 4px solid #2399c5 !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 18px rgba(24, 62, 87, .06) !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

body.path-agenda .view-content .views-row:hover,
body.path-agenda .view-content .views-row:focus-within {
  border-color: #9ec8de !important;
  box-shadow: 0 10px 26px rgba(24, 62, 87, .12) !important;
  transform: translateY(-2px) !important;
}

body.path-agenda .view-content .views-field-field-datum-agendapunt {
  grid-area: date !important;
  align-self: start !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.path-agenda .view-content .views-field-field-datum-agendapunt .field-content {
  display: flex !important;
  min-height: 82px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 7px !important;
  color: var(--agenda-blue) !important;
  background: #eaf5fa !important;
  border: 1px solid #d3e7f0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
}

body.path-agenda .view-content .views-field-field-datum-agendapunt time,
body.path-agenda .view-content .views-field-field-datum-agendapunt .smart-date--date {
  color: inherit !important;
  font-weight: inherit !important;
}

body.path-agenda .view-content .views-field-title {
  grid-area: title !important;
  align-self: end !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.path-agenda .view-content .views-field-title h2,
body.path-agenda .view-content .views-field-title h3,
body.path-agenda .view-content .views-field-title h4 {
  margin: 0 !important;
  color: var(--agenda-ink) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

body.path-agenda .view-content .views-field-title a {
  color: inherit !important;
  text-decoration: none !important;
}

body.path-agenda .view-content .views-field-title a:hover,
body.path-agenda .view-content .views-field-title a:focus-visible {
  color: var(--agenda-blue) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

body.path-agenda .view-content .views-field-field-afdeling,
body.path-agenda .view-content .views-field-field-locatie,
body.path-agenda .view-content .views-field-field-tijdstip,
body.path-agenda .view-content .views-field-field-uur,
body.path-agenda .view-content .views-field-field-categorie {
  grid-area: meta !important;
  align-self: start !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: var(--agenda-muted) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere !important;
}

body.path-agenda .view-content .views-field-field-afdeling .views-label,
body.path-agenda .view-content .views-field-field-locatie .views-label,
body.path-agenda .view-content .views-field-field-tijdstip .views-label,
body.path-agenda .view-content .views-field-field-uur .views-label {
  font-weight: 700 !important;
  color: var(--agenda-ink) !important;
}

body.path-agenda .view-content .views-field-view-node,
body.path-agenda .view-content .views-field-nothing,
body.path-agenda .view-content .views-field-field-inschrijven {
  grid-area: action !important;
  align-self: end !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding-top: 10px !important;
  border-top: 1px solid #e8eff4 !important;
}

body.path-agenda .view-content .views-field-view-node a,
body.path-agenda .view-content .views-field-nothing a,
body.path-agenda .view-content .views-field-field-inschrijven a {
  display: inline-flex !important;
  min-height: 40px !important;
  align-items: center !important;
  color: var(--agenda-blue) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
}

body.path-agenda .view-content .views-field-view-node a:hover,
body.path-agenda .view-content .views-field-view-node a:focus-visible,
body.path-agenda .view-content .views-field-nothing a:hover,
body.path-agenda .view-content .views-field-nothing a:focus-visible,
body.path-agenda .view-content .views-field-field-inschrijven a:hover,
body.path-agenda .view-content .views-field-field-inschrijven a:focus-visible {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

body.path-agenda .view-empty {
  grid-column: 1 / -1 !important;
  padding: 28px !important;
  color: var(--agenda-muted) !important;
  background: var(--agenda-soft) !important;
  border: 1px dashed #b9d1df !important;
  border-radius: 14px !important;
  text-align: center !important;
}

body.path-agenda .view-filters {
  padding: 18px 20px !important;
  background: var(--agenda-soft) !important;
  border: 1px solid var(--agenda-line) !important;
  border-radius: 14px !important;
}

body.path-agenda .view-filters .form-item,
body.path-agenda .view-filters .form-actions {
  margin-bottom: 0 !important;
}

body.path-agenda .view-filters input[type=submit],
body.path-agenda .view-filters button {
  min-height: 42px !important;
  padding: 9px 16px !important;
  color: #fff !important;
  background: var(--agenda-blue) !important;
  border: 1px solid var(--agenda-blue) !important;
  border-radius: 7px !important;
  font-weight: 700 !important;
}

body.path-agenda .view-filters input[type=submit]:hover,
body.path-agenda .view-filters input[type=submit]:focus-visible,
body.path-agenda .view-filters button:hover,
body.path-agenda .view-filters button:focus-visible {
  background: #125b80 !important;
  border-color: #125b80 !important;
}

body.path-agenda a:focus-visible {
  outline: 3px solid var(--agenda-blue) !important;
  outline-offset: 3px !important;
}

@media (max-width: 820px) {
  body.path-agenda .view-content {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 560px) {
  body.path-agenda .view-content .views-row {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    column-gap: 14px !important;
    min-height: 0 !important;
    padding: 17px !important;
  }
  body.path-agenda .view-content .views-field-title h2,
  body.path-agenda .view-content .views-field-title h3,
  body.path-agenda .view-content .views-field-title h4 {
    font-size: 17px !important;
  }
  body.path-agenda .view-content .views-field-field-datum-agendapunt .field-content {
    min-height: 72px !important;
    padding: 8px 5px !important;
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.path-agenda .view-content .views-row {
    transition: none !important;
  }
}