/* ============================= */
/*        BASE RESET             */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    background: #fdfcf9;
    color: #2b2b2b;
    line-height: 1.6;
}


/* ============================= */
/*            HEADER             */
/* ============================= */

#main-header {
    width: 100%;
    text-align: center;
}

/* Much tighter spacing */
.logo-container {
    padding: 30px 0 15px 0;
}

/* Smaller but still strong */
.logo {
    width: 28vw;          /* reduced from 38vw */
    max-width: 480px;
    min-width: 220px;
    display: block;
    margin: 0 auto;
}


/* ============================= */
/*          NAVIGATION           */
/* ============================= */

.navbar {
    background-color: #7b1e1e;  /* deep burgundy */
    width: 100%;
    padding: 20px 0;
}

.navbar ul {
    list-style: none;
    padding: 0 80px;                 /* side breathing room */
    display: flex;
    justify-content: space-between;  /* evenly distributed */
    align-items: center;
}

.navbar li {
    flex: 1;
    text-align: center;
}

.navbar a {
    text-decoration: none;
    color: #f5f2eb;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.navbar a:hover {
    opacity: 0.75;
}

.navbar a.active {
    border-bottom: 2px solid #f5f2eb;
    padding-bottom: 6px;
}


/* ============================= */
/*            CONTENT            */
/* ============================= */

.content {
    max-width: 1000px;
    margin: 70px auto 100px auto;  /* balanced spacing */
    padding: 0 30px;
}

.section {
    margin-bottom: 80px;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* ============================= */
/*         ARTICLE CARDS         */
/* ============================= */

.article-card {
    background: #faf8f6;
    padding: 40px;
    border-left: 5px solid #6e1414;
    margin-bottom: 35px;
}

.article-card .date {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.article-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}


/* ============================= */
/*            BUTTONS            */
/* ============================= */

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: #7a1f1f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #4d0f0f;
}


/* ============================= */
/*             FOOTER            */
/* ============================= */

footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #777;
}

/* ============================= */
/*          ARTICLE PAGE         */
/* ============================= */

.article-page {
    max-width: 760px;
    margin: 0 auto;
}

.article-page h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.article-page .date {
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.article-page p {
    font-size: 22px;
    line-height: 1.9;
    margin-bottom: 22px;
}

.article-page h3 {
    font-size: 28px;
    margin-top: 42px;
    margin-bottom: 16px;
}

.article-page blockquote {
    border-left: 4px solid #7b1e1e;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #444;
}

.article-page .intro {
    font-size: 26px;
    line-height: 1.7;
    color: #1f1f1f;
}

.article-page .back-link {
    display: inline-block;
    margin-bottom: 28px;
    text-decoration: none;
    color: #7b1e1e;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-page .back-link:hover {
    opacity: 0.75;
}

/* ============================= */
/*         MOBILE NAV FIX        */
/* ============================= */

@media (max-width: 768px) {

    .navbar ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .navbar li {
        width: 100%;
        padding: 10px 0;
    }

    .navbar a {
        display: block;
        font-size: 16px;
        letter-spacing: 1px;
    }

}
