/* 基礎樣式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
        }
        
        a {
            text-decoration: none;
            color: #0088cc;
            transition: color 0.3s;
        }
        
        a:hover {
            color: #005580;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 頭部樣式 */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #0088cc;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            margin-right: 10px;
        }
        
        .breadcrumb {
            background-color: #f1f1f1;
            padding: 10px 0;
            font-size: 14px;
        }
        
        .breadcrumb a {
            color: #666;
        }
        
        .breadcrumb a:hover {
            color: #0088cc;
        }
        
        /* 導航樣式 */
        nav {
            background-color: #0088cc;
        }
        
        .nav-menu {
            display: flex;
            list-style: none;
        }
        
        .nav-menu li {
            position: relative;
        }
        
        .nav-menu a {
            display: block;
            padding: 15px 20px;
            color: white;
            font-weight: 500;
        }
        
        .nav-menu a:hover {
            background-color: #006699;
        }
        
        /* 主要內容區樣式 */
        .main-content {
            display: flex;
            margin: 30px 0;
            gap: 30px;
        }
        
        .content {
            flex: 3;
        }
        
        .sidebar {
            flex: 1;
        }
        
        .section {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 20px;
            margin-bottom: 30px;
        }
        
        .section-title {
            font-size: 20px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
        }
        
        .section-title i {
            margin-right: 10px;
            color: #0088cc;
        }
        
        /* 文章列表樣式 */
        .article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .article-card {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        
        .article-card:hover {
            transform: translateY(-5px);
        }
        
        .article-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        
        .article-content {
            padding: 15px;
        }
        
        .article-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .article-meta {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #666;
            margin-bottom: 10px;
        }
        
        .article-description {
            font-size: 14px;
            color: #555;
            line-height: 1.5;
        }
        
        /* 側邊欄樣式 */
        .widget {
            margin-bottom: 30px;
        }
        
        .widget-title {
            font-size: 18px;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
            display: flex;
            align-items: center;
        }
        
        .widget-title i {
            margin-right: 10px;
            color: #0088cc;
        }
        
        .popular-list, .random-list {
            list-style: none;
        }
        
        .popular-list li, .random-list li {
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
        }
        
        .popular-list li:last-child, .random-list li:last-child {
            border-bottom: none;
        }
        
        .popular-list i, .random-list i {
            margin-right: 10px;
            color: #0088cc;
        }
        
        .popular-list .meta, .random-list .meta {
            font-size: 12px;
            color: #888;
            margin-top: 5px;
        }
        
        .friend-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .friend-links a {
            background-color: #f0f0f0;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 14px;
        }
        
        .friend-links a:hover {
            background-color: #e0e0e0;
        }
        
        /* 底部樣式 */
        footer {
            background-color: #333;
            color: #fff;
            padding: 40px 0 20px;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
        }
        
        .footer-section {
            flex: 1;
            padding: 0 15px;
        }
        
        .footer-section h3 {
            font-size: 18px;
            margin-bottom: 20px;
            color: #0088cc;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #ccc;
        }
        
        .footer-links a:hover {
            color: #0088cc;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
            color: #999;
            font-size: 14px;
        }
        
        /* 返回頂部按鈕 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #0088cc;
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 999;
        }
        
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: #006699;
        }
        
        /* 響應式設計 */
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
            
            .article-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .footer-content {
                flex-direction: column;
            }
            
            .footer-section {
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .nav-menu {
                flex-direction: column;
            }
            
            .article-grid {
                grid-template-columns: 1fr;
            }
            
            .header-top {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .logo {
                margin-bottom: 10px;
            }
        }