.alx-recent-updates-card {
  min-height: 0;
}

.alx-recent-updates-card .alx-dynamic-slot {
  margin-top: 8px;
}

.alx-recent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.alx-recent-item {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 7px;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  border: 1px solid var(--alx-line, #e4e7ec);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff 0%, #f8fbff 100%);
  padding: 6px 7px;
  color: var(--alx-text, #101828);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.alx-recent-item:hover,
.alx-recent-item:focus-visible {
  border-color: #b9d2fb;
  box-shadow: 0 6px 16px rgba(23, 105, 232, .07);
  transform: translateY(-1px);
}

.alx-recent-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  color: var(--alx-primary, #1769e8);
  background: var(--alx-primary-soft, #eaf2ff);
  font-size: 12px;
  font-weight: 900;
}

.alx-recent-copy,
.alx-recent-copy strong,
.alx-recent-copy small,
.alx-recent-time {
  display: block;
  min-width: 0;
}

.alx-recent-copy strong {
  overflow: hidden;
  font-size: 9.5px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alx-recent-copy small {
  overflow: hidden;
  margin-top: 1px;
  color: #344054;
  font-size: 7.2px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.alx-recent-time {
  overflow: hidden;
  margin-top: 2px;
  color: var(--alx-text-muted, #667085);
  font-size: 6.8px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* On wide screens the recent-data module replaces the exact middle dashboard
 * column (1.08fr / 1fr / 1.56fr with 12px gaps) without participating in the
 * parent grid's row sizing. That keeps the approved hero/fold geometry intact
 * and prevents any overlap with the comparison card. */
@media (min-width: 1181px) {
  .alx-home-center {
    position: relative;
  }

  .alx-home-center > .alx-recent-updates-card {
    position: absolute;
    z-index: 3;
    left: calc(29.67033% + 4.88px);
    bottom: 0;
    width: calc(27.47253% - 6.59px);
    height: 212px;
    box-sizing: border-box;
  }

  .alx-home-cards--primary .alx-brand-explore-card {
    visibility: hidden;
  }
}

@media (max-width: 1180px) {
  .alx-home-cards--primary .alx-brand-explore-card {
    display: none;
  }
}
