/* ==========================================================================
   Lessons & Programs page
   Reuses theme tokens: --green, --gray-text, .container, .btn.btn-green,
   .highlight, anim-fade-up/right/stagger. Adds --navy fallback if the
   theme's dark color variable name differs (adjust to match style.css).
   ========================================================================== */

.lp-page {
	color: #222;
}

/* The .btn-navy rules have been removed to let style.css take over */

/* 1. HERO */
.lp-hero-full { min-height: 80vh; padding: 100px 20px; background-color: var(--navy); position: relative; overflow: hidden; display: flex; align-items: center; }
.lp-hero-full::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.lp-hero-full .hero-video-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 0; transform: translate(-50%, -50%); object-fit: cover; }
.lp-hero-full .hero-container { position: relative; z-index: 2; display: flex; justify-content: center; width: 100%; }
.lp-hero-full .hero-content { color: var(--white); text-shadow: 0 2px 15px rgba(0,0,0,0.7); max-width: 800px; margin: 0 auto; text-align: center; }
.lp-hero-full .hero-content h1, .lp-hero-full .hero-content h3 { color: var(--white); text-shadow: 0 2px 	15px rgb(255 255 255 / 70%); font-family: var(--font-heading); margin-bottom: 16px; }
.lp-hero-full .hero-content h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; text-transform: uppercase; line-height: 1; }
.lp-hero-full .hero-tagline { font-size: 1.5rem; font-weight: 600; font-style: italic; min-height: 2.2rem; }
@media (max-width: 768px) { .lp-hero-full { min-height: 60vh; } }

/* 2 & 3. PROGRAMS */
.lp-section-title {
	text-align: center;
	font-family: "Montserrat", sans-serif;
	color: var(--navy);
	font-size: 1.6rem;
	margin: 1.75rem 0 1.75rem;
	position: relative;
}

.lp-programs-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }

.lp-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.lp-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid transparent;
	box-shadow: 0 4px 12px rgba(0,0,0,0.04);
	position: relative;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}

.lp-card:hover, .lp-sidebar-card:hover, .lp-testimonial:hover {
	background-color: #F4F9F0;
	border-color: rgba(103, 155, 48, 0.45);
	transform: translateY(-8px);
	box-shadow: 0 20px 45px rgba(11, 32, 70, 0.18);
	transition: all 0.3s ease;
}

.lp-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.5s ease;
	object-position: top;
}

.lp-card:hover img {
	transform: scale(1.05);
}

.lp-card-body {
	padding: 1.25rem 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1;
	background: transparent;
	z-index: 1;
}
.lp-card-body h3 { color: var(--navy); font-size: 1.05rem; }
.lp-card-tag { color: var(--green); font-weight: 700; font-size: 0.85rem; }
.lp-card-body p { color: var(--gray-text); font-size: 0.88rem; }

.lp-meta { display: flex; gap: 1rem; font-size: 0.78rem; color: var(--gray-text); margin: 0.4rem 0 0.6rem; }
.lp-meta span { display: flex; align-items: center; gap: 0.3rem; }

.lp-card-btn { margin-top: auto; text-align: center; justify-content: center; }

/* 4. SIDEBAR */
.lp-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.lp-sidebar-card {
	background: #fff;
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 1.25rem;
	transition: all 0.3s ease;
}
.lp-sidebar-card h3 { color: var(--navy); font-size: 0.95rem; margin-bottom: 1rem; }

