/* ─── Page title (Drupal's block, not a custom element) ─────────────────── */
.node--type-meeting-document #block-pagetitle h1.title,
.node--type-meeting-document#block-pagetitle .field--name-title {
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.3;
  margin-block: 1.5rem;
}

/* ─── Summary band ───────────────────────────────────────────────────────── */
.node--type-meeting-document .meeting-documents__summary {
  border-bottom: 2px solid #dee2e6;
  padding-block: 1.5rem;
  margin-bottom: 2rem;
  padding-top: 0rem;
}

.node--type-meeting-document .summary-info {
   max-width: 85%;
   width: 350px;
   margin: 0 auto;
}

/* ─── Logo column ────────────────────────────────────────────────────────── */
.node--type-meeting-document .summary-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;           /* keeps the column from collapsing if img is slow */
}
/*
.node--type-meeting-document .summary-logo__img {
  display: block;
  width: 350px;
  max-width: 85%;
  height: auto;
}
*/
/* ─── Meeting summary meta ───────────────────────────────────────────────── */
.node--type-meeting-document .meeting-summary__meta {
  margin: 0;
  padding: 0;
}

.node--type-meeting-document .meeting-summary__row {
  padding-block: 0.35rem;
}

.node--type-meeting-document .meeting-summary__row dd {
  margin: 0;
}

.node--type-meeting-document .meeting-summary__group {
    font-size: 1.2em;
    font-weight: 600;
}

/* ─── Field items vertical breathing room ────────────────────────────────── */
.node--type-meeting-document .meeting-documents__content .field__items,
.node--type-meeting-document .meeting-documents__content .field__item {
  padding-block: 0.5rem;
}

/* Containers */
.node--type-meeting-document section {
    max-width: 85%;
    width: 1320px;
    margin: 0 auto;
  }

/* Paragraph styles */
.node--type-meeting-document .meeting-documents__content .paragraph--type--section-title h3 {
    padding: 0;
}

/* ─── Print button ───────────────────────────────────────────────────────── */
.node--type-meeting-document .meeting-documents__print {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid #6c757d;
  border-radius: 0.25rem;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.node--type-meeting-document .meeting-documents__print:hover {
  background-color: #6c757d;
  color: #fff;
}

.node--type-meeting-document .meeting-documents__print::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─── Print media ────────────────────────────────────────────────────────── */
@media print {
  /* Hide the entire site header — removes logo, search, nav */
  .node--type-meeting-document header,
  .node--type-meeting-document .meeting-documents__print {
    display: none !important;
  }

  /* Print the generated title ourselves at the top */
  .node--type-meeting-document .meeting-documents__summary::before {
    content: attr(data-print-title);
    display: block;
    font-size: 16pt;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
  }

  .node--type-meeting-document .meeting-documents__summary {
    border-bottom: 1pt solid #000;
  }

  .node--type-meeting-document section {
    max-width: 90%;
  }
  .summary-logo {
    float: left;
    max-width: 50%;
  }
}