/**
 * Соцреабилитация — цвета и кнопки темы Handvorec.
 * primary/link: #257180; accent underline: #c44018; headings: #552607; button green: #566e4a; text: #321605.
 */

.sr-home {
	padding: 1.25rem 0;
	background: #f5f7f6;
	border-block: 1px solid #e5ebe8;
	margin-bottom: 0;
}

.sr-home__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem 1.5rem;
}

.sr-home__icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
}

.sr-home__icon img {
	display: block;
	width: 100%;
	height: 100%;
}

.sr-home__body {
	flex: 1 1 auto;
	min-width: 0;
}

.sr-home__title {
	margin: 0 0 .25rem;
	font-size: clamp(1.2rem, 2.2vw, 1.6rem);
	line-height: 1.2;
	color: #552607;
	font-weight: 700;
	padding: 0;
}

.sr-home__text {
	margin: 0;
	max-width: 42rem;
	color: #321605;
	font-size: 15px;
	line-height: 1.5;
}

.sr-home__cta {
	flex: 0 0 auto;
	margin-left: auto;
}

.sr-btn.ast-button,
a.sr-btn.ast-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: .65rem 1.35rem;
	background: #566e4a;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
	border: 0;
	border-radius: 0;
	line-height: 1.2;
}

.sr-btn.ast-button:hover,
a.sr-btn.ast-button:hover {
	background: #455a3b;
	color: #fff !important;
}

