/* =============================================
   MODERN BLOG PAGE STYLES
============================================== */

/* Blog Hero */
.blog-hero-section {
    background: var(--warm-gray);
    padding: 160px 0 80px; /* Accounts for fixed header */
    text-align: center;
}

.blog-hero-section .display-4 {
    font-family: var(--font-02);
    font-weight: 700;
    color: var(--charcoal);
}

/* Blog Grid Section */
.blog-grid-section {
    background: var(--pure-white);
}

/* Blog Card */
.blog-card-modern {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.blog-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 127, 80, 0.3);
}

/* Blog Card Image */
.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-modern:hover .blog-card-image img {
    transform: scale(1.08);
}

/* Date Badge */
.blog-card-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--coral);
    color: var(--pure-white);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4);
}

.blog-card-date .day {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}

.blog-card-date .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Card Content */
.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    margin-bottom: 1rem;
}

.blog-author {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.blog-author i {
    color: var(--primary-teal);
    font-size: 1.1rem;
}

.blog-card-title {
    font-family: var(--font-02);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-card-title a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-modern:hover .blog-card-title a {
    color: var(--coral);
}

.blog-card-excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1; /* Pushes the read more link to the bottom for equal height cards */
}

/* Read More Link */
.blog-read-more {
    color: var(--coral);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-teal);
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

/* Empty State */
.empty-state {
    padding: 4rem 2rem;
    background: var(--warm-gray);
    border-radius: 20px;
}

.empty-state i {
    color: var(--primary-teal);
    opacity: 0.5;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .blog-hero-section {
        padding: 140px 0 60px;
    }
    
    .blog-card-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .blog-hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .blog-card-content {
        padding: 1.5rem;
    }
    
    .blog-card-title {
        font-size: 1.3rem;
    }
    
    .blog-card-date {
        padding: 0.5rem 0.8rem;
    }
    
    .blog-card-date .day {
        font-size: 1.2rem;
    }
}