.page {
    max-width: 992px;
    margin: 60px auto;
    padding-top: 36px;
}

a {
    text-decoration-color: rgb(36, 131, 123);
}

a:hover {
    color: rgb(36, 131, 123);
}

/* ── Profile ── */
.profile {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 3rem;
    margin-top: 4rem;
}

.profile-left {
    display: flex;
    flex: 0 0 30%;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.profile-icons {
    display: flex;
    gap: 10px;
    font-size: 1.6rem;
}

.profile-icons a {
    text-decoration: none;
    color: #222;
}

.profile-bio p+p {
    margin-top: 14px;
}

a.cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #222;
}

a.cv-btn:hover {
    background: #f5f5f5;
}

/* ── Publications ── */
.publications h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

.pub {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 1rem;
}

.pub-thumb {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.pub-title a {
    font-weight: 400;
    text-decoration-color: #222;
}

.pub a:hover {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #222;
}

.pub-links {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pub-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: rgb(36, 131, 123);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pub-links a:hover {
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .profile {
        flex-direction: column;
        align-items: center;
    }

    .profile-bio {
        text-align: left;
    }

    .pub {
        flex-direction: column;
    }

    .pub-thumb {
        width: 100%;
        height: auto;
    }
}