/*
Theme Name: Sphere
Theme URI: https://localhost/sphere
Author: Sphere
Description: A clean, minimal WordPress theme for Sphere.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sphere
*/

body:not(.wp-admin) *,
body:not(.wp-admin) *::before,
body:not(.wp-admin) *::after {
	box-sizing: border-box;
}

body:not(.sphere-home):not(.wp-admin) {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #1a1a1a;
	background: #fafafa;
}

body:not(.sphere-home):not(.wp-admin) a {
	color: #2563eb;
	text-decoration: none;
}

body:not(.sphere-home):not(.wp-admin) a:hover {
	text-decoration: underline;
}

body:not(.sphere-home):not(.wp-admin) .site-header,
body:not(.sphere-home):not(.wp-admin) .site-footer {
	padding: 1.5rem 2rem;
}

body:not(.sphere-home):not(.wp-admin) .site-header {
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
}

body:not(.sphere-home):not(.wp-admin) .site-footer {
	border-top: 1px solid #e5e5e5;
	color: #666;
	font-size: 0.875rem;
	text-align: center;
}

.site-branding {
	max-width: 720px;
	margin: 0 auto;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-description {
	margin: 0.25rem 0 0;
	color: #666;
	font-size: 0.9375rem;
}

body:not(.sphere-home):not(.wp-admin) .site-main {
	max-width: 720px;
	margin: 0 auto;
	padding: 3rem 2rem 4rem;
}

body:not(.sphere-home):not(.wp-admin) .hero {
	text-align: center;
	padding: 4rem 0 2rem;
}

body:not(.sphere-home):not(.wp-admin) .hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
}

body:not(.sphere-home):not(.wp-admin) .hero p {
	margin: 0;
	color: #555;
	font-size: 1.125rem;
}

.entry-title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
}

.entry-meta {
	margin: 0 0 1rem;
	color: #888;
	font-size: 0.875rem;
}

.entry-content {
	margin-bottom: 2rem;
}

.entry-content p:first-child {
	margin-top: 0;
}

.post-list article + article {
	margin-top: 2.5rem;
	padding-top: 2.5rem;
	border-top: 1px solid #e5e5e5;
}

.no-posts {
	text-align: center;
	color: #666;
}
