/* ================================================================
   Membership Product Page — lib-mem-* prefix
   Loaded conditionally on product "membership" (ID 82418)
   ================================================================ */

/* ── Hero ────────────────────────────────────────────────────── */


.lib-mem-hero-inner {
	max-width: 720px;
	margin: 0 auto;
}

.lib-mem-eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--salmon);
	margin-bottom: 1rem;
}

.lib-mem-eyebrow--light {
	color: rgba(255,255,255,0.6);
}

.lib-mem-hero-h1 {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4.5vw, 2.75rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.18;
	letter-spacing: -0.025em;
	margin: 0 0 1.25rem;
}

.lib-mem-hero-lead {
	font-family: var(--font-body);
	font-size: 1.05rem;
	color: rgba(255,255,255,0.8);
	line-height: 1.65;
	margin: 0 0 2rem;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.lib-mem-hero-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	justify-content: center;
}

/* ── Trust bar ───────────────────────────────────────────────── */

.lib-mem-trust {
	background: #fff;
	padding: 2.5rem 1.5rem;
	border-bottom: 1px solid var(--border);
}

.lib-mem-trust-inner {
	max-width: 960px;
	margin: 0 auto;
	text-align: center;
}

.lib-mem-trust-label {
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--mid-grey);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 1.25rem;
}

.lib-mem-trust-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2rem 2.5rem;
}

.lib-mem-trust-logos img {
	height: 36px;
	width: auto;
	object-fit: contain;
	opacity: 0.55;
	filter: grayscale(100%);
	transition: opacity 0.2s, filter 0.2s;
}

.lib-mem-trust-logos img:hover {
	opacity: 1;
	filter: grayscale(0);
}

/* ── Shared section helpers ──────────────────────────────────── */

.lib-mem-section--light {
	background: var(--off-white);
}

.lib-mem-container {
	max-width: 700px;
	margin: 0 auto;
	width: 100%;
	padding: 0;
}

.lib-mem-container--wide {
	max-width: 960px;
}

.lib-mem-problems,
.lib-mem-features,
.lib-mem-value,
.lib-mem-testimonials,
.lib-mem-pricing,
.lib-mem-how,
.lib-mem-faq,
.lib-mem-final-cta {
	padding: 4.5rem 1.5rem;
}

.lib-mem-section-h2 {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 700;
	color: var(--primary);
	line-height: 1.2;
	letter-spacing: -0.025em;
	margin: 0 0 0.75rem;
}

.lib-mem-section-h2--light {
	color: #fff;
}

.lib-mem-section-lead {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--mid-grey);
	line-height: 1.65;
	margin: 0 0 2.5rem;
}

/* ── Problem cards ───────────────────────────────────────────── */

.lib-mem-problems {
	text-align: center;
}

.lib-mem-problems-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.lib-mem-problem-card {
	background: #fff;
	border-radius: 16px;
	padding: 2rem 1.5rem;
	box-shadow: var(--shadow-card);
	text-align: left;
}

.lib-mem-problem-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--salmon-light);
	color: var(--salmon);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.lib-mem-problem-card h3 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 0.5rem;
}

.lib-mem-problem-card p {
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: var(--mid-grey);
	line-height: 1.6;
	margin: 0;
}

/* ── Feature cards ───────────────────────────────────────────── */

.lib-mem-features {
	background: #fff;
	text-align: center;
}

.lib-mem-features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.lib-mem-feature-card {
	background: var(--off-white);
	border-radius: 16px;
	padding: 2rem 1.5rem;
	text-align: left;
	position: relative;
	overflow: hidden;
}

.lib-mem-feature-accent {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
}

.lib-mem-feature-card--teal .lib-mem-feature-accent { background: var(--teal); }
.lib-mem-feature-card--navy .lib-mem-feature-accent { background: var(--navy); }
.lib-mem-feature-card--salmon .lib-mem-feature-accent { background: var(--salmon); }
.lib-mem-feature-card--orange .lib-mem-feature-accent { background: var(--orange); }

.lib-mem-feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.lib-mem-feature-card--teal .lib-mem-feature-icon { background: rgba(78,165,156,0.12); color: var(--teal); }
.lib-mem-feature-card--navy .lib-mem-feature-icon { background: rgba(10,30,63,0.08); color: var(--navy); }
.lib-mem-feature-card--salmon .lib-mem-feature-icon { background: rgba(249,130,119,0.12); color: var(--salmon); }
.lib-mem-feature-card--orange .lib-mem-feature-icon { background: rgba(255,139,89,0.12); color: var(--orange); }

