@import "~/styles/mixins.scss";

.layout {
  display: flex;
}

.new {

  .item {
    padding: 10px 12px;
    display: flex;
    border-bottom: 1px dashed RGBA(222, 222, 222, 1);
    align-items: center;
    cursor: pointer;
    &:hover {
     .info{
       .title{
         color: red;
       }
     }
    }
    .logo {
      width: 120px;
      height: 80px;
      background: #d8d8d8;
      border-radius: 6px;
      margin-right: 17px;
      @include ellipsis(1);
      flex-shrink: 0;
    }

    .info {
      padding-left: 3px;
      padding-right: 83px;
      flex: 1;
      .title {
        font-size: 16px;
        font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
        font-weight: bold;
        color: #000000;
        line-height: 22px;
        @include ellipsis(1);
      }

      .desc {
        font-size: 14px;
        font-family: MicrosoftYaHei;
        color: #878787;
        line-height: 22px;
        margin-top: 6px;
        @include ellipsis(1);
        width: 100%;
        video{
          max-width: 100%;
          height: auto;
        }
      }

      .date {
        font-size: 12px;
        font-family: MicrosoftYaHei;
        color: #adadad;
        line-height: 16px;
        margin-top: 5px;
      }
    }
  }
}

.newsBox {
  margin-top: 24px;
  width: 384px;
  height: 491px;
  background: url("./assets/bk.png");
  background-size: 100% 100%;

  .newsHeader {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;

    .newsHeaderTitle {
      font-size: 20px;
      font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
      font-weight: bold;
      color: #000000;
    }
  }

  .newList {
    .newItem {
      cursor: pointer;
      padding: 5px 16px 5px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .newItemTitle {
        font-size: 16px;
        font-family: MicrosoftYaHei;
        color: #323232;
        line-height: 21px;
        @include ellipsis(2);
        width: 217px;
      }

      .newItemImg {
        width: 90px;
        height: 60px;
        background: #d8d8d8;
        border-radius: 6px;
      }
    }
  }
}