.lp-feature { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.lp-feature:last-child { margin-bottom: 0; }
.lp-feature-icon { color: var(--green); flex-shrink: 0; }
.lp-feature-icon svg { width: 20px; height: 20px; }
.lp-feature strong { display: block; font-size: 0.85rem; color: var(--navy); }
.lp-feature p { font-size: 0.78rem; color: var(--gray-text); margin: 0; }

.lp-full-btn { display: block; width: 100%; text-align: center; justify-content: center; }

.lp-sidebar-call {
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 12px;
	padding: 1.25rem;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.lp-call-icon { color: var(--green); display: inline-flex; margin-bottom: 0.4rem; }
.lp-call-label { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 0.2rem; }
.lp-call-number { display: block; font-size: 1.3rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.lp-call-note { font-size: 0.78rem; color: var(--gray-text); margin-top: 0.2rem; }

/* 7. STRIP */
.lp-strip {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 1.5rem;
	align-items: center;
	background: #eef4e6;
	border-radius: 12px;
	padding: 1.5rem;
	margin: 3rem auto;
}
.lp-strip-item { display: flex; align-items: center; gap: 0.75rem; color: var(--navy); }
.lp-strip-item svg { color: var(--green); flex-shrink: 0; }
.lp-strip-item strong { display: block; font-size: 0.9rem; }
.lp-strip-item span { font-size: 0.78rem; color: var(--gray-text); }

.lp-strip-cta {
	display: flex; align-items: center; gap: 0.75rem;
	background: var(--green); color: #fff;
	padding: 0.85rem 1.25rem; border-radius: 8px;
	text-decoration: none;
}
.lp-strip-cta strong { display: block; font-size: 0.9rem; }
.lp-strip-cta span { font-size: 0.75rem; opacity: 0.9; }
.lp-strip-arrow { margin-left: 0.25rem; }

/* 8. TESTIMONIALS */
.lp-testimonials { text-align: center; position: relative; padding-top: 2rem; }

.lp-badge {
	position: absolute; left: 0; top: 0;
	display: flex; flex-direction: column; align-items: center;
	width: 150px;
}
.lp-badge-shield {
	background: var(--navy); color: #fff;
	width: 70px; height: 70px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 1.2rem;
	border: 3px solid var(--green);
}
.lp-badge-shield span { display: none; }
.lp-badge p { font-size: 0.7rem; color: var(--green); font-weight: 700; margin-top: 0.5rem; line-height: 1.3; }

.lp-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }

.lp-testimonial {
	background: #fff;
	border-radius: 12px;
	padding: 1.5rem;
	border: 1px solid transparent;
	position: relative;
	text-align: left;
	transition: all 0.3s ease;
}
.lp-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-bottom: 0.5rem; }
.lp-quote-mark { position: absolute; top: 1.25rem; right: 1.25rem; color: var(--green); opacity: 0.3; }
.lp-testimonial p { font-style: italic; color: var(--gray-text); font-size: 0.9rem; margin-bottom: 0.75rem; }
.lp-testimonial strong { display: block; color: var(--navy); font-size: 0.9rem; }
.lp-testimonial span { font-size: 0.78rem; color: var(--gray-text); }
.lp-stars { color: var(--green); margin-top: 0.4rem; letter-spacing: 2px; }

.lp-meta span svg, .lp-feature-icon svg, .lp-quote-mark {
	transition: all 0.3s ease;
}
.lp-card:hover .lp-meta span svg,
.lp-sidebar-card:hover .lp-feature-icon svg,
.lp-testimonial:hover .lp-quote-mark {
	transform: scale(1.2);
	color: var(--navy);
}

/* 9. BOTTOM BANNER */
.lp-bottom-banner {
	position: relative;
	margin-top: 3rem;
	height: 220px;
	overflow: hidden;
}
.lp-bottom-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.lp-bottom-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(15,42,74,0.92) 0%, rgba(15,42,74,0.55) 60%, rgba(15,42,74,0.15) 100%);
	display: flex; flex-direction: column; justify-content: center;
	padding: 0 4rem;
	color: #fff;
	z-index: 1;
}
.lp-bottom-overlay h2 { font-size: 1.6rem; line-height: 1.25; margin-bottom: 0.4rem; }
.lp-bottom-overlay p { color: var(--green); font-weight: 700; }

/* ============================= RESPONSIVE ============================= */
@media (max-width: 1024px) {
	.lp-programs-layout { grid-template-columns: 1fr; }
	.lp-cards-grid { grid-template-columns: repeat(2, 1fr); }
	.lp-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
	.lp-badge { position: static; margin: 0 auto 1.5rem; }
}

@media (max-width: 640px) {
	.lp-cards-grid { grid-template-columns: 1fr; }
	.lp-strip { grid-template-columns: 1fr; text-align: center; }
	.lp-strip-item { flex-direction: column; text-align: center; }
	.lp-testimonial-grid { grid-template-columns: 1fr; }
	.lp-bottom-overlay { padding: 0 1.5rem; text-align: center; align-items: center; }
}
.lp-hero-full .hero-container {
    align-items: stretch !important;
    padding-bottom: 40px !important; /* Floor padding */
}

/* 2. Turn content into a vertical column that fills the space */
.lp-hero-full .hero-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Keeps the H1 and Text perfectly centered */
    height: 100% !important;
}

/* 3. The Magic Spring: Pushes ONLY the Quick Jump bar to the floor */
.lp-hero-full .hero-quick-jump {
    margin-top: auto !important; /* Forces it to the bottom */
    margin-bottom: 0 !important;
    margin-left: auto !important; /* Keeps it horizontally centered */
    margin-right: auto !important;
}

/* Mobile tweak */
@media (max-width: 768px) {
    .lp-hero-full .hero-container {
        padding-bottom: 20px !important;
    }
	 #clinics , #lessons{
        padding: 20px 20px !important;
    }
}

/* ============================================================
   PROGRAM CARDS: TEXT OVERFLOW & ALIGNMENT FIXES
   ============================================================ */
.lp-card-desc {
    font-size: 0.88rem;
    color: var(--gray-text);
    margin-bottom: 12px;
    /* Strict Overflow Control */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

/* Ensure WooCommerce's automatic <p> tags don't break the layout */
.lp-card-desc p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
}