/* ===== Article Detail Page Styles ===== */

/* 出版社导航栏 */
.publisher-bar {
    background-color: #FFFFFF;
    border-bottom: 1px solid #F0F4FA;
    padding: 12px 0;
}

.publisher-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.publisher-logo {
    font-weight: 700;
    color: #2C3E50;
    font-size: 1.2rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
}

.publisher-logo i {
    color: #8B4513;
    margin-right: 6px;
}

.publisher-logo span {
    color: #2C3E50;
}

.publisher-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 期刊导航栏 */
.journal-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #D0D8E3;
    padding: 16px 0;
    margin-bottom: 30px;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.journal-logo-shape {
    width: 44px;
    height: 44px;
    background: #2C3E50;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.6rem;
    cursor: pointer;
}

.journal-fullname {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
}

.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a, .main-nav .dropbtn {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: #000000;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    border-bottom: 2px solid transparent;
    padding: 4px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav a:hover, .main-nav .dropbtn:hover {
    color: #8B4513;
    border-bottom-color: #8B4513;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #ffffff;
    border: 1px solid #D0D8E3;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    z-index: 100;
    margin-top: 4px;
    border-left: 4px solid #8B4513;
}

.dropdown-content a {
    all: unset;
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #000000;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    border-bottom: 1px solid #F0F4FA;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #F0F4FA;
    color: #8B4513;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn i {
    font-size: 0.7rem;
    color: #8B4513;
}

/* 文章详情布局 */
.article-detail-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 20px auto 60px;
    max-width: 1200px;
    justify-content: center;
}

.article-detail-center {
    flex: 1;
    min-width: 0;
    max-width: 800px;
}

.article-detail-right {
    flex: 0 0 300px;
    position: sticky;
    top: 30px;
}

/* 文章卡片 */
.article-detail-card {
    background: #fff;
    border: 1px solid #D0D8E3;
    padding: 30px 35px;
}

.article-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.article-badges {
    display: flex;
    gap: 8px;
}

.detail-meta-category {
    background: #2C3E50;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 16px;
    display: inline-block;
    text-transform: uppercase;
}

.open-access-badge {
    background: #8B4513;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 16px;
    display: inline-block;
    text-transform: uppercase;
}

.detail-title-main {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 20px;
    line-height: 1.3;
}

/* 作者横排样式 */
.authors-inline {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #8B4513;
    font-weight: 600;
    line-height: 1.6;
}

.author-name-with-sup {
    display: inline;
}

.author-sup {
    font-size: 0.7rem;
    vertical-align: super;
    color: #8B4513;
}

.orcid-icon-inline {
    color: #8B4513;
    font-size: 0.8rem;
    margin-left: 2px;
}

.envelope-icon-inline {
    color: #8B4513;
    font-size: 0.8rem;
    margin-left: 3px;
    cursor: pointer;
}

/* 机构列表 */
.affiliations-container {
    margin: 10px 0 20px;
    padding: 12px 0;
    border-top: 1px dashed #D0D8E3;
    border-bottom: 1px dashed #D0D8E3;
}

.affiliation-item {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.4;
}

.affiliation-num {
    font-weight: 600;
    color: #8B4513;
    margin-right: 8px;
}

.show-more-btn {
    background: none;
    border: none;
    color: #8B4513;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 8px;
    padding: 4px 0;
    text-decoration: underline;
}

.show-more-btn:hover {
    color: #2C3E50;
}

/* DOI */
.detail-doi {
    background: #F0F4FA;
    padding: 12px 18px;
    border-left: 4px solid #8B4513;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.detail-doi a {
    color: #8B4513;
    text-decoration: none;
}

.detail-doi a:hover {
    text-decoration: underline;
}

/* 时间信息 */
.timeline-info-vertical {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    background: #F8FAFC;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-left: 4px solid #8B4513;
}

.timeline-vertical-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.timeline-vertical-label {
    font-weight: 600;
    color: #8B4513;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.timeline-vertical-date {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000000;
    display: block;
}

/* 关键词 */
.keywords-block {
    margin: 25px 0 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
    padding-top: 20px;
}

.keywords-label {
    font-weight: 600;
    color: #2C3E50;
    font-size: 1.1rem;
}

.keyword-tag {
    background: #F0F4FA;
    border: 1px solid #B8C4D0;
    padding: 5px 15px;
    font-size: 0.9rem;
    color: #000000;
}

/* 分割线 */
.section-divider {
    border: none;
    border-top: 3px solid #8B4513;
    margin: 20px 0 30px;
    width: 100%;
}

/* 正文部分 */
.full-article-section {
    margin-top: 0;
}

.full-article-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 30px 0 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.full-article-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E50;
    margin: 25px 0 12px;
}

.full-article-section p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.citation-link {
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    background-color: #F0F4FA;
    padding: 0 2px;
    border-radius: 3px;
}

.citation-link:hover {
    text-decoration: underline;
    background-color: #e0e8f0;
}

/* 图表 */
.figure-box, .table-box {
    margin: 25px 0;
    background: #F8FAFC;
    padding: 20px;
    border: 1px solid #D0D8E3;
    text-align: center;
}

