:root {
            --primary-color: #2a5c8c;
            --secondary-color: #d4a017;
            --accent-color: #c53b3b;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --text-color: #333;
            --text-light: #6c757d;
            --border-radius: 8px;
            --box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
            --max-width: 1200px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            line-height: 1.7;
            color: var(--text-color);
            background-color: #fff;
            overflow-x: hidden;
        }
        a {
            color: var(--primary-color);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--accent-color);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-size: 2.2rem;
            font-weight: 800;
            letter-spacing: 1px;
            background: linear-gradient(to right, var(--secondary-color), #ffd86f);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        .my-logo a {
            color: inherit;
            background: none;
        }
        .main-nav {
            display: flex;
            align-items: center;
        }
        .nav-list {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .nav-list a {
            color: white;
            font-weight: 600;
            padding: 0.5rem 0;
            border-bottom: 2px solid transparent;
        }
        .nav-list a:hover,
        .nav-list a.active {
            color: var(--secondary-color);
            border-bottom-color: var(--secondary-color);
        }
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .breadcrumb {
            padding: 1rem 0;
            background-color: #f1f3f5;
            font-size: 0.9rem;
        }
        .breadcrumb-list {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .breadcrumb-item:not(:last-child)::after {
            content: "›";
            margin-left: 0.5rem;
            color: var(--text-light);
        }
        .search-section {
            background-color: var(--light-color);
            padding: 2rem 0;
            text-align: center;
            border-bottom: 1px solid #dee2e6;
        }
        .search-form {
            max-width: 600px;
            margin: 0 auto;
            display: flex;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: var(--box-shadow);
        }
        .search-input {
            flex-grow: 1;
            padding: 1rem 1.5rem;
            border: none;
            font-size: 1rem;
            outline: none;
        }
        .search-button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 0 1.8rem;
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
        }
        .search-button:hover {
            background-color: var(--accent-color);
        }
        .main-content {
            padding: 3rem 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        .article-content {
            font-size: 1.1rem;
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px dashed #ccc;
            color: var(--text-light);
            font-size: 0.95rem;
        }
        .update-time {
            font-style: italic;
        }
        .featured-image {
            margin: 2rem 0;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
        }
        .featured-image img {
            width: 100%;
            max-height: 500px;
            object-fit: cover;
        }
        .image-caption {
            text-align: center;
            font-style: italic;
            padding: 0.5rem;
            background-color: var(--light-color);
            color: var(--text-light);
            font-size: 0.9rem;
        }
        h1 {
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            color: var(--dark-color);
            line-height: 1.2;
            border-left: 5px solid var(--secondary-color);
            padding-left: 1.5rem;
        }
        h2 {
            font-size: 2.2rem;
            margin: 2.5rem 0 1.2rem;
            color: var(--primary-color);
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #eee;
        }
        h3 {
            font-size: 1.8rem;
            margin: 2rem 0 1rem;
            color: var(--dark-color);
        }
        h4 {
            font-size: 1.4rem;
            margin: 1.5rem 0 0.8rem;
            color: #555;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.3rem;
            font-weight: 300;
            color: var(--primary-color);
            margin-bottom: 2rem;
            line-height: 1.6;
        }
        .highlight {
            background-color: rgba(212, 160, 23, 0.1);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            border-left: 4px solid var(--secondary-color);
            margin: 2rem 0;
        }
        .highlight p:last-child {
            margin-bottom: 0;
        }
        strong {
            color: var(--dark-color);
            font-weight: 700;
        }
        .emoji {
            font-size: 1.2em;
            margin: 0 0.2em;
        }
        .sidebar {
            position: sticky;
            top: 120px;
            height: fit-content;
        }
        .widget {
            background-color: var(--light-color);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-bottom: 2rem;
        }
        .widget-title {
            font-size: 1.3rem;
            margin-bottom: 1.2rem;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .widget-title i {
            color: var(--secondary-color);
        }
        .rating-form, .comment-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .star-rating {
            display: flex;
            gap: 0.3rem;
            justify-content: center;
            font-size: 1.8rem;
            color: #ddd;
            cursor: pointer;
            margin-bottom: 0.5rem;
        }
        .star-rating .star:hover,
        .star-rating .star.active {
            color: var(--secondary-color);
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .form-group label {
            font-weight: 600;
            font-size: 0.95rem;
        }
        .form-control {
            padding: 0.8rem 1rem;
            border: 1px solid #ced4da;
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: var(--transition);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 0.2rem rgba(42, 92, 140, 0.2);
        }
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        .btn {
            padding: 0.9rem 1.8rem;
            border: none;
            border-radius: var(--border-radius);
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }
        .btn-primary:hover {
            background-color: #1e4569;
            transform: translateY(-2px);
        }
        .btn-accent {
            background-color: var(--accent-color);
            color: white;
        }
        .btn-accent:hover {
            background-color: #a32e2e;
        }
        .link-list {
            list-style: none;
        }
        .link-list li {
            padding: 0.8rem 0;
            border-bottom: 1px solid #eee;
        }
        .link-list li:last-child {
            border-bottom: none;
        }
        .link-list a {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .link-list i {
            color: var(--secondary-color);
            width: 1.2rem;
        }
        .site-footer {
            background-color: var(--dark-color);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-section h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--secondary-color);
            padding-bottom: 0.5rem;
            display: inline-block;
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #ccc;
        }
        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background-color: rgba(255,255,255,0.05);
            padding: 1rem;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
            border-left: 3px solid var(--secondary-color);
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .mobile-toggle {
                display: block;
            }
            .main-nav {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: var(--dark-color);
                flex-direction: column;
                align-items: stretch;
                padding: 1rem;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
                box-shadow: 0 5px 15px rgba(0,0,0,0.1);
                z-index: 999;
            }
            .main-nav.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            .nav-list {
                flex-direction: column;
                gap: 0;
            }
            .nav-list li {
                width: 100%;
            }
            .nav-list a {
                display: block;
                padding: 1rem;
                border-bottom: 1px solid #444;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            h3 {
                font-size: 1.5rem;
            }
            .lead {
                font-size: 1.1rem;
            }
        }
        .text-center {
            text-align: center;
        }
        .mb-3 { margin-bottom: 3rem; }
        .mt-3 { margin-top: 3rem; }
        .py-2 { padding-top: 2rem; padding-bottom: 2rem; }
