.media {
  .sub-tab {
    width: 100%;
    :deep(.el-tabs__nav-wrap:after) {
      height: 0;
    }
    :deep(.el-tabs__active-bar) {
      height: 0;
    }
  }
  .media-head {
    position: relative;
    .btn {
      position: absolute;
      right: 10px;
      top: 8px;
      z-index: 100;
    }
  }

  .media-list {
    display: flex;
    width: 100%;
    padding: 30px 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    .cover {
      display: flex;
      width: 300px;
      height: 235px;
      justify-content: center;
      flex-direction: column;

      &:hover {
        cursor: pointer;
        .actions {
          display: flex !important;
        }
      }
      .title {
        text-align: center;
        line-height: 48px;
      }
      .img {
        width: 300px;
        height: 212px;
        position: relative;

        .actions {
          width: 100%;
          display: none;
          flex-direction: row;
          position: absolute;

          bottom: 0;
          > :deep(.el-button) {
            flex: 1;
            color: white;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 0;
            &:hover {
              background: rgba(0, 0, 0, 0.6);
            }
          }
          :deep(.el-button + .el-button) {
            margin: 0;
          }
        }
        img {
          width: 300px;
          height: 212px;
          overflow: hidden;
          object-fit: cover;
        }
      }
    }
  }
  .empty {
    margin-top: 120px;
    height: 100%;
  }

}
