/**
 * TEUCRIS Footer Redesign
 * Black/ivory identity with the established TEUCRIS burgundy accent.
 */

body.teucris-footer-redesign-active #footer-widget-area,
body.teucris-footer-redesign-active #colophon {
	display: none !important;
}

body.teucris-footer-redesign-active #footer.footer__wrapper {
	background: #0b0909;
	color: #e9e3d8;
}

.teucris-footer {
	--teucris-footer-bg: #0b0909;
	--teucris-footer-text: #e9e3d8;
	--teucris-footer-muted: #b8afa2;
	--teucris-footer-accent: #600300;
	--teucris-footer-gold: #b39a69;
	--teucris-footer-rule: rgba(179, 154, 105, 0.32);

	width: 100%;
	border-top: 3px solid var(--teucris-footer-accent);
	background:
		radial-gradient(circle at 50% 0, rgba(96, 3, 0, 0.14), transparent 38rem),
		var(--teucris-footer-bg);
	color: var(--teucris-footer-text);
	font-family: "EB Garamond", Georgia, "Times New Roman", serif;
	font-size: 17px;
	line-height: 1.48;
	text-align: left;
}

.teucris-footer,
.teucris-footer * {
	box-sizing: border-box;
}

.teucris-footer__container {
	padding-top: clamp(2.6rem, 5vw, 4.5rem);
	padding-bottom: 0;
}

.teucris-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.teucris-footer__column {
	min-width: 0;
	margin: 0;
	padding: 0 clamp(1.5rem, 3.5vw, 3.25rem);
}

.teucris-footer__column:first-child {
	padding-left: 0;
}

.teucris-footer__column:last-child {
	padding-right: 0;
}

.teucris-footer__column + .teucris-footer__column {
	border-left: 1px solid var(--teucris-footer-rule);
}

.teucris-footer__heading {
	position: relative;
	margin: 0 0 1.35rem;
	padding: 0 0 0.8rem;
	color: #fffaf1;
	font-family: "EB Garamond", Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, 1.7vw, 1.18rem);
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.25;
	text-transform: uppercase;
}

.teucris-footer__heading::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 2.35rem;
	height: 2px;
	background: var(--teucris-footer-accent);
	content: "";
}

.teucris-footer p {
	margin: 0 0 0.28rem;
	color: var(--teucris-footer-muted);
}

.teucris-footer .teucris-footer__name {
	margin-bottom: 0.52rem;
	color: var(--teucris-footer-text);
	font-size: 1.08em;
	font-weight: 600;
}

.teucris-footer .teucris-footer__registry {
	margin-top: 1.05rem;
	font-size: 0.94em;
}

.teucris-footer__registry strong {
	color: var(--teucris-footer-text);
	font-weight: 600;
}

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

.teucris-footer__links li {
	margin: 0 0 0.42rem;
	padding: 0;
}

.teucris-footer a.teucris-footer__link,
.teucris-footer button.teucris-footer__link {
	position: relative;
	display: inline;
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	padding: 0 0 0.08rem;
	background: transparent;
	box-shadow: none;
	color: var(--teucris-footer-muted);
	font: inherit;
	font-size: inherit;
	line-height: inherit;
	text-align: left;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: color 160ms ease, border-color 160ms ease;
}

.teucris-footer a.teucris-footer__link::before,
.teucris-footer button.teucris-footer__link::before {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 180ms ease;
}

.teucris-footer a.teucris-footer__link:hover,
.teucris-footer a.teucris-footer__link:focus,
.teucris-footer button.teucris-footer__link:hover,
.teucris-footer button.teucris-footer__link:focus {
	outline: none;
	color: #fffaf1;
}

.teucris-footer a.teucris-footer__link:hover::before,
.teucris-footer a.teucris-footer__link:focus::before,
.teucris-footer button.teucris-footer__link:hover::before,
.teucris-footer button.teucris-footer__link:focus::before {
	transform: scaleX(1);
	transform-origin: left center;
}

.teucris-footer a.teucris-footer__link:focus-visible,
.teucris-footer button.teucris-footer__link:focus-visible {
	outline: 2px solid var(--teucris-footer-gold);
	outline-offset: 4px;
}

.teucris-footer a.teucris-footer__link--contact,
.teucris-footer a.teucris-footer__domain {
	color: var(--teucris-footer-text);
	font-weight: 600;
}

.teucris-footer__copyright {
	margin-top: clamp(2.6rem, 5vw, 4.25rem);
	border-top: 1px solid var(--teucris-footer-rule);
	padding: 1.35rem 0 1.5rem;
	color: #978e82;
	font-size: 0.84em;
	letter-spacing: 0.035em;
	text-align: center;
}

.teucris-footer__copyright span {
	padding: 0 0.34em;
	color: var(--teucris-footer-gold);
}

@media (max-width: 899px) {
	.teucris-footer {
		font-size: 17px;
		text-align: center;
	}

	.teucris-footer__container {
		padding-top: 2.3rem;
	}

	.teucris-footer__grid {
		grid-template-columns: 1fr;
	}

	.teucris-footer__column,
	.teucris-footer__column:first-child,
	.teucris-footer__column:last-child {
		padding: 0.2rem 0 2.2rem;
	}

	.teucris-footer__column + .teucris-footer__column {
		border-top: 1px solid var(--teucris-footer-rule);
		border-left: 0;
		padding-top: 2.25rem;
	}

	.teucris-footer__heading {
		margin-bottom: 1.15rem;
	}

	.teucris-footer__heading::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.teucris-footer a.teucris-footer__link,
	.teucris-footer button.teucris-footer__link {
		text-align: center;
	}

	.teucris-footer__copyright {
		margin-top: 0.2rem;
	}
}

@media (max-width: 380px) {
	.teucris-footer {
		font-size: 16px;
	}

	.teucris-footer__heading {
		font-size: 0.98rem;
		letter-spacing: 0.09em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.teucris-footer a.teucris-footer__link,
	.teucris-footer button.teucris-footer__link,
	.teucris-footer a.teucris-footer__link::before,
	.teucris-footer button.teucris-footer__link::before {
		transition: none;
	}
}
