.hasps-share {
	position: relative;
	margin: 28px 0 8px;
	padding: 20px;
	border: 1px solid #d9e7eb;
	border-radius: 10px;
	background: #f7fbfc;
}

.hasps-share__heading {
	margin: 0 0 12px;
	color: #243b45;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
}

.hasps-share__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 11px 18px;
	border: 0;
	border-radius: 8px;
	background: #38a5c1;
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .15s ease, filter .15s ease;
}

.hasps-share__button:hover {
	filter: brightness(.94);
	transform: translateY(-1px);
}

.hasps-share__button:focus-visible,
.hasps-share__item:focus-visible {
	outline: 3px solid rgba(56, 165, 193, .35);
	outline-offset: 3px;
}

.hasps-share__button svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
	flex: 0 0 auto;
}

.hasps-share__menu {
	z-index: 20;
	position: absolute;
	left: 20px;
	bottom: 74px;
	width: min(240px, calc(100% - 40px));
	padding: 8px;
	border: 1px solid #d7e3e7;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(23, 50, 60, .16);
}

.hasps-share__menu[hidden] {
	display: none;
}

.hasps-share__item {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #243b45;
	font: inherit;
	font-weight: 600;
	line-height: 1.35;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.hasps-share__item:hover {
	background: #eef7f9;
	color: #1c7187;
}

.hasps-share__status {
	min-height: 1.35em;
	margin: 9px 0 0;
	color: #47616b;
	font-size: 13px;
	line-height: 1.35;
}

@media (max-width: 600px) {
	.hasps-share {
		padding: 16px;
	}

	.hasps-share__button {
		width: 100%;
	}

	.hasps-share__menu {
		position: static;
		width: 100%;
		margin-top: 10px;
	}
}

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