/* .test{
    color: red !important;
} */
 

/* 모달 스타일 */
.modal {
    display: none;
    z-index: 2;
    /*left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);*/
    position: absolute;
    bottom: 70px;
    right: 89px;
    border-radius: 4px;
    box-shadow: 0 2px 4px #787b8666;
    box-sizing: border-box;
    color: #131722;
    padding: 16px 16px 16px 12px;
    width: 300px;
    background-color: white;
    border-left: 4px solid;
    border-color: rgb(156, 39, 176);
    font-family: "Pretendard-Regular";
    opacity: 0;
    transition: opacity 0.5s ease;
    min-height: 50px;
    max-height: 350px;
    overflow-y: hidden !important;
    padding-right: 10px;
    top: unset;
    left: unset;
  }
  
  .modal.show {
    display: flex;
    opacity: 1;
  }
  
  .modal-btn {
    background-image: url("../image/lightning.jpg");
    background-position: center;
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    bottom: 33px;
    right: 89px;
    z-index: 2;
  }
  
  .news-wrapper {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: 100%;
    overflow-y: scroll;
    overscroll-behavior: contain;
    width: 100%;
    height: 300px;
  }
  
  /* 스크롤바의 폭 너비 */
  .news-wrapper::-webkit-scrollbar {
    width: 5px;
  }
  
  .news-wrapper::-webkit-scrollbar-thumb {
    background: rgb(90, 90, 90); /* 스크롤바 색상 */
    border-radius: 10px; /* 스크롤바 둥근 테두리 */
  }
  
  .news-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1); /*스크롤바 뒷 배경 색상*/
  }
  
  .news-card {
    color: #131722;
    display: block;
    max-width: 270px;
    padding-bottom: 12px;
    padding-top: 12px;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
  }
  
  .news-header {
    align-items: center;
    color: #6a6d78;
    display: flex;
    margin-bottom: 8px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    transform: translateZ(0);
  }
  
  .news-header .logo {
    margin-left: 0;
    margin-right: 8px;
  }
  
  .news-header .logo img {
    font-size: 11px;
    height: 18px;
    line-height: 16px;
    width: 18px;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-style: normal;
    font-weight: 700;
    justify-content: center;
  }
  
  .news-header .news-sub-view .time {
    color: #6a6d78;
    font-weight: 400;
    line-height: 18px;
  }
  
  /* .news-header .news-sub-view .time::after {
    content: "\00b7";
    margin-left: 4px;
  } */
  
  .news-title {
    font-weight: 700;
  }

  .news-modal-content h3{
    font-weight: 700;
  }


@media screen and (max-width: 500px){
  .modal{
    right: 20px;
  }
}