/* Extracted from index.html */

/* Hide the 'Trending Now' button from the home-blog-preview script as we are already on the blog page */
#home-blog-preview .home-blog-actions {
    display: none;
}

/* Grid 3 Utility */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.blog-card-standard {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-standard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.blog-card-standard .blog-card-image-wrapper {
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

.blog-card-standard .blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-standard .blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-standard .blog-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.blog-card-standard .blog-card-meta {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    gap: 1rem;
}

.blog-card-standard .blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color, #333);
}