/* assets/css/style.css */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f7fb;
    color: #222;
}

a {
    color: #0b63ce;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

.site-header {
    background: #0b1b33;
    color: #fff;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.logo .tagline {
    display: block;
    font-size: 0.85rem;
    color: #c3d0ff;
}

.main-nav a {
    margin-left: 20px;
    color: #c3d0ff;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: #ffffff;
}

.site-main {
    padding: 25px 0 40px;
}

h1, h2, h3 {
    color: #111827;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.article-card h2 {
    margin-top: 0;
    margin-bottom: 6px;
}

.article-meta {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
}

.single-article {
    background: #ffffff;
    border-radius: 8px;
    padding: 22px 24px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.single-article h1 {
    margin-top: 0;
}

.single-article .article-content h2 {
    margin-top: 20px;
}

.site-footer {
    background: #0b1b33;
    color: #c3d0ff;
    padding: 15px 0;
    font-size: 0.85rem;
}

.footer-inner {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-nav a {
        margin-left: 0;
        margin-right: 15px;
    }
}

.article-image img {
    max-width: 700px;   /* reduces overly large images */
    width: 100%;        /* keeps responsiveness */
    height: auto;       /* maintains aspect ratio */
    margin: 0 auto;
    display: block;
}

/* Improve article text readability */
.article-content,
.article-content p {
    font-size: 18px;
    line-height: 1.75;
    color: #1a1a1a; /* darker, richer text */
    font-weight: 400;
}

/* Improve article text readability */
.content,
.content p {
    font-size: 18px;
    line-height: 1.75;
    color: #1a1a1a; /* darker, richer text */
    font-weight: 400;
}

/* Improve article text readability */
.article-content,
.article-content p {
    font-size: 18px;
    line-height: 1.75;
    color: #1a1a1a; /* darker, richer text */
    font-weight: 400;
}

/* Improve headings */
.article-content h1,
.article-content h2,
.article-content h3 {
    color: #111;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Improve spacing between paragraphs */
.article-content p {
    margin-bottom: 18px;
}

