.blog-header {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 30px 0;
  color: #0a165e;
}

.blog-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Featured Blog */
.featured-blog {
  background: white;
  border-radius: 15px;
  padding: 25px;
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  align-items: center;
}

.featured-blog img {
  width: 100%;
  border-radius: 10px;
}

.featured-content {
  padding: 10px 20px;
  text-align: center;
}
.featured-blog:hover .blog-badge {
  background-color: #0a165e;
}

.featured-content h3 {
  font-weight: bold;
  font-size: 30px;
  margin: 10px;
  color: #0a165e;
}

.continue-btn {
  text-decoration: none;
  font-weight: bold;
  position: relative;
  color: #ff4500; /* Default text color */
  display: inline-block;
  padding-bottom: 2px; /* Ensures spacing between text and underline */
}

.continue-btn::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: lightgray; /* Default underline color */
  transition: background-color 0.3s ease-in-out, width 0.3s ease-in-out;
}

.continue-btn:hover::after {
  background: #0a165e; /* Changes to blue on hover */
}
.continue-btn:hover {
  color: #0a165e;
}

/* Blog Cards */
.small-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.small-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}
.small-card:hover .blog-badge {
  background-color: #0a165e;
}

.small-card img {
  width: 100%;
  border-radius: 10px;
  height: 200px;
}

.card-content {
  padding: 15px;
  text-align: center;
  flex-grow: 1;
}

.card-content h5 {
  font-size: 24px;
  font-weight: bold;
  color: #0a165e;
}

/* Move badges to the left */
.small-card .badge {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 5px;
  z-index: 10;
}

.featured-content .badge {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  padding: 6px 12px;
}
.blog-badge {
  background-color: #ff4500;
}

.blog-meta {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 5px;
}
.view-blog {
  background-color: #ff4500;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}
.view-blog:hover {
  background-color: #0a165e;
  color: #fff !important;
}
/* Responsive adjustments */
@media (max-width: 992px) {
  .featured-content {
    text-align: center;
  }
  .col-md-4 {
    width: 50%;
    flex: 0 0 50%;
  }
}

@media (max-width: 576px) {
  .featured-blog {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .featured-content {
    text-align: center;
  }
  .col-md-4 {
    width: 100%;
    flex: 0 0 100%;
  }
}
