/* TidySetup Global Footer (inc/site-footer.php). Mobile-first: <600 phone, 600-1023 tablet, >=1024 desktop. */

.tidy-footer {
	background: #fff;
	border-top: 1px solid #d9dcdd;
	color: #1a2526;
}

/* Bottom padding keeps the last line clear of Astra's fixed scroll-to-top button (left/bottom 30px, 32px). */
.tidy-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 88px;
}

.tidy-footer__top {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 24px;
}

.tidy-footer__brand {
	grid-column: 1 / -1;
}

.tidy-footer__brand a {
	display: inline-block;
}

.tidy-footer__logo {
	display: block;
	width: 158px;
	height: auto;
}

.tidy-footer__tagline {
	margin: 12px 0 0;
	max-width: 34ch;
	font-size: 15px;
	line-height: 1.5;
}

.tidy-footer .tidy-footer__heading {
	margin: 0 0 4px;
	font-family: 'Manrope', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: #4b5eaa;
}

.tidy-footer__links,
.tidy-footer__legal ul,
.tidy-footer__pay {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tidy-footer__links li,
.tidy-footer__legal li {
	margin: 0;
}

/* 44px rows on touch layouts. */
.tidy-footer__links a,
.tidy-footer__legal a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
	line-height: 1.3;
	color: #1a2526;
	text-decoration: none;
}

.tidy-footer a:hover {
	color: #101585;
	text-decoration: underline;
}

.tidy-footer a:focus-visible {
	outline: 2px solid #101585;
	outline-offset: 2px;
	border-radius: 2px;
}

.tidy-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
	text-align: center;
}

.tidy-footer__copy {
	margin: 0;
	font-size: 14px;
}

.tidy-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 24px;
}

.tidy-footer__legal a {
	font-size: 14px;
}

.tidy-footer__pay {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	order: -1;
	padding-bottom: 8px;
}

.tidy-footer__pay li {
	margin: 0;
	line-height: 0;
}

.tidy-footer__pay img {
	display: block;
	width: 38px;
	height: 24px;
}

@media (min-width: 600px) {
	.tidy-footer__inner {
		padding: 48px 35px 88px;
	}

	.tidy-footer__top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.tidy-footer__inner {
		padding-top: 56px;
	}

	.tidy-footer__top {
		grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
		gap: 40px;
	}

	.tidy-footer__brand {
		grid-column: auto;
	}

	.tidy-footer .tidy-footer__heading {
		margin-bottom: 8px;
	}

	.tidy-footer__links a,
	.tidy-footer__legal a {
		min-height: 32px;
		font-size: 14px;
	}

	.tidy-footer__bottom {
		flex-direction: row;
		gap: 24px;
		text-align: left;
	}

	.tidy-footer__pay {
		order: 0;
		margin-left: auto;
		padding-bottom: 0;
		justify-content: flex-end;
	}
}

/* From here the container's left edge clears the scroll-to-top button. */
@media (min-width: 1340px) {
	.tidy-footer__inner {
		padding-bottom: 40px;
	}
}
