/*
 * Shelter Realty social-sharing buttons.
 *
 * The old Crunchify class names are retained because they already
 * exist in legacy Shelter Realty content and styling.
 */

.crunchify-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 20px 0 25px;
	font-size: 12px;
}

.crunchify-social__label {
	margin-right: 4px;
	color: #333333;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.crunchify-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	margin: 0;
	padding: 4px 9px 6px;
	border: 0;
	border-radius: 2px;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none !important;
	cursor: pointer;

	transition:
		filter 180ms ease,
		transform 180ms ease,
		box-shadow 180ms ease;
}

.crunchify-link:hover,
.crunchify-link:focus,
.crunchify-link:focus-visible {
	color: #ffffff !important;
	text-decoration: none !important;
	filter: brightness(1.1);
	transform: translateY(-1px);
}

.crunchify-link:active {
	transform: translateY(0);
	box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.crunchify-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.crunchify-twitter {
	background-color: #047bbf;
}

.crunchify-facebook {
	background-color: #3b5997;
}

.crunchify-buffer {
	background-color: #444444;
}

.crunchify-linkedin {
	background-color: #0074a1;
}

.crunchify-pinterest {
	background-color: #bd081c;
}

@media (max-width: 520px) {
	.crunchify-social {
		align-items: stretch;
	}

	.crunchify-social__label {
		flex-basis: 100%;
		margin: 0 0 2px;
	}

	.crunchify-link {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.crunchify-link {
		transition: none;
	}

	.crunchify-link:hover,
	.crunchify-link:focus,
	.crunchify-link:focus-visible {
		transform: none;
	}
}