/* FAQ & Resources Section */
.eddwp-faq-resources-section {
	max-width: 854px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Heading — inherits font-family/size/weight from theme h3 styles. */
.eddwp-faq-resources-heading {
	text-align: center;
	margin-bottom: 16px;
}

/* Targeted heading line above the toggle. */
.eddwp-faq-resources-targeted {
	display: block;
	margin-bottom: 4px;
}

/* Tab toggle links — no underline, no SeedProd overrides. */
.eddwp-faq-resources-tab,
.eddwp-faq-resources-tab:hover,
.eddwp-faq-resources-tab:focus,
.eddwp-faq-resources-tab:active,
.eddwp-faq-resources-tab:visited {
	color: inherit !important;
	text-decoration: none !important;
	border: none !important;
	font-size: inherit !important;
}

/* Subheading */
.eddwp-faq-resources-subheading {
	text-align: center;
	margin-bottom: 30px;
}


/* FAQ Accordion */
.eddwp-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding-top: 30px;
}

.eddwp-faq-item {
	border-bottom: 1px solid #e5e7eb;
}

.eddwp-faq-item:first-child {
	border-top: 1px solid #e5e7eb;
}

/* Question */
.eddwp-faq-question {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	padding: 20px 40px 20px 0;
	margin: 0;
	position: relative;
	user-select: none;
}

/* Chevron indicator. */
.eddwp-faq-question::after {
	content: '';
	position: absolute;
	right: 8px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid #6b7280;
	border-bottom: 2px solid #6b7280;
	transform: translateY(-60%) rotate(45deg);
	transition: transform 0.2s ease;
}

.eddwp-faq-question.is-expanded::after {
	transform: translateY(-40%) rotate(-135deg);
}

/* Answer */
.eddwp-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	padding: 0;
}

.eddwp-faq-answer.is-open {
	padding-bottom: 24px;
	margin-bottom: 4px;
}

.eddwp-faq-answer p:last-child {
	margin-bottom: 0;
}


/* Resources Panel */
.eddwp-faq-resources-panel {
	padding-top: 30px;
}

/* Resources Slider — stacked slides with CSS slide transitions. */
.eddwp-faq-resources-slider {
	position: relative;
	overflow: hidden;
}

.eddwp-faq-resources-slide {
	display: none;
	width: 100%;
}

.eddwp-faq-resources-slide.is-active {
	display: block;
	position: relative;
	transform: translateX(0);
	transition: transform 0.4s ease;
}

/* Entering from right (sliding left). */
.eddwp-faq-resources-slide.is-entering-right {
	transform: translateX(100%);
}

/* Entering from left (sliding right). */
.eddwp-faq-resources-slide.is-entering-left {
	transform: translateX(-100%);
}

/* Exiting to left. */
.eddwp-faq-resources-slide.is-exiting-left {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	transform: translateX(-100%);
	transition: transform 0.4s ease;
}

/* Exiting to right. */
.eddwp-faq-resources-slide.is-exiting-right {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	transform: translateX(100%);
	transition: transform 0.4s ease;
}

/* Links slide — 2-column grid. */
.eddwp-faq-resources-slide--links ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	list-style: none;
	padding: 0;
	margin: 0;
}

.eddwp-faq-resources-slide--links li {
	border: 1px solid #e5e7eb;
	margin-top: -1px;
}

.eddwp-faq-resources-slide--links li:nth-child(odd) {
	border-right: 0;
}

.eddwp-faq-resources-slide--links li:nth-child(1),
.eddwp-faq-resources-slide--links li:nth-child(2) {
	margin-top: 0;
}

.eddwp-faq-resources-slide--links a {
	display: block;
	padding: 20px 24px;
	transition: background-color 0.15s ease;
}

.eddwp-faq-resources-slide--links a:hover {
	background-color: rgba(0, 0, 0, 0.03);
}

/* Content slide. */
.eddwp-faq-resources-slide--content {
	padding: 10px 0;
}

.eddwp-faq-resources-content-title {
	margin-bottom: 24px;
}


/* Navigation — dots only. */
.eddwp-faq-resources-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-top: 24px;
}

.eddwp-faq-resources-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: #d1d5db;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.15s ease;
}

.eddwp-faq-resources-dot.is-active {
	background: #111827;
}

.eddwp-faq-resources-dot:hover {
	background: #6b7280;
}

/* Responsive. */
@media (max-width: 768px) {
	.eddwp-faq-resources-slide--links ul {
		grid-template-columns: 1fr;
	}

	.eddwp-faq-resources-slide--links li:nth-child(odd) {
		border-right: 1px solid #e5e7eb;
	}
}
