/* =========================================================
   dev.css  – 인라인 <style> 블록에서 분리한 공통 스타일
   Header.jsp / TermsDetail.jsp / HmpgMain.jsp /
   SrchListPage.jsp / MapsDetail.jsp / CmntRegistForm.jsp /
   MyPage.jsp / MyPageUpdateForm.jsp / MembJoinStep2Form.jsp /
   ChatWidget.jsp 인라인 제거분
   ========================================================= */

/* ---- ellipsis (HmpgMain.jsp) ---- */
.ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 5px;
	box-sizing: border-box;
}

/* ---- 헤더 로고 PC 크기 (Header.jsp) ---- */
@media screen and (min-width: 1025px) {
	#header .hmpg-header-logo:not(.hmpg-header-logo--en) img { height: 25px !important; max-height: 32px !important; }
}

/* ---- i18n 12개국 영문 로고 (2줄 세로·가로형 푸터) — 기존 logo.png / logo_bottom.png 비율에 맞춤 ---- */
#header .hmpg-header-logo--en {
	min-width: 120px !important;
	max-width: 220px !important;
}
#header .hmpg-header-logo--en picture,
#header .hmpg-header-logo--en a {
	display: flex !important;
	align-items: center;
	line-height: 0;
}
#header .hmpg-header-logo--en img {
	width: auto !important;
	max-width: 220px !important;
	height: auto !important;
	object-fit: contain;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}
@media screen and (min-width: 1025px) {
	#header .hmpg-header-logo--en img {
		height: 52px !important;
		max-height: 56px !important;
	}
}
@media screen and (max-width: 1024px) {
	#header .hmpg-header-logo--en img {
		height: 40px !important;
		max-height: 44px !important;
		max-width: 180px !important;
	}
}

.bottomarea .address_box .hmpg-footer-logo--en picture {
	display: block;
	line-height: 0;
}
.bottomarea .address_box .hmpg-footer-logo--en img {
	display: block;
	width: auto !important;
	height: 28px !important;
	max-height: none !important;
	max-width: 420px !important;
	object-fit: contain;
}
@media screen and (max-width: 767px) {
	.bottomarea .address_box .hmpg-footer-logo--en img {
		height: 24px !important;
		max-width: 320px !important;
	}
}

/* ---- 메인 하단 관련기관 로고 (section7) — 원본(~57px) 대비 40px 컨테이너 축소 보정 ---- */
.maincontents .section.section7 .slide_box.site .slick-slider .slick-slide a {
	height: 52px;
}
@media screen and (max-width: 1024px) {
	.maincontents .section.section7 .slide_box.site .slick-slider .slick-slide a {
		height: 36px;
	}
}

/* ---- 메인 section4 (병원·지원센터·비자) — i18n 긴 설명 시 우측 아이콘과 겹침 방지 ---- */
@media screen and (min-width: 1025px) {
	.maincontents .section.section4 ul li.list1 a,
	.maincontents .section.section4 ul li.list2 a,
	.maincontents .section.section4 ul li.list3 a {
		padding-right: 110px;
		background-size: auto 65px;
	}
	.maincontents .section.section4 ul li a .tit,
	.maincontents .section.section4 ul li a .txt {
		word-break: break-word;
		overflow-wrap: anywhere;
	}
	.maincontents .section.section4 ul li a .txt {
		margin-top: 6px;
		line-height: 1.45;
	}
}

