/*
Theme Name: Basic WordPress Starter
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A clean, lightweight starter WordPress theme containing the basic PHP template files needed for a custom WordPress website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: basic-wp-starter
*/

:root {
  --container: 1200px;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --accent: #2563eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.site-header, .site-footer { border-color: var(--border); }
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; flex-direction: column; }
.site-title { margin: 0; font-size: 1.35rem; font-weight: 700; }
.site-title a { color: var(--text); }
.site-description { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.primary-menu, .footer-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.primary-menu a, .footer-menu a { color: var(--text); }
.site-main { padding: 48px 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.entry { margin-bottom: 48px; }
.entry-title { line-height: 1.2; margin: 0 0 12px; }
.entry-meta { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.post-thumbnail { margin: 0 0 24px; }
.widget { margin-bottom: 32px; padding: 20px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 8px; }
.widget-title { margin-top: 0; }
.pagination { margin-top: 32px; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; }
.search-form input[type="submit"], button, .button { padding: 10px 16px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; cursor: pointer; }
.comments-area { margin-top: 48px; }
.comment-list { padding-left: 22px; }
.site-footer { border-top: 1px solid var(--border); background: var(--surface-alt); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.not-found { text-align: center; padding: 80px 0; }
.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; }

@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
}
