:root {
            --primary: #1a5fb4; 
            --secondary: #c64600; 
            --accent: #26a269; 
            --dark: #2a2a2a;
            --light: #f6f5f4;
            --gray: #deddda;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --radius: 8px;
            --transition: all 0.3s ease;
            --max-width: 1200px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--dark);
            background-color: var(--light);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        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: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: var(--dark);
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .my-logo {
            font-family: 'Courier New', monospace;
            font-size: 2.2rem;
            font-weight: 900;
            letter-spacing: 2px;
            background: linear-gradient(to right, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .my-logo a {
            background: none;
            -webkit-text-fill-color: unset;
        }
        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .main-nav a {
            color: white;
            font-weight: 600;
            padding: 0.5rem 0;
            border-bottom: 3px solid transparent;
        }
        .main-nav a:hover,
        .main-nav a.active {
            color: var(--secondary);
            border-bottom-color: var(--secondary);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .breadcrumb {
            background: var(--gray);
            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: #777;
        }
        main {
            flex: 1;
            padding: 2rem 0;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
        }
        article {
            background: white;
            border-radius: var(--radius);
            padding: 2.5rem;
            box-shadow: var(--shadow);
        }
        .article-header {
            border-bottom: 3px solid var(--primary);
            padding-bottom: 1.5rem;
            margin-bottom: 2rem;
        }
        h1 {
            font-size: 2.8rem;
            color: var(--dark);
            margin-bottom: 0.5rem;
            line-height: 1.2;
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #666;
            font-size: 0.95rem;
            margin-top: 1rem;
        }
        h2 {
            font-size: 2rem;
            color: var(--primary);
            margin: 2.5rem 0 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px dashed var(--gray);
        }
        h3 {
            font-size: 1.6rem;
            color: var(--secondary);
            margin: 2rem 0 1rem;
        }
        h4 {
            font-size: 1.3rem;
            color: var(--accent);
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.5rem;
            text-align: justify;
            hyphens: auto;
        }
        .highlight {
            background: #fff9e6;
            border-left: 4px solid var(--secondary);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius) var(--radius) 0;
        }
        .img-container {
            margin: 2rem auto;
            text-align: center;
        }
        .img-container img {
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            border: 5px solid white;
        }
        .img-caption {
            font-style: italic;
            color: #666;
            margin-top: 0.5rem;
            font-size: 0.9rem;
        }
        ul, ol {
            margin-left: 2rem;
            margin-bottom: 1.5rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        strong {
            color: var(--secondary);
            font-weight: 700;
        }
        em {
            color: var(--primary);
        }
        .internal-links {
            background: #f0f7ff;
            padding: 1.5rem;
            border-radius: var(--radius);
            margin: 2rem 0;
        }
        .internal-links h4 {
            margin-top: 0;
        }
        .internal-links ul {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 0.8rem;
            list-style: none;
            margin: 1rem 0 0 0;
        }
        .internal-links li {
            margin: 0;
        }
        .internal-links a {
            display: block;
            padding: 0.7rem;
            background: white;
            border-radius: calc(var(--radius) - 4px);
            border: 1px solid #d1e3ff;
        }
        .internal-links a:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-3px);
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--radius);
            padding: 1.8rem;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.4rem;
            margin-top: 0;
            border-bottom: 2px solid var(--gray);
            padding-bottom: 0.7rem;
        }
        .search-form,
        .comment-form,
        .rating-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        input, textarea, select {
            padding: 0.9rem;
            border: 1px solid var(--gray);
            border-radius: calc(var(--radius) - 4px);
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }
        input:focus,
        textarea:focus,
        select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
        }
        button, .btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 1rem 1.8rem;
            border-radius: calc(var(--radius) - 4px);
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }
        button:hover, .btn:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }
        .stars {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            font-size: 1.8rem;
            color: var(--gray);
            margin: 0.5rem 0;
        }
        .stars i {
            cursor: pointer;
            transition: var(--transition);
        }
        .stars i:hover,
        .stars i.active {
            color: #ffc107;
        }
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
            margin-top: 3rem;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .footer-logo {
            font-size: 2rem;
            font-weight: 900;
            margin-bottom: 1rem;
            color: white;
        }
        friend-link {
            display: block;
            margin-bottom: 0.8rem;
        }
        friend-link a {
            color: var(--gray);
        }
        friend-link a:hover {
            color: white;
            text-decoration: underline;
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
            .main-nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--dark);
                padding: 1rem;
                box-shadow: var(--shadow);
            }
            .main-nav.active ul {
                display: flex;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
            article {
                padding: 1.5rem;
            }
            .content-grid {
                gap: 2rem;
            }
        }
