:root {
  --primary-color: #E8A87C;
  --secondary-color: #C97B63;
  --text-color: #1a1a2e;
  --background-color: #ffffff;
  --light-gray: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--primary-color);
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.site-header nav a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  opacity: 0.9;
}

.site-header nav a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .tagline {
  font-size: 1.5rem;
  opacity: 0.9;
}

/* Main content */
.site-main {
  min-height: calc(100vh - 300px);
  padding-bottom: 2rem;
}

/* Posts */
.post-list {
  display: grid;
  gap: 2rem;
}

.post-preview {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.post-preview:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.post-thumbnail {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
}

.post-info h2, .post-info h3 {
  margin-bottom: 0.5rem;
}

.post-info h2 a, .post-info h3 a {
  color: var(--text-color);
  text-decoration: none;
}

.post-info h2 a:hover, .post-info h3 a:hover {
  color: var(--primary-color);
}

.post-info time {
  color: #666;
  font-size: 0.9rem;
}

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

/* Single post */
.post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 20px 0;
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.post-header time, .post-header .author {
  color: #666;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  margin-bottom: 2rem;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-content h2, .post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.tags a {
  color: var(--primary-color);
  text-decoration: none;
  margin-right: 1rem;
}

/* Footer */
.site-footer {
  background: var(--light-gray);
  padding: 2rem 0;
  text-align: center;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .post-preview {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }
}
