/* Keep imported cards independent of post-content list and image rules. */
.hq-related .list-cards,
.hq-related .hq-boxes {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px 10px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  direction: rtl;
  box-sizing: border-box;
}
.hq-related .list-cards > li,
.hq-related .hq-boxes > .kv-box {
  display: block !important;
  float: none !important;
  clear: none !important;
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
}
.hq-related .list-cards::before,
.hq-related .list-cards::after,
.hq-related .hq-boxes::before,
.hq-related .hq-boxes::after,
.hq-related .list-cards > br,
.hq-related .list-cards > p,
.hq-related .hq-boxes > br,
.hq-related .hq-boxes > p,
.hq-related .thumbnail br,
.hq-related .thumbnail p:empty {
  display: none !important;
}
.hq-related .thumbnail {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  line-height: 0 !important;
  overflow: visible !important;
}
.hq-related .thumbnail a,
.hq-related .thumbnail p {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}
.hq-related .thumbnail img,
.hq-related .kv-box-img img {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
}
.hq-related .thumbnail .ctitle,
.hq-related .kv-box-title {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 7px 3px !important;
  background: linear-gradient(#1cb0a3, #38a692) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  text-align: center !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}
.hq-related .thumbnail .ctitle span {
  color: inherit !important;
  line-height: inherit !important;
}
.hq-related .kv-box-inner {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.hq-related .kv-box-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
}
@media (max-width: 480px) {
  .hq-related .thumbnail .ctitle,
  .hq-related .kv-box-title { font-size: 12px !important; }
}
