.columns-3-section {
	display: none;
	h2 {
		padding-bottom: 1em;
	}
	p {
		margin-bottom: 0px;
	}
	a {
		line-height: 1.3!important;
	}

}
.question.et_pb_toggle {
	border: none;
	border-top: 1px solid #DCDCDC;
	margin-bottom: 0px !important;
}
.question.et_pb_toggle:last-child {
	border-bottom: 1px solid #DCDCDC;
}
.question .db_pb_toggle_close2 {
	display: none!important;
}

/* 1. The Grid Container (Keeps your 3-column layout) */
.question-responses {
	display: grid;
	grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
	gap: 30px;
	margin-top: 30px;
}
.question-content {
	width: calc(100% - 170px);
	font-weight: 400;
}
.question .et_pb_toggle_title.toggle-title:before {
	margin-top: 0px;
	top: 50%;
	transform: translateY(-50%);
	color: #666666;
	@media (max-width: 768px) {
		margin-top: -.5em;
	}
}
.question.et_pb_toggle_close .et_pb_toggle_title.toggle-title:before {
	right: 5px!important;
}
.question.et_pb_toggle_open .et_pb_toggle_title.toggle-title:before {
	right: 5px!important;
}
.question.et_pb_toggle_open .et_pb_toggle_title.toggle-title:after {
	font-size: 16px;
	content: "Hide Responses" !important;
	left: auto;
	font-weight: 700;
	position: absolute;
	right: 0px;
	padding: 10px 35px 10px 10px;
	z-index: -1;
	background-color: #E6E6E6;
	color: #494949;
}
.question.et_pb_toggle_close .et_pb_toggle_title.toggle-title:after {
	font-size: 16px;
	content: "Show Responses" !important;
	left: auto;
	font-weight: 700;
	position: absolute;
	right: 0px;
	padding: 10px 35px 10px 10px;
	z-index: -1;
	background-color: #E6E6E6;
	color: #494949;
}
.question .view-dynamic-comment {
	font-size: 16px;
	color: #7A7A7A;
	font-weight: 400;
	font-family: 'PT Sans', Helvetica, Arial, Lucida, sans-serif;
	text-decoration: underline;
	margin-top: 15px;

}

@media (min-width: 768px) {
	.question-responses {
		grid-template-columns: repeat(3, 1fr); /* 3 equal columns on desktop */
	}
}

/* 2. The Main Card Wrapper */
.candidate-card {
	font-family: sans-serif;
	display: flex;
	flex-direction: column;
	gap: 2px; /* Adds a tiny bit of space between the top row and bottom row */
}

/* 3. Top Row: Name on Left, Badge on Right */
.candidate-info {
	display: flex;
	justify-content: start;
	align-items: center;
	height: 100%;
}

.candidate-info h4 {
	margin: 0;
	font-family: 'PT Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 20px;
	color: #212529;
	font-weight: 700;
	padding-right: 15px;
	white-space: break-spaces;
}

/* 4. Bottom Row: Party & District Details */
.candidate-details p {
	font-family: 'PT Sans', Helvetica, Arial, Lucida, sans-serif;
	margin: 0;
	font-size: 18px;
	color: #212529;
	font-weight: 400;
}

/* 5. The Answer Badge */
/* Make sure your ${classString} variable outputs "answer-badge" */
.answer-badge {
	padding: 10px;
	font-family: 'PT Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #212529;
	background-color: #F8F9BD; /* Light yellow for YES */
	border-radius: 0px;
	text-transform: uppercase;
	text-align: center;
	min-width: 45px;
	flex-shrink: 0;
	margin-left: 20px;
	margin-right: 30px;
}

/* Optional: Add this class to your string if the answer is "NO" */
.answer-badge.badge-no {
	background-color: #FFE19B; /* Slightly orange for NO */
}

