/**
 * Fixed left stack: same social icon buttons as footer “keep in touch”.
 * Pairs with the right-side vertical Donate tab (hfh-hero-donate-tab).
 */

.hfh-floating-social {
	--hfh-float-social-accent: #6ba3d6;
	position: fixed;
	/* Match vertical centering with the auto-injected Donate tab */
	top: calc(50% + 5.5rem);
	left: 0;
	right: auto;
	bottom: auto;
	transform: translateY(-50%);
	z-index: 9998;
	margin: 0;
	padding: 0.5rem 0.35rem 0.5rem 0.45rem;
	background: rgba(0, 0, 0, 0.35);
	border-radius: 0 14px 14px 0;
	box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(4px);
}

.hfh-floating-social__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.hfh-floating-social__list > li {
	margin: 0;
	flex: 0 0 auto;
}

.hfh-floating-social .hfh-keep-in-touch__social-btn {
	/* Slightly larger hit area on the rail (matches footer square buttons) */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.45rem;
	height: 2.45rem;
	color: #fff;
	text-decoration: none;
	background: var(--hfh-float-social-accent, #6ba3d6);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.hfh-floating-social .hfh-keep-in-touch__social-btn svg {
	display: block;
	width: 1rem;
	height: 1rem;
	fill: currentColor;
}

.hfh-floating-social .hfh-keep-in-touch__social-btn:hover,
.hfh-floating-social .hfh-keep-in-touch__social-btn:focus {
	opacity: 0.92;
	color: #fff;
}

.hfh-floating-social .hfh-keep-in-touch__social-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.hfh-floating-social {
		top: calc(50% + 4.5rem);
		padding: 0.4rem 0.3rem 0.4rem 0.35rem;
		border-radius: 0 10px 10px 0;
	}

	.hfh-floating-social__list {
		gap: 0.4rem;
	}

	.hfh-floating-social .hfh-keep-in-touch__social-btn {
		width: 2.2rem;
		height: 2.2rem;
	}
}

@media print {
	.hfh-floating-social {
		display: none !important;
	}
}
