/* SEO timer landing pages (/timers/..., category hubs): reset app-shell rules from styles.css
   (html/body overflow + flex) and provide readable layout. Loaded after styles.css. */

html:has(body.seo-page) {
	overflow: auto !important;
	height: auto !important;
	min-height: 100%;
	scroll-behavior: smooth;
}

body.seo-page {
	overflow-x: hidden !important;
	overflow-y: auto !important;
	height: auto !important;
	max-height: none !important;
	min-height: 100dvh;
	display: block !important;
	padding: 0 !important;
	background: linear-gradient(
		160deg,
		#eef2ff 0%,
		#f8fafc 40%,
		#fdf8f4 100%
	) !important;
	background-attachment: fixed !important;
	color: var(--text);
	line-height: 1.6;
}

.seo-skip {
	position: absolute;
	left: -9999px;
	z-index: 100;
	padding: 0.5rem 1rem;
	background: var(--primary);
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
}

.seo-skip:focus {
	left: 0.75rem;
	top: 0.75rem;
}

.seo-header {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.seo-header-inner {
	max-width: 56rem;
	margin: 0 auto;
	padding: 0.85rem 1.25rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.seo-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-weight: 800;
	font-size: 1.1rem;
	color: var(--text);
	text-decoration: none;
	letter-spacing: -0.03em;
}

.seo-brand:hover {
	color: var(--primary-dark);
}

.seo-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.seo-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
	justify-content: flex-end;
}

.seo-nav-list a {
	color: var(--text-light);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
}

.seo-nav-list a:hover,
.seo-nav-list a[aria-current="page"] {
	color: var(--primary);
}

.seo-main {
	max-width: 56rem;
	margin: 0 auto;
	padding: 1.75rem 1.25rem 3rem;
}

.seo-article {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: clamp(1.25rem, 4vw, 2rem);
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.seo-breadcrumb {
	font-size: 0.8125rem;
	color: var(--text-lighter);
	margin-bottom: 1rem;
}

.seo-breadcrumb a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
}

.seo-breadcrumb a:hover {
	text-decoration: underline;
}

.seo-article h1 {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--text);
	margin: 0 0 0.75rem;
	line-height: 1.2;
}

.seo-article h2 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text);
	margin: 1.5rem 0 0.65rem;
	letter-spacing: -0.02em;
}

.seo-lead {
	font-size: 1.05rem;
	color: var(--text-light);
	margin: 0 0 1rem;
}

.seo-note {
	font-size: 0.9rem;
	color: var(--text-light);
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	background: var(--secondary);
	border-radius: 10px;
	border-left: 4px solid var(--primary-light);
}

.seo-details {
	display: grid;
	grid-template-columns: minmax(0, 10rem) 1fr;
	gap: 0.5rem 1rem;
	margin: 0;
	font-size: 0.9375rem;
}

.seo-details dt {
	font-weight: 700;
	color: var(--text);
}

.seo-details dd {
	margin: 0;
	color: var(--text-light);
}

.seo-timer-index {
	list-style: none;
	margin: 0;
	padding: 0;
}

.seo-timer-index li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--border-light);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.75rem;
}

.seo-timer-index li:last-child {
	border-bottom: none;
}

.seo-timer-index a {
	font-weight: 600;
	color: var(--primary);
	text-decoration: none;
}

.seo-timer-index a:hover {
	text-decoration: underline;
}

.seo-meta-inline {
	font-size: 0.8125rem;
	color: var(--text-lighter);
}

.seo-related {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
}

.seo-related-list {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
	color: var(--text-light);
}

.seo-related-list a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}

.seo-related-list a:hover {
	text-decoration: underline;
}

.seo-cta {
	margin: 1.75rem 0 0;
}

.seo-more-cats ul {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
}

.seo-more-cats a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}

.seo-more-cats a:hover {
	text-decoration: underline;
}

.seo-footer {
	max-width: 56rem;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 2rem;
	font-size: 0.875rem;
	color: var(--text-lighter);
	text-align: center;
}

.seo-footer a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
}

.seo-footer a:hover {
	text-decoration: underline;
}
