/* Article detail related-product cards. Keep markup crawlable: real links, headings, images, visible text. */
.apc-related {
  margin: 20px 0 24px;
  padding: 0;
}

.apc-related-intro {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #445066;
}

.apc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 220px));
  justify-content: flex-start;
  gap: 12px;
}

.apc-card {
  margin: 0;
  min-width: 0;
  max-width: 220px;
}

.apc-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #d5dde8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(9, 15, 28, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.apc-card-link:hover,
.apc-card-link:focus-visible {
  transform: translateY(-1px);
  border-color: #0a84ff;
  box-shadow: 0 6px 14px rgba(10, 132, 255, 0.1);
}

.apc-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 188px;
  background: #f3f6fa;
  overflow: hidden;
}

.apc-card-img img,
.BlogArticle .apc-card-img img,
.content-area .apc-card-img img,
.BlogContent .BlogArticle .apc-card-img img,
section .BlogInfoContainer .BlogArea .BlogContent .BlogArticle .apc-card-img img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  padding: 10px !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

.apc-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 10px;
  flex: 1;
}

.apc-card-body h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  color: #0b1220;
}

.apc-sku {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #6b7a90;
}

.apc-card-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #39485f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apc-cta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #0a84ff;
}

.apc-inline {
  margin: 16px 0 20px;
}

.apc-inline .apc-grid {
  grid-template-columns: repeat(auto-fill, minmax(196px, 220px));
}

@media (max-width: 640px) {
  .apc-grid,
  .apc-inline .apc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .apc-card {
    max-width: none;
  }

  .apc-card-img {
    height: 168px;
  }
}

.BlogArticle .article-img,
.content-area .article-img {
  text-align: center;
  margin: 8px 0 24px;
}

.BlogArticle .article-img img,
.content-area .article-img img {
  max-width: 100%;
  height: auto;
}

.BlogArticle .article-img figcaption,
.content-area .article-img figcaption {
  font-size: 13px;
  color: #667;
  margin-top: 8px;
}

.BlogArticle table,
.content-area table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 14px;
}

.BlogArticle th,
.BlogArticle td,
.content-area th,
.content-area td {
  border: 1px solid #e4e8ee;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.BlogArticle th,
.content-area th {
  background: #f5f8fc;
}
