/*==================================
    MIGRATION NOTICE 平台迁移公告
    吾与点 2.0 → 吾与点智能数据平台 (www.wuyudian.net)
==================================*/

/* ---- 公告块（hero 首屏） ---- */
.migration-notice {
    margin-top: 20px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background-color: #fff8e1;
    border: 2px solid #ffc107;
    border-radius: 6px;
}

.migration-notice h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: #8a6d00;
}

.migration-notice h3 i {
    margin-right: 8px;
    color: #ff9800;
}

.migration-notice p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #6d5a00;
}

.migration-notice p a {
    color: #004085;
    font-weight: 600;
    text-decoration: underline;
}

.migration-notice p a:hover {
    color: #002752;
}

.migration-notice p strong {
    color: #a94442;
}

/* ---- 公告块按钮 ---- */
.migration-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

/* 覆盖模板 .caption ul li 的 margin: 0 10px，间距统一由 gap 控制 */
.slider_part .singel_slider .caption .migration-actions li,
.slider_part .singel_slider .caption > ul > li {
    margin: 0;
}

.migration-actions .button {
    margin-top: 0;
}

/* ---- hero 高度自适应：内容增加后不再固定 650px ---- */
.slider_part .singel_slider {
    height: auto;
    min-height: 650px;
}

/* ---- hero 原有按钮（帮助中心）间距 ---- */
.slider_part .singel_slider .caption > ul {
    margin-top: 14px;
}

/* ---- footer 迁移提示 ---- */
.migration-footer {
    margin-top: 14px;
    font-size: 14px;
}

.migration-footer a {
    color: #ffc107;
    text-decoration: underline;
}

.migration-footer a:hover {
    color: #fff;
}

/* ---- 移动端适配 ---- */
@media (max-width: 767.98px) {
    .migration-notice {
        padding: 12px 14px;
    }

    .migration-notice h3 {
        font-size: 17px;
    }

    .migration-notice p {
        font-size: 14px;
    }

    .migration-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .migration-actions li {
        width: 100%;
    }

    .migration-actions .button {
        width: 100%;
        text-align: center;
    }

    /* responsive.css 中 slider 固定高度改为最小高度 */
    .slider_part .singel_slider {
        height: auto;
        min-height: 600px;
    }
}
