/**
 * Global site footer — Figma node 14:416
 */

.site-footer {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: min(var(--wp--custom--layout--content-size, 1170px), calc(100vw - 40px));
	margin: 0 auto 40px;
	padding: 40px 60px;
	border-radius: 24px;
	background-color: rgba(46, 60, 82, 0.10);
}

.site-footer__socials {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__social-item {
	margin: 0;
	padding: 0;
}

.site-footer__social-link {
	box-sizing: border-box;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 7px;
	border-radius: 50%;
	background-color: #e87f24;
	text-decoration: none;
	transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
	transform: scale(1.08);
	background-color: #ffaa61;
}

.site-footer__social-link:focus-visible {
	outline: 2px solid #e87f24;
	outline-offset: 3px;
}

.site-footer__social-icon {
	display: block;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
}

.site-footer__social-link--telegram .site-footer__social-icon {
	width: 50px;
	height: 50px;
}

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--inter), Inter, sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.45);
	text-align: center;
}

.site-footer__link {
	color: rgba(0, 0, 0, 0.45);
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-footer__links a.site-footer__link:hover,
.site-footer__links a.site-footer__link:focus-visible {
	color: #e87f24;
}

.site-footer__separator {
	color: rgba(0, 0, 0, 0.25);
}

.site-footer__developer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	font-family: var(--wp--preset--font-family--inter), Inter, sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	color: rgba(0, 0, 0, 0.45);
}

.site-footer__developer-label {
	flex-shrink: 0;
}

.site-footer__developer-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: rgba(0, 0, 0, 0.45);
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-footer__developer-link:hover,
.site-footer__developer-link:focus,
.site-footer__developer-link:focus-visible {
	color: #e87f24;
}

.site-footer__developer-link:hover .site-footer__developer-name,
.site-footer__developer-link:focus .site-footer__developer-name,
.site-footer__developer-link:focus-visible .site-footer__developer-name {
	color: #e87f24;
}

.site-footer__developer-link:focus-visible {
	outline: 2px solid #e87f24;
	outline-offset: 3px;
	border-radius: 4px;
}

.site-footer__developer-link svg path {
	transition: fill 0.3s ease, fill-opacity 0.3s ease;
}

.site-footer__developer-link:hover svg path,
.site-footer__developer-link:focus svg path,
.site-footer__developer-link:focus-visible svg path {
	fill: #e87f24;
	fill-opacity: 1;
}

.site-footer__developer-logo {
	display: block;
	flex-shrink: 0;
	width: 30px;
	height: 22px;
}

.site-footer__developer-name {
	white-space: nowrap;
	transition: color 0.3s ease;
}

@media (max-width: 768px) {
	.site-footer {
		gap: 10px;
		padding: 16px 16px;
		margin-bottom: 16px;
	}

	.site-footer__socials {
		flex-wrap: nowrap;
		gap: 8px;
	}

	.site-footer__social-link {
		width: 44px;
		height: 44px;
		padding: 6px;
	}

	.site-footer__social-icon {
		width: 32px;
		height: 32px;
	}

	.site-footer__social-link--telegram .site-footer__social-icon {
		width: 44px;
		height: 44px;
	}

	.site-footer__links {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 5px;
		max-width: 100%;
		font-size: 12px;
		line-height: 1.4;
	}

	.site-footer__developer {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 4px;
		font-size: 12px;
	}

	.site-footer__developer-link {
		gap: 4px;
	}
}
