/* --- ACADEMIC HEADER --- */
.scholar-hero {
    background-color: #f8f9fa;
    padding: 120px 0 40px;
    border-bottom: 1px solid #dadce0;
}

.scholar-brand h1 {
    font-family: 'Times New Roman', serif;
    font-size: 2.2rem;
    color: #202124;
    margin-bottom: 15px;
}

.scholar-brand span { font-weight: 300; color: #5f6368; }

/* --- SEARCH BAR --- */
.scholar-search-box {
    display: flex;
    max-width: 700px;
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 8px 20px;
    box-shadow: 0 2px 5px rgba(32,33,36,0.05);
    transition: 0.3s;
}

.scholar-search-box:hover, .scholar-search-box:focus-within {
    box-shadow: 0 2px 8px rgba(32,33,36,0.2);
    border-color: #0f172a;
}

.scholar-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #202124;
}

.scholar-search-box button {
    background: transparent;
    border: none;
    color: #1a73e8;
    font-size: 1.1rem;
    cursor: pointer;
}

/* --- FILTERS & SUBMIT BTN --- */
.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-pills span {
    font-size: 0.85rem;
    color: #5f6368;
    margin-right: 20px;
    cursor: pointer;
    padding-bottom: 2px;
}

.filter-pills span.active {
    color: #1a73e8;
    font-weight: 700;
    border-bottom: 2px solid #1a73e8;
}

.btn-submit-paper {
    background-color: #1a73e8;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.btn-submit-paper:hover { background-color: #1557b0; }

/* --- ARTICLE LIST --- */
.scholar-feed { padding: 40px 0; min-height: 600px; background: #fff; }
.scholar-entry { margin-bottom: 40px; max-width: 800px; }

.article-title a {
    font-size: 1.25rem;
    color: #1a0dab;
    text-decoration: none;
    font-weight: 400;
}
.article-title a:hover { text-decoration: underline; }

.article-meta {
    color: #006621;
    font-size: 0.9rem;
    margin: 4px 0 8px;
}

.article-abstract {
    color: #4d5156;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.article-tags span {
    font-size: 0.75rem;
    background: #f1f3f4;
    color: #5f6368;
    padding: 2px 8px;
    border-radius: 12px;
    margin-right: 5px;
}

.article-footer {
    margin-top: 8px;
    font-size: 0.85rem;
    display: flex;
    gap: 15px;
}

.article-footer a { color: #1a0dab; text-decoration: none; }
.article-footer a:hover { text-decoration: underline; }

/* Loading State */
#loadingMsg { color: #5f6368; font-style: italic; }

@media (max-width: 768px) {
    .action-row { flex-direction: column; align-items: flex-start; }
    .scholar-search-box { width: 100%; }
}