/* === Подвал: на всю ширину === */
.site-footer {
	background-color: #0F0F0F;
	color: #fff;
	width: 100%;
	padding: 40px 0 20px;
}
/* === Центрированный контейнер для контента === */
.footer-widgets, .site-info {
    max-width: 1280px;
	width: 100%;
	margin: 0 auto;
	padding: 20px 16px;
	box-sizing: border-box;
}

/* Основной контейнер виджетов */
@media (min-width: 640px) {
	.footer-widgets {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 20px;
		flex-wrap: nowrap;
        font-size: 1em;
        line-height: 1.4;
        text-align: left;
        flex-wrap: wrap; /* Разрешаем перенос элементов на новую строку */
	}

/* Пропорции колонок */
	.footer-widget-1 { flex: 1 1 0; max-width: 35%; }
	.footer-widget-2 { flex: 1 1 0; max-width: 25%; }
	.footer-widget-3 { flex: 1 1 0; max-width: 15%; }
	.footer-widget-4 { flex: 1 1 0; max-width: 20%; }

/* Сжатие колонок ниже размера контента */
	.footer-widget {
		min-width: 0;
	}
}

/* Контент виджетов */
.footer-content {
	margin: 0;
}

.footer-content address {
	font-style: normal;
}

/* Соцсети */
.footer-social-links {
	display: flex;
	flex-direction: row;
    flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
}

.footer-social-links li {
	margin: 0;
    min-width: 0;
}

.footer-social-links a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	color: inherit;
	text-decoration: none;
	font-size: 14px;
}

.footer-social-links svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}


.site-info-content {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

.site-info-content a,
.site-info-content span {
	color: #ccc;
	text-decoration: none;
	white-space: nowrap;
}

.disclaimer-bar {
	color: #aaa;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
	width: 100%;
}

/* Планшет устройства */
@media (min-width: 640px) and (max-width: 920px) {
	.footer-widgets {
		gap: 20px; /* Отступы между строками и колонками */
		justify-content: flex-start; /* Выравнивание по левому краю для ровной сетки */
	}

	/* Все 4 виджета занимают ровно половину контейнера */
	.footer-widget-1,
	.footer-widget-2,
	.footer-widget-3,
	.footer-widget-4 {
		flex: 1 1 calc(50% - 10px);
		max-width: calc(50% - 10px);
		box-sizing: border-box;
	}
}


/* Мобильные устройства */
@media (max-width: 640px) {
	.footer-widgets {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.footer-widget {
		width: 100%;
		max-width: 100%;
		text-align: left;
	}

	.site-info {
		padding: 16px;
	}

	.copyright-bar {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.disclaimer-bar {
		font-size: 0.85em;
		line-height: 1.4;
		margin: 0;
	}
}