/* Blog Hero Section Styles */
.blog-hero-section {
  position: relative;
  min-height: 350px;
  background: #f8fafc;
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}
.hero-img-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.blog-hero-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(30,58,138,0.10);
  object-fit: cover;
}
/* Blog Styles */
.blog {
  padding: 60px 0;
}

.blog-post-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.blog-post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.blog-post-content {
  padding: 20px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: #6c757d;
}

.blog-post-date {
  margin-right: 15px;
}

.blog-post-category {
  background: #1e3a8a;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}

.blog-post-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e3a8a;
  line-height: 1.3;
}

.blog-post-excerpt {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog-post-link {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.blog-post-link:hover {
  color: #3b82f6;
  text-decoration: none;
}

.blog-post-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.blog-post-link:hover i {
  transform: translateX(3px);
}

/* Blog Post Template Styles */
.blog-post-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  border-radius: 8px;
}

.blog-post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.blog-post-header .meta {
  font-size: 1.1rem;
  opacity: 0.9;
}

.blog-post-body {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.blog-post-body h2 {
  color: #1e3a8a;
  margin: 30px 0 15px 0;
  font-weight: 600;
}

.blog-post-body h3 {
  color: #1e3a8a;
  margin: 25px 0 12px 0;
  font-weight: 600;
}

.blog-post-body p {
  margin-bottom: 20px;
}

.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-post-body blockquote {
  border-left: 4px solid #1e3a8a;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #6c757d;
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
}

.blog-post-body code {
  background: #f8f9fa;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: #e83e8c;
}

.blog-post-body pre {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid #e9ecef;
}

.blog-post-body pre code {
  background: none;
  padding: 0;
  color: #333;
}

/* Back to Blog Button */
.back-to-blog {
  margin-bottom: 30px;
}

.back-to-blog .btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #1e3a8a;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.back-to-blog .btn:hover {
  background: #3b82f6;
  color: white;
  text-decoration: none;
  transform: translateX(-3px);
}

.back-to-blog .btn i {
  margin-right: 8px;
}

/* Responsive Design */
@Media (max-width: 768px) {
  .blog-post-header h1 {
    font-size: 2rem;
  }
  
  .blog-post-title {
    font-size: 1.3rem;
  }
  
  .blog-post-body {
    font-size: 1rem;
  }
}

/* Empty State */
.blog-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6c757d;
}

.blog-empty i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.blog-empty h3 {
  margin-bottom: 10px;
  color: #1e3a8a;
}

/* Loading Animation */
.blog-loading {
  text-align: center;
  padding: 40px;
}

.blog-loading .spinner-border {
  width: 3rem;
  height: 3rem;
}
