/* Blog Post Cards Styles */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card-image:hover img {
    transform: scale(1.05);
}

.post-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.post-card-content {
    padding: 30px 25px;
}

/* Post Meta (Data) */
.post-card-meta {
    margin-bottom: 15px;
}

.post-card-date {
    display: inline-block;
    font-size: 0.85rem;
    color: #e5ad00;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(229, 173, 0, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(229, 173, 0, 0.2);
}

.post-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #333333;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: #e5ad00;
}

.post-card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #7f8c8d;
    margin: 0 0 25px 0;
}

.post-card-button {
    display: inline-block;
    background: #e5ad00;
    color: #333333;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.post-card-button:hover {
    background: #d19c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 173, 0, 0.3);
    color: #333333;
}

/* Single column layout for smaller cards */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .post-card-image {
        height: 200px;
    }
    
    .post-card-content {
        padding: 25px 20px;
    }
    
    .post-card-title {
        font-size: 1.3rem;
    }
    
    .post-card-excerpt {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .blog-posts-grid {
        gap: 15px;
        margin: 20px 0;
    }
    
    .post-card-image {
        height: 180px;
    }
    
    .post-card-content {
        padding: 20px 15px;
    }
    
    .post-card-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .post-card-excerpt {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .post-card-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Page header styling */
.page-header {
    text-align: center;
    margin: 0 0 50px 0;
    padding: 40px 0;
    border-bottom: 1px solid #ecf0f1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin: 0;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e5ad00;
}

@media (max-width: 768px) {
    .page-header {
        margin-bottom: 30px;
        padding: 30px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
}
