/* ==========================================================================
   Prom 2027 - print styles (policy, receipt, event details)
   ========================================================================== */

@page {
  margin: 16mm 15mm;
}

@media print {
  :root {
    --ivory: #111;
    --ivory-muted: #222;
    --ivory-dim: #444;
    --gold: #7a5d12;
    --gold-light: #7a5d12;
    --gold-hairline: #b9a45c;
    --gold-hairline-soft: #d9cfae;
    --navy-900: #fff;
    --navy-850: #fff;
  }

  html,
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 10.5pt;
    line-height: 1.5;
  }

  body {
    background-image: none !important;
  }

  .site-header,
  .site-footer,
  .skip-link,
  .hero__stars,
  .hero__actions,
  .btn,
  .no-print,
  .toc,
  .faq-aside,
  .register-aside,
  [data-reveal] {
    display: none !important;
  }

  .page-hero,
  .hero {
    padding: 0 0 8mm !important;
    border: 0 !important;
    background: none !important;
    text-align: left;
    min-height: 0;
  }

  .hero__frame,
  .hero__cap {
    display: none !important;
  }

  h1,
  h2,
  h3,
  h4,
  .hero__school,
  .hero__year {
    color: #111 !important;
    -webkit-text-fill-color: currentColor;
    background: none !important;
    page-break-after: avoid;
  }

  .hero__script {
    font-size: 30pt;
    color: #111 !important;
    -webkit-text-fill-color: #111 !important;
  }

  a {
    color: #111 !important;
    text-decoration: underline;
  }

  .policy-layout,
  .faq-layout {
    display: block !important;
  }

  .policy-section {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5mm;
    margin-bottom: 5mm;
    page-break-inside: auto;
    break-inside: auto;
  }

  .policy-section__title {
    font-size: 13pt;
    margin-bottom: 2mm;
  }

  .policy-section__num {
    color: #555 !important;
  }

  .policy-declaration {
    border: 1px solid #555;
    background: none !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .policy-declaration__quote {
    color: #111;
    font-size: 11pt;
  }

  .prose,
  .policy-section .prose p,
  .policy-section .prose ul,
  .details-item dd,
  .details-item dt {
    color: #111 !important;
    max-width: none;
  }

  .card,
  .event-card,
  .form-card,
  .confirmation {
    border: 1px solid #999 !important;
    background: none !important;
    box-shadow: none !important;
  }

  .details-item {
    border-bottom: 1px solid #ddd;
    break-inside: avoid;
  }

  .details-item__icon {
    border-color: #999;
    color: #555;
  }

  .confirmation__mark {
    border-color: #555;
    color: #555;
  }

  .confirmation__ref {
    border-color: #999;
    color: #111;
  }

  main {
    padding: 0 !important;
  }
}
