/* Journal */

.logo {
    width: 80px !important;
}

.journal .min-height-container {
    min-height: 400px;
}

.journal a {
    color: inherit;
    text-decoration: none;
}

.journal a:hover {
    text-decoration: underline;
}

@media (min-width: 576px) {
    .journal .journal-cover-image {
        width: 220px;
    }
}

/* 基础样式 */
.journal .journal-banner {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.journal .journal-cover {
    width: 200px;
    height: 280px;
    background: linear-gradient(135deg, #4A90E2 0%, #E74C3C 50%, #F39C12 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.journal .journal-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 200 280\"><rect width=\"200\" height=\"280\" fill=\"%23ADD8E6\"/><text x=\"20\" y=\"40\" font-family=\"Arial\" font-size=\"12\" fill=\"%23FFFFFF\">KeAi</text><text x=\"20\" y=\"80\" font-family=\"Arial\" font-size=\"24\" font-weight=\"bold\" fill=\"%23FFD700\">Advanced</text><text x=\"20\" y=\"110\" font-family=\"Arial\" font-size=\"24\" font-weight=\"bold\" fill=\"%23FFD700\">Membranes</text><circle cx=\"100\" cy=\"150\" r=\"30\" fill=\"%23E74C3C\" opacity=\"0.7\"/><circle cx=\"150\" cy=\"180\" r=\"20\" fill=\"%23F39C12\" opacity=\"0.7\"/><rect x=\"50\" y=\"200\" width=\"100\" height=\"40\" fill=\"%234A90E2\" opacity=\"0.5\"/></svg>") no-repeat center;
    background-size: cover;
}

.journal .journal-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.journal .open-access {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.journal .issn-print, .journal .issn-online {
    font-size: 14px;
}

.journal .metric-value {
    color: #2c3e50;
    line-height: 1;
}

.journal .metric-label {
    color: #2c3e50;
    margin-top: 0.25rem;
}

.journal .metric-separator {
    width: 1px;
    height: 60px;
    background-color: #bdc3c7;
    margin: 0 1.5rem;
}

/* 导航栏样式 */
.journal .nav-section {
    background-color: white;
    border-bottom: 1px solid #ecf0f1;
    padding: 1rem 0;
}

.journal .nav-link {
    color: #2c3e50 !important;
    font-weight: 500;
    margin-right: 2rem;
    text-decoration: none;
    position: relative;
}

.journal .nav-link:hover {
    color: #3498db !important;
}

.journal .dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 250px;
}

.journal .dropdown-item {
    padding: 0.5rem 1rem;
    color: #2c3e50;
    font-size: 0.9rem;
}

.journal .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #3498db;
}

.journal .dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid #ecf0f1;
}

.journal .action-link {
    color: #2c3e50 !important;
    text-decoration: none;
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.journal .action-link:hover {
    color: #3498db !important;
    background-color: #f8f9fa;
    transform: translateX(2px);
}

.journal .action-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.journal .action-link:hover .action-arrow {
    transform: translateX(3px);
}

.journal .nav-separator {
    width: 1px;
    height: 30px;
    background-color: #bdc3c7;
    margin: 0 1rem;
}

/* 内容区域样式 */
.journal .content-section {
    background-color: #FFF;
    padding: 3rem 0;
}

.journal .section-title {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.journal .section-title::after {
    display: none;
}


.journal .section-text {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.journal .section-link {
    color: #3498db;
    text-decoration: underline;
}

/* 指标洞察部分 */
.journal .insights-section {
    margin-top: 3rem;
}

.journal .insights-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    padding: 2rem 0;
    position: relative;
}

.journal .insights-container::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: #bdc3c7;
}

.journal .insight-metric {
    text-align: center;
    flex: 1;
    position: relative;
}

.journal .insight-metric:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: #bdc3c7;
}

