/* print.css */

/* Hide navigation, footer, and background images */
nav, .aside, .mobile-aside-menus, .desktop-aside-menus,
footer, .splash-footer, wwu-header, wwu-footer,
.showcase-pre-header, .main-header, .issues-menu, .browse-issues-container {
  display: none !important;
}
/* Hide all of the banner except the title */

.showcase-banner {
  page-break-inside: avoid !important;
  page-break-before: auto !important;
  page-break-after: avoid !important;
  padding: 0 !important;
  margin: 0 auto !important;
  height: auto !important;
  position: static !important;
  background: none !important;
}

.showcase-banner img {
  display: none !important;
}

.showcase-banner h1.title {
  margin: 0 !important;
  line-height: 1.2 !important;
  page-break-before: auto !important;
  page-break-after: avoid !important;
  display: block !important;
  position: static !important;
  text-align: center !important;
  color: #000 !important;
  font-size: 2rem !important;
  padding: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

body, html {
  background: #fff !important;
  color: #000;
  font-family: 'Fira Sans', sans-serif;
  font-size: 12pt;
  margin: 0;
  padding: 0;
}

/* Ensure all links are underlined and visible in print */
a:link, a:visited {
  color: #000 !important;
  text-decoration: underline !important;
}

/* Remove flex layout for easier printing */
.two-col, .main-wrapper, .layout--twocol-25-75, .layout__region {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto;
}

/* Full-width images and content */
img {
  max-width: 100% !important;
  height: auto !important;
  page-break-inside: avoid;
}

/* Improve spacing for headings and paragraphs */
h1, h2, h3, h4, h5, h6 {
  page-break-after: avoid;
}

p, li {
  orphans: 3;
  widows: 3;
  page-break-inside: avoid;
}

/* Avoid page breaks inside key content blocks */
.speaker-block, .portfolio-content, .wwu-pullquote, .showcase-banner {
  page-break-inside: avoid !important;
  page-break-before: auto !important;
  page-break-after: avoid !important;
  padding: 0 !important;
  margin: 0 auto !important;
  height: auto !important;
  position: static !important;
  background: none !important;
}
.speaker-portrait {
  display: none !important;
}


/* Prevent breaks between title and content */
main, .region-wrapper, .layout__region, .portfolio-content, header {
  page-break-before: auto !important;
  page-break-after: auto !important;
  page-break-inside: avoid !important;
}

/* Avoid full-height behavior that causes early breaks */
main {
  min-height: auto !important;
}

/* Print-only pre-header content */
.showcase-pre-header {
  display: block !important;
  text-align: center !important;
  background: none !important;
  color: #000 !important;
  font-family: 'Fira Sans', sans-serif !important;
  font-size: 16pt !important;
  padding: 0 !important;
  margin: 0 auto 10px auto !important;
  height: auto !important;
  page-break-before: auto !important;
  page-break-after: avoid !important;
  page-break-inside: avoid !important;
}

.showcase-pre-header .logo, .showcase-pre-header .mobile-container, 
.showcase-pre-header .mobile-menus,
.showcase-pre-header .browse-issues-container,
.showcase-pre-header button,
.showcase-pre-header svg,
.showcase-pre-header img,
.showcase-pre-header .menu-column,
.showcase-pre-header .side-menu,
.showcase-pre-header .issues-menu,
.showcase-pre-header .issues,
.showcase-pre-header .issues-wrap,
.showcase-pre-header .title ~ * {
  display: none !important;
}

.showcase-pre-header .title {
  display: block !important;
  font-size: 1rem !important;
  font-weight: light !important;
  color: #fff !important;
  padding: 10px 20px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-transform: none !important;
  font-family: 'Fira Sans', sans-serif !important;
  background: none !important;
  text-transform: uppercase !important;

}
.showcase-pre-header {
    background: var(--blue) !important;
    margin-bottom: 30px !important;

}

.speaker-bio .name {
  order: 2 !important;
}
.speaker-bio .dept {
  order: 3 !important;
}
.speaker-bio .credit {
  order: 1 !important;
}
.speaker-block, .speaker-bio {
  margin-bottom: 30px !important;
  margin-left: 0px !important;
  gap: 0px !important;
  padding-left: 0px !important;
}