/* Site Footer Component */
.site-footer {
	width: 100%;
	margin: 0;
	border-top: 1px solid rgba(0, 87, 217, .08);
	background: #fff;
	color: var(--potf-text, #172033);
    padding-block-end: 0px !important;
    padding-block-start: 0px !important;
}

.site-footer__inner {
	width: min(100%, 1360px);
	margin-inline: auto;
	padding: 44px clamp(24px, 3vw, 44px) 0;
	box-sizing: border-box;
}

.site-footer__main {
	display: grid;
	grid-template-columns: minmax(360px, 1.35fr) repeat(3, minmax(150px, .75fr));
	gap: clamp(38px, 5vw, 78px);
	padding-bottom: 48px;
	align-items: start;
}

.site-footer__brand {
	display: grid;
	max-width: 420px;
	min-width: 0;
	padding-top: 2px;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 18px 22px;
	align-items: start;
}

.site-footer__logo-link {
	display: inline-block;
	text-decoration: none;
}

.site-footer__logo {
	display: block;
	width: 80px;
	height: 80px;
	background-image: url('../../assets/images/logo.png');
	background-repeat: no-repeat;
	background-position: left top;
	background-size: contain;
}

.site-footer__brand > p {
	max-width: 300px;
	margin: 2px 0 0;
	color: var(--potf-text-soft, #5f6f89);
	font-size: 16px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.site-footer__socials {
	display: flex;
	grid-column: 2;
	gap: 10px;
	margin-top: 0;
}

.site-footer__socials a,
.site-footer__social-placeholder {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #eef5ff;
	color: #0040c1;
	text-decoration: none;
	transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.site-footer__social-placeholder {
	cursor: default;
	opacity: .72;
}

.site-footer__socials a:hover,
.site-footer__social-placeholder:hover {
	background: var(--potf-primary, #0057d9);
	color: #fff;
	transform: translateY(-2px);
}

.site-footer__social--facebook {
	color: #0077b6;
}

.site-footer__social--facebook svg,
.site-footer__social--facebook svg path {
	fill: none;
	stroke: currentColor;
}

.site-footer__socials svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-footer__column h2 {
	margin: 8px 0 20px;
	color: var(--potf-primary, #0057d9);
	font-family: var(--potf-font-heading, 'Inter'), sans-serif;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .05em;
	line-height: 1.2;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.site-footer__column ul {
	display: flex;
	margin: 0;
	padding: 0;
	flex-direction: column;
	gap: 13px;
	list-style: none;
}

.site-footer__column a {
	display: inline-block;
	color: var(--potf-text-soft, #5f6f89);
	font-size: 16px;
	line-height: 1.6;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color 200ms ease, transform 200ms ease;
}

.site-footer__column a:hover {
	color: var(--potf-primary, #0057d9);
	transform: translateX(3px);
}

.site-footer__bottom {
	max-width: 100%;
	display: flex;
	min-height: 74px;
	padding: 22px 24px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-top: 1px solid rgba(0, 87, 217, .1);
	box-sizing: border-box;
	text-align: center;
}

.site-footer__bottom p {
	margin: 0;
	color: var(--potf-text-soft, #5f6f89);
	font-size: 15px;
	line-height: 1.6;
	width: 100%;
	overflow-wrap: anywhere;
}

.site-footer a:focus-visible {
	outline: 2px solid var(--potf-primary, #0057d9);
	outline-offset: 3px;
}

.back-to-top {
	position: fixed;
	left: var(--usaa-back-to-top-left, auto);
	right: var(--usaa-back-to-top-right, 92px);
	bottom: var(--usaa-back-to-top-bottom, 24px);
	z-index: 1200;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(0, 87, 217, .16);
	border-radius: 50%;
	background: #ffffff;
	color: var(--potf-primary, #0057d9);
	font-size: 0;
	cursor: pointer;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
	opacity: 0;
	transform: translateY(10px);
	visibility: hidden;
	transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.back-to-top svg {
	display: block;
	width: 22px;
	height: 22px;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top.is-chat-open {
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	visibility: hidden;
}

.back-to-top:hover,
.back-to-top:focus-visible {
	background: var(--potf-primary, #0057d9);
	color: #ffffff;
	border-color: transparent;
}

.page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
    max-width: 100% !important;
}
@media (max-width: 1200px) {
	.site-footer__main {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 40px 28px;
	}

	.site-footer__brand {
		display: flex;
		max-width: 620px;
		margin-inline: auto;
		align-items: center;
		flex-direction: column;
		grid-column: 1 / -1;
		text-align: center;
	}

	.site-footer__brand > p { max-width: 520px; }

	.site-footer__logo {
		background-position: center top;
	}

	.site-footer__socials {
		grid-column: auto;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.site-footer__inner {
		padding: 40px 20px 0;
	}

	.site-footer__main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 24px;
		padding-bottom: 40px;
	}

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

	.site-footer__bottom {
		padding: 24px 20px;
		align-items: center;
		flex-direction: column;
		gap: 10px;
	}

	.back-to-top {
		--usaa-back-to-top-right: auto;
		--usaa-back-to-top-left: 16px;
		--usaa-back-to-top-bottom: 16px;
		width: 44px;
		height: 44px;
	}
}

@media (max-width: 520px) {
	.site-footer__main {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.site-footer__column {
		text-align: center;
	}

	.site-footer__column ul {
		align-items: center;
	}
}

@media (max-width: 380px) {
	.site-footer__inner {
		padding: 32px 14px 0;
	}

	.site-footer__main {
		gap: 28px 16px;
		padding-bottom: 32px;
	}

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

	.site-footer__logo {
		width: 80px;
		height: 80px;
	}

	.site-footer__column h2 {
		font-size: 13px;
		margin-bottom: 14px;
	}

	.site-footer__column a {
		font-size: 15px;
	}

	.site-footer__column ul {
		gap: 10px;
	}
}

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

@media print {
	.site-footer__socials { display: none; }
}
