/* Academic Professional Homepage Styles */

/* Subtle background - no animation */
body {
    background: #f8f9fa;
}

/* Modern page title - subtle style */
.page__title {
    color: #2d3748;
    font-weight: 700 !important;
    font-size: 2.2em !important;
    margin-bottom: 0.3em !important;
}

/* Enhanced content sections - clean academic style */
.page__content h2 {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.8em;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    padding-left: 12px;
    border-left: 4px solid #667eea;
    border-bottom: 2px solid #e2e8f0;
}

/* Clean publication cards - academic style, no hover effects */
.page__content > div[style*="display: flex"] {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* Images - no hover effects */
.page__content img {
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Enhanced paper titles */
.page__content h3 {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

/* Clean link style - minimal hover */
.page__content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

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

/* News section styling - clean, no hover effects */
.page__content ul {
    list-style: none;
    padding-left: 0;
}

.page__content ul li {
    padding: 10px 15px;
    margin: 8px 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #667eea;
}

/* Experience section */
.page__content ul li strong {
    color: #2d3748;
    font-weight: 700;
}

/* Horizontal rule styling */
hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0;
}

/* Bio section */
.page__content > p:first-of-type {
    font-size: 1.1em;
    line-height: 1.8;
    color: #4a5568;
}

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

/* Author profile - clean style */
.author__avatar img {
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Remove excessive animations */

/* Main content container - clean */
#main {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page__title {
        font-size: 1.8em !important;
    }
    
    #main {
        padding: 20px;
        border-radius: 8px;
    }
    
    .page__content > div[style*="display: flex"] {
        padding: 15px;
    }
    
    /* News scroll on mobile */
    .page__content h2:nth-of-type(3) + ul {
        padding: 15px;
        gap: 12px;
    }
    
    .page__content h2:nth-of-type(3) + ul li {
        min-width: 240px;
        max-width: 280px;
    }
    
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Remove staggered animations */

/* Enhanced paragraph styling */
.page__content p {
    line-height: 1.8;
    color: #4a5568;
}

/* Simple scrollbar - no hover effects */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 5px;
}

/* Back to top button - no hover effects */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top.show {
    opacity: 0.85;
}

/* News section with horizontal scroll - minimal style */
.page__content h2:nth-of-type(3) + ul {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 15px;
    padding: 20px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f8f9fa;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Scroll indicator hint - static, no hover */
.page__content h2:nth-of-type(3) + ul::after {
    content: '→';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: rgba(102, 126, 234, 0.2);
    pointer-events: none;
}

/* News items - card style for horizontal scroll */
.page__content h2:nth-of-type(3) + ul li {
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 320px;
    white-space: normal;
    padding: 15px;
    margin: 0;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Highlight Best Paper - first news item */
.page__content h2:nth-of-type(3) + ul li:first-child {
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.05), rgba(240, 147, 251, 0.05));
    border-left-color: #f5576c;
    font-weight: 600;
}

/* Add trophy emoji for best paper */
.page__content h2:nth-of-type(3) + ul li:first-child::before {
    content: "🏆 ";
    margin-right: 5px;
}

/* Custom scrollbar for News section - no hover effects */
.page__content h2:nth-of-type(3) + ul::-webkit-scrollbar {
    height: 8px;
}

.page__content h2:nth-of-type(3) + ul::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.page__content h2:nth-of-type(3) + ul::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

/* Award badge style - subtle */
.award-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

/* Conference badges */
.conf-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
    margin-right: 8px;
    text-transform: uppercase;
}

.conf-badge.cvpr {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.conf-badge.icra {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.conf-badge.wacv {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #333;
}

.conf-badge.acmmm {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* Remove excessive hover effects */

/* Add focus ring for accessibility */
a:focus, button:focus {
    outline: 3px solid #667eea;
    outline-offset: 3px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .news-container {
        padding: 20px;
    }
    
    .page__content > div[style*="display: flex"] {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
}

/* Print styles */
@media print {
    body {
        background: white !important;
    }
    
    #back-to-top {
        display: none !important;
    }
    
    .page__content > div[style*="display: flex"] {
        box-shadow: none !important;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Keep links simple */

