/**
 * Styles specific to the campaign page and its campaign-only pattern variants.
 */

.gc-campaign-hero {
	background-color: var(--gc-mauve);
	padding: 96px 24px;
}

.wp-block-group.gc-campaign-hero__inner {
	align-items: center;
	display: grid;
	gap: clamp(48px, 8vw, 120px);
	grid-template-columns: minmax(0, 1fr) minmax(420px, 564px);
	margin-inline: auto;
	max-width: var(--gc-content);
	width: 100%;
}

.gc-multi-heading {
	max-width: var(--gc-content);
}

.gc-campaign-hero__inner.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
}

.gc-campaign-hero__content .gc-eyebrow .gc-body-text {
	margin-bottom: 16px;
	text-transform: uppercase;
}

#main .post-content h1.gc-campaign-hero__title,
.editor-styles-wrapper .gc-campaign-hero__title {
	font-size: 68px !important;
	font-weight: 900;
	letter-spacing: -2px;
	line-height: 72px !important;
	margin: 0;
	text-transform: uppercase;
}

.gc-campaign-hero__copy {
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	margin: 20px 0 0;
	max-width: 555px;
}

.gc-campaign-hero__content .gc-button-row {
	justify-content: flex-start;
}

.gc-campaign-hero__visual {
	margin: 0;
	position: relative;
}

.gc-campaign-hero__image {
	aspect-ratio: 559 / 540;
	margin: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 559 540' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 105C0 47 49 0 109 0c34 0 66 14 88 34C218 13 250 0 280 0c34 0 62 13 81 34 22-22 52-34 89-34 60 0 109 46 109 105 0 34-13 64-32 86 20 21 32 50 32 79 0 32-12 60-32 80 20 22 32 51 32 85 0 58-49 105-109 105-35 0-66-13-88-35-21 21-50 35-82 35-33 0-62-12-83-35-21 22-52 35-87 35C49 540 0 493 0 435c0-33 12-62 32-84C12 330 0 302 0 270c0-31 12-59 32-80C12 168 0 138 0 105Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 559 540' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 105C0 47 49 0 109 0c34 0 66 14 88 34C218 13 250 0 280 0c34 0 62 13 81 34 22-22 52-34 89-34 60 0 109 46 109 105 0 34-13 64-32 86 20 21 32 50 32 79 0 32-12 60-32 80 20 22 32 51 32 85 0 58-49 105-109 105-35 0-66-13-88-35-21 21-50 35-82 35-33 0-62-12-83-35-21 22-52 35-87 35C49 540 0 493 0 435c0-33 12-62 32-84C12 330 0 302 0 270c0-31 12-59 32-80C12 168 0 138 0 105Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	overflow: hidden;
	width: 100%;
}

.gc-campaign-hero__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gc-campaign-hero__star {
	margin: 0;
	position: absolute;
	right: -4%;
	top: -5%;
	width: 25%;
}

.gc-campaign-hero__count {
	background: var(--gc-white);
	border-radius: var(--gc-radius);
	bottom: -1%;
	left: 2%;
	padding: 12px;
	position: absolute;
	width: 235px;
}

.gc-campaign-hero__count p {
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}

.gc-campaign-hero__count .gc-campaign-hero__count-number {
	color: var(--gc-teal);
	font-size: 40px;
	font-weight: 900;
	line-height: 44px;
}

.gc-campaign-steps {
	background: var(--gc-mauve);
	padding: 96px 0;
	text-align: center;
}

.gc-campaign-steps .gc-section-title {
	margin-bottom: 48px;
}

.wp-block-group.gc-campaign-steps__grid {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gc-campaign-steps__grid .gc-heading-text {
	font-size: var(--gc-body-large-font-size);
	line-height: var(--gc-body-large-line-height);
}

.gc-campaign-step .wp-block-image {
	aspect-ratio: 330 / 210;
	margin: 0 0 16px;
	overflow: hidden;
	width: 100%;
}

.gc-campaign-step img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gc-campaign-step h3 {
	font-size: 24px;
	font-weight: 900;
	line-height: 32px;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.gc-campaign-step p {
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}

.gc-campaign-form .gc-signup__intro h2 {
	color: var(--gc-red);
	font-size: clamp(36px, 3.2vw, 48px);
	line-height: 1.125;
}

.gc-campaign-form .gform_wrapper.gravity-theme {
	margin-bottom: 0;
}

.gc-campaign-form .gform_wrapper.gravity-theme .gform_footer {
	margin-top: 24px;
	padding-block: 0;
}

#campaign-impact-stats {
	background: var(--gc-cream);
	padding: 96px 24px 0;
}

#campaign-impact-stats .gc-pattern__inner {
	max-width: var(--gc-content);
}

#campaign-impact-stats .gc-eyebrow {
	margin-bottom: 16px;
	text-transform: uppercase;
}

#campaign-impact-stats .gc-section-title {
	text-align: center;
}

#campaign-impact-stats .gc-stats__intro-copy {
	color: var(--gc-plum);
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	margin: 20px auto 0;
	max-width: 1060px;
}

#campaign-impact-stats .gc-stats__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 40px auto 32px;
}

#campaign-impact-stats .gc-stat__value {
	align-items: baseline;
	gap: 12px;
}

#campaign-impact-stats .gc-stat__number {
	font-size: 80px;
	line-height: 88px;
}

#campaign-impact-stats .gc-stat__detail {
	color: var(--gc-plum);
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
	margin: 0;
	text-transform: none;
}

#campaign-impact-stats .gc-stat__label {
	color: var(--gc-plum);
	margin-top: 0;
}

