/* Compact two-card recommendations in front of the main catalog. */
.ehubk-picks.ehubk-picks--top {
  margin: 0 0 14px;
  padding: 12px !important;
}

.ehubk-picks--top .ehubk-picks__heading {
  margin-bottom: 8px;
}

.ehubk-picks--top .ehubk-picks__heading h2 {
  margin-bottom: 0 !important;
  font-size: 17px !important;
}

.ehubk-picks--top .ehubk-picks__heading p {
  margin-top: 4px !important;
  color: #465a6c !important;
}

.ehubk-picks--top .ehubk-picks__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.ehubk-picks--top .ehubk-picks__card:only-child {
  grid-column: 1 / -1;
}

.ehubk-picks--top .ehubk-picks__card {
  padding: 9px !important;
  gap: 5px;
}

.ehubk-picks--top .ehubk-picks__shop {
  color: #415569 !important;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ehubk-picks--top .ehubk-card__title a {
  min-height: 24px;
  color: #172e43 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.ehubk-picks--top .ehubk-card__title a:hover {
  text-decoration: underline !important;
  text-underline-offset: .16em;
}

.ehubk-picks.ehubk-picks--top .ehubk-picks__card .ehubk-picks__cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 7px 6px !important;
  line-height: 1.25 !important;
  font-size: 13px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.ehubk-picks--top :is(.ehubk-card__title a, .ehubk-picks__cta):focus-visible {
  outline: 3px solid #93470e !important;
  outline-offset: 2px !important;
}

/* Keep the full title in the link and on the offer detail. */
.ehubk-picks--top .ehubk-card__title a,
.ehubk-grid .ehubk-card--compact .ehubk-card__title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere !important;
}

@media (max-width: 300px) {
  .ehubk-picks--top .ehubk-picks__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
