/* =============================================================
   首页「最新洞察 / Latest Insights」板块
   位置：客户案例区块下方。内容由 aso-news/render.js 在每次
   发布后自动刷新（HOMENEWS:BEGIN/END 标记之间的部分）。
   配色跟站点主色 #6153FF 一致，卡片样式与 blog 列表页接近。
   ============================================================= */

.asohome-news {
  background: #f7f6fd;
}

.asohome-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.asohome-news__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(30, 27, 75, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.asohome-news__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(30, 27, 75, .16);
}

/* 封面统一 1200:630（og:image 同比例），缺图时给个底色不破版 */
.asohome-news__cover {
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: #ecebfa;
}

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

.asohome-news__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.asohome-news__date {
  font-size: 13px;
  color: #6153ff;
  font-weight: 600;
  letter-spacing: .02em;
}

.asohome-news__title {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  color: #1e1b4b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}

.asohome-news__card:hover .asohome-news__title {
  color: #6153ff;
}

.asohome-news__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.asohome-news__more {
  margin-top: 42px;
  text-align: center;
}

.asohome-news__more a {
  display: inline-block;
  padding: 13px 38px;
  border-radius: 40px;
  background: #6153ff;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease;
}

.asohome-news__more a:hover {
  background: #4f43e0;
  color: #fff !important;
}

/* 平板两列；小屏单列。模板的栅格断点是 991/575，跟着走 */
@media (max-width: 991px) {
  .asohome-news__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 34px;
  }
}

@media (max-width: 575px) {
  .asohome-news__grid {
    grid-template-columns: 1fr;
  }
}
