@charset "utf-8";

:root {
	--point-blue-color: #1767b3;   /* 원하는 블루 컬러코드로! */
	--white-color: #fff;
	--basic-blue-color: #1767b3;
	--page-tit-color: #222;
	/* 필요한 변수 모두 여기에 정의 */
}

/* ************************ PC ************************ */
.main {}

.intro-section {
	position: relative;
	width: 100%;
	height: 900px;
	margin: 0 auto;
	overflow: hidden;
	background: url('/resources/images/ebi/main/haezoryu/main_background.png') center center/cover no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
}

.intro-wrap {
	width: 90%;
	height: auto;
	max-width: 1600px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin-top: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 80px;
}

.intro-title {
	width: auto;
	height: auto;
	font-size: 78px;
	font-weight: bold;
	color: #fff;
	letter-spacing: -1.2px;
	line-height: 1.15;
	text-shadow: 0 4px 12px rgba(0,0,0,0.23);
	text-align: center;
	align-self: flex-start;
	text-align: left;
}

.intro-card {
	width: 100%;
	height: auto;
}

.intro-card img {
	width: 100%;
	height: auto;
	display: block;
}

.intro-institutes {
	width: 100%;
	max-width: 1490px;
	height: auto;
}

.intro-institutes img {
	width: 100%;
	height: auto;
	display: block;
}

strong{
	font-weight: 700;
}
.scroll_conwrap {
	padding: 60px 40px;
	background: #fff;
}

.scroll_conwrap .scr_tab {
	display: flex;
	width: min(510px, 90%);
	max-width: 510px;
	height: 70px;
	margin: 0px auto 65px;
	background: #F7F7F8;
	border-radius: 12px;
	padding: 0;
	gap: 0;
}

