.slideshow {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: 100%;
}

/* 让轮播容器自动适配图片高度 */
.swiper-container {
    height: auto !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide {
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* 响应式调整轮播图 */
@media (max-width: 768px) {
    .slideshow {
        height: auto;
        max-width: 100%;
    }
    
    .swiper-container {
        height: auto !important;
        width: 100%;
    }
    
    .swiper-slide {
        height: auto !important;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .slideshow {
        height: auto;
        max-width: 100%;
    }
    
    .swiper-container {
        height: auto !important;
        width: 100%;
    }
    
    .swiper-slide {
        height: auto !important;
        width: 100%;
    }
}

/* Navigation Styles - Similar to trkj template */
.top-nav {
    margin-top: 10px;
}

.top-nav li {
    list-style: none;
}

.top-nav li a {
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.top-nav li a:hover,
.top-nav li a.current {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
}

/* Mobile navigation toggle */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 4px 8px;
}

.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%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-nav {
        margin-top: 5px;
    }
    
    .col-md-3, .col-md-6 {
        text-align: center;
        margin-bottom: 10px;
    }
}
