/**
 * Vertical hero Donate tab (auto-injected or Elementor "HFH Donate (hero tab)" widget).
 * Fixed to the viewport so it stays visible while the page scrolls.
Add comment
Commenting on line 3
Cancel
Comment
 */

.hfh-hero-donate-tab {
	position: fixed;
	/* Below the vertically centered slider "next" control (arrow ~2.75rem + gap) */
	top: calc(50% + 5.5rem);
	right: 0;
	bottom: auto;
	left: auto;
	transform: translateY(-50%);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.35rem 0.55rem 1.15rem;
	min-width: 3rem;
	background: #C4D600;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 14px 0 0 14px;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: none;
	box-shadow: -3px 3px 8px rgba(0, 0, 0, 0.18);
	transition: background 0.2s ease;
}

.hfh-hero-donate-tab:hover,
.hfh-hero-donate-tab:focus-visible {
	background: #a8b000;
	color: #fff !important;
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 2px;
}

.hfh-hero-donate-tab__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* Label on top, heart below — gap ≈ one letter width */
	gap: 0.5em;
}

.hfh-hero-donate-tab__label {
	display: block;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	transform: rotate(180deg);
	line-height: 1.2;
	white-space: nowrap;
}

/* Upright heart path has tip at bottom; -90° (CCW) points tip to the left (toward page content) */
.hfh-hero-donate-tab__heart {
	flex-shrink: 0;
	color: #fff;
	opacity: 0.98;
	will-change: transform;
	transform-origin: center;
	animation: hfh-donate-tab-heart-breathe 1.8s ease-in-out infinite;
}

.hfh-hero-donate-tab__heart path {
	fill: currentColor;
}

@keyframes hfh-donate-tab-heart-breathe {
	0%,
	100% {
		transform: rotate(-90deg) scale(1);
	}
	50% {
		transform: rotate(-90deg) scale(1.14);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hfh-hero-donate-tab__heart {
		animation: none;
		transform: rotate(-90deg);
	}
}

@media (max-width: 767px) {
	.hfh-hero-donate-tab {
		top: calc(50% + 4.5rem);
		padding: 1rem 0.4rem 0.85rem;
		min-width: 2.5rem;
		font-size: 0.72rem;
		border-radius: 10px 0 0 10px;
	}

	.hfh-hero-donate-tab__inner {
		gap: 0.45rem;
	}

	.hfh-hero-donate-tab__heart {
		width: 15px;
		height: 15px;
	}
}