.charity-page {
	color: #000;
}

.charity-banner-contact {
	margin-top: 24px;
	background: #DCEAF8;
	border-radius: 20px;
	padding: 28px 32px;
	text-align: center;
}

.charity-banner-contact__text {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	line-height: 150%;
	color: #000;
}

.charity-banner-contact__email {
	color: #2F80ED;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(47, 128, 237, 0.35);
}

.charity-banner-contact__email:hover {
	color: #1a6ad4;
}

.charity-page .charity-page__banner {
	padding-top: 0;
	padding-bottom: 32px;
}

.charity-page .charity-banner__slide {
	min-height: auto !important;
	padding: 32px 0;
}

.charity-intro {
	padding: 56px 0 64px;
}

.charity-intro__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 48px;
	align-items: center;
}

.charity-intro__gallery {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 16px;
}

.charity-intro__gallery-main,
.charity-intro__gallery-side {
	border-radius: 20px;
	overflow: hidden;
	background: #EAF2FD;
}

.charity-intro__gallery-side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
	background: transparent;
}

.charity-intro__gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.charity-intro__content {
	background: linear-gradient(135deg, #EAF2FD 0%, #F4F9FF 48%, #FFFFFF 100%);
	border: 1px solid #D6E6FA;
	border-radius: 24px;
	padding: 40px 36px;
	box-shadow: 0 12px 32px rgba(47, 128, 237, 0.08);
}

.charity-intro__title {
	margin: 0 0 20px;
	font-size: 32px;
	font-weight: 700;
	line-height: 130%;
	color: #000;
}

.charity-intro__text {
	margin: 0;
	font-size: 18px;
	line-height: 150%;
	color: #1E293B;
}

.charity-projects {
	padding: 0 0 72px;
}

.charity-projects__head {
	max-width: 760px;
	margin: 0 auto 40px;
	text-align: center;
}

.charity-projects__title {
	margin: 0 0 16px;
	font-size: 42px;
	font-weight: 700;
	line-height: 120%;
	color: #000;
}

.charity-projects__lead {
	margin: 0;
	font-size: 18px;
	line-height: 150%;
	color: #334155;
}

.charity-projects__carousel {
	width: 100%;
}

.charity-projects__viewport {
	overflow: hidden;
	width: 100%;
}

.charity-projects__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 32px;
	transition: transform 0.35s ease;
	will-change: transform;
}

.charity-projects__slide {
	display: flex;
	flex: 0 0 calc((100% - 64px) / 3);
	width: calc((100% - 64px) / 3);
	min-width: 0;
	box-sizing: border-box;
}

.charity-project {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #DCEAF8;
	border: none;
	border-radius: 24px;
	padding: 24px 24px 28px;
	box-shadow: none;
	box-sizing: border-box;
	text-align: center;
}

.charity-project__image {
	display: block;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	aspect-ratio: 3 / 4;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.charity-project__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.charity-project__title {
	margin: 20px 0 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 130%;
	color: #000;
}

.charity-projects__controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 36px;
	min-height: 48px;
}

.charity-projects__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	min-width: 48px;
	min-height: 48px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 16px rgba(47, 128, 237, 0.15);
	cursor: pointer;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	line-height: 0;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.charity-projects__arrow::before {
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-top: 2px solid #2F80ED;
	border-right: 2px solid #2F80ED;
	transition: border-color 0.2s ease;
}

.charity-projects__arrow:hover:not(:disabled) {
	background: #2F80ED;
}

.charity-projects__arrow:hover:not(:disabled)::before {
	border-color: #fff;
}

.charity-projects__arrow--prev::before {
	transform: rotate(-135deg);
}

.charity-projects__arrow--next::before {
	transform: rotate(45deg);
}

.charity-projects__arrow:disabled {
	opacity: 0.35;
	cursor: default;
	box-shadow: none;
}

.charity-partner {
	padding: 0 0 80px;
}

.charity-partner__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
	gap: 32px;
	align-items: end;
}

.charity-partner__content {
	padding: 8px 0 24px;
}

.charity-partner__title {
	margin: 0 0 20px;
	font-size: 32px;
	font-weight: 700;
	line-height: 130%;
	color: #000;
}

.charity-partner__text {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 600;
	line-height: 150%;
	color: #000;
}

.charity-partner__name {
	color: #407BFF;
}

.charity-partner__note {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 150%;
	color: #334155;
}

.charity-partner__image {
	border-radius: 20px;
	overflow: hidden;
	background: #F8FAFC;
}

.charity-partner__image img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 1099px) {
	.charity-projects__slide {
		flex-basis: calc((100% - 32px) / 2);
		width: calc((100% - 32px) / 2);
	}
}

@media (max-width: 992px) {
	.charity-intro__panel,
	.charity-partner__panel {
		grid-template-columns: 1fr;
	}

	.charity-intro__content {
		padding: 32px 24px;
	}

	.charity-partner__content {
		padding: 0 0 8px;
	}

	.charity-partner__title {
		font-size: 26px;
	}

	.charity-projects__title {
		font-size: 32px;
	}
}

@media (max-width: 767px) {
	.charity-page .charity-page__banner {
		padding-bottom: 24px;
	}

	.charity-page .charity-banner__slide {
		padding: 20px 0;
	}

	.charity-intro {
		padding: 40px 0 48px;
	}

	.charity-intro__gallery {
		grid-template-columns: 1fr;
	}

	.charity-intro__gallery-side {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto;
	}

	.charity-intro__title {
		font-size: 26px;
	}

	.charity-intro__text,
	.charity-projects__lead,
	.charity-partner__text,
	.charity-partner__note {
		font-size: 16px;
	}

	.charity-banner-contact {
		padding: 22px 16px;
	}

	.charity-banner-contact__text {
		font-size: 18px;
	}

	.charity-projects__slide {
		flex-basis: 100%;
		width: 100%;
	}

	.charity-projects__controls {
		min-height: 42px;
	}

	.charity-projects__arrow {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
		min-width: 42px;
		min-height: 42px;
	}
}
