.about {
    max-width: 960px;
}

.about h1 {
    margin-top: 0;
}

.about-body {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

.about-bio {
    flex: 1;
    min-width: 0;
}

.about-bio p:first-child {
    margin-top: 0;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
    width: 340px;
    max-width: 42%;
}

.about-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--nav-shadow);
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    width: 100%;
}

.about-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--nav-border);
    background: var(--nav-bg);
    box-shadow: 0 2px 8px var(--nav-shadow);
    color: var(--nav-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

.about-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 768px) {
    .about-body {
        flex-direction: column;
        gap: 20px;
    }

    .about-sidebar {
        width: 200px;
        max-width: 55%;
        margin: 0 auto;
        order: -1;
    }
}
