@charset "utf-8";

.news_section {
  .w1344 {
    padding: 140rem 0 80rem;

    @media (max-width: 1023px) {
      padding: 80rem 0 63rem;
    }
  }
}

.cat-list {
  display: flex;
  gap: 24rem;
  margin-bottom: 40rem;

  @media (max-width: 1023px) {
    flex-wrap: wrap;
    gap: 16rem;
  }

  .webgene-blog {
    display: flex;
    gap: 24rem;

    @media (max-width: 1023px) {
      flex-wrap: wrap;
      gap: 16rem;
    }
  }

  a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12rem 46rem;
    border-radius: 24px;
    background: #fff;
    border: 2px solid #e6006d;

    p {
      font-family: var(--font-main);
      font-weight: 500;
      font-size: max(14px, 16rem);
      letter-spacing: 0.08em;
      color: #e6006d;
    }
  }

  a:hover {
    background-color: #e6006d;
    transition: all .4s ease;

    p {
      color: #FFF;
    }
  }

  .webgene-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12rem 46rem;
    border-radius: 24px;
    background: #fff;
    border: 2px solid #e6006d;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: max(14px, 16rem);
    letter-spacing: 0.08em;
    color: #e6006d;
    transition: all .4s ease;
  }
}




.cat-list .catitem:hover {
  background-color: #e6006d;
  color: #FFF;
  transition: all .4s ease;
}


.newswrap {
  border-radius: 30px;
  background: #fff;
  border: 2px solid #e6006d;

  .inner {
    max-width: 1032rem;
    width: 100%;
    margin: 0 auto;
    padding: 56rem 0 80rem;

    @media (max-width: 1023px) {
      padding: 40rem 0;
      max-width: 90%;
    }

    .webgene-blog {
      display: flex;
      flex-direction: column;
      gap: 16rem;

      @media (max-width: 1023px) {
        gap: 40rem;
      }
    }

    .newsItem {
      transition: all .4s ease;

      .newsLink {
        display: flex;
        gap: 32rem;

        @media (max-width: 1023px) {
          flex-direction: column;
          gap: 8rem;
        }

        .newsCatch {
          max-width: 280rem;
          width: 100%;
          height: 190rem;

          @media (max-width: 1023px) {
            height: 203rem;
            max-width: 100%;
          }

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        .newsTextWrap {
          .newsItemTime {
            font-family: var(--font-main);
            font-weight: 400;
            font-size: max(14px, 16rem);
            letter-spacing: 0.08em;
            line-height: calc((32 / 16) * 1em);
            text-align: left;
            color: #000;
            margin-bottom: 8rem;

            @media (max-width: 1023px) {
              font-size: 12px;
            }
          }

          .newsItemTit {
            font-family: var(--font-main);
            font-weight: 600;
            font-size: 20rem;
            line-height: calc((32 / 20) * 1em);
            letter-spacing: 0.08em;
            color: #000;
            margin-bottom: 24rem;

            @media (max-width: 1023px) {
              font-size: 18rem;
              margin-bottom: 8rem;
            }
          }

          .newsDetailTxt {
            font-family: var(--font-main);
            font-weight: 400;
            font-size: 14px;
            letter-spacing: 0.08em;
            line-height: calc((24 / 14) * 1em);
            color: #000;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;

            @media (max-width: 1023px) {
              font-size: 12px;
            }
          }
        }
      }
    }

    .newsItem:hover {
      filter: opacity(60%);
      transition: all .4s ease;
    }

    .webgene-pagination {
      margin-top: 100rem;

      @media (max-width: 1023px) {
        margin-top: 80rem;
      }

      ul {
        display: flex;
        gap: 16rem;

        @media (max-width: 1023px) {
          gap: 8rem;
        }

        .number {
          width: 50rem;
          height: 50rem;
          color: #e6006d;
          background-color: #FFF;
          border-radius: 50px;
          border: 2px solid #e6006d;
          font-family: var(--font-main);
          font-weight: 500;
          font-size: max(14px, 16rem);
          letter-spacing: 0.08em;
          display: flex;
          justify-content: center;
          align-items: center;

          @media (max-width: 1023px) {
            font-size: 16rem;
          }
        }

        .number.selected {
          background: #e6006d;
          color: #FFF;
        }
      }
    }

    .newsDetail {
      .newsItemText {
        display: flex;
        justify-content: space-between;
        margin-bottom: 24rem;




        .newsItemTime {
          font-family: var(--font-main);
          font-weight: 400;
          font-size: max(14px, 16rem);
          letter-spacing: 0.08em;
          line-height: calc((32 / 16) * 1em);
          color: #000;

          @media (max-width: 1023px) {
            font-size: 12rem;
          }
        }

        .newsItemCate {
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 8rem 30rem;
          border-radius: 24px;
          background: #e6006d;
          letter-spacing: 0.08em;
          color: #FFF;
          font-family: var(--font-main);
          font-weight: 500;
          font-size: max(14px, 16rem);
          letter-spacing: 0.08em;
          line-height: calc((26 / 16) * 1em);
          text-align: center;
          color: #fff;

          @media (max-width: 1023px) {
            font-size: 12rem;
            padding: 8rem 12rem;
          }
        }
      }

      .newsDetailTit {
        font-family: var(--font-main);
        font-weight: 600;
        font-size: 32rem;
        letter-spacing: 0.08em;
        line-height: calc((56 / 32) * 1em);
        color: #000;
        margin-bottom: 32rem;

        @media (max-width: 1023px) {
          font-size: 18rem;
          line-height: calc((38 / 18) * 1em);
        }
      }

      .newsDetail-wrap {
        .News-detail-img {
          height: 590rem;
          width: 100%;
          margin-bottom: 32rem;

          @media (max-width: 1023px) {
            height: 203rem;
            margin-bottom: 24rem;
          }

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }

        .newsDetailTxt {
          font-family: var(--font-main);
          font-weight: 400;
          font-size: max(14px, 16rem);
          letter-spacing: 0.08em;
          line-height: calc((32 / 16) * 1em);
          color: #000;

          @media (max-width: 1023px) {
            font-size: 14rem;
          }
        }


      }

      .secbtn {
        margin: 100rem auto 0;
        width: 300rem;
        height: 64rem;
        border-radius: 32px;
        background: #e6006d;
        font-family: var(--font-main);
        font-weight: bold;
        font-size: max(16px, 18rem);
        letter-spacing: 0.08em;
        text-align: center;
        color: #fff;
        cursor: pointer;
        transition: all .4s ease;

        @media (max-width: 1023px) {
          margin-top: 56rem;
          font-size: 18rem;
        }
      }

      .secbtn:hover {
        background-color: #FFF;
        border: 2px solid #e6006d;
        color: #e6006d;
        transition: all .4s ease;
      }
    }
  }
}