/*
 * Part 1: Initial Resume/Profile Page Styles
 * These are the styles we created at the very beginning for the overall layout.
 */
body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 3rem 0;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}

.header p {
    font-size: 1.1rem;
    color: #555;
    margin: 0.5rem 0 0;
}

.section {
    display: flex;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 0.8rem;
    color: #888;
    text-transform: lowercase;
    flex-shrink: 0;
    width: 100px;
    padding-right: 20px;
}

.section-content {
    font-size: 1rem;
    flex-grow: 1;
}

.section-content a {
    color: #007bff;
    text-decoration: underline;
}

.section-content a:hover {
    color: #0056b3;
}

.section-content p {
    margin-top: 2rem;
}

.contact-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #eee;
}

.button i {
    margin-right: 8px;
}

.footer {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.8rem;
    color: #888;
    margin-top: auto;
    padding-top: 2rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-text {
    font-size: 0.8rem;
}

.footer-right {
    font-style: italic;
    font-family: 'Times New Roman', Times, serif; /* Placeholder for handwritten font */
}

/* Optional: Adjust for smaller screens */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .section {
        flex-direction: column;
    }

    .section-title {
        width: 100%;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eee;
        margin-bottom: 1rem;
    }
}

/*
 * Part 2: Publication-specific styles
 * These were added to support the publication list structure.
 */
.publication-details {
    color: #666;
    font-size: 0.9rem;
}

.section-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0;
}

.section-content ol {
    list-style-position: inside;
}

.section-content li {
    margin-bottom: 1rem;
}

/*
 * Part 3: DOI button styles from your provided CSS
 * These are the styles from the second provided file,
 * simplified and integrated here.
 */
.badge {
    font-size: 12.75px;
    display: inline-block;
    line-height: 1;
    padding: 4px 7px;
    color: #0f0f0f;
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    text-indent: 0;
    border-radius: 15px;
    white-space: nowrap; /* Prevents wrapping */
}

.badge-small {
    font-size: 11.25px;
    padding: 4px 5px;
}

.badge.doi {
    color: #ffffff;
    background: #4673B8; /* Blue background */
}

/* Ensure the button is aligned with the text */
.badge.doi {
    vertical-align: middle;
}