.get-charity-modal {
	.modal__content__body {
		display: flex;
		flex-direction: column;
	}

	.modal__content__body__title {
		color: var(--color-raspberry);
		text-align: center;
	}

	.modal__content__body__img {
		width: 200px;
		margin: auto;
		border-radius: 8px;
	}

	h3 {
		color: var(--color-raspberry);
		margin-top: 8px;
	}

	p,
	li {
		font-family: var(--body-regular-l-ff);
		font-size: var(--body-regular-l-fs);
		font-weight: var(--body-regular-l-fw);
		line-height: var(--body-regular-l-lh);
		text-rendering: var(--body-regular-l-tr);
		letter-spacing: var(--body-regular-l-ls);
	}
}

.charity-details-modal.modal-full {
	.modal__content {
		gap: 0;
		background: var(--color-white);
	}

	.modal__content>* {
		padding-left: 0;
		padding-right: 0;
	}

	.modal__content__header.charity-details-modal__hero {
		position: relative;
		display: block;
		min-height: 240px;
		height: clamp(240px, 34vw, 360px);
		max-height: 42vh;
		padding: 0;
		overflow: hidden;
		isolation: isolate;
		background: #1f2937;
	}

	.modal__content__header.charity-details-modal__hero::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(180deg, rgba(12, 16, 24, 0.10) 0%, rgba(12, 16, 24, 0.08) 34%, rgba(12, 16, 24, 0.32) 62%, rgba(12, 16, 24, 0.78) 100%);
		pointer-events: none;
	}

	.charity-details-modal__hero-image {
		position: absolute;
		inset: 0;
		z-index: 0;
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.charity-details-modal__hero-video,
	.charity-details-modal__hero-video-frame {
		position: absolute;
		inset: 0;
		z-index: 0;
		display: block;
		width: 100%;
		height: 100%;
	}

	.charity-details-modal__hero-video-frame {
		border: 0;
	}

	.charity-details-modal__hero-caption {
		position: absolute;
		inset: auto 16px 16px 16px;
		z-index: 2;
		padding: 0;
		pointer-events: none;
	}

	.charity-details-modal__hero-title {
		display: inline-block;
		margin: 0;
		max-width: min(22ch, calc(100% - 56px));
		padding: 12px 16px;
		border-radius: 18px;
		text-align: left;
		line-height: 1.08;
		letter-spacing: -0.02em;
		text-wrap: balance;
		background: rgba(20, 24, 31, 0.30);
		border: 1px solid rgba(255, 255, 255, 0.18);
		box-shadow:
			0 10px 30px rgba(0, 0, 0, 0.22),
			inset 0 1px 0 rgba(255, 255, 255, 0.14);
		backdrop-filter: blur(4px) saturate(150%);
		-webkit-backdrop-filter: blur(4px) saturate(150%);
	}

	.charity-details-modal__hero-title::before {
		content: '';
		display: block;
		width: 40px;
		height: 3px;
		margin-bottom: 10px;
		border-radius: 999px;
		background: var(--color-raspberry);
		box-shadow: 0 0 18px rgba(254, 35, 74, 0.35);
	}

	.charity-details-modal__hero-title--light {
		color: var(--color-white);
		text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
	}

	.modal__content__header.charity-details-modal__hero .modal__content__header__close {
		position: absolute;
		top: 16px;
		right: 16px;
		z-index: 3;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 44px;
		height: 44px;
		background: rgba(12, 16, 24, 0.42);
		backdrop-filter: blur(6px);
		border-radius: 999px;
	}

	.modal__content__header.charity-details-modal__hero .modal__content__header__close:focus-visible {
		outline: 2px solid var(--color-white);
		outline-offset: 2px;
	}

	.modal__content__header.charity-details-modal__hero .modal__content__header__close-button {
		position: relative;
		width: 24px;
		height: 24px;
		transform: none;
	}

	.modal__content__header.charity-details-modal__hero .modal__content__header__close-button:before,
	.modal__content__header.charity-details-modal__hero .modal__content__header__close-button:after {
		--close-color: var(--color-white);
	}

	@supports not ((backdrop-filter: blur(1px))) {
		.charity-details-modal__hero-title {
			background: rgba(20, 24, 31, 0.78);
		}

		.modal__content__header.charity-details-modal__hero .modal__content__header__close {
			background: rgba(12, 16, 24, 0.72);
		}
	}

	.charity-details-modal__body {
		display: flex;
		flex-direction: column;
		padding: 24px;
		padding-bottom: 32px;
	}

	.charity-details-modal__body>*:first-child {
		margin-top: 0;
	}

	.modal__content__body__description {
		> :first-child {
			margin-top: 0;
		}

		h2,
		h3 {
			color: var(--color-raspberry);
			margin: 20px 0 0.5em;
		}

		h2:first-child,
		h3:first-child {
			margin-top: 0;
		}
	}

	h3 {
		color: var(--color-raspberry);
		margin-top: 8px;
	}

	p,
	li {
		font-family: var(--body-regular-l-ff);
		font-size: var(--body-regular-l-fs);
		font-weight: var(--body-regular-l-fw);
		line-height: var(--body-regular-l-lh);
		text-rendering: var(--body-regular-l-tr);
		letter-spacing: var(--body-regular-l-ls);
	}

	@media screen and (min-width: 720px) {
		.charity-details-modal__hero-caption {
			inset: auto 24px 24px 24px;
		}

		.charity-details-modal__hero-title {
			padding: 16px 20px;
			border-radius: 22px;
		}

		.charity-details-modal__body {
			padding: 24px 32px 36px;
		}
	}
}
