#app-main.gridstack-ready #w_aff_exchanges > .grid-stack-item-content,
#app-main.gridstack-ready #w_aff_wallets > .grid-stack-item-content,
#app-main.gridstack-ready #w_aff_bots > .grid-stack-item-content,
#app-main.gridstack-ready #w_aff_editors_pick > .grid-stack-item-content,
#app-main.gridstack-ready #w_aff_onchain_gaming > .grid-stack-item-content {
  overflow: hidden;
}

#w_aff_exchanges .widget-content,
#w_aff_wallets .widget-content,
#w_aff_bots .widget-content,
#w_aff_editors_pick .widget-content,
#w_aff_onchain_gaming .widget-content {
  height: 100%;
  align-content: stretch;
}

.affiliate-paged-list {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.35rem;
  min-height: 0;
}

.affiliate-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(2.6rem, 1fr));
  gap: 0.25rem;
}

.affiliate-tab {
  min-width: 0;
  width: 100%;
  padding: 0.25rem 0.2rem;
  font-size: 0.62rem;
  line-height: 1;
}

.affiliate-page {
  min-height: 0;
}

.affiliate-page .affiliate-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.affiliate-page .affiliate-offer,
.affiliate-page .affiliate-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
