/* ===== 轮播图 - 左侧顶部 ===== */
.left-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    background: #f0f0f0;
    width: 100%;
    height: 180px;
    min-height: 180px;
    margin-top: 10px;
}

.left-slider .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.left-slider .slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    width: 100%;
}

.left-slider .slide-item {
    flex: 0 0 100%;
    position: relative;
    cursor: pointer;
    height: 100%;
    min-height: 180px;
}

.left-slider .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.left-slider .slide-item .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
}

.left-slider .slide-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.left-slider .slider-btn {
    display: none !important;
}

.left-slider .slider-dots {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.75);
    padding: 5px 12px;
    margin: 0;
    line-height: 1;
    border-radius: 0;
}

.left-slider .slider-dots span {
    display: inline-block;
    width: 16px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.left-slider .slider-dots span.active {
    background: #ffffff;
    width: 24px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.left-slider .slider-dots span:hover {
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .left-slider {
        height: 140px;
        min-height: 140px;
    }
    .left-slider .slide-item .slide-caption {
        font-size: 12px;
        padding: 8px 12px;
    }
    .left-slider .slider-dots {
        padding: 4px 10px;
        gap: 4px;
    }
    .left-slider .slider-dots span {
        width: 12px;
        height: 2px;
    }
    .left-slider .slider-dots span.active {
        width: 18px;
    }
}

/* ===== 左侧边栏 - 沿用原有布局 ===== */
.gg-news-left {
    /* 宽度由外部CSS控制，不在此覆盖 */
}

.gg-news-left .news-list-wrapper {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 0 0 12px 0;
    overflow: hidden;
}

/* ===== 总览卡片 - 白色底色 ===== */
.sidebar-overview {
    background: #ffffff;
    padding: 18px 18px 20px 18px;
    color: #1a3c6e;
    border-bottom: 2px solid #eef2f7;
}
.sidebar-overview .overview-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a3c6e;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.sidebar-overview .overview-number {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
    color: #1a3c6e;
}
.sidebar-overview .overview-number .number-unit {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.sidebar-overview .overview-sub {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.sidebar-overview .overview-sub i {
    color: #1a5c9e;
}

/* ===== 分隔标题 ===== */
.sidebar-section-title {
    display: flex;
    align-items: center;
    padding: 12px 16px 8px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #1a3c6e;
    border-bottom: 2px solid #eef2f7;
}
.sidebar-section-title .title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #e8f0fe;
    color: #1a5c9e;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
}
.sidebar-section-title .title-en {
    font-size: 10px;
    font-weight: 400;
    color: #ccc;
    margin-left: auto;
    letter-spacing: 0.5px;
}

/* ===== 热门站点列表 ===== */
.sidebar-hot-list {
    padding: 4px 14px 10px 14px;
}

.sidebar-hot-item {
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border-bottom: 1px solid #f5f7fa;
}
.sidebar-hot-item:last-child {
    border-bottom: none;
}
.sidebar-hot-item:hover {
    background: #f0f6fe;
}

.sidebar-hot-item .hot-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: #d0d7dd;
    flex-shrink: 0;
    margin-right: 8px;
    opacity: 0.6;
}
.sidebar-hot-item .hot-rank.rank-1 { background: #e74c3c; opacity: 0.85; }
.sidebar-hot-item .hot-rank.rank-2 { background: #e67e22; opacity: 0.85; }
.sidebar-hot-item .hot-rank.rank-3 { background: #f1c40f; color: #333; opacity: 0.85; }
.sidebar-hot-item .hot-rank.rank-other { background: #d0d7dd; color: #888; opacity: 0.4; }

.sidebar-hot-item .hot-name {
    flex: 1;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-hot-item .hot-count {
    font-size: 11px;
    color: #bbb;
    flex-shrink: 0;
    margin-left: 6px;
}
.sidebar-hot-item .hot-count i {
    margin-right: 2px;
    font-size: 10px;
}

.sidebar-hot-item .hot-empty {
    font-size: 13px;
    color: #ccc;
    padding: 6px 0;
    text-align: center;
    width: 100%;
}

/* ===== 导航菜单 ===== */
.sidebar-nav {
    padding: 4px 14px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid #eef2f7;
    background: #fafbfc;
    position: relative;
}
.sidebar-nav .nav-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #1a5c9e;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.sidebar-nav .nav-item:hover {
    border-color: #1a5c9e;
    background: #f0f6fe;
}
.sidebar-nav .nav-item:hover::after {
    opacity: 1;
}
.sidebar-nav .nav-item .nav-arrow {
    margin-left: auto;
    color: #ccc;
    font-size: 11px;
    transition: 0.25s;
}
.sidebar-nav .nav-item:hover .nav-arrow {
    color: #1a5c9e;
}
.sidebar-nav .nav-item .nav-sub {
    font-size: 10px;
    font-weight: 400;
    color: #bbb;
    margin-left: 4px;
}

/* ===== 联系我们 ===== */
.sidebar-contact {
    padding: 2px 14px 6px 14px;
}

.sidebar-contact .contact-item {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    margin-bottom: 4px;
    transition: 0.2s;
}
.sidebar-contact .contact-item:hover {
    background: #f0f6fe;
    border-color: #dce6f5;
}
.sidebar-contact .contact-item .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a5c9e;
    font-size: 11px;
    flex-shrink: 0;
    margin-right: 8px;
}
.sidebar-contact .contact-item .contact-body {
    flex: 1;
    min-width: 0;
}
.sidebar-contact .contact-item .contact-label {
    font-size: 10px;
    color: #555;
    font-weight: 400;
    display: block;
    line-height: 1.2;
}
.sidebar-contact .contact-item .contact-value {
    font-size: 10px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    word-break: break-all;
}
.sidebar-contact .contact-item .contact-value a {
    color: #1a5c9e;
    text-decoration: none;
}
.sidebar-contact .contact-item .contact-value a:hover {
    text-decoration: underline;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .sidebar-overview .overview-number {
        font-size: 28px;
    }
    .sidebar-overview {
        padding: 14px 16px 16px 16px;
    }
    .sidebar-section-title {
        font-size: 13px;
        padding: 10px 14px 6px 14px;
    }
    .sidebar-hot-list {
        padding: 2px 12px 8px 12px;
    }
    .sidebar-nav {
        padding: 2px 12px 8px 12px;
    }
    .sidebar-nav .nav-item {
        font-size: 12px;
        padding: 6px 10px;
    }
    .sidebar-contact {
        padding: 0 12px 4px 12px;
    }
    .sidebar-contact .contact-item {
        padding: 5px 8px;
    }
}