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

body {
  font-family: "Segoe UI", sans-serif;
  color: #222;
  background: #fff;
}

/* ===== HEADER ===== */
.site-header {
  max-width: 1200px;
  margin: auto;
  padding: 25px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  letter-spacing: 2px;
}

.site-header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

/* ===== HERO POST ===== */
.hero-post {
  max-width: 1200px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  padding: 0 15px;
}

.hero-content {
  background: #f8f9fa;
  padding: 40px;
}

.hero-content h2 {
  font-size: 32px;
  margin: 15px 0;
}

.hero-content p {
  line-height: 1.7;
  color: #555;
}

.category {
  font-size: 12px;
  letter-spacing: 1px;
  color: #999;
}

.read-more {
  display: inline-block;
  margin-top: 20px;
  color: #e63946;
  text-decoration: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== LATEST ===== */
.latest {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 15px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.post-card img {
  width: 100%;
  border-radius: 4px;
}

.post-card h3 {
  font-size: 18px;
  margin: 12px 0;
}

.post-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.post-card a {
  font-size: 13px;
  color: #e63946;
  text-decoration: none;
}

/* ===== LOAD MORE ===== */
.load-more {
  display: block;
  margin: 40px auto 0;
  padding: 10px 30px;
  border: none;
  background: #e63946;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 30px;
  background: #111;
  color: #fff;
  font-size: 14px;
}
.post-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 18px;
  max-width: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Image */
.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Title */
.post-card h3 {
  font-size: 20px;
  color: #0d3b66;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Paragraphs */
.post-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Highlighted question */
.post-card strong {
  display: block;
  color: #0a7cff;
  font-size: 15px;
  margin: 10px 0;
}

/* List */
.post-card ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.post-card ul li {
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
  position: relative;
}

.post-card ul li::marker {
  color: #0a7cff;
}

/* Read more button */
.post-card a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background: #0a7cff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.post-card a:hover {
  background: #064ea8;
}

/* Responsive */
@media (max-width: 768px) {
  .post-card {
    max-width: 100%;
  }

  .post-card img {
    height: 200px;
  }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-post {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h2 {
    font-size: 24px;
  }
}
