/* ================================================
   news-detail.html 移动端响应式样式（新闻详情页）
   - 仅 @media only screen and (max-width: 767px) 生效
   - 全站唯一断点 767px，无平板过渡样式
   - 顶部导航/页脚公共部分见 css/responsive/common-responsive.css
   - 适配要点：Banner 压缩、正文 100% 宽度、
     富文本图片防横向溢出、字号改固定 px、间距缩小、
     触控目标 ≥44px
   ================================================ */
@media only screen and (max-width: 767px) {

    /* ---------- 顶部导航汉堡按钮对齐修复 ----------
       公共 header.html 的 DOM 顺序为 logo → nav → 汉堡 → 搜索表单，
       flex space-between 下汉堡不会自动靠右，而是悬在中间偏左；
       首页（index.css）给汉堡设置了 margin-left:auto 使其靠右。
       此处复刻首页写法：margin-left:auto 把汉堡推到最右，
       右侧间距与首页完全一致。 */
    header .nav-toggle,
    .header .nav-toggle {
        margin-left: auto !important;
    }

    /* 强制导航容器 flex 两端对齐（覆盖各内页自身 header 布局差异） */
    header,
    .header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 16px !important;
        box-sizing: border-box;
    }

    /* 清除 Logo 区多余左内边距，保证左右视觉对齐 */
    header .logo-area,
    .header .logo-area {
        padding-left: 0 !important;
    }

    /* ---------- 新闻 Banner ---------- */
    .news-banner {
        height: 160px;
        background-size: cover;
    }

    .news-banner-text {
        margin-left: 16px;
        padding-left: 10px;
        border-left: 3px solid #fff;
    }

    .news-banner-en {
        font-size: 14px;
        line-height: 1.3;
        letter-spacing: 1px;
    }

    .news-banner-cn {
        font-size: 20px;
        line-height: 1.3;
    }

    /* Banner 栏目链接：触控目标 ≥44px */
    .news-banner-cn a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 4px 0;
        box-sizing: border-box;
    }

    /* ---------- 内容容器：正文区域宽度 100% ---------- */
    .news-container {
        width: 100%;
        padding-top: 24px;
        padding-bottom: 40px;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    /* ---------- 标题区 ---------- */
    .news-header {
        margin-bottom: 24px;
    }

    .news-title {
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .news-date {
        font-size: 14px;
        line-height: 1.6;
        padding-bottom: 16px;
    }

    /* ---------- 正文（富文本区域） ---------- */
    .news-article {
        font-size: 15px;
        line-height: 1.8;
    }

    .news-article p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 16px;
    }

    /* 富文本图片防横向溢出（覆盖 PC 端 width:100% 强制撑满） */
    .news-article img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 20px 0;
    }

    /* 富文本嵌入媒体防横向溢出（视频/iframe 保持比例） */
    .news-article iframe,
    .news-article video,
    .news-article embed {
        max-width: 100% !important;
    }
}
