/**
 * Print stylesheet for /calendar/{slug} event pages.
 *
 * Loaded with media="print" so it only applies when the user prints (or saves
 * to PDF). Hides chrome and supporting content so the printed page is just:
 *   - Title
 *   - Short description
 *   - Banner image (first slide only — carousel collapsed)
 *   - Date / Time / Location / Contact link
 *   - "About This Event" body
 */

@media print {
	/* Site chrome — WP theme nav, top bar, donate widget, footer. */
	header, nav,
	.top-bar,
	.main-navbar-sec,
	.navbar,
	.fixedDonatBtn,
	footer,
	.footerSection,
	#wpadminbar { display: none !important; }

	/* Calendar-specific UI we don't want on paper. */
	.wwhe-print-trigger,           /* the share / save button itself */
	.sideBarIcon,                  /* and any other instances */
	.innerSideBar,                 /* Annual + Upcoming sidebars */
	.upcomingEvenSec,              /* "Other Upcoming Events" grid */
	.carousel-indicators,          /* indicator dots */
	.carousel-control-prev,
	.carousel-control-next,
	.overLine { display: none !important; }

	/* Carousel: show only the active slide, full-width, no transforms. */
	.carousel-item {
		display: none !important;
		transform: none !important;
	}
	.carousel-item.active {
		display: block !important;
		position: static !important;
	}
	.carousel-item.active img {
		width: 100% !important;
		max-height: 280px;
		object-fit: cover;
		page-break-inside: avoid;
	}

	/* Single-event content column: full width, no flex side-by-side. */
	.innerContent {
		width: 100% !important;
		max-width: 100% !important;
		flex: 1 1 100% !important;
	}
	.wwhe-content-sec > .container {
		flex-direction: column !important;
	}

	/* Clean up date/location/contact cards for paper. */
	.dateLoct {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: 16px !important;
	}
	.dateLoctcard {
		break-inside: avoid;
	}

	/* Body typography — drop shadows, transitions, etc. */
	body,
	.innerContent,
	.innerContent * {
		box-shadow: none !important;
		text-shadow: none !important;
		transition: none !important;
		animation: none !important;
	}
	body {
		background: #fff !important;
		color: #000 !important;
		font-size: 12pt;
		line-height: 1.4;
	}

	a {
		color: #000 !important;
		text-decoration: underline;
	}
	/* For external contact links, append the URL after the visible text so
	   the printed reader can still see where it pointed. */
	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.85em;
		color: #555;
		word-break: break-all;
	}

	/* Page break hint between hero image and body content. */
	.wwhe-content-sec { page-break-before: avoid; }

	/* Tight margins. */
	@page {
		margin: 0.5in;
	}
}
