/* Neona Share & Social — frontend */

.nss-share-buttons,
.nss-share-buttons *,
.nss-social-links,
.nss-social-links *,
.nss-topbar,
.nss-topbar * {
	box-sizing: border-box;
}

.nss-share-buttons {
	--nss-button-height: 40px;
	--nss-icon-size: 19px;
	--nss-button-gap: 8px;
	clear: both;
	width: 100%;
	margin: 1.25rem 0;
	font: inherit;
}

.nss-share-buttons__title {
	margin: 0 0 0.65rem;
	color: inherit;
	font-size: 0.95em;
	font-weight: 700;
	line-height: 1.35;
}

.nss-share-buttons__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--nss-button-gap);
}

.nss-align-center .nss-share-buttons__list {
	justify-content: center;
}

.nss-align-right .nss-share-buttons__list {
	justify-content: flex-end;
}

.nss-share-button,
.nss-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.48em;
	min-height: var(--nss-button-height);
	margin: 0;
	padding: 0 0.9em;
	border: 0;
	border-radius: 8px;
	background: var(--nss-brand-color);
	box-shadow: none;
	color: #fff !important;
	font: inherit;
	font-size: 0.88em;
	font-weight: 650;
	line-height: 1;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
	-webkit-appearance: none;
	appearance: none;
}

.nss-share-button:hover,
.nss-share-button:focus-visible,
.nss-social-link:hover,
.nss-social-link:focus-visible {
	color: #fff !important;
	filter: brightness(0.9) saturate(1.08);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgb(0 0 0 / 16%);
	text-decoration: none !important;
}

.nss-share-button:focus-visible,
.nss-social-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.nss-colors-custom .nss-share-button,
.nss-colors-custom .nss-social-link {
	background: var(--nss-custom-color);
}

.nss-icon {
	display: block;
	flex: 0 0 auto;
	width: var(--nss-icon-size);
	height: var(--nss-icon-size);
	fill: currentColor;
}

.nss-display-icons .nss-share-button,
.nss-display-icons .nss-social-link {
	width: var(--nss-button-height);
	padding: 0;
}

.nss-display-icons .nss-button-label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.nss-size-small {
	--nss-button-height: 34px;
	--nss-icon-size: 16px;
	--nss-button-gap: 6px;
}

.nss-size-medium {
	--nss-button-height: 40px;
	--nss-icon-size: 19px;
	--nss-button-gap: 8px;
}

.nss-size-large {
	--nss-button-height: 48px;
	--nss-icon-size: 23px;
	--nss-button-gap: 10px;
}

.nss-copy-status {
	display: block;
	min-height: 1.2em;
	margin-top: 0.38rem;
	color: inherit;
	font-size: 0.78em;
	line-height: 1.2;
	opacity: 0.75;
}

/* Social profile links */

.nss-social-links {
	--nss-button-height: 40px;
	--nss-icon-size: 19px;
	--nss-button-gap: 8px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7em;
	width: 100%;
}

.nss-social-links__title {
	flex: 0 0 auto;
	font-weight: 650;
	line-height: 1.3;
}

.nss-social-links__list {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--nss-button-gap);
}

.nss-social-links.nss-align-center {
	justify-content: center;
}

.nss-social-links.nss-align-right {
	justify-content: flex-end;
}

.nss-social-links--topbar {
	flex: 0 0 auto;
	width: auto;
	margin-left: auto;
}

/* Top-of-site panel */

.nss-topbar {
	position: relative;
	z-index: 2;
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--nss-topbar-bg);
	color: var(--nss-topbar-text);
	font: inherit;
}

.nss-topbar__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	width: min(calc(100% - 32px), var(--nss-topbar-width));
	margin: 0 auto;
}

.nss-topbar--full .nss-topbar__inner {
	width: 100%;
	max-width: none;
	padding-inline: 16px;
}

.nss-topbar--compact .nss-topbar__inner {
	min-height: 42px;
	padding-block: 5px;
}

.nss-topbar--normal .nss-topbar__inner {
	min-height: 50px;
	padding-block: 7px;
}

.nss-topbar--large .nss-topbar__inner {
	min-height: 60px;
	padding-block: 9px;
}

.nss-topbar .nss-social-link {
	box-shadow: none;
}

.nss-topbar .nss-social-links {
	color: var(--nss-topbar-text);
}

.nss-ticker {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: inherit;
	line-height: 1.35;
	white-space: nowrap;
}

.nss-ticker__text {
	display: inline-block;
	min-width: 100%;
	padding-left: 100%;
	color: inherit !important;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
	animation: nss-ticker-scroll var(--nss-ticker-duration) linear infinite;
	will-change: transform;
}

.nss-ticker:hover .nss-ticker__text,
.nss-ticker:focus-within .nss-ticker__text {
	animation-play-state: paused;
}

.nss-ticker--static .nss-ticker__text {
	padding-left: 0;
	animation: none;
	will-change: auto;
}

.nss-topbar--social-only .nss-topbar__inner {
	justify-content: flex-end;
}

.nss-topbar--ticker-only .nss-ticker {
	width: 100%;
}

@keyframes nss-ticker-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

@media (max-width: 520px) {
	.nss-topbar__inner {
		flex-wrap: wrap;
		gap: 7px;
		width: min(calc(100% - 20px), var(--nss-topbar-width));
		padding-block: 7px;
	}

	.nss-topbar--full .nss-topbar__inner {
		width: 100%;
		padding-inline: 10px;
	}

	.nss-topbar:not(.nss-topbar--social-only, .nss-topbar--ticker-only) .nss-ticker {
		flex-basis: 100%;
	}

	.nss-topbar:not(.nss-topbar--social-only, .nss-topbar--ticker-only) .nss-social-links--topbar {
		justify-content: center;
		width: 100%;
		margin-left: 0;
	}

	.nss-share-buttons {
		--nss-button-gap: 6px;
	}
}

@media (max-width: 782px) {
	.nss-topbar--hide-mobile {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nss-share-button,
	.nss-social-link {
		transition: none;
	}

	.nss-ticker__text {
		padding-left: 0;
		animation: none;
		will-change: auto;
	}
}
