/* ==========================================================================
   融御官网 · 资讯与行业洞察样式库 (news.css)
   ========================================================================== */

:root {
  --ry-policy: #0e7490;
  --ry-policy-soft: #e0f2fe;
  --ry-company: #2563eb;
  --ry-company-soft: #e8f0fe;
  --ry-bid: #b8860b;
  --ry-bid-soft: #faf3df;
  --ry-ink: #0f172a;
  --ry-muted: #64748b;
  --ry-line: #e2e8f0;
}

/* --------------------------------------------------------------------------
   首页模块：行业洞察
   -------------------------------------------------------------------------- */
.insights-section {
  background: #f7f9fc;
  padding: 56px 0 64px;
  color: var(--ry-ink);
}

.insights-section .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.insights-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.insights-head .eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ry-company);
  margin: 0 0 6px;
}

.insights-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

.insights-head .stats {
  font-size: 14px;
  color: var(--ry-muted);
}

.insights-head .stats b {
  color: var(--ry-ink);
}

.insight-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 22px;
  padding: 0;
  list-style: none;
}

.insight-tabs a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--ry-line);
  background: #fff;
  color: #334155;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
}

.insight-tabs a:hover,
.insight-tabs li.active a {
  border-color: var(--ry-company);
  color: var(--ry-company);
  box-shadow: 0 6px 18px rgba(37, 99, 235, .12);
}

.insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.insights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

/* 卡片 */
.insight-card {
  background: #fff;
  border: 1px solid var(--ry-line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.insight-card__cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f7;
}

.insight-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.insight-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--ry-muted);
}

.insight-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.tag-policy { color: var(--ry-policy); background: var(--ry-policy-soft); }
.tag-company { color: var(--ry-company); background: var(--ry-company-soft); }
.tag-bid { color: var(--ry-bid); background: var(--ry-bid-soft); }

.insight-card__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

.insight-card__title a {
  color: var(--ry-ink);
  text-decoration: none;
}

.insight-card__title a:hover {
  color: var(--ry-company);
}

.insight-card__summary {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ry-muted);
  border-top: 1px dashed var(--ry-line);
  padding-top: 10px;
}

.insight-card__origin {
  color: var(--ry-company);
  text-decoration: none;
  white-space: nowrap;
}

/* 主卡 */
.insight-card--main .insight-card__title { font-size: 24px; }
.insight-card--main .insight-card__summary { -webkit-line-clamp: 5; font-size: 15px; }

/* 右侧紧凑卡：无封面时更紧凑 */
.insights-grid--no-cover .insight-card__cover { display: none; }
.insights-grid--no-cover .insight-card__body { padding: 14px 16px; }
.insights-grid--no-cover .insight-card__summary { -webkit-line-clamp: 2; }

.insights-more {
  margin-top: 26px;
  text-align: center;
}