#campaign-impact-stats .gc-stats__art {
	max-width: 504px !important;
}

#campaign-impact-stats .gc-stats__cta {
	margin: 32px 0 0;
}

.gc-campaign-resources {
	padding-bottom: 48px;
}

.gc-campaign-resources .gc-stories__heading {
	margin-bottom: 48px;
}

.gc-campaign-resources .gc-section-title {
	margin-bottom: 48px;
}

.wp-block-group.gc-campaign-resources__grid {
	display: grid;
	gap: 40px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gc-campaign-resource-card {
	background: var(--gc-white);
	border-radius: var(--gc-radius);
	box-shadow: 0 12px 16px -4px rgba(88, 27, 66, 0.08), 0 4px 6px -2px rgba(88, 27, 66, 0.03);
	padding: 16px;
}

.gc-campaign-resource-card .gc-campaign-resource-card__label {
	color: var(--gc-orange);
	font-family: "Fraunces", serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.gc-campaign-resource-card__label .gc-body-text {
	font-family: inherit;
	font-weight: inherit;
}

#main .post-content .gc-campaign-resource-card h3,
.editor-styles-wrapper .gc-campaign-resource-card h3 {
	color: var(--gc-plum);
	font-family: "Figtree", sans-serif;
	font-size: 20px;
	font-weight: 900;
	line-height: 28px;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.gc-campaign-resource-card p:last-child {
	color: var(--gc-plum);
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}

.gc-campaign-stories .gc-story-card__country,
.gc-campaign-stories .gc-story-card__country a {
	color: var(--gc-orange);
	font-family: "Fraunces", serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
}

#main .post-content .gc-campaign-stories .gc-story-card h3,
#main .post-content .gc-campaign-stories .gc-story-card .wp-block-post-title,
.editor-styles-wrapper .gc-campaign-stories .gc-story-card h3,
.editor-styles-wrapper .gc-campaign-stories .gc-story-card .wp-block-post-title {
	color: var(--gc-plum) !important;
	font-family: "Figtree", sans-serif;
	font-size: 20px !important;
	font-weight: 900;
	line-height: 28px !important;
}

@media (max-width: 1023px) {
	.wp-block-group.gc-campaign-hero__inner {
		gap: 48px;
		grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
	}

	.gc-campaign-hero__title {
		font-size: 52px;
	}
}

@media (max-width: 767px) {
	.gc-campaign-hero {
		padding: 40px 20px 64px;
	}

	.wp-block-group.gc-campaign-hero__inner {
		gap: 48px;
		grid-template-columns: 1fr;
	}

	#main .post-content h1.gc-campaign-hero__title,
	.editor-styles-wrapper .gc-campaign-hero__title {
		font-size: 40px !important;
		line-height: 44px !important;
		letter-spacing: 0;
	}

	.gc-campaign-hero__copy {
		font-size: 18px;
		line-height: 28px;
		margin-inline: auto;
	}

	.gc-campaign-hero__content .gc-button-row {
		justify-content: center;
	}

	.gc-campaign-hero__content .gc-button-row .wp-block-button {
		width: 100%;
	}

	.gc-campaign-hero__visual {
		margin-inline: auto;
		max-width: 520px;
		width: 100%;
	}

	.gc-campaign-hero__count {
		bottom: -24px;
		left: 12px;
		width: min(235px, calc(100% - 24px));
	}

	.gc-campaign-steps {
		padding: 40px 0;
	}

	.gc-campaign-steps .gc-section-title {
		margin-bottom: 40px;
	}

	.wp-block-group.gc-campaign-steps__grid {
		gap: 40px;
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.gc-campaign-step {
		margin-inline: auto;
		max-width: 420px;
	}

  .gc-pattern__inner .wp-block-button {
		width: 100%;
	}

	#campaign-impact-stats .gc-multi-heading {
		text-align: left !important;
	}

	#campaign-impact-stats {
		padding: 40px 20px 0;
		text-align: left;
	}

	#campaign-impact-stats .gc-section-title {
		text-align: left;
	}

	#campaign-impact-stats .gc-stats__intro-copy {
		font-size: 18px;
		line-height: 28px;
		margin-top: 20px;
	}

	#campaign-impact-stats .gc-stats__grid {
		grid-template-columns: 1fr;
		margin: 40px 0;
	}

	#campaign-impact-stats .gc-stat__value {
		justify-content: flex-start;
	}

	#campaign-impact-stats .gc-stat__number {
		font-size: 40px;
		line-height: 44px;
	}

	#campaign-impact-stats .gc-stat__detail {
		font-size: 14px;
		line-height: 20px;
	}

	#campaign-impact-stats .gc-stats__art {
		display: none;
	}

	#campaign-impact-stats .gc-stats__cta {
		margin: 0;
	}

	#campaign-impact-stats .gc-stats__cta .wp-block-button,
	#campaign-impact-stats .gc-stats__cta .wp-block-button__link {
		width: 100%;
	}

	.gc-campaign-resources {
		padding-bottom: 40px;
	}

	.gc-campaign-resources .gc-stories__heading {
		margin-bottom: 40px;
	}

	.gc-campaign-resources .gc-section-title {
		margin-bottom: 40px;
	}

	.wp-block-group.gc-campaign-resources__grid {
		gap: 16px;
		grid-template-columns: 1fr;
	}

	.gc-campaign-steps__grid .gc-heading-text {
		font-size: var(--gc-body-large-font-size);
		line-height: var(--gc-body-large-line-height);
	}

}

.gc-stat__label {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
