  /* ===============================
   Drupal Print Stylesheet
   Tightened, compact layout
   =============================== */

.coh-breadcrumb {
  display: none !important;
}

@page {
  margin: 0.5in;
}

/* --- Global density reset --- */
html {
  font-size: 70% !important;  /* ~30% reduction */
}

html, body {
  background: #fff !important;
  color: #000 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tighten vertical spacing everywhere */
* {
  margin-top: 0.2em !important;
  margin-bottom: 0.2em !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* --- Hide navigation/UI chrome --- */
header,
footer,
nav,
.region-header,
.region-primary-menu,
.region-secondary-menu,
.region-footer,
.block-system-breadcrumb-block,
.block-local-tasks-block,
.tabs,
.toolbar,
#toolbar-bar,
#toolbar-administration,
.skip-link,
.messages,
.pager,
.sidebar,
.region-sidebar-first,
.region-sidebar-second {
  display: none !important;
}



/* --- Keep main content visible --- */
main,
.region-content,
.layout-content,
.node,
.view {
  display: block !important;
  width: 100% !important;
}

/* --- Insert compact print header image (50% tighter) --- */
body::before {
  content: "";
  position: fixed;
  top: 0.05in;
  left: 0;
  right: 0;
  height: 100px;
  background-image: url("/sites/default/files/Gov%20State%20logo.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

/* Remove extra top gap after header image */
main,
.region-content,
.node,
.layout-content {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

/* Kill first-element margin stacking */
main *:first-child,
.region-content *:first-child,
.node *:first-child {
  margin-top: 0 !important;
}

/* --- Heading scale compression --- */
h1 { font-size: 1.4rem !important; }
h2 { font-size: 1.25rem !important; }
h3 { font-size: 1.15rem !important; }
h4 { font-size: 1.05rem !important; }

h1, h2, h3, h4 {
  line-height: 1.15 !important;
  margin-top: 0.4em !important;
  margin-bottom: 0.2em !important;
}

/* --- Paragraph tightening --- */
p, li {
  font-size: 1rem !important;
  line-height: 1.3 !important;
  margin-bottom: 0.25em !important;
}

/* --- Link URL display for print --- */
a:link:after,
a:visited:after {
  content: " (" attr(href) ")";
  font-size: 90%;
}

/* --- Table compression --- */
table {
  font-size: 0.95rem !important;
  page-break-inside: avoid;
}

td, th {
  padding: 2px 4px !important;
}

/* --- Prevent awkward page breaks --- */
img, table, figure {
  page-break-inside: avoid;
}

h2, h3, h4 {
  page-break-after: avoid;
}

p {
  orphans: 3;
  widows: 3;
}

/* --- Kill excess spacing from Drupal wrappers --- */
.layout,
.field,
.block,
.region,
.view,
.node__content {
  margin: 0 !important;
  padding: 0 !important;
}


