:root {
            --primary-color: #003366;
            --secondary-color: #CC0000;
            --accent-color: #009900;
            --text-color: #333333;
            --light-bg: #f8f9fa;
            --border-color: #dee2e6;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.7;
            color: var(--text-color);
            background-color: #ffffff;
            overflow-x: hidden;
        }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background: linear-gradient(135deg, var(--primary-color), #001a33);
            color: white;
            padding: 1rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            text-decoration: none;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo i {
            color: var(--secondary-color);
        }
        .search-form {
            display: flex;
            flex: 1;
            max-width: 400px;
            margin: 0 20px;
        }
        .search-form input {
            flex: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 25px 0 0 25px;
            font-size: 1rem;
        }
        .search-form button {
            background-color: var(--secondary-color);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 0 25px 25px 0;
            cursor: pointer;
            transition: background 0.3s;
        }
        .search-form button:hover {
            background-color: #990000;
        }
        nav {
            background-color: rgba(255,255,255,0.1);
            margin-top: 1rem;
            border-radius: 8px;
            padding: 0.5rem;
        }
        .nav-desktop {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            list-style: none;
            gap: 1.5rem;
        }
        .nav-desktop a {
            color: white;
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: background 0.3s;
            font-weight: 600;
        }
        .nav-desktop a:hover {
            background-color: rgba(255,255,255,0.2);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .nav-mobile {
            display: none;
            flex-direction: column;
            list-style: none;
            background-color: var(--primary-color);
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
        }
        .nav-mobile.active {
            display: flex;
        }
        .nav-mobile a {
            color: white;
            text-decoration: none;
            padding: 0.8rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .breadcrumb {
            padding: 1rem 0;
            background-color: var(--light-bg);
            font-size: 0.9rem;
        }
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
        }
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin: 0 10px;
            color: #666;
        }
        .breadcrumb a {
            color: var(--primary-color);
            text-decoration: none;
        }
        .breadcrumb a:hover {
            text-decoration: underline;
        }
        main {
            padding: 2rem 0;
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2rem;
        }
        article {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow);
        }
        h1 {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            line-height: 1.3;
        }
        h2 {
            font-size: 2rem;
            color: var(--secondary-color);
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid var(--accent-color);
        }
        h3 {
            font-size: 1.6rem;
            color: var(--primary-color);
            margin: 2rem 0 1rem;
        }
        h4 {
            font-size: 1.3rem;
            color: #555;
            margin: 1.5rem 0 0.8rem;
        }
        p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        .lead {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--primary-color);
            background-color: #e6f7ff;
            padding: 1.2rem;
            border-left: 5px solid var(--accent-color);
            border-radius: 0 8px 8px 0;
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fff3cd;
            padding: 1rem;
            border-left: 4px solid #ffc107;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }
        .stats-box {
            background: linear-gradient(to right, #f8f9fa, #e9ecef);
            border: 1px solid var(--border-color);
            padding: 1.5rem;
            border-radius: 10px;
            margin: 1.5rem 0;
        }
        .stats-box h4 {
            color: var(--secondary-color);
        }
        ul, ol {
            margin-left: 2rem;
            margin-bottom: 1.2rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        a.content-link {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 600;
            border-bottom: 1px dotted var(--secondary-color);
        }
        a.content-link:hover {
            color: #990000;
            border-bottom-style: solid;
        }
        .image-container {
            margin: 2rem 0;
            text-align: center;
        }
        .article-img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: var(--shadow);
            border: 5px solid white;
        }
        .caption {
            font-style: italic;
            color: #666;
            margin-top: 0.8rem;
            font-size: 0.9rem;
        }
        aside {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            align-self: start;
            position: sticky;
            top: 140px;
        }
        .sidebar-widget {
            margin-bottom: 2rem;
        }
        .sidebar-widget h3 {
            font-size: 1.3rem;
            color: var(--secondary-color);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--border-color);
        }
        .related-links {
            list-style: none;
            margin-left: 0;
        }
        .related-links li {
            margin-bottom: 0.8rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px dashed var(--border-color);
        }
        .related-links a {
            color: var(--text-color);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: color 0.3s;
        }
        .related-links a:hover {
            color: var(--secondary-color);
        }
        .user-interaction {
            background-color: var(--light-bg);
            padding: 2rem;
            border-radius: 12px;
            margin-top: 3rem;
        }
        .interaction-title {
            text-align: center;
            margin-bottom: 2rem;
            color: var(--primary-color);
        }
        .interaction-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        .comment-form, .rating-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        label {
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        input, textarea, select {
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
        }
        textarea {
            min-height: 120px;
            resize: vertical;
        }
        .stars {
            display: flex;
            gap: 5px;
            direction: rtl;
            font-size: 1.8rem;
            cursor: pointer;
        }
        .star {
            color: #ddd;
            transition: color 0.2s;
        }
        .star:hover,
        .star:hover ~ .star {
            color: #ffc107;
        }
        .submit-btn {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
        }
        .submit-btn:hover {
            background-color: #007700;
        }
        footer {
            background-color: var(--primary-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-logo {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 1rem;
        }
        .footer-links h4 {
            color: white;
            margin-bottom: 1.2rem;
            font-size: 1.2rem;
        }
        .footer-links ul {
            list-style: none;
            margin-left: 0;
        }
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        .footer-links a:hover {
            color: white;
        }
        friend-link {
            display: block;
            background-color: rgba(255,255,255,0.05);
            padding: 1rem;
            border-radius: 8px;
            margin: 1rem 0;
        }
        friend-link a {
            color: #90caf9;
            font-weight: 600;
        }
        .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: 992px) {
            main {
                grid-template-columns: 1fr;
            }
            aside {
                position: static;
            }
        }
        @media (max-width: 768px) {
            .header-top {
                flex-direction: column;
                gap: 1rem;
            }
            .search-form {
                max-width: 100%;
                margin: 10px 0;
                order: 3;
            }
            .nav-desktop {
                display: none;
            }
            .hamburger {
                display: block;
                order: 2;
            }
            h1 {
                font-size: 2rem;
            }
            h2 {
                font-size: 1.7rem;
            }
            article, aside {
                padding: 1.5rem;
            }
            .interaction-grid {
                grid-template-columns: 1fr;
            }
        }
