/**
 * “Take Action Now” footer column (HFH).
 */

.site-footer-section .hfh-act-now {
	box-sizing: border-box;
	max-width: 100%;
	padding: 0.15rem 1rem 1.5rem 0.5rem;
	margin: -0.45rem 0 0;
	text-align: left;
}

.hfh-act-now__title {
	margin: 0 0 0.35rem;
	padding: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: #fff;
}

.hfh-act-now__rule {
	width: 2.75rem;
	height: 4px;
	margin: 0 0 1.25rem;
	background: #fff;
	border-radius: 1px;
}

.hfh-act-now__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.hfh-act-now__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	max-width: 16.5rem;
	padding: 0.7rem 1.1rem;
	border-radius: 12px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: lowercase;
	text-decoration: none !important;
	color: #fff !important;
	line-height: 1.25;
	box-shadow: 0 4px 12px rgba(17, 34, 48, 0.12);
	transition:
		background-color 0.22s ease,
		transform 0.15s ease,
		filter 0.15s ease,
		box-shadow 0.15s ease;
}

.hfh-act-now__btn:hover,
.hfh-act-now__btn:focus-visible {
	filter: brightness(0.97);
	box-shadow: 0 6px 16px rgba(17, 34, 48, 0.16);
	transform: translateY(-1px);
	color: #fff !important;
}

.hfh-act-now__btn--donate:hover,
.hfh-act-now__btn--donate:focus-visible {
	background: #002f6c !important;
	filter: none;
}

.hfh-act-now__btn--volunteer:hover,
.hfh-act-now__btn--volunteer:focus-visible {
	background: #0099cc !important;
	filter: none;
}

/* Menu order fallback when items lack hfh-act-now-donate / hfh-act-now-volunteer classes */
.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(1) > .hfh-act-now__btn:not(.hfh-act-now__btn--volunteer):hover,
.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(1) > .hfh-act-now__btn:not(.hfh-act-now__btn--volunteer):focus-visible {
	background: #002f6c !important;
	filter: none;
}

.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate):hover,
.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate):focus-visible {
	background: #0099cc !important;
	filter: none;
}

.hfh-act-now__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.hfh-act-now__btn--donate {
	background: #9bc53d;
}

.hfh-act-now__btn--volunteer {
	background: #c45c3e;
}

.hfh-act-now__btn-icon {
	flex-shrink: 0;
	width: 1.15rem;
	height: 1.15rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hfh-act-now__btn-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.hfh-act-now__btn--volunteer .hfh-act-now__btn-icon svg,
.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate) .hfh-act-now__btn-icon svg {
	transform-origin: center;
	transition: transform 0.55s ease;
}

.hfh-act-now__btn--volunteer:hover .hfh-act-now__btn-icon svg,
.hfh-act-now__btn--volunteer:focus-visible .hfh-act-now__btn-icon svg,
.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate):hover .hfh-act-now__btn-icon svg,
.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate):focus-visible .hfh-act-now__btn-icon svg {
	transform: rotate(360deg);
}

@media (prefers-reduced-motion: reduce) {
	.hfh-act-now__btn--volunteer .hfh-act-now__btn-icon svg,
	.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate) .hfh-act-now__btn-icon svg {
		transition: none;
	}

	.hfh-act-now__btn--volunteer:hover .hfh-act-now__btn-icon svg,
	.hfh-act-now__btn--volunteer:focus-visible .hfh-act-now__btn-icon svg,
	.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate):hover .hfh-act-now__btn-icon svg,
	.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate):focus-visible .hfh-act-now__btn-icon svg {
		transform: none;
	}
}

/* Menu-driven Take Action (Appearance → Menus). */
.hfh-act-now__nav {
	display: block;
}

.hfh-act-now__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.hfh-act-now__menu-item {
	margin: 0;
}

/* nth-child fallbacks when menu items lack CSS classes */
.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(1) > .hfh-act-now__btn:not(.hfh-act-now__btn--volunteer) {
	background: #9bc53d;
}

.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(2) > .hfh-act-now__btn:not(.hfh-act-now__btn--donate) {
	background: #c45c3e;
}

.hfh-act-now__menu > .hfh-act-now__menu-item:nth-child(n + 3) > .hfh-act-now__btn {
	background: #6ba3d6;
}

.hfh-act-now__widgets .widget {
	margin-bottom: 0.85rem;
}

.hfh-act-now__widgets .widget:last-child {
	margin-bottom: 0;
}

@media (max-width: 921px) {
	.site-footer-section .hfh-act-now {
		padding: 0.15rem 0 1.25rem;
		margin-top: 0;
		max-width: 100%;
	}

	.hfh-act-now__title {
		font-size: 1.25rem;
	}

	.hfh-act-now__btn,
	.hfh-act-now__menu > .hfh-act-now__menu-item > .hfh-act-now__btn {
		width: 100%;
		max-width: none;
		min-height: 2.75rem;
		padding: 0.75rem 1rem;
	}
}

@media (max-width: 544px) {
	.site-footer-section .hfh-act-now {
		padding-bottom: 1rem;
	}

	.hfh-act-now__title {
		font-size: 1.15rem;
	}

	.hfh-act-now__rule {
		margin-bottom: 1rem;
	}

	.hfh-act-now__buttons,
	.hfh-act-now__menu {
		gap: 0.65rem;
	}
}
