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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f7f9fa;
}

header {
  background-color: #ffffff;
  border-bottom: 1px solid #e1e8ed;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #1da1f2;
  text-decoration: none;
}

.nav-links ul {
  display: flex;
  list-style: none;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

.nav-links a:hover {
  color: #1da1f2;
}

.hero {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.main-layout {
  max-width: 1100px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

.post {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.post-tag {
  display: inline-block;
  background: #e1f5fe;
  color: #0288d1;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}



.picture {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  display: inline-block;
}

.post h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #111;
}

.post-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.post p {
  margin-bottom: 20px;
  color: #444;
}

.read-more {
  display: inline-block;
  color: #1da1f2;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

aside {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  height: fit-content;
}

.widget {
  margin-bottom: 30px;
}

.widget h3 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f3f4;
  padding-bottom: 5px;
}

.widget p {
  font-size: 15px;
  color: #666;
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 8px;
}

.category-list a {
  text-decoration: none;
  color: #444;
}

.category-list a:hover {
  color: #1da1f2;
}

footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 30px;
  margin-top: 60px;
  font-size: 14px;
}