/* ===== GENERAL CONTAINER ===== */
body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 98%;
    margin: auto;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #fff;
    border-bottom: 1px solid #dfdfdf;
    padding: 10px 0;
}

.top-bar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* makes title center perfectly */
    align-items: center;
}

.top-left {
    font-size: 14px;
    color: #444;
}

.site-title-simple {
    font-size: 48px;
    font-weight: 500;
    margin: 0;
    text-align: center;
    color: red;
    font-family: 'DM Serif Display', sans-serif;
    font-style: italic;
}

.top-right {
    text-align: right;
}

.subscribe-btn {
    background: red;
    color: white;
    padding: 6px 18px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

/* ===== MAIN NAVIGATION ===== */
.main-nav-simple {
    border-bottom: 1px solid #dfdfdf;
    background: #fff;
    text-align: center;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-menu-simple {
    list-style: none; /* removes bullets */
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 25px;
}

.nav-menu-simple li {
    list-style: none; /* ensure no bullets */
}

.nav-menu-simple a {
    text-decoration: none;
    color: black;
}

.nav-menu-simple a:hover {
    color: red;
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 768px) {

    /* Top bar stack vertically */
    .top-bar-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .top-left {
        order: 2; /* move below title */
        font-size: 13px;
    }

    .site-title-simple {
        order: 1;
        font-size: 35px;
    }

    .top-right {
        order: 3;
        text-align: center;
    }

    .subscribe-btn {
        display: inline-block;
        margin-top: 4px;
        font-size: 13px;
        padding: 6px 14px;
    }

    /* Make nav horizontally scrollable */
    .main-nav-simple {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu-simple {
        display: inline-flex;
        gap: 18px;
        padding: 0 10px;
        margin: 0;
    }

    .nav-menu-simple li {
        flex: 0 0 auto; /* prevent wrapping */
    }

    .nav-menu-simple a {
        font-size: 14px;
        padding: 6px 0;
        display: inline-block;
    }
}