:root {
            --primary-color: #1a365d;
            --secondary-color: #c53030;
            --accent-color: #ecc94b;
            --text-dark: #2d3748;
            --text-light: #f7fafc;
            --bg-light: #f8f9fa;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            line-height: 1.7;
            color: var(--text-dark);
            background-color: var(--bg-light);
            max-width: 100vw;
            overflow-x: hidden;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition);
        }
        ul {
            list-style: none;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        .container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .site-header {
            background: linear-gradient(135deg, var(--primary-color), #2d4a8a);
            color: var(--text-light);
            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-size: 2.2rem;
            font-weight: 800;
            color: var(--accent-color);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-family: Georgia, serif;
        }
        .my-logo:hover {
            text-shadow: 0 0 10px rgba(236, 201, 75, 0.7);
        }
        .nav-desktop {
            display: flex;
            gap: 2rem;
        }
        @media (max-width: 768px) {
            .nav-desktop {
                display: none;
            }
        }
        .nav-desktop a {
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 4px;
        }
        .nav-desktop a:hover, .nav-desktop a:focus {
            background-color: rgba(255, 255, 255, 0.15);
            color: var(--accent-color);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }
        }
        .nav-mobile {
            display: none;
            flex-direction: column;
            background-color: var(--primary-color);
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            padding: 1rem;
            box-shadow: var(--shadow);
        }
        .nav-mobile.active {
            display: flex;
        }
        .nav-mobile a {
            padding: 0.8rem 1rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        .nav-mobile a:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        .breadcrumb {
            background-color: #e2e8f0;
            padding: 0.8rem 20px;
            font-size: 0.9rem;
            color: #4a5568;
        }
        .breadcrumb a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }
        .hero-section {
            background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.7)), url('https://images.unsplash.com/photo-1598899134739-24c46f58b8c0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
            color: white;
            text-align: center;
            padding: 4rem 1rem;
            margin-bottom: 3rem;
        }
        .hero-section h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 1rem;
            color: var(--accent-color);
        }
        .hero-section p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto 2rem;
        }
        .search-form {
            max-width: 600px;
            margin: 2rem auto 0;
            display: flex;
            border-radius: 50px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        .search-input {
            flex-grow: 1;
            padding: 1rem 1.5rem;
            border: none;
            font-size: 1rem;
        }
        .search-btn {
            background-color: var(--secondary-color);
            color: white;
            border: none;
            padding: 0 2rem;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .search-btn:hover {
            background-color: #9b2c2c;
        }
        .main-content {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 3rem;
            padding: 2rem 0;
        }
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        article {
            background-color: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: var(--shadow);
        }
        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #e2e8f0;
            font-size: 0.9rem;
            color: #718096;
        }
        h1 {
            font-size: 2.8rem;
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            line-height: 1.2;
        }
        h2 {
            font-size: 2.2rem;
            margin: 2.5rem 0 1.2rem;
            padding-bottom: 0.5rem;
            border-bottom: 3px solid var(--accent-color);
            color: var(--primary-color);
        }
        h3 {
            font-size: 1.7rem;
            margin: 2rem 0 1rem;
            color: #2d3748;
        }
        h4 {
            font-size: 1.3rem;
            margin: 1.5rem 0 0.8rem;
            color: #4a5568;
        }
        p {
            margin-bottom: 1.2rem;
            text-align: justify;
            hyphens: auto;
        }
        .intro {
            font-size: 1.2rem;
            font-weight: 500;
            color: var(--primary-color);
            background-color: #f0f4f8;
            padding: 1.5rem;
            border-left: 5px solid var(--secondary-color);
            border-radius: 0 8px 8px 0;
            margin-bottom: 2rem;
        }
        .highlight {
            background-color: #fff8e1;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 1.5rem 0;
            border-left: 4px solid var(--accent-color);
        }
        .related-links {
            background-color: #edf2f7;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
        }
        .related-links ul {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 0.8rem;
            margin-top: 0.5rem;
        }
        .related-links li a {
            color: var(--primary-color);
            display: block;
            padding: 0.5rem 0.8rem;
            border-radius: 4px;
        }
        .related-links li a:hover {
            background-color: #cbd5e0;
            text-decoration: underline;
        }
        .image-wrapper {
            margin: 2rem auto;
            text-align: center;
            max-width: 800px;
        }
        .image-wrapper img {
            border-radius: 10px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            transition: transform 0.5s ease;
        }
        .image-wrapper img:hover {
            transform: scale(1.02);
        }
        .image-caption {
            font-style: italic;
            color: #718096;
            margin-top: 0.5rem;
            font-size: 0.9rem;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
        .sidebar-widget {
            background-color: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }
        .sidebar-widget h3 {
            font-size: 1.4rem;
            margin-top: 0;
            color: var(--secondary-color);
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 0.5rem;
        }
        .rating-widget form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .star-rating {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            font-size: 1.8rem;
            color: #cbd5e0;
            margin: 0.5rem 0;
        }
        .star-rating label {
            cursor: pointer;
            transition: var(--transition);
        }
        .star-rating input {
            display: none;
        }
        .star-rating label:hover,
        .star-rating label:hover ~ label,
        .star-rating input:checked ~ label {
            color: var(--accent-color);
        }
        .rating-widget button, .comment-form button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 0.8rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
        }
        .rating-widget button:hover, .comment-form button:hover {
            background-color: #2d4a8a;
        }
        .comment-form textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            font-family: inherit;
            resize: vertical;
            min-height: 100px;
            margin-top: 0.5rem;
        }
        .site-footer {
            background-color: var(--primary-color);
            color: var(--text-light);
            padding: 3rem 0 1.5rem;
            margin-top: 4rem;
        }
        .footer-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 2rem;
        }
        .footer-section {
            flex: 1;
            min-width: 250px;
        }
        .footer-section h3 {
            color: var(--accent-color);
            margin-bottom: 1.2rem;
            font-size: 1.3rem;
        }
        .footer-links a {
            display: block;
            padding: 0.3rem 0;
            color: #cbd5e0;
        }
        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }
        friend-link {
            display: block;
            padding: 0.5rem 0;
            color: #90cdf4;
        }
        friend-link:hover {
            color: white;
            text-decoration: underline;
        }
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #a0aec0;
            font-size: 0.9rem;
        }
        @media (max-width: 480px) {
            article, .sidebar-widget {
                padding: 1.5rem;
            }
            h1 {
                font-size: 2.2rem;
            }
            h2 {
                font-size: 1.8rem;
            }
        }
