/* FAQs layout: question list that opens and closes smoothly, modelled on the FAQ band of the live landing page.
   It has its own classes because the Accordion layout hides a closed panel with display: none, which cannot animate.
   The base rules are the desktop values (1201px and up); 1200px and below, then 767px and below, override them.
   The host sets font-family on every element and colour on every paragraph with two :not(#_), so the text rules
   below carry the same chain (three for the links, whose site-wide rule has id-level weight). */

/* No band colour here: the Background Color input sets it (inline style), and an empty input leaves the page's own
   background, the same rule as Type B. */
body.single-sa28_programs .programs-faqs {
	display: flow-root;
	padding: 64px 20px;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-heading {
	margin: 0 0 7px;
	padding: 0 0 18px;
	font-family: "Montserrat", sans-serif;
	font-size: 36px;
	line-height: 43px;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-align: center;
	color: #111111;
}

body.single-sa28_programs .programs-faqs-list {
	width: 920px;
	margin: 0 auto;
	padding: 0;
}

body.single-sa28_programs .programs-faqs-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #D7CFFB;
}

/* ---- question row: the host's button styles are cleared in every state ---- */
body.single-sa28_programs:not(#_):not(#_) .programs-faqs-toggle,
body.single-sa28_programs:not(#_):not(#_) .programs-faqs-toggle:hover,
body.single-sa28_programs:not(#_):not(#_) .programs-faqs-toggle:focus,
body.single-sa28_programs:not(#_):not(#_) .programs-faqs-toggle:active {
	appearance: none;
	box-sizing: border-box;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: 0;
	color: #111111;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 17px 4px 17px 0;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	line-height: 20px;
	font-style: italic;
	font-weight: 400;
	text-align: left;
	cursor: pointer;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-toggle:focus-visible {
	outline: 3px solid #5E30FF;
	outline-offset: 2px;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-question {
	flex: 1 1 auto;
	min-width: 0;
	font-family: "Montserrat", sans-serif;
	font-size: inherit;
	line-height: inherit;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
	text-align: left;
	color: #111111;
}

body.single-sa28_programs .programs-faqs-arrow {
	display: flex;
	flex: 0 0 auto;
	width: 9px;
	height: 10px;
	color: #111111;
	transform: rotate(0);
	transition: transform 0.3s ease;
}

body.single-sa28_programs .programs-faqs-arrow svg {
	display: block;
	width: 100%;
	height: 100%;
}

body.single-sa28_programs .programs-faqs-item.is-open > .programs-faqs-toggle > .programs-faqs-arrow {
	transform: rotate(180deg);
}

/* ---- answer: grid row 0fr to 1fr animates the height without measuring it ---- */
body.single-sa28_programs .programs-faqs-panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.5s ease;
}

body.single-sa28_programs .programs-faqs-item.is-open > .programs-faqs-panel {
	grid-template-rows: 1fr;
}

/* hidden after the close finishes, so a closed answer cannot be tabbed into or read */
body.single-sa28_programs .programs-faqs-clip {
	min-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: visibility 0s linear 0.5s;
}

body.single-sa28_programs .programs-faqs-item.is-open > .programs-faqs-panel > .programs-faqs-clip {
	visibility: visible;
	transition-delay: 0s;
}

/* The padding is here, not on the clip: padding on the clip would keep the closed row from reaching zero height. */
body.single-sa28_programs .programs-faqs-body {
	padding: 10px;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body,
body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body * {
	font-family: "Inter", sans-serif;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body {
	font-size: 17px;
	line-height: 27px;
	font-weight: 400;
	letter-spacing: 0;
	text-align: left;
	color: #3C3C3B;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body :is(p, li, dd, dt, td, th, figcaption, blockquote) {
	font-size: inherit;
	line-height: inherit;
	text-align: left;
	color: #3C3C3B;
}

/* :where() keeps the reset at the weight of the 27px rule below, which comes later and so wins between blocks. */
body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body > *,
body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body :where(p, ul, ol, li) {
	margin: 0;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body > * + * {
	margin-top: 27px;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body :is(ul, ol) {
	padding-left: 24px;
	list-style-position: outside;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body ul {
	list-style-type: disc;
}

body.single-sa28_programs:not(#_):not(#_) .programs-faqs-body ol {
	list-style-type: decimal;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs-body a {
	color: #5E30FF;
}

/* ---- pill button ---- */
body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs-button {
	display: block;
	box-sizing: border-box;
	width: fit-content;
	min-width: 160px;
	max-width: 100%;
	height: auto;
	min-height: 48px;
	margin: 24px auto 0;
	padding: 12px 32px;
	border: 0;
	border-radius: 999px;
	background: #5E30FF;
	box-shadow: none;
	color: #FFFFFF;
	font-family: "Inter", sans-serif;
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 1.4px;
	line-height: 24px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs-button:hover,
body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs-button:focus {
	background: #4A1FE6;
	color: #FFFFFF !important;
	text-decoration: none !important;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs-button:focus-visible {
	outline: 3px solid #5E30FF;
	outline-offset: 2px;
}

/* ---- 1200px and below ---- */
@media (max-width: 1200px) {
	body.single-sa28_programs .programs-faqs {
		padding: 50px 25px 48px;
	}

	body.single-sa28_programs:not(#_):not(#_) .programs-faqs-heading {
		margin: 0 0 19px;
		padding: 0;
		font-size: 26px;
		line-height: 31px;
	}

	body.single-sa28_programs .programs-faqs-list {
		width: 100%;
		max-width: 920px;
	}

	body.single-sa28_programs:not(#_):not(#_) .programs-faqs-toggle {
		padding: 16px 3px 16px 0;
		line-height: 22px;
	}

	body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs-button {
		width: fit-content;
		min-width: 270px;
		margin-top: 20px;
		font-size: 16px;
		font-weight: 400;
		letter-spacing: 0;
	}
}

/* ---- 767px and below: the list is the band minus its 25px side padding, with no maximum width ---- */
@media (max-width: 767px) {
	body.single-sa28_programs .programs-faqs-list {
		max-width: none;
	}

	body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs-button {
		width: 100%;
		min-width: 0;
		font-size: 13px;
		font-weight: 300;
		letter-spacing: 1.4px;
	}
}

/* Padding input: Zero top and Zero bottom remove the band's own padding above and below. Placed after the root
   padding rules, with more weight than they have. */
body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs.programs-pad-zero-top {
	padding-top: 0;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs.programs-pad-zero-bottom {
	padding-bottom: 0;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-faqs.programs-pad-zero-top-bottom {
	padding-top: 0;
	padding-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	body.single-sa28_programs .programs-faqs-panel,
	body.single-sa28_programs .programs-faqs-clip,
	body.single-sa28_programs .programs-faqs-arrow {
		transition: none;
	}
}
