:root {
    --primary: #0a3d62;
    --secondary: #1e5799;
    --accent: #ff7b00;
    --light: #f8f9fa;
    --dark: #222;
    --gray: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}
* {
    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.6;
    color: #333;
    background-color: #f0f2f5;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: var(--secondary);
    transition: var(--transition);
}
a:hover {
    color: var(--accent);
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.site-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.my-logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}
.main-nav a {
    color: white;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: var(--border-radius);
}
.main-nav a:hover,
.main-nav a.active {
    background-color: rgba(255,255,255,0.15);
    color: var(--accent);
}
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}
.breadcrumb {
    background-color: #e9ecef;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.breadcrumb a {
    color: var(--gray);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb span {
    color: var(--dark);
}
.search-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    text-align: center;
}
.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}
.search-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    outline: none;
}
.search-form input:focus {
    border-color: var(--accent);
}
.search-form button {
    padding: 0 1.5rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
}
.search-form button:hover {
    background: #e56b00;
}
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    margin: 2rem 0;
}
.article-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    align-self: start;
    position: sticky;
    top: 100px;
}
h1 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
}
h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #eee;
}
h3 {
    font-size: 1.6rem;
    color: #444;
    margin: 1.8rem 0 0.8rem;
}
h4 {
    font-size: 1.3rem;
    color: var(--gray);
    margin: 1.5rem 0 0.5rem;
}
p {
    margin-bottom: 1.2rem;
    text-align: justify;
}
.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 2rem;
}
strong {
    color: var(--primary);
    font-weight: 700;
}
em {
    color: var(--accent);
    font-style: italic;
}
blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: #555;
    font-style: italic;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
li {
    margin-bottom: 0.5rem;
}
.article-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius);
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}
.article-img:hover {
    transform: scale(1.01);
}
.img-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}
.rating-module,
.comment-module {
    background: #f8f9fa;
    padding: 1.8rem;
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    border: 1px solid #e9ecef;
}
.rating-module h3,
.comment-module h3 {
    margin-top: 0;
    color: var(--primary);
}
.stars {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    font-size: 1.8rem;
    color: #ffc107;
}
.star {
    cursor: pointer;
    transition: var(--transition);
}
.star:hover {
    transform: scale(1.2);
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.submit-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}
.submit-btn:hover {
    background: #e56b00;
    transform: translateY(-2px);
}
.content-link {
    background-color: #f0f7ff;
    padding: 2px 6px;
    border-radius: 4px;
    border-left: 3px solid var(--secondary);
}
.content-link:hover {
    background-color: #e1f0ff;
}
.site-footer {
    background-color: var(--dark);
    color: #ccc;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section {
    flex: 1;
    min-width: 250px;
}
.footer-section h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.7rem;
}
.footer-links a {
    color: #aaa;
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}
friend-link {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    padding: 0.5rem 1rem;
    margin: 0.3rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}
.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}
@media (max-width: 992px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
}
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    .hamburger {
        display: block;
    }
    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .main-nav.active {
        max-height: 400px;
        margin-top: 1rem;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.7rem;
    }
    .article-content {
        padding: 1.5rem;
    }
}
