section .container{
    /* padding-block: 140px 100px; */
}
section.page-title {
    padding-top: 80px;
    text-align: center;
}
section.page-title h1 {
    /* color: var(--green); */
    font-size: 64px;
    font-weight: 800;
    margin: 100px auto 8px;
}
section.page-title h2 {
    font-size: 20px;
    color: var(--dark-gray02);    
    font-weight: 600;
    line-height: 140%;
}
.list{
    /* width: clamp(320px,1240px,100%); */
    margin-inline: auto;
    padding-bottom: 80px;
}
.list > p{
    text-align: center;
}

/* Notice */
.notice .list .item{
    display: flex;
    padding: 40px 24px;
    align-items: center;    
    border-bottom: 1px solid var(--gray03);
}
.notice .list .item:hover{
    background-color: #f7fff7;
}

.notice .list .item:first-of-type{
    border-top: 2px solid var(--dark-gray02);
}
.notice .list .item .number{
    width: 40px;
    margin-right: 2%;    
    color:var(--dark-gray02);
}
.notice .list .item a{
    font-size: 24px;
    font-weight: 700;
    padding: 0;
}
.notice .list .item .date {
    color: var(--dark-gray02);
    margin-left: auto;
}
.notice.view article .title-box{
    border-bottom: 2px solid #181818;
    padding-bottom: 24px;
}
.view article{
    width: 100%;
    max-width: 980px;    
    margin-inline: auto;
    padding-inline: 32px;
}

.view article .title-box{
    margin-bottom: 40px;    
}
.view article .title-box h1{
    font-size: 40px;
    width: 90%;
}
.view article .title-box .time{
    margin-top: 8px;
    color: var(--dark-gray02);
    text-align: right;
    font-size: 14px;
}
.view article .content{
    font-size: 18px;
    white-space: pre-line;
    line-height: 150%;
}
.view article .bottom-btn-box{
    margin-top: 80px;    
    padding:0 32px;
}
.view article .bottom-btn-box a{
    border: 1px solid var(--gray03);
    padding: 16px 32px;
    border-radius: 32px;
    margin: auto;
    display: block;
    width: 100%;
    max-width: 200px;
    text-align: center;
    font-weight: 600;
}

/* News */
.news .list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 24px;
    width: 100%;
}
.news .list .item{
    border: 0;
    width: 100%;
}
.news .list .item a{
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--gray01);
    border:1px solid rgba(0,0,0,0.05);
}
.news .list .item a:hover{
    background-color: #f7fff7;
    box-shadow: 0 4px 32px rgba(0,0,0,.025)
}
.news .list .item .txt-box{
    width: 100%;
    height: 100%;
    padding: 8%;
}
.news .list .item .txt-box .category{
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 16px;
    color:var(--green);
}
.news .list .item .txt-box h1{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.8rem;
    height: 3.6rem;
    font-size: 20px;
}
.news .list .item .txt-box .date{
    font-size: 14px;
    color:var(--dark-gray02);
    margin-top: 16px;
    text-align: right;
}
.news .list .item .img-box{
    width: 100%;
    aspect-ratio: 1.5;
    overflow: hidden;    
    object-fit: cover;    
}
.news .list .item .img-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News view */
.news.view article{
    width: 100%;
    max-width: 980px;    
    margin-inline: auto;
    padding-inline: 32px;
}
.news.view article .title-box{
    margin-bottom: 40px;    
}
.news.view article .title-box .news-category{
    font-size: 16px;
    font-weight: 800;
    color:var(--green);
    margin-bottom: 12px;    
}
.news.view article .title-box h1{
    font-size: 34px;
}
.news.view article .highlight-img-box{
    width: 100%;    
    overflow: hidden;    
    margin-bottom: 40px;
    display: none;
}
.news.view article .highlight-img-box img{
    display: block;
    width: 100%;
    aspect-ratio: 1.65;
    margin: auto;    
    border-radius: 16px; 
    object-fit: cover;   
}
.news.view article .news-content{
    font-size: 18px;
    white-space: pre-line;
    line-height: 150%;
}
.news.view article .news-content p{
    text-align: justify;
}
.news.view article .news-content p img{
    display: block;
    margin-inline:auto;
}
.news.view article .bottom-btn-box{
    margin-top: 80px;    
    padding:0 32px;
}
.news.view article .bottom-btn-box a{
    border: 1px solid var(--gray03);
    padding: 16px 32px;
    border-radius: 32px;
    margin: auto;
    display: block;
    width: 100%;
    max-width: 200px;
    text-align: center;
    font-weight: 600;
}
.news-filter{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.news-filter ul {
    display: flex;
    gap: 16px;    
  }
.news-filter a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    padding: 10px 24px;    
    border-radius: 32px;
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    font-size: 18px;
    background-color: #f7f7fa;
}
.news-filter a.active,
.news-filter a:hover {
    background-color: var(--green);
    color: #fff;    
}  
.news-search-form {
    position: relative;    
    display: flex;
    margin-left: auto;
    gap: 4px;
    width: 210px;
}
.news-search-form input[type="text"] {    
    width: 100%;
    height: 40px;
    padding: 10px 10px 10px 48px;
    border: 1px solid #ccc;
    border-radius: 32px;
    font-size: 16px;
}
.news-search-form input[type="text"]:focus-visible{
    outline-color: var(--green);
}
.news-search-form button {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    top: 0;    
    border-radius: 32px;
    background-image: url(../assets/images/icon_search.svg);
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}
.pagination {
    display: flex;
    justify-content: center;    
  }
  .pagination .page-numbers {
    display: flex;
    justify-content: center;    
    align-items: center;
    width: 40px;
    height: 40px;    
    text-decoration: none;
    color: var(--dark-gray02);
    border-radius: 8px;
    gap: 12px;
  }
  .pagination .page-numbers:hover{
    color:var(--black);
  }
  .pagination .current {
    background: var(--green);
    color: #fff;    
  }
  