.journal .insight-value {
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.journal .insight-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.journal .insight-unit {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.journal .insight-label {
    color: #2c3e50;
    font-size: 0.9rem;
    text-align: center;
}

.journal .info-icon {
    width: 16px;
    height: 16px;
    background-color: #bdc3c7;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: bold;
    margin-left: 0.25rem;
}

.journal .view-insights-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 2rem;
}

.journal .view-insights-btn:hover {
    color: #3498db;
    background-color: #f8f9fa;
    transform: translateX(2px);
}

.journal .arrow-icon {
    width: 24px;
    height: 24px;
    background-color: #3498db;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.journal .view-insights-btn:hover .arrow-icon {
    background-color: #2980b9;
    transform: translateX(3px);
}

/* 文章列表样式 */
.journal .articles-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.journal .articles-tabs {
    display: flex;
    border-bottom: 1px solid #ecf0f1;
    margin-bottom: 2rem;
}

.journal .articles-tab {
    padding: 1rem 2rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.journal .articles-tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.journal .articles-tab:hover {
    color: #3498db;
    text-decoration: none;
}

.journal .articles-tab::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.journal .articles-tab.active::after {
    width: 100%;
}

.journal .articles-subtitle {
    background-color: #ecf0f1;
    padding: 1rem 2rem;
    color: #2c3e50;
    font-size: 0.9rem;
}

.journal .article-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.journal .article-item:last-child {
    border-bottom: none;
}

.journal .article-content {
    flex: 1;
}

.journal .article-title {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-decoration: none;
}

.journal .article-title:hover {
    text-decoration: underline;
}

.journal .article-authors {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.journal .article-meta {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.journal .article-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.journal .cite-btn {
    background: none;
    border: 1px solid #3498db;
    color: #3498db;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.journal .cite-btn:hover {
    background-color: #3498db;
    color: white;
}

.journal .pdf-btn {
    background: none;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.journal .pdf-btn:hover {
    background-color: #e74c3c;
    color: white;
    text-decoration: none;
}

.journal .article-icon {
    width: 24px;
    height: 24px;
    background-color: #f39c12;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.journal .articles-content {
    display: none;
}

.journal .articles-content.active {
    display: block;
}

/* 引用弹窗样式 */
.journal .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.journal .modal-content {
    background-color: white;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.journal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.journal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.journal .close {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.journal .close:hover {
    color: #000;
}

.journal .modal-instructions {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.5;
}

.journal .citation-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.journal .modal-actions {
    display: flex;
    gap: 1rem;
}

.journal .modal-btn {
    background: none;
    border: 1px solid #3498db;
    color: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.journal .modal-btn:hover {
    background-color: #3498db;
    color: white;
}

/* 响应式样式 */
@media (max-width: 991.98px) {
    .journal .nav-section {
        padding: 0.5rem 0;
    }

    .journal .navbar-toggler {
        border: 1px solid #bdc3c7;
        border-radius: 4px;
        padding: 0.25rem 0.5rem;
        background-color: white;
    }

    .journal .navbar-toggler:focus {
        box-shadow: none;
    }

    .journal .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .journal .navbar-nav {
        background-color: white;
        border-radius: 4px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        margin-top: 1rem;
    }

    .journal .nav-link {
        margin-right: 0;
        margin-bottom: 0.5rem;
        display: block;
    }

    .journal .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: 1px solid #ecf0f1;
        margin-left: 1rem;
        margin-top: 0.5rem;
    }

    .journal .mobile-nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .journal .mobile-action-links {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .journal .mobile-action-link {
        color: #2c3e50 !important;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.9rem;
    }

    .journal .mobile-action-link:hover {
        color: #3498db !important;
    }

    .journal .mobile-separator {
        width: 1px;
        height: 20px;
        background-color: #bdc3c7;
    }

    .journal .insights-container {
        flex-direction: column;
        gap: 2rem;
    }

    .journal .insights-container::before {
        display: none;
    }

    .journal .insight-metric:not(:last-child)::after {
        display: none;
    }

    .journal .view-insights-btn {
        margin-left: 0;
        margin-top: 1rem;
    }

    .journal .articles-tabs {
        flex-wrap: wrap;
    }

    .journal .articles-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .journal .journal-cover {
        margin: 0 auto 2rem auto;
        display: block;
    }

    .journal .journal-title {
        text-align: center;
    }

    .journal .open-access,.journal .issn-print,.journal .issn-online {
        text-align: center;
    }

    .journal .article-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .journal .article-icon {
        align-self: flex-start;
    }
}

/* issues */
.journal .year-header {
    font-weight: bold;
    color: #495057;
}