.lib-mem-feature-card h3 {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 0.5rem;
}

.lib-mem-feature-card p {
	font-family: var(--font-body);
	font-size: 0.88rem;
	color: var(--mid-grey);
	line-height: 1.6;
	margin: 0 0 1rem;
}

.lib-mem-feature-tag {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.3rem 0.75rem;
	border-radius: 100px;
	background: rgba(78,165,156,0.1);
	color: var(--teal-dark);
}

.lib-mem-feature-tag--highlight {
	background: rgba(249,130,119,0.12);
	color: var(--salmon-dark);
}

/* ── Value comparison ────────────────────────────────────────── */

.lib-mem-value {
	text-align: center;
}

.lib-mem-value-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	text-align: left;
}

.lib-mem-value-col {
	background: #fff;
	border-radius: 16px;
	padding: 2rem;
	box-shadow: var(--shadow-card);
}

.lib-mem-value-col h3 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 1.25rem;
}

.lib-mem-value-col--without ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.lib-mem-value-col--without li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--border);
	font-family: var(--font-body);
	font-size: 0.9rem;
}

.lib-mem-value-item {
	color: var(--mid-grey);
}

.lib-mem-value-price {
	font-weight: 700;
	color: var(--primary);
}

.lib-mem-value-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0 0;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	color: var(--salmon);
}

.lib-mem-value-col--with {
	background: var(--navy);
	color: #fff;
}

.lib-mem-value-col--with h3 {
	color: #fff;
}

.lib-mem-value-plan {
	text-align: center;
	padding: 1.5rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.15);
	margin-bottom: 1.25rem;
}

.lib-mem-value-plan-name {
	display: block;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--salmon);
	margin-bottom: 0.5rem;
}

.lib-mem-value-plan-price {
	display: block;
	font-family: var(--font-display);
	font-size: 2.5rem;
	font-weight: 700;
	color: #fff;
	line-height: 1;
}

.lib-mem-value-plan-price small {
	font-size: 0.9rem;
	font-weight: 400;
	opacity: 0.7;
}

.lib-mem-value-plan-monthly {
	display: block;
	font-family: var(--font-body);
	font-size: 0.82rem;
	color: rgba(255,255,255,0.6);
	margin-top: 0.35rem;
}

.lib-mem-value-includes {
	list-style: none;
	padding: 0;
	margin: 0;
}

.lib-mem-value-includes li {
	font-family: var(--font-body);
	font-size: 0.88rem;
	color: rgba(255,255,255,0.85);
	padding: 0.4rem 0;
	padding-left: 1.5rem;
	position: relative;
}

.lib-mem-value-includes li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 14px;
	height: 14px;
	mask-image: url('../assets/icons/icon-check.svg');
	mask-size: contain;
	mask-repeat: no-repeat;
	background-color: var(--teal);
}

.lib-mem-value-compare {
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--teal);
	margin: 1.25rem 0 0;
	text-align: center;
}

/* ── Testimonials ────────────────────────────────────────────── */

.lib-mem-testimonials {
	background: var(--navy);
	text-align: center;
}

.lib-mem-testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	text-align: left;
}

.lib-mem-testimonial-card {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 16px;
	padding: 2rem;
}

.lib-mem-testimonial-stars {
	color: #fbbf24;
	font-size: 1.1rem;
	letter-spacing: 2px;
	margin-bottom: 1rem;
}

.lib-mem-testimonial-card blockquote {
	font-family: var(--font-body);
	font-size: 0.92rem;
	color: rgba(255,255,255,0.9);
	line-height: 1.65;
	margin: 0 0 1.25rem;
	font-style: normal;
}

.lib-mem-testimonial-author {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.lib-mem-testimonial-author strong {
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
}

.lib-mem-testimonial-author span {
	font-family: var(--font-body);
	font-size: 0.78rem;
	color: rgba(255,255,255,0.5);
}

/* ── Pricing table ───────────────────────────────────────────── */

.lib-mem-pricing {
	background: #fff;
	text-align: center;
}

.lib-mem-pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	text-align: left;
}

