/* ============ 滨海资讯页面样式 ============ */

/* 标题区 */
.news-hero {
  background: linear-gradient(135deg, #0f2b4a 0%, #1e6fbf 100%);
  padding: 48px 0; text-align: center; color: #fff;
}
.news-hero-title { font-size: 36px; font-weight: 800; letter-spacing: 2px; }
.news-hero-sub { font-size: 15px; color: #cfe0f0; margin-top: 10px; }

/* 筛选标签 */
.news-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.news-tab {
  padding: 8px 22px; font-size: 14px; border: 1px solid var(--border);
  background: #fff; color: var(--text); border-radius: 20px; cursor: pointer;
  transition: all .2s;
}
.news-tab:hover { border-color: var(--primary); color: var(--primary); }
.news-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 文章列表 */
.news-list-section { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: all .25s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-thumb {
  height: 160px; position: relative; display: flex; align-items: center; justify-content: center;
}
.news-emoji { font-size: 56px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.news-vip {
  position: absolute; top: 12px; right: 12px;
  background: linear-gradient(135deg, #f5a623, #f57c00); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(245,124,0,.4);
}
.news-body { padding: 18px; }
.news-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.news-cate { font-size: 12px; color: var(--primary); background: #eaf3fc; padding: 2px 10px; border-radius: 4px; }
.news-date { font-size: 12px; color: var(--text-light); }
.news-title { font-size: 17px; font-weight: 700; color: #0f2b4a; line-height: 1.5; }
.news-desc {
  font-size: 13px; color: var(--text-sub); margin-top: 8px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.news-read { font-size: 12px; color: var(--text-light); }
.news-link { font-size: 13px; color: var(--primary); font-weight: 600; }
.news-link:hover { color: var(--accent); }

/* VIP 弹窗 */
.vip-modal { display: none; position: fixed; inset: 0; z-index: 1000; }
.vip-modal.show { display: block; }
.vip-modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.vip-modal-dialog {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; border-radius: 16px; padding: 40px 36px;
  text-align: center; width: 360px; max-width: 90vw;
  box-shadow: var(--shadow-lg);
  animation: vipPop .25s ease;
}
@keyframes vipPop {
  from { transform: translate(-50%, -50%) scale(.85); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.vip-modal-close {
  position: absolute; top: 12px; right: 16px; font-size: 24px;
  color: var(--text-light); cursor: pointer; line-height: 1;
}
.vip-modal-close:hover { color: var(--text); }
.vip-modal-icon { font-size: 52px; display: block; margin-bottom: 12px; }
.vip-modal-title { font-size: 22px; font-weight: 700; color: #0f2b4a; }
.vip-modal-text { font-size: 15px; color: var(--text-sub); margin: 12px 0 24px; }

/* 响应式 */
@media (max-width: 992px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}
