* { 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: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    max-width: 100vw;
    overflow-x: hidden;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.site-header {
    background: linear-gradient(90deg, #0d3b66 0%, #1a5f8e 100%);
    color: white;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo i { color: #ffd166; }
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.main-nav a {
    color: #e9ecef;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}
.main-nav a:hover, .main-nav a.active {
    color: #ffd166;
    background: rgba(255, 209, 102, 0.1);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: #ffd166;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}
.breadcrumb {
    background: #f1f3f5;
    padding: 0.8rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #dee2e6;
}
.breadcrumb a { color: #1a5f8e; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.hero {
    background: linear-gradient(rgba(13, 59, 102, 0.85), rgba(26, 95, 142, 0.9)), url('https://images.unsplash.com/photo-1540039155733-5bb30b53aa14?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 3rem;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}
.search-box {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.search-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}
.search-form input:focus {
    outline: none;
    border-color: #1a5f8e;
}
.search-form button {
    background: linear-gradient(90deg, #ff6b6b, #ee5a52);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.search-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
}
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    margin: 2rem 0;
}
.article-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.article-content h1 { color: #0d3b66; margin-bottom: 1.5rem; font-size: 2.5rem; }
.article-content h2 { color: #1a5f8e; margin: 2.5rem 0 1.2rem; padding-bottom: 0.5rem; border-bottom: 2px solid #ffd166; font-size: 1.9rem; }
.article-content h3 { color: #2a7ca5; margin: 2rem 0 1rem; font-size: 1.5rem; }
.article-content p { margin-bottom: 1.5rem; text-align: justify; }
.article-content strong { color: #0d3b66; }
.article-content em { color: #555; }
.article-content ul, .article-content ol { margin-left: 2rem; margin-bottom: 1.5rem; }
.article-content li { margin-bottom: 0.8rem; }
.intro { font-size: 1.2rem; background: #f8f9fa; padding: 1.5rem; border-left: 5px solid #1a5f8e; margin-bottom: 2.5rem; border-radius: 0 8px 8px 0; }
.content-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}
.content-img:hover { transform: scale(1.02); }
.internal-link {
    color: #1a5f8e;
    text-decoration: none;
    border-bottom: 1px dashed #74c0fc;
    padding-bottom: 2px;
    transition: all 0.3s;
}
.internal-link:hover {
    color: #0d3b66;
    border-bottom-style: solid;
    background-color: rgba(116, 192, 252, 0.1);
}
.widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.widget h3 { color: #0d3b66; margin-bottom: 1rem; font-size: 1.3rem; }
.upcoming-list { list-style: none; }
.upcoming-list li { padding: 0.8rem 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; }
.upcoming-list li:last-child { border-bottom: none; }
.rating-widget, .comment-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-top: 2rem;
}
.rating-widget h3, .comment-widget h3 { color: #0d3b66; margin-bottom: 1.5rem; }
.stars { display: flex; gap: 10px; margin-bottom: 1.5rem; }
.star { font-size: 2rem; color: #ddd; cursor: pointer; transition: color 0.2s; }
.star:hover, .star.active { color: #ffd166; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #555; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: #1a5f8e; outline: none; }
.submit-btn {
    background: linear-gradient(90deg, #1a5f8e, #0d3b66);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.submit-btn:hover {
    background: linear-gradient(90deg, #0d3b66, #1a5f8e);
    box-shadow: 0 6px 15px rgba(13, 59, 102, 0.3);
}
.site-footer {
    background: #0d3b66;
    color: #e9ecef;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-section h4 {
    color: #ffd166;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover { color: #ffd166; }
friend-link {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}
.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #1a5f8e;
    color: #adb5bd;
    font-size: 0.9rem;
}
@media (max-width: 992px) {
    .main-content { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .main-nav { display: none; width: 100%; }
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d3b66;
        padding: 1rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    .main-nav.active ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav.active a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #1a5f8e;
    }
    .header-content { flex-wrap: wrap; }
    .hero { padding: 3rem 1rem; }
    .article-content { padding: 1.5rem; }
    .search-form { flex-direction: column; }
    .search-form input, .search-form button { width: 100%; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .article-content h1 { font-size: 2rem; }
    .article-content h2 { font-size: 1.6rem; }
}
