﻿/* 文章頁特定樣式 */

/* 文章頁主體 */
.article-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.article-main {
    flex: 1;
    min-width: 0;
}

.article-sidebar {
    width: 300px;
}

/* 文章頭部 */
.article-header {
    margin-bottom: 30px;
}
/* 主容器樣式 */
.main-container {
    padding-top: 30px;
    padding-bottom: 50px;
}

/* 文章容器樣式 */
.article-container {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 2%;
    margin-top: 20px;
}

/* 麵包屑導航樣式 */
.breadcrumb {
    padding: 10px 0;
    margin-bottom: 20px;
    color: #b0b0b0;
    font-size: 14px;
}

.breadcrumb a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #e60000;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #666;
}

/* 文章標題樣式 */
.article-title {
    font-size: 28px;
    color: #ffcc00;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* 文章元信息樣式 */
.article-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.article-tag-link {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-tag-link:hover {
    color: #e60000;
    text-decoration: underline;
}

/* 文章內容樣式 */
.article-content {
    line-height: 1.8;
    color: #e0e0e0;
    font-size: 16px;
}

.article-content h2 {
    font-size: 22px;
    color: #ffcc00;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px dotted #ffcc00;
}

.article-content a:hover {
    color: #e60000;
    border-bottom-color: #e60000;
}

.article-content strong {
    color: #fff;
    font-weight: bold;
}

/* 文章橫幅圖片樣式 */
.article-banner {
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
}

.article-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 社交分享樣式 */
.social-share {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #252525;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background-color: #e60000;
    transform: translateY(-3px);
}

/* 文章導航樣式 */
.article-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.article-navigation a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px;
    background-color: #1e1e1e;
    border-radius: 5px;
}

.article-navigation a:hover {
    color: #ffcc00;
    background-color: #252525;
}

/* 側邊欄樣式 */
.article-sidebar {
    padding-top: 20px;
}

.sidebar-section {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 20px;
    color: #ffcc00;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

/* 最新文章列表樣式 */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    display: flex;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.recent-post-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-image {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.recent-post-title a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: #ffcc00;
}

.recent-post-date {
    font-size: 12px;
    color: #888;
}

/* 標籤雲樣式 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 10px;
    background-color: #252525;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background-color: #e60000;
    color: #fff;
    transform: translateY(-2px);
}

/* 推薦閱讀樣式 */
.recommended-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommended-posts a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    padding: 10px;
    background-color: #252525;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.recommended-posts a:hover {
    background-color: #333;
    color: #ffcc00;
    transform: translateX(5px);
}

/* 移動端適配 */
@media (max-width: 992px) {
    .article-container {
        grid-template-columns: 65% 33%;
    }
}

@media (max-width: 768px) {
    .article-container {
        grid-template-columns: 100%;
    }
    
    .article-sidebar {
        margin-top: 40px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-content h2 {
        font-size: 20px;
    }
}
.article-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffcc00;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.article-meta-item {
    display: flex;
    align-items: center;
}

.article-meta-icon {
    margin-right: 5px;
}

.article-featured-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* 文章內容 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 30px 0 15px;
    color: #ffcc00;
}

.article-content h3 {
    font-size: 20px;
    font-weight: bold;
    margin: 25px 0 15px;
    color: #ffcc00;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #ffcc00;
    text-decoration: none;
}

.article-content img {
    max-width: 100%;
    border-radius: 5px;
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 3px solid #ffcc00;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #b0b0b0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content th, .article-content td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}

.article-content th {
    background-color: #252525;
}

/* 文章標籤