/* Reusable 2-page, 3-column landscape pamphlet layout */

.pamphlet-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.pamphlet-actions {
  margin: 1rem 0 1.5rem;
}

.pamphlet-sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25in;

  background: white;
  color: #111827;

  width: 11in;
  min-height: 8.5in;

  margin: 0 auto 1rem;
  padding: 0.35in;

  border: 1px solid #cbd5e1;
  box-sizing: border-box;
}

.pamphlet-image-panel {
  min-height: 7.5in;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}

.pamphlet-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pamphlet-column {
  font-size: 0.9rem;
  line-height: 1.32;
}

.pamphlet-column h2 {
  font-size: 1.05rem;
  line-height: 1.15;
  margin: 0 0 0.55rem;
  font-weight: 800;
  color: #1e3a5f;
}

.pamphlet-column p {
  margin: 0 0 0.55rem;
}

.pamphlet-column ul {
  margin: 0 0 0.55rem 1rem;
  padding: 0;
}

.pamphlet-column li {
  margin-bottom: 0.25rem;
}

@media print {
  @page {
    size: letter landscape;
    margin: 0.25in;
  }

  body {
    background: white;
  }

  .toolkit-header,
  .pamphlet-actions {
    display: none;
  }

  .pamphlet-wrapper {
    max-width: none;
    padding: 0;
  }

  .pamphlet-sheet {
    width: 10.5in;
    height: 8in;
    min-height: 8in;

    margin: 0;
    padding: 0.25in;
    gap: 0.2in;

    border: none;
    page-break-after: always;
    break-after: page;
  }

  .pamphlet-sheet:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  .pamphlet-column {
    font-size: 8.6pt;
    line-height: 1.2;
  }

  .pamphlet-column h2 {
    font-size: 10pt;
  }
}

@media screen and (max-width: 900px) {
  .pamphlet-sheet {
    display: block;
    width: auto;
    min-height: auto;
  }

  .pamphlet-image-panel,
  .pamphlet-column {
    margin-bottom: 1.25rem;
  }

  .pamphlet-column {
    font-size: 1rem;
    line-height: 1.5;
  }
}