/**
 * Code-managed global footer.
 *
 * Keep this stylesheet scoped to the child-theme footer so the Elementor
 * widgets used by existing page content remain unaffected.
 */

#site-footer.shiso-site-footer {
	--shiso-footer-ink: #1b1b22;
	--shiso-footer-muted: #686873;
	--shiso-footer-accent: #5b00e8;
	--shiso-footer-border: rgba(27, 27, 34, 0.12);
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: #f8f7fc;
	color: var(--shiso-footer-ink);
	font-size: 14px;
	line-height: 1.7;
}

#site-footer.shiso-site-footer,
#site-footer.shiso-site-footer * {
	box-sizing: border-box;
}

#site-footer.shiso-site-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 160ms ease, text-decoration-color 160ms ease;
}

#site-footer.shiso-site-footer a:hover {
	color: var(--shiso-footer-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

#site-footer.shiso-site-footer a:focus-visible {
	border-radius: 4px;
	outline: 3px solid rgba(91, 0, 232, 0.28);
	outline-offset: 4px;
}

.shiso-site-footer__inner,
.shiso-site-footer__bottom {
	width: min(100% - 64px, 1200px);
	margin-inline: auto;
	text-align: center;
}

.shiso-site-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	padding-block: 68px 56px;
}

.shiso-site-footer__brand-mark {
	min-height: 42px;
}

.shiso-site-footer__brand-mark .custom-logo-link {
	display: inline-flex;
	max-width: 180px;
	vertical-align: top;
}

.shiso-site-footer__brand-mark .custom-logo {
	display: block;
	width: auto;
	max-width: 180px;
	height: auto;
	max-height: 46px;
}

.shiso-site-footer__text-logo {
	display: inline-block;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0.04em;
}


.shiso-site-footer__nav {
	width: min(100%, 920px);
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 32px 28px;
}

.shiso-site-footer__group h2 {
	text-align: center;
	margin: 0 0 18px;
	color: var(--shiso-footer-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.shiso-site-footer__group ul,
.shiso-site-footer__legal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.shiso-site-footer__group li + li {
	margin-top: 10px;
}

.shiso-site-footer__group a {
	color: var(--shiso-footer-muted);
	font-size: 13px;
}

.shiso-site-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding-block: 22px 26px;
	border-top: 1px solid var(--shiso-footer-border);
	color: var(--shiso-footer-muted);
	font-size: 12px;
}

.shiso-site-footer__bottom p {
	margin: 0;
	white-space: nowrap;
}

.shiso-site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: center;
}

.shiso-site-footer__legal a {
	color: var(--shiso-footer-muted);
}

@media (max-width: 960px) {
	.shiso-site-footer__inner {
		gap: 44px;
	}

}

@media (max-width: 640px) {
	.shiso-site-footer__inner,
	.shiso-site-footer__bottom {
		width: min(100% - 40px, 1200px);
	}

	.shiso-site-footer__inner {
		gap: 40px;
		padding-block: 48px 40px;
	}

	.shiso-site-footer__nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 20px;
	}

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

	.shiso-site-footer__bottom p {
		white-space: normal;
	}
}

@media (max-width: 420px) {
	.shiso-site-footer__nav {
		grid-template-columns: 1fr;
	}
}

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