/**
 * Union Market — Footer styles
 */

.um-site-footer.um-footer-block,
.um-site-footer.um-footer-block * {
	box-sizing: border-box;
}

.um-site-footer.um-footer-block {
	--um-cream: #F8F0CD;
	--um-burgundy-deep: #421109;
	--um-orange: #D8682A;
	--um-navy-darker: var(--um-burgundy-deep);
	--um-terracotta: var(--um-orange);
	--font-heading: "Unbounded", ui-sans-serif, system-ui, sans-serif;
	--font-display: "Josefin Sans", ui-sans-serif, system-ui, sans-serif;

	width: 100%;
	margin: 0;
	padding: 64px 24px 40px;
	background: var(--um-navy-darker);
	color: var(--um-cream);
	font-family: var(--font-display);
	-webkit-font-smoothing: antialiased;
}

.um-site-footer.um-footer-block a {
	text-decoration: none;
	color: inherit;
}

.um-site-footer.um-footer-block .um-footer__inner {
	max-width: 1180px;
	margin: 0 auto;
}

.um-site-footer.um-footer-block .um-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid color-mix(in oklab, var(--um-cream) 16%, transparent);
}

.um-site-footer.um-footer-block .um-footer__brand {
	max-width: 320px;
	flex: 1 1 260px;
}

.um-site-footer.um-footer-block .um-footer__logo-text {
	font-family: var(--font-heading);
	font-weight: 900;
	font-size: 26px;
	letter-spacing: -0.04em;
	color: var(--um-cream);
}

.um-site-footer.um-footer-block .um-footer__logo-dot {
	color: var(--um-terracotta);
}

.um-site-footer.um-footer-block .um-footer__logo-img {
	display: block;
	height: 64px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.um-site-footer.um-footer-block .um-footer__brand-desc {
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: color-mix(in oklab, var(--um-cream) 62%, transparent);
}

.um-site-footer.um-footer-block .um-footer__cols {
	display: flex;
	gap: 40px 64px;
	flex-wrap: wrap;
	flex: 2 1 320px;
}

.um-site-footer.um-footer-block .um-footer__col {
	min-width: 120px;
}

.um-site-footer.um-footer-block .um-footer__col-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	margin-bottom: 16px;
	color: var(--um-terracotta);
}

.um-site-footer.um-footer-block .um-footer__links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: color-mix(in oklab, var(--um-cream) 80%, transparent);
}

.um-site-footer.um-footer-block .um-footer__links li {
	margin: 0;
	padding: 0;
}

.um-site-footer.um-footer-block .um-footer__link {
	display: inline-block;
	width: fit-content;
	color: color-mix(in oklab, var(--um-cream) 80%, transparent);
}

.um-site-footer.um-footer-block .um-footer__underline {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1.5px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size 0.35s ease;
}

.um-site-footer.um-footer-block .um-footer__underline:hover {
	background-size: 100% 1.5px;
}

.um-site-footer.um-footer-block .um-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
	font-size: 12px;
	color: color-mix(in oklab, var(--um-cream) 45%, transparent);
}

@media (min-width: 768px) {
	.um-site-footer.um-footer-block {
		padding: 64px 56px 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.um-site-footer.um-footer-block .um-footer__underline {
		transition: none;
	}
}
