/* Lana Health FAQ — front-end styles
   All colors reference CSS custom properties set inline from the
   FAQ Page Settings screen, so editors never need to touch this file.
   Uses the same --lr-* variable names as the companion Resources plugin. */

:root {
	--lr-primary: #123a5e;
	--lr-secondary: #0e7c86;
	--lr-accent: #f5a623;
	--lr-bg-light: #f4f8fa;
	--lr-text: #2b2f38;
}

.lfaq-page {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var( --lr-text );
	line-height: 1.65;
}

.lfaq-page * {
	box-sizing: border-box;
}

.lfaq-page a {
	color: var( --lr-secondary );
}

/* Buttons */
.lfaq-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.lfaq-btn:hover {
	transform: translateY(-2px);
}
.lfaq-btn-primary {
	background: var( --lr-secondary );
	color: #fff;
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.lfaq-btn-primary:hover {
	opacity: 0.92;
}
.lfaq-btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255,255,255,0.6);
}
.lfaq-btn-outline:hover {
	background: #fff;
	color: var( --lr-primary );
}

/* Hero */
.lfaq-hero {
	background: linear-gradient(135deg, var( --lr-primary ) 0%, var( --lr-secondary ) 100%);
	padding: 72px 24px;
	text-align: center;
}
.lfaq-hero-inner {
	max-width: 760px;
	margin: 0 auto;
}
.lfaq-badge {
	display: inline-block;
	background: rgba(255,255,255,0.15);
	color: #fff;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
	margin-bottom: 22px;
}
.lfaq-hero-title {
	color: #fff;
	font-size: clamp(28px, 4.2vw, 46px);
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 20px;
}
.lfaq-hero-title em {
	font-style: italic;
	color: var( --lr-accent );
}
.lfaq-hero-subtitle {
	color: rgba(255,255,255,0.9);
	font-size: 17px;
	max-width: 620px;
	margin: 0 auto 32px;
}

/* Search box */
.lfaq-search {
	position: relative;
	max-width: 480px;
	margin: 0 auto;
}
.lfaq-search-icon {
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	opacity: 0.6;
}
.lfaq-search-input {
	width: 100%;
	padding: 15px 20px 15px 48px;
	border: none;
	border-radius: 999px;
	font-size: 15px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
	color: var( --lr-text );
}
.lfaq-search-input:focus {
	outline: 3px solid var( --lr-accent );
	outline-offset: 2px;
}

/* Body / categories */
.lfaq-body {
	background: var( --lr-bg-light );
	padding: 64px 24px;
}
.lfaq-category {
	max-width: 820px;
	margin: 0 auto 48px;
}
.lfaq-category:last-child {
	margin-bottom: 0;
}
.lfaq-category-title {
	color: var( --lr-primary );
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 20px;
	border-left: 5px solid var( --lr-secondary );
	padding-left: 14px;
}

/* Accordion */
.lfaq-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lfaq-item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 3px 14px rgba(18,58,94,0.07);
	overflow: hidden;
}
.lfaq-item[open] {
	box-shadow: 0 8px 24px rgba(18,58,94,0.13);
}
.lfaq-question {
	list-style: none;
	cursor: pointer;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-weight: 700;
	font-size: 16px;
	color: var( --lr-primary );
}
.lfaq-question::-webkit-details-marker {
	display: none;
}
.lfaq-toggle-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var( --lr-bg-light );
	color: var( --lr-secondary );
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	transition: transform 0.2s ease, background 0.2s ease;
}
.lfaq-item[open] .lfaq-toggle-icon {
	transform: rotate(45deg);
	background: var( --lr-secondary );
	color: #fff;
}
.lfaq-answer {
	padding: 0 24px 22px;
	font-size: 15px;
	color: var( --lr-text );
	opacity: 0.88;
}
.lfaq-answer p:first-child {
	margin-top: 0;
}
.lfaq-answer p:last-child {
	margin-bottom: 0;
}

.lfaq-empty,
.lfaq-no-results {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
	opacity: 0.75;
}

/* Footer CTA */
.lfaq-footer-cta {
	background: var( --lr-primary );
	padding: 64px 24px;
	text-align: center;
}
.lfaq-footer-cta-inner {
	max-width: 620px;
	margin: 0 auto;
}
.lfaq-footer-cta h2 {
	color: #fff;
	font-size: 30px;
	margin: 0 0 14px;
}
.lfaq-footer-cta p {
	color: rgba(255,255,255,0.88);
	margin: 0 0 28px;
	font-size: 16px;
}
.lfaq-footer-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

@media (max-width: 600px) {
	.lfaq-hero {
		padding: 56px 18px;
	}
	.lfaq-body,
	.lfaq-footer-cta {
		padding: 48px 18px;
	}
	.lfaq-question {
		padding: 16px 18px;
		font-size: 15px;
	}
	.lfaq-answer {
		padding: 0 18px 18px;
	}
}
