/* Flush media cards shared by homepage products, homepage insights and blog listing. */
#wxa-homepage :is(.a2t-product-card, .a2t-blog-card) {
  padding: 0 !important;
}

#wxa-homepage :is(.a2t-product-card, .a2t-blog-card) > a {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
}

#wxa-homepage :is(.a2t-product-card, .a2t-blog-card) .a2t-product-media {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(145deg, #eef3fb, #e4ebf7) !important;
}

#wxa-homepage :is(.a2t-product-card, .a2t-blog-card) .a2t-product-media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

#wxa-homepage .a2t-card-content {
  display: flex;
  min-width: 0;
  padding: 24px;
  flex: 1;
  flex-direction: column;
}

#wxa-homepage .a2t-product-card .a2t-card-foot {
  margin-top: auto;
}

.a2t-blog-page .blog-post {
  padding: 0 !important;
}

.a2t-blog-page .blog-post-media {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 0;
  border-radius: 0 !important;
}

.a2t-blog-page .blog-post-body {
  padding: 22px 22px 20px !important;
}

@media (max-width: 700px) {
  #wxa-homepage .a2t-card-content,
  .a2t-blog-page .blog-post-body {
    padding: 18px !important;
  }
}