.sr-btn.ast-button:focus-visible,
.sr-section a:focus-visible,
.sr-home a:focus-visible,
.sr-signup__form input:focus-visible,
.sr-signup__form textarea:focus-visible,
.sr-signup__form select:focus-visible,
.sr-signup__form button:focus-visible {
	outline: 2px solid #257180;
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.sr-home__inner {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.sr-home__cta {
		margin-left: 0;
		flex: 1 1 100%;
	}

	.sr-home__cta .sr-btn {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.sr-home {
		padding: 1rem 0;
	}

	.sr-home__inner {
		display: grid;
		grid-template-columns: 40px 1fr;
		column-gap: .75rem;
		row-gap: .75rem;
	}

	.sr-home__icon {
		width: 40px;
		height: 40px;
	}

	.sr-home__cta {
		grid-column: 1 / -1;
	}
}

.sr-page .entry-title {
	color: #552607;
}

.sr-section {
	margin: 0 0 2rem;
}

.sr-section__title {
	margin: 0 0 1rem;
	padding: 0;
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	color: #552607;
	font-weight: 700;
	line-height: 1.2;
}

.sr-section__title:after {
	content: "";
	width: 100px;
	height: 5px;
	background: #c44018;
	display: block;
	margin-top: .5rem;
}

.sr-empty {
	padding: .5rem 0;
	color: #321605;
	font-size: 15px;
	line-height: 1.5;
}

.sr-person {
	display: grid;
	gap: .5rem;
	padding: 1.25rem;
	background: #f5f7f6;
	border: 1px solid #e5ebe8;
	color: #321605;
}

.sr-person__name {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #552607;
}

.sr-person__pos {
	margin: 0;
	color: #555;
}

.sr-person__contacts {
	margin: .5rem 0 0;
	padding: 0;
	list-style: none;
}

.sr-person__contacts a {
	color: #257180;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sr-docs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .75rem;
}

.sr-docs__link {
	color: #257180;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sr-docs__meta {
	color: #666;
	font-size: .875rem;
}

.sr-docs__note {
	margin: .25rem 0 0;
	color: #666;
	font-size: .875rem;
}

.sr-programs {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.sr-programs {
		grid-template-columns: repeat(2, 1fr);
	}
}

.sr-program {
	background: #f5f7f6;
	border: 1px solid #e5ebe8;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.sr-program__media img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.sr-program__body {
	padding: 1.25rem;
}

.sr-program__title {
	margin: 0 0 .75rem;
	font-size: 1.15rem;
	color: #552607;
	font-weight: 700;
	padding: 0;
}

.sr-program__desc {
	color: #321605;
	font-size: 15px;
	line-height: 1.5;
}

.sr-program__desc > *:first-child { margin-top: 0; }
.sr-program__desc > *:last-child { margin-bottom: 0; }

.sr-access-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.sr-access-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.sr-access-card {
	display: flex;
	gap: 1rem;
	padding: 1.15rem;
	background: #f5f7f6;
	border: 1px solid #e5ebe8;
}

.sr-access-card__icon {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
}

.sr-access-card__icon img {
	width: 100%;
	height: 100%;
	display: block;
}

.sr-access-card__label {
	margin: 0 0 .35rem;
	font-weight: 700;
	color: #552607;
	font-size: 15px;
}

.sr-access-card__text {
	margin: 0;
	color: #321605;
	font-size: 15px;
	line-height: 1.5;
	white-space: pre-line;
}

.sr-access-passport {
	margin-top: 1.25rem;
}

.sr-events-list {
	display: grid;
	gap: 1.25rem;
}

.sr-event-card {
	padding: 1.25rem;
	background: #f5f7f6;
	border: 1px solid #e5ebe8;
}

.sr-event-card__title {
	margin: 0 0 .75rem;
	padding: 0;
	font-size: 1.2rem;
	color: #552607;
}

.sr-event-card__title a {
	color: inherit;
	text-decoration: none;
}

.sr-event-card__title a:hover {
	color: #257180;
	text-decoration: underline;
}

.sr-event-card__meta {
	margin: 0 0 .75rem;
	padding: 0;
	list-style: none;
	color: #321605;
	font-size: 15px;
	line-height: 1.5;
}

.sr-event-card__label {
	font-weight: 700;
	color: #552607;
}

.sr-event-card__summary,
.sr-event-card__note {
	margin: 0 0 .75rem;
	color: #321605;
	font-size: 15px;
	line-height: 1.5;
}

.sr-event-card__access {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.sr-event-card__access li {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .9rem;
	color: #321605;
}

.sr-event-card__cta {
	margin: 0;
}

.sr-link-all,
.sr-link-signup {
	margin: 1rem 0 0;
}

.sr-signup__phone {
	margin: 0 0 .5rem;
	font-size: 1.35rem;
	font-weight: 700;
}

.sr-signup__phone a {
	color: #257180;
}

.sr-signup__text {
	margin: 0 0 1rem;
	color: #321605;
}

.sr-signup__form label {
	display: block;
	width: 100%;
	padding: .5rem 0 .25rem;
	font-size: .8em;
	color: #666565;
	font-weight: 200;
	text-transform: uppercase;
}

.sr-signup__form input[type="text"],
.sr-signup__form input[type="email"],
.sr-signup__form input[type="tel"],
.sr-signup__form textarea,
.sr-signup__form select {
	width: 100%;
	max-width: 100%;
	padding: .6rem .75rem;
	border: 1px solid #ccc;
	background: #fff;
	color: #321605;
}

.sr-signup__form .wpcf7-list-item {
	margin: 0 .75rem 0 0;
}

.sr-signup__form .wpcf7-acceptance,
.sr-signup__form .wpcf7-checkbox {
	text-transform: none;
	font-weight: 400;
	color: #321605;
	font-size: 14px;
}

.sr-signup__form input[type="submit"],
.sr-signup__form .wpcf7-submit {
	min-height: 44px;
	padding: .65rem 1.5rem;
	background: #566e4a;
	color: #fff;
	border: 0;
	cursor: pointer;
	font-weight: 600;
}

.sr-signup__form input[type="submit"]:hover,
.sr-signup__form .wpcf7-submit:hover {
	background: #455a3b;
}

.sr-past {
	margin-top: 2rem;
}

.sr-past summary {
	cursor: pointer;
	font-weight: 700;
	color: #552607;
	margin-bottom: 1rem;
}

@media (max-width: 360px) {
	.sr-access-card {
		flex-direction: column;
	}
}
