/* 新功能通知横幅样式 */
.site-notice-bar {
    background-color: #d8643f;
    border-bottom: 3px solid #b84f2e;
    padding: 10px 0;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.site-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-notice-text {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
    word-break: break-all;
    overflow-wrap: break-word;
}

.site-notice-btn {
    display: inline-block;
    background-color: #fff;
    color: #245086;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.site-notice-btn:hover,
.site-notice-btn:focus {
    background-color: #e8e8e8;
    color: #0a3a72;
    text-decoration: none;
}

/* 移动端响应式 */
@media screen and (max-width: 768px) {
    .site-notice-bar {
        padding: 10px 0;
    }

    .site-notice-content {
        padding: 0 15px;
        align-items: flex-start;
        gap: 8px;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .site-notice-text {
        font-size: 13px;
    }

    .site-notice-btn {
        width: 100%;
        text-align: center;
        padding: 7px 14px;
    }
}

/* 平板端响应式 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .site-notice-content {
        max-width: 95%;
    }
}
