/* Blog Page Styles */

.blog-header {
  background: url(images/background.jpg);
  background-size: cover;
  padding: 150px 0 80px;
  position: relative;
  text-align: center;
}

.blog-header::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(images/pattern.png);
}

.blog-header h1 {
  font-size: 48px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.blog-header p {
  font-size: 20px;
  position: relative;
  z-index: 1;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.blog-grid {
  padding: 80px 0;
  background: #fef8ee;
}

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.blog-image-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #9ea6f8, #090f53);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image-placeholder i {
  font-size: 80px;
  color: rgba(255, 255, 255, 0.3);
}

.blog-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #090F53;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.blog-excerpt {
  color: #818992;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e4e4e4;
  font-size: 13px;
  color: #818992;
}

.blog-author {
  font-weight: 600;
  color: #d96f2d;
}

.blog-date {
  color: #818992;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-header {
    padding: 120px 0 60px;
  }

  .blog-header h1 {
    font-size: 32px;
  }

  .blog-header p {
    font-size: 16px;
  }

  .blog-grid {
    padding: 40px 0;
  }

  .blog-content h3 {
    font-size: 20px;
  }

  .blog-excerpt {
    font-size: 14px;
  }

  .blog-image,
  .blog-image-placeholder {
    height: 200px;
  }
}

/* Blog Article Styles */
.blog-article {
  padding: 80px 0;
  background: #ffffff;
}

.blog-article h2 {
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #090F53;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
}

.blog-article p {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.blog-article ul {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  padding-left: 40px;
}

.blog-article li {
  margin-bottom: 10px;
}

.blog-article blockquote {
  font-size: 20px;
  font-style: italic;
  color: #090F53;
  border-left: 4px solid #d96f2d;
  padding-left: 30px;
  margin: 30px 0;
}

.blog-article strong {
  font-weight: 600;
  color: #090F53;
}

.blog-article em {
  font-style: italic;
}

@media (max-width: 768px) {
  .blog-article {
    padding: 40px 0;
  }

  .blog-article h2 {
    font-size: 24px;
    margin-top: 30px;
  }

  .blog-article p,
  .blog-article ul {
    font-size: 16px;
  }

  .blog-article blockquote {
    font-size: 18px;
    padding-left: 20px;
  }
}