.pagination .next,
.pagination .prev {
    font-size: 0;
    width: 40px;
    height: 40px;
    background-image: url(../assets/images/arrow_black.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 32px;
    opacity: 0.6;
}
.pagination .prev{
    transform: rotate(180deg);
}
.pagination .next:hover,
.pagination .prev:hover{
    opacity: 1;
}
.case-archive .case-list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.case-archive .case-list .item{
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}
.case-archive .case-list .item .thumbnail-box{
    position: relative;
    width: 100%;
    aspect-ratio: 1.5;
    color:white;
}
.case-archive .case-list .item .thumbnail-box .txt-box{
    position: absolute;
    left: 0;
    top: 0;
    padding: 24px;
    z-index: 1;
}
.case-archive .case-list .item .thumbnail-box .txt-box h1{
    font-size: 32px;
    font-weight: 800;
}
.case-archive .case-list .item .thumbnail-box .img-box{
    width: 100%;
    height: 100%;
}
.case-archive .case-list .item .thumbnail-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-archive .case-list .item .info{
    font-size: 20px;
    font-weight: 700;
    padding: 16px;
    background-color: #f7f7fa;
}
.item.sticky {
    background-color: #f7f7fa;    
}

.notice.download .list .item .txt-box{
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.notice.download .list .item .txt-box h2{
    font-size: 20px;
}
.notice.download .list .item .txt-box p{
    color: var(--dark-gray02);
}
.notice.download .list .item .btn-download{
    display: flex;    
    width: fit-content;
    background-color: var(--green);
    color:white;
    padding:10px 16px 10px 12px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 8px;
    gap: 8px;
    margin-left: auto;
}
 /* 전체 모달 배경 */
#download-modal,
#user-info-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none; /* 기본은 숨김 */
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  /* 모달 내부 박스 */
  #download-modal .modal-inner,
  #user-info-modal .modal-inner {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
  }
  
  /* 모달 내 입력폼 스타일 */
  #download-form h1{
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 600;
  }
  .brochure #download-form h1,
  #user-info-form h1{
    font-size: 24px;
    margin-bottom: 32px;
    font-weight: 800;
    width: 80%;
    text-align: left;
    margin-top: 16px;
  }
  .brochure #download-form h1 p{
    font-size: 16px;
    font-weight: 500;
    margin-top: 8px;
    color: var(--dark-gray03);
  }  
  #download-form #download-error {
    margin-bottom: 16px;
    font-size: 14px;
  }
  #download-form input[type="text"],
  #download-form input[type="email"],
  #download-form input[type="password"],
  #user-info-form input[type="text"],
  #user-info-form input[type="email"],
  #user-info-form input[type="password"] {
    width: 100%;
    height: 40px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid var(--dark-gray02);
    border-radius: 8px;
    box-sizing: border-box;    
  }
  
  #download-modal ul,
  #user-info-modal ul{
    display: flex;
    flex-direction: column;
    gap: 20px;    
  }
  #download-modal ul li,
  #user-info-modal ul li{
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  #download-modal ul li label,
  #user-info-modal ul li label{
    font-size: 14px;
    text-align: left;
    color: var(--dark-gray02);
    padding-left: 3px;
  }
#download-modal .modal-close,
#user-info-modal .modal-close{
    width: 32px;
    height: 32px;
    background-size: 16px;
}