.scroll_conwrap .scr_tab li {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.scroll_conwrap .scr_tab li button {
	width: 100%;
	height: 66px;
	background: transparent;
	border: none;
	color: #777777;
	font-size: 16px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;                  /* 아이콘과 텍스트 간격 */
	border-radius: 12px;
	cursor: pointer;
	pointer-events: auto;
}

.scroll_conwrap .scr_tab li button:hover {
	background: transparent;
	color: #777777;
}

.scroll_conwrap .scr_tab li.active button {
	border: 2px solid #003894;
	color: #003894;
	background: transparent;
	border-radius: 12px;
}

.scroll_conwrap .scr_tab li button::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 24px;
	height: 24px;
	margin-right: 8px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* greet / result 아이콘 분기 */
.scroll_conwrap .scr_tab li.greet button:before { background-image: url('/resources/images/ebi/main/ico/ico_src_intro_w.svg') }
.scroll_conwrap .scr_tab li.greet.active button:before { background-image: url('/resources/images/ebi/main/ico/ico_src_intro.svg') }
.scroll_conwrap .scr_tab li.result button:before { background-image: url('/resources/images/ebi/main/ico/ico_src_achieve_w.svg') }
.scroll_conwrap .scr_tab li.result.active button:before { background-image: url('/resources/images/ebi/main/ico/ico_src_achieve.svg') }

.scroll_conwrap .scroll_con {
	min-height: 600px;
}

.scr_con.intro_con .page_tit.big {
	display: block;
	color: #000000;
	font-size: 50px;
	text-align: center;
	padding-bottom: 42px;
	margin-bottom: 100px;
	border-bottom: 1px solid #AFB6BB;
	transform: rotate(-0.03deg);
}

.scr_con.achieve_con .page_tit.big {
	display: block;
	color: #000000;
	font-size: 57px;
	text-align: center;
	padding-bottom: 42px;
	border-bottom: 1px solid #AFB6BB;
	transform: rotate(-0.03deg);
}

.con {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0 auto;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.biz-flow {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center; /* 이미지 중앙 정렬 */
	margin-bottom: 60px; /* 다른 섹션과 통일 */
}

.biz-flow img {
	display: block;
	margin: 0 auto 20px auto;
	max-width: 60%;
	height: auto;
}

.biz-flow img[src*="flow_flag"] {
	align-self: flex-start;
	margin-left: 0;
	margin-right: auto;
}

.con > div {
	margin-bottom: 180px;
}

.obj_description1,
.obj_description2,
.necessary-description,
.researcher_description {
	font-size: 18px;
	line-height: 1.8;
	color: #333;
	text-align: justify;
	word-break: keep-all;
	max-width: 100%;
	padding: 0 20px;
	box-sizing: border-box;
}

.con img:not([src*="flag"]) {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.final-obj img[src*="final_obj_flag"], .researcher-intro img[src*="group-intro-flag"],
.necessary img[src*="necessary_flag"], .biz-flow img[src*="flow_flag"]{
	width: 15%;
	height: auto;
	display: block;
	margin-bottom: 60px;
}

.obj_description1, .researcher_description {
	margin-bottom: 60px;
}

.necessary-description, .obj_description2 {
	margin-top: 60px;
}

.inner_tab.result_type {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1600px;
	height: 70px;
	margin-top: 3px;
	margin-bottom: 50px;
	background: #F7F7F8;
	padding: 0;
	gap: 0;
	margin-left: auto;
	margin-right: auto;
}

.inner_tab.result_type li {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.inner_tab.result_type li button {
	width: 100%;
	height: 70px;
	background: #F7F7F8;
	border: none;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.inner_tab.result_type li.active button {
	background: #fff;
	color: #003894;
	font-weight: 700;
	box-shadow: none;
	z-index: 2;
}

.inner_tab.result_type li button::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	width: 24px;
	height: 24px;
	margin-right: 8px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.inner_tabcon {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.inner_tabcon > div {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sch_inp {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-left: auto;
	width: 400px;
}

.sch_inp input[type="search"] {
	flex: 1;
	height: 40px;
	padding: 0 16px;
	border: 1.5px solid #e0e0e0;
	border-radius: 8px;
	margin-right: 5px;
	outline: none;
	font-size: 16px;
	transition: border 0.2s;
	background: #fff;
}

.sch_inp input[type="search"]::placeholder {
	color: #b0b0b0;
}

.sch_inp button {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 20px;
	background: #0446a3;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.sch_inp button:hover {
	background: #003b86;
}

.icon-search {
	display: inline-block;
	width: 18px;
	height: 18px;
	background: url('/resources/images/ebi/main/ico/search_ico.svg') center center/cover no-repeat;
	vertical-align: middle;
}

.btm_etc {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-top: 40px;
	position: relative;
	min-height: 60px;
	box-sizing: border-box;
}

.pager {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 auto;
}

/* 페이징 버튼 스타일 */
.pager button {
	width: 36px;
	height: 36px;
	background: #f2f3f4;
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s;
}

.pager button:disabled,
.pager button[disabled] {
	background: #f2f3f4;
	opacity: 1;
	cursor: not-allowed;
}

.pager button:hover:not(:disabled) {
	background: #e4e7ea;
}

.pager button span {
	display: inline-block;
	width: 18px;
	height: 18px;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	opacity: 0.6;
	transition: opacity 0.2s;
}
.pager button:hover span {
	opacity: 1;
}

.pager .icon-ll {
	background-image: url('/resources/images/ebi/main/ico/ico_left_left.svg');
	width: 100%;
	height: 100%;
}
.pager .icon-l {
	background-image: url('/resources/images/ebi/main/ico/ico_left.svg');
	width: 100%;
	height: 100%;
}
.pager .icon-r {
	background-image: url('/resources/images/ebi/main/ico/ico_right.svg');
	width: 100%;
	height: 100%;
}
.pager .icon-rr {
	background-image: url('/resources/images/ebi/main/ico/ico_right_right.svg');
	width: 100%;
	height: 100%;
}

/* 페이징 숫자 영역 */
.pager ol {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0 8px;
	padding: 0;
}

.pager ol li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 36px;
	font-size: 18px;
	color: #babfc3;
	text-decoration: none;
	border-radius: 8px;
	transition: color 0.2s, background 0.2s;
}

.pager ol li a.active {
	color: #181c1f;
	font-weight: bold;
	background: transparent;
}

.pager ol li a:hover:not(.active) {
	background: #e4e7ea;
	color: #0446a3;
}

.btn_style.regist_btn {
	background: #181818;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 0 24px;
	min-width: 110px;
	height: 48px;
	font-size: 16px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	box-shadow: none;
	cursor: pointer;
	transition: background 0.2s;
}

.btn_style.regist_btn:hover {
	background: #232323;
}

.btn_style.regist_btn .icon-regist {
	display: inline-block;
	width: 24px;
	height: 24px;
	margin-right: 4px;
	background: url('/resources/images/ebi/main/ico/ico_regist.svg') no-repeat center/contain;
}

.card_li {
	display: grid;
	grid-template-columns: repeat(4, 1fr);  /* 4열 그리드 */
	gap: 24px 18px;
	padding: 0 16px;
	margin: 32px 0;
	list-style: none;
}

.card_li > li {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(20,20,20,0.06);
	transition: box-shadow 0.2s;
	overflow: hidden;
	min-width: 0;
	min-height: 0;
	position: relative;
}

.card_li > li:hover {
	box-shadow: 0 6px 18px rgba(20,20,20,0.14);
}

.card_li a {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	padding: 18px 18px 14px 18px;
}

.card_li .thumb {
	width: 100%;
	height: 110px;
	border-radius: 8px;
	background: #f7f7f8;
	margin-bottom: 14px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card_li .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.card_li .meta {
	margin-bottom: 10px;
	display: flex;
	gap: 6px;
}

/* 뱃지 예시 (필요시) */
.card_li .meta .badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 6px;
	background: #e6ecf7;
	color: #0859d6;
	font-size: 12px;
	font-weight: 600;
}

.card_li .txt_box {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.card_li .txt_box strong {
	font-size: 17px;
	font-weight: 500;
	color: #222;
	margin-bottom: 13px;
	display: -webkit-box;
	-webkit-line-clamp: 2;    /* 두 줄까지 */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 48px;
}

.card_li .etc {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #81899c;
	gap: 12px;
}

.card_li .etc .date {
	color: #81899c;
}
.card_li .etc .view {
	color: #4580f7;
	font-weight: 500;
}

/* 아이콘 클래스 (필요시 .ico에 svg/이미지 등) */
.card_li .etc .ico {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* ************************ 태블릿 이하(~1024) ************************ */
@media screen and (max-width: 1024px) {
	body {max-width:100%;}

	.visual {}
	.visual .swiper {border-radius:0;}
	.visual .tit {padding:9vw 8vw;}
	.visual .tit span {font-size:21px;}
	.visual .tit h2 {font-size:40px;}
	.visual .swiper-slide {height:40vw; min-height:300px;}
	.visual .swiper-slide img {width:100%; height:100%; object-fit:cover;}

	.card {}
	.card .wrap {padding:0 20px; flex-direction:column;}
	.card-item {width:100%;}

	.board {}
	.board .wrap {padding:0 20px; flex-direction:column; gap:50px;}
	.board .list {width:100%;}
	.board .data {width:100%;}

}


@media (max-width: 1200px) {
	.con {
		max-width: 100%;
		padding: 0 16px;
	}
	.obj_description1,
	.obj_description2,
	.necessary-description,
	.researcher_description {
		font-size: 16px;
		padding: 0 10px;
	}
	.con > div {
		margin-bottom: 100px;
	}
}

@media (max-width: 800px) {
	.con {
		max-width: 80%;
		padding: 0 8px;
	}
	.obj_description1,
	.obj_description2,
	.necessary-description,
	.researcher_description {
		font-size: 14px;
		padding: 0 4px;
	}
	.con > div {
		margin-bottom: 50px;
	}
	.final-obj img[src*="final_obj_flag"],
	.researcher-intro img[src*="group-intro-flag"],
	.necessary img[src*="necessary_flag"],
	.biz-flow img[src*="flow_flag"] {
		width: 30%;  /* 플래그 이미지는 더 작게 */
		margin-bottom: 32px;
	}
}

@media (max-width: 480px) {
	.con {
		padding: 0 2px;
	}

	.obj_description1,
	.obj_description2,
	.necessary-description,
	.researcher_description {
		font-size: 13px;
	}

	.con > div {
		margin-bottom: 24px;
	}

	.final-obj img[src*="final_obj_flag"],
	.researcher-intro img[src*="group-intro-flag"],
	.necessary img[src*="necessary_flag"],
	.biz-flow img[src*="flow_flag"] {
		width: 40%;
		margin-bottom: 16px;
	}
}

/* ************************ 모바일 (~767) ************************ */
@media screen and (max-width: 767px) {
	.main {}
	.visual .tit h2 {font-size:30px;}
	.visual .tit span {font-size:17px;}
	.visual .swiper-pagination-bullet {width:10px; height:10px; margin:0 5px !important;}
	.visual .swiper-pagination-bullets {bottom:20px;}

	.card {padding:30px 0;}
	.card-item {padding:30px 100px 30px 30px;}
	.card-item h4 {font-size:20px;}
	.card-item p {font-size:14px; min-height:auto;}
	.card-item .img {width:60px; right:30px; bottom:30px; background-size:100%;}
	.card-item a {padding:0 30px; line-height:40px; font-size:13px; }

	.board .wrap {gap:30px}
	.board .list-head {padding:0 0 20px;}
	.board .list-head .tabWrap {gap:20px;}
	.board .list-head .tabWrap a {font-size:19px;}
	.board .list-head .tabWrap a+a:before {left:-11px;}
	.board .list-head .tabWrap a.on {}
	.board .list-body .tabItem .more {line-height:29px;}
	.board .list-body .tabItem .flex {gap:9px;}
	.board .list-body .tabItem a {font-size:14px;}
	.board .list-body .tabItem a .tit {padding-left:10px;}
	.board .list-body .tabItem a .tit:before {top:8px;}
	
	.board .data h4 {font-size:17px;}
	.board .data .search {padding:0 20px;}
	.board .data .search label {width:72px; padding-right:10px; font-size:14px;}
	.board .data .search input {width:calc(100% - 72px); height: 0;padding:0 20px 0 10px; font-size:14px;}
	.board .data .search button {}
	.board .data .search button img {width:19px;}
	.board .data .btn a {padding:20px 10px;}
	.board .data .btn a p {padding:10px 0 0; font-size:14px;}
	.board .data .btn a .img img {width:50px;}
}

/* ************************ 모바일 (~500) ************************ */
@media screen and (max-width: 460px) {

}

