/* ================================================
   PRINT STYLESHEET — GateWay Bible Church
   Applied via media="print" on all public pages
   ================================================ */

/* --- Hide non-essential elements --- */
.site-nav,
.site-footer,
.mobile-menu,
.mobile-menu-overlay,
.nav-mobile-toggle,
.skip-nav,
.scroll-fade,
.video-embed,
.youtube-embed,
.sermon-video-inline,
iframe[src*="youtube"],
iframe[src*="google.com/maps"],
form,
.form-group,
.form-input,
.form-textarea,
.form-submit,
.carousel-dots,
.carousel-nav,
.modal,
.modal-overlay,
.lightbox,
.filter-pills,
.pagination,
.view-toggle,
.back-to-top,
.entrance-overlay {
  display: none !important;
}

/* --- Base typography and colors --- */
body {
  background: #fff !important;
  color: #000 !important;
  font-family: "Montserrat", sans-serif;
  font-size: 12pt;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 18pt;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 14pt;
  line-height: 1.3;
  margin-bottom: 0.4em;
}

h3 {
  font-size: 12pt;
  line-height: 1.4;
  margin-bottom: 0.3em;
}

h1, h2, h3, h4, h5, h6 {
  color: #000 !important;
  page-break-after: avoid;
}

p, li, td, th {
  color: #000 !important;
}

/* --- Remove all background images, gradients, and decorative surfaces --- */
*,
*::before,
*::after {
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body {
  background-color: #fff !important;
}

/* --- Remove animations and transitions --- */
* {
  animation: none !important;
  transition: none !important;
}

/* --- Containers: full width --- */
.container,
.section-inner,
.content-wrapper,
[class*="inner"],
[class*="wrapper"] {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0.5in !important;
  padding-right: 0.5in !important;
}

/* --- Links: show URL after text --- */
a[href^="http"]::after {
  content: " (" attr(href) ")";
  font-size: 9pt;
  font-weight: normal;
  color: #555 !important;
}

a[href^="mailto"]::after {
  content: " (" attr(href) ")";
  font-size: 9pt;
  font-weight: normal;
  color: #555 !important;
}

a[href^="tel"]::after {
  content: " (" attr(href) ")";
  font-size: 9pt;
  font-weight: normal;
  color: #555 !important;
}

a {
  color: #000 !important;
  text-decoration: underline;
}

/* --- Show all collapsed accordion content --- */
.accordion-content,
.accordion-body,
.accordion-panel,
[class*="accordion"] [class*="content"],
[class*="accordion"] [class*="body"] {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

/* --- Testimony carousel: show first item only --- */
.testimony-carousel .carousel-track {
  transform: none !important;
}

.testimony-carousel .carousel-slide:not(:first-child) {
  display: none !important;
}

.testimony-carousel .carousel-slide:first-child {
  display: block !important;
}

/* --- Cards and sections: avoid page breaks inside --- */
.card,
.comm-card,
.impact-card,
.staff-card,
.event-card,
.series-card,
.sermon-card,
[class*="-card"],
section,
.section,
blockquote {
  page-break-inside: avoid;
  break-inside: avoid;
}

/* --- Images: reasonable sizing for print --- */
img {
  max-width: 100% !important;
  height: auto !important;
}

/* --- Page margins --- */
@page {
  margin: 0.75in;
}
