.io-site-posts-card {
  position: relative;
  overflow: hidden;
  height: 448px;
}

.io-site-posts-card .card-header,
.io-site-posts-card .card-body {
  position: relative;
  z-index: 2;
}

.io-site-posts-card .aii-site-posts__tabs {
  display: flex;
  gap: 2px;
  padding: 0;
}

.io-site-posts-card .aii-site-posts__tab {
  cursor: pointer;
  white-space: nowrap;
  border-radius: 999px;
  padding: 2px 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  transition: all .2s ease;
}

.io-site-posts-card .aii-site-posts__tab:hover {
  border-color: rgba(34, 211, 238, 0.35);
  color: #22d3ee;
}

.io-site-posts-card .aii-site-posts__tab.active,
.io-site-posts-card .aii-site-posts__tab.is-active {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.45);
  color: #22d3ee;
  box-shadow: inset 0 -2px 0 rgba(34, 211, 238, 0.9);
}

.io-site-posts-card .hotapi-body {
  min-height: 0;
  flex: 1 1 auto;
}

.io-site-posts-card .aii-site-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.io-site-posts-card .aii-site-posts__item {
  margin-bottom: 7px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.io-site-posts-card .aii-site-posts__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.io-site-posts-card .aii-site-posts__item-header {
  display: flex;
  gap: 8px;
  align-items: center;
}

.io-site-posts-card .aii-site-posts__rank {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 6px;
  text-align: center;
  font-size: 11px;
  background: rgba(148, 163, 184, 0.16);
}

.io-site-posts-card .aii-site-posts__item:nth-child(1) .aii-site-posts__rank {
  background: #f1404b;
  color: #fff;
}

.io-site-posts-card .aii-site-posts__item:nth-child(2) .aii-site-posts__rank {
  background: #ff6f06;
  color: #fff;
}

.io-site-posts-card .aii-site-posts__item:nth-child(3) .aii-site-posts__rank {
  background: #955cff;
  color: #fff;
}

.io-site-posts-card .aii-site-posts__link {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.io-site-posts-card .aii-site-posts__more-link {
  text-decoration: none;
}

.io-site-posts-card .aii-site-posts__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(4px);
  z-index: 3;
}

.io-site-posts-card .aii-site-posts__empty {
  padding: 12px 0;
}

@media (max-width: 767px) {
  .io-site-posts-card {
    height: 400px;
  }

  .io-site-posts-card .hotapi-body {
    min-height: 0;
  }
}
