/* ============================================================
   Site Footer — Styles
   Add this to your theme's main stylesheet
   ============================================================ */

.mg-footer {
	width: 100%;
	background: #261D16;
	padding: 80px 16px 40px 16px;
}

.mg-footer-container {
	max-width: 1680px;
	margin: 0 auto;
}

/* Row 1 — Brand + 3 Menu Columns */
.mg-footer-row {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 56px;
}

/* Brand Column */
.mg-footer-brand-col {
	max-width: 380px;
}

.mg-footer-logo-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.mg-footer-logo-img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.mg-footer-brand-text {
	display: flex;
	flex-direction: column;
}

.mg-footer-brand-name {
	font-family: 'Fraunces', serif;
	font-weight: 400;
	font-size: 24px;
	color: #FAF3E3;
	line-height: 1.2;
}

.mg-footer-tagline {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #BC9041;
}

.mg-footer-desc {
	font-family: 'Public Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 22.75px;
	letter-spacing: 0;
	color: rgba(250, 243, 227, 0.7);
	margin: 0 0 20px 0;
}

.mg-footer-languages {
	font-family: 'IBM Plex Mono', monospace;
	font-weight: 400;
	font-size: 10px;
	line-height: 15px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(250, 243, 227, 0.5);
}

/* Menu Columns */
.mg-footer-menu-col {
	display: flex;
	flex-direction: column;
}

.mg-footer-menu-heading {
	font-family: 'IBM Plex Mono', monospace;
	font-weight: 400;
	font-size: 10px;
	line-height: 15px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #BC9041;
	margin-bottom: 20px;
	display: block;
}

.mg-footer-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mg-footer-menu-list li a {
	font-family: 'Public Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0;
	color: rgba(250, 243, 227, 0.8);
	text-decoration: none;
	transition: color 0.2s ease;
}

.mg-footer-menu-list li a:hover {
	color: #FAF3E3;
}

/* Divider */
.mg-footer-divider {
	width: 100%;
	border-top: 1px solid rgba(250, 243, 227, 0.1);
	margin-bottom: 32px;
}

/* Row 2 — Bottom Bar */
.mg-footer-bottom-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.mg-footer-copyright,
.mg-footer-powered-by {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	line-height: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(250, 243, 227, 0.5);
}

.mg-footer-powered-by {
	font-weight: 500;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */

@media (max-width: 1200px) {
	.mg-footer {
		padding: 70px 60px 32px 60px;
	}

	.mg-footer-row {
		grid-template-columns: 1fr 1fr;
		row-gap: 48px;
	}

	.mg-footer-brand-col {
		grid-column: 1 / -1;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.mg-footer {
		padding: 56px 20px 28px 20px;
	}

	.mg-footer-row {
		grid-template-columns: 1fr;
		gap: 36px;
		margin-bottom: 40px;
	}

	.mg-footer-bottom-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.mg-footer-logo-img {
		width: 40px;
		height: 40px;
	}

	.mg-footer-brand-name {
		font-size: 20px;
	}
}