/* ---- subtoparea2 모바일 — 긴 i18n 제목 + 검색창 세로 배치 (지역센터 채용·공지, 프로그램 등) ---- */
@media screen and (max-width: 1024px) {
	.subtoparea.subtoparea2 .d_area {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		height: auto !important;
		min-height: 0 !important;
		padding: 16px 16px 20px !important;
		box-sizing: border-box;
	}
	.subtoparea.subtoparea2 .d_area > a {
		display: block;
		order: 1;
		margin-bottom: 14px;
	}
	.subtoparea.subtoparea2 h2.frameH2Area,
	.subtoparea.subtoparea2 h2 {
		position: static !important;
		top: auto !important;
		left: auto !important;
		bottom: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 8px 10px;
		padding: 0 0 0 42px !important;
		background-position: 0 2px !important;
		line-height: 1.35 !important;
		word-break: break-word;
		box-sizing: border-box;
	}
	.subtoparea.subtoparea2 #searchCommForm {
		order: 2;
		width: 100%;
		margin-top: 6px;
	}
	.subtoparea.subtoparea2 .search_inp {
		position: relative !important;
		bottom: auto !important;
		right: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}
}

/* ---- Google 번역 버튼 (Header.jsp) ---- */
.btn_translate_global {
	padding: 8px;
	width: 100%;
	border: 1px solid #d5dadf;
	border-radius: 8px;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	color: #1c2025;
	text-align: left;
	cursor: pointer;
}

/* Global(Google) 번역 선택 시 드롭다운 맨 아래 Global 항목 active */
.language_wrap .select_language li.translate_item.active .btn_translate_global {
	background-color: #EDEFF2;
}
.language_wrap.language_wrap--global > button.language.lang00 > span {
	background-image: url('/gmigrant/images/hmpg/icon_language_flag.png');
	background-repeat: no-repeat;
	background-position: 0 4px;
}

/* Google iframe 가 남아도 언어 버튼은 항상 클릭 가능하도록 우선순위 고정 */
#header .topmenu,
#header .all_menu_wrap,
#header .language_wrap {
	position: relative;
}
#header .language_wrap {
	z-index: 1000002;
}
#header .language_wrap .select_language {
	z-index: 1000003 !important;
}

/* Google 번역 위젯 숨김 영역 */
.google_translate_hidden {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Google 번역 상단 배너가 헤더를 가리지 않도록 숨김 */
iframe.goog-te-banner-frame.skiptranslate {
	display: none !important;
}
body {
	top: 0 !important;
}

/* Google 번역 모바일 모달 */
#googleTranslateMobileModal {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.45);
	z-index: 1000010;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 72px 12px 0;
}
#googleTranslateMobileModal.active {
	display: flex;
}
#googleTranslateMobileModal .gtrans_mobile_popup {
	position: relative;
	width: 100%;
	max-width: 520px;
	background: #fff;
	border: 1px solid #d5dadf;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
#googleTranslateMobileModal .modal_head {
	padding: 10px 42px 10px 12px;
	border-bottom: 1px solid #eef1f4;
	font-size: 14px;
	font-weight: 700;
	color: #1c2025;
}
#googleTranslateMobileModal .modal_close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	border: 0;
	background: #fff;
	font-size: 20px;
	line-height: 24px;
	cursor: pointer;
}
#googleTranslateMobileModal .modal_body {
	padding: 12px;
}
#google_translate_element_mobile .goog-te-combo {
	width: 100%;
	height: 40px;
	border: 1px solid #d5dadf;
	border-radius: 8px;
	padding: 0 10px;
	background: #fff;
}
#google_translate_element_mobile .goog-te-gadget {
	width: 100%;
}

/* ---- 위치정보 약관 팝업 반응형 (Header.jsp) ---- */
@media (max-width: 1024px) {
	#termsPopup { top: 1px !important; }
}

/* ---- 위치정보 약관 팝업 본문 (TermsDetail.jsp) ---- */
.terms-outer {
	min-height: 100%;
	background: #f7f8fa;
	padding: 40px 20px 60px;
}
.terms-card {
	border-radius: 4px;
	padding: 48px 56px;
}
.terms-main-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.5;
	color: #1A1A1A;
	text-align: center;
	margin-bottom: 40px;
}
.terms-chapter {
	font-size: 14px;
	font-weight: 700;
	color: #222;
	margin: 20px 0 8px;
}
.terms-chapter::before {
	color: #555;
}
.terms-article {
	font-size: 13px;
	font-weight: 600;
	color: #333;
	margin: 10px 0 4px;
	padding-left: 16px;
}
.terms-article::before {
	color: #555;
}
.terms-text {
	font-size: 13px;
	line-height: 1.85;
	color: #555;
	word-break: keep-all;
	padding-left: 16px;
}

