/* =========================================================
   CLEAR THE WAY QUIZ — live's fractal quiz styling
   (externals/quiz.css + the theme's progress-indicator),
   rem→px converted (fractal html = 10px). Grey band comes
   from the block's bg token; the form sits in live's
   ~11/16 column.
========================================================= */
.block-clearway-quiz .cw-quiz {
	max-width: 68.75%; /* live: col-md-11 of 16 */
}
@media only screen and (max-width: 991.98px) {
	.block-clearway-quiz .cw-quiz { max-width: none; }
}

.block-clearway-quiz .cw-quiz__list { list-style: none; margin: 0; padding: 0; }
.block-clearway-quiz .cw-quiz__question { display: none; }
.block-clearway-quiz .cw-quiz__question.is-active { display: block; }
.block-clearway-quiz .cw-quiz__fieldset { border: 0; margin: 0; padding: 0; }

/* legend: green eyebrow "Question N of 5" + the question */
.block-clearway-quiz .cw-quiz__legend {
	padding: 0;
	margin-bottom: var(--space-4);
	outline: none;
}
.block-clearway-quiz .cw-quiz__count {
	display: block;
	font-weight: 700;
	font-size: 22px !important; /* .font-heading5 sets 28px !important */
	border-bottom: 4px solid var(--color-s, #01b483);
	padding-bottom: 10px;
	margin-bottom: 24px;
	width: fit-content;
	padding-right: 24px;
}
.block-clearway-quiz .cw-quiz__q {
	display: block;
	font-size: 28px;
	line-height: 1.15;
	font-weight: 700;
}
@media only screen and (min-width: 992px) {
	.block-clearway-quiz .cw-quiz__q { font-size: 40px; }
}

/* yes/no pill toggle (live quiz.css: orange-bordered halves, orange when checked) */
.block-clearway-quiz .cw-quiz__options { display: flex; margin-bottom: var(--space-4); }
.block-clearway-quiz .cw-quiz__options input {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
}
.block-clearway-quiz .cw-quiz__options label {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	background-color: #f6f6f8;
	border: 2px solid #ff6e33;
	padding: 12px 43px;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	transition: background .3s cubic-bezier(.4, 0, 0, 1), border .3s cubic-bezier(.4, 0, 0, 1);
}
.block-clearway-quiz .cw-quiz__options label:first-of-type { border-radius: 50px 0 0 50px; }
.block-clearway-quiz .cw-quiz__options label:last-of-type { border-radius: 0 50px 50px 0; }
.block-clearway-quiz .cw-quiz__options label:not(:last-of-type) { margin-right: -2px; }
.block-clearway-quiz .cw-quiz__options label:hover { border-color: #000; z-index: 4; }
.block-clearway-quiz .cw-quiz__options input:checked + label {
	background-color: #ff6e33;
	border: 2px solid #ff6e33;
	z-index: 2;
}
.block-clearway-quiz .cw-quiz__options input:focus-visible + label { border: 2px solid #282829; z-index: 3; }

.block-clearway-quiz .cw-quiz__explainer[hidden] { display: none; }
.block-clearway-quiz .cw-quiz__explainer {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: var(--space-4);
}

/* progress ("% complete") */
.block-clearway-quiz .cw-quiz__progress { margin: var(--space-4) 0; }
.block-clearway-quiz .cw-quiz__progress-bar {
	background: #a7a7a9;
	height: 8px;
	width: 100%;
	overflow: hidden;
	margin-bottom: 12px;
}
.block-clearway-quiz .cw-quiz__progress-fill {
	display: block;
	height: 8px;
	width: 0;
	background: #ff6e33;
	transition: width .4s cubic-bezier(.4, 0, 0, 1);
}
.block-clearway-quiz .cw-quiz__progress-message {
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

/* back / next (live: tertiary text buttons with arrows) */
.block-clearway-quiz .cw-quiz__nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.block-clearway-quiz .cw-quiz__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 0;
	padding: 8px 0;
	font-weight: 600;
	font-size: 20px;
	color: #282829;
	cursor: pointer;
}
.block-clearway-quiz .cw-quiz__btn .cw-quiz__btn-icon svg { width: 17px; height: 17px; display: block; }
.block-clearway-quiz .cw-quiz__btn span {
	background-image: linear-gradient(transparent calc(100% - .1em), #ff6e33 .1em);
	background-repeat: no-repeat;
	padding-bottom: .1em;
}
.block-clearway-quiz .cw-quiz__btn[disabled] { color: #69696a; cursor: default; }
.block-clearway-quiz .cw-quiz__btn[disabled] span {
	background-image: linear-gradient(transparent calc(100% - .1em), #a7a7a9 .1em);
}

/* results */
.block-clearway-quiz .cw-quiz__results[hidden] { display: none; }
.block-clearway-quiz .cw-quiz__score { margin: 0 0 10px; font-weight: 700; }
.block-clearway-quiz .cw-quiz__verdict {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 var(--space-3);
}
@media only screen and (min-width: 992px) {
	.block-clearway-quiz .cw-quiz__verdict { font-size: 34px; }
}
.block-clearway-quiz .cw-quiz__results ul { margin: var(--space-3) 0 0; padding-left: 0; }
.block-clearway-quiz .cw-quiz__results li { margin-bottom: 12px; }
.block-clearway-quiz .cw-quiz__share {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: var(--space-4);
}
.block-clearway-quiz .cw-quiz__social {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 12px;
}
.block-clearway-quiz .cw-quiz__social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: #282829;
}
.block-clearway-quiz .cw-quiz__social-btn svg { width: 18px; height: 18px; }
.block-clearway-quiz .cw-quiz__social-btn--blue-light { background: #a4dbde; }
.block-clearway-quiz .cw-quiz__social-btn--pink { background: #fcbbe0; }
.block-clearway-quiz .cw-quiz__social-btn--apricot { background: #f8a087; }
.block-clearway-quiz .cw-quiz__social-btn:hover { transform: scale(1.06); }

.block-clearway-quiz .visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
