.carousel-container {
    position: relative;
    width: 100%;
    /* max-width: 1200px; */
    /* margin: 50px auto; */
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 320px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 导航按钮样式 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* 指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: white;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .carousel-slide {
        height: 250px;
    }

    .carousel-nav {
        padding: 12px;
        font-size: 14px;
    }
}

.nav-container {
    max-width: 800px;
    /* margin: 0 auto;
    padding: 0 20px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* height: 40px;
    line-height: 40px; */
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2196F3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #1976D2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2196F3;
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: #2196F3;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* 添加一些示例内容以便查看效果 */
.content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 分页样式 */

#pagi {
    text-align: center;
    margin: 20px 0;
}

#pagi a,
#pagi b {
    border-radius: 10px;
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
}

#pagi a:hover {
    background-color: #f5f5f5;
}

.zit {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 标题 */
.p-class {
    font-size: 20px;
    font-weight: bold;
    /* margin-bottom: 10px; */
}

/* 内容 */
.a-content {
    /* background-color: #e6e6e6; */
    font-size: 16px;
    line-height: 16px;
    /* padding: 5px;
    border-radius: 5px; */
    color: #000000;
}

/* 没有搜索结果样式 */
.no-results {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--theme-el-bg-color, #fff);
    border-radius: var(--theme-border-radius-l, 8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.no-results-icon {
    font-size: 48px;
    color: var(--theme-color, #206be7);
    margin-bottom: 20px;
    opacity: 0.8;
}

.no-results h3 {
    font-size: 22px;
    color: var(--theme-black-color, #333);
    margin-bottom: 15px;
    font-weight: 600;
}

.no-results p {
    font-size: 16px;
    color: var(--theme-gray-color, #666);
    margin-bottom: 30px;
    line-height: 1.5;
}

.search-form-wrap {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 10px;
}

/* 没有搜索结果页面的搜索框样式 */
.no-results .search-form {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-results .search-form input.keyword {
    border-radius: 24px 0 0 24px;
    height: 46px;
    font-size: 16px;
    padding: 0 20px;
}

.no-results .search-form .submit {
    border-radius: 0 24px 24px 0;
    height: 46px;
    width: 50px;
    font-size: 18px;
}