:root {
            --primary: #0056b3; 
            --secondary: #ffcc00; 
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --gray: #6c757d;
            --success: #28a745;
            --danger: #dc3545;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --border-radius: 8px;
            --transition: all 0.3s ease;
            --max-width: 1200px;
        }
        * {
            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: #fff;
            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: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }
        header {
            background-color: 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;
        }
        .logo a {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo a:hover {
            color: var(--secondary);
        }
        .logo i {
            color: var(--secondary);
        }
        nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        nav a {
            color: white;
            font-weight: 600;
            padding: 0.5rem 0;
            position: relative;
        }
        nav a:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: width 0.3s;
        }
        nav a:hover:after {
            width: 100%;
        }
        .hamburger {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: white;
        }
        .breadcrumb {
            background-color: var(--light);
            padding: 1rem 0;
            font-size: 0.9rem;
            border-bottom: 1px solid #ddd;
        }
        .breadcrumb ol {
            display: flex;
            list-style: none;
            flex-wrap: wrap;
        }
        .breadcrumb li {
            margin-right: 0.5rem;
        }
        .breadcrumb li:not(:last-child):after {
            content: '/';
            margin-left: 0.5rem;
            color: var(--gray);
        }
        .search-container {
            background: linear-gradient(135deg, var(--primary), #003d82);
            color: white;
            padding: 2.5rem 0;
            text-align: center;
        }
        .search-box {
            max-width: 600px;
            margin: 0 auto;
        }
        .search-box h2 {
            margin-bottom: 1rem;
            font-size: 1.8rem;
        }
        .search-form {
            display: flex;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .search-form input {
            flex: 1;
            padding: 1rem 1.5rem;
            border: none;
            font-size: 1rem;
        }
        .search-form button {
            background-color: var(--secondary);
            color: var(--dark);
            border: none;
            padding: 0 2rem;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
        }
        .search-form button:hover {
            background-color: #e6b800;
        }
        main {
            padding: 3rem 0;
        }
        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
        }
        @media (max-width: 992px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
        }
        article {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .article-header {
            padding: 2.5rem 2.5rem 1.5rem;
            border-bottom: 2px solid var(--light);
        }
        .article-header h1 {
            font-size: 2.5rem;
            color: var(--dark);
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        .meta {
            display: flex;
            gap: 1.5rem;
            color: var(--gray);
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .article-body {
            padding: 2.5rem;
        }
        .article-body > * + * {
            margin-top: 1.8rem;
        }
        h2 {
            color: var(--primary);
            font-size: 1.8rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--secondary);
            margin-top: 2.5rem;
            margin-bottom: 1rem;
        }
        h3 {
            color: var(--dark);
            font-size: 1.4rem;
            margin-top: 1.8rem;
            margin-bottom: 0.8rem;
        }
        p {
            margin-bottom: 1.2rem;
            text-align: justify;
        }
        .highlight {
            background-color: #fff9e6;
            border-left: 4px solid var(--secondary);
            padding: 1.5rem;
            border-radius: 0 var(--border-radius) var(--border-radius) 0;
            margin: 1.5rem 0;
        }
        .highlight p:last-child {
            margin-bottom: 0;
        }
        ul, ol {
            padding-left: 2rem;
            margin-bottom: 1.2rem;
        }
        li {
            margin-bottom: 0.5rem;
        }
        .feature-img {
            margin: 2rem 0;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        .img-caption {
            text-align: center;
            font-style: italic;
            color: var(--gray);
            padding: 0.8rem;
            font-size: 0.9rem;
            background-color: var(--light);
        }
        .link-list {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0;
        }
        .link-list a {
            background-color: var(--light);
            padding: 0.7rem 1.2rem;
            border-radius: 50px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .link-list a:hover {
            background-color: var(--primary);
            color: white;
        }
        aside {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background: white;
            border-radius: var(--border-radius);
            padding: 1.8rem;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            color: var(--primary);
            margin-top: 0;
            padding-bottom: 0.8rem;
            border-bottom: 1px solid #eee;
            margin-bottom: 1.2rem;
        }
        .rating-widget form, .comment-widget form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .rating-stars {
            display: flex;
            gap: 5px;
            font-size: 1.5rem;
            color: #ddd;
            cursor: pointer;
            margin-bottom: 0.5rem;
        }
        .rating-stars .star:hover,
        .rating-stars .star.active {
            color: var(--secondary);
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .form-group label {
            font-weight: 600;
            font-size: 0.9rem;
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            padding: 0.8rem;
            border: 1px solid #ccc;
            border-radius: var(--border-radius);
            font-family: inherit;
        }
        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }
        .btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.9rem 1.8rem;
            border-radius: var(--border-radius);
            font-weight: bold;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }
        .btn:hover {
            background-color: #004494;
            transform: translateY(-2px);
        }
        .btn-secondary {
            background-color: var(--secondary);
            color: var(--dark);
        }
        .btn-secondary:hover {
            background-color: #e6b800;
        }
        footer {
            background-color: var(--dark);
            color: #ccc;
            padding: 3rem 0 1.5rem;
        }
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 2.5rem;
        }
        .footer-widget h4 {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.7rem;
        }
        .footer-widget h4:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--secondary);
        }
        .footer-links {
            list-style: none;
        }
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        .footer-links a {
            color: #aaa;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }
        friend-link {
            display: block;
            margin-top: 1rem;
            font-size: 0.9rem;
        }
        friend-link a {
            color: var(--secondary);
        }
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #444;
            font-size: 0.9rem;
            color: #aaa;
        }
        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
            }
            nav {
                width: 100%;
                order: 3;
                margin-top: 1rem;
                display: none;
            }
            nav.active {
                display: block;
            }
            nav ul {
                flex-direction: column;
                gap: 0;
            }
            nav li {
                border-bottom: 1px solid #333;
            }
            nav a {
                display: block;
                padding: 1rem;
            }
            .hamburger {
                display: block;
            }
            .article-header h1 {
                font-size: 2rem;
            }
            .content-wrapper {
                gap: 2rem;
            }
        }
        .tooltip {
            position: relative;
            display: inline-block;
            border-bottom: 1px dotted var(--primary);
            cursor: help;
        }
        .tooltip .tooltiptext {
            visibility: hidden;
            width: 200px;
            background-color: var(--dark);
            color: #fff;
            text-align: center;
            border-radius: var(--border-radius);
            padding: 0.5rem;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.85rem;
        }
        .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }
        .glossary-term {
            font-weight: bold;
            color: var(--primary);
        }