#custom-lookup-container .page-content.at.oa-page {
	* {
		font-family: 'PT Sans', Helvetica, Arial, Lucida, sans-serif;
		font-weight: 400;
		font-size: 20px;
	}
	h1 {
		font-size: 40px;
		color: #212529;
	}
	p {
		color: #7B7B7B;
	}
	button.location-button {
		background-color: #21409A;
		font-weight: 700;
		color: #FFFFFF;
		border: none;
		padding: 10px;
		padding-left: 36px;
		position: relative;
		&::before {
			content: "";
			background-image: url("./../images/location.svg");
			width: 16px;
			height: 20px;
			position: absolute;
			left: 10px;
			top: 13px;
		}
		&:hover{
			background-color: #0D2774;
		}
	}
	p.choose-location-type-paragraph {
		margin: 15px 0px;
	}
	span.oa-input-label {
		font-family: 'PT Sans', Helvetica, Arial, Lucida, sans-serif;
		font-weight: 700;
		font-size: 16px;
		color: #7B7B7B;
	}
	input {
		color: #505050;
		font-size: 16px;
	}
	input::placeholder {
		color: #B5B5B5;
		font-size: 16px;
		opacity: 1; /* Crucial for Firefox, which lowers placeholder opacity by default */
	}
	input.btn-at {
		background-color: #21409A;
		font-weight: 700;
		color: #FFFFFF;
		position: absolute;
		left: 0;
		top: 62px;
		border-radius: 0px;
		font-size: 20px;
		height: auto;
		padding: 10px;
		@media (max-width: 640px) {
			position: relative;
			top: 0px;
		}
		&:hover{
			background-color: #0D2774;
		}
	}
	form {
		position: relative;
	}
	.oa-elected-officials-container.oa-page-async-container.oa-hooked {
		.row {
			margin-bottom: 20px;
			@media (max-width: 640px) {
				margin-bottom: 0px;
				padding-bottom: 0px;
			}
		}
	}
}

.section-title-button {
	display: flex;
	align-items: center;
	& > .et_pb_text {
		flex: 1;
	}
	.et_pb_button_module_wrapper {
		margin-left: auto;
	}
	.et_pb_text {
		margin-bottom: 0px!important;
	}
	.et_pb_button {
		padding-top: 10px!important;
		padding-bottom: 10px!important;
		padding-left: 10px;
		&::hover {
			padding-top: 10px;
			padding-bottom: 10px;
			padding-left: 10px;
		}
	}
}

@media (max-width: 768px) {
	.candidate-info {
		justify-content: space-between;
	}
	.question.et_pb_toggle_close .et_pb_toggle_title.toggle-title:after,
	.question.et_pb_toggle_open .et_pb_toggle_title.toggle-title:after {
		display: none;
	}
	.question-content {
		width: 100%;
	}
	.section-title-button {
		flex-direction: column;
		align-items: flex-start;
		.et_pb_button_module_wrapper {
			margin-left: 0px;
		}
		.show-hide-all-responses {
			margin-top: 25px;
		}
	}

}

body:has(#custom-lookup-container) #main-footer {
	display: none;
}

div[class*="questions-section-"] {
	display: none;
}
.oa-page .oa-input-message.error {
	z-index: 1;
	position: relative;
}
.oa-page-warning-message {
	margin-top: 80px;
	margin-bottom: 0px;
}
.pa-district {
	color: #212529;
}
.oa-page div.oa-page-banner {
	margin-top: 40px;
	margin-bottom: 0px;
}
.oa-page input[type="text"] {
	border: 1px solid #6C6C6C!important;
	border-radius: 0px!important;
}

body:has(#custom-lookup-container) .et_pb_button {
	&:hover {
		background-color: #0D2774!important;
	}
}

.question {
	.et_pb_toggle_title {
		padding-bottom: 20px!important;
		display: none;
	}
	.et_pb_toggle_title.toggle-title {
		display: block;
	}
	.et_pb_toggle_content {
		padding-top: 0px!important;
	}
}

.no-response-on-question {
	font-family: PT Sans;
	font-weight: 700;
	font-size: 20px;
	color: #7B7B7B;
}
.remove-grid {
	grid-template: none!important;
}
.no-response-on-question-at-all p {
	margin-bottom: 40px;
}