/* Shared: flipbook template picker cards (home hero + flipbook-maker-templates page) */
.pf-template-type-card {
	border: 1px solid rgba(0, 0, 0, 0.06) !important;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}
.pf-template-type-icon {
	width: 112px;
	max-width: min(112px, 32vw);
	height: auto;
	object-fit: contain;
	margin-bottom: 1.125rem;
}
.pf-template-type-card h2 {
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: #1a1a1a;
}
.pf-template-type-card .pf-template-lead {
	color: #4a4a4a;
	line-height: 1.65;
	margin-bottom: 0;
	font-size: 1rem;
}
.pf-template-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 420px;
}
@media (min-width: 992px) {
	.pf-template-row {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.pf-template-text-col {
		flex: 0 0 40%;
		max-width: 40%;
		min-width: 0;
	}
	.pf-template-sample-col {
		flex: 0 0 60%;
		max-width: 60%;
		min-width: 0;
	}
}
.pf-template-sample-col {
	background: #ececec;
	display: flex;
	flex-direction: column;
	min-height: 380px;
}
@media (min-width: 992px) {
	.pf-template-sample-col {
		border-left: 1px solid rgba(0, 0, 0, 0.06);
	}
}
.pf-template-sample-inner {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 380px;
	padding: 0;
	margin: 0;
}
.pf-template-flipbook-host {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-height: 380px;
	display: flex;
	flex-direction: column;
}
.pf-template-flipbook-host > .pf-template-flipbook-wrap {
	flex: 1 1 auto;
	width: 100%;
	min-height: 380px;
}
.pf-template-fs-cta {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 4;
}
.pf-template-fs-cta.pf-template-fs-cta--dismissed {
	display: none;
}
.pf-template-fs-cta-btn {
	position: relative;
	pointer-events: auto;
	margin: 0;
	padding: 0.28rem 0.7rem;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.015em;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.38);
	background: rgba(0, 0, 0, 0.42);
	-webkit-tap-highlight-color: transparent;
	animation: pf-template-fs-cta-pulse 2.75s ease-in-out infinite;
}
.pf-template-fs-cta-btn:focus {
	outline: 2px solid #0fbc49;
	outline-offset: 2px;
}
.pf-template-fs-cta-btn:focus:not(:focus-visible) {
	outline: none;
}
.pf-template-fs-cta-btn:hover {
	background: rgba(0, 0, 0, 0.55);
}
@keyframes pf-template-fs-cta-pulse {
	0%,
	100% {
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(0, 0, 0, 0.1);
		opacity: 0.94;
	}
	50% {
		box-shadow: 0 3px 14px rgba(0, 0, 0, 0.32), 0 0 0 6px rgba(0, 0, 0, 0.05);
		opacity: 1;
	}
}
@media (prefers-reduced-motion: reduce) {
	.pf-template-fs-cta-btn {
		animation: none;
		opacity: 1;
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.26);
	}
}
.pf-template-fs-exit {
	display: none;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 6;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	color: #fff;
	background: rgba(0, 0, 0, 0.5);
	pointer-events: auto;
	-webkit-tap-highlight-color: transparent;
}
.pf-template-fs-exit:hover {
	background: rgba(0, 0, 0, 0.65);
}
.pf-template-fs-exit:focus {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.pf-template-flipbook-host:fullscreen,
.pf-template-flipbook-host:-webkit-full-screen {
	min-height: 100%;
	background: #ececec;
}
.pf-template-flipbook-host:fullscreen > .pf-template-flipbook-wrap,
.pf-template-flipbook-host:-webkit-full-screen > .pf-template-flipbook-wrap,
body.pf-template-fs-active .pf-template-flipbook-host.pf-fs-simulated > .pf-template-flipbook-wrap {
	flex: 1;
	min-height: 0;
}
.pf-template-flipbook-host:fullscreen .pf-template-fs-cta,
.pf-template-flipbook-host:-webkit-full-screen .pf-template-fs-cta,
.pf-template-flipbook-host.pf-fs-simulated .pf-template-fs-cta {
	display: none;
}
.pf-template-flipbook-host:fullscreen .pf-template-fs-exit,
.pf-template-flipbook-host:-webkit-full-screen .pf-template-fs-exit,
.pf-template-flipbook-host.pf-fs-simulated .pf-template-fs-exit {
	display: flex;
}
body.pf-template-fs-active .pf-template-flipbook-host.pf-fs-simulated {
	position: fixed;
	inset: 0;
	z-index: 100000;
	width: 100vw;
	max-width: 100vw;
	min-height: 100vh;
	margin: 0;
}
body.pf-template-fs-active {
	overflow: hidden;
}
.pf-template-sample-inner ._pdfflip_book,
.pf-template-flipbook-wrap .pf-app {
	width: 100% !important;
	max-width: 100% !important;
}
.pf-template-flipbook-wrap .pf-logo-wrap,
.pf-template-flipbook-wrap .pf-logo {
	display: none !important;
}
.pf-template-card-first {
	margin-top: 2.5rem;
}
@media (min-width: 992px) {
	.pf-template-card-first {
		margin-top: 3rem;
	}
}
.pf-home-template-picker .pf-template-card-first {
	margin-top: 1.5rem;
}
@media (min-width: 992px) {
	.pf-home-template-picker .pf-template-card-first {
		margin-top: 2rem;
	}
}
.pf-template-test-pdf {
	align-self: flex-start;
}
