/* Hide Astra's default page title */
.page .entry-title {
  display: none;
}

/* Hero section */
.hero {
  background: linear-gradient(to right, #0066cc, #00aaff);
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}
.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}
.hero .btn {
  background: white;
  color: #0066cc;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Navigation */
.custom-nav {
  background: #333;
  padding: 10px;
}
.custom-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.custom-nav ul li {
  margin: 0 15px;
}
.custom-nav ul li a {
  color: white;
  text-decoration: none;
}

/* Blog posts grid */
.latest-posts {
  padding: 50px 20px;
}
.latest-posts h2 {
  text-align: center;
  margin-bottom: 30px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.post-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  background: white;
  transition: transform 0.2s;
}
.post-card:hover {
  transform: translateY(-5px);
}
.post-card img {
  max-width: 100%;
  border-radius: 5px;
}

/* Call to Action */
.cta {
  background: #f4f4f4;
  text-align: center;
  padding: 50px 20px;
}
.cta button {
  background: #0066cc;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
