.single-sober_tool .site-content,
.single-sober_tool .site-content > .ast-container {
	background: #fff;
}

.single-sober_tool .site-content > .ast-container {
	max-width: none;
	padding: 0;
}

.sober-tools-single-page {
	background: #fff;
	display: block;
	padding: 42px 20px 120px;
	width: 100%;
}

.sober-tools-single-page__container {
	margin: 80px auto 0;
	max-width: 1000px;
	width: 100%;
}

.sober-tools-single-card {
	margin: 0;
	padding: 0;
}

.sober-tools-single-card__image {
	margin: 0 0 26px;
}

.sober-tools-single-card__featured-image {
	aspect-ratio: 3.25 / 1;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.sober-tools-single-card__header {
	margin: 0;
}

.sober-tools-single-card__title {
	color: #111326;
	font-size: clamp(25px, 3vw, 32px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 20px;
}

.sober-tools-single-card__content {
	color: #59656d;
	font-size: 15px;
	line-height: 1.85;
}

.sober-tools-single-card__content p {
	margin: 0 0 20px;
}

.sober-tools-single-card__content a {
	color: #347fa8;
}

.sober-tools-single-card__back {
	align-items: center;
	color: #347fa8;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 6px;
	margin-top: 2px;
	text-decoration: none;
}

.sober-tools-single-card__back:hover {
	color: #235f82;
	text-decoration: underline;
}

.sober-tools-action {
	background: #eef7fa;
	margin: 34px 0 24px;
	padding: 28px 24px 26px;
	text-align: center;
}

.sober-tools-action__title {
	color: #111326;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 15px;
}

.sober-tools-button {
	align-items: center;
	background: #4687b0;
	border: 2px solid #4687b0;
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	gap: 7px;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 10px 25px;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sober-tools-button__icon {
	fill: currentColor;
	flex: 0 0 auto;
}

.sober-tools-button:hover {
	background: #326f97;
	border-color: #326f97;
	color: #fff;
}

.sober-tools-button:focus-visible,
.sober-tools-modal__close:focus-visible,
.sober-tools-question__answer:focus-visible {
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px #245b80;
	outline: 0;
}

body.sober-tools-modal-open {
	overflow: hidden;
}

.sober-tools-modal[hidden] {
	display: none !important;
}

.sober-tools-modal {
	align-items: center;
	background: rgba(0, 0, 0, 0.58);
	box-sizing: border-box;
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 30px;
	position: fixed;
	transition: opacity 0.2s ease;
	z-index: 100000;
}

.sober-tools-modal.is-open {
	opacity: 1;
}

.sober-tools-modal *,
.sober-tools-modal *::before,
.sober-tools-modal *::after {
	box-sizing: border-box;
}

.sober-tools-modal__panel {
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
	color: #273746;
	max-height: 82vh;
	max-width: 900px;
	overflow: hidden;
	position: relative;
	transform: translateY(10px);
	transition: transform 0.2s ease;
	width: 100%;
}

.sober-tools-modal.is-open .sober-tools-modal__panel {
	transform: translateY(0);
}

.sober-tools-modal__scroll {
	max-height: 82vh;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 30px 38px 38px;
	scrollbar-gutter: stable;
}

.sober-tools-modal__close {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #111;
	cursor: pointer;
	display: flex;
	font-family: Arial, sans-serif;
	font-size: 23px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 2px;
	position: absolute;
	right: 10px;
	top: 8px;
	width: 34px;
	z-index: 2;
}

.sober-tools-modal__close:hover {
	background: #eef2f4;
	color: #000;
}

.sober-tools-modal__title {
	color: #10265f;
	font-size: clamp(21px, 2.5vw, 26px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 32px 12px 0;
}

.sober-tools-modal__introduction {
	color: #4d565c;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 18px;
}

.sober-tools-modal__introduction > :first-child {
	margin-top: 0;
}

.sober-tools-modal__introduction > :last-child {
	margin-bottom: 0;
}

.sober-tools-modal__introduction a {
	color: #245f86;
	text-decoration: underline;
}

.sober-tools-question {
    border-bottom: 0;
    scroll-margin-top: 24px;
    background: #f8f9fa;
    padding: 25px 30px;
    border-radius: 8px;
    border-left: 4px solid #132573;
    margin: 0 0 15px 0;
}

/* .sober-tools-question:last-of-type {
	border-bottom: 0;
	margin-bottom: 24px;
	padding-bottom: 0;
} */

.sober-tools-question__task {
    background: transparent;
    border-radius: 999px;
    color: #000;
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    margin: 0;
    padding: 7px 0px;
}

.sober-tools-question__heading {
	align-items: flex-start;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 9px;
}

.sober-tools-question__heading label {
    color: #20262b;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.sober-tools-question__status {
	background: #eef4f7;
	border-radius: 999px;
	color: #315d78;
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	margin-top: 4px;
	padding: 7px 11px;
	text-transform: uppercase;
}

.sober-tools-question__answer {
	background: #fff;
	border: 1px solid #aebfca;
	border-radius: 8px;
	color: #233642;
	display: block;
	font: inherit;
	font-size: 14px;
	line-height: 1.55;
	min-height: 145px;
	padding: 12px 14px;
	resize: vertical;
	width: 100%;
}

.sober-tools-question__answer:hover {
	border-color: #68889b;
}

.sober-tools-question__answer:focus {
	border-color: #245b80;
	outline: 0;
}

.sober-tools-question__error {
	color: #a52222;
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 8px;
}

.sober-tools-question.has-error .sober-tools-question__answer {
	background: #fffafa;
	border-color: #b3261e;
}

.sober-tools-form__message {
	background: #fff3f2;
	border-left: 4px solid #b3261e;
	border-radius: 4px;
	color: #7d1b17;
	font-weight: 600;
	margin: 0 0 24px;
	padding: 13px 16px;
}

.sober-tools-form__actions {
	text-align: center;
}

/*body.page-id-879 .elementor-image-box-content  h3.elementor-image-box-title {
	min-height: 65px !important;
	margin-bottom: 5px !important;
}*/

@media (max-width: 782px) {
	.sober-tools-single-page {
		padding: 28px 16px 80px;
	}


	.sober-tools-modal {
		padding: 24px;
	}

	.sober-tools-modal__panel,
	.sober-tools-modal__scroll {
		max-height: 86vh;
	}

	.sober-tools-modal__scroll {
		padding: 30px 28px 36px;
	}

	.sober-tools-single-page__container {
		margin: 0 auto 0;
	}
}

@media (max-width: 480px) {
	.sober-tools-single-page {
		padding: 18px 12px 60px;
		padding-top:30px!important;
	}


	.sober-tools-single-card__image {
		margin-bottom: 20px;
	}

	.sober-tools-single-card__featured-image {
		aspect-ratio: 2.15 / 1;
	}

	.sober-tools-single-card__title {
		font-size: 24px;
	}

	.sober-tools-single-card__content {
		font-size: 14px;
		line-height: 1.75;
	}

	.sober-tools-action {
		padding: 24px 18px;
	}

	.sober-tools-action__title {
		font-size: 19px;
	}

	.sober-tools-modal {
		padding: 12px;
	}

	.sober-tools-modal__panel {
		border-radius: 5px;
		max-height: 92vh;
		width: 100%;
	}

	.sober-tools-modal__scroll {
		max-height: 92vh;
		padding: 28px 20px 32px;
	}

	.sober-tools-modal__close {
		height: 38px;
		right: 14px;
		top: 13px;
		width: 38px;
	}

	.sober-tools-modal__title {
		font-size: 22px;
		margin-bottom: 12px;
	}

	.sober-tools-question {
		margin-bottom: 28px;
		padding-bottom: 0;
	}

	.sober-tools-question__heading {
		display: block;
	}

	.sober-tools-question__heading label {
		display: block;
		font-size: 16px;
	}

	.sober-tools-question__status {
		display: inline-block;
		margin: 10px 0 0;
	}

	.sober-tools-question__answer {
		min-height: 135px;
	}

	.sober-tools-button {
		padding-left: 24px;
		padding-right: 24px;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sober-tools-button,
	.sober-tools-modal,
	.sober-tools-modal__panel {
		transition: none;
	}
}
