.recent-posts-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.recent-posts-section h2 {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.post-card {
    background: linear-gradient(to bottom right, rgba(29, 45, 66, 0.7), rgba(13, 25, 42, 0.7));
    border-radius: 16px;
    overflow: hidden;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.post-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(90deg, rgb(15, 56, 110), rgb(28, 108, 212));
}

.post-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.post-category {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
}

.post-category.blue {
    background-color: rgba(26, 79, 143, 0.15);
    border: 1px solid rgba(26, 79, 143, 0.5);
    color: #fff;
}

.post-category.green {
    background-color: rgba(30, 110, 66, 0.15);
    border: 1px solid rgba(30, 110, 66, 0.5);
    color: #fff;
}

.post-category.red {
    background-color: rgba(143, 26, 26, 0.15);
    border: 1px solid rgba(143, 26, 26, 0.5);
    color: #fff;
}

.post-category.purple {
    background-color: rgba(102, 26, 143, 0.15);
    border: 1px solid rgba(102, 26, 143, 0.5);
    color: #fff;
}

.post-card h3 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 16px;
    font-weight: 500;
    color: #fff;
    pointer-events: none;
}

.post-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 24px;
    font-size: 16px;
}

.post-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    pointer-events: none;
}

.read-more-button {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.read-more-button a {
    background-color: #3072E1;
    color: white;
    padding: 12px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.read-more-button a:hover {
    background-color: #2561A3;
}

@media (max-width: 768px) {
    .recent-posts-grid {
        grid-template-columns: 1fr;
    }

    .recent-posts-section h2 {
        font-size: 32px;
    }

    .post-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .post-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .post-meta {
        align-self: flex-end;
    }
}
