/* Layout */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  display: flex;
  gap: 30px;
}

main {
  flex: 3;
}

.sidebar {
  flex: 1;
}

/* Header */
.site-header {
  background: #eaf3ff;
  border-bottom: 1px solid #dbeafe;
}

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

.site-header .site-logo img {
  max-height: 50px;
}

.site-header nav {
  display: flex;
  align-items: center;
}

.site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.site-header nav li {
  font-weight: 500;
}

/* Featured */
.featured-posts h2,
.latest-posts h2 {
  border-left: 4px solid #3b82f6;
  padding-left: 10px;
  color: #1e3a8a;
  margin-top: 0;
}

/* Post Card */
.post-card {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
}

.post-card h3 {
  margin: 8px 0;
}

.post-card p {
  margin: 0;
  color: #374151;
}

.sidebar-widget {
  margin-bottom: 30px;
}

.sidebar-widget h4 {
  border-bottom: 2px solid #93c5fd;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.newsletter {
  background: #eff6ff;
  padding: 25px;
  margin-top: 40px;
  text-align: center;
}

.newsletter input[type="email"] {
  padding: 10px;
  width: 60%;
  max-width: 300px;
  border: 1px solid #dbeafe;
  border-radius: 4px;
}

.newsletter button {
  padding: 10px 16px;
  border: none;
  background: #2563eb;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 8px;
}

.newsletter button:hover {
  background: #1d4ed8;
}

.site-footer {
  background: #0b1220;
  color: #e6eef6;
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  gap: 40px;
}

.footer-about h3,
.footer-contact h3 {
  color: #93c5fd;
  margin-bottom: 10px;
}

.footer-copyright {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #1f2937;
  padding-top: 20px;
  color: #cbd5e1;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
  .newsletter input[type="email"] {
    width: 100%;
    max-width: none;
  }
}
