/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    margin: 0;*/
/*    background-color: #f0f2f5; !* Light gray background, similar to sidebar *!*/
/*    color: #333;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    padding-top: 20px; !* Give some space from the top *!*/
/*}*/

.page-container {
    width: 100%;
    max-width: 1000px; /* Max width of the main content area */
    background-color: #ffffff; /* White background for the content */
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 2em;
}

/* Search Section */
.search-section {
    margin-bottom: 30px;
}

#searchForm .form-row {
    display: flex;
    gap: 20px; /* Spacing between form groups in a row */
    margin-bottom: 15px;
    align-items: flex-end; /* Align items to the bottom for consistent button height */
}

#searchForm .form-group {
    flex: 1; /* Each group takes equal space by default */
    display: flex;
    flex-direction: column;
}

#searchForm label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #555;
}

#searchForm input[type="text"],
#searchForm input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box; /* Important for width calculation */
}

#searchForm .year-group .year-inputs {
    display: flex;
    align-items: center;
}

#searchForm .year-group .year-inputs input[type="number"] {
    flex: 1; /* Make year inputs share space */
    text-align: center;
}
#searchForm .year-group .year-inputs span {
    margin: 0 10px;
    font-size: 1.2em;
    color: #555;
}


#searchForm .search-button-container {
    flex: 0 0 auto; /* Don't grow, don't shrink, base on content size */
    align-self: flex-end; /* Align button to the bottom of its cell in the flex row */
}

#searchButton {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    height: 40px; /* Match input height */
    line-height: 20px; /* Vertically center text */
}

#searchButton:hover {
    background-color: #0056b3;
}

/* Results Section */
.results-summary {
    margin-bottom: 20px;
    font-size: 0.95em;
    color: #555;
}

.results-summary #resultsCount {
    font-weight: bold;
    color: #007bff;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    background-color: #e9f2f9; /* Light blueish background for article items */
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start; /* Align image and content to the top */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.article-image {
    flex-shrink: 0; /* Prevent image from shrinking */
}

.article-image img {
    width: 300px;
    height: 200px;
    max-height: 300px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.article-content {
    line-height: 40px;

    flex-grow: 1;
}

.article-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    color: #2c3e50;
}

.article-meta p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #555;
    display: flex;
    align-items: center;
}

.article-meta .icon {
    margin-right: 8px;
    font-size: 1.1em; /* Make icons slightly larger */
}

.article-meta .authors-list {
    display: inline; /* Keep authors on one line if possible */
    font-size: 16px;
}

.article-meta .authors-list span:not(:last-child)::after {
    content: ", ";
}
.article-meta .authors-list span.author-asterisk::after {
    content: "*, "; /* For authors with asterisk */
}
.article-meta .authors-list span.author-asterisk:last-child::after {
    content: "*"; /* For last author with asterisk */
}


.article-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    display: inline-flex; /* For icon alignment */
    align-items: center;
}

.article-link a:hover {
    text-decoration: underline;
}

/* Simple icons (you can replace with SVGs or font icons) */
.icon-user::before { content: "👥"; } /* Simplified person icon */
.icon-journal::before { content: "📖";    margin-left: 0px !important; } /* Simplified book icon */
.icon-link::before { content: "🔗"; } /* Simplified link icon */

/* Responsive adjustments */
@media (max-width: 768px) {
    #searchForm .form-row {
        flex-direction: column;
        align-items: stretch; /* Stretch items to full width */
    }
    #searchForm .search-button-container {
        align-self: stretch; /* Make button container full width */
    }
    #searchButton {
        width: 100%; /* Make button full width */
    }
    .article-item {
        background-color: #e9f2f9; /* Light blueish background for article items */
        border-radius: 8px;
        padding: 20px;
        display: flex;
        gap: 20px;
        align-items: flex-start; /* Align image and content to the top */
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        position: relative; /* Needed for smooth transform if other elements might interfere */
        transition: transform 0.3s ease-in-out; /* ADD THIS LINE for smooth transition */
    }

    .article-item:hover {
        transform: translateX(10px); /* ADD THIS LINE to move right on hover */
    }


    .article-image {
        flex-shrink: 0; /* Prevent image from shrinking */
    }
    /*.article-item {*/
    /*    flex-direction: column;*/
    /*    align-items: center; !* Center items when stacked *!*/
    /*}*/
    /*.article-image img {*/
    /*    margin-bottom: 15px;*/
    /*    width: 100%;*/
    /*    max-width: 250px; !* Limit image width on small screens *!*/
    /*    height: auto;*/
    /*}*/
    .article-content {
        width: 100%;
        text-align: center; /* Center text content if desired */
    }
    .article-meta p {
        justify-content: center; /* Center meta items */
    }
}

     /* 侧边栏导航美化 */
 .sidebar-nav {
     border-radius: 8px 0 8px 0;
     overflow: hidden;
     background-color: #ffffff;

     padding: 25px 20px;
     position: relative;
     /*border-top: 6px solid #3cb371 !important;*/
     border-left: 6px solid #4ca2cd !important;
     border-bottom: 6px solid #3cb371;
     border-right: 6px solid #4ca2cd;
     transition: all 0.3s ease;
     margin-top: 15px;
 }

