@charset "UTF-8";
.program-template-default .page {
	background-image: unset;
	background-color: rgba(255, 255, 255);
}

.hero-section {
	position: relative;
	overflow: hidden;
	padding: 177px 16px 84px 16px;
}

.hero__image {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	height: 100%;
	width: 100%;
}

.hero__image img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.hero-donation-form-inline__wrapper {
	position: relative;
	z-index: 2;
	max-width: 530px;
	margin-left: auto;
	padding: 40px;
	border-radius: 20px;
	background: rgba(174, 174, 174, 0.36);
	border: 2px solid rgba(255, 241, 186, 1);
}

.hero-donation-form-inline__wrapper h1 {
	color: rgba(255, 255, 255, 1);
	font-size: 45px;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: 0%;
	text-align: left;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.hero-donation-form-inline__wrapper.csd-step-2-active h1 {
	color: #0f143d;
}

.hero-donation-form-inline__wrapper .description {
	color: rgba(255, 255, 255, 1);
	font-size: 16px;
	font-weight: 400;
	line-height: 140%;
	max-width: 470px;
	margin-bottom: 20px;
}

.hero-donation-form-inline__wrapper.csd-step-2-active .description {
	color: #0f143d;
}

.hero-section .program-hero-form {
	margin-top: 47px;
}

.liqpay-programs-form__main {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.liqpay-programs-form__item label {
	color: rgba(6, 22, 49, 1);
	font-size: 26px;
	font-weight: 700;
	line-height: 110%;
}

.liqpay-programs-form__radio .liqpay-programs-form__item label span {
	color: rgba(178, 192, 216, 1);
}

.liqpay-programs-form__radio {
	display: flex;
	justify-content: space-between;
	gap: 22px;
}

.liqpay-programs-form__item.custom-value {
	position: relative;
}

.liqpay-programs-form__item.custom-value input {
	border-radius: 10px;
	background: rgba(255, 255, 255, 1);
	height: 77px;
	width: 100%;

	font-size: 22px;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: 0%;
	padding: 0 33px;
}

.liqpay-programs-form__item.custom-value input::placeholder {
	color: rgba(178, 192, 216, 1);
	font-size: 22px;
}

.liqpay-programs-form__item.custom-value input:-ms-input-placeholder {
	color: rgba(178, 192, 216, 1);
	font-size: 22px;
}

.liqpay-programs-form__item.custom-value input::-webkit-input-placeholder {
	color: rgba(178, 192, 216, 1);
	font-size: 22px;
}

.liqpay-programs-form__item.custom-value input:-moz-placeholder {
	color: rgba(178, 192, 216, 1);
	font-size: 22px;
}

.liqpay-programs-form__item.custom-value label {
	position: absolute;
	top: 50%;
	right: 33px;
	transform: translateY(-50%);
	margin-left: 15px;
	background: rgba(255, 255, 255, 1);
	text-transform: uppercase;
}

.liqpay-programs-form__radio .liqpay-programs-form__item {
	width: 100%;
}

.liqpay-programs-form__radio .liqpay-programs-form__item input {
	display: none;
}

.liqpay-programs-form__radio .liqpay-programs-form__item label {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 24.25px 5px;
	border-radius: 10px;
	background-color: rgba(255, 255, 255, 1);
}

.liqpay-programs-form__radio .liqpay-programs-form__item input:checked + label {
	background-color: #003366;
	color: #ffffff;
}

.btn-programs-donat {
	border-radius: 10px;
	background: rgba(255, 204, 0, 1);
	width: 100%;
	height: 77px;
	color: rgba(6, 22, 49, 1);
	font-size: 27px;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: 0%;
}

/*======================*/
.quote-block {
	background-color: var(--bg);
	font-size: var(--fs);
}

.quote-block__main {
	text-align: center;
	color: rgba(6, 22, 49, 1);
	line-height: 120%;
	font-weight: 700;
	letter-spacing: 0%;
	padding: 87px 0px;
	/* position: relative; */
}

.decored-item {
	position: relative;
	z-index: 1;
}

.none-decored-item {
	position: relative;
	z-index: 1;
}

.decor-mob {
	display: none;
}

.decor {
	position: absolute;
	top: -31%;
	left: -3%;
	z-index: -1;
}

.decor svg {
	width: 100%;
}

.info-block {
	background: url("../img/curves-line.png") 0 0 / 103% 148% no-repeat;
}
.info-block.disable-decor {
	background: unset;
}
.info-block__wrapper {
	display: flex;
	justify-content: center;

	padding: 95px 0 60px 0;
}

.info-block__text {
	color: rgba(6, 22, 49, 1);
	font-size: 18px;
	font-weight: 400;
	line-height: 150%;
	letter-spacing: 0%;
	padding-right: 30px;
	width: 50%;
}

.show-more {
	display: none;
}

.info-block__image {
	overflow: hidden;
	border-radius: 10px;
	width: 50%;
}

.info-block__image img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.features {
	/* margin-bottom: 89px; */
}

.features__title {
	text-align: center;
	color: rgba(6, 22, 49, 1);

	font-size: 32px;
	font-weight: 700;
	line-height: 120%;
	letter-spacing: 0%;
	margin-bottom: 36px;
}

.features__wrapper {
	display: flex;
	gap: 72px;
	justify-content: center;
	margin: 0 auto;
	max-width: 920px;
}

.features__wrapper.two-rows {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 120px;
	row-gap: 40px;
	justify-content: center;
	max-width: 940px;
}

.features__item-title {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.35;
	color: #061631;
	margin-bottom: 0;
	grid-column: 2;
}
.features__wrapper.two-rows .features__item:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
	width: 50%;
}
.features__item {
	max-width: 180px;
	width: 180px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.features__image {
	width: 76px;
	height: 76px;
	border-radius: 8px;
	background: rgba(255, 204, 0, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	padding: 14px;
}

.features__image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.features__text {
	color: #003366;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0%;
	text-align: center;
}

.features__wrapper.two-rows .features__item {
	justify-self: center;
	max-width: 410px;
	width: unset;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	column-gap: 24px;
	align-items: start;
}
.features__wrapper.two-rows .features__image {
	margin-bottom: 0;
}

.features__wrapper.two-rows .features__content {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.features__wrapper.two-rows .features__content .features__item-title {
	grid-column: auto;
	margin-bottom: 0;
}

.features__wrapper.two-rows .features__content .features__text {
	grid-column: auto;
	text-align: left;
}

.goal-block {
	margin-bottom: 99px;
}

.goal__wrapper {
	display: flex;
	border-radius: 10px;
	overflow: hidden;
}

.goal__image {
	width: 50%;
}

.goal__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left;
}

.goal__main {
	width: 50%;
	position: relative;
	padding: 58px 61px;
	background: rgba(224, 237, 255, 1);
}

.goal__darts {
	width: 126px;
	height: 126px;
	position: absolute;
	top: 58px;
	left: 61px;
	z-index: 1;
}

.goal__darts {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.goal__info {
	padding-top: 67px;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
}

.goal__title {
	padding-left: 61px;
	margin-bottom: 26px;
	color: rgba(6, 22, 49, 1);
	font-size: 40px;
	font-weight: 700;
	line-height: 100%;
	letter-spacing: 0%;
}

.goal__text {
	padding-left: 41px;
	color: rgba(6, 22, 49, 1);
	font-size: 16px;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: 0%;
	text-align: left;
}

.news-programs {
	margin-bottom: 80px;
	display: flex;
	align-items: center;
	flex-direction: column;
}

.news-programs .container {
	position: relative;
	width: 100%;
	margin-bottom: 60px;
}

.programs__title {
	text-align: center;
	font-family: "OpenSansCondensed", sans-serif;
	color: rgba(6, 22, 49, 1);
	font-size: 64px;
	font-weight: 700;
	line-height: 110%;
	letter-spacing: 0%;
	text-transform: uppercase;
	margin-bottom: 40px;
}

.news-programs__wrapper {
	/* width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; */
	position: static;
}

.news-programs__slider {
	position: relative;
	width: 100%;

	position: static;
}

.news-programs__slider .reviews-programs__button_next {
	left: 0;
}

.news-programs__slider .reviews-programs__button_prev {
	left: 0;
}

.news-programs__item {
	display: flex;
	flex-direction: column;
	max-width: 270px;
}

.news-programs__item-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 8px;
}

.news-programs__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.news-programs__item-date {
	color: rgba(6, 22, 49, 1);
	font-size: 16px;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: 0%;
	text-align: left;
	margin-bottom: 12px;
}

.news-programs__item-title {
	color: rgba(6, 22, 49, 1);
	font-size: 16px;
	font-weight: 700;
	line-height: 140%;
	letter-spacing: 0%;
	text-align: left;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.news-programs__item-text {
	color: rgba(6, 22, 49, 1);
	font-size: 16px;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: 0%;
}

.news-programs-btn {
	border-radius: 4px;
	background: rgba(255, 204, 0, 1);
	padding: 16px 40px;
	color: rgba(6, 22, 49, 1);

	font-size: 16px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0%;
}

.reviews-programs {
	padding-bottom: 102px;
	background: url("../img/curves-line.png") 0 0 / 100% 100% no-repeat;
	position: relative;
}

.reviews-programs__wrapper {
	position: relative;
}

.reviews-programs__slider {
	position: static;
	width: 100%;
	align-items: center;
	z-index: 2;
	overflow: visible;
	min-height: calc(var(--slide-height-program, 0px) + 40px);
}

.reviews-programs__slider-wrapper {
	align-items: center;
	position: relative;
	z-index: 2;
}

.reviews-programs__slider-slide {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
	background: rgba(255, 255, 255, 1);
	transition: opacity 0.3s ease 0s;
	opacity: 0;
	position: relative;
	z-index: 1;
	justify-content: flex-start;

	height: auto;
	min-height: var(--slide-height-program, auto);
	transition: opacity 0.3s ease, background-color 0.3s ease;
}

.reviews-programs__slider-slide.swiper-slide-active,
.reviews-programs__slider-slide.swiper-slide-prev,
.reviews-programs__slider-slide.swiper-slide-next {
	opacity: 1;
}

.reviews-programs__slider-slide.swiper-slide-active {
	background: rgba(224, 237, 255, 1);
	min-height: var(--slide-height-program, auto);
	z-index: 3;
	/* min-height: 374px; */
}

.slide-item__text {
	color: rgba(6, 22, 49, 1);
	font-size: 16px;
	font-weight: 400;
	line-height: 140%;
	letter-spacing: 0%;
	margin-bottom: 40px;
}

.slide-item__author {
	display: flex;
	align-items: center;
	width: 100%;
}

.slide-item__author-avatar {
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: 50%;
	margin-right: 11px;
}

.slide-item__author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slide-item__author-info {
	display: flex;
	flex-direction: column;
	margin-right: 50px;
}

.slide-item__author-name {
	color: rgba(6, 22, 49, 1);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0%;
	margin-bottom: 2px;
}

.slide-item__author-role {
	color: rgba(6, 22, 49, 1);
	font-style: Italic;
	font-size: 12px;
	font-weight: 700;
	line-height: 140%;
	letter-spacing: 0%;
}

.slide-item__quote {
	margin-left: auto;
}

.reviews-programs__controls {
	position: absolute;
	display: flex;
	justify-content: space-between;
	width: 100%;
	z-index: 2;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

.reviews-programs__button {
	position: relative;
}

.reviews-programs__button_prev {
	left: -40px;
}

.reviews-programs__button_next {
	left: 40px;
}

.phone-decor {
	position: absolute;
	left: 72px;
	top: calc(100% - 74px);
	transform: translateY(-100%);
	width: 151px;
	height: 151px;
}

.phone-decor img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*Media quaries======================*/
@media (max-width: 991px) {
	.reviews-programs__slider-slide.swiper-slide-prev {
		opacity: 0;
	}
}

@media (max-width: 768px) {
	.phone-decor {
		transform: translateY(-50%);
		width: 66px;
		height: 66px;
	}

	.hero-section {
		position: relative;
		overflow: hidden;
		padding: 435px 0px 40px 0px;
		height: 100vh;
	}

	.hero-section .program-hero-form {
		margin-top: 0;
	}

	.liqpay-programs-form__main {
		gap: 0;
	}

	.liqpay-programs-form {
		/* padding: 60px 16px; */
	}

	.liqpay-programs-form__title {
		/* font-size: 40px; */
		margin-bottom: 16px;
	}

	.liqpay-programs-form__description {
		font-size: 18px;
		margin-bottom: 40px;
	}

	.liqpay-programs-form__item label {
		/* font-size: 20px; */
	}

	.liqpay-programs-form__item.custom-value {
		margin-bottom: 16px;
	}

	.liqpay-programs-form__radio {
		margin-bottom: 16px;
	}

	.liqpay-programs-form__item.custom-value input::placeholder {
		font-size: 20px;
	}

	.liqpay-programs-form__item.custom-value input:-ms-input-placeholder {
		font-size: 20px;
	}

	.liqpay-programs-form__item.custom-value input::-webkit-input-placeholder {
		font-size: 20px;
	}

	.liqpay-programs-form__item.custom-value input:-moz-placeholder {
		font-size: 20px;
	}

	.liqpay-programs-form__item.custom-value input {
		height: 68px;
		padding: 0 20px;
	}

	.liqpay-programs-form__item.custom-value label {
		right: 20px;
		margin-left: 13px;
	}

	.liqpay-programs-form__radio .liqpay-programs-form__item {
		width: 31%;
	}

	.liqpay-programs-form__radio .liqpay-programs-form__item label {
		padding: 20px 0px;
		border-radius: 10px;
		width: 100%;
	}

	.btn-programs-donat {
		height: 68px;
		font-size: 20px;
	}

	.quote-block {
		font-size: var(--fsm);
	}

	.decored-item {
		display: inline-block;
		width: 100%;
	}

	.decor {
		display: inline-block;
		width: 100%;
		top: -72%;
		left: 0;
	}

	.decor svg {
		width: 100%;
	}

	.info-block {
		background: url("../img/curves-line-mob.png") 0 28% / 107% 147px no-repeat;
	}

	.info-block__wrapper {
		flex-direction: column;

		padding: 40px 0 58px 0;
	}

	.info-block__text {
		padding-right: 0px;
		width: 100%;
		margin-bottom: 6px;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 6;
		overflow: hidden;
		transition: all 0.3s ease 0s;
	}

	.info-block__text.show-all {
		display: block;
		-webkit-line-clamp: unset;
		overflow: visible;
		margin-bottom: 38px;
	}

	.info-block__image {
		border-radius: 4px;
		width: 100%;
	}

	.show-more {
		display: block;
		margin-bottom: 38px;
		color: rgba(6, 22, 49, 1);
		font-size: 16px;
		font-weight: 700;
		line-height: 140%;
		letter-spacing: 0%;
		text-decoration: underline;
		text-decoration-skip-ink: none;
		cursor: pointer;
	}

	.features__title {
		font-size: 24px;
		line-height: 110%;
		margin-bottom: 28px;
		margin-left: auto;
		margin-right: auto;
		max-width: 320px;
	}

	.features__wrapper {
		gap: 0;
		justify-content: unset;
		flex-direction: column;
		max-width: 320px;
	}

	.features__wrapper.two-rows {
		grid-template-columns: repeat(1, 1fr);
		max-width: 320px;
		row-gap: 30px;
	}
	.features__item {
		max-width: unset;
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.features__item:not(:last-child) {
		margin-bottom: 30px;
	}

	.features__image {
		width: 60px;
		height: 60px;
		min-width: 60px;
		min-height: 60px;
		border-radius: 7px;
		margin-bottom: 0px;
		margin-right: 24px;
		padding: 12px;
		flex: 0 0 auto;
	}

	.features__text {
		font-size: 16px;
		line-height: 1.35;
		text-align: left;
	}

	.features__item-title {
		margin-bottom: 0;
		align-self: auto;
		font-size: 16px;
		line-height: 1.35;
	}

	.features__wrapper.two-rows .features__item {
		margin-bottom: 0;
		display: grid;
		grid-template-columns: 60px minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 12px;
		align-items: center;
		max-width: 100%;
		width: 100%;
	}

	.features__wrapper.two-rows .features__image {
		grid-column: 1;
		grid-row: 1;
		margin-right: 0;
	}
	.features__wrapper.two-rows .features__content {
		display: contents;
	}
	.features__wrapper.two-rows .features__content .features__item-title {
		align-self: center;
		grid-column: 2;
		grid-row: 1;
	}
	.features__wrapper.two-rows .features__content .features__text {
		font-size: 14px;
		grid-column: 1 / -1;
		grid-row: 2;
		line-height: 1.4;
		margin-top: 0;
	}
	.goal-block {
		margin-bottom: 49px;
	}

	.goal-block .container {
		padding: 0 !important;
	}

	.goal__wrapper {
		display: flex;
		border-radius: unset;
		flex-direction: column;
	}

	.goal__image {
		width: 100%;
		height: 274px;
	}

	.goal__image img {
		object-position: 0;
	}

	.goal__main {
		width: 100%;
		padding: 0px 48px 48px 48px;
	}

	.goal__darts {
		width: 103px;
		height: 103px;
		position: absolute;
		top: 0;
		left: 0;
		transform: translate(50%, 20%);
		z-index: 1;
	}

	.goal__darts img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.goal__info {
		padding-top: 78px;
	}

	.goal__title {
		padding-left: 42px;
		margin-bottom: 4px;
		line-height: 140%;
		font-size: 16px;
	}

	.goal__text {
		padding-left: 42px;
	}

	.news-programs {
		margin-bottom: 33px;
	}

	.news-programs .container {
		display: flex;
		align-items: center;
		flex-direction: column;
	}

	.programs__title {
		font-size: 32px;
	}

	.news-programs__wrapper {
		width: 100%;
		display: flex;
		justify-content: unset;
		align-items: center;
		/* flex-direction: column; */
		gap: unset;
	}

	.news-programs__item {
		max-width: unset;
		/* margin-bottom: 60px; */
	}

	.news-programs__item-image {
		aspect-ratio: 1 / 1;
	}

	.news-programs__item-text {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}

	.news-programs-btn {
		border-radius: 4px;
		background: rgba(255, 204, 0, 1);
		padding: 16px 40px;
		color: rgba(6, 22, 49, 1);

		font-size: 16px;
		font-weight: 700;
		line-height: 22px;
		letter-spacing: 0%;
	}

	.reviews-programs__button_prev {
		left: 12px;
	}

	.reviews-programs__button_next {
		left: -12px;
	}

	.reviews-programs {
		padding-top: 80px;
		padding-bottom: 122px;
	}

	.reviews-programs__slider-slide.swiper-slide-active {
		background: rgba(255, 255, 255, 1);
	}

	.reviews-programs__slider-slide.swiper-slide-next {
		opacity: 0;
	}
}

@media (max-width: 610px) {
	.decor {
		display: inline-block;
		width: 100%;
		top: -23%;
		left: 0;
	}
}

@media (max-width: 576px) {
	.news-programs__slider .reviews-programs__button_next {
		left: -3px;
	}

	.news-programs__slider .reviews-programs__button_prev {
		left: 3px;
	}

	.decor {
		height: 150%;
		background: url("../img/decor.png") 0 -5px / 100% 100% no-repeat;
	}

	.decor svg {
		display: none;
	}

	.reviews-programs__button svg {
		width: 100%;
		height: 100%;
	}

	.reviews-programs__button {
		width: 10px;
		height: 15px;
	}
}

@media (max-width: 476px) {
	.hero-donation-form-inline__wrapper h1 {
		font-size: 30px;
	}

	.liqpay-programs-form__title {
		font-size: 48px;
	}

	.liqpay-programs-form__item label {
		font-size: 20px;
	}

	.hero-donation-form-inline__wrapper h1 {
		margin-bottom: 15px;
	}

	.hero-donation-form-inline__wrapper {
		padding: 20px;
	}
}

@media (max-width: 423px) {
	.phone-decor {
		transform: translateX(20%);
		top: 0;
		left: calc(100% - 82px);
		width: 66px;
		height: 66px;
	}

	.features__image {
		width: 60px;
		height: 60px;
		min-width: 60px;
		min-height: 60px;
		border-radius: 7px;
		margin-bottom: 0px;
		margin-right: 20px;
		padding: 12px;
	}

	.features__image img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.features__text {
		font-size: 16px;
	}

	.liqpay-programs-form__title {
		font-size: 40px;
	}

	.decor {
		display: none;
	}

	.decor-mob {
		display: inline-block;
		position: absolute;
		top: 4%;
		left: 0%;
		z-index: -1;
	}

	.slide-item__quote {
		display: none;
	}

	.slide-item__author-name {
		white-space: nowrap;
	}

	.slide-item__author-info {
		margin-right: 0;
	}

	.slide-item__author-avatar {
		width: 52px;
		height: 52px;
	}

	.reviews-programs__slider-slide {
		padding: 40px;
	}

	.reviews-programs {
		padding-top: 80px;
		padding-bottom: 122px;
		background:
			url("../img/curves-top.png") -80px -10px / 120% 30% no-repeat,
			url("../img/curves-bot.png") 100% 107% / 20% 20% no-repeat;
	}

	.goal__image {
		height: 174px;
	}
}

@media (max-width: 376px) {
	.features__text {
		font-size: 15px;
	}
}
.margin {
	margin-bottom: 65px;
}

/* Program newsletter subscription block. Business behaviour lives in the
 * donation plugin; this file owns only site presentation and responsive layout. */
.program-newsletter {
	position: relative;
	overflow: hidden;
	background: #e0edff;
}

/* Keep the newsletter visually distinct from the programme-news section, but
 * add no trailing gap when a programme has no published news. */
.program-newsletter + .news-programs {
	margin-top: 80px;
}

.program-newsletter__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 570px) minmax(0, 570px);
	column-gap: 30px;
	align-items: center;
	width: min(1170px, calc(100% - 32px));
	min-height: 295px;
	margin: 0 auto;
	z-index: 1;
}

.program-newsletter__title {
	margin: 0;
	color: #061631;
	font-family: "OpenSansCondensed", sans-serif;
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
}

.program-newsletter__subtitle {
	margin: 12px 0 0;
	color: #061631;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
}

.csd-newsletter-form__controls {
	display: flex;
	gap: 23px;
	align-items: flex-start;
}

.csd-newsletter-form__email {
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	height: 59px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: #fff;
	color: #061631;
	font-size: 18px;
	line-height: 1.5;
}

.csd-newsletter-form__email::placeholder {
	color: #a0aebd;
	opacity: 1;
}

.csd-newsletter-form__email:focus-visible,
.csd-newsletter-form__submit:focus-visible {
	outline: 3px solid #ffcc00;
	outline-offset: 3px;
}

.csd-newsletter-form__submit {
	flex: 0 0 202px;
	min-height: 54px;
	padding: 12px 24px;
	border: 0;
	border-radius: 4px;
	background: #061631;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	transition: background-color .18s ease, opacity .18s ease;
}

.csd-newsletter-form__submit:hover:not(:disabled) {
	background: #123462;
}

.csd-newsletter-form__submit:disabled {
	cursor: wait;
	opacity: .7;
}

.csd-newsletter-form__message {
	margin: 10px 0 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.csd-newsletter-form__message.is-success {
	color: #126132;
}

.csd-newsletter-form__message.is-notice {
	color: #394e6d;
}

.csd-newsletter-form__message.is-error {
	color: #9b3c00;
}

.csd-newsletter-form__honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.program-newsletter__email-icon,
.program-newsletter__decor {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	user-select: none;
}

.program-newsletter__email-icon {
	top: 59px;
	left: calc(50% - 715px);
	width: 134px;
	height: 134px;
	object-fit: contain;
}

.program-newsletter__decor {
	top: 59px;
	right: calc(50% - 838px);
	width: 140px;
	height: 140px;
	object-fit: contain;
}

.program-newsletter--medychni-proekty .program-newsletter__decor {
	top: 88px;
	right: calc(50% - 889px);
	width: 187px;
	height: 187px;
}

.program-newsletter--puls-dytynstva .program-newsletter__decor {
	top: 62px;
	right: auto;
	left: calc(50% - 728px);
	width: 172px;
	height: 172px;
}

.program-newsletter--puls-dytynstva .program-newsletter__email-icon {
	top: 94px;
	left: auto;
	right: calc(50% - 857px);
}

/* Decorative art sits outside the content grid on wide screens. Clamp only
 * that art at intermediate widths; the content grid stays centered inside the
 * shared 1170px container at every desktop width. */
@media (max-width: 1520px) {
	.program-newsletter__email-icon {
		left: max(16px, calc(50% - 715px));
	}

	.program-newsletter__decor {
		right: max(16px, calc(50% - 838px));
	}

	.program-newsletter--medychni-proekty .program-newsletter__decor {
		right: max(16px, calc(50% - 889px));
	}

	.program-newsletter--puls-dytynstva .program-newsletter__decor {
		left: max(16px, calc(50% - 728px));
	}

	.program-newsletter--puls-dytynstva .program-newsletter__email-icon {
		right: max(16px, calc(50% - 857px));
	}
}

@media (max-width: 1280px) {
	.program-newsletter__inner {
		width: min(1080px, calc(100% - 64px));
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		transform: none;
	}

	.program-newsletter__email-icon,
	.program-newsletter__decor {
		opacity: .55;
	}
}

@media (max-width: 767px) {
	.program-newsletter {
		padding: 80px 16px 86px;
	}

	.program-newsletter + .news-programs {
		margin-top: 64px;
	}

	.program-newsletter__inner {
		display: block;
		width: 100%;
		min-height: 0;
		transform: none;
	}

	.program-newsletter__title {
		font-size: 32px;
		line-height: 1.2;
	}

	.program-newsletter__subtitle {
		margin-top: 12px;
		font-size: 18px;
		line-height: 1.5;
	}

	.program-newsletter__form {
		margin-top: 32px;
	}

	.csd-newsletter-form__controls {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.csd-newsletter-form__email,
	.csd-newsletter-form__submit {
		box-sizing: border-box;
		flex: 0 0 54px;
		width: 100%;
		min-height: 54px;
		height: 54px;
		max-height: 54px;
	}

	.csd-newsletter-form__submit {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.csd-newsletter-form__email {
		font-size: 16px;
		line-height: 1.4;
	}

	.program-newsletter__email-icon {
		top: 28px;
		left: auto;
		right: 20px;
		width: 61px;
		height: 61px;
		opacity: 1;
	}

	.program-newsletter__decor {
		top: auto;
		right: auto;
		bottom: 10px;
		left: 26px;
		width: 78px;
		height: 78px;
		opacity: 1;
	}

	.program-newsletter--ridni-serczem .program-newsletter__decor,
	.program-newsletter--pidtrymka-v-diyi .program-newsletter__decor {
		bottom: 12px;
		left: 38px;
		width: 64px;
		height: 64px;
	}

	/* Override the more-specific desktop medical-art rule above. */
	.program-newsletter--medychni-proekty .program-newsletter__decor {
		top: auto;
		right: auto;
		bottom: 10px;
		left: 26px;
		width: 78px;
		height: 78px;
	}

	.program-newsletter--puls-dytynstva {
		padding-bottom: 80px;
	}

	.program-newsletter--puls-dytynstva .program-newsletter__email-icon {
		display: none;
	}

	.program-newsletter--puls-dytynstva .program-newsletter__decor {
		top: 28px;
		right: 20px;
		bottom: auto;
		left: auto;
		width: 83px;
		height: 83px;
	}
}
