/*
Theme Name: SSYH Light
Theme URI: https://www.test35.pw/
Author: 杭州搜索一号营销策划有限公司
Description: A small, dependency-free WordPress theme for Custom HTML pages.
Version: 0.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: ssyh-light
*/

:root {
	--ssyh-ink: #14212b;
	--ssyh-muted: #65717b;
	--ssyh-line: #dce3e7;
	--ssyh-paper: #ffffff;
	--ssyh-soft: #f3f6f7;
	--ssyh-accent: #ef6b3b;
	--ssyh-focus: #0b6e99;
	--ssyh-content: 1180px;
	--ssyh-gutter: clamp(1rem, 3vw, 2.5rem);
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body {
	margin: 0;
	background: var(--ssyh-paper);
	color: var(--ssyh-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}
img { display: block; height: auto; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--ssyh-focus) 70%, transparent);
	outline-offset: 3px;
}
.screen-reader-text {
	clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden;
	position: absolute !important; white-space: nowrap; width: 1px;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; left: 1rem; padding: .75rem 1rem;
	top: 1rem; width: auto; z-index: 100000;
}
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header, .site-footer { border-color: var(--ssyh-line); border-style: solid; }
.site-header { border-width: 0 0 1px; }
.site-header__inner, .site-footer__inner, .site-main > .ssyh-content-wrap {
	margin-inline: auto; max-width: var(--ssyh-content); padding-inline: var(--ssyh-gutter); width: 100%;
}
.site-header__inner { align-items: center; display: flex; gap: 2rem; min-height: 4.5rem; }
.site-brand { align-items: center; display: inline-flex; gap: .75rem; font-weight: 750; text-decoration: none; }
.site-brand__mark { background: var(--ssyh-accent); height: .7rem; width: .7rem; }
.site-brand__description { color: var(--ssyh-muted); font-size: .8rem; font-weight: 500; margin-left: .25rem; }
.site-nav { margin-left: auto; }
.site-nav__list { align-items: center; display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { font-size: .9rem; text-decoration: none; }
.site-nav__list a:hover { color: var(--ssyh-accent); }
.site-nav__mobile { display: none; }
.site-main { flex: 1; }
.ssyh-content-wrap { padding-block: clamp(3rem, 8vw, 7rem); }
.entry-header { margin-bottom: 2rem; }
.entry-title { font-size: clamp(2rem, 5vw, 4.25rem); letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.entry-content > * { margin-inline: auto; max-width: var(--ssyh-content); }
.entry-content > .alignwide { max-width: 1320px; }
.entry-content > .alignfull { max-width: none; width: 100%; }
.entry-content a { text-decoration-thickness: .08em; text-underline-offset: .15em; }
.site-footer { border-width: 1px 0 0; color: var(--ssyh-muted); font-size: .9rem; }
.site-footer__inner { align-items: center; display: flex; gap: 1rem; justify-content: space-between; min-height: 5rem; }
.ssyh-custom-slot { width: 100%; }
.ssyh-custom-slot:empty { display: none; }
.ssyh-custom-slot > :first-child { margin-top: 0; }
.ssyh-custom-slot > :last-child { margin-bottom: 0; }

@media (max-width: 760px) {
	.site-header__inner { flex-wrap: wrap; gap: .75rem 1rem; padding-block: .8rem; }
	.site-brand__description { display: none; }
	.site-nav { margin-left: auto; }
	.site-nav__list { display: none; }
	.site-nav__mobile { display: block; }
	.site-nav__mobile summary { cursor: pointer; list-style: none; }
	.site-nav__mobile summary::-webkit-details-marker { display: none; }
	.site-nav__mobile summary::after { content: "☰"; font-size: 1.2rem; }
	.site-nav__mobile[open] summary::after { content: "×"; }
	.site-nav__mobile .site-nav__list { background: var(--ssyh-paper); border: 1px solid var(--ssyh-line); display: grid; gap: .25rem; min-width: 13rem; padding: .75rem; position: absolute; right: var(--ssyh-gutter); z-index: 5; }
	.site-footer__inner { align-items: flex-start; flex-direction: column; padding-block: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
