/* Custom styles for blog cards to enhance the glass effect and hover */
.blog-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    /* Match landing page glass-card border-radius */
    transition: all 0.3s ease;
    overflow: hidden;
    /* Ensures image corners are rounded */
}

.blog-card:hover {
    transform: translateY(-8px);
    /* Slightly lift on hover */
    box-shadow: 0 15px 30px rgba(107, 70, 193, 0.4);
    /* More pronounced shadow */
}

.blog-card .card-img-top {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 200px;
    /* Fixed height for images */
    object-fit: cover;
    /* Ensure images cover the area */
}

.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .card-title {
    color: #E879F9;
    /* Highlight titles with a vibrant color */
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.blog-card .card-text {
    color: rgba(255, 255, 255, 0.8);
    /* Lighter text for readability */
}

.blog-card .card-text small {
    color: rgba(255, 255, 255, 0.6);
    /* Even lighter for meta info */
}

.blog-card .btn-primary {
    background: linear-gradient(45deg, var(--gradient-start-light), var(--gradient-end-light));
    border: none;
    border-radius: 50px;
    /* Pill-shaped button */
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 26, 115, 0.3);
}