/* 修复底部Logo尺寸 */
.footer-logo img {
    max-width: 200px;
    height: auto;
}

/* 移动端Logo尺寸 */
@media (max-width: 767px) {
    .footer-logo img {
        max-width: 150px;
    }
}

/* 修复标签云样式 - 彩色热力图效果 */
.sa-sidebar .sidebar-tags {
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0,0,0,.075);
}

.sidebar-tags .tagcloud {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

/* 彩色热力图标签 - 使用不同的颜色 */
.sidebar-tags .tagcloud a,
.sidebar-tags .global-list a {
    font-size: 14px;
    color: #fff;
    padding: 6px 16px;
    display: inline-block;
    margin: 5px 5px 5px 0;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 使用 nth-child 创建彩色效果 */
.sidebar-tags .tagcloud a:nth-child(8n+1) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sidebar-tags .tagcloud a:nth-child(8n+2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.sidebar-tags .tagcloud a:nth-child(8n+3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.sidebar-tags .tagcloud a:nth-child(8n+4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.sidebar-tags .tagcloud a:nth-child(8n+5) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.sidebar-tags .tagcloud a:nth-child(8n+6) {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.sidebar-tags .tagcloud a:nth-child(8n+7) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.sidebar-tags .tagcloud a:nth-child(8n+8) {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.sidebar-tags .tagcloud a:hover,
.sidebar-tags .global-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 修复天气信息显示 - 使用卡片样式 */
.sa-topbar .breaking-news {
    border-radius: 5px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.sa-topbar .breaking-news > span {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#weather-info {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #fff;
}

#weather-info span {
    display: inline-block;
}

#weather-city {
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
}

#weather-temp {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
}

#weather-desc {
    font-style: italic;
    opacity: 0.95;
    font-size: 13px;
    text-transform: capitalize;
}

/* 优化顶部栏样式 */
.sa-topbar .left-contennt {
    display: flex;
    align-items: center;
}

/* 优化广告位图片显示 */
.sidebar-add img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.sa-sidebar .sidebar-add {
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.sa-sidebar .sidebar-content.sidebar-add {
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.sa-sidebar .sidebar-add a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

