/* About the Server
----------------------------------------
 */

#about-server p{
    font-size: 1rem;
    margin-bottom: 18px;
}

/* The first line, a bit bigger than the rest */
#about-server .lead{
    font-size: 1.4rem;
}

#about-server strong{
    color: var(--secondaryColor);
    font-weight: normal;
}

/* The closing line */
main.content-page #tagline{
    margin: 30px 0 0;
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    background-color: var(--primaryLight);
}

/* About the Team
----------------------------------------
 */

/* Anyone with text about them gets a full row, the rest sit two to a row */
.team-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.member{
    padding: 20px;
    margin-bottom: 0;
}

.member:has(> p){
    grid-column: 1 / -1;
}

/* Picture, then name and role, then their links pushed over to the right */
.member-head{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
}

.member-head img{
    flex-shrink: 0;
}

.member-head div{
    min-width: 0; /* Lets a long name wrap instead of pushing the box wider */
}

.member h3{
    font-size: 1.6rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

main.content-page .member .role{
    color: var(--muteText);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0;
}

main.content-page .member .socials{
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    margin: 0 0 0 auto;
}

/* What they wrote about themselves, under a line */
main.content-page .member > p{
    margin-bottom: 12px;
    opacity: 85%;
}

main.content-page .member-head + p{
    margin-top: 15px;
    padding-top: 15px;
    border-top: solid 1px var(--primaryColor);
}

main.content-page .member > p:last-child{
    margin-bottom: 0;
}

@media only screen and (width < 850px) {
    .team-row{
        grid-template-columns: 1fr;
    }
}

@media only screen and (width < 600px) {
    /* Links go on their own line under the name */
    main.content-page .member .socials{
        margin-left: 0;
        width: 100%;
    }
}
