@use "./shared.scss" as *;

.more-container {
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;

  @include point-tablet {
    display: none;
  }

  .more-list {
    display: flex;
    margin-top: 60px;
    gap: 24px;
  }

  .title {
    font-weight: 800;
    display: flex;
    width: 100%;
    align-items: center;
    p {
      font-size: 1.5rem;
      color: #373737;
    }
    .line {
      content: '';
      flex: 1 0 0;
      background-color: #373737;
      height: 16px;
      margin-left: 38px;
    }
  }
  
  .card {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    position: relative;
    height: fit-content;
    .card-image {
      height: auto;
      width: 100%;
    }
    .card-title {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      color: #fff;
      background-color: #373737;
      padding: 22px 20px 20px 30px;
      font-weight: bold;
      font-size: 0.98rem;
      &::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 28px;
        width: 6px;
        height: 10px;
        background: url(/icon_cont_more.png) left top no-repeat;
        background-size: 12px 10px;
        display: inline-block;
        background-position: 0px 0px;
      }
      transition: color 300ms ease 0s;
    }
    &:hover .card-title {
      &::after {
        background-position: -6px 0px;
      }
      color: $brand-color;
    }
  }
}
