.site-footer-custom {
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	font-family: inherit;
	direction: rtl;
	text-align: right;
}

.footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 0;
	padding-bottom: 0;
}

@media (max-width: 768px) {
	.site-footer-custom {
		text-align: center;
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.footer-col {
		align-items: center;
	}

	.footer-social {
		justify-content: center;
	}

	.footer-emails.footer-emails-inline {
		justify-content: center;
	}
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-title {
	margin: 0 0 0.5rem 0;
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links li {
	margin-bottom: 0.4rem;
}

.footer-links a {
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s;
}

.footer-links a:hover {
	opacity: 0.85;
}

.footer-label {
	margin: 0.5rem 0 0.25rem 0;
	font-size: 0.9rem;
	color: #fff;
}

.footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s;
}

.footer-social-link:hover {
	opacity: 0.85;
}

.footer-social-link svg {
	width: 24px;
	height: 24px;
	display: block;
}

.footer-emails {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.footer-emails-inline {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
}

.footer-emails-sep {
	color: #fff;
	user-select: none;
}

.footer-emails a {
	color: #fff;
	text-decoration: none;
	font-size: 0.95rem;
}

.footer-emails a:hover {
	text-decoration: underline;
	opacity: 0.9;
}

.site-footer-custom .footer-copyright {
	padding-top: 1rem;
	margin-top: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	font-size: 0.9rem;
	color: #fff;
	opacity: 0.95;
	text-align: center;
}

.site-footer-custom .footer-copyright .footer-inner {
	padding-top: 0;
	padding-bottom: 0.5rem;
}

.footer-contact .footer-bottom-grid-wrap {
	margin-top: 0.5rem;
}

.footer-bottom-grid-wrap {
	justify-self: start;
}

.footer-bottom-grid {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto;
	gap: 0.35rem;
	width: max-content;
}

.footer-bottom-cell {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	width: 80px;
	height: 80px;
	background: #fff;
	border-radius: 8px;
	box-sizing: border-box;
}

.footer-bottom-cell .footer-logo-item,
.footer-bottom-cell .footer-enamad-code {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	text-decoration: none;
}

.footer-bottom-cell .footer-logo-item img,
.footer-bottom-cell .footer-enamad-code img {
	width: 80px;
	height: 80px;
	object-fit: contain;
	display: block;
}

.footer-bottom-cell .footer-logo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	font-size: 0.65rem;
	color: #666;
	text-align: center;
	padding: 4px;
	box-sizing: border-box;
}

.footer-enamad-code {
	display: inline-block;
}

.footer-enamad-code a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

@media (max-width: 768px) {
	.footer-contact .footer-bottom-grid-wrap {
		justify-self: center;
		margin-left: auto;
		margin-right: auto;
	}
}
