/* ===== 文章列表排版 ===== */
.post-list .post-item {
    background-color: #fff;
    margin-bottom: 2rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    cursor: pointer; /* 加上手形游標 */
}
/* 當滑鼠移到整個文章區塊，內部文章標題產生下底線 */
.post-item:hover h2 a {
    text-decoration: underline;
}
.post-img {
    flex: 1 1 300px;
    max-height: 165px;
    max-width: 250px;
    overflow: hidden;
}
.post-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.post-content {
    flex: 1 1 300px;
    max-width: 50%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.post-content .category {
    display: none;
}
.post-content h2 {
    font-size: 1.2rem;
    font-style: inherit;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    position: absolute;
}
.post-content h2 a {
    color: #2c3e50;
    text-decoration: none;
}
.post-content .meta {
    display: none;
}
.post-content .author {
    font-weight: bold;
    margin-bottom: 0.3rem;
}
.post-content .date {
    opacity: 0.8;
}
/* 分隔線 */
.separator {
    margin: 1.5rem 0;
    border: none;
    border-top: 1px solid #dedede;
}

/* 導覽列 RWD 調整 */
@media (max-width: 600px) {
    .post-list .post-item {
        background-color: #fff;
        margin-bottom: 2rem;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        display: flex;
        flex-wrap: wrap;
    }
    .post-img {
        flex: 1 1 300px;
        max-height: 200px;
        max-width: 150px;
        overflow: hidden;
    }
    .post-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .post-content {
        flex: 1 1 300px;
        max-width: 50%;
        padding: 1rem;
    }
    .post-content .category {
        margin-bottom: 0.5rem;
        color: #2c3e50;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.8rem;
    }
    .post-content h2 {
        margin-bottom: 0.8rem;
        line-height: 1.3;
        font-size: 1rem;
        position: relative;
    }
    .post-content h2 a {
        color: #2c3e50;
        text-decoration: none;
    }
    .post-content h2 a:hover {
        text-decoration: underline;
    }
    .post-content .meta {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        font-size: 0.8rem;
        color: #444;
    }
    .post-content .author {
        font-weight: bold;
        margin-bottom: 0.3rem;
    }
    .post-content .date {
        opacity: 0.8;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }

    .post-content .meta {
        display: none;
    }
    .popular-thumb {
        width: 150px;
        height: 100px;
        overflow: hidden;
        border-radius: 5px;
        flex-shrink: 0;
    }

    .popular-content h3 {
        font-size: 1rem;
    }
    .popular-content .pop-date {
        font-size: 0.7rem;
    }
}