/* Yläpalkki: valkoinen tausta, sivuston nimi vasemmalla, navigaatio oikealla */

#banner.body {
    max-width: none;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding: 0.65rem clamp(1rem, 4vw, 2.5rem);
    background: #fff;
    border-bottom: 1px solid #e8e6e0;
}

#banner h1 {
    margin: 0;
    font-size: clamp(0.95rem, 2.1vw, 1.2rem);
    line-height: 1.25;
    flex: 1 1 auto;
    min-width: 0;
}

#banner h1 a:link,
#banner h1 a:visited {
    margin: 0;
}

#banner h1 strong {
    font-size: 0.85em;
    font-weight: 600;
}

#banner nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    background: transparent;
    max-width: none;
    border-radius: 0;
    line-height: 1.4;
    overflow: visible;
    font-size: 0.95rem;
}

#banner nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: none;
    gap: 0.1rem 0.15rem;
}

#banner nav li {
    float: none;
    display: block;
    margin: 0;
}

#banner nav a:link,
#banner nav a:visited {
    color: #000305;
    background: transparent;
    height: auto;
    padding: 0.45em 0.7em;
    text-decoration: none;
    border-radius: 4px;
}

#banner nav a:hover,
#banner nav a:active,
#banner nav .active a:link,
#banner nav .active a:visited {
    background: #f0eeea;
    color: #c74350;
    text-shadow: none;
}

#banner nav li:first-child a {
    border-radius: 4px;
}