.lib-mem-plan-card {
	background: var(--off-white);
	border: 2px solid var(--border);
	border-radius: 20px;
	padding: 2.5rem 2rem;
	position: relative;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lib-mem-plan-card:hover {
	box-shadow: var(--shadow-card-hover);
	transform: translateY(-2px);
}

.lib-mem-plan-card--recommended {
	background: #fff;
	border-color: var(--teal);
	box-shadow: 0 8px 32px rgba(78,165,156,0.15);
}

.lib-mem-plan-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--teal);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.35rem 1rem;
	border-radius: 100px;
	white-space: nowrap;
}

.lib-mem-plan-header {
	text-align: center;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.lib-mem-plan-name {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 0.75rem;
}

.lib-mem-plan-price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.15rem;
}

.lib-mem-plan-amount {
	font-family: var(--font-display);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary);
	line-height: 1;
}

.lib-mem-plan-period {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--mid-grey);
}

.lib-mem-plan-monthly-note {
	display: block;
	font-family: var(--font-body);
	font-size: 0.82rem;
	color: var(--mid-grey);
	margin-top: 0.35rem;
}

.lib-mem-plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.lib-mem-plan-features li {
	font-family: var(--font-body);
	font-size: 0.88rem;
	color: var(--primary);
	padding: 0.5rem 0;
	padding-left: 1.75rem;
	position: relative;
	line-height: 1.45;
}

.lib-mem-plan-feature--yes::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.6rem;
	width: 15px;
	height: 15px;
	mask-image: url('../assets/icons/icon-check.svg');
	mask-size: contain;
	mask-repeat: no-repeat;
	background-color: var(--teal);
}

.lib-mem-plan-feature--no {
	color: var(--mid-grey);
	opacity: 0.5;
}

.lib-mem-plan-feature--no::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65rem;
	width: 14px;
	height: 2px;
	background: var(--mid-grey);
	opacity: 0.4;
}

.lib-mem-plan-actions {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.lib-mem-plan-btn {
	width: 100%;
	justify-content: center;
	text-align: center;
}

.lib-mem-plan-btn-secondary {
	width: 100%;
	justify-content: center;
	text-align: center;
	font-size: 0.88rem;
	padding: 0.75rem 1.5rem;
}

.lib-mem-plan-guarantee {
	font-family: var(--font-body);
	font-size: 0.78rem;
	color: var(--mid-grey);
	text-align: center;
	margin: 1rem 0 0;
}

/* ── How it works ────────────────────────────────────────────── */

.lib-mem-how {
	text-align: center;
}

.lib-mem-how-steps {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
	text-align: left;
}

.lib-mem-how-step {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	background: #fff;
	border-radius: 16px;
	padding: 1.75rem;
	box-shadow: var(--shadow-card);
}

.lib-mem-how-num {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--teal);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lib-mem-how-step h3 {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 0.35rem;
}

.lib-mem-how-step p {
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: var(--mid-grey);
	line-height: 1.6;
	margin: 0;
}

/* ── FAQ section ─────────────────────────────────────────────── */

.lib-mem-faq {
	background: #fff;
	text-align: center;
}

.lib-mem-faq-content {
	text-align: left;
	margin-top: 2rem;
}

/* Style Rank Math FAQ block within membership page */
.lib-mem-faq-content .rank-math-block {
	border: none;
}

.lib-mem-faq-content .rank-math-block .rank-math-question {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--primary);
}

.lib-mem-faq-content .rank-math-block .rank-math-answer p {
	font-family: var(--font-body);
	font-size: 0.92rem;
	color: var(--mid-grey);
	line-height: 1.65;
}

/* ── Final CTA ───────────────────────────────────────────────── */