.figure-box i, .table-box i {
    font-size: 4rem;
    color: #8B4513;
    margin-bottom: 10px;
}

.figure-caption, .table-caption {
    font-size: 0.85rem;
    color: #555;
    margin-top: 8px;
    text-align: center;
}

.table-box table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.table-box th, .table-box td {
    border: 1px solid #B8C4D0;
    padding: 10px;
    text-align: center;
}

.table-box th {
    background: #F0F4FA;
    font-weight: 600;
}

/* 参考文献 */
.reference-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.reference-list li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    border-left: 3px solid #8B4513;
    padding-left: 15px;
}

.reference-list a {
    color: #8B4513;
    text-decoration: none;
}

.reference-list a:hover {
    text-decoration: underline;
}

/* 右侧边栏 */
.sidebar-card {
    background: #fff;
    border: 1px solid #D0D8E3;
    padding: 25px 20px;
    margin-bottom: 25px;
}

.sidebar-cover {
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.sidebar-cover-img {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    background: #F0F4FA;
    border: 1px solid #B8C4D0;
    padding: 25px 10px;
    font-size: 4rem;
    color: #8B4513;
}

.sidebar-cover-img span {
    display: block;
    font-size: 0.9rem;
    color: #2C3E50;
    margin-top: 5px;
    font-weight: 600;
}

.sidebar-issue-info {
    text-align: center;
    margin-top: 10px;
}

.sidebar-issue-link {
    color: #8B4513;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

.sidebar-issue-link:hover {
    text-decoration: underline;
}

.sidebar-meta-item {
    margin-bottom: 18px;
}

.sidebar-meta-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #8B4513;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sidebar-meta-value {
    font-size: 1rem;
    color: #000000;
    font-weight: 500;
}

.sidebar-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.sidebar-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #F0F4FA;
    border: 1px solid #B8C4D0;
    padding: 12px 0;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.15s;
}

.sidebar-download-btn i {
    color: #8B4513;
}

.sidebar-download-btn:hover {
    background: #FFFFFF;
    border-color: #8B4513;
}

.sidebar-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid #D0D8E3;
}

.sidebar-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #F0F4FA;
    border: 1px solid #B8C4D0;
    color: #8B4513;
    font-size: 1rem;
    transition: 0.15s;
    text-decoration: none;
    cursor: pointer;
}

.sidebar-share-btn:hover {
    background: #8B4513;
    border-color: #8B4513;
    color: white;
}

.sidebar-cite {
    background: #FFFFFF;
    border: 1px dashed #8B4513;
    padding: 15px;
    margin-bottom: 20px;
}

.sidebar-cite h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 10px;
}

.cite-text {
    font-family: inherit;
    background: #F8FAFC;
    padding: 10px;
    border: 1px solid #D0D8E3;
    font-size: 0.9rem;
    line-height: 1.5;
}

.sidebar-license {
    background: #F8FAFC;
    padding: 15px;
    border-left: 3px solid #8B4513;
}

.sidebar-license p {
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #555;
}

.sidebar-license a {
    color: #8B4513;
    text-decoration: none;
}

.sidebar-license a:hover {
    text-decoration: underline;
}

/* 推荐文章 */
.recommendation-section {
    margin-top: 40px;
}

.recommendation-section h3 {
    font-size: 1.8rem;
    font-weight: 500;
    border-bottom: 1px solid #D0D8E3;
    padding-bottom: 12px;
    margin-bottom: 20px;
    color: #000000;
}

.article-card-horizontal {
    display: flex;
    border: 1px solid #D0D8E3;
    padding: 20px;
    gap: 20px;
    transition: 0.15s;
    margin-bottom: 15px;
    background: white;
    cursor: pointer;
}

.article-card-horizontal:hover {
    border-color: #8B4513;
}

.article-content-horizontal {
    flex: 1;
}

.article-type-badge {
    background: #2C3E50;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-authors {
    font-size: 0.9rem;
    color: #8B4513;
    margin-bottom: 10px;
    font-style: italic;
}

.article-abstract {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #555;
    flex-wrap: wrap;
}

.article-meta-row i {
    color: #8B4513;
    margin-right: 4px;
}

.article-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.article-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F0F4FA;
    padding: 6px 16px;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 0.8rem;
    border: 1px solid #B8C4D0;
    transition: 0.15s;
}

.article-btn i {
    color: #8B4513;
}

.article-btn:hover {
    background: #FFFFFF;
    border-color: #8B4513;
}

.article-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background: #F0F4FA;
    border: 1px solid #B8C4D0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B4513;
    font-size: 2.5rem;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 1100px) {
    .article-detail-layout {
        flex-direction: column;
    }
    
    .article-detail-right {
        position: static;
        width: 100%;
    }
}

@media (max-width: 800px) {
    .article-card-horizontal {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 100px;
        margin-top: 10px;
    }
    
    .timeline-info-vertical {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .timeline-vertical-item {
        text-align: center;
    }
    
    .article-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-nav {
        display: none;
    }
}
