/*
 * FAQ block — single-column full-width, redesigned 2026-11-11.
 *
 * Aesthetic: editorial card on soft blue ground. The block sits above the
 * article body as a scannable question rail that readers can skim before
 * diving into the long-form prose. Colours match the hero gradient
 * (#F3F8FF section ground, #2477dd accent, body text from blogshow.css).
 */

/* ---- section wrapper --------------------------------------------------- */

.ip-faq {
	background: linear-gradient(180deg, #f8fbff 0%, #f0f5fc 100%);
	border-radius: 1rem;
	box-shadow: 0 2px 12px rgba(36, 119, 221, 0.06);
	margin-bottom: 2rem;
	padding: 0rem 1.25rem 1.25rem;
}

/* ---- heading ----------------------------------------------------------- */

.bs-article .ip-faq .ip-faq-heading {
	color: #161616;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0.75rem 0 0.75rem !important;
	padding: 0;
	position: relative;
	 
}

 


.ip-faq-heading::after {
	background: #2477dd;
	border-radius: 2px;
	bottom: -0.75rem;
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	width: 48px;
}

/* ---- question list ----------------------------------------------------- */

.ip-faq-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Each row: rounded card with soft border, collapses into neighbour. */
.ip-faq-item {
	background: #ffffff;
	border: 1px solid #e5edf7;
	border-radius: 0.75rem;
	display: block;
	margin-top: 0.75rem;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ip-faq-item:hover {
	border-color: #cfe0f7;
	box-shadow: 0 1px 8px rgba(36, 119, 221, 0.08);
}

/* ---- summary (question row) ------------------------------------------- */

.ip-faq-q {
	align-items: center;
	color: #161616;
	cursor: pointer;
	display: flex;
	font-size: 1.0625rem;
	font-weight: 600;
	gap: 1rem;
	justify-content: space-between;
	line-height: 1.5;
	list-style: none;
	padding: 1.125rem 1.25rem;
	transition: background-color 0.2s ease, color 0.2s ease;
	width: 100%;
}

.ip-faq-q:hover {
	background-color: #f8fbff;
	color: #2477dd;
}

.ip-faq-q:focus-visible {
	box-shadow: 0 0 0 2px #2477dd;
	outline: none;
}

/* Kill browser's default disclosure marker. */
.ip-faq-q::-webkit-details-marker {
	display: none;
}

.ip-faq-q::marker {
	content: "";
}

.ip-faq-q-text {
	flex: 1 1 auto;
	font-size: inherit;
	line-height: inherit;
}

/* Chevron — inline SVG, rotates on open. */
.ip-faq-mark {
	color: #2477dd;
	display: block;
	flex: 0 0 1.5rem;
	height: 1.5rem;
	opacity: 0.7;
	transition: opacity 0.2s ease, transform 0.3s ease;
	width: 1.5rem;
}

.ip-faq-q:hover .ip-faq-mark {
	opacity: 1;
}

.ip-faq-item[open] .ip-faq-mark {
	opacity: 1;
	transform: rotate(180deg);
}

/* ---- answer ------------------------------------------------------------ */

.ip-faq-a {
	border-top: 1px solid #eef2f8;
	color: #4b5563;
	font-size: 0.9375rem;
	line-height: 1.75;
	margin: 0;
	padding: 1rem 1.25rem 1.25rem;
}

.ip-faq-a p {
	margin: 0 0 0.625rem;
}

.ip-faq-a p:last-child {
	margin-bottom: 0;
}

.ip-faq-a a {
	color: #2477dd;
	text-decoration: underline;
}

/* ---- breakpoints ------------------------------------------------------- */

@media (min-width: 768px) {
	.ip-faq {
		padding: 0.4375rem 1.5rem 1.5rem;
	}

	.bs-article .ip-faq .ip-faq-heading {
		font-size: 1.375rem;
		margin-bottom: 0.875rem !important;
	}

	.ip-faq-q {
		font-size: 1.0625rem;
		padding: 1rem 1.125rem;
	}

	.ip-faq-a {
		font-size: 0.9375rem;
		padding: 0.875rem 1.125rem 1rem;
	}
}

@media (max-width: 639px) {
	.ip-faq {
		border-radius: 1rem;
		padding: 0.3125rem 1rem 1rem;
	}

	.bs-article .ip-faq .ip-faq-heading {
		font-size: 1.125rem;
		margin-bottom: 0.625rem !important;
	}

	.ip-faq-item {
		border-radius: 0.625rem;
		margin-bottom: 0.625rem;
	}

	.ip-faq-q {
		font-size: 1rem;
		gap: 0.75rem;
		padding: 1rem 1rem;
	}

	.ip-faq-mark {
		flex-basis: 1.25rem;
		height: 1.25rem;
		width: 1.25rem;
	}

	.ip-faq-a {
		font-size: 0.9375rem;
		padding: 0.875rem 1rem 1rem;
	}
}
