/**
 * Blog Scroller - Card Styles
 */

.blog-card {
    display: flex;
    flex-direction: column;
    width: 350px;
    min-height: 450px;
    height: auto;
    background: #262a2c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.blog-card-no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: #E30613;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #b8b8b8;
    margin: 0 0 auto 0;
}

.blog-card-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #3a3e40;
}

.blog-card-date {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-card {
        width: 300px;
        min-height: 400px;
    }

    .blog-card-image {
        min-height: 180px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 18px;
    }
}
