/* About follows the same two-column grid as project detail pages. */
body.is-about-page > div {
    min-height: 0;
}

.about-main {
    flex: none;
    padding: var(--content-start) 0 0;
}

.about-columns {
    grid-template-rows: auto;
    align-items: start;
    padding-top: 0;
    padding-bottom: 0;
}

.about-profile {
    min-width: 0;
    max-height: calc(100dvh - var(--content-start) - 5vw);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: clamp(22px, 2vw, 36px);
    font-family: var(--font-body);
    font-size: 0.9vw;
    letter-spacing: 1px;
    word-spacing: 1px;
    line-height: 1.8;
}

.about-links:last-child {
    margin-bottom: var(--content-end);
}

.about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    padding: 0.05em 0.82rem;
    border: var(--line-weight) solid var(--border-color);
    border-radius: 999px;
    color: var(--text-color);
    line-height: 1.4;
}

.about-link:hover,
.about-link:focus-visible {
    background: var(--text-color);
    color: var(--bg-color);
    opacity: 1;
}

.about-media {
    margin-top: clamp(28px, 3vw, 52px);
}

.about-media > * + * {
    margin-top: 1rem;
}

.about-media img,
.about-media video,
.about-media iframe {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

@media (max-width: 750px) {
    .about-columns {
        gap: 3rem;
    }

    .about-profile {
        max-height: none;
        overflow: visible;
    }

    .about-links {
        font-size: 3vw;
    }

    .about-link {
        min-height: 24px;
        padding-right: 0.72rem;
        padding-left: 0.72rem;
    }
}
