/* 科技感标题样式 */
.tech-title {
    position: relative;
    padding: 12px 20px;
    margin: 0 0 14px 0;
    background: linear-gradient(135deg, #232526, #414345);
    color: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.tech-title h3 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.25em !important;
    position: relative;
    z-index: 1;
}

/* Font Awesome图标装饰元素 */
.tech-title .tech-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    z-index: 2;
}

.tech-title:hover .tech-icon {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

/* 统一标题样式 */
.tech-title h3 {
    font-weight: bold !important;
    color: #fff !important;
    /* 确保白色文字在深色背景上清晰可见 */
}

/* 精确匹配导航栏黑色 */
.top-news-section .tech-title,
.top .tech-title,
.hots .tech-title,
.content .tech-title,
.widget .tech-title,
.friendlinks .tech-title {
    background: linear-gradient(90deg,
            #343639,
            /* 导航栏 */
            #3d4043,
            /* 过渡 */
            #464a4d,
            /* 过渡 */
            #343639) !important;
    /* 导航栏 */
    box-shadow: none;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 0 0 0 !important;
}

.tech-title.breadcrumb-title {
    margin: 0 !important;
}

.sidebar.bar1 .widget .tech-title {
    margin: 0 0 14px 0 !important;
}

.breadcrumb-title span {
    margin: 0 !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.25em !important;
    font-weight: bold !important;
    position: relative;
    z-index: 1;
}

.breadcrumb-title a {
    color: #fff !important;
}

.breadcrumb-title a:hover {
    color: #ccc !important;
}

.breadcrumb-title i {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* 适配文字颜色 */
.tech-title h3 {
    font-weight: bold !important;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

/* 返回顶部按钮样式 */
.fixed-widget {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fixed-widget.show {
    opacity: 1;
    visibility: visible;
}

.fixed-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fixed-widget li {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #444, #222);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.fixed-widget li:hover {
    background: linear-gradient(135deg, #666, #444);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.fixed-widget i {
    color: #fff;
    font-size: 24px;
}