/* Custom enhancements for academic site */

/* Better mobile responsiveness for the profile section */
@media screen and (max-width: 768px) {
    .profile-container {
        flex-direction: column !important;
    }
    
    .profile-container > div {
        width: 100% !important;
    }
}

/* Publication list improvements */
.page-content ul > li {
    margin-bottom: 0.2em;
}

/* Better link dividers */
.page-content a + a:before {
    content: "";
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better code blocks */
pre {
    background-color: #f6f8fa;
    border-color: #e1e4e8;
}

/* Improve header on smaller screens */
@media screen and (max-width: 600px) {
    .site-header {
        min-height: auto;
        padding: 15px 0;
    }
    
    .site-title {
        font-size: 22px;
    }
}

/* Better footer spacing */
.site-footer {
    margin-top: 60px;
}

/* Nicer focus states for accessibility */
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Publication year badges (optional - commented out by default)
.pub-year {
    display: inline-block;
    background: #e8f4f8;
    color: #0366d6;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 8px;
}
*/

/* Hide print button when printing */
@media print {
    button {
        display: none !important;
        visibility: hidden !important;
    }
    
    .print-button {
        display: none !important;
        visibility: hidden !important;
    }
    
    .no-print {
        display: none !important;
        visibility: hidden !important;
    }
}
