/**
 * GP Coupons — EEAT site footer (multi-column).
 */

.gp-site-footer {
	display: block;
	width: 100%;
	clear: both;
	border-top: 1px solid #e5e7eb;
	background: #fff;
	color: var(--text, #4b5563);
	font-size: var(--gpc-text-sm, 0.9375rem);
	line-height: var(--gpc-leading-normal, 1.5);
}

.gp-site-footer__inner {
	max-width: var(--gpc-max, var(--gp-container--max-width, 1200px));
	width: 100%;
	margin: 0 auto;
	padding: clamp(36px, 5vw, 56px) var(--gpc-gutter, 20px) clamp(20px, 3vw, 28px);
	box-sizing: border-box;
}

.gp-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	margin-bottom: clamp(24px, 3vw, 36px);
}

.gp-site-footer__brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: var(--headline, #111827);
	text-decoration: none;
}

.gp-site-footer__brand-link:hover {
	color: var(--headline, #111827);
	text-decoration: none;
}

.gp-site-footer__logo {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #e5e7eb;
}

.gp-site-footer__name {
	font-size: clamp(1.125rem, 2vw, 1.375rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.gp-site-footer__tagline {
	margin: 0 0 18px;
	max-width: 34ch;
	font-size: var(--gpc-text-sm, 0.9375rem);
	line-height: var(--gpc-leading-relaxed, 1.65);
	color: var(--muted, #6b7280);
}

.gp-site-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--muted, #6b7280);
	text-decoration: none;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 50%;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.gp-site-footer__social-link svg {
	display: block;
	flex-shrink: 0;
}

.gp-site-footer__social-link:hover {
	text-decoration: none;
	transform: translateY(-1px);
}

.gp-site-footer__social-link--facebook:hover {
	color: #1877f2;
	background: #eef4fe;
	border-color: #bfdbfe;
}

.gp-site-footer__social-link--x:hover {
	color: #0f1419;
	background: #f3f4f6;
	border-color: #d1d5db;
}

.gp-site-footer__social-link--linkedin:hover {
	color: #0a66c2;
	background: #eef4fb;
	border-color: #bfdbfe;
}

.gp-site-footer__social-link--youtube:hover {
	color: #ff0000;
	background: #fef2f2;
	border-color: #fecaca;
}

.gp-site-footer__social-link--pinterest:hover {
	color: #bd081c;
	background: #fef2f2;
	border-color: #fecaca;
}

.gp-site-footer__social-link--instagram:hover {
	color: #c13584;
	background: #fdf2f8;
	border-color: #fbcfe8;
}

.gp-site-footer__social-link--quora:hover {
	color: #b92b27;
	background: #fef2f2;
	border-color: #fecaca;
}

.gp-site-footer__col-title {
	margin: 0 0 14px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--muted, #6b7280);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.gp-site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-site-footer__links li + li {
	margin-top: 10px;
}

.gp-site-footer__links a {
	display: inline-block;
	color: var(--headline, #374151);
	text-decoration: none;
	font-weight: 500;
	line-height: 1.4;
	transition: color 0.15s ease;
}

.gp-site-footer__links a:hover {
	color: var(--accent, #059669);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.gp-site-footer__copy {
	margin: 0;
	padding-top: 18px;
	border-top: 1px solid #e5e7eb;
	font-size: var(--gpc-text-xs, 0.8125rem);
	line-height: 1.5;
	color: var(--muted, #9ca3af);
	text-align: center;
}

/* Hide GeneratePress default footer bar when the custom EEAT footer is active */
body.gp-has-site-footer .site-footer,
.gp-site-footer + .site-footer {
	display: none !important;
}

@media (max-width: 1024px) {
	.gp-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gp-site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.gp-site-footer__inner {
		padding-top: 28px;
		padding-bottom: 16px;
	}

	.gp-site-footer__grid {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 20px;
	}

	.gp-site-footer__tagline {
		max-width: none;
	}

	.gp-site-footer__copy {
		padding-top: 14px;
		font-size: 0.75rem;
	}
}
