#page-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    border-bottom: 3px solid var(--8);
}

#page-title {
    display: flex;
    position: relative;
}

#page-title-background {

}

#page-header-views {
    margin-bottom: calc(var(--space) / 2);
    display: flex;
    gap: var(--space);
}

#page-header-views > * > a:link, #page-header-views#page-header-views a:visited {
    color: var(--8);
}

#page-header-views > * > a:link:hover, #page-header-views#page-header-views a:visited:hover {
    color: var(--blue-5);
}

#page-header-options {
    position: relative;
}

#page-header-options:focus-within button{
    color: var(--blue-5);
    position: relative;
    text-decoration: none;
}

#page-header-options button {
    text-decoration: underline;
    color: var(--8);
}

#page-header-options button:hover {
    color: var(--blue-5);
}

#page-title-versions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space);
    margin-left: 2vw;
}

#firstHeading {
    margin-bottom: .1em;
    color: var(--8);
}

@media (prefers-color-scheme: dark) {
    #firstHeading {
        text-shadow: 0 0 6px var(--0);
    }
}

#firstHeading, .mw-heading h2 {
    font-family: 'Libre Caslon', serif;
    text-wrap: balance;
}

#page-header {
    grid-row: title;
}

#page-header-links {
    display: flex;
    gap: var(--space);
}

#mw-indicator-mw-helplink {
    height: fit-content;
    align-self: center;
}

@media (min-width: 1201px) {

}

@media (max-width: 1200px) {

    #page-header {
        margin-left: var(--space);
        margin-right: var(--space);
    }

}

@media (max-width: 720px) {
    
    #page-header-views {
        flex-direction: column;
        margin-bottom: 0;
    }

    #page-header-links {
        margin-bottom: calc(var(--space) / 2);
    }

    #page-title{
        flex-direction: column-reverse;
    }

    #page-header-links {
        flex-direction: column;
        align-items: end;
    }

    #page-title-versions {
        align-self: end;
    }
}