/* Blog Section Responsive Styles */
.blog-section {
    padding: 3rem 1rem;
    background-color: #FFF0F0;
    text-align: center;
  }
  
  @media (min-width: 768px) {
    .blog-section {
      padding: 4rem 2rem;
    }
  }
  
  /* Featured Blog */
  .featured-blog {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .featured-blog img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    object-fit: cover;
  }
  
  .featured-content {
    width: 100%;
    text-align: left;
    padding: 0 0.5rem;
  }
  
  .featured-content .date {
    color: #e93b3b;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    font-weight: 500;
  }
  
  .featured-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .featured-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #444;
  }
  
  .blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
  }
  
  /* Card styles (for the Bootstrap cards) */
  .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  }
  
  .card-img-top {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 200px;
    object-fit: cover;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  
  .card-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .admin {
    font-size: 0.85rem;
    color: #666;
  }
  
  .enroll {
    background-color: #222;
    color: #fff;
    border-radius: 5px;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
  }
  
  .enroll:hover {
    background-color: #444;
  }
  
  /* Media Queries */
  @media (min-width: 576px) {
    .featured-content h3 {
      font-size: 1.4rem;
    }
    
    .featured-blog {
      padding: 1.5rem;
    }
    
    .featured-content {
      padding: 0 1rem;
    }
  }
  
  @media (min-width: 768px) {
    .featured-blog {
      flex-direction: row;
      align-items: flex-start;
      padding: 2rem;
    }
    
    .featured-blog img {
      width: 40%;
      margin-bottom: 0;
      margin-right: 2rem;
    }
    
    .featured-content {
      width: 60%;
    }
    
    .featured-content h3 {
      font-size: 1.5rem;
    }
    
    .card-img-top {
      height: 220px;
    }
  }
  
  @media (min-width: 992px) {
    .featured-blog img {
      width: 45%;
    }
    
    .featured-content {
      width: 55%;
    }
    
    .featured-content h3 {
      font-size: 1.75rem;
    }
    
    .card-title {
      font-size: 1.2rem;
    }
    
    .card-img-top {
      height: 240px;
    }
  }
  
  /* Fixed height issues */
  .row-cols-1 .card {
    height: 100%;
  }
  
  /* Read more button */
  .read-more {
    color: #e93b3b;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
  }
  
  .read-more i {
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
  }
  
  .read-more:hover i {
    transform: translateX(3px);
  }