@charset "utf-8";

/* 새글 스킨 (latest) */
.lat {position:relative;margin-bottom:20px;background:#fff}
.lat .lat_title {display:block;line-height:45px;font-size:1.2em;color:#253dbe}
.lat .lat_title a {position:relative;color:#000;display:inline-block}

.lat ul {padding:10px 0}
.lat li {position:relative;line-height:18px;border-bottom:1px solid #e5ecee;margin-bottom:10px}
.lat li a {font-weight:bold;font-size:1.2em;line-height:20px;vertical-align:middle}
.lat li a:hover {color:#3a8afd}
.lat li .fa-heart {color:#ff0000}
.lat li .fa-lock {display:inline-block;line-height:14px;width:16px;font-size:0.833em;color:#4f818c;background:#cbe3e8;text-align:center;border-radius:2px;font-size:12px;border:1px solid #cbe3e8;vertical-align:middle}
.lat li .new_icon {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#23db79;background:#b9ffda;text-align:center;border-radius:2px;margin-left:2px;font-weight:bold;vertical-align:middle}
.lat li .hot_icon {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#ff0000;background:#ffb9b9;text-align:center;border-radius:2px;vertical-align:middle}
.lat li .fa-caret-right {color:#bbb}
.lat li .fa-download {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#daae37;background:#ffefb9;text-align:center;border-radius:2px;vertical-align:middle}
.lat li .fa-link {display:inline-block;width:16px;line-height:16px;font-size:0.833em;color:#b451fd;background:#edd3fd;text-align:center;border-radius:2px;vertical-align:middle}

.lat .profile_img img{border-radius:50%}

.lt_info {padding:10px 0}
.lt_info .lt_nick {}
.lt_info .lt_date {color:#888}

.lat .empty_li {line-height:145px;color:#666;text-align:center;padding:0}
.lat .empty_li:before {background:none;padding:0}

.lat .lt_cmt {background:#e9eff5;color:#3a8afd;font-size:11px;height:16px;line-height:16px;padding:0 5px;border-radius:3px;vertical-align:middle}
.lat .lt_more {position:absolute;top:11px;right:0;display:block;width:40px;line-height:25px;color:#3a8afd;border-radius:3px;text-align:center}
.lat .lt_more:hover {color:#777}

.campaign_card_swiper .swiper-slide {
  opacity: 1 !important;
}

.campaign_card_swiper .swiper-wrapper {
  align-items: stretch;
}

.campaign_card .card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.campaign_view_box {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.campaign_card_swiper {
  overflow: hidden;
}

.campaign_card_swiper .swiper-slide {
    display: none;
  transition: opacity 0.4s ease;
}

.campaign_card .swiper-slide-active{
 opacity: 1;
}




/* ==========================================
   04. 활동 소식 섹션 스타일
   ========================================== */
.main_news {
  padding-bottom: 140px;
}

.flex_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.btn_more {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  padding-right: 20px;
  background: url('./images/ico_arrow_right.png') no-repeat right center / auto 14px;
}

.news_grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.news_card {
  width: 453px; /* 3단 균등 배분 */
  display: flex;
  flex-direction: column;
}

.news_card .thumb_box {
  width: 100%;
  height: 260px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

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

.news_card .info_box .card_title {
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news_card .info_box .card_date {
  font-size: 16px;
  color: #888888;
  display: block;
  margin-bottom: 12px;
}

.news_card .info_box .card_desc {
  font-size: 16px;
  color: #505050;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 두 줄 제한 초과 시 말줄임 처리 기본 세팅 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ==========================================
   05. 공지사항 및 언론보도 혼합 그리드 영역
   ========================================== */
.main_board_section {
  padding: 80px 0;
  background-color: #ffffff;
}

.board_container {
  background-color: #018f52;
  border-radius: 40px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.board_block_box {
  flex: 1;
}

.board_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.board_header h4 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.board_header p {
  font-size: 18px;
  color: #e0e0e0;
}

.btn_more_w {
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  padding-right: 18px;
  background: url('./images/ico_arrow_right_w.png') no-repeat right center / auto 12px;
}

.board_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.board_list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-radius: 15px;
  padding: 24px 30px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.board_list li a:hover {
  transform: scale(1.02);
}

.board_list .subject {
  font-size: 18px;
  color: #111111;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 75%;
}

.board_list .date {
  font-size: 16px;
  color: #777777;
}


/* 리스트 디자인 */
.frame-parent {
  	width: 100%;
  	position: relative;
  	display: grid;
  	box-sizing: border-box;
  	grid-template-columns: 1fr;
  	grid-template-rows: repeat(4, 1fr);
  	gap: 18px;
  	text-align: left;
  	font-size: 28px;
  	color: #111;
  	font-family: Pretendard;
}
.component-wrapper {
  	height: 90px;
  	border-radius: 4px;
  	background-color: #019656;
  	display: flex;
  	flex-direction: column;
  	align-items: flex-start;
  	padding: 20px 36px;
  	box-sizing: border-box;
  	grid-column: 1;
  	grid-row: 1;
  	color: #fff;
}
.frame-group {
  	align-self: stretch;
  	height: 53px;
  	position: relative;
  	flex-shrink: 0;
}
.parent {
  	position: absolute;
  	top: 0px;
  	left: 0px;
  	height: 53px;
  	display: flex;
  	align-items: center;
  	gap: 12px;
}
.b {
  	position: relative;
}
.div {
  	position: relative;
  	font-size: 20px;
  	font-weight: 500;
}
.div2 {
  	position: absolute;
  	top: 17px;
  	right: 0px;
  	font-size: 16px;
  	font-weight: 500;
}
.frame-wrapper {
  	border-radius: 4px;
  	border: 1px solid #e3e3e3;
  	display: flex;
  	flex-direction: column;
  	align-items: flex-start;
  	padding: 20px 36px;
  	grid-column: 1;
  	grid-row: 2;
}
.frame-container {
  	align-self: stretch;
  	height: 53px;
  	position: relative;
}
.div4 {
  	position: absolute;
  	top: 17px;
  	right: 0px;
  	font-size: 16px;
  	font-weight: 500;
  	color: #000;
}
.instance-wrapper {
  	border-radius: 4px;
  	border: 1px solid #e3e3e3;
  	display: flex;
  	flex-direction: column;
  	align-items: flex-start;
  	padding: 20px 36px;
  	grid-column: 1;
  	grid-row: 3;
}
.instance-container {
  	border-radius: 4px;
  	border: 1px solid #e3e3e3;
  	display: flex;
  	flex-direction: column;
  	align-items: flex-start;
  	padding: 20px 36px;
  	grid-column: 1;
  	grid-row: 4;
}

.news_wrap{
display: grid;
grid-template-columns: 1fr 1fr;
}

.cp_section {
  padding: 140px 0;
  padding-bottom:200px;
}
.cp_inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 헤더 */
.cp_header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}
.cp_header_txt{
  display: flex;
  flex-direction:column;
  gap:24px;
}
.cp_title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
}
.cp_title a { color: inherit; text-decoration: none; }
.cp_title strong { font-weight: 700; }
.cp_subtitle {
  font-size: 18px;
  color: #666;
  margin: 0;
}
.cp_more_btn {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  padding: 6px 16px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
}
.cp_more_btn:hover { background: #f5f5f5; }

.cp_divider {
  border: none;
  border-top: 2px solid #222;
  margin-bottom: 32px;
}

/* 바디 */
.cp_body {
  display: grid;
  gap: 50px;
  grid-template-columns: 1fr 700px;

}

/* 좌측 목록 */
.cp_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;

  flex-shrink: 0;
}
.cp_item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  background: #fff;
  min-height: 90px;
}
.cp_item:hover {
  background: #f0faf3;
  border-color: #2a9d4e;
}
.cp_item.is-active {
  background: #2a9d4e;
  border-color: #2a9d4e;
  color: #fff;
}
.cp_num {
  font-size: 28px;
  font-weight: 800;
  min-width: 28px;
}
.cp_name {
  flex: 1;
  font-size: 20px;
  font-weight: 500;
}
.cp_period {
  font-size: 16px;
  opacity: 0.7;
  white-space: nowrap;
}
.cp_item.is-active .cp_period { color: rgba(255,255,255,0.85); }

/* 우측 슬라이더 */
.cp_slide_wrap {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
}
.cp_swiper {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
.swiper-slide {
  height: auto;
}
.cp_card {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
}
.cp_card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.cp_card:hover img { transform: scale(1.03); }
.cp_card_overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 50px 35px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  color: #fff;
}
.cp_card_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.cp_card_title {
  font-size: 28px;
  font-weight: 700;
}
.cp_card_period {
  font-size: 16px;
  opacity: 0.85;
  white-space: nowrap;
}
.cp_card_desc {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0;
}

.cp_empty {
  text-align: center;
  padding: 40px;
  color: #999;
}

@media screen and (max-width:1440px) {
    .main_board_section{
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media screen and (max-width:1200px){
    .cp_title{
        font-size: 36px;
    }
    .cp_card_title{
        font-size: 22px;
    }

    .cp_name{
        font-size: 16px;
    }
    .cp_period{
        font-size: 14px;
    }
    .cp_num{
        font-size: 24px;
    }
    .cp_subtitle{
        font-size: 16px;
    }
    .cp_body{
        display: flex;
        flex-wrap: wrap;
        /* flex-direction: column; */
    }
    .cp_section{
        padding: 100px 0;
        padding-bottom: 140px;
    }
    .cp_list{
        justify-content: space-between;
        gap: 8px;
        width: 45%;
    }
    .cp_card{
        height: 100%;
    }
    .cp_item{
        min-height: 75px;
    }
    .cp_body{
        gap: 20px;
    }

}

@media screen and (max-width:1024px){
    .cp_slide_wrap{
        width: 100%;
    }
    .board_container{
        gap: 50px;
    }
    .board_container{
        padding: 45px;
    }
}


/* 반응형 */
@media (max-width: 900px) {
  .cp_body { flex-direction: column; }
  .cp_list { width: 100%; }
  .cp_card { aspect-ratio: 16/9; }
}

@media screen and (max-width:768px){
    .cp_title{
        font-size: 28px;
    }
    .cp_header_txt{
        gap: 14px;
    }
}

@media screen and (max-width:640px){
    .cp_card_title{
        font-size: 20px;
    }
    .board_container{
        padding: 35px;
    }
}


@media (max-width: 600px) {
  .cp_inner { padding: 0 20px; }
  .cp_title { font-size: 26px; }
  .cp_header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .cp_item { padding: 14px 16px; }
  .cp_num { font-size: 15px; }
  .cp_name { font-size: 14px; }
}

@media screen and (max-width:460px){
    .cp_subtitle{
        font-size: 14px;
    }
    .cp_header_txt{
        gap: 8px;
    }
    .cp_card_overlay{
        padding: 10% 5%;
    }
    .cp_card_title{
        font-size: 18px;
    }

    .cp_title{
        font-size: 24px;
    }
    .cp_section{
        padding-bottom: 120px;
    }

    .main_board_section{
        padding: 0 30px;
        padding-bottom: 80px;
    }
    .board_header{
        flex-direction: column;
        align-items: flex-start;
    }
    .board_container{
        padding: 20px 25px;
    }
    .btn_more_w{
        display: none;
    }

}

