* { 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.8;
    color: #333;
    background-color: #f8f9fa;
    max-width: 100vw;
    overflow-x: hidden;
}
a { color: #2c5aa0; text-decoration: none; transition: color 0.3s; }
a:hover { color: #e67e22; }
img { max-width: 100%; height: auto; display: block; }
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.flex { display: flex; }
.grid { display: grid; }
.text-center { text-align: center; }
.shadow { box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.border-radius { border-radius: 12px; }
.hidden { display: none; }
.visible { display: block; }
.site-header {
    background: linear-gradient(135deg, #1a3a6c 0%, #2c5aa0 100%);
    color: white;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    font-family: 'Georgia', serif;
}
.logo span { color: #ffd166; }
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}
.main-nav a {
    color: #e0e7ff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 0.3rem;
    position: relative;
}
.main-nav a:hover { color: #ffd166; }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ffd166;
    transition: width 0.3s;
}
.main-nav a:hover::after { width: 100%; }
.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}
.breadcrumb {
    background: #e9ecef;
    padding: 1rem 0;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.75rem;
}
.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.75rem;
    color: #666;
}
.breadcrumb a:hover { text-decoration: underline; }
.hero {
    background: linear-gradient(rgba(26, 58, 108, 0.85), rgba(26, 58, 108, 0.9)), url('https://images.unsplash.com/photo-1610890716171-6b1bb98ffd08?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: white;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    text-align: center;
}
.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}
.main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    margin-bottom: 4rem;
}
.article-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.article-meta {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.article-meta i { margin-right: 0.5rem; color: #2c5aa0; }
h1, h2, h3 {
    color: #1a3a6c;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}
h1 { font-size: 2.8rem; }
h2 {
    font-size: 2.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ffd166;
}
h3 { font-size: 1.8rem; color: #2c5aa0; }
h4 { font-size: 1.4rem; color: #444; margin-top: 1.8rem; }
p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    text-align: justify;
    hyphens: auto;
}
strong { color: #1a3a6c; font-weight: 700; }
.highlight {
    background: #fff9e6;
    padding: 1.5rem;
    border-left: 5px solid #ffd166;
    margin: 2rem 0;
    font-size: 1.1rem;
}
blockquote {
    font-style: italic;
    color: #555;
    border-left: 4px solid #2c5aa0;
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-size: 1.2rem;
}
ul, ol { margin: 1.5rem 0 1.5rem 2rem; }
li { margin-bottom: 0.8rem; font-size: 1.1rem; }
.featured-image {
    margin: 3rem auto;
    text-align: center;
}
.featured-image img {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.5s;
}
.featured-image img:hover {
    transform: scale(1.02);
}
.image-caption {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.8rem;
    font-style: italic;
}
.interactive-module {
    background: #f1f8ff;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 3.5rem 0;
    border: 1px solid #d1e3ff;
}
.module-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}
.module-title i {
    font-size: 2rem;
    color: #2c5aa0;
}
.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
}
input, textarea, select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border 0.3s, box-shadow 0.3s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.2);
}
textarea { min-height: 150px; resize: vertical; }
.btn {
    display: inline-block;
    background: linear-gradient(to right, #2c5aa0, #4a7bc8);
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.btn:hover {
    background: linear-gradient(to right, #e67e22, #f39c12);
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0,0,0,0.1);
}
.btn-block { width: 100%; }
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.3rem;
}
.rating input { display: none; }
.rating label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    padding: 0.2rem;
}
.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label { color: #ffd700; }
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.sidebar-widget {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.widget-title {
    color: #1a3a6c;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid #eee;
}
.top-set-list { list-style: none; margin: 0; }
.top-set-list li {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.top-set-list li:last-child { border-bottom: none; }
.set-rank {
    background: #2c5aa0;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.newsletter-form input { margin-bottom: 1rem; }
.internal-links {
    background: #1a3a6c;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}
.internal-links .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}
.web-link {
    background: rgba(255,255,255,0.05);
    padding: 1.2rem;
    border-radius: 8px;
    transition: background 0.3s;
}
.web-link:hover {
    background: rgba(255,255,255,0.1);
}
.web-link a {
    color: #ffd166;
    font-weight: 600;
}
.site-footer {
    background: #0f2442;
    color: #b0c4de;
    padding: 3rem 0 2rem;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-links a {
    color: #b0c4de;
}
.footer-links a:hover { color: #ffd166; }
.copyright {
    font-size: 0.95rem;
    color: #8a9bb8;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 1024px) {
    .main-content { grid-template-columns: 1fr; }
    .sidebar { order: -1; margin-bottom: 2rem; }
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: #1a3a6c;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.4s;
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
        z-index: 999;
    }
    .main-nav.active { left: 0; }
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .header-container, .footer-links { flex-direction: column; gap: 1.5rem; }
    .article-content { padding: 1.8rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    .interactive-module { padding: 1.8rem; }
}
