:root {
            --primary: #2a4d8f;
            --secondary: #e63946;
            --accent: #ffba08;
            --dark: #1d3557;
            --light: #f1faee;
            --gray: #8d99ae;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --radius: 8px;
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: #333;
            background-color: #f8f9fa;
            max-width: 100%;
            overflow-x: hidden;
        }
        a {
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        a:hover {
            color: var(--secondary);
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background-color: var(--dark);
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: 'Impact', 'Arial Black', sans-serif;
            font-size: 2.2rem;
            font-weight: bold;
            color: var(--accent);
            text-shadow: 2px 2px 0 var(--secondary);
            letter-spacing: 1px;
        }
        .my-logo a {
            color: inherit;
        }
        .my-logo span {
            color: var(--light);
            text-shadow: 1px 1px 0 var(--primary);
        }
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            color: white;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
        }
        .main-nav a:hover,
        .main-nav a.active {
            background-color: var(--primary);
            color: var(--accent);
        }
        .breadcrumb {
            background-color: #e9ecef;
            padding: 0.8rem 0;
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
        .breadcrumb li:not(:last-child)::after {
            content: "›";
            margin: 0 10px;
            color: var(--gray);
        }
        .breadcrumb a {
            color: var(--dark);
        }
        .hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            color: white;
            padding: 3rem 0;
            text-align: center;
            margin-bottom: 2rem;
        }
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .search-box {
            max-width: 600px;
            margin: 2rem auto 0;
            display: flex;
        }
        .search-box input {
            flex: 1;
            padding: 1rem;
            border: none;
            border-radius: var(--radius) 0 0 var(--radius);
            font-size: 1rem;
        }
        .search-box button {
            background-color: var(--secondary);
            color: white;
            border: none;
            padding: 1rem 1.5rem;
            border-radius: 0 var(--radius) var(--radius) 0;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
        }
        .search-box button:hover {
            background-color: #c1121f;
        }
        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2.5rem;
            margin: 2rem 0;
        }
        @media (max-width: 992px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
        }
        .main-content {
            background: white;
            padding: 2.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid #eee;
            padding-bottom: 1rem;
            margin-bottom: 2rem;
            font-size: 0.95rem;
            color: var(--gray);
        }
        .update-time {
            color: var(--secondary);
            font-weight: bold;
        }
        h1, h2, h3, h4 {
            color: var(--dark);
            margin-top: 2rem;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        h1 {
            font-size: 2.8rem;
            border-bottom: 3px solid var(--accent);
            padding-bottom: 0.5rem;
        }
        h2 {
            font-size: 2.2rem;
            color: var(--primary);
            padding-left: 0.5rem;
            border-left: 5px solid var(--secondary);
        }
        h3 {
            font-size: 1.8rem;
            color: var(--secondary);
        }
        h4 {
            font-size: 1.4rem;
            color: #555;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary);
            background-color: #f0f7ff;
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 2rem;
            border-left: 4px solid var(--accent);
        }
        emoji {
            font-size: 1.2em;
            margin-right: 5px;
        }
        .highlight {
            background-color: #fff9db;
            padding: 2rem;
            border-radius: var(--radius);
            border: 1px dashed var(--accent);
            margin: 2rem 0;
        }
        .highlight strong {
            color: var(--secondary);
            font-size: 1.1rem;
        }
        .img-wrapper {
            margin: 2.5rem auto;
            text-align: center;
            max-width: 800px;
        }
        .img-wrapper img {
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border: 5px solid white;
        }
        .img-caption {
            font-style: italic;
            color: var(--gray);
            margin-top: 0.5rem;
            font-size: 0.95rem;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.5rem;
            margin-top: 0;
            border-bottom: 2px solid #eee;
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
        }
        .related-links ul {
            list-style: none;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px dotted #eee;
        }
        .related-links li:last-child {
            border-bottom: none;
        }
        .comment-form, .rating-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 2px solid #eee;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        .form-group label {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            padding: 0.8rem;
            border: 1px solid #ccc;
            border-radius: var(--radius);
            font-family: inherit;
            font-size: 1rem;
        }
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        .rating-stars {
            display: flex;
            gap: 0.5rem;
            font-size: 1.8rem;
            color: #ddd;
            cursor: pointer;
            margin-bottom: 1rem;
        }
        .rating-stars .star:hover,
        .rating-stars .star.active {
            color: var(--accent);
        }
        .btn-submit {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: var(--radius);
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            align-self: flex-start;
        }
        .btn-submit:hover {
            background-color: var(--dark);
        }
        .site-footer {
            background-color: var(--dark);
            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-logo {
            font-size: 2rem;
            font-weight: bold;
            color: var(--accent);
            margin-bottom: 1rem;
        }
        .footer-links h4 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 1rem;
        }
        .footer-links ul {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        .footer-links a {
            color: #ccc;
        }
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        friend-link {
            display: block;
            background: rgba(255,255,255,0.05);
            padding: 1rem;
            border-radius: var(--radius);
            margin-bottom: 1rem;
            border-left: 3px solid var(--accent);
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }
        @media (max-width: 768px) {
            .header-content {
                flex-wrap: wrap;
            }
            .nav-toggle {
                display: block;
            }
            .main-nav {
                width: 100%;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.5s ease;
            }
            .main-nav.active {
                max-height: 300px;
                margin-top: 1rem;
            }
            .main-nav ul {
                flex-direction: column;
                gap: 0;
            }
            .main-nav li {
                width: 100%;
            }
            .main-nav a {
                display: block;
                padding: 0.8rem 0;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
            .hero h1 {
                font-size: 2.2rem;
            }
            .main-content {
                padding: 1.5rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            h3 {
                font-size: 1.5rem;
            }
        }
        @media print {
            .site-header, .sidebar, .comment-form, .rating-form, .site-footer, .search-box, .nav-toggle {
                display: none;
            }
            .content-wrapper {
                grid-template-columns: 1fr;
            }
            body {
                background: white;
                color: black;
            }
            a {
                color: black;
                text-decoration: underline;
            }
        }
