/* Popular actresses grid */

.actress-section {
  align-self: stretch;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  display: flex;
}

.actress-section__grid {
  align-self: stretch;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  display: flex;
}

.actress-section__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 45px;
}

.actress-card {
  width: 120px;
  max-width: 100%;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13px;
  display: inline-flex;
  text-decoration: none;
  color: inherit;
}

.actress-card__avatar {
  width: 120px;
  height: 120px;
  position: relative;
}

.actress-card__placeholder {
  width: 120px;
  height: 120px;
  left: 0;
  top: 0;
  position: absolute;
  background: var(--color-neutral-200);
  border-radius: 9999px;
}

.actress-card__img {
  width: 120px;
  height: 120px;
  left: 0;
  top: 0;
  position: absolute;
  border-radius: 9999px;
  object-fit: cover;
}

.actress-card__name {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
  font-size: 18px;
  font-family: PingFang SC, sans-serif;
  font-weight: 600;
  line-height: 24px;
}

.actress-rank .actress-section__grid {
  gap: 36px 26px;
}

.actress-card__rank {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.actress-card__rank .rank-badge__number--default.rank-badge__number--compact {
  width: 24px;
  left: 10px;
  font-size: 12px;
}

.actress-rank-page {
  gap: 36px;
}

@media (max-width: 768px) {
  .home-page .actress-section {
    gap: 12px;
  }

  .home-page .actress-section .section-header__marker {
    width: 6px;
    height: 16px;
    border-radius: 3px;
  }

  .home-page .actress-section .section-title--sm {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: var(--text-primary);
  }

  .home-page .actress-section .section-header__more-text {
    font-size: 12px;
    line-height: 18px;
    color: var(--text-secondary);
  }

  .home-page .actress-section .section-header__more-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .home-page .actress-section .section-header__more-icon .icon {
    width: 18px;
    height: 18px;
  }

  .home-page .actress-section__grid {
    align-self: stretch;
    gap: 12px;
  }

  .home-page .actress-section__row {
    align-self: stretch;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 0;
  }

  .home-page .actress-section .actress-card {
    width: 74px;
    min-width: 74px;
    flex: 0 0 74px;
    gap: 6px;
  }

  .home-page .actress-section .actress-card__avatar,
  .home-page .actress-section .actress-card__placeholder,
  .home-page .actress-section .actress-card__img {
    width: 74px;
    height: 74px;
  }

  .home-page .actress-section .actress-card__name {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--text-primary);
  }
}

@media (max-width: 1024px) {
  .actress-section:not(.video-actress) .actress-section__row {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px 7px;
  }

  .actress-section:not(.video-actress) .actress-card {
    width: calc(20% - 10px);
    min-width: 80px;
  }
}

@media (max-width: 768px) {
  .actress-section:not(.video-actress) .actress-card {
    width: calc(25% - 9px);
  }

  .actress-section:not(.video-actress) .actress-card__avatar,
  .actress-section:not(.video-actress) .actress-card__placeholder,
  .actress-section:not(.video-actress) .actress-card__img {
    width: 80px;
    height: 80px;
  }

  .actress-section:not(.video-actress) .actress-card__name {
    font-size: 14px;
    line-height: 20px;
  }

  .video-actress.actress-section {
    gap: 12px;
  }

  .video-actress .actress-section__grid {
    gap: 12px;
  }

  .video-actress .actress-section__row {
    align-self: stretch;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 0;
  }

  .video-actress .actress-card {
    width: 74px;
    min-width: 74px;
    flex: 0 0 74px;
    gap: 6px;
  }

  .video-actress .actress-card__avatar,
  .video-actress .actress-card__placeholder,
  .video-actress .actress-card__img {
    width: 74px;
    height: 74px;
  }

  .video-actress .actress-card__name {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--text-primary);
  }

  .video-actress:not(.actress-rank) .actress-section__row:nth-child(2) .actress-card:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 480px) {
  .actress-section:not(.video-actress) .actress-card {
    width: calc(33.333% - 8px);
  }
}
