/* ============================================
       POST LIST SPECIFIC STYLES
       ============================================ */

/* Post List Container */
.post-list {
    list-style: none;
    margin-bottom: 40px;
}

/* Individual Post Item */
.post-item {
    background: white;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.post-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Post Title */
.post-item h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.post-item h2 a {
    color: #8b5e34;
    text-decoration: none;
}

.post-item h2 a:hover {
    color: #6b4423;
    text-decoration: underline;
}

/* Meta Information */
.post-item .meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

/* Post Excerpt */
.post-item > p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Tags Container */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f0e6d6;
    color: #6b4423;
    font-size: 0.85rem;
    border-radius: 3px;
    border: 1px solid #d4c4a8;
}

/* ============================================
       MOBILE RESPONSIVE STYLES
       ============================================ */

@media (max-width: 768px) {
    /* Post List Specific */
    .post-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .post-item h2 {
        font-size: 1.3rem;
    }

    .post-item .meta {
        font-size: 0.85rem;
    }

    .post-item > p {
        font-size: 0.95rem;
    }

    .tag {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .post-item h2 {
        font-size: 1.2rem;
    }

    .post-item {
        padding: 18px;
    }
}
