/* Rodapé editorial da Tshirtness.
 * A estrutura e os links continuam sendo administrados pelos widgets do Woodmart.
 */

.wd-footer.footer-container {
	--tsn-footer-ink: #242424;
	--tsn-footer-paper: #ffffff;
	--tsn-footer-accent: #fbbc34;
	--tsn-footer-muted: rgba(255, 255, 255, 0.68);
	--tsn-footer-rule: rgba(255, 255, 255, 0.18);

	overflow: hidden;
	background: var(--tsn-footer-ink);
	color: var(--tsn-footer-paper);
}

.wd-footer .main-footer.container {
	width: 100%;
	max-width: none;
	padding: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 4.5vw, 4.75rem) clamp(2.5rem, 4vw, 4rem);
}

.wd-footer .footer-sidebar {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: clamp(2rem, 4vw, 4.5rem) clamp(1.5rem, 4vw, 4rem) !important;
	align-items: start;
}

.wd-footer .footer-column {
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
}

.wd-footer :is(.footer-column-2, .footer-column-3, .footer-column-4, .footer-column-5) {
	grid-column: auto / span 1 !important;
}

.wd-footer .footer-column-1 {
	grid-column: 1 / -1;
	padding-bottom: clamp(2.5rem, 5vw, 5rem) !important;
	border-bottom: 1px solid var(--tsn-footer-rule);
}

.wd-footer .footer-column-1 .footer-widget,
.wd-footer .footer-column-1 .elementor,
.wd-footer .footer-column-1 .e-con,
.wd-footer .footer-column-1 .e-con-inner {
	width: 100%;
	max-width: none !important;
	margin: 0;
	padding: 0 !important;
}

.wd-footer .footer-column-1 .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: clamp(1.5rem, 3vw, 3rem);
}

.wd-footer .footer-column-1 .elementor-widget-wd_image_or_svg {
	grid-column: 1 / -1;
	width: 100%;
	margin-bottom: clamp(2rem, 4vw, 4rem);
}

.wd-footer .footer-column-1 .wd-image,
.wd-footer .footer-column-1 .wd-image a {
	display: block;
	width: 100%;
}

.wd-footer .footer-column-1 .wd-image img {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: auto;
	filter: brightness(0) invert(1);
}

.wd-footer .footer-column-1 .wd-text-block {
	max-width: 32ch;
	color: var(--tsn-footer-paper);
	font-family: "Nunito", sans-serif;
	font-size: clamp(1.2rem, 2.1vw, 1.8rem);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.wd-footer .footer-column-1 .wd-text-block p {
	margin: 0;
}

.wd-footer .footer-column-1 .elementor-widget-wd_list {
	justify-self: end;
	margin: 0;
}

.wd-footer .footer-column-1 .wd-list {
	margin: 0;
}

.wd-footer .footer-column-1 .wd-list li {
	margin: 0;
}

.wd-footer .footer-column-1 .wd-list a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.75rem 1.1rem;
	border: 1px solid var(--tsn-footer-accent);
	color: var(--tsn-footer-accent);
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.wd-footer .footer-column-1 .wd-list a:hover,
.wd-footer .footer-column-1 .wd-list a:focus-visible {
	background: var(--tsn-footer-accent);
	color: var(--tsn-footer-ink);
}

.wd-footer .footer-column-1 .wd-icon {
	color: currentColor;
}

.wd-footer .footer-widget {
	margin: 0;
	padding: 0;
	border: 0;
}

.wd-footer .widget-title {
	margin: 0 0 1.25rem;
	color: var(--tsn-footer-accent);
	font-family: "Nunito Sans", sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.wd-footer .widget_nav_menu .menu {
	margin: 0;
}

.wd-footer .widget_nav_menu .menu li {
	margin: 0 0 0.65rem;
}

.wd-footer .widget_nav_menu .menu a {
	position: relative;
	display: inline-block;
	padding: 0 0 0.12rem;
	color: var(--tsn-footer-muted);
	font-family: "Nunito", sans-serif;
	font-size: clamp(0.92rem, 1.15vw, 1.05rem);
	line-height: 1.35;
	text-decoration: none;
	transition: color 180ms ease;
}

.wd-footer .widget_nav_menu .menu a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1px;
	background: var(--tsn-footer-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wd-footer .widget_nav_menu .menu a:hover,
.wd-footer .widget_nav_menu .menu a:focus-visible {
	color: var(--tsn-footer-paper);
}

.wd-footer .widget_nav_menu .menu a:hover::after,
.wd-footer .widget_nav_menu .menu a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.wd-footer a:focus-visible {
	outline: 2px solid var(--tsn-footer-accent);
	outline-offset: 5px;
}

.wd-footer .wd-copyrights {
	padding: 1.15rem clamp(1.25rem, 4.5vw, 4.75rem);
	border-top: 1px solid var(--tsn-footer-rule);
	background: var(--tsn-footer-ink);
	color: var(--tsn-footer-muted);
	font-family: "Nunito", sans-serif;
	font-size: 0.78rem;
}

.wd-footer .wd-copyrights .container {
	width: 100%;
	max-width: none;
	padding: 0;
}

.wd-footer .wd-copyrights img {
	max-height: 22px;
	opacity: 0.62;
	filter: grayscale(1) invert(1);
}

@media (max-width: 900px) {
	.wd-footer .footer-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.wd-footer .footer-column-1 .e-con-inner {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.wd-footer .footer-column-1 .elementor-widget-wd_list {
		justify-self: start;
	}
}

@media (max-width: 600px) {
	.wd-footer .main-footer.container {
		padding-inline: 1.25rem;
	}

	.wd-footer .footer-sidebar {
		grid-template-columns: 1fr !important;
		gap: 2.25rem !important;
	}

	.wd-footer .footer-column-1 {
		padding-bottom: 2.5rem !important;
	}

	.wd-footer .footer-column-1 .elementor-widget-wd_image_or_svg {
		margin-bottom: 1.5rem;
	}

	.wd-footer .footer-column-1 .wd-text-block {
		font-size: 1.2rem;
	}

	.wd-footer .wd-copyrights .container {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0.9rem;
	}

	.wd-footer .wd-copyrights .wd-col-end {
		justify-self: start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wd-footer a {
		transition: none !important;
	}
}
