/* Global Reset */
* {
    font-family: Verdana, Arial, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.6;
}

/* Container: Shared Wrapper */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #336699;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-family: Besknees, Verdana, Arial, sans-serif;
    font-size: 28px;
    margin-top: 10px;
}

.logo {
    height: 50px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px 0 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    padding: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Intro Section */
.intro {
    background-color: #D6E0EA;
    padding: 20px;
    border-left: 5px solid #336699;
    margin-bottom: 30px;
}

/* Features Grid */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-box {
    flex: 1 1 220px;
    background-color: #EAF4D6;
    padding: 15px;
    border: 1px solid #99CC33;
    border-radius: 8px;
}

.feature-box h3 {
    margin-top: 0;
    color: #336699;
}

.feature-box h3 a {
    color: #336699;
    text-decoration: none;
}

.feature-box h3 a:hover {
    text-decoration: underline;
}

/* Article Previews */
.article-preview article {
    border-bottom: 1px solid #CCCCCC;
    padding: 10px 0;
}

.article-preview h4 {
    margin: 0;
    font-size: 16px;
}

.article-preview h4 a {
    color: #336699;
    text-decoration: none;
}

.article-preview h4 a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #f0f0f0;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #336699;
    font-size: 12px; /* smaller than body */
    color: #333333;
}

.footer-logo {
    height: 30px;
    margin-top: 10px;
}
html, body {
    height: 100%;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}
.article-layout {
    display: flex;
    gap: 30px;
}

/* Main article area */
.main-article {
    flex: 3;
}

/* Sidebar styling */
.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sidebar boxes */
.sidebar-box {
    background-color: #F5F8FA; /* soft blue tone */
    border: 1px solid #ADC1D6;
    border-radius: 6px;
    padding: 15px;
    font-size: 14px;
}

.sidebar-box h4 {
    margin-top: 0;
    font-size: 16px;
    color: #336699;
}

.sidebar-box ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-box ul li {
    margin: 5px 0;
}

.sidebar-box ul li a {
    text-decoration: none;
    color: #336699;
}

.sidebar-box ul li a:hover {
    text-decoration: underline;
