/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #0A5AA8 0%, #1E3A8A 100%);
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 30px 20px 20px;
}

.carousel-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-desc {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* 预约通道模块样式 */
.booking-channels {
    margin: 20px 15px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent;
    position: relative;
}

.booking-channels::before {
    display: none;
}

.channels-grid {
    padding: 0;
}

.channel-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    box-shadow: 0 2px 12px rgba(10, 90, 168, 0.08);
    overflow: hidden;
}

.channel-item:last-child {
    margin-bottom: 0;
}

.channel-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(10, 90, 168, 0.3);
    box-shadow: 0 8px 32px rgba(10, 90, 168, 0.15);
}

.channel-item::before {
    display: none;
}

.channel-item::after {
    display: none;
}

.channel-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0A5AA8 0%, #1E3A8A 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10, 90, 168, 0.3);
    transition: all 0.3s ease;
}

.channel-item:hover .channel-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(10, 90, 168, 0.4);
}

.channel-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 16px;
}

.channel-icon i {
    color: white;
    font-size: 24px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.channel-info {
    flex: 1;
    min-width: 0;
}

.channel-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.025em;
}

.channel-info p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.channel-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A5AA8;
    flex-shrink: 0;
    background: rgba(10, 90, 168, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.channel-arrow i {
    font-size: 18px;
    transition: transform 0.3s ease;
    font-weight: 600;
}

.channel-item:hover .channel-arrow i {
    transform: translateX(4px);
}

.channel-item:hover .channel-arrow {
    background: rgba(10, 90, 168, 0.15);
    color: #0A5AA8;
}

/* 通知公告样式 */
.news-section {
    margin: 20px 15px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.news-card {
    background: transparent;
    overflow: hidden;
    position: relative;
}

.news-card::before {
    display: none;
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    background: transparent;
}

.news-header-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-header-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(135deg, #0A5AA8 0%, #1E3A8A 100%);
    border-radius: 2px;
}

.news-header-more {
    font-size: 14px;
    color: #0A5AA8;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(10, 90, 168, 0.05);
}

.news-header-more:hover {
    background: rgba(10, 90, 168, 0.1);
    transform: translateY(-1px);
}

.news-item {
    display: flex;
    padding: 20px 24px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 12px rgba(10, 90, 168, 0.08);
    overflow: hidden;
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(10, 90, 168, 0.3);
    box-shadow: 0 8px 32px rgba(10, 90, 168, 0.15);
}

.news-item::after {
    display: none;
}

.news-item.with-image {
    gap: 12px;
}

.news-image {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-item:hover .news-image {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.news-image[src] {
    background: transparent;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.news-content.with-image {
    justify-content: center;
}

.news-title-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.news-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
    min-width: 0;
    letter-spacing: -0.025em;
}

.news-tag {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-tag.hot-tag {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.news-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #64748b;
    margin-top: 8px;
}

.news-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-time::before {
    content: '🕐';
    font-size: 12px;
    margin-right: 4px;
}

/* 加载状态 */
.news-loading {
    padding: 20px;
}

.news-loading-item {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 12px;
}

.news-loading-item:last-child {
    margin-bottom: 0;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 空状态 */
.news-empty {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

.news-empty-text {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-container {
        height: 240px;
        border-radius: 0 0 20px 20px;
    }
    
    .carousel-title {
        font-size: 16px;
    }
    
    .carousel-desc {
        font-size: 12px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .carousel-content {
        padding: 25px 16px 16px;
    }
    
    .booking-channels {
        margin: 15px 12px;
    }
    
    .channels-grid {
        padding: 0;
    }
    
    .channel-item {
        padding: 16px 20px;
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .news-section {
        margin: 15px 12px;
    }
    
    .news-header {
        padding: 16px 0;
    }
    
    .channels-header {
        padding: 16px 0;
    }
    
    .news-item {
        padding: 16px 20px;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    
    .news-image {
        width: 60px;
        height: 50px;
    }
    
    .news-title {
        font-size: 15px;
    }
}

/* 图标字体 - 已改用FontAwesome */

/* 图片加载优化 */
.news-image img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-image img[src] {
    opacity: 1;
} 