#download-form button{
    padding: 8px 24px;
    font-size: 14px;
    margin: 0 4px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  
.brochure #confirm-download,
#next-to-password{
    width: 100%;
    margin: 0;
    padding: 8px;
    font-size: 16px;
    font-weight: 800;    
    margin-top: 24px;
    height: 50px;
    border-radius: 12px;
}
#confirm-download,
#next-to-password {
    background-color: var(--green);
    color: #fff;
}  
  
#download-error {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}
.notice.download .list .no-file{
    padding: 8px 0;
    font-size: 14px;
    opacity: 0.5;
    margin-left: auto;
}
.modal-inner .agreement {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.modal-inner .agreement > div {
    display: flex;
    align-items: center;
    color: var(--dark-gray03);
    gap: 8px;
}
.modal-inner .agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.modal-inner .agreement label {
    text-align: left;
    cursor: pointer;
    word-break: normal;
    font-size: 14px;
}
.modal-inner .agreement > div a {
    text-decoration: underline;
}

@media (max-width: 767px){
    section .container{
        padding:40px 24px;
    }
    section.page-title{
        padding-top: 64px;
        padding-inline: 24px;
    }
    section.page-title h1{
        font-size: 32px;
        margin: 40px auto 8px;        
    }
    section.page-title h2{
        font-size: 14px;
    }
    .notice .list .item{
        padding: 20px 16px;
    }    
    .notice .list .item a{
        font-size: 16px;
        width: calc(100% - 80px);
    }
    .notice .list .item .date{
        font-size: 12px;
    }
    .notice .list .item .number{
        display: none;
    }
    .news-filter{
        margin-bottom: 20px;
    }
    .news-filter ul{
        gap: 8px;
    }
    .news-filter a{
        height: 40px;
        font-size: 16px;
        padding-inline: 16px;
    }
    .notice.download .list .item .txt-box h2{
        font-size: 16px;
    }
    .notice.download .list .item .txt-box p{
        font-size: 14px;
    }
    .notice.download .list .item .btn-download{
        font-size: 0;
        padding-inline: 12px;
        gap: 0;
    }
    .notice.download .list .item .txt-box{
        width: calc(100% - 60px);
    }
    .news-search-form{
        display: none;
    }
    .news .list{
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 8px;
    }
    .news .list .item a{
        background-color: white;
        border:1px solid var(--gray04);
        border-radius: 8px;
    }
    .news .list .item .txt-box{
        padding: 20px;
    }
    .news .list .item .txt-box .category{
        font-size: 12px;
        margin-bottom: 8px;
    }
    .news .list .item .txt-box h1{
        line-height: 1.3rem;
        height: 2.6rem;
        font-size: 16px;
    }
    .news .list .item .txt-box .date{
        font-size: 12px;
        margin-top: 8px;
    }
    .news.view article,
    .view article{
        padding-inline: 0;
        padding-top: 64px;
    }    
    .news.view article .title-box,
    .view article .title-box {
        margin-bottom: 32px;
    }
    .news.view article .title-box h1,
    .view article .title-box h1{
        font-size: 24px;
    }
    .news.view article .highlight-img-box,
    .view article .highlight-img-box{
        margin-bottom: 16px;
    }
    .news.view article .highlight-img-box img,
    .view article .highlight-img-box img{
        border-radius: 8px;
    }
    .news.view article .bottom-btn-box,
    .view article .bottom-btn-box{
        margin-top: 40px;
    }
    #download-modal .modal-inner{
        padding: 16px;
    }
    .brochure #download-form h1{
        font-size: 20px;
    }
    #download-modal ul{
        gap: 16px;
    }
    #download-modal .agree-box{
        padding: 8px;
    }
    #download-modal .agree-box .view-terms{
        padding:0 8px 0 0;
        font-size: 13px;
    }    
    .news.view article .news-content p{
        word-break: break-all;
    }
  }

  @media screen and (min-width: 768px) and (max-width: 1024px){
    section .container{
        padding: 80px 24px 0;
    }
    section.page-title {
        padding-top: 80px;
        padding-inline: 24px;
    }
    section.page-title h1 {
        font-size: 40px;
        margin: 60px auto 8px;
    }
    section.page-title h2 {
        font-size: 16px;
    }
    .news .list{
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }
    .news-filter{
        margin-bottom: 24px;
    }
    .news .list .item .txt-box .category{
        font-size: 16px;
    }
    .news .list .item .txt-box h1{
        font-size: 20px;
    }
    .view section .container{
        padding-top: 120px;
    }
    .notice .list .item a{
        font-size: 20px;
    }
    .notice .list .item{
        padding-block: 28px;
    }
  }