/*
html, body, #app {
    height: 100%;
    margin: 0;
    position: relative;
}
*/

.container-center {
    border-radius: 10px;
    max-width: 100%;
    margin: 10px auto;
    text-align: center;
    padding-bottom: 20px;
    background: linear-gradient(#e6f2ff, #ffffff);
    font-family: Arial, sans-serif;
}

/*
.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}*/
/*
.nav {
    width: 25%;
    padding: 20px;
    background-color: white;
    border-radius: 0 0 0 8px;
    box-shadow: -10px 0 10px -10px rgba(0, 0, 0, 0.1);
}*/

.el-input-group {
    width: 70% !important;
}

.nav-header {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.nav-item {
    cursor: pointer;
    padding: 6px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.nav-item:hover {
    background-color: #ecf0f1;
}

.content-inside {
    display: flex;
    width: 100%;
    justify-content: normal;
    flex-wrap: wrap; /* 允许子元素换行 */
    gap: 16px; /* 子元素之间的间距 */
}

.content-inside > div { /* 每个卡片的样式 */
    flex: 1 1 calc(25% - 24px); /* 确保每个卡片占据大约四分之一的宽度，减去间距 */
    max-width: calc(25% - 24px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.content-inside img {
    max-width: 100%; /* 图片最大宽度为100%，随容器大小变化 */
    height: auto; /* 高度自适应以保持图片比例 */
    margin-bottom: 8px;
}

.content {
    padding: 20px;
    background-color: white;
    border-radius: 0 0 8px 0;
    width: 100%;
    /*box-shadow: 10px 0 10px -10px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    position: relative;
}

.content-header {
    background-color: #ecf0f1;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.news-list {
    list-style-type: none;
    padding: 0;
}

.news-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    cursor: pointer;
}

.news-item:hover {
    background-color: rgba(140, 147, 157, 0.34);
}

.news-title {
    flex-grow: 1;
}

.news-date {
    margin-left: 10px;
}

.news-area {
    display: flex;
    min-height: 60vh;
    justify-content: center;
}

.pageDTO {
    display: flex;
    justify-content: flex-end;
    list-style: none
}

.pageDTO li {
    margin: 10px;
}

.pageDTO li a {
    text-decoration: none;
    color: #2c3e50;
}

.card {
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    max-width: 240px;
    margin: 20px auto;
    overflow: hidden;
    transition: transform .2s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
}

.card-content {
    padding: 8px 16px 0 16px;
    text-align: center;
}

.card img {
    border-radius: 8px;
    margin-bottom: 10px;
}

.card span {
    font-size: 18px;
    color: #333;
}

.find-inp:hover {
    background-color: white;
}
