body {
    font-family: 'Montserrat', 'Noto Sans SC', sans-serif;
    background: #f0f0f0;
}

.navbar-custom {
    background-color: #ff6f91;
}

.navbar-custom .nav-link {
    color: #fff;
}

.navbar-custom .nav-link:hover {
    color: #f5c623;
}

.btn-custom {
    background-color: #f5c623;
    color: #fff;
    border: none;
}

.btn-custom:hover {
    background-color: #e5b613;
    color: #fff;
}

.sidebar {
    background: #ffe6ec;
    border-right: 1px solid #ffccd5;
    padding: 20px;
}

.sidebar .list-group-item {
    background: none;
    border: none;
    color: #666;
    padding: 5px 0;
}

.sidebar .list-group-item:hover,
.sidebar .list-group-item.active {
    color: #f5c623;
}

.sidebar .list-group-item.sub {
    padding-left: 15px;
}

.card {
    margin: 0 auto;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-body {
    height: 80px;
    display: flex;
    align-items: center;  /* 垂直居中 */
    justify-content: center; /* 水平居中 */
    text-align: center;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    max-height: 600px;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.text-danger-custom {
    color: #ff6f91 !important;
}

.text-warning-custom {
    color: #f5c623 !important;
}
.image-container {
    overflow: hidden;  /* 防止子元素放大时溢出 */
}
.image-wrapper {
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}
.image-wrapper:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px) scale(1.2);
}
.image-wrapper img {
    display: block;
    width: 100%;
}

.page-link:hover{
    background-color: #988ddb
}

.page-link:focus {
    box-shadow: none;
}
.noclickable {
    pointer-events: none;
    cursor: default;
}

@media (max-width: 991px) {
    .sidebar {
        border-right: none;
        border-bottom: 1px solid #ffccd5;
    }
    .list-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .list-group-item.sub {
        display: inline-block;
    }
    .list-group-item.noclickable {
        padding-left: 15px;
        font-weight: 900;
        text-decoration: wavy underline;
        text-decoration-style: double;
    }
}

@media (min-width: 992px) {
    .toggle-button-noclickable {
        pointer-events: none; /* 禁用点击 */
        cursor: default; /* 默认光标 */
    }
}