/* The thank-you page's message ([carpathia_donation_thanks]). */
.cdon-thanks {
	margin-top: 28px;
}

/* The photo hero (tools/thank-you-pages-hero.php) right under the header,
   as on the news archives: no theme padding above the page content. */
.cdon-thanks-page .page_content_wrap {
	padding-top: 0;
}
.cdon-thanks [hidden] {
	display: none !important;
}
.cdon-thanks .cdon-thanks__lead {
	margin: 0 0 12px;
	font-family: var(--theme-font-h3_font-family, Montserrat, sans-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
	color: #1F764D;
}
.cdon-thanks__wait:after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 12px;
	vertical-align: -2px;
	border: 2px solid #8CC63F;
	border-right-color: transparent;
	border-radius: 50%;
	animation: cdon-spin .8s linear infinite;
}
@keyframes cdon-spin {
	to { transform: rotate(360deg); }
}
.cdon-thanks .cdon-thanks__retry,
.cdon-thanks .cdon-thanks__button {
	display: inline-block;
	margin-top: 8px;
	padding: 14px 40px;
	border: 2px solid #8CC63F;
	background: #8CC63F;
	color: #FFFFFF;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.cdon-thanks .cdon-thanks__retry:hover,
.cdon-thanks .cdon-thanks__retry:focus-visible,
.cdon-thanks .cdon-thanks__button:hover,
.cdon-thanks .cdon-thanks__button:focus-visible {
	border-color: #1F764D;
	background: #1F764D;
	color: #FFFFFF;
}
.cdon-thanks .cdon-thanks__button--secondary {
	border-color: #1F764D;
	background: transparent;
	color: #1F764D;
}

/* "See what we do" and "Back to the home page", side by side; stacked full width on a phone. */
.cdon-thanks .cdon-thanks__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin: 28px 0 0;
}
@media (max-width: 600px) {
	.cdon-thanks .cdon-thanks__button {
		flex: 1 1 100%;
	}
}
