/* Enhanced Blog Listing Styles */

/* Card styling for blog posts */
.blog-card {
    background: linear-gradient(145deg, rgba(45, 20, 65, 0.8) 0%, rgba(30, 10, 46, 0.9) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Featured image container */
.blog-card .entry-thumbnail {
    position: relative;
    overflow: hidden;
    margin: -1px -1px 0 -1px;
}

.blog-card .entry-thumbnail img {
    transition: transform 0.5s ease;
    width: 100%;
}

.blog-card:hover .entry-thumbnail img {
    transform: scale(1.05);
}

/* Post meta styling */
.blog-card .entry-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.blog-card .entry-meta i {
    margin-right: 5px;
}

.blog-card .entry-meta > span {
    margin-right: 15px;
}

/* Title styling */
.blog-card .entry-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.blog-card .entry-title a {
    color: #4e9eff;
    text-decoration: none;
}

.blog-card .entry-title a:hover {
    color: #70b8ff;
}

/* Content area */
.blog-card .card-body {
    padding: 1.5rem;
}

.blog-card .card-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* Read more button */
.blog-card .btn-read-more {
    background-color: rgba(78, 158, 255, 0.1);
    color: #4e9eff;
    border: 1px solid rgba(78, 158, 255, 0.3);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.blog-card .btn-read-more:hover {
    background-color: rgba(78, 158, 255, 0.2);
    border-color: rgba(78, 158, 255, 0.5);
}

.blog-card .btn-read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card .btn-read-more:hover i {
    transform: translateX(3px);
}

/* Category pill */
.blog-card .category-pill {
    margin: 16px 0 0 16px;
    display: inline-block;
    background-color: rgba(78, 158, 255, 0.9);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Pagination styling */
.pagination .page-numbers {
    margin: 0 3px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: rgba(78, 158, 255, 0.2);
    color: #4e9eff;
}

.pagination .prev, 
.pagination .next {
    padding: 8px 15px;
}

/* Blog listing page header */
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.blog-header:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4e9eff, #a181fc);
    border-radius: 2px;
    margin: 1.5rem auto 0;
}

.blog-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.blog-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .blog-card {
        margin-bottom: 2rem;
    }
    
    .blog-card .entry-title {
        font-size: 1.2rem;
    }
}