.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--darker);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.post-image {
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--dark);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: inherit;
    transition: transform 0.3s ease;
}

.post-image:hover img {
    transform: scale(1.05);
}

.private-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
    z-index: 9;
}

.private-badge i {
    font-size: 1rem;
}

.post-meta {
    margin-bottom: 0.75rem;
}

.post-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-info span:not(:last-child)::after {
    content: "•";
    margin: 0 0.5rem;
    color: var(--text-light);
}

.post-info a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.post-info a:hover {
    text-decoration: underline;
}

.post-title {
    margin: 0.5rem 0;
}

.post-title a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
}

.post-title a:hover {
    color: var(--accent);
}

.post-content {
    color: var(--text);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary);
}

.comments-count {
    color: var(--text-light);
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.empty-state h2 {
    color: var(--light);
    margin-bottom: 1rem;
}

.empty-state p {
    margin-bottom: 2rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1 {
    color: var(--light);
    margin-bottom: 1rem;
}