.profile-avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;border:4px solid rgba(255,255,255,.3)}.profile-avatar-initials{width:120px;height:120px;border-radius:50%;border:4px solid rgba(255,255,255,.3);background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-size:36px;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.2)}@media (max-width: 768px){.professor-avatar,.professor-avatar-initials{width:60px;height:60px;font-size:18px}.profile-avatar,.profile-avatar-initials{width:100px;height:100px;font-size:30px}}@media (max-width: 480px){.professor-avatar,.professor-avatar-initials{width:50px;height:50px;font-size:16px}.profile-avatar,.profile-avatar-initials{width:80px;height:80px;font-size:24px}}@media (max-width: 768px){.search-container{max-width:100%}.search-input{font-size:14px;padding:10px 36px 10px 14px}.search-result{padding:10px 14px}.search-result-avatar .professor-avatar,.search-result-avatar .professor-avatar-initials{width:35px;height:35px;font-size:12px}.search-result-name{font-size:14px}.search-result-details{font-size:12px}}@media (max-width: 480px){.search-input{font-size:13px;padding:8px 32px 8px 12px}.search-result{padding:8px 12px}.search-result-avatar .professor-avatar,.search-result-avatar .professor-avatar-initials{width:30px;height:30px;font-size:11px}.search-result-name{font-size:13px}.search-result-details{font-size:11px}}.filter-sidebar{position:fixed;left:0;top:90px;width:280px;height:calc(100vh - 90px);background:#fff;border-right:1px solid #e9ecef;box-shadow:2px 0 4px #0000001a;z-index:100;transition:transform .3s ease;overflow-y:auto;display:flex;flex-direction:column}.filter-sidebar.open{transform:translate(0)}.filter-sidebar.closed{transform:translate(-100%)}.sidebar-header{padding:1.5rem 1.5rem 1rem;border-bottom:1px solid #e9ecef;background:#f8f9fa;margin-bottom:0}.sidebar-header h1{margin:0 0 .5rem;font-size:1.5rem;font-weight:700;color:#000}.sidebar-header .grants-subtitle{margin:0 0 1.5rem;color:#6c757d;font-size:.9rem;line-height:1.4}.sidebar-header .clear-filters-btn{width:100%;background:#6c757d;color:#fff;border:none;padding:.75rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s;margin-top:.5rem}.sidebar-header .clear-filters-btn:hover{background:#5a6268}.funding-inputs{display:flex;flex-direction:column;gap:1rem}.funding-input-group{display:flex;flex-direction:column}.funding-input-group label{font-weight:600;color:#495057;margin-bottom:.5rem;font-size:.9rem}.funding-input{width:100%;max-width:200px;padding:.75rem;border:2px solid #e9ecef;border-radius:8px;font-size:.9rem;background:#fff;transition:border-color .2s}.funding-input:focus{outline:none;border-color:#667eea}.clear-filters-section-top{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e9ecef}.clear-filters-section-top .clear-filters-btn{width:100%;background:#6c757d;color:#fff;border:none;padding:.75rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.clear-filters-section-top .clear-filters-btn:hover{background:#5a6268}.clear-filters-section{margin-top:auto;padding-top:1rem;border-top:1px solid #e9ecef}.clear-filters-section .clear-filters-btn{width:100%;background:#6c757d;color:#fff;border:none;padding:.75rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.clear-filters-section .clear-filters-btn:hover{background:#5a6268}.sidebar-content{padding:2.5rem 1.5rem 1.5rem;flex:1;display:flex;flex-direction:column}.filter-section{margin-bottom:2rem}.filter-section:first-child{margin-top:1rem}.filter-section h4{margin:0 0 1rem;font-size:1rem;color:#495057;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.category-list{display:flex;flex-direction:column;gap:.5rem;max-height:400px;overflow-y:auto;padding-right:.5rem}.category-item{display:flex;align-items:center;gap:.5rem;cursor:pointer;padding:.5rem;border-radius:6px;transition:background-color .2s}.category-item:hover{background:#f8f9fa}.category-item input[type=checkbox]{width:16px;height:16px;accent-color:#667eea;flex-shrink:0}.category-label{font-size:.9rem;color:#495057;flex:1;line-height:1.4}.sponsor-select{width:100%;padding:.75rem;border:2px solid #e9ecef;border-radius:8px;font-size:.9rem;background:#fff;transition:border-color .2s}.sponsor-select:focus{outline:none;border-color:#667eea}@media (max-width: 768px){.filter-sidebar{width:260px}.sidebar-content{padding:1rem}.sidebar-header{padding:1rem 1rem .75rem}.sidebar-header h1{font-size:1.3rem}.filter-section{margin-bottom:1.5rem}.category-list{max-height:250px}}@media (max-width: 480px){.filter-sidebar{width:240px}.sidebar-content{padding:.75rem}.sidebar-header{padding:.75rem .75rem .5rem}.sidebar-header h1{font-size:1.2rem}.filter-section{margin-bottom:1rem}.category-list{max-height:200px}}.layout{min-height:100vh;background-color:#f9fafb;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:#1f2937}.header-bar{display:flex;align-items:center;padding:16px 24px;background-color:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:1000;gap:16px}.header-title{display:flex;align-items:center;flex-shrink:0}.header-text-button{background:none;border:none;font-size:18px;font-weight:600;color:#667eea;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;cursor:pointer;padding:8px 12px;border-radius:6px;transition:background-color .2s ease}.header-text-button:hover{background-color:#f3f4f6}.header-navigation{display:flex;align-items:center;gap:8px;flex-shrink:0}.nav-button{background:none;border:none;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;padding:8px 12px;border-radius:6px;transition:all .2s ease;position:relative}.nav-button:hover{background-color:#f3f4f6;color:#374151}.nav-button.active{color:#7c3aed;font-weight:600}.nav-button.active:after{content:"";position:absolute;bottom:-16px;left:12px;right:12px;height:2px;background-color:#7c3aed;border-radius:1px}.header-search{flex:1;max-width:600px;margin:0 auto}.layout-content{display:flex;min-height:calc(100vh - 73px)}.main-content{flex:1;background-color:#f9fafb;transition:margin-left .3s ease;padding:20px;margin-left:280px}.main-content.sidebar-collapsed{margin-left:0}@media (max-width: 768px){.header-bar{padding:12px 16px;flex-wrap:wrap;gap:12px}.header-navigation{order:2;flex:1 1 100%;justify-content:center;gap:4px}.nav-button{padding:6px 8px;font-size:13px}.header-search{order:3;flex:1 1 100%;max-width:none}.main-content{margin-left:240px}.main-content.sidebar-collapsed{margin-left:0}}@media (max-width: 480px){.header-navigation{gap:2px}.nav-button{padding:4px 6px;font-size:12px}.main-content{margin-left:200px}.main-content.sidebar-collapsed{margin-left:0}}.professor-card{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;cursor:pointer;position:relative;border:2px solid transparent}.professor-card.top-researcher{border:3px solid #f59e0b;box-shadow:0 4px 6px #0000001a,0 0 0 1px #f59e0b33}@media (max-width: 768px){.professor-card{border-radius:8px}.professor-content{padding:16px}.professor-header{gap:12px;margin-bottom:16px}.professor-name{font-size:18px}.professor-position,.professor-department{font-size:13px}.metric{font-size:13px;margin-bottom:10px}.metric-indicator{padding:3px 10px;font-size:11px}}@media (max-width: 480px){.professor-content{padding:12px}.professor-header{gap:10px;margin-bottom:12px}.professor-name{font-size:16px}.professor-position,.professor-department{font-size:12px}.metric{font-size:12px;margin-bottom:8px}.metric-indicator{padding:2px 8px;font-size:10px}}.sort-section{margin-bottom:24px}.sort-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.sort-title{flex:1}.results-subtitle{font-size:14px;color:#6b7280;margin:0}.highlight{font-weight:500;color:#111827}.sort-options{display:flex;align-items:center;gap:8px;padding:4px;background-color:#f3f4f6;border-radius:8px}.sort-button{padding:6px 12px;font-size:14px;font-weight:500;color:#6b7280;background-color:#f3f4f6;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:4px}.sort-button:hover{color:#111827}.sort-button.active{background-color:#fff;color:#111827;box-shadow:0 1px 2px #0000000d}.sort-icon{font-size:12px;margin-left:4px}@media (max-width: 768px){.sort-header{justify-content:flex-start}.sort-options{width:100%;overflow-x:auto;padding:4px}.sort-button{white-space:nowrap;flex-shrink:0}}.sidebar{background-color:#fff;border-right:2px solid #e2e8f0;transition:transform .3s ease,width .3s ease;overflow:hidden;position:fixed;top:0;left:0;height:100vh;z-index:100}.sidebar-open{width:280px;transform:translate(0)}.sidebar-closed{width:0;transform:translate(-100%)}.sidebar-content{padding:20px;width:280px;position:absolute;top:73px;left:0;height:calc(100vh - 73px);overflow-y:auto;box-sizing:border-box}.sidebar-branding{margin-bottom:8px}.sidebar-title{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e2e8f0;text-align:left;letter-spacing:-.5px}.filter-group{margin-bottom:20px}.filter-group-title{font-size:14px;font-weight:600;color:#475569;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.filter-buttons{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;justify-content:flex-start;padding-right:8px}.filter-button{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;background-color:#fff;color:#374151;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:fit-content;max-width:none;text-align:center;white-space:nowrap;box-sizing:border-box;flex-shrink:0}.filter-button:hover{background-color:#f9fafb;border-color:#9ca3af}.filter-button.selected{background-color:#1e3a8a;border-color:#1e3a8a;color:#fff}.search-section{margin:0;text-align:center}.search-container{width:100%;position:relative}.search-input-wrapper{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:#9ca3af;z-index:1}.search-input{width:100%;padding:8px 40px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;outline:none;transition:border-color .2s ease;background-color:#f9fafb;color:#1f2937}.search-input::placeholder{color:#9ca3af}.search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-clear{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;font-size:18px;color:#9ca3af;cursor:pointer;padding:4px;border-radius:4px;transition:color .2s ease}.search-clear:hover{color:#6b7280}.search-dropdown{position:absolute;top:100%;left:0;right:0;background-color:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 10px 25px #0000001a;max-height:400px;overflow-y:auto;z-index:1001;margin-top:4px}.search-result{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:background-color .2s ease;border-bottom:1px solid #f3f4f6}.search-result:last-child{border-bottom:none}.search-result:hover,.search-result.selected{background-color:#f8fafc}.search-result-avatar{margin-right:12px;flex-shrink:0}.search-result-avatar .professor-avatar,.search-result-avatar .professor-avatar-initials{width:40px;height:40px;font-size:14px}.search-result-info{flex:1;min-width:0}.search-result-name{font-weight:600;color:#1f2937;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-result-details{font-size:14px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-no-results{padding:16px;text-align:center;color:#6b7280;font-style:italic}.search-results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:16px 20px;background-color:#f0f9ff;border:1px solid #bae6fd;border-radius:8px}.search-results-info{color:#0369a1;font-weight:500}.clear-search-button{padding:8px 16px;background-color:#0369a1;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s ease}.clear-search-button:hover{background-color:#075985}@media (max-width: 768px){.search-results-header{flex-direction:column;gap:12px;text-align:center}.search-results-info{font-size:14px}.clear-search-button{width:100%;max-width:200px}}.results-count{text-align:center;font-size:14px;color:#6b7280;margin-bottom:20px}.professors-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px;max-width:1200px;margin:0 auto}.professor-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;cursor:pointer;position:relative}.professor-card.top-researcher{border:2px solid #f59e0b;box-shadow:0 0 0 1px #f59e0b33}.professor-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026;border-color:#3b82f6}.university-banner{height:8px;width:100%;color:#fff;font-size:12px;font-weight:600;padding:4px 12px;display:flex;align-items:center}.professor-content{padding:20px}.professor-header{display:flex;align-items:center;margin-bottom:20px;gap:16px}.professor-avatar{width:80px;height:80px;border-radius:50%;object-fit:cover;border:3px solid #e5e7eb}.professor-avatar-fallback{width:80px;height:80px;border-radius:50%;border:3px solid #e5e7eb;background-color:#f3f4f6;display:flex;align-items:center;justify-content:center;color:#9ca3af}.professor-avatar-initials{width:80px;height:80px;border-radius:50%;border:3px solid #e5e7eb;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.1)}.professor-info{flex:1}.professor-name{font-size:20px;font-weight:700;margin:0 0 8px;color:#1f2937}.professor-position,.professor-department{font-size:14px;color:#6b7280;margin:4px 0}.professor-metrics{margin-bottom:20px}.metric{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px}.metric span:first-child{color:#374151;font-weight:500}.metric-indicator{padding:4px 12px;border-radius:15px;color:#fff;font-size:12px;font-weight:600;min-width:40px;text-align:center}.professor-actions{display:flex;gap:12px}.action-button{flex:1;padding:10px 16px;border:1px solid #d1d5db;border-radius:6px;background-color:#f9fafb;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.action-button:hover{background-color:#e5e7eb;border-color:#9ca3af}.no-results{text-align:center;padding:80px 20px;font-size:18px;color:#6b7280;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;grid-column:1 / -1;width:100%}.no-results p{margin-bottom:16px;font-weight:500}.clear-filters-button{padding:8px 16px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:14px;cursor:pointer;transition:background-color .2s ease;margin-top:16px}.clear-filters-button:hover{background:#2563eb}@media (max-width: 1024px){.sidebar{width:100%!important;transform:none!important;height:auto;position:static;border-right:none;border-bottom:1px solid #e5e7eb;margin-right:0;margin-bottom:20px}.sidebar-content{width:100%}.filter-buttons{flex-direction:row;flex-wrap:wrap;justify-content:center}.filter-button{flex:1;min-width:120px}}@media (max-width: 768px){.professors-grid{grid-template-columns:1fr;gap:16px}.filter-button{padding:8px 16px;font-size:13px;min-width:80px}.sort-buttons{gap:8px}.sort-button{padding:6px 12px;font-size:12px;min-width:100px}.professor-card{margin-bottom:16px}.professor-header{flex-direction:column;text-align:center;gap:12px}.professor-avatar,.professor-avatar-initials{width:60px;height:60px;font-size:18px}.professor-actions{flex-direction:column}.search-input{font-size:16px}.search-result{padding:10px 12px}.search-result-avatar .professor-avatar,.search-result-avatar .professor-avatar-initials{width:36px;height:36px;font-size:12px}}@media (max-width: 480px){.filter-title{font-size:20px}.professor-name{font-size:18px}.metric{font-size:13px}.action-button{font-size:13px;padding:8px 12px}.sort-button{min-width:80px;font-size:11px}}.loading-more-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;margin:20px 0;background-color:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.loading-more-container .loading-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top:3px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:12px}.loading-more-container .loading-text{color:#64748b;font-size:14px;font-weight:500}.end-of-results{text-align:center;padding:40px 20px;margin:20px 0;background-color:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.end-of-results p{color:#64748b;font-size:16px;font-weight:500;margin:0}.professor-card-skeleton{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0000001a;display:flex;gap:16px;align-items:flex-start;animation:skeleton-pulse 1.5s ease-in-out infinite}.skeleton-avatar{width:60px;height:60px;border-radius:50%;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;flex-shrink:0}.skeleton-content{flex:1;display:flex;flex-direction:column;gap:8px}.skeleton-name{height:20px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:4px;width:80%}.skeleton-position{height:16px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:4px;width:60%}.skeleton-metrics{display:flex;gap:12px;margin-top:8px}.skeleton-metric{height:14px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:4px;width:40px}@keyframes skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes skeleton-pulse{0%,to{opacity:1}50%{opacity:.8}}.loading-more{display:flex;align-items:center;justify-content:center;padding:20px;grid-column:1 / -1;background:#f8fafc;border-radius:8px;margin:20px 0}.loading-spinner-small{width:20px;height:20px;border:2px solid #e2e8f0;border-top:2px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-right:10px}.load-more-info{grid-column:1 / -1;text-align:center;padding:15px;color:#64748b;font-size:14px;background:#f1f5f9;border-radius:6px;margin:10px 0}.professor-card{will-change:transform;transform:translateZ(0);backface-visibility:hidden}.professor-card-skeleton{background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px #0000001a;overflow:hidden;transition:transform .2s ease;animation:pulse 1.5s ease-in-out infinite}.skeleton-avatar{width:80px;height:80px;background:#e2e8f0;border-radius:50%;margin:15px}.skeleton-content{padding:15px}.skeleton-name{height:20px;background:#e2e8f0;border-radius:4px;margin-bottom:10px;width:70%}.skeleton-position{height:16px;background:#e2e8f0;border-radius:4px;margin-bottom:8px;width:50%}.skeleton-metrics{display:flex;flex-direction:column;gap:8px}.skeleton-metric{height:14px;background:#e2e8f0;border-radius:4px;width:100%}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.back-to-top-button{position:fixed;bottom:30px;right:30px;width:50px;height:50px;border-radius:50%;background-color:#3b82f6;color:#fff;border:none;font-size:20px;cursor:pointer;box-shadow:0 4px 12px #00000026;transition:all .3s ease;z-index:1000;display:flex;align-items:center;justify-content:center}.back-to-top-button:hover{background-color:#2563eb;transform:translateY(-2px);box-shadow:0 6px 16px #0003}.back-to-top-button:active{transform:translateY(0)}.publications-page{min-height:100vh;background-color:#f5f5f5;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.page-header{max-width:1200px;margin:0 auto 30px}.back-button{background:none;border:none;color:#1e3a8a;font-size:16px;font-weight:500;cursor:pointer;padding:8px 0;transition:color .2s ease}.back-button:hover{color:#1e40af;text-decoration:underline}.professor-profile{max-width:1200px;margin:0 auto 40px;background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;overflow:hidden}.profile-header{display:flex;align-items:center;padding:30px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;position:relative}.profile-header.top-researcher{border:3px solid #f59e0b;box-shadow:0 4px 6px #0000001a,0 0 0 1px #f59e0b33}.top-researcher-badge{position:absolute;top:12px;right:12px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:6px 12px;border-radius:16px;font-size:14px;font-weight:600;z-index:10;box-shadow:0 2px 4px #0003}.profile-avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;border:4px solid rgba(255,255,255,.3);margin-right:30px}.profile-avatar-initials{width:120px;height:120px;border-radius:50%;border:4px solid rgba(255,255,255,.3);margin-right:30px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-size:36px;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.2)}.profile-info{flex:1}.profile-name{font-size:32px;font-weight:700;margin:0 0 8px}.profile-position{font-size:18px;margin:0 0 8px;opacity:.9}.profile-department{font-size:16px;margin:0 0 4px;opacity:.8}.profile-university{font-size:16px;margin:0;opacity:.8}.contact-section{padding:30px;border-bottom:1px solid #e5e7eb}.contact-section h2{font-size:24px;font-weight:600;margin:0 0 20px;color:#1f2937}.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.contact-item{display:flex;align-items:center;gap:12px}.contact-label{font-weight:600;color:#374151;min-width:100px}.contact-value{color:#6b7280}.contact-value a{color:#1e3a8a;text-decoration:none;transition:color .2s ease}.contact-value a:hover{color:#1e40af;text-decoration:underline}.scholar-link{background-color:#4285f4;color:#fff!important;padding:6px 12px;border-radius:6px;font-size:14px;font-weight:500;text-decoration:none;transition:background-color .2s ease}.scholar-link:hover{background-color:#3367d6;text-decoration:none!important}.metrics-section{padding:30px;background-color:#f9fafb}.metrics-section h2{font-size:24px;font-weight:600;margin:0 0 20px;color:#1f2937}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.metric-card{background:#fff;padding:20px;border-radius:8px;text-align:center;box-shadow:0 2px 4px #0000000d;border:1px solid #e5e7eb}.metric-value{display:block;font-size:28px;font-weight:700;color:#1e3a8a;margin-bottom:8px}.metric-label{font-size:14px;color:#6b7280;font-weight:500}.publications-section{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;overflow:hidden}.publications-section h2{font-size:24px;font-weight:600;margin:0;padding:30px 30px 20px;color:#1f2937;border-bottom:1px solid #e5e7eb}.publications-list{padding:0}.publication-item{border-bottom:1px solid #f3f4f6;transition:background-color .2s ease}.publication-item:hover{background-color:#f9fafb}.publication-item:last-child{border-bottom:none}.publication-content{padding:25px 30px}.publication-title{font-size:18px;font-weight:600;margin:0 0 8px;color:#1f2937;line-height:1.4}.publication-link{color:#1e3a8a;text-decoration:none;transition:color .2s ease}.publication-link:hover{color:#1e40af;text-decoration:underline}.publication-authors{font-size:14px;color:#6b7280;margin:0 0 6px;font-style:italic}.publication-venue{font-size:14px;color:#374151;margin:0 0 6px;font-weight:500}.publication-year{font-size:14px;color:#6b7280;margin:0}.no-publications{padding:60px 30px;text-align:center;color:#6b7280}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px}.loading-spinner{width:40px;height:40px;border:4px solid #f3f4f6;border-top:4px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}.loading-text{font-size:18px;color:#6b7280;font-weight:500}.loading{text-align:center;padding:40px;font-size:18px;color:#6b7280}.error{color:#dc2626;text-align:center;padding:40px;font-size:18px}@media (max-width: 768px){.publications-page{padding:16px}.profile-header{flex-direction:column;text-align:center;padding:20px}.profile-avatar{margin-right:0;margin-bottom:20px;width:100px;height:100px}.profile-name{font-size:24px}.contact-grid{grid-template-columns:1fr}.metrics-grid{grid-template-columns:repeat(2,1fr)}.publication-content,.contact-section,.metrics-section{padding:20px}}@media (max-width: 480px){.metrics-grid{grid-template-columns:1fr}.profile-name{font-size:20px}.publication-title{font-size:16px}}.loading-more{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;gap:16px}.loading-more .loading-spinner{width:30px;height:30px;border:3px solid #f3f4f6;border-top:3px solid #3b82f6}.loading-more p{font-size:16px;color:#6b7280;margin:0}.dashboard-grid{display:grid;grid-template-columns:1fr 400px;gap:30px;margin-bottom:40px}.dashboard-left-column,.dashboard-right-column{display:flex;flex-direction:column;gap:30px}.dashboard-section{background:#fff;border-radius:12px;box-shadow:0 8px 25px #0000001f,0 4px 10px #00000014;overflow:hidden;margin-bottom:30px;transition:transform .2s ease,box-shadow .2s ease}.dashboard-section:hover{transform:translateY(-3px);box-shadow:0 12px 35px #0000002e,0 6px 15px #0000001f}.section-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.section-title{display:flex;align-items:center}.section-header h2{margin:0;font-size:1.4rem;font-weight:600;color:#1f2937}.view-all-link{color:#6b7280;text-decoration:none;font-size:.9rem;font-weight:500;display:flex;align-items:center;gap:4px;transition:color .2s ease}.view-all-link:hover{color:#374151;text-decoration:underline}.papers-list{padding:20px}.paper-item{padding:15px 0;border-bottom:1px solid #94a3b8;transition:background-color .2s ease}.paper-item:hover{background:#f8fafc;margin:0 -20px;padding:15px 20px;border-radius:8px}.paper-item:last-child{border-bottom:none}.paper-title{margin:0 0 8px;font-size:1.1rem;font-weight:600;color:#1f2937;line-height:1.4}.dashboard-container .paper-link{color:#1f2937;text-decoration:none;transition:color .2s ease;background:none;padding:0;border-radius:0;display:inline}.dashboard-container .paper-link:hover{color:#1f2937;text-decoration:underline;background:none}.paper-authors{margin:0;font-size:.9rem;color:#6b7280;line-height:1.4}.positions-list{padding:20px}.coming-soon{text-align:center;padding:40px 20px;color:#6b7280;background:#f8fafc;border-radius:8px;margin:0 20px 20px}.coming-soon p{margin:0 0 10px;font-size:1.1rem;font-weight:500;color:#374151}.coming-soon-subtitle{font-size:.9rem!important;color:#6b7280!important;font-weight:400!important;line-height:1.5}.researchers-list{padding:20px}.simple-researcher-card{display:flex;align-items:center;padding:15px;margin-bottom:15px;background:#fff;border-radius:8px;border:1px solid #e2e8f0;cursor:pointer;transition:all .2s ease;position:relative}.simple-researcher-card.top-researcher{border:2px solid #f59e0b;box-shadow:0 4px 6px #0000001a,0 0 0 1px #f59e0b33}.simple-researcher-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026;border-color:#d1d5db}.simple-researcher-card.top-researcher:hover{box-shadow:0 8px 25px #00000026,0 0 0 1px #f59e0b4d}.simple-researcher-card:last-child{margin-bottom:0}.top-researcher-badge{position:absolute;top:8px;right:8px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;padding:4px 8px;border-radius:12px;font-size:11px;font-weight:600;z-index:10;box-shadow:0 2px 4px #0003}.researcher-photo{margin-right:15px;flex-shrink:0}.researcher-photo .profile-photo{width:40px;height:40px;border-radius:50%}.researcher-info{flex:1;min-width:0}.researcher-name{margin:0 0 4px;font-size:.95rem;font-weight:600;color:#1f2937;line-height:1.2}.researcher-department{margin:0;font-size:.8rem;color:#6b7280;line-height:1.2}.grants-list{padding:20px}.grant-item{padding:12px 0;border-bottom:1px solid #f1f5f9;transition:background-color .2s ease;text-decoration:none;display:block;color:inherit}.grant-item:hover{background:#f8fafc;margin:0 -20px;padding:12px 20px;border-radius:8px;text-decoration:none;color:inherit}.grant-item:last-child{border-bottom:none}.grant-title{margin:0 0 6px;font-size:.95rem;font-weight:600;color:#1f2937;line-height:1.3}.grant-details{display:flex;gap:12px;align-items:center;font-size:.8rem;color:#6b7280}.grant-sponsor{font-weight:500;flex:1}.grant-closes{color:#9ca3af}.grant-funding{font-weight:600;color:#28a745;white-space:nowrap}.loading,.error{text-align:center;padding:60px 20px;font-size:1.1rem;color:#6b7280}.no-content{text-align:center;padding:40px 20px;color:#6b7280}.no-content p{margin:0;font-size:1rem}@media (max-width: 1024px){.dashboard-grid{grid-template-columns:1fr;gap:20px}.dashboard-right-column{order:-1}}@media (max-width: 768px){.dashboard-container,.section-header{padding:15px}.section-header h2{font-size:1.2rem}.papers-list,.positions-list,.researchers-list,.grants-list{padding:15px}.paper-title{font-size:1rem}.paper-authors{font-size:.85rem}}@media (max-width: 480px){.section-header{flex-direction:column;align-items:flex-start;gap:10px}.view-all-link{font-size:.85rem}.papers-list,.positions-list,.researchers-list,.grants-list{padding:15px}.researcher-photo .profile-photo{width:35px;height:35px}}.dashboard-container{padding:20px;max-width:1200px;margin:0 auto}.dashboard-container h1{color:#1f2937;margin-bottom:20px;font-size:2rem;font-weight:600}.dashboard-container p{color:#6b7280;font-size:1.1rem;line-height:1.6}.dashboard-header{text-align:center;margin-bottom:40px;padding:30px 0;background:#fff;color:#333;border-radius:8px;box-shadow:0 2px 4px #0000001a}.dashboard-header h1{margin:0 0 10px;font-size:2.5rem;font-weight:600;color:#333}.dashboard-header p{margin:0;font-size:1.1rem;color:#666}.stats-section{margin-bottom:40px}.stats-section h2{font-size:1.8rem;margin-bottom:20px;color:#333;font-weight:600}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:#fff;padding:25px;border-radius:8px;box-shadow:0 2px 4px #0000001a;text-align:center;border:1px solid #e9ecef}.stat-card:hover{box-shadow:0 4px 8px #00000026}.stat-number{font-size:2.5rem;font-weight:700;color:#333;margin-bottom:8px}.stat-label{font-size:.9rem;color:#666;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.universities-section{margin-bottom:40px}.universities-section h2{font-size:1.8rem;margin-bottom:20px;color:#333;font-weight:600}.universities-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(600px,1fr));gap:30px}.university-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;border:1px solid #e9ecef}.university-header{background:#f8f9fa;color:#333;padding:20px;border-bottom:1px solid #e9ecef}.university-header.clickable{cursor:pointer;transition:background-color .2s ease}.university-header.clickable:hover{background:#e9ecef}.university-header h3{margin:0 0 15px;font-size:1.4rem;font-weight:600;color:#333}.university-info{flex:1}.university-summary{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.complete-count,.incomplete-count{font-weight:600;font-size:.9rem}.university-stats{display:flex;gap:20px;flex-wrap:wrap}.university-stats .stat{background:#fff;color:#666;padding:6px 12px;border-radius:4px;font-size:.85rem;font-weight:500;border:1px solid #e9ecef}.colleges-list{padding:20px}.college-item{margin-bottom:15px;background:#fff;border-radius:6px;border:1px solid #e9ecef;overflow:hidden}.college-header.clickable{cursor:pointer;transition:background-color .2s ease}.college-header.clickable:hover{background:#f8f9fa}.college-header{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#fff;border-bottom:1px solid #e9ecef}.college-info{flex:1}.college-info h4{margin:0 0 10px;font-size:1.2rem;color:#333;font-weight:600}.college-summary{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.status-badge{color:#fff;padding:6px 12px;border-radius:4px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.summary-stats{font-size:.9rem;color:#666;font-weight:500}.expand-icon{font-size:1.2rem;color:#666;font-weight:700;margin-left:15px;transition:transform .2s ease}.departments-list{background:#f8f9fa;padding:20px;border-top:1px solid #e9ecef;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.department-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border-radius:4px;font-size:.9rem;border:1px solid #e9ecef}.dept-name{font-weight:500;color:#333}.dept-stats{font-size:.8rem;color:#666;background:#f8f9fa;padding:4px 8px;border-radius:4px;border:1px solid #e9ecef}.loading,.error{text-align:center;padding:60px 20px;font-size:1.1rem;color:#666}.error{color:#dc3545}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;max-width:800px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e9ecef;background:#f8f9fa}.modal-header h2{margin:0;font-size:1.5rem;color:#333;font-weight:600}.modal-close{background:none;border:none;font-size:1.5rem;color:#666;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s ease}.modal-close:hover{background:#e9ecef}.modal-body{padding:20px;overflow-y:auto;flex:1}.university-stats-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:25px;padding:15px;background:#f8f9fa;border-radius:6px;border:1px solid #e9ecef}.stat-item{display:flex;justify-content:space-between;align-items:center}.stat-item .stat-label{font-weight:500;color:#666;font-size:.9rem}.stat-item .stat-value{font-weight:600;color:#333;font-size:1.1rem}@media (max-width: 768px){.dashboard-container{padding:15px}.dashboard-header h1{font-size:2rem}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px}.stat-number{font-size:2rem}.universities-grid{grid-template-columns:1fr}.university-stats{flex-direction:column;gap:10px}.college-summary{flex-direction:column;align-items:flex-start;gap:10px}.departments-list{grid-template-columns:1fr}.modal-overlay{padding:10px}.modal-content{max-height:95vh}.modal-header,.modal-body{padding:15px}.university-stats-summary{grid-template-columns:1fr;gap:10px}}@media (max-width: 480px){.dashboard-header{padding:20px 0}.dashboard-header h1{font-size:1.8rem}.stat-card{padding:20px}.stat-number{font-size:1.8rem}.university-header,.colleges-list,.college-header{padding:15px}}.papers-container{padding:20px;max-width:1200px;margin:0 auto}.papers-header{margin-bottom:30px;text-align:center}.papers-header h1{font-size:2.5rem;color:#2c3e50;margin-bottom:10px;font-weight:700}.papers-header p{font-size:1.1rem;color:#7f8c8d;margin-bottom:20px}.papers-count{font-size:.9rem;color:#7f8c8d;font-weight:500;margin-top:10px}.papers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px;margin-bottom:40px}.paper-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 4px 6px #0000001a;border:1px solid #e9ecef;transition:all .3s ease;position:relative;overflow:hidden}.paper-card.clickable{cursor:pointer}.paper-card.clickable:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026;border-color:#3498db}.paper-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026}.paper-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3498db,#2ecc71)}.paper-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px;gap:10px}.paper-title{font-size:1.1rem;font-weight:600;color:#2c3e50;margin:0;line-height:1.4;flex:1}.paper-year{background:#3498db;color:#fff;padding:4px 8px;border-radius:12px;font-size:.8rem;font-weight:600;white-space:nowrap;flex-shrink:0}.paper-details{margin-bottom:15px}.paper-details>div{margin-bottom:8px;font-size:.9rem;line-height:1.4}.paper-details strong{color:#2c3e50;font-weight:600}.paper-author{color:#34495e}.author-info{display:flex;align-items:center;gap:10px}.author-headshot{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #e9ecef}.author-fallback{width:40px;height:40px;border-radius:50%;background:#3498db;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.9rem;border:2px solid #e9ecef}.author-text{flex:1}.paper-university{color:#7f8c8d}.paper-topic{color:#27ae60;font-style:italic}.paper-links{margin-top:15px;padding-top:15px;border-top:1px solid #ecf0f1}.paper-link{display:inline-block;padding:8px 16px;background:#3498db;color:#fff;text-decoration:none;border-radius:6px;font-size:.9rem;font-weight:500;transition:all .3s ease}.paper-link:hover{background:#2980b9;transform:translateY(-1px)}.paper-link-hint{color:#7f8c8d;font-size:.85rem;font-style:italic;margin-top:10px;display:block;text-align:center}.loading-container{text-align:center;padding:40px}.loading-spinner{border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin:0 auto 20px}.loading-text{color:#7f8c8d;font-size:1.1rem}.paper-card-skeleton{background:#fff;border-radius:12px;padding:20px;box-shadow:0 4px 6px #0000001a;border:1px solid #e9ecef}.skeleton-title{height:20px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:4px;margin-bottom:15px}.skeleton-author,.skeleton-university,.skeleton-topic{height:16px;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:4px;margin-bottom:8px}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.search-results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding:15px 20px;background:#e8f4fd;border-radius:8px;border:1px solid #b3d9f2}.search-results-info{color:#2c3e50;font-weight:500}.clear-search-button{padding:6px 12px;background:#e74c3c;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background .3s ease}.clear-search-button:hover{background:#c0392b}.no-results{text-align:center;padding:40px;grid-column:1 / -1}.no-results p{color:#7f8c8d;font-size:1.1rem;margin-bottom:20px}.no-results-hint{font-size:.9rem;color:#9ca3af;margin:10px 0 20px;line-height:1.4}.clear-filters-button{padding:10px 20px;background:#3498db;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;transition:background .3s ease}.clear-filters-button:hover{background:#2980b9}.back-to-top-button{position:fixed;bottom:30px;right:30px;width:50px;height:50px;background:#3498db;color:#fff;border:none;border-radius:50%;cursor:pointer;font-size:1.5rem;box-shadow:0 4px 12px #3498db4d;transition:all .3s ease;z-index:1000}.back-to-top-button:hover{background:#2980b9;transform:translateY(-2px);box-shadow:0 6px 20px #3498db66}.error{text-align:center;padding:40px;color:#e74c3c;font-size:1.1rem}@media (max-width: 768px){.papers-header h1{font-size:2rem}.papers-sort-controls{flex-direction:column;align-items:stretch}.sort-buttons{justify-content:center}.papers-grid{grid-template-columns:1fr;gap:15px}.paper-card{padding:15px}.paper-header{flex-direction:column;align-items:flex-start}.paper-year{align-self:flex-end}.back-to-top-button{bottom:20px;right:20px;width:45px;height:45px;font-size:1.3rem}}@media (max-width: 480px){.papers-container{padding:15px}.papers-header h1{font-size:1.8rem}.sort-buttons{gap:8px}.sort-button{padding:6px 12px;font-size:.8rem}.paper-card{padding:12px}.paper-title{font-size:1rem}.author-headshot,.author-fallback{width:35px;height:35px;font-size:.8rem}.author-info{gap:8px}}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:40px 0;padding:20px}.pagination-button{padding:10px 20px;background:#3498db;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:all .3s ease}.pagination-button:hover:not(:disabled){background:#2980b9;transform:translateY(-1px)}.pagination-button:disabled{background:#bdc3c7;cursor:not-allowed;transform:none}.pagination-info{font-size:1rem;color:#2c3e50;font-weight:500}.positions-container{padding:20px;max-width:1200px;margin:0 auto}.positions-container h1{color:#1f2937;margin-bottom:20px;font-size:2rem;font-weight:600}.positions-container p{color:#6b7280;font-size:1.1rem;line-height:1.6}.grants-container{margin-left:280px;padding:2rem;transition:margin-left .3s ease}.grants-container.sidebar-collapsed{margin-left:0}.grants-container.with-sidebar{margin-left:280px}.controls-section{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:2rem;gap:2rem;flex-wrap:wrap}.search-controls,.sort-controls{display:flex;gap:1rem;flex-wrap:wrap}.control-group{display:flex;flex-direction:column;min-width:150px}.search-controls .control-group{min-width:300px;flex:1}.control-group label{font-weight:600;color:#495057;margin-bottom:.5rem;font-size:.9rem}.control-input,.control-select{padding:.75rem;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.control-input:focus,.control-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.grants-subtitle{font-size:1.2rem;color:#7f8c8d;margin-bottom:1.5rem}.filters-section{background:#fff;border-radius:12px;padding:2rem;margin-bottom:3rem;box-shadow:0 4px 6px #0000000d;border:1px solid #e9ecef}.filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.filters-header-right{display:flex;align-items:center;gap:1rem}.grants-stats{display:flex;align-items:center}.stat-item{background:#f8f9fa;padding:.5rem 1rem;border-radius:20px;font-size:.85rem;color:#495057;border:1px solid #e9ecef}.stat-item strong{color:#667eea;font-weight:600}.filters-header h3{font-size:1.5rem;color:#2c3e50;margin:0}.clear-filters-btn{background:#6c757d;color:#fff;border:none;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.clear-filters-btn:hover{background:#5a6268}.filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.filter-group{display:flex;flex-direction:column}.filter-group label{font-weight:600;color:#495057;margin-bottom:.5rem;font-size:.9rem}.filter-input,.filter-select{padding:.75rem;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.filter-input:focus,.filter-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.category-filter{grid-column:span 2}.category-checkboxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.5rem;max-height:200px;overflow-y:auto;padding:.5rem;border:1px solid #e9ecef;border-radius:8px;background:#f8f9fa}.category-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;padding:.25rem;border-radius:4px;transition:background-color .2s}.category-checkbox:hover{background:#e9ecef}.category-checkbox input[type=checkbox]{width:16px;height:16px;accent-color:#667eea}.checkbox-label{font-size:.9rem;color:#495057;flex:1}.category-show-more{grid-column:1 / -1;text-align:center;padding:.5rem}.show-more-btn{background:none;border:none;color:#667eea;font-size:.9rem;cursor:pointer;text-decoration:underline;transition:color .2s}.show-more-btn:hover{color:#5a67d8}.grants-list{display:flex;flex-direction:column;gap:1.5rem}.grant-card{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000000d;border:1px solid #e9ecef;transition:transform .2s,box-shadow .2s;position:relative;overflow:visible}.grant-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.grant-card.urgent{border-left:4px solid #dc3545;background:linear-gradient(135deg,#fff,#fff5f5)}.grant-card.soon{border-left:4px solid #ffc107;background:linear-gradient(135deg,#fff,#fffbf0)}.grant-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;gap:1rem}.grant-title{font-size:1.4rem;font-weight:600;color:#2c3e50;margin:0;line-height:1.4;flex:1}.grant-link{color:#667eea;text-decoration:none;transition:color .2s}.grant-link:hover{color:#5a67d8;text-decoration:underline}.urgency-badge{padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600;white-space:nowrap}.urgency-badge.urgent{background:#dc3545;color:#fff}.urgency-badge.soon{background:#ffc107;color:#212529}.grant-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px}.meta-item{display:flex;flex-direction:column;gap:.25rem}.meta-label{font-size:.8rem;color:#6c757d;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.meta-value{font-size:1rem;color:#495057;font-weight:500}.funding-amount{color:#28a745;font-weight:600}.grant-dates{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px}.date-item{display:flex;flex-direction:column;gap:.25rem}.date-label{font-size:.8rem;color:#6c757d;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.date-value{font-size:1rem;color:#495057;font-weight:500}.date-value.urgent{color:#dc3545;font-weight:600}.date-value.soon{color:#ffc107;font-weight:600}.days-remaining{font-size:.8rem;color:#6c757d;font-weight:400;margin-left:.5rem}.grant-content-section{display:flex;flex-direction:column;gap:1rem;position:relative}.grant-description{margin-bottom:0}.description-content{color:#495057;line-height:1.6;margin:0}.description-content p{margin:0 0 1rem}.description-content p:last-child{margin-bottom:0}.description-content br{display:block;margin:.5rem 0}.description-content a{color:#667eea;text-decoration:underline}.description-content a:hover{color:#5a67d8}.read-more-btn{background:none;border:none;color:#667eea;font-weight:600;font-size:.9rem;cursor:pointer;padding:.5rem 0;margin-top:.5rem;transition:color .2s;text-decoration:underline}.read-more-btn:hover{color:#5a67d8}.description-content.truncated{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6}.description-content.expanded{display:block}.grant-actions{display:flex;justify-content:flex-end;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #f1f3f4;position:relative;z-index:20;background:#fff;clear:both;overflow:visible}.apply-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;text-decoration:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;transition:transform .2s,box-shadow .2s;display:inline-flex;align-items:center;gap:.5rem}.apply-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d;color:#fff;text-decoration:none}.apply-btn.disabled{background:#6c757d;cursor:not-allowed;opacity:.6}.apply-btn.disabled:hover{transform:none;box-shadow:none}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.loading-spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.loading-text{color:#6c757d;font-size:1.1rem}.loading-more{display:flex;flex-direction:column;align-items:center;padding:2rem;gap:1rem}.loading-more .loading-spinner{width:30px;height:30px;border-width:3px}.loading-more p{color:#6c757d;font-size:1rem;margin:0}.error-message{text-align:center;padding:3rem;background:#f8f9fa;border-radius:12px;border:1px solid #e9ecef}.error-message p{color:#dc3545;font-size:1.1rem;margin-bottom:1rem}.retry-btn{background:#dc3545;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;transition:background-color .2s}.retry-btn:hover{background:#c82333}.no-grants{text-align:center;padding:3rem;background:#f8f9fa;border-radius:12px;border:1px solid #e9ecef}.no-grants p{color:#6c757d;font-size:1.1rem;margin-bottom:1rem}.back-to-top-button{position:fixed;bottom:2rem;right:2rem;width:50px;height:50px;background:#667eea;color:#fff;border:none;border-radius:50%;font-size:1.5rem;cursor:pointer;box-shadow:0 4px 12px #667eea4d;transition:transform .2s,box-shadow .2s;z-index:1000}.back-to-top-button:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}@media (max-width: 768px){.grants-container{margin-left:0;padding:1rem}.controls-section{flex-direction:column;align-items:stretch;gap:1rem}.search-controls,.sort-controls{justify-content:space-between}.control-group{min-width:auto;flex:1}.grant-card{padding:1.5rem}.grant-header{flex-direction:column;align-items:flex-start;gap:.5rem}.grant-title{font-size:1.2rem}.grant-meta,.grant-dates{grid-template-columns:1fr}.grant-content-section{gap:.75rem}.grant-actions{justify-content:center}.back-to-top-button{bottom:1rem;right:1rem;width:45px;height:45px;font-size:1.2rem}}@media (max-width: 480px){.grants-header h1{font-size:1.8rem}.grant-card{padding:1rem}.grant-title{font-size:1.1rem}.filters-section{padding:1rem}}.not-found-container{display:flex;justify-content:center;align-items:center;min-height:calc(100vh - 200px);padding:40px 20px}.not-found-content{text-align:center;max-width:600px;background:#fff;padding:60px 40px;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.not-found-icon{margin-bottom:24px;opacity:.8}.not-found-title{font-size:72px;font-weight:700;color:#7c3aed;margin:0 0 16px;line-height:1}.not-found-subtitle{font-size:28px;font-weight:600;color:#1f2937;margin:0 0 16px}.not-found-description{font-size:18px;color:#6b7280;margin:0 0 40px;line-height:1.6}.not-found-actions{display:flex;gap:16px;justify-content:center;margin-bottom:40px}.not-found-button{padding:12px 24px;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none;min-width:140px}.not-found-button.primary{background-color:#7c3aed;color:#fff}.not-found-button.primary:hover{background-color:#6d28d9;transform:translateY(-1px);box-shadow:0 4px 12px #7c3aed4d}.not-found-button.secondary{background-color:#f3f4f6;color:#374151;border:1px solid #d1d5db}.not-found-button.secondary:hover{background-color:#e5e7eb;transform:translateY(-1px)}.not-found-links{border-top:1px solid #e5e7eb;padding-top:32px}.not-found-links p{font-size:16px;color:#6b7280;margin:0 0 20px}.not-found-link-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.not-found-link-button{padding:8px 16px;background:none;border:1px solid #d1d5db;border-radius:6px;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.not-found-link-button:hover{background-color:#f9fafb;border-color:#7c3aed;color:#7c3aed}@media (max-width: 768px){.not-found-container{padding:20px 16px}.not-found-content{padding:40px 24px}.not-found-title{font-size:56px}.not-found-subtitle{font-size:24px}.not-found-description{font-size:16px}.not-found-actions{flex-direction:column;align-items:center}.not-found-button{width:100%;max-width:280px}.not-found-link-buttons{flex-direction:column;align-items:center}.not-found-link-button{width:100%;max-width:200px}}@media (max-width: 480px){.not-found-content{padding:32px 20px}.not-found-title{font-size:48px}.not-found-subtitle{font-size:20px}.not-found-description{font-size:15px}}.card-container{min-height:100vh;background-color:#f7f7f7;padding:24px}.container-header{font-size:24px;font-weight:700;margin-bottom:24px}.card-entry-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px}.card-entry{background-color:#fff;border-radius:16px;box-shadow:0 4px 8px #0000001a;padding:16px;transition:box-shadow .2s ease-in-out}.card:hover{box-shadow:0 6px 16px #00000026}.professor-name{font-size:20px;font-weight:600;margin-bottom:8px}.did-research-value{color:#555}.subject-value{color:#000}.contact-button{border:2px solid black;border-radius:25px}
