html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    color: #333;
    /* Different subtle pattern background for news */
    background-color: #f8f8f8;
    background-image: linear-gradient(135deg, rgba(74,144,226,0.1) 25%, transparent 25%),
                      linear-gradient(135deg, transparent 75%, rgba(74,144,226,0.1) 75%),
                      linear-gradient(135deg, rgba(74,144,226,0.1) 25%, transparent 25%),
                      linear-gradient(135deg, transparent 75%, rgba(74,144,226,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 0, 10px -10px, 0px 10px;
    
    display: flex;
    flex-direction: column;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.site-header {
    background: #4a90e2;
    color: #fff;
    padding: 15px 0;
    flex-shrink: 0;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo h1 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-nav li {
    margin-left: 20px;
}
.main-nav a {
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding: 8px 12px;
    border-radius: 5px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(0,0,0,0.1));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
.main-nav a:hover {
    transform: translateY(1px);
    box-shadow: inset 0 2px 2px rgba(0,0,0,0.2);
    text-decoration: none;
}
.main-nav a:active {
    transform: translateY(2px);
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.3);
}

/* Article Section */
.article-section {
    flex: 1 0 auto;
    padding: 60px 0;
}
.article-container {
    display: flex;
    gap: 40px;
}
.article-content {
    flex: 1;
}
.article-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #555;
}
.breadcrumb a {
    color: #4a90e2;
    text-decoration: underline;
}
.breadcrumb a:hover {
    text-decoration: none;
}
.article-card h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #4a90e2;
}
.article-meta {
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: #777;
}
.article-body p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}
.article-body h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #4a90e2;
}

/* Sidebar */
.sidebar {
    width: 320px;
    flex-shrink: 0;
}
.banner-slot {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.banner-slot img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Footer */
.site-footer {
    background: #4a90e2;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    flex-shrink: 0;
}
.site-footer p {
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .article-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .breadcrumb {
        font-size: 0.8rem;
    }
    .article-card h1 {
        font-size: 1.8rem;
    }
    .article-body h2 {
        font-size: 1.2rem;
    }
}