.lib-mem-final-cta {
	background: linear-gradient(160deg, rgba(10,30,63,0.88) 30%, rgba(78,165,156,0.85) 100%), url("https://www.tourismtribe.com/wp-content/uploads/You-changed-my-life-Julieane.webp") center top/cover no-repeat;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.lib-mem-final-h2 {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	letter-spacing: -0.025em;
	margin: 0 0 1rem;
}

.lib-mem-final-lead {
	font-family: var(--font-body);
	font-size: 1rem;
	color: rgba(255,255,255,0.8);
	line-height: 1.65;
	margin: 0 0 2rem;
	max-width: 520px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Mobile responsiveness ───────────────────────────────────── */

@media (max-width: 768px) {
	.lib-mem-hero {
		padding: 4rem 1.25rem 3.5rem;
	}

	.lib-mem-problems-grid {
		grid-template-columns: 1fr;
	}

	.lib-mem-features-grid {
		grid-template-columns: 1fr;
	}

	.lib-mem-value-grid {
		grid-template-columns: 1fr;
	}

	.lib-mem-testimonials-grid {
		grid-template-columns: 1fr;
	}

	.lib-mem-pricing-grid {
		grid-template-columns: 1fr;
	}

	.lib-mem-plan-card--recommended {
		order: -1;
	}

	.lib-mem-trust-logos img {
		height: 28px;
	}

	.lib-mem-trust-logos {
		gap: 1.25rem 1.5rem;
	}

	.lib-mem-problems,
	.lib-mem-features,
	.lib-mem-value,
	.lib-mem-testimonials,
	.lib-mem-pricing,
	.lib-mem-how,
	.lib-mem-faq,
	.lib-mem-final-cta {
		padding: 3rem 1.25rem;
	}
}

@media (max-width: 480px) {
	.lib-mem-hero-btns {
		flex-direction: column;
		align-items: stretch;
	}

	.lib-mem-hero-btns .btn {
		justify-content: center;
		text-align: center;
	}

	.lib-mem-plan-amount {
		font-size: 2rem;
	}

	.lib-mem-value-plan-price {
		font-size: 2rem;
	}
}

/* == Membership page images == */
.lib-mem-hero-img {
	display: block;
	max-width: 420px;
	width: 100%;
	height: auto;
	margin: 2.5rem auto 0;
	border-radius: 16px;
	box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.lib-mem-feature-img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 1rem 0 0.5rem;
	box-shadow: 0 2px 12px rgba(10,30,63,0.08);
}
.lib-mem-section-photo {
	width: 100%;
	max-width: 900px;
	height: 280px;
	object-fit: cover;
	border-radius: 16px;
	margin: 0 auto 2rem;
	display: block;
}
.lib-mem-section-photo--small {
	max-width: 600px;
	height: 220px;
	margin-bottom: 2.5rem;
}
.lib-mem-value-img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	margin-top: 1.5rem;
	opacity: 0.9;
}
@media (max-width: 768px) {
	.lib-mem-hero-img { max-width: 300px; }
	.lib-mem-section-photo { height: 180px; }
	.lib-mem-section-photo--small { height: 160px; }
}

/* == Video testimonial == */
.lib-mem-video-wrap {
	max-width: 720px;
	margin: 0 auto 3rem;
}
.lib-mem-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.lib-mem-video iframe {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
}
.lib-mem-video-caption {
	text-align: center;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.5);
	margin-top: 12px;
}

/* == Testimonial author with photo == */
.lib-mem-testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}
.lib-mem-testimonial-photo {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

/* == Featured testimonial card (Juliane) == */
.lib-mem-testimonial-card--featured {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 0;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 2rem;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}
.lib-mem-testimonial-featured-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 200px;
}
.lib-mem-testimonial-featured-body {
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.lib-mem-testimonial-card--featured blockquote {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 400;
	font-style: italic;
	color: white;
	line-height: 1.3;
	margin-bottom: 1rem;
	border: none;
	padding: 0;
}
.lib-mem-testimonial-card--featured .lib-mem-testimonial-author strong {
	color: white;
	font-size: 0.95rem;
}
@media (max-width: 600px) {
	.lib-mem-testimonial-card--featured {
		grid-template-columns: 1fr;
	}
	.lib-mem-testimonial-featured-img {
		height: 200px;
	}
}

/* == Remove old trust bar styles — now using industry CSS == */
.lib-mem-trust { display: none; }

/* == Testimonial video link == */
.lib-mem-testimonial-video-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--salmon) !important;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: color 0.2s;
}
.lib-mem-testimonial-video-link:hover {
	color: white !important;
}

