/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}

nav a.active,
nav a:hover {
  color: #ff6600;
}

/* Blog posts */
main {
  max-width: 1000px;
  margin: 0 auto;
}

.post {
  background: #fff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.post-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.post-content .text {
  flex: 1 1 300px;
}

.post-content .image {
  flex: 1 1 300px;
}

.post-content img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.post h2 {
  color: #222;
  margin-bottom: 10px;
}

.post .date {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9em;
  color: #888;
}
