/* Post Cards in Feed */
.list .post-card,
.posts .post-card {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.list .post-card .title,
.posts .post-card .title {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.list .post-card time,
.posts .post-card time {
    display: block;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.list .post-card .post-card-content,
.posts .post-card .post-card-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 0;
}

.list .post-card .post-card-left,
.posts .post-card .post-card-left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.list .post-card .post-card-text,
.posts .post-card .post-card-text {
    flex: 1;
    min-width: 0;
}

.list .post-card .post-card-thumb,
.posts .post-card .post-card-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    border: none;
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

.list .post-card .post-card-thumb img,
.posts .post-card .post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    outline: none;
}

.list .post-card .post-card-thumb:hover,
.list .post-card .post-card-thumb:focus,
.posts .post-card .post-card-thumb:hover,
.posts .post-card .post-card-thumb:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.list .post-card .description,
.posts .post-card .description {
    margin-bottom: 0;
    line-height: 1.6;
}

.list .post-card .readmore,
.posts .post-card .readmore {
    display: inline-block;
    text-decoration: none;
}

.list .post-card .post-card-left .readmore,
.posts .post-card .post-card-left .readmore {
    margin-top: 0;
}

.list .post-card .post-card-text .readmore,
.posts .post-card .post-card-text .readmore {
    margin-top: 1rem;
}

/* Light theme adjustments */
body.light-theme .list .post-card,
body.light-theme .posts .post-card {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: light) {
    body:not(.dark-theme) .list .post-card,
    body:not(.dark-theme) .posts .post-card {
        border-bottom-color: rgba(0, 0, 0, 0.1);
    }
}

/* Hide mobile readmore button on desktop by default */
.list .post-card .readmore-mobile,
.posts .post-card .readmore-mobile {
    display: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .list .post-card .post-card-content,
    .posts .post-card .post-card-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .list .post-card .post-card-left,
    .posts .post-card .post-card-left {
        width: 100%;
        align-items: flex-start;
    }
    
    .list .post-card .post-card-thumb,
    .posts .post-card .post-card-thumb {
        width: 100%;
        height: 180px;
    }
    
    /* Hide desktop readmore button on mobile */
    .list .post-card .readmore-desktop,
    .posts .post-card .readmore-desktop {
        display: none;
    }
    
    /* Show mobile readmore button on mobile */
    .list .post-card .readmore-mobile,
    .posts .post-card .readmore-mobile {
        display: inline-block;
    }
}
