/**
 * 分度卡盘集合页 ic.html — 视频与图片比例
 * 上线时复制到站点根 /css/ic-collection.css
 *
 * 版面宽度与水平留白由 product-collection.css 的 .kr-collection-page 统一；
 * <main> 须同时使用 class="kr-collection-page"（及 kr-product-hub），勿在本文件重复设 max-width/padding。
 */

.ic-collection-page .t1 {
  text-align: center;
  margin-bottom: 8px;
}

.ic-collection-page .t1 p {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  color: #1a237e;
}

.ic-lead {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  max-width: 42rem;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.ic-card {
  margin-bottom: 40px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.ic-card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.ic-card h2 a {
  color: #1565c0;
  text-decoration: none;
}

.ic-card h2 a:hover {
  text-decoration: underline;
}

.ic-card-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
  margin: 0 0 16px;
}

/* 视频：16:9 居中限宽 */
.ic-video-wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 16px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.ic-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* 图片网格：示意与典型图 */
.ic-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.ic-img-grid figure {
  margin: 0;
  text-align: center;
}

.ic-img-grid img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e8edf4;
  background: #fafafa;
}

.ic-img-grid figcaption {
  font-size: 0.75rem;
  color: #666;
  margin-top: 6px;
}

.ic-card-actions {
  margin-top: 14px;
}

.ic-card-actions a {
  display: inline-block;
  padding: 10px 20px;
  background: #1565c0;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 6px;
  text-decoration: none;
}

.ic-card-actions a:hover {
  background: #0d47a1;
}