.insights-more a {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background: var(--ry-company);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.insights-empty {
  background: #fff;
  border: 1px dashed var(--ry-line);
  border-radius: 14px;
  padding: 40px 20px;
  text-align: center;
  color: var(--ry-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   列表页
   -------------------------------------------------------------------------- */
.news-page {
  background: #f7f9fc;
  padding: 36px 0 64px;
}

.news-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-page__title {
  font-size: 28px;
  margin: 0 0 4px;
}

.news-page__sub {
  color: var(--ry-muted, #64748b);
  font-size: 14px;
  margin-bottom: 20px;
}

.news-filter {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.news-filter label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}

.news-filter input,
.news-filter select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.news-filter .actions {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.news-filter button {
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}

.news-filter a.reset {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  padding: 10px 6px;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-pagination {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.news-pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-pagination a {
  display: inline-block;
  min-width: 34px;
  text-align: center;
  padding: 7px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
}

.news-pagination li.active a {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

/* --------------------------------------------------------------------------
   详情页精装排版
   -------------------------------------------------------------------------- */
.news-page--detail {
  padding: 28px 0 64px;
  background: #f6f8fb;
}

.news-detail-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* 面包屑导航与返回入口 */
.news-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: #64748b;
}

.news-breadcrumb__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-breadcrumb__links a {
  color: #64748b;
  text-decoration: none;
  transition: color .15s ease;
}

.news-breadcrumb__links a:hover {
  color: #2563eb;
}

.news-breadcrumb__links .sep {
  color: #cbd5e1;
}

.news-breadcrumb__links .current {
  color: #0f172a;
  font-weight: 500;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 13.5px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: all .2s ease;
}

.news-back-link:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  transform: translateX(-2px);
}

/* 详情卡片主体 */
.news-detail-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px 52px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.news-detail-header {
  border-bottom: 1px solid #edf2f7;
  padding-bottom: 28px;
  margin-bottom: 32px;
}

.news-detail-header__tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.news-tag-sub {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  background: #f1f5f9;
  color: #475569;
}

.news-detail-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: #64748b;
  margin-bottom: 22px;
}

.news-detail-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-detail-meta__item .meta-icon {
  stroke: #94a3b8;
}

.news-lead-box {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-left: 4px solid #2563eb;
  border-radius: 12px;
  padding: 18px 24px;
  margin-top: 18px;
}

.news-lead-box__text {
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
  font-weight: 500;
}

/* 正文排版与组件 */
.article-typography {
  font-size: 16.5px;
  line-height: 1.95;
  color: #272e3b;
  word-break: break-word;
}

.article-typography p {
  margin: 0 0 1.4em;
}

.article-lead-p {
  font-size: 17.5px;
  line-height: 1.9;
  color: #1e293b;
  margin-bottom: 1.6em;
}

/* 客户赞誉证言卡片 */
.article-quote-card {
  position: relative;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-left: 5px solid #2563eb;
  border-radius: 14px;
  padding: 24px 28px 22px;
  margin: 28px 0;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.05);
}

.quote-mark {
  font-size: 38px;
  line-height: 1;
  font-family: Georgia, serif;
  color: #2563eb;
  opacity: 0.7;
  margin-bottom: -10px;
}

.quote-text {
  margin: 0 0 12px;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  color: #1e3a8a;
  border: none;
  font-style: normal;
}

.quote-author {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  text-align: right;
}

/* 结构化章节 */
.article-section {
  margin: 38px 0 28px;
}

.section-badge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.badge-num, .badge-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 10px;
  letter-spacing: 0.5px;
}

.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

/* 特性重点卡片 */
.feature-point-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 20px 0;
}

.point-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.point-icon {
  font-size: 16px;
}

.point-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.point-desc {
  margin: 0 0 14px;
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

/* 图片与图注 */
.article-figure {
  margin: 24px auto;
  text-align: center;
}

.article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  display: block;
  margin: 0 auto;
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

.figure-comparison img {
  border-radius: 14px;
}

/* 重点提示框 */
.article-callout {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: #1e40af;
  margin: 22px 0;
}

/* 产品解决方案三列网格 */
.product-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.solution-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
  transition: transform .2s ease, box-shadow .2s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
  border-color: #bfdbfe;
}

.sol-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.sol-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.sol-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #2563eb;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.sol-tags {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin: 0 0 8px;
}

.sol-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* 文末行动呼吁卡片 */
.article-cta-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
  border-radius: 16px;
  padding: 32px 36px;
  margin: 36px 0 18px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}

.article-cta-box p {
  color: #cbd5e1;
}

.article-cta-box strong {
  color: #60a5fa;
}

.cta-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.cta-subtitle {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.cta-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

.contact-item {
  flex: 1;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  border-radius: 10px;
}

.contact-item .c-label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.contact-item .c-value {
  font-size: 16px;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
}

.cta-footer-note {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}

/* 详情页页脚 */
.news-detail-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-origin-notice .notice-tip {
  margin: 0 0 6px;
  font-size: 13px;
  color: #94a3b8;
}

.news-origin-notice .notice-link {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
}

.news-origin-notice .notice-link a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.news-origin-notice .notice-link a:hover {
  text-decoration: underline;
}

.btn-back-list {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s ease;
}

.btn-back-list:hover {
  background: #2563eb;
  color: #fff;
}

.preview-banner {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* 移动端响应式 */
@media (max-width: 900px) {
  .insights-section { padding: 36px 0 44px; }
  .insights-head h2 { font-size: 24px; }
  .insights-grid { grid-template-columns: 1fr; gap: 16px; }
  .insights-grid .insight-card--main .insight-card__cover { aspect-ratio: 16 / 7; }
  .insight-card--main .insight-card__title { font-size: 19px; }
  .news-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-list { grid-template-columns: 1fr; }
  .news-detail-card { padding: 26px 20px; border-radius: 14px; }
  .news-detail-title { font-size: 22px; }
  .product-solutions-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-cta-box { padding: 22px 18px; }
  .cta-contact-row { flex-direction: column; }
  .news-breadcrumb { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 560px) {
  .news-filter { grid-template-columns: 1fr; }
  .insights-head { flex-direction: column; align-items: flex-start; }
}
