/* GHO-STATIC THEME FILE: don't edit it. Running gho-static --get-all-themes
   replaces it, losing any changes. To make your own version of this theme,
   select it with gho-static --use-theme brochureware, then copy it into
   theme_templates/custom_themes with gho-static --generate theme_templates/<new_name>, and
   edit the copy. */

/* Left of the content on wider screens, between 150px and 300px wide. */
#intro-sidebar {
    display: none;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: var(--card-color);
    box-shadow: var(--shadow);
}

@media (width > 1080px) {
    #intro-sidebar {
        display: block;
        grid-column: 1;
        grid-row: 1;
        justify-self: end;
        width: min(300px, 100% - 40px);
        min-width: 150px;
        margin: calc(70px + 48px) 20px 30px 0;
    }
}

/* The image fills the sidebar's width, cropped to a circle, ringed in the
   link colour. */
.intro-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    image-rendering: pixelated;
    box-shadow: 0 0 0 4px var(--card-color), 0 0 0 6px var(--link-color);
}

.intro-name {
    margin-top: 20px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.intro-description {
    margin-top: 6px;
    font-size: 0.95rem;
    color: var(--muted-text-color);
}

/* Social links as pills. */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-top: 16px;
}

.social-links a,
.social-links a:visited {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 999px;
    background-color: color-mix(in srgb, var(--link-color) 10%, transparent);
    color: var(--link-color);
}

.social-links a:hover {
    text-decoration: none;
    background-color: color-mix(in srgb, var(--link-color) 18%, transparent);
}
