:root {
        --primary: #8B0000;
        --secondary: #D4AF37;
        --dark: #1a1a1a;
        --light: #f5f1e6;
        --text: #333;
        --gray: #777;
        --transition: all 0.3s ease;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        --border-radius: 8px;
    }
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    html {
        scroll-behavior: smooth;
        font-size: 16px;
    }
    body {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.8;
        color: var(--text);
        background-color: var(--light);
        max-width: 100vw;
        overflow-x: hidden;
    }
    a {
        color: var(--primary);
        text-decoration: none;
        transition: var(--transition);
    }
    a:hover {
        color: var(--secondary);
        text-decoration: underline;
    }
    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-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .my-logo {
        font-family: 'Times New Roman', serif;
        font-size: 2.2rem;
        font-weight: bold;
        color: var(--secondary);
        text-transform: uppercase;
        letter-spacing: 2px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    .my-logo:hover {
        text-decoration: none;
        color: white;
    }
    .nav-desktop {
        display: flex;
        gap: 2rem;
    }
    .nav-desktop a {
        color: white;
        font-weight: 500;
    }
    .nav-desktop a:hover {
        color: var(--secondary);
    }
    .hamburger {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
    }
    .nav-mobile {
        display: none;
        flex-direction: column;
        background-color: var(--dark);
        padding: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: var(--shadow);
    }
    .nav-mobile.active {
        display: flex;
    }
    .nav-mobile a {
        color: white;
        padding: 0.8rem 0;
        border-bottom: 1px solid #444;
    }
    .nav-mobile a:last-child {
        border-bottom: none;
    }
    .breadcrumb {
        background-color: #eee;
        padding: 0.8rem 0;
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    .breadcrumb a {
        color: var(--gray);
    }
    .breadcrumb span {
        color: var(--gray);
        margin: 0 5px;
    }
    .search-section {
        background: linear-gradient(135deg, var(--primary), #5a0000);
        color: white;
        padding: 2rem 0;
        margin-bottom: 3rem;
        text-align: center;
        border-radius: var(--border-radius);
    }
    .search-form {
        max-width: 600px;
        margin: 1rem auto 0;
        display: flex;
    }
    .search-form input {
        flex: 1;
        padding: 1rem;
        border: none;
        border-radius: var(--border-radius) 0 0 var(--border-radius);
        font-size: 1rem;
    }
    .search-form button {
        background-color: var(--secondary);
        color: var(--dark);
        border: none;
        padding: 0 1.5rem;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        cursor: pointer;
        font-weight: bold;
        transition: var(--transition);
    }
    .search-form button:hover {
        background-color: #e6c34c;
    }
    .main-content {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 3rem;
        margin-bottom: 3rem;
    }
    @media (max-width: 768px) {
        .main-content {
            grid-template-columns: 1fr;
        }
    }
    article {
        background-color: white;
        padding: 2.5rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
    }
    h1 {
        font-size: 2.8rem;
        color: var(--primary);
        margin-bottom: 1.5rem;
        line-height: 1.2;
        border-bottom: 3px solid var(--secondary);
        padding-bottom: 1rem;
    }
    h2 {
        font-size: 2rem;
        color: var(--dark);
        margin: 2.5rem 0 1.2rem;
        padding-left: 10px;
        border-left: 5px solid var(--primary);
    }
    h3 {
        font-size: 1.6rem;
        color: #555;
        margin: 2rem 0 1rem;
    }
    h4 {
        font-size: 1.3rem;
        color: var(--gray);
        margin: 1.5rem 0 0.8rem;
    }
    p {
        margin-bottom: 1.5rem;
        text-align: justify;
    }
    .lead {
        font-size: 1.3rem;
        font-weight: bold;
        color: var(--dark);
        background-color: #fff8e1;
        padding: 1.5rem;
        border-radius: var(--border-radius);
        margin-bottom: 2.5rem;
        border-left: 4px solid var(--secondary);
    }
    .highlight {
        background-color: #ffeaa7;
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: bold;
    }
    .image-container {
        margin: 2.5rem 0;
        text-align: center;
    }
    .image-container img {
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        margin: 0 auto;
    }
    .image-caption {
        font-style: italic;
        color: var(--gray);
        margin-top: 0.5rem;
        font-size: 0.95rem;
    }
    .content-link {
        font-weight: 600;
        background-color: #f8f9fa;
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
        border: 1px dashed #ccc;
    }
    blockquote {
        border-left: 4px solid var(--secondary);
        padding-left: 1.5rem;
        margin: 2rem 0;
        font-style: italic;
        color: #555;
        background-color: #f9f9f9;
        padding: 1.5rem;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
    }
    .sidebar {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .widget {
        background-color: white;
        padding: 1.8rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
    }
    .widget h3 {
        color: var(--primary);
        margin-top: 0;
        border-bottom: 2px solid #eee;
        padding-bottom: 0.7rem;
    }
    .related-links {
        list-style: none;
    }
    .related-links li {
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid #eee;
    }
    .related-links li:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .interactive-section {
        background-color: #f8f9fa;
        border-radius: var(--border-radius);
        padding: 2rem;
        margin: 3rem 0;
        border: 1px solid #dee2e6;
    }
    .rating-form, .comment-form {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    .star-rating {
        display: flex;
        gap: 0.5rem;
        font-size: 1.8rem;
        color: #ddd;
        cursor: pointer;
        margin-bottom: 1rem;
    }
    .star-rating .star:hover,
    .star-rating .star.active {
        color: var(--secondary);
    }
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    .form-group label {
        font-weight: 600;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.9rem;
        border: 1px solid #ccc;
        border-radius: var(--border-radius);
        font-family: inherit;
        font-size: 1rem;
        transition: var(--transition);
    }
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
    }
    .submit-btn {
        background-color: var(--primary);
        color: white;
        border: none;
        padding: 1rem 2rem;
        border-radius: var(--border-radius);
        font-size: 1.1rem;
        font-weight: bold;
        cursor: pointer;
        transition: var(--transition);
        align-self: flex-start;
    }
    .submit-btn:hover {
        background-color: #a30000;
        transform: translateY(-2px);
    }
    .site-footer {
        background-color: var(--dark);
        color: #ccc;
        padding: 3rem 0 1.5rem;
        margin-top: 4rem;
    }
    .footer-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .footer-logo {
        font-size: 2rem;
        color: var(--secondary);
        margin-bottom: 1rem;
        display: block;
    }
    .footer-links h4 {
        color: white;
        margin-bottom: 1.2rem;
        font-size: 1.2rem;
    }
    .footer-links ul {
        list-style: none;
    }
    .footer-links li {
        margin-bottom: 0.7rem;
    }
    .footer-links a {
        color: #aaa;
    }
    .footer-links a:hover {
        color: var(--secondary);
    }
    friend-link {
        display: block;
        background-color: #222;
        padding: 1.5rem;
        border-radius: var(--border-radius);
        margin-bottom: 1.5rem;
        border-left: 4px solid var(--primary);
    }
    friend-link a {
        color: var(--secondary);
        font-weight: bold;
        font-size: 1.1rem;
    }
    .copyright {
        text-align: center;
        padding-top: 1.5rem;
        border-top: 1px solid #444;
        color: #888;
        font-size: 0.9rem;
    }
    .update-time {
        background-color: #e7f5e9;
        padding: 1rem;
        border-radius: var(--border-radius);
        margin: 2rem 0;
        font-size: 0.95rem;
        color: #2e7d32;
        display: flex;
        align-items: center;
        gap: 0.7rem;
    }
    .update-time i {
        color: #2e7d32;
    }
    @media (max-width: 992px) {
        h1 {
            font-size: 2.4rem;
        }
        h2 {
            font-size: 1.8rem;
        }
        article {
            padding: 2rem;
        }
    }
    @media (max-width: 768px) {
        .nav-desktop {
            display: none;
        }
        .hamburger {
            display: block;
        }
        h1 {
            font-size: 2rem;
        }
        h2 {
            font-size: 1.6rem;
        }
        .header-container {
            padding: 0 15px;
        }
    }
    @media (max-width: 480px) {
        .container {
            padding: 0 15px;
        }
        article {
            padding: 1.5rem;
        }
        .search-form {
            flex-direction: column;
        }
        .search-form input,
        .search-form button {
            width: 100%;
            border-radius: var(--border-radius);
            margin-bottom: 0.5rem;
        }
    }
