/* 期刊首页样式 */

.journal-homepage-container {
    padding: 30px 15px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 左侧内容区域 */
.journal-left-content {
    padding-right: 15px;
}

/* 右侧栏 */
.journal-sidebar-right {
    padding-left: 15px;
}

/* 期刊封面和基本信息区域（顶部，左右展示） */
.journal-header-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.journal-cover-section {
    padding-right: 20px;
}

.journal-cover {
    margin-bottom: 20px;
    text-align: center;
}

.journal-cover img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.journal-info-section {
    padding-left: 20px;
}

.journal-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.latest-issue-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.latest-issue-info h6 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.issue-volume {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}

.issue-date {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.journal-description {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.journal-description p {
    margin-bottom: 10px;
}

.journal-details {
    font-size: 13px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.journal-details p {
    margin-bottom: 6px;
}

.journal-details strong {
    color: #333;
    font-weight: 600;
}

.journal-details a {
    color: #0066cc;
    text-decoration: none;
}

.journal-details a:hover {
    text-decoration: underline;
}

.btn-submit-manuscript {
    display: inline-block;
    padding: 12px 30px;
    background-color: #c42021;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-submit-manuscript:hover {
    background-color: #a01a1a;
    color: #fff;
    text-decoration: none;
}

/* 期卷标题区域 */
.issue-header-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.issue-title {
    font-size: 28px;
    font-weight: 600;
    color: #002b5c;
    margin: 0;
    line-height: 1.4;
}

/* 主内容区（文章列表） */
.journal-main-content {
    padding: 0;
    margin-top: 0;
}

.latest-articles-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.title-separator {
    height: 2px;
    background-color: #c42021;
    width: 80px;
    margin: 0 auto 30px;
}

.article-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.article-item:last-child {
    border-bottom: none;
}

.article-thumbnail {
    padding-right: 15px;
}

.article-thumbnail img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.article-metrics-below-image {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.article-metrics-below-image .metric-item {
    display: block;
    margin-bottom: 4px;
}

.article-metrics-below-image .metric-item i {
    margin-right: 4px;
}

.article-content {
    padding-left: 0;
}

.article-labels {
    margin-bottom: 10px;
}

.label-article {
    display: inline-block;
    padding: 3px 8px;
    background-color: #0066cc;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    margin-right: 8px;
}

.label-article-id {
    display: inline-block;
    padding: 3px 8px;
    background-color: #c42021;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-title a {
    color: #333;
    text-decoration: none;
}

.article-title a:hover {
    color: #c42021;
    text-decoration: underline;
}

.article-authors {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.article-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.article-meta a {
    color: #0066cc;
    text-decoration: none;
}

.article-meta a:hover {
    text-decoration: underline;
}

.article-abstract {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}

.article-abstract p {
    margin-bottom: 8px;
}

.article-metrics {
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

.metric-item {
    margin-right: 20px;
}

.metric-item i {
    margin-right: 4px;
}

.article-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

/* 只针对期刊首页的按钮，使用更具体的选择器 */
.journal-homepage-container .article-actions .btn-view-pdf {
    margin-right: auto;
}

.journal-homepage-container .article-actions .btn-view-pdf,
.journal-homepage-container .article-actions .btn-read-more {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.journal-homepage-container .article-actions .btn-view-pdf {
    background-color: #0066cc;
    color: #fff !important;
    border: 1px solid #0066cc;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.journal-homepage-container .article-actions .btn-view-pdf:link,
.journal-homepage-container .article-actions .btn-view-pdf:visited,
.journal-homepage-container .article-actions .btn-view-pdf:active,
.journal-homepage-container .article-actions .btn-view-pdf:focus {
    color: #fff !important;
    text-decoration: none;
}

.journal-homepage-container .article-actions .btn-view-pdf::before {
    content: "\f1c1";
    font-family: "FontAwesome";
    font-size: 12px;
    color: #fff !important;
}

.journal-homepage-container .article-actions .btn-view-pdf:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.journal-homepage-container .article-actions .btn-view-pdf:hover::before {
    color: #fff !important;
}

.btn-read-more {
    color: #0066cc;
    text-decoration: none;
}

.btn-read-more:hover {
    color: #c42021;
    text-decoration: underline;
}

.view-all-issues-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.btn-view-all-issues {
    display: inline-block;
    padding: 10px 30px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-view-all-issues:hover {
    background-color: #0052a3;
    color: #fff;
    text-decoration: none;
}

/* 右侧栏 */
.journal-sidebar-right {
    padding-left: 20px;
}

.sidebar-block {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c42021;
}

.announcements-list,
.most-viewed-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.announcements-list li,
.most-viewed-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.announcements-list li:last-child,
.most-viewed-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.announcements-list a,
.most-viewed-list a {
    display: block;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    margin-bottom: 6px;
}

.announcements-list a:hover,
.most-viewed-list a:hover {
    color: #c42021;
    text-decoration: underline;
}

.announcement-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.announcement-date i {
    margin-right: 4px;
}

.view-count {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.view-count i {
    margin-right: 4px;
}

.indexing-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.indexing-logos img {
    max-height: 40px;
    width: auto;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .journal-left-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .journal-cover-section {
        padding-right: 15px;
        margin-bottom: 30px;
    }
    
    .journal-info-section {
        padding-left: 15px;
    }
    
    .journal-sidebar-right {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .journal-main-content {
        padding: 0;
    }
}

/* 确保移动端不会溢出 */
@media (max-width: 768px) {
    .journal-homepage-container .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .journal-homepage-container .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
    
    .journal-left-content {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .journal-sidebar-right {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
        padding-right: 0;
    }

@media (max-width: 768px) {
    /* 防止溢出 */
    .journal-homepage-container {
        width: 100%;
        max-width: 100%;
        padding: 16px 12px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* 确保所有元素使用 border-box */
    .journal-homepage-container *,
    .journal-homepage-container *::before,
    .journal-homepage-container *::after {
        box-sizing: border-box;
    }
    
    /* 左侧内容区域 - 卡片式设计 */
    .journal-left-content {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    /* 期刊头部区域 - 卡片容器 */
    .journal-header-section {
        margin-bottom: 20px;
        padding: 0;
        border-bottom: none;
        background: transparent;
    }
    
    /* 期刊封面区域 - 独立卡片 */
    .journal-cover-section {
        padding: 16px;
        margin-bottom: 16px;
        background: #ffffff;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }
    
    .journal-cover {
        margin-bottom: 16px;
        text-align: center;
    }
    
    .journal-cover img {
        max-width: 180px;
        width: 100%;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .latest-issue-info {
        text-align: center;
        padding: 12px;
        background-color: #f8f9fa;
        border-radius: 6px;
        margin-bottom: 0;
        border-bottom: none;
    }
    
    .latest-issue-info h6 {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
    }
    
    .issue-volume,
    .issue-date {
        font-size: 13px;
        margin-bottom: 4px;
        color: #666;
    }
    
    /* 期刊信息区域 - 独立卡片 */
    .journal-info-section {
        padding: 20px 16px;
        margin-bottom: 16px;
        background: #ffffff;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }
    
    .journal-title {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 16px;
        line-height: 1.3;
        color: #333;
        text-align: left;
    }
    
    .journal-description {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 16px;
        color: #555;
        text-align: left;
    }
    
    .journal-details {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 20px;
        padding: 16px;
        background-color: #f8f9fa;
        border-radius: 6px;
        text-align: left;
    }
    
    .journal-details p {
        margin-bottom: 8px;
    }
    
    .btn-submit-manuscript {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 6px;
    }
    
    /* 期卷标题区域 */
    .issue-header-section {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    
    .issue-title {
        font-size: 22px;
        line-height: 1.3;
    }
    
    /* 文章列表区域 */
    .journal-main-content {
        padding: 0;
    }
    
    .latest-articles-section {
        margin-bottom: 20px;
        padding: 20px 16px;
        background: #ffffff;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }
    
    .section-title {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 12px;
        color: #333;
        text-align: center;
    }
    
    .title-separator {
        margin: 0 auto 20px;
        width: 60px;
        height: 2px;
        background-color: #c42021;
    }
    
    .article-item {
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .article-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .article-thumbnail {
        margin-bottom: 16px;
        padding-right: 0;
        text-align: center;
    }
    
    .article-thumbnail img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }
    
    .article-metrics-below-image {
        text-align: center;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
    }
    
    .article-content {
        padding-left: 0;
    }
    
    .article-labels {
        margin-bottom: 12px;
    }
    
    .article-title {
        font-size: 17px;
        font-weight: 600;
        margin-bottom: 10px;
        line-height: 1.4;
    }
    
    .article-title a {
        color: #333;
    }
    
    .article-authors {
        font-size: 13px;
        margin-bottom: 8px;
        color: #666;
    }
    
    .article-meta {
        font-size: 12px;
        margin-bottom: 12px;
        color: #666;
        line-height: 1.6;
    }
    
    .article-abstract {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 14px;
        color: #555;
    }
    
    .article-metrics {
        margin-bottom: 14px;
        font-size: 12px;
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
    }
    
    .journal-homepage-container .article-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        margin-top: 16px;
    }
    
    .journal-homepage-container .article-actions .btn-view-pdf,
    .journal-homepage-container .article-actions .btn-read-more {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    /* View All Issues 按钮 */
    .view-all-issues-section {
        margin-top: 20px;
        padding: 20px 16px;
        background: #ffffff;
        border: 1px solid #e8e8e8;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
        text-align: center;
    }
    
    .btn-view-all-issues {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 6px;
    }
    
    /* 右侧栏 */
    .journal-sidebar-right {
        padding: 0;
        margin-top: 20px;
    }
    
    .sidebar-block {
        margin-bottom: 16px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }
}

