/* Enhanced Featured Cards */
.featured-card {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Base styles remain light by default */
.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.featured-card:hover::before {
    opacity: 1;
}

/* Dark Mode Styles */
body.dark-mode .featured-card {
    background: rgba(209, 209, 209, 0.075);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

body.dark-mode .card-body {
    background: transparent;
}

body.dark-mode .mobile-title {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .mobile-description {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .card-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .mobile-date {
    color: rgba(255, 255, 255, 0.5);
}

body.dark-mode .custom-blog-card__read-more {
    color: #a855f7;
}

body.dark-mode .featured-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    background: rgba(209, 209, 209, 0.1);
}

/* Rest of the styles remain the same */
.image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #7209d494 !important;
    border: none;
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.2);
    color: #ffffff;
}

.card-body {
    padding: 1.5rem;
}

.mobile-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Animation for card appearance */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-card {
    animation: cardAppear 0.5s ease-out forwards;
}

.featured-card:nth-child(2) {
    animation-delay: 0.1s;
}

.featured-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .featured-card {
        margin-bottom: 1.5rem;
    }
    
    .image-container {
        height: 200px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .mobile-title {
        font-size: 1.1rem;
    }
    
    .mobile-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    
    .card-footer {
        padding: 1rem 1.25rem;
    }
}

body.dark-mode .list-group-item {
    background: rgba(209, 209, 209, 0.075);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .list-group-item:hover {
    background: rgba(209, 209, 209, 0.1);
}

.custom-blog-card__read-more {
  display: inline-flex;
  align-items: center;
  color: #8454d0;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
  padding-right: 20px;
}

.custom-blog-card__read-more::after {
  content: "→";
  position: absolute;
  right: 5px;
  top: -1px;
  opacity: 0;
  transform: translateX(-10px);
  font-family: 'Proxima Nova', sans-serif !important;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-blog-card:hover .custom-blog-card__read-more {
  color: #6a11cb;
}

.custom-blog-card:hover .custom-blog-card__read-more::after {
  opacity: 1;
  transform: translateX(0);
}

.read-more {
  display: none;
}


/* Media Queries */
@media (max-width: 576px) {
    .image-container {
        height: 180px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-footer {
        padding: 0.75rem 1rem;
    }
   

}

@media (min-width: 768px) {
    .featured-card:hover {
        transform: translateY(-5px);
    }
    
    .mobile-title {
        font-size: 1.4rem;
    }
} 