/* == Split hero layout == */
.lib-mem-hero {
	background: var(--gradient-hero) !important;
	padding: 0 !important;
	text-align: left !important;
	overflow: hidden;
}
.lib-mem-hero-split {
	display: grid;
	grid-template-columns: 1fr 420px;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 520px;
}
.lib-mem-hero-text {
	padding: clamp(3rem, 6vw, 5rem) 2rem clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.lib-mem-hero-text .lib-mem-hero-h1 {
	text-align: left !important;
}
.lib-mem-hero-text .lib-mem-hero-lead {
	text-align: left !important;
	margin-left: 0 !important;
}
.lib-mem-hero-text .lib-mem-hero-btns {
	justify-content: flex-start !important;
}
.lib-mem-hero-proof {
	display: flex;
	gap: 1.5rem;
	margin-top: 1.5rem;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.45);
}
.lib-mem-hero-proof span {
	display: flex;
	align-items: center;
	gap: 4px;
}
.lib-mem-hero-photo {
	position: relative;
	overflow: hidden;
}
.lib-mem-hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.lib-mem-hero-quote {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(10,30,63,0.85) 0%, transparent 100%);
	padding: 3rem 1.5rem 1.5rem;
}
.lib-mem-hero-quote-text {
	display: block;
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-style: italic;
	color: white;
	margin-bottom: 4px;
}
.lib-mem-hero-quote-name {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--salmon);
}
@media (max-width: 768px) {
	.lib-mem-hero-split {
		grid-template-columns: 1fr;
	}
	.lib-mem-hero-photo {
		height: 300px;
	}
	.lib-mem-hero-text {
		text-align: center;
	}
	.lib-mem-hero-text .lib-mem-hero-h1,
	.lib-mem-hero-text .lib-mem-hero-lead {
		text-align: center !important;
	}
	.lib-mem-hero-text .lib-mem-hero-btns {
		justify-content: center !important;
	}
	.lib-mem-hero-proof {
		justify-content: center;
		flex-wrap: wrap;
	}
}

/* == Blend Juliane's photo into hero background == */
.lib-mem-hero-photo::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, var(--navy) 0%, transparent 30%);
	z-index: 1;
	pointer-events: none;
}
.lib-mem-hero-photo::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 80px;
	background: linear-gradient(to bottom, var(--navy) 0%, transparent 100%);
	z-index: 1;
	pointer-events: none;
}
.lib-mem-hero-quote {
	z-index: 2;
}

/* == Video testimonials row == */
.lib-mem-video-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
	.lib-mem-video-row { grid-template-columns: 1fr; }
}
.lib-mem-video-card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 16px;
	overflow: hidden;
}
.lib-mem-video-embed {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.lib-mem-video-embed--short {
	padding-bottom: 0;
	height: 360px;
}
.lib-mem-video-embed iframe {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
}
.lib-mem-video-embed--short iframe {
	position: relative;
	height: 360px;
}
.lib-mem-video-info {
	padding: 1.25rem 1.5rem;
}
.lib-mem-video-info .lib-mem-testimonial-stars {
	margin-bottom: 0.5rem;
}
.lib-mem-video-quote {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-style: italic;
	color: white;
	margin-bottom: 0.5rem;
}
.lib-mem-video-info strong {
	color: white;
	font-size: 0.85rem;
	display: block;
}
.lib-mem-video-info span {
	color: rgba(255,255,255,0.5);
	font-size: 0.78rem;
}

/* == Testimonial card top — photo + name == */
.lib-mem-testi-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1rem;
}
.lib-mem-testi-top .lib-mem-testimonial-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid rgba(255,255,255,0.15);
}
.lib-mem-testi-top strong {
	display: block;
	color: white;
	font-size: 0.9rem;
}
.lib-mem-testi-top span {
	color: rgba(255,255,255,0.5);
	font-size: 0.78rem;
}
.lib-mem-testimonial-initial {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--teal);
	color: white;
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* == Joined date == */
.lib-mem-testi-joined {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.72rem;
	color: rgba(255,255,255,0.35);
}

/* Fix: buttons outside card box — make card a flex column so border always contains all content */
.lib-mem-plan-card {
    display: flex !important;
    flex-direction: column !important;
}
.lib-mem-plan-features {
    flex: 1;
}

/* ── Pricing card layout fix (comprehensive) ──────────────────── */
/* Ensure grid cells stretch to equal height */
.lib-mem-pricing-grid {
    align-items: stretch !important;
}

/* Card must be flex column and fill the full grid cell height */
.lib-mem-plan-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

/* Features list grows to fill available space, pushing actions down */
.lib-mem-plan-features {
    flex: 1 1 auto !important;
    margin-bottom: 0 !important;
}

/* Actions sit immediately below features with consistent spacing */
.lib-mem-plan-actions {
    margin-top: 1.5rem !important;
    flex-shrink: 0 !important;
}

/* Guarantee text always at bottom */
.lib-mem-plan-guarantee {
    flex-shrink: 0 !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

/* Fix button overflow: width:100% + padding was exceeding container width */
.lib-mem-plan-btn,
.lib-mem-plan-btn-secondary {
    box-sizing: border-box !important;
}
