/*
 * Investor - Questions.
 *
 * Read from cp-all-designer investor/shareholder-information/qa/ and
 * css/investor-qa.css, over the token --r of css/app.css:141 (14px).
 *
 * The band and the head are the investor parent's, and so is the way a
 * question folds. Every measure a Style control states is stated on the
 * control for each tier, and not here.
 */

.custom-investor-questions {
	--custom-questions-ground: #F5F8FC;
	--custom-questions-ink: #16418C;
	--custom-questions-mark: #16418C;
	--custom-questions-mark-open: #CE2929;
	--custom-questions-answer: #475569;
	--custom-questions-link: #50A3D5;
	--custom-questions-link-lit: #3D8CB8;
}

/* investor-qa.css:11-16 */
.custom-investor-questions .custom-investor-questions__list {
	display: flex;
	flex-direction: column;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding: 0;
}

/* investor-qa.css:17-20 */
.custom-investor-questions .custom-investor-questions__item {
	margin: 0;
	padding: 0;
	background-color: var(--custom-questions-ground);
}

.custom-investor-questions .custom-investor-questions__item-head {
	margin: 0;
	padding: 0;
	font: inherit;
	letter-spacing: 0;
	text-transform: none;
}

/* investor-qa.css:22-28 */
.custom-investor-questions .custom-investor-questions__toggle {
	--custom-press-ink: var(--custom-questions-ink);
	--custom-press-ground: none;
	--custom-press-edge: transparent;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 14px;
	font-family: inherit;
	letter-spacing: 0;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.custom-investor-questions .custom-investor-questions__toggle:focus-visible {
	outline: 2px solid #50A3D5;
	outline-offset: -2px;
}

/* investor-qa.css:30-36 */
.custom-investor-questions .custom-investor-questions__number {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: var(--custom-questions-mark);
	color: #FFFFFF;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

/* investor-qa.css:37-41 */
.custom-investor-questions .custom-investor-questions__words {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 500;
	line-height: 1.5;
}

/* investor-qa.css:43-58 — the sign: a chevron of two bars on a disc, turned over and reddened when open */
.custom-investor-questions .custom-investor-questions__sign {
	flex: 0 0 auto;
	position: relative;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: var(--custom-questions-mark);
	transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-investor-questions .custom-investor-questions__sign::before,
.custom-investor-questions .custom-investor-questions__sign::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 2px;
	border-radius: 2px;
	background-color: #FFFFFF;
}

.custom-investor-questions .custom-investor-questions__sign::before {
	/* investor-qa.css:68 — half the bar back and 3px left, half its depth and 1px up, as one even move */
	transform: translate(-8px, -2px) rotate(45deg);
}

.custom-investor-questions .custom-investor-questions__sign::after {
	/* investor-qa.css:69 — half the bar back and 3px right */
	transform: translate(-2px, -2px) rotate(-45deg);
}

.custom-investor-questions .custom-investor-questions__item.is-open .custom-investor-questions__sign {
	transform: rotate(180deg);
	background-color: var(--custom-questions-mark-open);
}

/* investor-qa.css:59-63 — the answer opens over 350ms */
.custom-investor-questions .custom-investor-questions__answer {
	transition: grid-template-rows 350ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 350ms;
}

.custom-investor-questions .custom-investor-questions__item.is-open > .custom-investor-questions__answer {
	transition: grid-template-rows 350ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}

/* investor-qa.css:65-71 — the answer stands under the question's words, clear of its number */
.custom-investor-questions .custom-investor-questions__answer-words {
	margin: 0;
	padding: 0 24px 20px 70px;             /* 28 + 18 + 24 on the left */
	color: var(--custom-questions-answer);
	font-weight: 300;
	line-height: 1.7;
	letter-spacing: 0;
}

/* investor-qa.css:72-73 — a link the build drew */
.custom-investor-questions .custom-investor-questions__answer-words a,
.custom-investor-questions .custom-investor-questions__answer-words a:focus {
	color: var(--custom-questions-link);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
	overflow-wrap: anywhere;
}

.custom-investor-questions .custom-investor-questions__answer-words a:hover {
	color: var(--custom-questions-link-lit);
}

/* Tablet — 768px to 1024px */
@media (max-width: 1024px) {
	.custom-investor-questions .custom-investor-questions__answer-words {
		padding: 0 16px 14px 56px;         /* 16.56 / 14.72 / 28 + 12 + 16, the question's own figures */
	}
}

/* Mobile — up to 767px (investor-qa.css:79-85) */
@media (max-width: 767px) {
	.custom-investor-questions .custom-investor-questions__number {
		width: 24px;
		height: 24px;
		font-size: 10px;
	}
	.custom-investor-questions .custom-investor-questions__sign {
		width: 28px;
		height: 28px;
	}
	.custom-investor-questions .custom-investor-questions__answer-words {
		padding: 0 16px 16px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.custom-investor-questions .custom-investor-questions__sign,
	.custom-investor-questions .custom-investor-questions__answer {
		transition: none;
	}
}
