@charset "utf-8";

.basic-table { border:1px solid #ccc; border-radius: .8rem; overflow: hidden; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1); overflow-x: auto; }
.basic-table table { width: 100%; min-width: 570px; text-align: center; }
.basic-table table th, .basic-table table td { padding: 1.3rem; border-bottom: 1px solid #ccc; line-height: 1.6; }
.basic-table table th { background: #001C35; color:white; }
.basic-table table td { background: #fff; }
.basic-table table tr:nth-child(even) td { background: #FAFAFA; }
.basic-table table tr:last-child th, .basic-table table tr:last-child td { border-bottom: 0; }

/* project (연도별 연구사업) */
.proj-yearly__desc { margin-bottom: 3rem; font-size: var(--fs-20); line-height: 1.6; }
.proj-yearly__tabs { margin-bottom: 4rem; display: flex; flex-wrap: wrap; gap: 5px; }
.proj-yearly__tabs button { display: flex; align-items: center; justify-content: center; height: 4rem; min-width: 8rem; padding: 0 16px; border: 1px solid #ccc; background: #fff; font-size: var(--fs-18); font-weight: 800; line-height: 1.6; color: #c9c9c9; }
.proj-yearly__tabs button.is-active { border-color: var(--dark-blue-color); background: var(--dark-blue-color); color: #fff; }
.proj-yearly__year { margin-top: 44px; font-size: var(--fs-36); font-weight: 800; line-height: 1.4; }
.proj-yearly__list { display: none; }
.proj-yearly__list.active { display: block; }
.proj-yearly__list article { padding: 5rem 0; border-bottom: 1px solid #ccc; }
.proj-yearly__list article:last-child { border-bottom: 0; }
.proj-yearly__list h4 { position: relative; padding-left: 24px; font-size: var(--fs-18); font-weight: 800; line-height: 1.4; }
.proj-yearly__list h4:before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; aspect-ratio: 1/1; border-radius: 50%; background: var(--key-color); outline:4px solid rgba(0, 115, 184, 0.10); }
.proj-yearly__item-body { margin-top: 12px; padding-left: 24px; font-size: var(--fs-18); line-height: 1.6; }
.proj-yearly__item-body p { line-height: 1.6; }
.proj-yearly__item-body li { position: relative; line-height: 1.6; padding-left: 1.6rem; }
.proj-yearly__item-body li + li { margin-top: 2px; }
.proj-yearly__item-body li:before { content: ""; position: absolute; left: 0; top: 11px; width: 3px; aspect-ratio: 1/1; border-radius: 50%; background: var(--main-black); }


/* jeju (제주포럼) */
.jeju-forum__hero { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 102/33; }
.jeju-forum__hero img { width: 100%; height: 100%; object-fit: cover; }
.jeju-forum__hero:after { content: ""; position: absolute; inset: 0; background: rgba(0,68,128,0.2); }
.jeju-forum__intro { padding: 3.8rem 0; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem 0; align-items: center; }
.jeju-forum__logo { display: flex; align-items: center; justify-content: center; }
.jeju-forum__logo img { max-width: 23rem; width: 100%; height: 100%; object-fit: contain; }
.jeju-forum__intro-en { font-size: var(--fs-20); font-weight: 800; line-height: 1.6; }
.jeju-forum__intro-desc { margin-top: 1rem; font-size: var(--fs-20); line-height: 1.6; }
.jeju-forum__btns { margin-top: 2.4rem; display: flex; gap: 1rem; }
.jeju-forum__btn { display: inline-flex; align-items: center; gap: 1rem; padding: 1.6rem 3.8rem; border-radius: 100px; font-size: var(--fs-18); font-weight: 900; line-height: 1.6; }
.jeju-forum__btn--primary { background: #00A350; border: 1px solid #00A350; color: #fff; }
.jeju-forum__btn--ghost { background: #fff; border: 1px solid #00A350; color: #00A350; }
.jeju-forum__ico { display: inline-flex; width: 24px; height: 24px; }
.jeju-forum__ico svg { width: 24px; height: 24px; display: block; }
.jeju-forum__list { border-top: 1px solid #ccc; }
.jeju-forum__list article { padding: 5rem 0; border-bottom: 1px solid #ccc; }
.jeju-forum__list h4 { position: relative; padding-left: 24px; font-size: var(--fs-18); font-weight: 800; line-height: 1.4; }
.jeju-forum__list h4:before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; aspect-ratio: 1/1; border-radius: 50%; background: var(--key-color); outline:4px solid rgba(0, 115, 184, 0.10); }
.jeju-forum__item-body { margin-top: 12px; padding-left: 24px; font-size: var(--fs-18); line-height: 1.6; color: var(--main-black); }
.jeju-forum__item-body p { line-height: 1.6; }
.jeju-forum__item-body p + p { margin-top: 16px; line-height: 1.6; }
.jeju-forum__item-body li { position: relative; line-height: 1.6; padding-left: 1.6rem; }
.jeju-forum__item-body li + li { margin-top: 2px; }
.jeju-forum__item-body li:before { content: ""; position: absolute; left: 0; top: 11px; width: 3px; aspect-ratio: 1/1; border-radius: 50%; background: var(--main-black); }


/* 인사말 */
#container:has(.welcome) { position: relative; }
#container:has(.welcome)::before { z-index: -1; content: ''; width: 25%; position: absolute; right:0; bottom:30rem; aspect-ratio: 483/349; background: url('/resources/img/common/ico_jpi.svg') center/cover no-repeat; }
.welcome h3 { font-weight: 700; font-size: var(--fs-28); line-height: 1.6; }
.welcome-blockquote { padding: 2rem 3rem; margin-top: 2.2rem; margin-bottom: 4rem; border-radius: 0 1.6rem 1.6rem 1.6rem; border-left: 4px solid #0073B8; background: rgba(0, 115, 184, 0.05); }
.welcome-blockquote p { font-size: var(--fs-20); line-height: 1.6; }
.welcome-blockquote p b { font-weight: 600; }
.welcome-text p { line-height: 1.6; font-size: var(--fs-18); }
.welcome-text p + p { margin-top: 1.6rem; }
.welcome-director { margin-top: 2rem; font-size: var(--fs-20); line-height: 1.6; text-align: right; }


/* timeline */
.timeline .timeline-intro { display: flex; flex-direction: column; gap: 2rem; font-size: var(--fs-20); line-height: 1.6; margin-bottom: 3rem; }
.timeline .timeline-intro p { line-height: 1.6; }
.timeline-list { position: relative; margin-top: 3rem; padding: 3rem 0; }
.timeline-list::before { content: ""; position: absolute; left: 1.8rem; top: 3rem; width: 2px; height: calc(100% - 6rem); background: #DDDDDD; }
.timeline-list::after { content: ""; position: absolute; left: 1.8rem; top: 0; height: 100%; border-left: 2px dashed #DDDDDD; }
.timeline-list > ul { display: flex; flex-direction: column; gap: 8rem; }
.timeline-list > ul > li { z-index: 1; position: relative; padding-left: 5.8rem; }
.timeline-list > ul > li::before { content: ""; position: absolute; left: 1rem; top: 1.6rem; width:  1.8rem; aspect-ratio: 1/1; border-radius: 50%; background: var(--key-color); }
.timeline-list > ul ul { display: flex; flex-direction: column; gap: 2rem; padding: 3rem 1rem 0; }
.timeline-list > ul ul li { display: grid; grid-template-columns: 13rem 1fr; }
.timeline-list .timeline-title { position: relative; width: fit-content; padding-right: 3.4rem; font-size: var(--fs-36); font-weight: 600; line-height: 1.4; cursor: pointer; }
.timeline-list .timeline-title::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 14px; aspect-ratio: 14/8; background: url('/resources/img/sub/timeline_arw.svg') center/cover no-repeat; transition: .3s; }
.timeline-list .timeline-title.active::after { transform: translateY(-50%) rotate(180deg); }
.timeline-list .timeline-date { font-size: var(--fs-20); font-weight: 600; line-height: 1.4; }
.timeline-list .timeline-text { font-size: var(--fs-20); line-height: 1.4; }


/* network (국내외 네트워크) */
.network__hero { border-radius: 16px; overflow: hidden; position: relative; }
.network__hero img { width: 100%; object-fit: cover; }
.network__desc { margin-top: 3rem; font-size: var(--fs-20); line-height: 1.6; }
.network__tabs { margin-top: 3.4rem; margin-bottom: 3rem; display: flex; flex-wrap: wrap; gap: 5px; }
.network__tabs button { display: flex; align-items: center; justify-content: center; height: 4rem; min-width: 8rem; padding: 0 16px; border: 1px solid #ccc; background: #fff; font-size: var(--fs-18); font-weight: 800; line-height: 1.6; color: #c9c9c9; }
.network__tabs button.is-active { border-color: var(--dark-blue-color); background: var(--dark-blue-color); color: #fff; }

.network__list { display: none; border-top: 1px solid #ccc; }
.network__list.active { display: block; }
.network__item { padding: 5rem 0; border-bottom: 1px solid #ccc; }
.network__list .network__item:last-child { border-bottom: 0; }

.network__country { display: inline-flex; align-items: center; gap: 8px; position: relative; padding-left: 24px; font-size: var(--fs-18); font-weight: 800; line-height: 1.4; }
.network__country:before { content: ""; position: absolute; left: 4px; top: 4px; width: 8px; aspect-ratio: 1/1; border-radius: 50%; background: var(--key-color); outline: 4px solid rgba(0, 115, 184, 0.10); }
.network__flag { width: 24px; height: 16px; object-fit: cover; }
.network__flag--small { height: 12px; }

.network__item-body:nth-child(1) { margin-top: 16px; }
.network__item-body { margin-top: 24px; padding-left: 24px; font-size: var(--fs-18); line-height: 1.6; display: flex; flex-direction: column; gap: 8px; }
.network__org { display: inline-flex; width: fit-content; align-items: center; gap: 8px; flex-wrap: wrap; }
a.network__org:hover { text-decoration: underline; text-underline-offset: 4px; }
.network__org-name { font-weight: 600; line-height: 1.6; }
.network__org-ico { width: 20px; height: 20px; background: url('/resources/img/sub/open_in_new.svg') center/cover no-repeat; }

.network__bullets li { position: relative; line-height: 1.6; padding-left: 1.6rem; }
.network__bullets li + li { margin-top: 2px; }
.network__bullets li:before { content: ""; position: absolute; left: 0; top: 11px; width: 3px; aspect-ratio: 1/1; border-radius: 50%; background: var(--main-black); }

.network__empty { padding: 5rem 0; font-size: var(--fs-18); line-height: 1.6; color: var(--sub-black); }

.structure p { margin-bottom: 4rem; font-size: var(--fs-20); line-height: 1.6; }


/* 연락처 */
.people { display: flex; flex-direction: column; gap:7rem; }
.people h3 { margin-bottom: 1.4rem; font-size: var(--fs-24); font-weight: 800; line-height: 1.6; }

/* Contact */
.location iframe { width: 100%; height: 40rem; }
.location .proj-yearly__tabs { margin-top: 2rem; }
.location .proj-yearly__list article { display: flex; flex-direction: column; gap: 2rem; padding: 0; }
.location .proj-yearly__list article * { line-height: 1.6; font-size: var(--fs-18); }
.location .proj-yearly__list article ul { font-size: var(--fs-18); line-height: 1.6; }
.location .proj-yearly__list article ul li { position: relative; line-height: 1.6; padding-left: 1.6rem; }
.location .proj-yearly__list article ul li + li { margin-top: 2px; }
.location .proj-yearly__list article ul li:before { content: ""; position: absolute; left: 0; top: 11px; width: 3px; aspect-ratio: 1/1; border-radius: 50%; background: var(--main-black); }

@media (max-width: 1024px) { 
	#container:has(.welcome)::before { bottom:40rem; }
}
@media (max-width: 768px) {
	.jeju-forum__intro { grid-template-columns: 1fr; gap: 18px; } 

	.timeline-list::before { left: 1.4rem; }
	.timeline-list::after { left: 1.4rem; }
	.timeline-list > ul { gap:6rem; }
	.timeline-list > ul > li { padding-left: 3.8rem; }
	.timeline-list > ul > li::before { left: 0.8rem; width: 1.4rem; }
	.timeline-list > ul ul { padding: 2rem 0 0; gap:1rem; }
	.timeline-list > ul ul li { grid-template-columns: 11rem 1fr; }
}
@media (max-width: 768px) {
	.jeju-forum__btns { flex-wrap:wrap; }
	.jeju-forum__btn { width: 100%; }
	.timeline-list > ul ul li { grid-template-columns: 1fr; gap:0.2rem; }

	.network__tabs button { width: 100%; }
	.network__item-body { padding-left: 0; }
	.network__country { padding-left: 20px; }
	.network__country:before { left: 0; }
}
