.mediach-footer {
	background: #111827;
	color: #cbd5e1;
	margin-top: 72px;
	padding: 56px 0 24px;
}

.mediach-footer a {
	color: inherit;
}

.mediach-footer .container {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.f-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(226, 232, 240, 0.12);
}

.f-box {
	min-width: 0;
}

.footer-logo-link,
.f-logo {
	display: inline-flex;
	align-items: center;
	margin-bottom: 18px;
}

.footer-logo-link .custom-logo {
	max-height: 62px;
	width: auto;
}

.f-logo {
	color: #fff;
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -0.03em;
}

.f-description,
.footer-widget,
.footer-note,
.f-box > p {
	margin: 0;
	color: #cbd5e1;
	font-size: 14px;
	line-height: 1.8;
}

.f-title,
.footer-widget-title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.f-links,
.footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.f-links li,
.footer-widget li {
	margin: 0;
}

.f-links a,
.footer-widget a {
	color: #cbd5e1;
	font-size: 14px;
	line-height: 1.6;
}

.f-links a:hover,
.footer-widget a:hover {
	color: #fff;
}

.footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.f-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(226, 232, 240, 0.18);
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.08);
	color: #fff;
	font-size: 15px;
}

.f-social:hover {
	background: #ef4444;
	border-color: #ef4444;
	transform: translateY(-2px);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	color: rgba(203, 213, 225, 0.88);
	font-size: 13px;
	line-height: 1.6;
}

.footer-bottom__copy,
.footer-bottom__note {
	min-width: 0;
}

@media (max-width: 991px) {
	.mediach-footer {
		margin-top: 56px;
		padding: 48px 0 22px;
	}

	.f-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.f-box:first-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.mediach-footer {
		padding: 42px 0 20px;
	}

	.f-grid {
		grid-template-columns: 1fr;
		gap: 26px;
		padding-bottom: 26px;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
