/*
Theme Name: Twenty Twenty-Five Enhanced
Description: Enhanced version of Twenty Twenty-Five with improved readability and typography
*/

/* ===== Base Typography Improvements ===== */
/*
* Fresh WordPress Theme CSS
* Clean, modern, and responsive
*/

/* ===== Base Styles ===== */
:root {
  --primary: #2B6CB0;
  --primary-dark: #2C5282;
  --text: #2D3748;
  --text-light: #4A5568;
  --background: #FFFFFF;
  --border: #E2E8F0;
  --accent: #ED8936;
  --success: #38A169;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 1.5em 0 0.75em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.5em;
  font-size: 1.125rem;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.site-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

/* ===== Navigation ===== */
.main-navigation {
  display: flex;
  gap: 1.5rem;
}

.main-navigation a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
}

.main-navigation a:hover {
  color: var(--primary);
}

/* ===== Blog Listing ===== */
.blog-list {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
}

.blog-post {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.blog-post:last-child {
  border-bottom: none;
}

.post-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.post-title a {
  color: inherit;
  text-decoration: none;
}

.post-meta {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.post-excerpt {
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

/* ===== Single Post ===== */
.single-post {
  padding: 2rem 0;
}

.post-header {
  margin-bottom: 2rem;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

/* ===== Sidebar ===== */
.sidebar {
  padding: 2rem;
  background: #F7FAFC;
  border-radius: 0.5rem;
}

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ===== Footer ===== */
.site-footer {
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ===== Buttons & Links ===== */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-dark);
}

/* ===== Responsive Design ===== */
@media (min-width: 768px) {
  .blog-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .with-sidebar {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .blog-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }