body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

h1 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #000;
    text-align: left;
}

.profile {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.circular-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bio {
    flex: 1;
    text-align: left;
}

.bio p {
    margin-bottom: 1rem;
}

.location {
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.social-links a {
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: min-content;
}

.content {
    margin-top: 1rem;
}

.bio a {
    color: #1a0dab;
    text-decoration: none;
}

.bio a:hover {
    text-decoration: underline;
}

h2 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #000;
}

.content {
    margin-bottom: 2rem;
}

/* Estilos para los papers en Research */
.paper-title {
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.paper-title a {
    color: #1a0dab;
    text-decoration: none;
}

.paper-title a:hover {
    text-decoration: underline;
}

.paper-authors {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.paper-meta {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
}

.paper-description {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.bibtex-link {
    color: #1a0dab;
    text-decoration: none;
    font-size: 0.8rem;
}

.bibtex-link:hover {
    text-decoration: underline;
}

.bibtex {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    overflow-x: auto;
    margin-top: 0.5rem;
    display: none;
}

/* Media queries para móvil */
@media screen and (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .profile {
        display: grid;
        grid-template-areas: 
            "title"
            "image"
            "bio"
            "social";
        gap: 0.5rem;
        justify-items: center;
    }

    h1 {
        grid-area: title;
        margin: 0;
        font-size: 1.8rem;
        text-align: center;
    }

    .circular-image {
        grid-area: image;
        width: 150px;
        height: 150px;
        margin: 0.5rem 0;
    }

    .bio {
        grid-area: bio;
        text-align: left;
        margin-top: 0.5rem;
    }

    .social-links {
        grid-area: social;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.35rem;
        align-items: baseline;
    }

    .social-links a {
        display: inline-block;
        text-align: center;
    }

    /* Ocultar "Google" en móvil */
    .google-text {
        display: none;
    }
}