/* SuperGrail editorial footer */
.sg-site-footer {
	background:
		radial-gradient(circle at 8% 5%, rgb(36 107 254 / 38%), transparent 24rem),
		radial-gradient(circle at 94% 84%, rgb(242 87 33 / 35%), transparent 25rem),
		linear-gradient(138deg, #0e1525 2%, #132243 55%, #101728 100%) !important;
	border-top: 1px solid rgb(255 255 255 / 12%);
	color: var(--wp--preset--color--paper);
	isolation: isolate;
	overflow: clip;
	position: relative;
}

.sg-site-footer::before {
	background-image: linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
	background-size: 3.5rem 3.5rem;
	content: '';
	inset: 0;
	mask-image: linear-gradient(to bottom, black, transparent 88%);
	opacity: 0.32;
	pointer-events: none;
	position: absolute;
	z-index: -1;
}

.sg-site-footer .sg-footer-shell {
	position: relative;
}

.sg-site-footer .sg-footer-main {
	display: grid;
	gap: clamp(1.25rem, 3vw, 3rem);
	grid-template-columns: minmax(17rem, 1.5fr) repeat(2, minmax(9rem, 0.65fr));
}

.sg-footer-brand {
	max-width: 31rem;
}

.sg-site-footer .sg-footer-kicker,
.sg-site-footer .sg-footer-nav__label,
.sg-site-footer .sg-footer-disclosure__label,
.sg-site-footer .sg-footer-standard__number {
	color: #a9c6ff;
	font-size: 0.71rem;
	font-weight: 780;
	letter-spacing: 0.13em;
	margin: 0;
	text-transform: uppercase;
}

.sg-site-footer .sg-footer-title {
	color: var(--wp--preset--color--paper);
	font-size: clamp(1.8rem, 2.9vw, 2.55rem) !important;
	letter-spacing: -0.045em;
	line-height: 1;
	margin: 0.4rem 0 0.55rem;
	max-width: 17ch;
}

.sg-site-footer .sg-footer-copy {
	color: rgb(251 252 255 / 76%);
	font-size: 0.92rem;
	line-height: 1.45;
	margin: 0;
	max-width: 24rem;
}

.sg-site-footer .sg-footer-nav {
	min-width: 0;
	padding-top: 0.3rem;
}

.sg-site-footer .sg-footer-nav__label {
	margin-bottom: 0.7rem;
}

.sg-site-footer .sg-footer-nav__link {
	font-size: 0.88rem;
	line-height: 1.25;
	margin: 0 0 0.52rem;
}

.sg-site-footer a {
	color: rgb(251 252 255 / 91%);
	text-decoration: none;
	text-underline-offset: 0.24em;
}

.sg-site-footer a:hover,
.sg-site-footer a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.sg-site-footer a:focus-visible {
	border-radius: 0.22rem;
	outline: 2px solid var(--sg-orange);
	outline-offset: 0.24rem;
}

.sg-site-footer .sg-footer-disclosure {
	align-items: baseline;
	background: linear-gradient(110deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 4%));
	border: 1px solid rgb(255 255 255 / 14%);
	border-radius: 1rem;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(9rem, 0.55fr) minmax(0, 2fr);
	margin-top: 1.25rem;
	padding: 0.65rem 0.85rem;
}

.sg-site-footer .sg-footer-disclosure p:last-child {
	color: rgb(251 252 255 / 75%);
	font-size: 0.86rem;
	line-height: 1.5;
	margin: 0;
}

.sg-site-footer .sg-footer-bottom {
	border-top: 1px solid rgb(255 255 255 / 13%);
	margin-top: 0.95rem;
	padding-top: 0.8rem;
}

.sg-site-footer .sg-footer-bottom p {
	color: rgb(251 252 255 / 61%);
	font-size: 0.79rem;
	margin: 0;
}

.sg-site-footer .sg-footer-bottom__link a {
	color: rgb(251 252 255 / 86%);
	font-size: 0.82rem;
	font-weight: 700;
}

@media (max-width: 782px) {
	.sg-site-footer .sg-footer-main {
		gap: 2.5rem 1.5rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sg-site-footer .sg-footer-brand {
		grid-column: 1 / -1;
	}

	.sg-site-footer .sg-footer-title {
		max-width: none;
	}
}

@media (max-width: 520px) {
	.sg-site-footer .sg-footer-main,
	.sg-site-footer .sg-footer-disclosure {
		grid-template-columns: 1fr;
	}

	.sg-site-footer .sg-footer-main {
		gap: 2rem;
	}

	.sg-site-footer .sg-footer-disclosure {
		gap: 0.55rem;
	}

	.sg-site-footer .sg-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.7rem;
	}
}
