/**
 * Quiz landing pages (page-quiz.php standalone + page-quiz-new.php full-shell).
 * Ported verbatim from the legacy framework2-child page-quiz-us.twig inline
 * <style> blocks so the standalone "Brand New Garage Door" eligibility quiz
 * matches the live site.
 */

.imgabove { text-align: center; padding: 0 1.5rem; }
.imgabove img { width: 500px; max-width: 100%; }
#chat-widget-container { display: none; }
.h2test span { text-decoration: underline; font-weight: 600; }
.h2test b { font-weight: 600; }
#thankYouCard span { text-decoration: underline; font-weight: 600; }
#thankYouCard b { font-weight: 600; }
#timer { text-decoration: none; }

.phone {
	background: #d22630;
	padding: 12px 30px;
	border-radius: 10px;
	font-weight: bold;
	display: inline-block;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	font-size: 18px;
}

.note { position: absolute; top: 20px; right: 20px; font-size: 14px; text-align: right; }

.container { padding: 30px 20px; max-width: 800px; margin: auto; position: relative; }

.progress-wrapper { max-width: 400px; margin: 50px auto 20px; position: relative; }
.progress-wrapper div#progressLabel { display: none; }
.progress-wrapper div#backBtn {
	position: absolute;
	top: -35px;
	right: -9rem;
	left: auto;
	bottom: auto;
	font-weight: 600;
	font-size: 16px;
}

.progress-bar { height: 10px; background: #eee; border-radius: 5px; overflow: hidden; }
.progress { height: 100%; background: #A81D25; width: 0%; transition: width 0.3s ease; }
#progressLabel { font-size: 14px; margin-bottom: 5px; }

.btn {
	display: inline-block;
	margin: 10px;
	padding: 14px 40px;
	font-size: 20px;
	background: #d22630;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
}
.btn:hover { background: #A81D25; }

.features { text-align: left; max-width: 500px; margin: 40px auto; }
.features li { list-style: none; margin: 10px 0; font-size: 18px; }
.features li::before { content: "\2714"; color: #A81D25; margin-right: 10px; }

.tagline { margin-top: 20px; font-style: italic; color: #666; }

#backBtn {
	position: absolute;
	left: 20px;
	top: 20px;
	font-size: 14px;
	cursor: pointer;
	display: none;
	color: #444;
}
#backBtn:hover { text-decoration: underline; }

#thankYouCard {
	display: none;
	border: 1px solid #ddd;
	padding: 40px 20px;
	border-top: 6px solid #A81D25;
	border-radius: 5px;
	margin-top: 40px;
}
#thankYouCard h2 { font-size: 40px; margin-bottom: 15px; }
#thankYouCard p { font-size: 18px; margin-bottom: 25px; }

.call-btn {
	background: #d22630;
	color: white;
	font-size: 22px;
	font-weight: bold;
	padding: 15px 40px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}
#timer { font-size: 18px; color: #c80000; font-weight: bold; }

/* Standalone banner header (logo + Call). */
.banner { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); }
.banner_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #ffffff;
	color: white;
	padding: 20px 40px;
	max-width: 1140px;
	margin: 0 auto;
}
.banner_inner .logo img { width: 211px; }
.banner_inner a.call-button {
	background: #D22630;
	border-radius: 0;
	color: #fff;
	font-weight: 400;
	padding: 10px 20px;
	text-decoration: none;
	display: flex;
	align-items: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
	font-size: 18px;
}
.phone-icon { margin-right: 10px; }

.specialist-info { text-align: center; font-size: 16px; line-height: 1.4; color: #000; }

.loc_quiz .container h2 {
	text-align: center;
	font-size: 25px;
	font-weight: normal;
	line-height: 1.2em;
	color: #000000;
	margin-top: 4rem;
	font-family: "Barlow", sans-serif;
	text-transform: inherit;
}
.loc_quiz .container div#questionText span.highlight { font-size: 18px; color: #d22630; }
.loc_quiz .container div#questionText {
	text-align: center;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.2em;
	font-family: "Barlow", sans-serif;
	text-transform: uppercase;
	margin-bottom: 10px;
	color: #000;
	margin-top: 25px;
}
.btnquiz { display: flex; flex-direction: column; }
.btnquiz button.btn {
	text-align: center;
	padding: 11px 0px;
	margin: 10px 0 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 500;
	text-decoration: none;
	display: block;
	cursor: pointer;
	width: 100%;
	max-width: 356px;
	margin-inline: auto;
	background: #d22630;
	border-color: #fff;
	border-radius: 0.25rem;
	box-shadow: rgba(0, 0, 0, 0.5) 0 0.125rem 0.25rem;
}
.btnquiz button.btn:hover { background: #b3111b; }

article.default-content-wrapper .clip { display: none; }
article.default-content-wrapper .copy-section { max-width: 600px; margin: 0 auto 40px; }
article.default-content-wrapper .copy-section ul.features.text-std { margin-top: 0; }

.loc_quiz .container div#thankYouCard { padding: 30px; text-align: center; }
.loc_quiz .container div#thankYouCard h2 { margin-top: 0; }
.loc_quiz .container div#thankYouCard p { text-align: center; }
.loc_quiz .container div#thankYouCard button.call-btn { margin-bottom: 15px; }

.question { font-size: 30px; margin: 30px 0; text-align: center; font-weight: 500; }
.loc_quiz .container div#questionText { margin-bottom: 25px; }
.loc_quiz .container div#questionText span.highlight { display: block; margin: 45px 0; }

@media (max-width: 767px) {
	.loc_quiz .container h2 { margin-top: 0; font-size: 25px; line-height: 30px; }
	.loc_quiz .container div#questionText { font-size: 20px; line-height: 30px; }
	.progress-wrapper div#backBtn { right: 0; }
	.banner_inner { flex-wrap: wrap; justify-content: center; padding: 10px 20px 20px; gap: 10px; }
	.banner_inner .logo { padding-bottom: 10px; }
	.banner_inner .logo img { width: 150px; }
	.banner_inner a.call-button { width: 50%; padding: 7px; letter-spacing: normal; font-weight: 500; justify-content: center; font-size: 15px; }
	.banner_inner .specialist-info { width: 100%; font-size: 15px; margin-top: -11px; }
}
