/*
Theme Name: SimplePress
Theme URI: https://example.com/simplepress
Author: Your Name
Description: A clean, lightweight, responsive WordPress theme for blogs and small business websites.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simplepress
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --sp-bg: #fff;
  --sp-surface: #fff;
  --sp-text: #000;
  --sp-muted: #000;
  --sp-accent: #000;
  --sp-accent-dark: #000;
  --sp-border: #000;
  --sp-radius: 0;
  --sp-shadow: none;
  --sp-width: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sp-bg);
  color: var(--sp-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.75;
}
a { color: var(--sp-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sp-accent-dark); }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; width: auto; height: auto; padding: 10px 14px; clip: auto; background: #fff; }
.site-wrap { width: min(calc(100% - 40px), var(--sp-width)); margin-inline: auto; }

.site-header { padding: 38px 0; border-bottom: 0; background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 13px; }
.custom-logo { max-height: 52px; width: auto; }
.site-title { margin: 0; font-family: Arial, sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; text-transform: lowercase; }
.site-title a { color: #000; text-decoration: none; }
.site-description { margin: 5px 0 0; color: #000; font-family: Arial, sans-serif; font-size: .72rem; }
.menu-toggle { display: none; border: 1px solid #000; border-radius: 0; background: #fff; padding: 8px 11px; color: #000; font: 700 .75rem Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
.primary-menu { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { color: #000; font-family: Arial, sans-serif; font-size: .75rem; font-weight: 400; letter-spacing: .03em; text-decoration: none; text-transform: lowercase; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: #000; text-decoration: underline; }

.hero { padding: 92px 0 110px; background: #fff; color: #000; }
.hero::after { display: none; }
.hero-inner { max-width: 720px; }
.hero-inner { max-width: 790px; }
.eyebrow { margin: 0 0 20px; color: #000; font-family: Arial, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1, .page-header h1, .entry-title { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.hero h1 { margin: 0; max-width: 720px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 7vw, 5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; text-transform: none; }
.hero p { max-width: 610px; margin: 28px 0 0; color: #000; font-size: 1.12rem; }

.content-grid { display: grid; grid-template-columns: minmax(0, 650px) 220px; gap: 90px; padding-bottom: 100px; }
.home-content { padding-top: 70px; }
.content-grid.no-sidebar { display: block; max-width: 820px; }
.post-card { overflow: visible; margin-bottom: 72px; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.post-card-content { padding: 0; }
.post-thumbnail img { width: 100%; height: auto; }
.listing-thumbnail { display: flex; width: 100%; height: clamp(180px, 28vw, 300px); margin-bottom: 30px; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
.listing-thumbnail img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.entry-title { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 2.65rem); font-weight: 400; line-height: 1.14; }
.entry-title a { color: var(--sp-text); text-decoration: none; }
.entry-title a:hover { color: var(--sp-accent); }
.entry-meta { margin-bottom: 22px; color: #000; font-family: Arial, sans-serif; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.entry-meta a { color: inherit; }
.entry-content > :first-child, .entry-summary > :first-child { margin-top: 0; }
.entry-content > :last-child, .entry-summary > :last-child { margin-bottom: 0; }
.entry-content blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--sp-accent); color: var(--sp-muted); font-family: Georgia, serif; font-size: 1.2rem; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--sp-border); text-align: left; }
.read-more, input[type="submit"], .wp-block-button__link { display: inline-block; border: 0; border-bottom: 1px solid #000; border-radius: 0; background: #fff; color: #000; padding: 2px 0; font-family: Arial, sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.read-more:hover, input[type="submit"]:hover { background: #000; color: #fff; }
.page-header { margin-bottom: 32px; }
.page-header h1 { margin-bottom: 8px; font-size: 2.6rem; }
.page-header p { color: var(--sp-muted); }

.sidebar { font-size: .94rem; }
.widget { margin-bottom: 38px; padding: 0 0 25px; border: 0; border-bottom: 1px solid #000; border-radius: 0; background: #fff; }
.widget-title { margin: 0 0 14px; font-family: Arial, sans-serif; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.widget ul { margin: 0; padding-left: 20px; }
.widget li { margin: 7px 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea { width: 100%; padding: 9px 0; border: 0; border-bottom: 1px solid #000; border-radius: 0; background: #fff; color: #000; font: inherit; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-submit { padding-inline: 15px !important; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 34px 0; }
.nav-links a, .nav-links .current { padding: 8px 12px; border: 1px solid var(--sp-border); border-radius: 8px; background: var(--sp-surface); text-decoration: none; }

.comments-area { margin-top: 36px; padding: 30px; border-top: 1px solid var(--sp-border); }
.comment-list { padding-left: 24px; }
.comment-body { margin-bottom: 24px; }
.site-footer { padding: 42px 0; border-top: 1px solid #000; background: #fff; color: #000; font-family: Arial, sans-serif; font-size: .72rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 800px) {
  .content-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .main-navigation { position: relative; }
  .primary-menu { display: none; position: absolute; z-index: 20; top: 50px; right: 0; width: 220px; flex-direction: column; gap: 0; padding: 12px; border: 1px solid #000; border-radius: 0; background: #fff; box-shadow: none; }
  .primary-menu.is-open { display: flex; }
  .primary-menu a { display: block; padding: 9px; }
  .hero { padding: 64px 0 52px; }
}
@media (max-width: 520px) {
  .site-wrap { width: min(calc(100% - 24px), var(--sp-width)); }
  .site-description { display: none; }
  .footer-inner { flex-direction: column; }
}
