/* =========================================================
   FAQ Schema — Apple-inspired UI
   Accent: #08496D  |  Background: #F5F5F7
   ========================================================= */

/* Wrapper */
.wp-faq-schema-wrap {
	width: 100%;
	margin: 40px 0;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Section title */
.wp-faq-schema-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #1d1d1f;
	margin: 0 0 28px;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

/* Items list — 2-column grid */
.wp-faq-schema-items {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	align-items: stretch;
}

/* Single card */
.wp-faq-schema-item {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04);
	transition: box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.wp-faq-schema-item:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,.10), 0 0 0 1px rgba(0,0,0,.05);
}

/* Question button */
.wp-faq-schema-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 22px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: #1d1d1f;
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.45;
	letter-spacing: -0.01em;
	transition: color 0.2s;
	flex: 1;
	align-self: stretch;
}

.wp-faq-schema-question:hover {
	color: #08496D;
}

.wp-faq-schema-question:focus {
	outline: none;
}

.wp-faq-schema-question:focus-visible {
	outline: 2px solid #08496D;
	outline-offset: -2px;
	border-radius: 16px;
}

.wp-faq-schema-item.is-open .wp-faq-schema-question {
	color: #08496D;
}

/* Chevron icon */
.wp-faq-schema-chevron {
	flex-shrink: 0;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wp-faq-schema-item.is-open .wp-faq-schema-chevron {
	transform: rotate(180deg);
}

/* Animated answer panel */
.wp-faq-schema-answer {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
				opacity   0.25s ease;
	opacity: 0;
}

.wp-faq-schema-answer:not([hidden]) {
	opacity: 1;
}

/* Inner answer content */
.wp-faq-schema-answer-inner {
	padding: 0 22px 22px;
	color: #424245;
	font-size: 0.9375rem;
	line-height: 1.65;
	border-top: 1px solid #f0f0f0;
	padding-top: 18px;
}

.wp-faq-schema-answer-inner p {
	margin: 0 0 12px;
}
.wp-faq-schema-answer-inner p:last-child {
	margin-bottom: 0;
}
.wp-faq-schema-answer-inner a {
	color: #08496D;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── Accordion variant: highlight open item ───────────── */
.wp-faq-schema-accordion .wp-faq-schema-item.is-open {
	background: #F5F5F7;
	box-shadow: 0 4px 20px rgba(8,73,109,.12), 0 0 0 1.5px rgba(8,73,109,.18);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
	.wp-faq-schema-items {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.wp-faq-schema-title {
		font-size: 1.35rem;
	}
	.wp-faq-schema-question {
		font-size: 0.9375rem;
		padding: 16px 18px;
	}
	.wp-faq-schema-answer-inner {
		padding: 0 18px 18px;
		padding-top: 14px;
		font-size: 0.875rem;
	}
}
