/* ===== 政策资讯页专用样式 ===== */

/* 页面主体 */
.front-body {
  margin: 0;
  padding: 0;
  background: #F5F7FA;
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
  color: #2D3748;
}

/* Hero区域 */
.policy-hero {
  position: relative;
  background: linear-gradient(135deg, #1A3A2A 0%, #0D7C66 50%, #2A9D8F 100%);
  padding: 110px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.policy-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.policy-hero h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
}
.policy-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin: 0 0 32px;
}
.policy-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.policy-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.policy-hero-stat strong {
  font-size: 36px;
  color: #C9963B;
  font-weight: 700;
  line-height: 1.2;
}
.policy-hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* 浮动光斑 */
.policy-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 8s ease-in-out infinite;
}
.policy-hero-orb-1 {
  width: 300px;
  height: 300px;
  background: #C9963B;
  top: -80px;
  left: -60px;
}
.policy-hero-orb-2 {
  width: 250px;
  height: 250px;
  background: #3498DB;
  bottom: -60px;
  right: -40px;
  animation-delay: 3s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* 容器 */
.policy-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

/* 筛选栏 */
.filter-bar {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.filter-group:last-of-type {
  margin-bottom: 12px;
}
.filter-label {
  font-size: 14px;
  font-weight: 600;
  color: #4A5568;
  margin-right: 8px;
  white-space: nowrap;
}
.filter-btn {
  padding: 6px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  background: #fff;
  color: #4A5568;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover {
  border-color: #0D7C66;
  color: #0D7C66;
}
.filter-btn.active {
  background: #0D7C66;
  color: #fff;
  border-color: #0D7C66;
}
.filter-search {
  margin-top: 4px;
}
.filter-search input {
  width: 100%;
  max-width: 400px;
  padding: 10px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 14px;
  color: #2D3748;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.filter-search input:focus {
  border-color: #0D7C66;
  box-shadow: 0 0 0 3px rgba(13,124,102,0.1);
}

/* 区块标签 */
.section-label {
  font-size: 18px;
  font-weight: 700;
  color: #1A202C;
  margin: 32px 0 16px;
  padding-left: 12px;
  border-left: 4px solid #0D7C66;
}
.section-label:first-of-type {
  margin-top: 0;
}

/* 重点推荐卡片 */
.featured-policies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
.featured-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid #0D7C66;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.featured-card[data-type="province"] { border-top-color: #C9963B; }
.featured-card[data-type="standard"] { border-top-color: #3498DB; }
.featured-card[data-type="industry"] { border-top-color: #8E44AD; }
.featured-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(13,124,102,0.1);
  color: #0D7C66;
  margin-bottom: 12px;
  width: fit-content;
}
.badge-province { background: rgba(201,150,59,0.1); color: #C9963B; }
.badge-standard { background: rgba(52,152,219,0.1); color: #3498DB; }
.badge-industry { background: rgba(142,68,173,0.1); color: #8E44AD; }
.featured-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A202C;
  line-height: 1.5;
  margin-bottom: 8px;
}
.featured-meta {
  font-size: 13px;
  color: #718096;
  margin-bottom: 10px;
}
.featured-desc {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 12px;
  flex: 1;
}
.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tag {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.tag-primary { background: rgba(13,124,102,0.1); color: #0D7C66; }
.tag-success { background: rgba(46,204,113,0.1); color: #27AE60; }
.tag-warning { background: rgba(243,156,18,0.1); color: #E67E22; }
.tag-info { background: rgba(52,152,219,0.1); color: #2980B9; }
.featured-detail-btn {
  display: inline-block;
  padding: 8px 20px;
  background: #0D7C66;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.featured-detail-btn:hover { background: #0A6B58; }

/* 政策列表 */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.policy-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.policy-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}
.policy-icon-national { background: rgba(13,124,102,0.1); color: #0D7C66; }
.policy-icon-province { background: rgba(201,150,59,0.1); color: #C9963B; }
.policy-icon-industry { background: rgba(142,68,173,0.1); color: #8E44AD; }
.policy-icon-standard { background: rgba(52,152,219,0.1); color: #3498DB; }
.policy-body {
  flex: 1;
  min-width: 0;
}
.policy-title {
  font-size: 15px;
  font-weight: 600;
  color: #1A202C;
  line-height: 1.5;
  margin-bottom: 6px;
}
.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #718096;
  margin-bottom: 6px;
}
.policy-type-badge {
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}
.type-national { background: rgba(13,124,102,0.1); color: #0D7C66; }
.type-province { background: rgba(201,150,59,0.1); color: #C9963B; }
.type-industry { background: rgba(142,68,173,0.1); color: #8E44AD; }
.type-standard { background: rgba(52,152,219,0.1); color: #3498DB; }
.policy-summary {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.6;
}
.policy-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.btn-detail {
  padding: 8px 18px;
  background: #fff;
  color: #0D7C66;
  border: 1px solid #0D7C66;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-detail:hover {
  background: #0D7C66;
  color: #fff;
}

/* 行业动态 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.news-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  border-left: 4px solid #C9963B;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.news-date {
  font-size: 13px;
  color: #718096;
  margin-bottom: 8px;
}
.news-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A202C;
  line-height: 1.5;
  margin-bottom: 10px;
}
.news-desc {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 12px;
}
.news-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201,150,59,0.1);
  color: #C9963B;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

/* ===== 政策详情弹框 ===== */
.policy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.policy-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.policy-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s;
}
.policy-modal-overlay.active .policy-modal {
  transform: translateY(0);
}
.policy-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #718096;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.policy-modal-close:hover {
  background: #F7FAFC;
  color: #2D3748;
}
.policy-modal-header {
  margin-bottom: 20px;
}
.policy-modal-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.policy-modal-badge.type-national { background: rgba(13,124,102,0.1); color: #0D7C66; }
.policy-modal-badge.type-province { background: rgba(201,150,59,0.1); color: #C9963B; }
.policy-modal-badge.type-industry { background: rgba(142,68,173,0.1); color: #8E44AD; }
.policy-modal-badge.type-standard { background: rgba(52,152,219,0.1); color: #3498DB; }
.policy-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1A202C;
  line-height: 1.5;
  margin: 0;
}
.policy-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: #F7FAFC;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.modal-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal-meta-label {
  font-size: 12px;
  color: #718096;
}
.modal-meta-item span:last-child {
  font-size: 14px;
  color: #2D3748;
  font-weight: 500;
}
.policy-modal-section {
  margin-bottom: 20px;
}
.policy-modal-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1A202C;
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid #0D7C66;
}
.policy-modal-section ul {
  padding-left: 20px;
  margin: 0;
}
.policy-modal-section li {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.8;
  margin-bottom: 4px;
}
.policy-modal-section p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}
.policy-modal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .featured-policies { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .policy-hero { padding: 90px 16px 40px; }
  .policy-hero h2 { font-size: 24px; }
  .policy-hero-stats { gap: 24px; }
  .policy-hero-stat strong { font-size: 28px; }
  .policy-container { padding: 24px 16px 40px; }
  .featured-policies { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .policy-item { flex-direction: column; gap: 12px; }
  .policy-actions { align-self: flex-start; }
  .policy-modal { padding: 24px; }
  .policy-modal-meta { grid-template-columns: 1fr; }
  .filter-bar { padding: 16px; }
  .filter-group { gap: 6px; }
  .filter-btn { padding: 5px 12px; font-size: 12px; }
}
@media (max-width: 480px) {
  .policy-hero-stats { gap: 16px; }
  .policy-hero-stat strong { font-size: 24px; }
  .policy-hero-stat span { font-size: 12px; }
  .featured-card { padding: 16px; }
  .policy-item { padding: 16px; }
  .policy-modal { padding: 16px; }
}
