/* /css/styles.css */
:root {
    --bg: #ffffff;
    --card: #f8f9fa;
    --text: #222222;
    --muted: #666666;
    --accent: #0077ff; /* nice blue accent */
}

* {
    box-sizing: border-box;
}

html, body {
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial;
    margin: 0;
    padding: 0;
}

a {
    color: var(--accent);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.25rem;
}

.site-header {    
    background: #232E34;
    border-bottom: 1px solid #ddd;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
}

    .header-inner a {
        color: #F4EED6;
    }

.logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    color: var(--text);
}

    .logo img {
        display: block;
    }

.menu-toggle {
    margin-left: auto;
    background: transparent;    
    border: 1px solid #2a3546;
    color: var(--text);    
    padding: .4rem .6rem;
    border-radius: .5rem;
    display: none;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}


.primary-nav > ul > li {
    position: relative;
}

    .primary-nav > ul > li > a {
        padding: .5rem .25rem;
        display: inline-block;
    }

.primary-nav ul ul {
    display: none;
    position: absolute;
    background: #232E34;
    border: 1px solid #202a3a;
    padding: .5rem;
    top: 100%;
    left: 0;
    min-width: 220px;
}

    .primary-nav ul ul li {
        margin: 0;
    }

.primary-nav ul li:hover > ul {
    display: block;
}

@media (max-width: 800px) {
    .menu-toggle {
        display: inline-block;
    }

    .primary-nav {
        display: none;
        width: 100%;
    }

        .primary-nav.open, .primary-nav.open ul ul {
            display: block;
            position: static;
            border: 0;
        }

        .primary-nav ul {
            flex-direction: column;
            gap: .25rem;
        }

        .primary-nav > ul > li {
            border-top: 1px solid #1e2632;
            padding-top: .5rem;
        }
}

main {
    padding: 1rem 0 2rem;
}

article {
    background: var(--card);
    border: 1px solid #1e2632;
    border-radius: .75rem;
    padding: 1rem;
}

    article h1 {
        margin-top: 0;
    }

footer {
    color: var(--muted);
    margin: 2rem 0;
    font-size: .9rem;
}

.article_author_bio {
    font-family:Roboto;
    font-style: italic;
    font-size:12px;
}

.article_author_bio a {
    font-style: normal;
    text-decoration: underline;
}

.article_author_link {
    font-size:20px;
}

.article_body {
    font-family: Roboto;
}

.character_article_list {
    font-family: Roboto;
    margin-left:10px;
}

.character_bio {
    font-family: Roboto;
    font-size: 16px;
}