﻿.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
}

.page-title {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 24px;
}

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f87171;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 2;
}

.thumb {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.icon {
    position: absolute;
    bottom: -18px;
    left: 16px;
    background: #f87171;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: #fff;
    font-size: 18px;
}

.card-body {
    padding: 20px;
    flex: 1;
}

    .card-body .meta {
        color: #999;
        font-size: 13px;
        margin-bottom: 6px;
    }

    .card-body h2 {
        font-size: 17px;
        margin: 0 0 8px 0;
        font-weight: 600;
        line-height: 1.5;
    }

    .card-body p {
        font-size: 14px;
        color: #666;
        margin: 0;
    }

.card-footer {
    padding: 12px 20px;
    border-top: 1px solid #f1f1f1;
    display: flex;
    justify-content: flex-end;
}

    .card-footer button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #999;
    }

        .card-footer button:hover {
            color: #555;
        }
