

/* News List */
.bbs-news .table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #191919;
}

.bbs-news .table thead tr{
  border-bottom: 1px solid #191919;
}
.bbs-news .table tr {
  border-bottom: 1px solid #d3d3d3;
  position: relative;
}

.bbs-news .table th{
  font-size: 2rem;
  padding: 18px 0;
}
.bbs-news .table td {
  padding: 28px 0;
  font-size: 1.8rem;
}
.bbs-news .table.td-py-18 td{
  padding: 18px 0;
}
.bbs-news .table td a {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1; 
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bbs-news .table td.subject a:before{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.bbs-news .table tr.tr-notice {
}

.bbs-news .table tr.tr-notice .no {
  font-weight: 600;
  font-size: 1.6rem;
}

.bbs-news .table tr.tr-notice .no .tag{
  color: #fff;
  background-color: #21409A;
  width: 50px;
  height: 25px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bbs-news .table tr.table-message .txt {
  text-align: center;
  padding: 130px 20px;
}

.bbs-news .table tr.table-message .txt p {
  font-size: 1.8rem;
}

@media screen and (max-width:1200px) {
  .bbs-news .table th,
  .bbs-news .table td {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:1024px) {
  .bbs-news .table th, 
  .bbs-news .table td {
    height: 50px;
    padding: 6px;
  }
}
@media screen and (max-width:768px) {
  .bbs-news .table thead {
    display: none;
  }

  .bbs-news .table {
    display: block;
  }

  .bbs-news .table tbody {
    display: block;
  }

  .bbs-news .table tr {
    display: flex;
    flex-wrap: wrap;
    padding: 6px 4px;
  }

  .bbs-news .table th,
  .bbs-news .table td,
  .bbs-news .table.td-py-18 td {
    position: relative;
    height: auto;
    padding: 4px 6px;
    font-size: 1.4rem;
  }

  .bbs-news .table td.no {
    order: 2;
  }

  .bbs-news .table td.no::after,
  .bbs-news .table td.writer::after,
  .bbs-news .table td.country:after,
  .bbs-news .table td.sector:after {
    content: "";
    display: block;
    position: absolute;
    top:50%;
    right:0;
    transform: translateY(-50%);
    width: 1px;
    height:10px;
    background-color:#999;
  }

  .bbs-news .table td.subject {
    width: 100%;
    order: 1;
    position: unset;
  }
  .bbs-news .table td.writer{
    order: 3;
  }
  .bbs-news .table td.data {
    order: 4;
  }
  .bbs-news .table td.country{
    order: 3;
  }
  .bbs-news .table td.sector{
    order: 3;
  }

  .bbs-news .table tr.tr-notice .no .tag{
    width: auto;
    height: auto;
    color: #21409A;
    background-color: transparent;
    font-size: 1.4rem;
  }
}
@media screen and (max-width:576px) {
  .bbs-news .table tr {
    padding: 4px 2px;
  }

  .bbs-news .table th,
  .bbs-news .table td {
    font-size: 1.3rem;
  }
  .bbs-news .table tr.tr-notice .no .tag{
    font-size: 1.3rem;
  }
}
/* Board View */
.bbs-view {
  border-top: 2px solid #001446 ;
}

.bbs-view-head {
  padding: 30px 0px;
  border-bottom: 1px solid #949494;
}

.bbs-view-head .data {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.bbs-view-head .data .ico-time{
  width: 16px;
  height: 16px;
  background: url(/asset/img/common/ico-time.svg)no-repeat center center / cover;
}

.bbs-view-area {
  min-height: 380px;
  padding: 30px 0px;
}

.bbs-view-area ul
{
    list-style: disc; 
    margin-left: 20px;
}

.bbs-view-area ol
{
    list-style: decimal; 
    margin-left: 20px;
}


.bbs-view-file {
  padding:20px 0px;
  border-bottom: 1px solid #949494;
}

.bbs-view-file .file {
  padding: 20px;
  border-radius: 5px;
  background-color: #F5F5F5;
}

.bbs-view-file .file a {
  display: flex;
  align-items: center;
  gap:10px;
}

.bbs-view-file .file i {
  display: block;
  width: 21px;
  height:21px;
  background: url('/asset/img/common/ico-down.svg') no-repeat center /cover;
}

.bbs-view-file .file span {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1; 
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: calc(100% - 40px);
}

.bbs-view-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.bbs-view-nav .nav-prev,
.bbs-view-nav .nav-next {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  border: 1px solid #d9d9d9;
  gap: 15px;
}

.bbs-view-nav .nav-prev i,
.bbs-view-nav .nav-next i {
  display: inline-block;
  width: 15px;
  height: 12px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.bbs-view-nav .nav-prev i {
  background-image: url('/asset/img/common/ico-arw01.svg');
}

.bbs-view-nav .nav-next i {
  background-image: url('/asset/img/common/ico-arw02.svg');
}

.bbs-view-nav .nav-prev span,
.bbs-view-nav .nav-next span {
  display: block;
}

.bbs-view-nav .nav-prev p,
.bbs-view-nav .nav-next p {
  display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1; 
	-webkit-box-orient: vertical;
	overflow: hidden;
  white-space: nowrap;
}

.bbs-view-nav .nav-prev {
  left: 0;
}

.bbs-view-nav .nav-next {
  right: 0;
  text-align: right;
}

.bbs-view-nav .nav-back {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 60px;
  background-color: #315CA8;
  border-radius: 50px;
}

@media screen and (max-width:1400px) {

}
@media screen and (max-width:1200px) {

}
@media screen and (max-width:1024px) {

}
@media screen and (max-width:768px) {
  .bbs-view-nav{
    flex-wrap: wrap;
    gap: 20px 0;
  }
  .bbs-view-nav .nav-prev,
  .bbs-view-nav .nav-next{
    height: 45px;
    order: 1;
    width: 100px;
    gap: 5px;
  }

  .bbs-view-nav .nav-back{
    height: 45px;
    order: 3;
    width: 100%;
  }
}
@media screen and (max-width:576px) {

}
/* 검색바 */
.search {
  display: flex;
  justify-content: flex-end;
}
.search form{
  display: flex;
  gap: 10px;
}
.search .search-select{
  width: 140px;
  height: 60px;
}
.search .search-select select{
  width: 100%;
  height: 100%;
  padding: 0 20px;
  background: #F5F5F5 url(/asset/img/common/select-arw.png)no-repeat center right 20px;
  border-radius: 5px;
  cursor: pointer;
}

.search .search-input{
  position: relative;
  width: 450px;
  height: 60px;
}
.search .search-input input{
  width: 100%;
  height: 100%;
  padding: 0 120px 0 20px;
  border-radius: 5px;
  background-color: #F5F5F5;
}
.search .search-input button{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100px;
  border-radius: 0 5px 5px 0;
  background-color: #F79433;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

@media all and (max-width:1024px){
  .search .search-select{
    height: 45px;
  } 
  .search .search-input{
    height: 45px;
  }
}
@media all and (max-width:768px){
  .search .search-select{
    width: 100px;
  } 
  .search .search-input{
    width: calc(100% - 110px);
    max-width: 300px;
  }
  .search .search-input input{
    padding: 0 85px 0 10px;
  }
  .search .search-select select{
    padding: 0 10px;
  }
  .search .search-input button{
    width: 75px;
  }
}

@media all and (max-width:576px){
  .search .search-select{
    height: 40px;
  } 
  .search .search-input{
    height: 40px;
  }
  .search .search-input button{
    width: 60px;
  }
  .search .search-input input{
    padding-right: 70px;
  }
}

/* 페이지네이션 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}

.pagination a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width:25px;
  height:25px;
  margin: 0 5px;
	border-radius:50%;
  background-repeat:no-repeat;
  background-position:center;
  background-color:transparent;
  text-align: center;
  font-size:1.8rem;
  transition:all ease-out .15s;
  color: 000;
}

.pagination a:not(.current) {
  cursor:pointer;
}

.pagination a.current {
	color:#21409A;
	font-weight:700;
}

.pagination a.pagination-prev,
.pagination a.pagination-next {
  background-color: #f5f5f5;
}

.pagination a.pagination-prev {
	margin-right:16px;
  background-image: url('/asset/img/common/page-arw01.png');
}

.pagination a.pagination-next {
	margin-left:16px;
  background-image: url('/asset/img/common/page-arw02.png');
}


.pagination a.pagination-first {
	margin-right:16px;
  background-image: url('/asset/img/common/pagination_prev.png');
}

.pagination a.pagination-last {
	margin-left:16px;
  background-image: url('/asset/img/common/pagination_end.png');
}



@media screen and (max-width:1200px) {
  .pagination a {
    font-size: 1.6rem;
  }
}
@media screen and (max-width:1024px) {
  .pagination {
    margin-top: 60px;
  }

  .pagination a {
    width: 30px;
    height:30px;
    margin: 0px 4px;
  }
}
@media screen and (max-width:768px) {
  .pagination {
    margin-top: 40px;
  }

  .pagination a {
    font-size: 1.4rem;
  }
}
@media screen and (max-width:576px) {
  .pagination {
    margin-top:30px;
  }

  .pagination a {
    width:26px;
    height:26px;
    margin: 0px 2px;
    background-size: auto 8px;
    font-size: 1.4rem;
  }
}


/* On the Ground */
.hub-common-bbs{
  display: flex;
  flex-wrap: wrap;
  gap: 60px 28px;
}
.hub-common-bbs.item03 .hub-common-box{
  width: calc(33.333% - 18.666px);
}
.hub-common-box{
  position: relative;
  display: block;
  border-radius: 25px;
  overflow: hidden;
  aspect-ratio: 1/1.263;
}
.hub-common-box .bgimg-box{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;  
}
.hub-common-box .retxt-box{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 80px 20px;
  z-index: 2;
  background-color: rgba(0,0,0,.4);
}
.hub-common-box .retxt-box .orange-top{
  background-color: #F79433;
  padding: 3px 21px;
  border-radius: 5px;
  width: fit-content;
  margin: 0 auto;
}

@media all and (max-width:1400px){
  .hub-common-box .retxt-box{
    padding: 40px 20px;
  }
}
@media all and (max-width:1024px){
  .hub-common-box .retxt-box{
    padding: 20px 10px;
  }

  .hub-common-box .retxt-box .eng{
    font-size: 1.8rem;
  }
  .hub-common-box .retxt-box .kor{
    font-size: 2rem;
  }
}

@media all and (max-width:768px){
  .hub-common-bbs{
    gap: 20px;
  }
  .hub-common-bbs.item03 .hub-common-box{
    width: calc(50% - 10px);
  }
  .hub-common-box .retxt-box .orange-top{
    padding: 1px 5px;
  }
}
@media all and (max-width:576px){
  .hub-common-bbs{
    gap: 10px;
  }
  .hub-common-bbs.item03 .hub-common-box{
    width: calc(50% - 5px);
  }
  .hub-common-box .retxt-box .eng{
    font-size: 1.4rem;
  }
  .hub-common-box .retxt-box .kor{
    font-size: 1.6rem;
  }
}

.bgimg-box  .d-block{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; 
    object-position: center; 
}



.bbs-hash-tag{
  display: flex;
  gap: 5px;
  flex-wrap: wrap;

  flex-grow: 1;            /* 중요: 이 영역이 빈 공간을 채워서 버튼을 아래로 밀어냄 */
  min-height: 38px;        /* 해시태그가 없을 때도 최소한의 공간 확보 (한 줄 기준) */
  align-content: flex-start; /* 내용이 있을 때 위쪽부터 정렬 */


}
.bbs-hash-tag.center{justify-content: center;}
.bbs-hash-tag .hash{
  padding: 2px 10px;
  border: 1px solid #D9D9D9;
  background-color: #fff;
}
.bbs-hash-tag .hash.gray-bg{
  background-color: #f5f5f5;
}
.bbs-hash-tag .hash:hover{
  background-color: #21409A;
  color: #fff;
  border-color: #21409A;
}
.bbs-hash-tag.hover-none .hash{
  pointer-events: none;
}


.project-d-flex{
  display: flex;
  gap: 28px;
}
.project-d-flex .div-box{
  width: calc(50% - 14px);
}

@media all and (max-width:768px){
.project-d-flex{
  gap: 40px;
  flex-wrap: wrap;
}
.project-d-flex .div-box{
  width: 100%;
}

}

@media all and (max-width:768px){
  .bbs-news.custom .table tr{
    padding: 8px 0;
  }
  .bbs-news.custom .table td{
    width: 100%;
    text-align: left;
    display: flex;
    padding: 0 6px;
  }
  .bbs-news.custom .table td:before{
    display: inline-block;
    content: attr(data-before);
  }
  .bbs-news.custom .table td.no{order: 1; margin-bottom: 10px;}
  .bbs-news.custom .table td.subject{order: 2;}
  .bbs-news.custom .table td.country{order: 3;}
  .bbs-news.custom .table td.writer{order: 4;}
  .bbs-news.custom .table td.data{order: 5;}
  .bbs-news.custom .table td.sector{order: 6;}


  .bbs-news.custom .table td:after{
    content: none;
  }
}