/* 首页服务资讯详情弹窗（与 www.cnw-ex.com 新闻交互一致） */
/* 整页滚动容器是 html，只锁 body 无效，必须同时锁定 html */
html.news-modal-open, html.news-modal-open body { overflow: hidden; }
.news-modal[hidden] { display: none; }
.news-modal { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.news-modal-backdrop { position: absolute; inset: 0; background: rgba(12, 20, 40, .55); backdrop-filter: blur(2px); }
.news-modal-panel {
  position: relative; z-index: 1; width: min(760px, 100%); max-height: min(86vh, 900px); overflow-y: auto;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: #fff; color: #24252b; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  padding: 30px 34px 34px; font-family: -apple-system, "PingFang SC", "Noto Sans SC", system-ui, "Segoe UI", Roboto, sans-serif;
}
.news-modal-close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: #f1f3f8; color: #4a4f5e; font-size: 24px; line-height: 1; cursor: pointer;
}
.news-modal-close:hover { background: #e6eaf5; }
.news-modal-panel h3 { margin: 0 44px 12px 0; font-size: 22px; line-height: 1.4; font-weight: 600; color: #10134d; }
.news-modal-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #82828b; padding-bottom: 16px; border-bottom: 1px solid #eef0f6; }
.news-modal-meta i { width: 3px; height: 3px; border-radius: 50%; background: #b6bbc8; }
.news-modal-body { margin-top: 18px; font-size: 15px; line-height: 1.9; color: #33363f; overflow-wrap: anywhere; }
.news-modal-body p { margin: 0 0 14px; }
.news-modal-body img { max-width: 100%; height: auto; border-radius: 8px; }
.news-modal-loading { color: #8a90a0; font-size: 14px; }

@media (max-width: 640px) {
  .news-modal { padding: 10px; }
  .news-modal-panel { padding: 24px 18px 26px; border-radius: 12px; max-height: 92vh; }
  .news-modal-panel h3 { font-size: 18px; margin-right: 40px; }
  .news-modal-body { font-size: 14px; line-height: 1.85; }
}
