/* --- news.php 專屬樣式 (提醒：許多規則可能適合移到 main.css) --- */

.bx-chevron-down:before {
    content: "";
}

.faq .faq-list i { /* 這個 .faq 相關的，如果 news.php 沒用到，可以考慮移除 */
    font-size: 14px;
}

.blog-section .post-entry .post-thumbnail {
    display: block;
    margin-bottom: 20px;
}

.blog-section .post-entry a {
    text-decoration: none;
    font-weight: 700;
    font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif; /* 加上備用字型 */
}

.blog-section .post-entry .post-content-entry {
    padding-left: 15px;
    padding-right: 15px;
}
h3 {
    font-size: 1.17em; /* 約 18.72px，對於文章標題可能稍小，可調整 */
    font-weight: 700;
}

.blog-section .post-entry .post-thumbnail img {
    border-radius: 20px;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}
.blog-section .post-entry .post-thumbnail img:hover {
    transform: scale(1.05); /* 加上 hover 效果 */
}

.type {
    font-size: 16px;
    padding: 2px 12px;
    border: #d7d7d7 1px solid;
    display: inline-block;
    border-radius: 4px;
    margin-right: 10px; /* 和 time 分隔 */
}

.time {
    /* background-size: 13px; */ /* 似乎沒有 background-image */
    font-size: 16px;
    /* padding-bottom: 8px; */ /* 如果希望和 .type 對齊，padding 可能需要調整 */
    color: #686868;
    float: right; /* 使用 float 注意清除浮動問題，或改用 flexbox 排列 meta */
    font-weight: 700;
}

.meta {
    margin-top: 10px;
    overflow: hidden; /* 清除 .time 的浮動 */
}

.title-rw { /* 這個 class 似乎只在特色文章的 .meta 中使用 */
    margin-bottom: 20%;
}

@media(max-width:720px) {
    .title-rw {
        margin-bottom: 0;
    }
}

/* --- news.php 行內樣式轉換 --- */
.news-date-featured {
    color: #ffb913;
    font-size: 18px;
    line-height: 3.2rem; /* 這個 line-height 很大，請確認效果 */
    font-weight: 700;
    display: block; /* 讓日期獨佔一行或方便控制 margin */
    margin-bottom: 10px; /* 與標題的間距 */
}

.news-title-featured h3 { /* 更精確地指定特色文章的 h3 */
    margin: 0 0 20px 0; /* 上0，左右0，下20px */
    font-weight: 700;
    font-size: 20px; /* 可以調整 */
    letter-spacing: 1px;
    /* align-content 和 align-items 對 h3 通常無效，除非其父容器是 flex/grid */
}
.news-title-featured h3 a {
    color: #333; /* 標題連結顏色 */
}
.news-title-featured h3 a:hover {
    color: #545454; /* 標題連結 hover 顏色 */
}


.news-grid-image-fixed-height {
    height: 260px;
    width: 100%; /* 確保寬度填滿 */
    object-fit: cover; /* 保持圖片比例並填滿容器，多餘部分裁切 */
    border-radius: 15px; /* 圓角與特色文章圖片的 .post-thumbnail img 一致 (可選) */
}

.post-content-entry h3 { /* 一般列表文章的 h3 */
    font-size: 18px; /* 調整列表文章標題大小 */
    margin-top: 15px; /* 與圖片的間距 */
    margin-bottom: 10px; /* 與 meta 的間距 */
}
.post-content-entry h3 a {
    color: #333;
}
.post-content-entry h3 a:hover {
    color: #545454;
}

