/**
 * 全站可见页脚（templates/part-site-footer.php）
 * 独立 CSS，不用 Tailwind 工具类，避免被晚到的全局 .flex / .hidden 打穿。
 *
 * 字号 text-footnote 13px；文字色 ink-tertiary / 链接 ink-secondary。
 */

.mytheme-site-footer {
	flex-shrink: 0;
	width: 100%;
	margin-top: auto;
	padding: 20px 24px 24px;
	border-top: 1px solid #f3f4f6;
	background: #fff;
	box-sizing: border-box;
}

/*
 * 桌面：顶线对齐侧栏 dock。
 * 线到视口底 = aside.pb-5(20) + dock 上内边(10) + 头像行(40) + 线(1)。
 * 原先页脚略矮，底线比侧栏信息顶线低一丢丢。
 */
@media (min-width: 768px) {
	.mytheme-site-footer {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 71px;
		padding: 10px 24px 20px;
	}
}

.mytheme-site-footer__inner {
	width: var(--mytheme-content-max, 1350px);
	max-width: 100%;
	margin: 0 auto;
	text-align: center;
}

.mytheme-site-footer__line,
.mytheme-site-footer__extra {
	margin: 0;
	font-size: 13px; /* text-footnote */
	line-height: 1.45;
	font-weight: 330;
	color: #999999; /* text-ink-tertiary */
}

.mytheme-site-footer__line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: 8px;
	row-gap: 4px;
}

.mytheme-site-footer__extra {
	margin-top: 6px;
}

.mytheme-site-footer__sep {
	color: #cccccc; /* text-ink-disabled */
	user-select: none;
}

.mytheme-site-footer__text {
	color: #999999;
}

.mytheme-site-footer__link {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	color: #666666; /* text-ink-secondary */
	text-decoration: none;
}

.mytheme-site-footer__link:hover {
	color: #222222; /* text-ink */
}

.mytheme-site-footer__link:focus-visible {
	outline: 2px solid #222222;
	outline-offset: 2px;
	border-radius: 2px;
}

@media (max-width: 767px) {
	.mytheme-site-footer {
		padding: 16px 16px 20px;
	}

	.mytheme-site-footer__link {
		min-height: 44px;
	}
}

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