/* CMN Step Quiz */

.cmn-step-quiz {
	--cmn-sq-navy: #152a4e;
	--cmn-sq-blue: #1f6fb2;
	--cmn-sq-blue-light: #eaf3fc;
	--cmn-sq-track: #cfe3f5;
	--cmn-sq-border: #d7dee5;
	--cmn-sq-yellow: #f5b301;
	--cmn-sq-text: #33455e;
	--cmn-sq-radius: 10px;

	max-width: 100%;
	margin: 0 auto;
	font-family: inherit;
	color: var( --cmn-sq-text );
	box-sizing: border-box;
}

.cmn-step-quiz *,
.cmn-step-quiz *::before,
.cmn-step-quiz *::after {
	box-sizing: border-box;
}

.cmn-sq-card {
	background: #fff;
	border-radius: var( --cmn-sq-radius );
}

/* Progress */

.cmn-sq-eyebrow {
	display: block;
	color: #1c9ed6;
	font-family: Inter, inherit;
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: 18.75px; /* 125% */
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 10px;
}

.cmn-sq-progress-track {
	width: 100%;
	height: 6px;
	background: var( --cmn-sq-track );
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 28px;
}

.cmn-sq-progress-fill {
	height: 100%;
	background: var( --cmn-sq-blue );
	border-radius: 999px;
	transition: width 0.25s ease;
}

/* Question */

.cmn-sq-question {
	color: #253746;
	font-family: Manrope, inherit;
	font-size: 46px;
	font-style: normal;
	font-weight: 800;
	line-height: 50.6px; /* 110% */
	margin: 0 0 24px;
}

.cmn-sq-answers {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 28px;
}

.cmn-sq-answer {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	text-align: left;
	background: #fff;
	border: 2px solid var( --cmn-sq-border );
	border-radius: 999px;
	padding: 12px 20px;
	font-size: 15px;
	color: var( --cmn-sq-text );
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cmn-sq-answer:hover {
	border-color: var( --cmn-sq-blue );
}

.cmn-sq-answer:focus-visible {
	outline: 2px solid var( --cmn-sq-blue );
	outline-offset: 2px;
}

.cmn-sq-answer.is-selected {
	border: 2px solid #0e7ca2;
	background: #e7f5fa;
}

.cmn-sq-answer-letter {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid var( --cmn-sq-blue );
	color: var( --cmn-sq-blue );
	font-weight: 700;
	font-size: 13px;
}

.cmn-sq-answer-text {
	flex: 1 1 auto;
	color: #253746;
	font-family: Inter, inherit;
	font-size: 17px;
	font-style: normal;
	font-weight: 400;
	line-height: 21.76px; /* 128% */
}

/* Controls */

.cmn-sq-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}

.cmn-sq-back {
	background: none;
	border: none;
	color: var( --cmn-sq-blue );
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	padding: 8px 4px;
	margin-right: auto;
}

.cmn-sq-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 999px;
	padding: 12px 26px;
	text-align: center;
	font-family: Nunito, inherit;
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: opacity 0.15s ease, background-color 0.15s ease;
}

.cmn-sq-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.cmn-sq-button-primary {
	background: var( --cmn-sq-yellow );
	color: #253746;
}

.cmn-sq-button-primary:not( :disabled ):hover {
	opacity: 0.9;
}

.cmn-sq-button-outline {
	background: transparent;
	color: var( --cmn-sq-navy );
	border-color: var( --cmn-sq-navy );
}

.cmn-sq-button-outline:hover {
	background: var( --cmn-sq-navy );
	color: #fff;
}

.cmn-sq-chevron {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate( -45deg );
}

/* Results */

.cmn-sq-result {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) minmax( 0, 440px );
	gap: 32px;
	align-items: start;
}

.cmn-sq-result-main {
	min-width: 0;
	max-width: 800px;
}

@media ( max-width: 900px ) {
	.cmn-sq-result {
		grid-template-columns: 1fr;
	}

	.cmn-sq-result-main {
		max-width: none;
	}
}

.cmn-sq-result-heading {
	color: var( --primary-dark-gray-base, #253746 );
	font-family: Manrope, inherit;
	font-size: 58px;
	font-style: normal;
	font-weight: 800;
	line-height: 62.64px; /* 108% */
	margin: 0 0 16px;
}

.cmn-sq-result-heading span {
	display: block;
}

.cmn-sq-result-description p {
	color: var( --primary-dark-gray-base, #253746 );
	font-family: Inter, inherit;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 30px; /* 150% */
	margin: 0 0 14px;
}

.cmn-sq-ideas {
	background: var( --cmn-sq-navy );
	color: #fff;
	border-radius: var( --cmn-sq-radius );
	padding: 20px 22px;
	margin: 22px 0;
}

.cmn-sq-ideas-title {
	color: #ffcb05;
	font-family: Inter, inherit;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 17.5px; /* 125% */
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 12px;
}

.cmn-sq-ideas ul {
	margin: 0;
	padding-left: 18px;
}

.cmn-sq-ideas li {
	color: #fff;
	font-family: Inter, inherit;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 33px; /* 165% */
	margin-bottom: 8px;
}

.cmn-sq-ideas li:last-child {
	margin-bottom: 0;
}

.cmn-sq-result-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.cmn-sq-result-image {
	min-width: 0;
	width: 100%;
	max-width: 440px;
	margin-left: auto;
	border-radius: 30px;
	overflow: hidden;
	background: var( --cmn-sq-blue-light );
}

.cmn-sq-result-image-mobile {
	margin: 22px 0;
}

.cmn-sq-result-image {
	display: none;
}

.cmn-sq-result-image-mobile{
	display: block !important;
}

@media ( min-width: 900px ) {
	.cmn-sq-result-image-mobile{
		display: none !important;
	}

	.cmn-sq-result-image {
		display: block;
	}
}

@media ( max-width: 900px ) {
	.cmn-sq-result-image {
		max-width: none;
		margin-left: 0;
	}
}

.cmn-sq-result-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cmn-sq-setup-notice {
	border: 1px dashed var( --cmn-sq-border );
	border-radius: var( --cmn-sq-radius );
	padding: 20px;
	font-size: 14px;
}

.cmn-sq-setup-notice p {
	margin: 0;
}

.cmn-sq-retake {
	display: block;
	margin-top: 18px;
	background: none;
	border: none;
	padding: 0;
	font-size: 13px;
	color: var( --cmn-sq-blue );
	text-decoration: underline;
	cursor: pointer;
}
