#header.site-header {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-bottom: 2rem;
    margin-left: -50vw;
    background: #05080d;
    box-shadow: 0 8px 24px rgba(0, 25, 55, 0.18);
}

#header .site-header-inner {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

#header .site-brand {
    flex: 0 0 clamp(88px, 10vw, 124px);
}

#header .site-brand img {
    display: block;
    width: 100%;
    height: auto;
}

#header .site-nav {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem clamp(0.9rem, 2.2vw, 2rem);
    min-width: 0;
}

#header .menu-link {
    display: block;
    padding: 0.55rem 0.15rem;
    color: #f5f9ff;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: color 160ms ease, transform 160ms ease;
}

#header .menu-link:hover,
#header .menu-link:focus-visible {
    color: #55aaff;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    #header.site-header {
        margin-bottom: 1.5rem;
    }

    #header .site-header-inner {
        flex-direction: column;
        gap: 0.7rem;
        padding: 0.8rem 0.75rem 0.9rem;
    }

    #header .site-brand {
        flex-basis: auto;
        width: 92px;
    }

    #header .site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.35rem;
        width: 100%;
    }

    #header .menu-link {
        padding: 0.6rem 0.35rem;
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.06);
        font-size: 1.1rem;
        white-space: normal;
    }

    #header .menu-link:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 380px) {
    #header .menu-link {
        font-size: 1rem;
        letter-spacing: 0.02em;
    }
}

:root
{
    --white: #e8ffeb;
    --green: #0d8626;
    --blue:  #4298f5;
    --red: #ff001e;
}

img {
    width: 100%;
}

.justified {
  text-align: justify;
  hyphens: auto;
  margin: 1.5rem 2rem;   /* vertical 1.5rem, horizontal 2rem */
}


html, body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    font-family: "Figtree", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/*https://stackoverflow.com/questions/1461015/why-dont-ul-bullets-stay-within-their-containing-div*/
ul {
   list-style-position: inside;
}

h1 {color: #0d6efd;}
h2 {color: #30b5be;}
h3 {color: var(--red);}

.container-bg {
    background: #e6e9ed;
    border-radius: 25px;
    padding: 0;
}


#robot{
    float: right;
    width: 50%;
}


.news-entry {
    margin-bottom: 2.25rem;
}

.news-entry h1 {
    margin-bottom: 0.75rem;
}

.news-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.news-heading > span:first-child {
    min-width: 0;
}

.news-date {
    flex: 0 0 auto;
    margin-left: auto;
    color: #5b6c7b;
    font-size: 0.65em;
    font-weight: 650;
    line-height: 1.5;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .news-heading {
        gap: 0.75rem;
    }

    .news-date {
        font-size: 0.58em;
    }
}

.news-entry p {
    margin-bottom: 0.75rem;
}

.news-entry ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
    list-style-position: outside;
}
