/* =========================================
   阿鹿小站 v2.0 - 最新消息內文頁專屬樣式 (news.css)
   ========================================= */

.news-article-container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.news-article-header {
    border-bottom: 2px solid #f1f2f6;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.news-article-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-article-meta {
    color: #7f8c8d;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.news-article-badge {
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.news-article-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
    overflow-wrap: break-word;
}

/* 確保編輯器傳上來的圖片與影片不會破版 (RWD) */
.news-article-body img {
    max-width: 100%;
    height: auto !important;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-article-body iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

.btn-back {
    display: inline-block;
    margin-top: 50px;
    padding: 12px 30px;
    background: #ecf0f1;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #bdc3c7;
    transform: translateY(-2px);
}

/* 手機版適應 */
@media (max-width: 768px) {
    .news-article-container {
        padding: 20px;
        margin: 20px;
    }
    .news-article-title {
        font-size: 1.5rem;
    }
}