:root {
            --primary-color: #1a472a; 
            --secondary-color: #d4af37; 
            --accent-color: #b91d1d; 
            --text-dark: #2d3748;
            --text-light: #f7fafc;
            --bg-light: #f8f9fa;
            --bg-card: #ffffff;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --border-radius: 12px;
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --max-width: 1280px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
            line-height: 1.7;
            color: var(--text-dark);
            background-color: var(--bg-light);
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }
        ul, ol {
            list-style-position: inside;
            padding-left: 1.2em;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
            border-radius: var(--border-radius);
        }
        .container {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background-color: var(--primary-color);
            color: var(--text-light);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .my-logo {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--secondary-color);
            letter-spacing: 2px;
            text-transform: uppercase;
            font-family: 'Georgia', serif;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .my-logo i {
            color: var(--accent-color);
            font-size: 1.8rem;
        }
        .my-logo:hover {
            color: #fff;
            transform: scale(1.02);
        }
        .search-form {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            padding: 5px 15px;
            flex-grow: 0.3;
        }
        .search-form input {
            background: transparent;
            border: none;
            color: var(--text-light);
            padding: 10px;
            width: 100%;
            outline: none;
        }
        .search-form input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }
        .search-form button {
            background: none;
            border: none;
            color: var(--secondary-color);
            cursor: pointer;
            font-size: 1.2rem;
        }
        .search-form button:hover {
            color: #fff;
        }
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.8rem;
            cursor: pointer;
        }
        .main-nav ul {
            display: flex;
            gap: 30px;
        }
        .main-nav a {
            padding: 10px 5px;
            font-weight: 600;
            position: relative;
        }
        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background-color: var(--secondary-color);
            transition: var(--transition);
        }
        .main-nav a:hover::after,
        .main-nav a.active::after {
            width: 100%;
        }
        .main-nav a:hover {
            color: var(--secondary-color);
        }
        .breadcrumb {
            background-color: rgba(0, 0, 0, 0.1);
            padding: 12px 0;
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            padding-left: 0;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '>';
            margin: 0 10px;
            color: var(--secondary-color);
        }
        .breadcrumb a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 40px;
            margin: 40px auto;
        }
        .article-content {
            background-color: var(--bg-card);
            padding: 40px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .article-header {
            border-bottom: 2px solid var(--secondary-color);
            padding-bottom: 25px;
            margin-bottom: 35px;
        }
        .article-title {
            font-size: 2.8rem;
            color: var(--primary-color);
            line-height: 1.2;
            margin-bottom: 15px;
        }
        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            color: #666;
            font-size: 0.95rem;
        }
        .article-meta span {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .update-time {
            color: var(--accent-color);
            font-weight: 600;
        }
        h1, h2, h3, h4 {
            color: var(--primary-color);
            margin-top: 2.5rem;
            margin-bottom: 1.2rem;
            line-height: 1.3;
        }
        h1 {
            font-size: 2.8rem;
        }
        h2 {
            font-size: 2.2rem;
            padding-bottom: 10px;
            border-bottom: 1px solid #e2e8f0;
        }
        h3 {
            font-size: 1.8rem;
        }
        h4 {
            font-size: 1.4rem;
            color: var(--accent-color);
        }
        p {
            margin-bottom: 1.8rem;
            text-align: justify;
            font-size: 1.1rem;
        }
        .lead {
            font-size: 1.3rem;
            font-weight: 500;
            color: var(--primary-color);
            background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
            padding: 20px;
            border-left: 5px solid var(--secondary-color);
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            margin-bottom: 2.5rem;
        }
        .highlight-box {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-left: 4px solid var(--accent-color);
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            box-shadow: var(--shadow);
        }
        .highlight-box h4 {
            margin-top: 0;
        }
        .inline-link {
            color: var(--accent-color);
            font-weight: 600;
            border-bottom: 1px dashed var(--accent-color);
        }
        .inline-link:hover {
            color: var(--primary-color);
            border-bottom-style: solid;
        }
        .featured-image {
            margin: 40px 0;
            position: relative;
        }
        .featured-image figcaption {
            text-align: center;
            font-style: italic;
            color: #666;
            margin-top: 10px;
            font-size: 0.95rem;
        }
        .emoji {
            font-size: 1.2em;
            margin-right: 5px;
        }
        blockquote {
            font-style: italic;
            color: #555;
            border-left: 4px solid var(--secondary-color);
            padding-left: 25px;
            margin: 30px 0;
            background-color: rgba(212, 175, 55, 0.05);
            padding: 25px;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
        }
        .content-links {
            background-color: #f1f8e9;
            padding: 25px;
            border-radius: var(--border-radius);
            margin: 35px 0;
        }
        .content-links h3 {
            margin-top: 0;
        }
        .content-links ul {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            list-style: none;
            padding-left: 0;
        }
        .content-links li {
            background: white;
            padding: 15px;
            border-radius: 8px;
            transition: var(--transition);
        }
        .content-links li:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        .sidebar-widget {
            background-color: var(--bg-card);
            padding: 25px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.5rem;
            margin-top: 0;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--secondary-color);
        }
        .rating-widget form,
        .comment-widget form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .rating-stars {
            display: flex;
            gap: 5px;
            font-size: 1.8rem;
            color: #ddd;
            margin: 10px 0;
        }
        .rating-stars .star {
            cursor: pointer;
            transition: var(--transition);
        }
        .rating-stars .star:hover,
        .rating-stars .star.active {
            color: var(--secondary-color);
        }
        form input,
        form textarea,
        form select {
            padding: 12px 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        form input:focus,
        form textarea:focus,
        form select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.2);
        }
        form button {
            background: linear-gradient(135deg, var(--primary-color), #2d5a3d);
            color: white;
            border: none;
            padding: 15px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1.1rem;
            cursor: pointer;
            transition: var(--transition);
        }
        form button:hover {
            background: linear-gradient(135deg, #2d5a3d, var(--primary-color));
            transform: translateY(-3px);
            box-shadow: 0 7px 14px rgba(26, 71, 42, 0.3);
        }
        .site-footer {
            background-color: var(--primary-color);
            color: var(--text-light);
            padding: 60px 0 30px;
            margin-top: 60px;
        }
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        .footer-widget h4 {
            color: var(--secondary-color);
            font-size: 1.4rem;
            margin-bottom: 25px;
        }
        .footer-links {
            list-style: none;
            padding-left: 0;
        }
        .footer-links li {
            margin-bottom: 12px;
        }
        .footer-links a:hover {
            color: var(--secondary-color);
            padding-left: 8px;
        }
        friend-link {
            display: block;
            background: rgba(212, 175, 55, 0.1);
            padding: 15px;
            border-radius: 8px;
            margin: 10px 0;
            border: 1px dashed var(--secondary-color);
        }
        friend-link a {
            color: var(--secondary-color);
            font-weight: 600;
        }
        friend-link a:hover {
            text-decoration: underline;
        }
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.95rem;
            color: #ccc;
        }
        .copyright a {
            color: var(--secondary-color);
        }
        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            .article-title {
                font-size: 2.4rem;
            }
            h2 { font-size: 2rem; }
            h3 { font-size: 1.6rem; }
        }
        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
            }
            .search-form {
                order: 3;
                flex-grow: 1;
                margin-top: 15px;
            }
            .menu-toggle {
                display: block;
            }
            .main-nav {
                display: none;
                width: 100%;
                order: 4;
                margin-top: 20px;
            }
            .main-nav.active {
                display: block;
            }
            .main-nav ul {
                flex-direction: column;
                gap: 0;
            }
            .main-nav li {
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
            .main-nav a {
                display: block;
                padding: 15px 0;
            }
            .article-content {
                padding: 25px;
            }
            .article-title {
                font-size: 2rem;
            }
            .lead {
                font-size: 1.1rem;
                padding: 15px;
            }
            p {
                font-size: 1.05rem;
            }
        }
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            .article-title {
                font-size: 1.8rem;
            }
            h2 { font-size: 1.7rem; }
            h3 { font-size: 1.4rem; }
            .article-meta {
                flex-direction: column;
                gap: 10px;
            }
            .content-links ul {
                grid-template-columns: 1fr;
            }
        }
        @media print {
            .site-header,
            .sidebar,
            .site-footer,
            .search-form,
            form,
            .menu-toggle {
                display: none;
            }
            body {
                background: white;
                color: black;
                font-size: 12pt;
            }
            .container {
                max-width: 100%;
                padding: 0;
            }
            .main-content {
                grid-template-columns: 1fr;
                margin: 0;
            }
            .article-content {
                box-shadow: none;
                padding: 0;
            }
            a {
                color: black;
                text-decoration: underline;
            }
        }
