/* ===== Global ===== */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #0d1117;
  color: #f5f5f5;
  line-height: 1.6;
}
a { color: #d4af37; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.site-header {
  background: #11161e;
  border-bottom: 2px solid #d4af37;
  padding: 15px 20px;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  color: #d4af37;
}
.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  color: #fff;
  font-weight: 600;
}
.search-bar input {
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  outline: none;
}

/* ===== Layout ===== */
.container.blog-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  padding: 30px;
}

/* ===== Blog Header ===== */
.blog-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: #d4af37;
}
.blog-header p {
  color: #bbb;
}

/* ===== Post Grid ===== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}
.post-card {
  background: #161b22;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s ease;
}
.post-card:hover { transform: translateY(-5px); }
.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-content {
  padding: 15px;
}
.card-title {
  font-size: 20px;
  margin: 0 0 10px;
}
.card-excerpt {
  color: #aaa;
  font-size: 14px;
}
.card-readmore {
  display: inline-block;
  margin-top: 10px;
  color: #d4af37;
  font-weight: bold;
}
.ad-card { 
  background: #11161e;
  border: 1px dashed #d4af37;
  text-align: center;
}

/* ===== Sidebar ===== */
.blog-sidebar .widget {
  background: #161b22;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}
.blog-sidebar h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #d4af37;
}
.blog-sidebar ul {
  list-style: none;
  padding: 0;
}
.blog-sidebar li {
  margin-bottom: 10px;
}
.blog-sidebar a {
  color: #ccc;
}
.blog-sidebar a:hover {
  color: #d4af37;
}

/* ===== Pagination ===== */
.pagination {
  margin-top: 30px;
  text-align: center;
}
.pagination a {
  color: #fff;
  background: #11161e;
  padding: 8px 12px;
  margin: 0 5px;
  border-radius: 6px;
  border: 1px solid #d4af37;
}
.pagination a.active {
  background: #d4af37;
  color: #111;
}

/* ===== Footer ===== */
.site-footer {
  background: #11161e;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
  border-top: 2px solid #d4af37;
}
.suggested-posts {
  margin-bottom: 20px;
}
.suggested-posts h3 {
  color: #d4af37;
}
.suggested-posts ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.suggested-posts a {
  color: #fff;
}