.widget-title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9e9e9;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    position: relative;
    transition: all 0.3s ease;
    border-top: 2px solid transparent;
    margin-bottom: 5px;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 10px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.sidebar-menu li:hover {
    border-top: 2px solid #2980b9;
    transform: translateX(10px);
}

.sidebar-menu li:hover a {
    background-color: rgb(33 28 28 / 5%);

    color: #2980b9;
}

.sidebar-menu li a i {
    margin-right: 10px;
    color: #2980b9;
    transition: transform 0.3s ease;
}

.sidebar-menu li:hover a i {
    transform: translateX(5px);
}

/* 活动状态样式 */
.sidebar-menu li.active {
    border-top: 2px solid #2980b9;
    transform: translateX(10px);
}

.sidebar-menu li.active a {
    background-color: rgb(33 28 28 / 5%);
    color: #2980b9;
    font-weight: 600;
}

.sidebar-menu li.active a i {
    transform: translateX(5px);
}
.radio-text{
    width: 65px;
}
/* 论文搜索区样式 */
.search-section {
    /*background-color: #fff;*/
    border-radius: 10px;
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.08);*/
    margin-bottom: 30px;
    overflow: hidden;
}

.search-container {
    padding: 25px;
}

.search-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2980b9;
    position: relative;
}

.search-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: #2980b9;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    color: black;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #2980b9;
    box-shadow: 0 0 0 2px rgba(145, 165, 56, 0.2);
    outline: none;
}

.year-group {
    grid-column: span 2;
}

.year-inputs {
    display: flex;
    align-items: center;
}

.year-inputs input {
    width: calc(50% - 20px);
}

.year-separator {
    margin: 0 15px;
    color: #666;
    font-weight: 500;
}

.search-button-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#searchButton, .reset-btn {
    height: 50px;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    /*transition: all 0.3s ease;*/
    display: flex;
    align-items: center;
    gap: 8px;
}

#searchButton {
    background-color: #2980b9;
    color: #fff;
}

#searchButton:hover {
    background-color: #7a8c2c;
    box-shadow: 0 5px 15px rgba(145, 165, 56, 0.3);
}

.reset-btn {
    background-color: #f1f1f1;
    color: #555;
}

.reset-btn:hover {
    background-color: #e1e1e1;
}

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
    }

    .year-group {
        grid-column: span 1;
    }
}


     /* 面包屑导航 */
 .breadcrumb {
     padding: 15px 0;
     margin-bottom: 30px;
 }

.breadcrumb ul {
    display: flex;
    list-style: none;
}

.breadcrumb li {
    margin-right: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb li:after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb li:last-child:after {
    content: '';
}

.breadcrumb a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 内容区块样式 */
.content-block {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.content-header {
    margin-bottom: 25px;
    position: relative;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-line {
    height: 3px;
    width: 80px;
    /*background: linear-gradient(90deg, #3cb371, #4ca2cd);*/
    background: #2980b9;
    margin-bottom: 20px;
}

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.content-body img {
    height: 240px;
    width: 360px;
    object-fit: cover;
}

.content-body p {
    margin-bottom: 20px;
}

.research-areas li,
.team-structure li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.research-areas li:before,
.team-structure li:before {
    content: '?';
    color: #3cb371;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.leader-title {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.team-card {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-card img {
    margin-bottom: 15px;
    height: 240px;
    width: 360px;
    object-fit: cover;
}

.team-card h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.team-card p {
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}