* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.header {
  background: #fff;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  font-size: 24px;
  font-weight: bold;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Main Content */
.main-content {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.post {
  flex: 3;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
}

.post-title {
  font-size: 28px;
  margin-bottom: 10px;
}

.post-meta {
  color: #777;
  margin-bottom: 20px;
  font-size: 14px;
}

.post-image img,
.post-image-inline img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 4px;
}

.post-image-inline {
  margin: 20px 0;
}

.post-image-inline .caption {
  font-size: 13px;
  color: #555;
  text-align: center;
}

/* Sidebar */
.sidebar {
  flex: 1;
}

.widget {
  background: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.widget h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.widget ul {
  list-style: none;
}

.widget ul li + li {
  margin-top: 10px;
}

.widget a {
  text-decoration: none;
  color: #333;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .sidebar {
    margin-top: 20px;
  }
}