/* ---- 통합검색 결과 페이지 (SrchListPage.jsp) ---- */
.srch_program { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.srch_program fieldset { border: 0; padding: 0; margin: 0; }
.srch_program .search_box { position: relative; margin-bottom: 16px; border: 2px solid #4F7CFF; border-radius: 999px; background: #fff; height: 52px; overflow: hidden; }
.srch_program .search_box .inp { width: 100%; height: 100%; padding: 0 100px 0 24px; border: 0; outline: 0; background: transparent; font-size: 15px; box-sizing: border-box; border-radius: 0; line-height: 48px; }
.srch_program .search_box .btn { position: absolute; right: 0; top: 0; height: 100%; background: transparent; border: 0; font-weight: 600; color: #111; padding: 0 22px; cursor: pointer; border-radius: 0; display: flex; align-items: center; }
.srch_program .result_txt { font-size: 14px; color: #555; margin: 16px 4px; }
.srch_program .result_txt .hl { color: #1a73e8; font-weight: 600; }
.srch_tab_area { margin-bottom: 0; border: 0; background: transparent; }
.srch_tab_area, .srch_tab_area * { outline: none !important; }
.srch_tab_area ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px; }
.srch_tab_area li { }
.srch_tab_area li a { display: inline-block; padding: 12px 20px; color: #555; text-decoration: none; border-bottom: 3px solid transparent; font-size: 14px; transition: color .2s, border-color .2s; }
.srch_tab_area li a .count { color: #999; font-weight: 400; margin-left: 4px; }
.srch_tab_area li.active a { color: #1a73e8; border-bottom-color: #1a73e8; font-weight: 600; }
.srch_tab_area li.active a .count { color: #1a73e8; }
.srch_list_box { padding: 8px 0; min-height: 200px; }
.srch_list_box ul.result_list { list-style: none; margin: 0; padding: 0; }
.srch_list_box ul.result_list > li { padding: 20px 4px; border-bottom: 1px solid #eee; }
.srch_list_box ul.result_list > li a.title { display: block; font-size: 16px; font-weight: 600; color: #111; text-decoration: none; margin: 6px 0; }
.srch_list_box ul.result_list > li a.title:hover { color: #1a73e8; text-decoration: underline; }
.srch_list_box ul.result_list > li .cate_box { display: inline-block; padding: 3px 10px; font-size: 12px; color: #fff; background: #4F7CFF; border-radius: 4px; margin-right: 6px; }
.srch_list_box ul.result_list > li .cate_box.src_FAQ { background: #7C3AED; }
.srch_list_box ul.result_list > li .cate_box.src_CONT { background: #059669; }
.srch_list_box ul.result_list > li .cate_box.src_BORD { background: #4F7CFF; }
.srch_list_box ul.result_list > li .cate_box.src_MENU { background: #6B7280; }
.srch_list_box ul.result_list > li .cate_box.src_DGNS { background: #DC2626; }
.srch_list_box ul.result_list > li .sub_cate { display: inline-block; font-size: 12px; color: #666; margin-right: 6px; }
.srch_list_box ul.result_list > li .snippet { font-size: 13px; color: #666; line-height: 1.5; margin: 6px 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.srch_list_box ul.result_list > li .date { font-size: 12px; color: #999; }
.srch_list_box .nodata { text-align: center; padding: 60px 20px; color: #888; font-size: 14px; }
.srch_paging { text-align: center; padding: 24px 0; }
.srch_paging ul { display: inline-flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.srch_paging li { }
.srch_paging li a { display: inline-block; min-width: 32px; padding: 6px 10px; text-align: center; text-decoration: none; color: #333; border: 1px solid #e0e0e0; border-radius: 4px; background: #fff; cursor: pointer; }
.srch_paging li a:hover { background: #f0f4ff; }
.srch_paging li.active a { background: #1a73e8; color: #fff; border-color: #1a73e8; font-weight: 600; }
.srch_paging li.disabled a { color: #ccc; cursor: default; pointer-events: none; }

/* ---- 생활지도 페이지 (MapsDetail.jsp) ---- */
/* body.maps-detail-page: MapsDetail.jsp 진입 시 JS로 추가되는 클래스로 스코핑 */
body.maps-detail-page .subtoparea { display: none !important; }
body.maps-detail-page #contentsarea { padding: 0 !important; }
#mapsDetailWrap {
	display: flex;
	height: calc(100vh - 95px);
	overflow: hidden;
}
#placeListPanel {
	width: 320px;
	min-width: 320px;
	display: flex;
	flex-direction: column;
	border-right: 1px solid #EDEFF2;
	background: #fff;
}
#placeList {
	flex: 1;
	overflow-y: auto;
}
.place-item {
	padding: 16px 20px;
	border-bottom: 1px solid #EDEFF2;
	cursor: pointer;
}
.place-item:hover { background: #F8F9FA; }
.place-item .place-name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #1C2025;
	margin-bottom: 4px;
}
.place-item .place-category {
	font-size: 12px;
	color: #8A8F97;
	margin-bottom: 3px;
}
.place-item .place-phone {
	font-size: 13px;
	color: #4E5257;
	margin-bottom: 3px;
}
.place-item .place-distance {
	font-size: 12px;
	color: #6F767C;
}
.place-no-result {
	padding: 40px 20px;
	text-align: center;
	font-size: 14px;
	color: #8A8F97;
}
#pagination {
	padding: 12px 0;
	text-align: center;
	border-top: 1px solid #EDEFF2;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}
#pagination a, #pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	font-size: 13px;
	color: #4E5257;
	text-decoration: none;
}
#pagination a:hover { background: #EDEFF2; }
#pagination a.on { background: #004097; color: #fff; font-weight: 700; }
#pagination span.disabled { color: #C9CDD2; cursor: default; }
#mapPanel {
	flex: 1;
	position: relative;
	overflow: hidden;
}
#mapBox { width: 100%; height: 100%; touch-action: none; border-radius: 32px; }
@media screen and (max-width: 1024px) {
	#mapBox {
		height: 220px !important;
	}
}
#mapBox .inst-map-address-label {
	padding: 6px 10px;
	background: #fff;
	border: 1px solid #dfe4ea;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #1c2025;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	white-space: nowrap;
	max-width: min(280px, 72vw);
	overflow: hidden;
	text-overflow: ellipsis;
}
#filterBox {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 10;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: calc(100% - 32px);
}
.map-filter {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	background: #fff;
	color: #4E5257;
	transition: background 0.15s, color 0.15s;
}
.map-filter img { width: 18px; height: 18px; }
.map-filter[data-type="hospital"]        { background: #E8F5E9; color: #2E7D32; }
.map-filter[data-type="hospital"].active { background: #43A047; color: #fff; }
.map-filter[data-type="support"]         { background: #F3E5F5; color: #6A1B9A; }
.map-filter[data-type="support"].active  { background: #8E24AA; color: #fff; }
.map-filter[data-type="mart"]            { background: #E0F7FA; color: #00695C; }
.map-filter[data-type="mart"].active     { background: #00897B; color: #fff; }
.map-filter[data-type="immigration"]     { background: #E3F2FD; color: #1565C0; }
.map-filter[data-type="immigration"].active { background: #1976D2; color: #fff; }
#currentLocBtn {
	position: absolute;
	bottom: 24px;
	right: 24px;
	z-index: 10;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
#currentLocBtn img { width: 20px; height: 20px; }
@media (max-width: 768px) {
	#mapsDetailWrap { flex-direction: column; height: calc(100vh - 60px) !important; }
	#placeListPanel { width: 100%; min-width: unset; height: 40vh; border-right: none; border-top: 1px solid #EDEFF2; order: 2; }
	#mapPanel { height: 60vh; order: 1; }
}

/* ---- 커뮤니티 글쓰기 에디터 (CmntRegistForm.jsp) ---- */
.smarteditor-outer { width: 100%; }
.smarteditor-wrap { width: 100%; min-height: 300px; box-sizing: border-box; }
.smarteditor-wrap textarea { width: 100%; min-height: 300px; }
@media (max-width: 1024px) {
	.smarteditor-outer { overflow: hidden; }
	.smarteditor-wrap { transform-origin: 0 0; }
}

/* ---- 마이페이지 키워드 (MyPage.jsp) ---- */
.mypage .keywords_box .keywords_list {
	display: none;
	width: 100%;
}
.mypage .keywords_box .keywords_list.visible {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	gap: 8px;
}
.mypage .keywords_box .keywords button.btn_delete3 {
	margin: -2px 0 0 6px;
	display: none;
}
.mypage .keywords_box.delete-mode .keywords button.btn_delete3 {
	display: inline-block;
}

/* ---- 국가 검색 필드 공통 (MembJoinStep2Form.jsp / MyPageUpdateForm.jsp) ---- */
.nation_field_wrap { position: relative; width: 100%; max-width: 520px; }
.nation_field_wrap .nation_filter { max-height: 280px; overflow-y: auto; }

/* ---- 회원정보수정 휴대폰 번호 행 (MyPageUpdateForm.jsp) ---- */
.membership_area .write_box dl dd .mypg_mbl_tel_row { display: flex; display: -webkit-flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; }
.membership_area .write_box dl dd .mypg_mbl_tel_row .mypg_mbl_prefix_wrap { flex: 0 0 auto; min-width: 100px; max-width: 120px; }
.membership_area .write_box dl dd .mypg_mbl_tel_row .inpbox { flex: 1 1 72px; max-width: 120px; position: relative; }
.membership_area .write_box dl dd .mypg_mbl_tel_row .btn { flex: 0 0 auto; padding: 0 14px; white-space: nowrap; font-size: 14px; border-radius: 12px; }
@media screen and (max-width: 1024px) {
	.membership_area .write_box dl dd .mypg_mbl_tel_row { gap: 8px; }
	.membership_area .write_box dl dd .mypg_mbl_tel_row .mypg_mbl_prefix_wrap { max-width: none; width: calc(33.33% - 6px); }
	.membership_area .write_box dl dd .mypg_mbl_tel_row .inpbox { max-width: none; flex: 1 1 calc(33.33% - 6px); }
	.membership_area .write_box dl dd .mypg_mbl_tel_row .btn { width: 100%; margin-top: 4px; }
}

/* ---- 회원가입 2단계 연락처 행 (MembJoinStep2Form.jsp) ---- */
.membership_area .write_box .line.join_step2_contact_line { align-items: center; }
.membership_area .write_box .line.join_step2_contact_line dl.join_step2_contact_dl {
	display: flex;
	display: -webkit-flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	max-width: 100%;
	flex: 1 1 100%;
	gap: 16px;
	margin: 0;
}
.membership_area .write_box .line.join_step2_contact_line dl.join_step2_contact_dl dt {
	margin-bottom: 0;
	flex-shrink: 0;
	white-space: nowrap;
}
.membership_area .write_box .line.join_step2_contact_line dl.join_step2_contact_dl dd {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}
.membership_area .write_box .line.join_step2_contact_line dl.join_step2_contact_dl dd .havebtn {
	flex-wrap: nowrap;
	width: 100%;
	align-items: center;
}
.membership_area .write_box .line.join_step2_contact_line dl.join_step2_contact_dl dd .havebtn .inpbox {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
}
.membership_area .write_box dl dd .havebtn button.join_step2_mbl_auth { width: auto; min-width: 88px; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1024px) {
	.membership_area .write_box .line.join_step2_contact_line dl.join_step2_contact_dl { gap: 10px; }
	.membership_area .write_box dl dd .havebtn button.join_step2_mbl_auth { min-width: 76px; width: auto; }
}

/* ---- AI 챗봇 가이드 오버레이 (ChatWidget.jsp) ---- */
#chatbot .chat_guide .search_wrap {
	margin-top: auto !important;
	padding: 10px 14px 14px !important;
	background: transparent !important;
	border-top: none !important;
	position: relative !important;
	z-index: 4 !important;
}
#chatbot .chat_guide .search_box {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	height: 44px !important;
	padding: 0 6px 0 4px !important;
	background: #ffffff !important;
	background-image: none !important;
	border: 2px solid #2563eb !important;
	border-radius: 24px !important;
	box-shadow: 0 6px 22px rgba(0,0,0,0.5) !important;
	position: relative !important;
	z-index: 5 !important;
}
#chatbot .chat_guide .search_box input[type="search"] {
	flex: 1 !important;
	min-width: 0 !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	color: #333 !important;
	font-size: 13px !important;
	padding: 0 8px !important;
	height: 100% !important;
}
#chatbot .chat_guide .search_box input[type="search"]::placeholder {
	color: #999 !important;
}
#chatbot .chat_guide .chatbot_toparea {
	position: relative !important;
}
#chatbot .chat_guide .btn_nosee {
	position: absolute !important;
	right: 50px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: transparent !important;
	border: none !important;
	color: #FFFFFF !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	padding: 4px 6px !important;
	z-index: 20 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	pointer-events: auto !important;
	width: auto !important;
	height: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
}
#chatbot .chat_guide .btn_nosee svg {
	width: 14px !important;
	height: 14px !important;
	fill: #FFFFFF !important;
	vertical-align: -2px !important;
}

/* ---- i18n 긴 탭 라벨: 균등 분할·overflow로 잘리는 현상 방지 ---- */
.tab_area ul {
	overflow-x: auto !important;
	overflow-y: hidden !important;
	flex-wrap: nowrap !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.tab_area ul li {
	flex: 0 0 auto !important;
}
.tab_area ul li a {
	width: auto !important;
	white-space: nowrap !important;
}

.tab_area2 ul {
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
}
.tab_area2 ul li {
	flex: 0 0 auto !important;
	max-width: none !important;
	height: auto !important;
	min-height: 43px;
	line-height: 1.3 !important;
}
.tab_area2 ul li a {
	width: auto !important;
	white-space: nowrap !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: auto !important;
	min-height: 43px;
	line-height: 1.3 !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	box-sizing: border-box !important;
}
@media screen and (max-width: 1024px) {
	.tab_area2 ul li,
	.tab_area2 ul li a {
		min-height: 38px;
	}
}

/* ---- 채용정보(잡아바·고용24) — 탭+필터 한 줄 (recr-list-page 전용) ---- */
.recr-list-page .board_top.recr-board-head {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}
.recr-list-page .board_top.recr-board-head .tab_area2 {
	flex: 1 1 auto;
	min-width: 0;
	margin-bottom: 0;
	width: auto;
	max-width: none;
	overflow-x: auto;
}
.recr-list-page .board_top.recr-board-head .tab_area2 ul {
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
	gap: 6px !important;
}
.recr-list-page .board_top.recr-board-head .tab_area2 ul li {
	flex: 0 0 auto !important;
	min-width: 0 !important;
}
.recr-list-page .board_top.recr-board-head .btn_filter {
	flex: 0 0 44px;
	margin-left: auto;
}

/* 채용정보(잡아바·고용24) — 모바일: > 버튼(32px) 아래 관심(♥) 간격 */
@media screen and (max-width: 1024px) {
	.recr-list-page .documentlist > li .title_box .like {
		top: 34px;
		right: 0;
		z-index: 2;
	}
	.recr-list-page .documentlist > li .btn_doc_detail {
		z-index: 3;
	}
	.recr-list-page .documentlist > li .title_box .like input[type=checkbox] {
		clip-path: inset(50%);
		opacity: 0;
	}
}

/* board_top + tab_area2: table.css min-width:88px + contents ul width:100% 시 탭이 가로로 벌어짐 */
.board_top .tab_area2 {
	width: 100%;
	overflow-x: auto;
}
.board_top .tab_area2 ul {
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
	justify-content: flex-start !important;
}
.board_top .tab_area2 ul li {
	min-width: 0 !important;
}

/* ---- 커뮤니티 카테고리 뱃지 — PC: 최장 라벨 너비 통일(HmpgCmmgCategoryTags.js) / 모바일: 1줄 가로 ---- */
.community_box .list > li .left .category,
.boardlist table tbody tr td.title_box .category,
.hmpg-category-width-probe {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 60px;
	padding: 0 10px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	border-radius: 8px;
	color: #fff;
	white-space: nowrap;
	line-height: 24px;
	height: 24px;
}
.community_box .list > li .left .txt,
.boardlist table tbody tr td.title_box .title a .txt {
	min-width: 0;
	max-width: none;
}

@media screen and (max-width: 1024px) {
	/* 커뮤니티 허브(CmntListPage): 뱃지 2줄 금지, 한 줄 가로 */
	.community_box .list > li .left {
		flex-wrap: nowrap !important;
		align-items: center !important;
		width: 100% !important;
		gap: 8px;
	}
	.community_box .list > li .left .category {
		flex: 0 0 auto !important;
		/* width/min/max-width: HmpgCmmgCategoryTags.js (PC와 동일 통일) */
		height: 24px !important;
		padding: 0 10px !important;
		white-space: nowrap !important;
		overflow: hidden;
		text-overflow: ellipsis;
		word-break: normal !important;
	}
	.community_box .list > li .left .txt {
		flex: 1 1 0 !important;
		min-width: 0 !important;
		max-width: none !important;
		white-space: nowrap !important;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.community_box .list > li .left .comment {
		flex: 0 0 auto;
	}

	/* 게시판 목록: 뱃지 1줄 + 제목은 아래 줄(모바일 table 카드) */
	.boardlist table tbody tr td.title_box .title a {
		flex-wrap: wrap;
		gap: 6px;
	}
	.boardlist table tbody tr td.title_box .category {
		flex: 0 0 auto !important;
		width: auto !important;
		min-width: 60px !important;
		max-width: 100% !important;
		white-space: nowrap !important;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.boardlist table tbody tr td.title_box .title a .txt {
		max-width: 100% !important;
		white-space: normal !important;
		word-break: break-word;
		overflow: visible;
		text-overflow: unset;
		line-height: 1.4;
	}
}

/* ---- 자료실 documentlist — 상세 > 버튼(배경 이미지 대신 클릭 가능 링크) ---- */
.documentlist > li.has-doc-detail {
	background-image: none !important;
	cursor: pointer;
}
.documentlist > li.has-doc-detail .title_box {
	padding-right: 40px;
	box-sizing: border-box;
	width: 100%;
}
.documentlist > li .btn_doc_detail {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: url('/gmigrant/images/hmpg/icon_list_arrow.png') no-repeat center / contain;
	text-indent: -9999px;
	overflow: hidden;
}
.documentlist > li.has-doc-detail:hover .btn_doc_detail,
.documentlist > li .btn_doc_detail:hover,
.documentlist > li .btn_doc_detail:focus {
	background-image: url('/gmigrant/images/hmpg/icon_list_arrow_acrive.png');
}
@media screen and (max-width: 1024px) {
	.documentlist > li .btn_doc_detail {
		display: none;
		background: none;
	}
	.documentlist > li.has-doc-detail .title_box {
		padding-right: 0;
	}
	.documentlist > li .title_box a {
		max-width: 100%;
	}
}
/* ---- 프로그램 신청(educListPage.do) — 레이아웃만 (body.page-educ-list, Frame.jsp) ---- */
body.page-educ-list #contentsarea.contentsarea {
	margin-top: 28px !important;
	min-height: 0 !important;
}
body.page-educ-list .educ-list-page {
	margin: 0 !important;
	width: 100%;
}
body.page-educ-list .educ-list-page .educ-board-head {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 16px;
}
body.page-educ-list .educ-list-page .educ-board-head .tab_area2 {
	margin-bottom: 0 !important;
	width: 100%;
	overflow-x: auto;
	display: flex !important;
	justify-content: flex-start !important;
}
/* table.css board_top .tab_area2 ul li { min-width:88px } + contents margin:auto 가운데 정렬 방지 */
body.page-educ-list .educ-list-page .educ-board-head .tab_area2 ul {
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
}
body.page-educ-list .educ-list-page .educ-board-head .tab_area2 ul li {
	flex: 0 0 auto !important;
	min-width: 0 !important;
	width: auto !important;
	height: auto !important;
}
body.page-educ-list .educ-list-page .educ-board-head .tab_area2 ul li a {
	width: auto !important;
	white-space: nowrap !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	border-radius: 12px !important;
}
body.page-educ-list .educ-list-page .educ-board-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}
body.page-educ-list .educ-list-page .educ-board-head .tab_area,
body.page-educ-list .educ-list-page .board_top .tab_area {
	margin-top: 0 !important;
}
body.page-educ-list .educ-list-page .educ-board-meta .tab_area ul li,
body.page-educ-list .educ-list-page .educ-board-meta .tab_area ul li a {
	flex: 0 0 auto !important;
	width: auto !important;
	white-space: nowrap !important;
}
body.page-educ-list .educ-list-page #dataContent.contbox,
body.page-educ-list .educ-list-page .contbox {
	padding-top: 20px !important;
	margin-top: 0 !important;
}
body.page-educ-list .educ-list-page .contbox .documentlist {
	padding-top: 0 !important;
}
@media screen and (max-width: 1024px) {
	body.page-educ-list #contentsarea.contentsarea {
		margin-top: 20px !important;
	}
	body.page-educ-list .educ-list-page .contbox {
		padding-top: 16px !important;
	}
}

/* ---- subtop 공유 패널 — 라벨 제거 후 아이콘 간격 (Frame.jsp) ---- */
.subtoparea .lnb_area {
	overflow: visible;
}
.subtoparea .addons .share {
	overflow: visible;
}
.subtoparea .addons .share_panel {
	/* 3열(38px)×3 + gap 10×2 + 좌우패딩 14×2 */
	width: 162px;
	padding: 12px 14px;
	bottom: auto;
	top: calc(100% + 8px);
	right: 0;
	z-index: 110;
}
.subtoparea .addons .share_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	/* 1줄 3개(카카오·페북·X) / 2줄 2개(블로그·URL복사) */
	width: 134px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.subtoparea .addons .share_item {
	display: block;
	flex: 0 0 38px;
	width: 38px;
	margin: 0;
	float: none;
}
.subtoparea .addons .share_anchor {
	display: block;
	width: 38px;
	height: 38px;
	padding-top: 0;
	line-height: 0;
	font-size: 0;
}
.subtoparea .addons .share_anchor::before {
	width: 38px;
	height: 38px;
}

