/* 文字內容區域樣式 - 參照 cust_dbpage_benq.css */
.text-content-section {
    padding: 80px 0;
    margin: 0;
    margin-bottom: 100px;
}

.text-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 140px;
}

/* 文字頁面通用樣式 */
.text-page {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.text-page p {
    margin-bottom: 24px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
}

.text-page p:last-of-type {
    margin-bottom: 0;
}

.text-page span {
    font-family: 'Noto Sans TC', sans-serif;
}

/* 章節標題樣式 - 參照 intro-title */
.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #8B7BC7;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

/* 第一個標題不要上邊距 */
.text-page p:first-child .section-title {
    margin-top: 0;
}

/* 預設頁面樣式 */
#default_page {
    text-align: center;
    padding: 80px 0;
}

.default-message {
    margin: 0;
}

.default-message span {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 18px;
    color: #999;
}

/* 搜尋結果頁面樣式 */
.news-list-container {
    width: 80%;
    margin: 0 auto !important;
    padding: 0 0px 20px 60px;
}

/* 新聞列表 */
.news-list {
    margin-top: 40px;
    max-width: 800px;
}

/* 新聞連結 */
.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-link:hover {
    text-decoration: none;
}

.news-link:hover .news-date,
.news-link:hover .news-title,
.news-link:hover .news-separator,
.news-link:hover .news-arrow {
    color: #b5b5da !important;
}

/* 新聞項目 */
.news-item {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-right: 10px;
    min-width: 100px;
    font-weight: normal;
    transition: color 0.3s ease;
}

.news-separator {
    color: #666;
    font-size: 14px;
    margin-right: 10px;
    font-weight: normal;
    transition: color 0.3s ease;
}

.news-title {
    letter-spacing: 0.1em;
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin: 0;
    flex: 1;
    transition: color 0.3s ease;
}

.news-arrow {
    color: #666;
    font-size: 18px;
    font-weight: normal;
    margin-left: 10px;
    transition: color 0.3s ease;
}

/* 無資料訊息 */
.no-news-message {
    text-align: center;
    padding: 60px 20px;
}

.no-news-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-news-content h3 {
    color: #333;
    font-size: 24px;
    margin: 10px 0;
}

.no-news-content p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* 響應式設計 - 參照 cust_dbpage_benq.css */
@media (max-width: 1024px) {
    .text-content-container {
        padding: 0 30px;
    }
    
    .text-page p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .news-list-container {
        width: 90%;
        padding: 0 20px 20px 40px;
    }
}

@media (max-width: 768px) {
    .text-content-section {
        padding: 60px 0;
    }
    
    .text-content-container {
        padding: 0 20px;
    }
    
    .text-page p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 26px;
        margin: 30px 0 15px 0;
    }
    
    #default_page {
        padding: 60px 20px;
    }
    
    .news-list-container {
        width: 95%;
        padding: 0 10px 20px 20px;
    }
    
    .news-item {
        padding: 12px 0;
    }
    
    .news-date {
        font-size: 12px;
        min-width: 80px;
    }
    
    .news-separator {
        font-size: 12px;
    }
    
    .news-title {
        font-size: 13px;
    }
    
    .news-arrow {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .text-content-container {
        padding: 0 15px;
    }
    
    .text-page p {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .section-title {
        font-size: 22px;
        margin: 25px 0 12px 0;
    }
    
    #default_page {
        padding: 50px 15px;
    }
    
    .default-message span {
        font-size: 15px;
    }
    
    .news-item {
        flex-wrap: wrap;
        padding: 10px 0;
    }
    
    .news-date {
        font-size: 11px;
        min-width: 70px;
        margin-right: 5px;
    }
    
    .news-separator {
        font-size: 11px;
        margin-right: 5px;
    }
    
    .news-title {
        font-size: 12px;
        flex-basis: 100%;
        margin-top: 5px;
    }
    
    .news-arrow {
        font-size: 14px;
        margin-left: 5px;
    }
}
