.card {
  display: grid;
  grid-template-columns: repeat(5, minmax(200px, 300px));
  gap: 20px;

  >.card-main {
    position: relative;
    border-radius: 14px;
    background: rgba(0, 0, 0, .5);
    cursor: pointer;

    >.cover {
      border: solid 0px;
      border-radius: 13px 13px 0px 0px;
      overflow: hidden;

      >img {
        border: solid 0px;
        height: 100%;
        width: 100%;
        object-fit: cover;
      }
    }

    >.content {
      padding: 15px;

      >.article_content {
        color: #74bdad;
        font-size: 14px;
      }
    }

    &::before {
      position: absolute;
      content: " ";
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
      pointer-events: none;
      transition: all .3s;
      border-radius: 14px;
    }

    &:hover {
      &::before {
        background: #0202022c;
        box-shadow: 0px 0px 16px 2px #00000065;
      }
    }
  }
}

#indexPage {
  max-width: 1400px;
}

@media (max-width:1280px) {
  .card {
    grid-template-columns: repeat(4, minmax(200px, 300px));
  }
}

@media (max-width:1024px) {
  .card {
    grid-template-columns: repeat(3, minmax(200px, 300px));
  }
}

@media (max-width:660px) {
  .card {
    grid-template-columns: 1fr;
    gap: 10px;
    row-gap: 20px;

    >.card-main {
      display: grid;
      grid-template-columns: 130px 1fr;

      >.cover {
        border: solid 0px;
        padding: 10px;
        padding-right: 0px;
        >img {
          border-radius: 8px;
          border: solid 0px;
          height: 100%;
          width: 100%;
          object-fit: cover;
        }
      }
    }
  }
}