.Tab5 {
  width: 100%;
  height: 100%;
  padding: 15px 60px;
  background-size: 100% 100%;
  position: relative;

  :global {
    .tab5Top {
      display: flex;
      justify-content: center;

      .tab5TopRow {
        cursor: pointer;
        height: 40px;
        border: 1px solid var(--themeColor);
        padding: 0 26px;
        border-radius: 0 10px 0 10px;
        margin-right: 20px;
        color: var(--themeColor);
        font-size: 18px;
        line-height: 38px;

        &:last-child {
          margin-right: 0;
        }
      }

      .tab5TopRowAc {
        background-color: var(--themeColor);
        color: #4A403D;
      }
    }

    .tab5Main {
      padding-top: 10px;
      margin-top: 20px;
      width: 100%;
      height: calc(100% - 115px);
      display: flex;
      flex-wrap: wrap;

      .tab5Row {
        width: 18.4%;
        height: 46%;
        margin-right: 2%;
        margin-bottom: 2%;
        cursor: pointer;

        &:nth-of-type(5n) {
          margin-right: 0;
        }

        &>div {
          width: 100%;
          height: calc(100% - 40px);
          background-color: #fff;
        }

        p {
          font-size: 16px;
          text-align: center;
          padding: 0 5px;
          margin-top: 10px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          color: #fff;
        }

        &:hover {
          &>div {
            box-shadow: 1px 1px 5px 5px;
          }

          &>p {
            color: var(--themeColor);
          }
        }
      }
    }

    // 分页
    .tab5Page {
      display: flex;
      justify-content: center;

      .ant-pagination-prev button,
      .ant-pagination-next button {
        color: var(--themeColor);
      }

      .ant-pagination-item-ellipsis {
        color: var(--themeColor) !important;
      }

      .ant-pagination-item-active {
        background-color: var(--themeColor);

        a {
          color: #47392C !important;
        }
      }

      .ant-pagination-options {
        color: var(--themeColor);

        input {
          background-color: transparent;
          border: 1px solid var(--themeColor);
          color: var(--themeColor);
        }
      }
    }
  }
}