/**
 * Footer Styles
 *
 * @package CHV_Theme
 */

.chv-footer {
	background: var(--chv-light-blue-bg);
	font-family: var(--chv-font-family);
	padding: var(--chv-spacing-lg) var(--chv-page-padding);
	width: 100%;
	border-top: 1px solid var(--chv-border-light);
	box-sizing: border-box;
}

.chv-footer-container {
	max-width: var(--chv-container-max);
	margin: 0 auto;
}

.chv-footer-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: var(--chv-spacing-lg);
}

.chv-footer-column {
	flex: 1;
}

.chv-footer-column p {
	margin: 0 0 4px 0;
	font-size: var(--chv-font-sm);
	color: var(--chv-text-gray);
}

.chv-footer-label {
	margin: 0 0 4px 0;
	font-size: var(--chv-font-sm);
	font-weight: var(--chv-font-weight-semibold);
	color: var(--chv-text-dark);
}

.chv-footer-column-right {
	text-align: right;
}

.chv-footer-column a {
	color: var(--chv-primary-blue);
	text-decoration: none;
}

.chv-footer-column a:hover,
.chv-footer-column a:focus {
	color: var(--chv-secondary-blue);
	text-decoration: underline;
}

/* Social Icons */
.chv-footer-social {
	display: flex;
	align-items: center;
	gap: var(--chv-spacing-md);
	margin-top: var(--chv-spacing-md);
	justify-content: flex-end;
}

.chv-footer-newsletter-link {
	font-size: var(--chv-font-sm);
	font-weight: var(--chv-font-weight-semibold);
	color: var(--chv-text-gray);
	text-decoration: none;
	transition: var(--chv-transition);
	white-space: nowrap;
}

.chv-footer-newsletter-link:hover,
.chv-footer-newsletter-link:focus {
	color: var(--chv-primary-blue);
	transform: translateY(-2px);
	text-decoration: none;
}

.chv-footer-social-divider {
	width: 1px;
	height: 20px;
	background: var(--chv-text-gray);
	opacity: 0.3;
}

.chv-social-icon {
	color: var(--chv-text-gray);
	transition: var(--chv-transition);
	display: flex;
	align-items: center;
}

.chv-social-icon:hover,
.chv-social-icon:focus {
	color: var(--chv-primary-blue);
	text-decoration: none;
}

.chv-social-icon svg {
	width: 24px;
	height: 24px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
	.chv-footer-content {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: var(--chv-spacing-lg);
	}

	.chv-footer-column {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.chv-footer-column-right {
		text-align: center;
	}

	.chv-footer-social {
		justify-content: center;
		flex-wrap: wrap;
	}
}
