/* Styling for The Articles Page */

.content-header {
    border-bottom: 2px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.content-header h1 {
    color: var(--accent-primary);
    font-size: 2.5rem;
    text-shadow: 0 0 20px var(--glow);
    margin-bottom: 0.5rem;
}

.content-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}


.Toolbar
{
    display: grid;
    grid-template-columns: 0.7fr 0.3fr;
    gap: max(2.5%, 15px);
    align-content: center;
    justify-content: center;
}

#Search
{
    display: grid;
    margin: auto;
    /* max-width: 50%; */
    /* height: auto; */
    grid-template-columns: 0.8fr 0.2fr;
    gap: max(2.5%, 5px);
    align-content: center;
    justify-content: center;
}


#Search input::placeholder
{
    color: black;
}


#Search input
{
    display: block;
    box-sizing: border-box;
    position: relative;
    /* width: 100%; */
    /* max-height: 100%; */

    margin: auto;
    padding: 0px 5px;
    border: 5px solid var(--bg-accent);
    border-radius: 7px;
    font-size: 1.3rem;
}

#Search input:hover
{
    box-shadow: 0px 0px 15px var(--glow);
}


#Search button
{
    margin: auto;
    width: 100%;
    background-color: var(--accent-secondary);
    border: 2px solid;
    border-color: var(--bg-secondary);
    border-radius: 7px;
    /* max-height: 100%; */
    /* width: 100%; */
}

#Search button:hover
{
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

#Search button svg
{
    color: var(--bg-secondary);
}



.Sort
{
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}


.Sort details
{
    height: 100%;
}

.Sort details summary
{
    list-style: none;
    height: 100%;
    /* align-items: center; */
}

.Sort details summary svg
{
    height: 100%;
    margin: auto;
}

.Sort details .SortOptions
{
    display: grid;
    background-color: var(--bg-secondary);
    border: 2px solid var(--bg-accent);
    border-radius: 7px;
    grid-template-rows: 1fr 1fr;
    position: absolute;
    right: 2.5%;
    width: max(250px, 12.5%);
    gap: max(2.5%, 7.5px);
    z-index: 500;
}

.Sort details .SortOptions h4
{
    margin-left: 0.7rem;
    margin-bottom: 0.5rem;
    margin-top: 0.7rem;
}

.SortOption
{
    display: grid;
    grid-template-columns: 0.1fr 0.9fr;
    gap: max(2.5%, 15px);
    margin: max(2.5%, 7px);
}

