/* 導入基礎樣式 */
@import url('style-index.css');

/* 新聞詳情頁面樣式 */
.news-detail {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

/* 新聞標題區塊 */
.news-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.news-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
}

.news-header .date {
    color: #666;
    font-size: 1.1rem;
    font-style: italic;
}

/* 新聞內容區塊 */
.news-content {
    line-height: 1.8;
    color: #444;
}

.news-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* 圖片樣式 */
.news-image {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-image:hover {
    transform: scale(1.02);
}

/* 位置和日期樣式 */
.location-date {
    font-weight: 500;
    color: #666;
    margin: 2rem 0;
    padding-left: 1rem;
    border-left: 3px solid #0066cc;
}

/* 公司資訊樣式 */
.company-info {
    font-style: italic;
    color: #444;
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 3px solid #0066cc;
    background: #f8f8f8;
}

/* 引用區塊樣式 */
blockquote {
    margin: 2.5rem 0;
    padding: 2rem;
    border-left: 5px solid #0066cc;
    background: #f8f8f8;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.6;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    color: #666;
    font-style: italic;
    font-size: 1rem;
}

/* 標題樣式 */
h2 {
    font-size: 1.8rem;
    color: #333;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

/* 特色區塊樣式 */
.feature-section {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.feature-section h4 {
    color: #0066cc;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* 列表樣式 */
.news-content ul {
    margin: 1.5rem 0 2rem 2rem;
    list-style-type: disc;
}

.news-content ul li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
    font-size: 1.1rem;
}

.feature-section ul {
    list-style-type: circle;
    margin-left: 2rem;
    margin-top: 0.5rem;
}

.feature-section ul li {
    margin-bottom: 0.5rem;
    color: #444;
}

/* 連結樣式 */
.news-content a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content a:hover {
    color: #004999;
    text-decoration: underline;
}

/* 分隔線 */
hr {
    margin: 3rem 0;
    border: none;
    border-top: 1px solid #eee;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .news-detail {
        margin: 80px auto 40px;
        padding: 0 15px;
    }
    
    .news-header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .news-content p {
        font-size: 1rem;
    }
    
    blockquote {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    blockquote p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .news-image {
        margin: 1.5rem auto;
    }
    
    .feature-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .news-header h1 {
        font-size: 1.8rem;
    }
    
    .news-content p {
        font-size: 0.95rem;
    }
    
    blockquote {
        padding: 1.2rem;
    }
    
    blockquote p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
}

/* 列印樣式 */
@media print {
    .news-detail {
        margin: 0;
        padding: 0;
    }
    
    .news-image {
        max-width: 100%;
        box-shadow: none;
    }
    
    blockquote {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}