/**
 * MediaOne Widgets — FAQ section.
 *
 * Two columns from 768px (intro left, accordion right), stacked below.
 * Values transcribed from the original block.
 */

.mow-faq {

	/* One value drives every alignment in this section — `text-align`,
	   `align-items` and `justify-content` all accept start/center/end, so the
	   alignment control writes this once and the whole block follows. */
	--mow-align: center;
}

/* Base = stacked. The two-column rules live at the BOTTOM of this file, after
   every base declaration — otherwise `.mow-faq__list { width: 100% }` below
   would override the 58.33% at equal specificity and blow the row out to 141%
   of the container. */
.mow-faq__layout {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2.5rem;
	padding-block: 5rem;
}

.mow-faq__intro,
.mow-faq__list {
	width: 100%;
}

.mow-faq__intro {
	text-align: var(--mow-align, start);
}

/* ── Intro column ─────────────────────────────────────────────────────── */

.mow-faq__eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mow-faint);
}

/* The original faked this rule with an absolutely-positioned span and a
   hard-coded margin. A flex sibling is the same look without the magic number. */
.mow-faq__eyebrow::before {
	content: "";
	width: 3rem;
	flex: 0 0 auto;
	border-top: 1px solid #e5e7eb;
}

.mow-faq__title {
	font-weight: 900;
	font-size: clamp(1.375rem, 1.25rem + 0.6vw, 1.5rem);
	line-height: 1.3;
	margin-top: 0.5rem;
}

.mow-faq__hl {
	color: var(--mow-orange);
}

.mow-faq__sub {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--mow-muted);
	margin: 1.25rem 0;
}

/* Pill CTA with the circled arrow. */
.mow-faq__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.25rem 0.25rem 0.25rem 0.75rem;
	border: 1px solid var(--mow-orange);
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--mow-orange);
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.mow-faq__cta:hover,
.mow-faq__cta:focus-visible {
	background: var(--mow-orange);
	color: #fff;
}

.mow-faq__cta-arrow {
	width: 2.75rem;
	height: 2.75rem;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid currentColor;
	border-radius: 50%;
}

.mow-faq__cta-arrow svg {
	width: 0.875rem;
	height: 0.875rem;
	fill: currentColor;
}

/* ── Accordion ────────────────────────────────────────────────────────── */

.mow-faq__list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.mow-faq .mow-accordion__item {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.mow-faq .mow-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 18px 20px;
	text-align: left;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--mow-deep);
	background: #fff;
	border: none;
	cursor: pointer;
}

.mow-faq .mow-accordion__trigger:hover {
	background: #f8faff;
}

.mow-faq .mow-accordion__icon {
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #e5e7eb;
	border-radius: 50%;
	color: var(--mow-blue);
	transition: background 0.2s, border-color 0.2s, transform 0.3s;
}

.mow-faq .mow-accordion__icon svg {
	width: 11px;
	height: 11px;
	fill: currentColor;
}

.mow-faq .mow-accordion__item.is-open .mow-accordion__icon {
	background: var(--mow-blue);
	border-color: var(--mow-blue);
	color: #fff;
	transform: rotate(45deg);
}

/* The collapse mechanics live in mow-accordion.css — shared with the Objectives
   panels. Everything here is skin only, and stays scoped under .mow-faq so the
   two accordions can coexist on one page. */

.mow-faq .mow-accordion__answer {
	padding: 16px 20px 20px;
	border-top: 1px solid #f3f4f6;
	font-size: 14px;
	line-height: 1.75;
	color: var(--mow-muted);
}

.mow-faq .mow-accordion__answer p {
	margin: 0 0 0.75rem;
}

.mow-faq .mow-accordion__answer p:last-child {
	margin-bottom: 0;
}

/* ── Two columns from 768px ───────────────────────────────────────────────
   Must stay LAST in this file — see the note at the top. */
@media (min-width: 768px) {

	.mow-faq__layout {
		flex-direction: row;
		gap: 4rem;
	}

	.mow-faq__intro {
		width: 41.666667%;
		flex: 0 0 auto;
	}

	.mow-faq__list {
		width: 58.333333%;
		flex: 0 0 auto;
	}
}
