﻿/* 全局样式 */
.page-wrap {
    max-width: 768px;
    margin: auto;
    padding: 0px;
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
}

h1 {
    text-align: center;
    font-size: 24px;
    color: #333;
}

/* 搜索框区域 */
.c-search-top {
    margin-bottom: 10px;
    margin-top:10px;
}

.c-search-top-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .c-search-top-body input[type="text"] {
        flex: 1;
        padding: 8px;
        border: none;
        outline: none;
        font-size: 16px;
        color: #333;
        background: transparent;
    }

        .c-search-top-body input[type="text"]::placeholder {
            color: #999;
        }

.btn-search-block {
    margin-left: 8px;
}

.btn-search {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

    .btn-search:hover {
        background-color: #0056b3;
    }


/* 搜索框区域 */




/* 期刊展示区 */
.jczw-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 0px;
}

.fenye {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

    .fenye ul#pagelist {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .fenye ul#pagelist li {
            margin: 0 5px;
        }

            .fenye ul#pagelist li a {
                display: inline-block;
                padding: 8px 12px;
                background-color: #007bff;
                color: white;
                border-radius: 5px;
                text-decoration: none;
                transition: background-color 0.3s ease;
            }

                .fenye ul#pagelist li a:hover {
                    background-color: #0056b3;
                }

    .fenye input#allcount {
        padding: 8px;
        border: 1px solid #dbdbdb;
        border-radius: 5px;
        font-size: 14px;
        text-align: center;
        width: 80px;
        margin-left: 10px;
    }




/* 期刊展示区的背景区域 */
#index-page {
    background-color: #f9f9f9; /* 浅灰色背景 */
    padding: 0px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 增加阴影效果 */
    margin-bottom: 5px;
}

/* 期刊列表容器 */
.c-qk-suggest {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 自适应列数 */
    gap: 20px; /* 期刊之间的间距 */
}

    /* 期刊项样式 */
    .c-qk-suggest .journal-item {
        background-color: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 期刊项阴影 */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
        padding: 15px;
    }

        /* 期刊项悬停效果 */
        .c-qk-suggest .journal-item:hover {
            transform: translateY(-5px); /* 悬停时轻微上移 */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 悬停时阴影加深 */
        }

        /* 期刊图片样式 */
        .c-qk-suggest .journal-item img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        /* 期刊名字样式 */
        .c-qk-suggest .journal-item .journal-name {
            font-size: 16px;
            font-weight: bold;
            color: #333333;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis; /* 文字过长时显示省略号 */
        }

/* 加载中提示样式 */
#divjournallist {
    text-align: center;
    font-size: 18px;
    color: #666666;
    padding: 20px;
}


/* 期刊展示区的背景区域 */




/* 期刊项链接样式 */
.c-qk-suggest {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* 自适应列数 */
    gap: 20px; /* 期刊之间的间距 */
    padding: 20px;
}
.c-qk-suggest a {
    display: block;
    text-decoration: none; /* 去掉下划线 */
    color: inherit; /* 继承父元素颜色 */
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 期刊项阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 15px;
}

    /* 期刊项链接悬停效果 */
    .c-qk-suggest a:hover {
        transform: translateY(-5px); /* 悬停时轻微上移 */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 悬停时阴影加深 */
    }

/* 期刊图片样式 */
.c-qk-suggest img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.3s ease; /* 图片缩放动画 */
}

/* 期刊图片悬停效果 */
.c-qk-suggest a:hover img {
    transform: scale(1.05); /* 悬停时图片轻微放大 */
}

/* 期刊名字样式 */
.c-qk-suggest a .journal-name {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* 文字过长时显示省略号 */
    transition: color 0.3s ease; /* 文字颜色动画 */
}

/* 期刊名字悬停效果 */
.c-qk-suggest a:hover .journal-name {
    color: #007bff; /* 悬停时文字变为蓝色 */
}

/* 加载中提示样式 */
#divjournallist {
    text-align: center;
    font-size: 18px;
    color: #666666;
    padding: 20px;
}