/* =================================================================
   00000008 (Country of Honour: Thailand — Participants) 오버라이드
   범위: .coh-participants(각 파일 #body_wrap)로 스코프 — 사이트 공통 CSS는
   건드리지 않고 이 3개 파일에서만 적용됨.
   ================================================================= */

:root {
	--coh-accent: #b35c00;
	--coh-accent-bg: #fff6e3;
	--coh-accent-border: #fdaf17;
	--coh-radius: 6px;
	--coh-field-h: 42px;
}

/* -----------------------------------------------------------------
   1) 상단 Participants 탭 — pill switch + 중앙 divider
      기존 하단 border 대신 탭의 세로 중앙 뒤로 divider를 통과시킴.
      pill 자체의 불투명 배경이 중앙선을 가리므로 좌우 구간만 노출됨.
   ----------------------------------------------------------------- */
.coh-participants #content_text {
	padding-top: 20px !important;
}

.coh-participants #content_head {
	position: relative;
	display: block;
	box-sizing: border-box;
	border-bottom: 0 !important;
	margin-bottom: 1rem;
}

/* Section divider — runs behind the pill navigation */
.coh-participants #content_head::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 50%;
	right: 0;
	left: 0;
	height: 1px;
	background: #ddd;
	transform: translateY(-50%);
	pointer-events: none;
	display:none;
}

.coh-participants #content_head .showcase1 {
	position: relative;
	z-index: 1;
	display: flex !important;
	align-items: stretch;
	gap: 4px;
	width: 100% !important;
	max-width: 100%;
	margin: 0 auto !important;
	padding: 5px !important;
	box-sizing: border-box;
	border: 1px solid #d1c6b8 !important;
	border-radius: 999px;
	background: ;
	box-shadow: none !important;
	list-style: none;
}

.coh-participants #content_head .showcase1 > li {
	flex: 1 1 0;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.coh-participants #content_head .showcase1 > li > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 18px !important;
	box-sizing: border-box;
	border: 0 !important;
	border-radius: 999px !important;
	background:  !important;
	box-shadow: none !important;
	color: #666 !important;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

/* Keep the existing BIFF/ACFM orange-yellow as the selected key color. */
.coh-participants #content_head .showcase1 > li.on > a,
.coh-participants #content_head .showcase1 > li > a[aria-current="page"] {
	background: rgba(186, 169, 134, 1) !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .14) !important;
	color: #fff !important;
	font-weight: 700;
}

.coh-participants #content_head .showcase1 > li:not(.on) > a:hover {
	background: rgba(186, 169, 134, 0.2) !important;
	color: #333 !important;
}

.coh-participants #content_head .showcase1 > li > a:focus-visible {
	outline: 3px solid #8a5a00;
	outline-offset: 2px;
}

/* Legacy showcase1의 빈 point 요소 제거 */
.coh-participants #content_head .showcase1 .point {
	display: none !important;
}

@media (max-width: 576px) {

	.coh-participants #content_head .showcase1 {
		gap: 2px;
		padding: 4px !important;
	}

	.coh-participants #content_head .showcase1 > li > a {
		min-height: 44px;
		padding: 0 10px !important;
		font-size: 1.3rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.coh-participants #content_head .showcase1 > li > a {
		transition: none;
	}
}

/* -----------------------------------------------------------------
   2) 통합검색 바 — 라벨/입력/버튼 정렬 및 높이 통일
   ----------------------------------------------------------------- */
.coh-participants .box_type2 {
	/* border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec; */
	background:none !important;
}
.coh-participants .searchbox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 10px;
}
.coh-participants .searchbox label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.coh-participants .searchbox label > span {
	font-size: 13px;
	font-weight: 600;
	color: #555;
	white-space: nowrap;
}
.coh-participants .searchbox input.form-control,
.coh-participants .searchbox select.form-control {
	height: var(--coh-field-h);
	box-sizing: border-box;
	padding: 0 12px !important;
	border: 1px solid #d8d8d8;
	border-radius: var(--coh-radius);
	font-size: 14px;
}
.coh-participants .searchbox input.form-control:focus,
.coh-participants .searchbox select.form-control:focus {
	border-color: var(--coh-accent-border);
}

@media (max-width: 80px) {

}
/* -----------------------------------------------------------------
   3) 버튼 — Search / View All / List 시각적 일관성 보완
   ----------------------------------------------------------------- */
.coh-participants a.btn_type8 {
	height: var(--coh-field-h);
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 22px;
	border-radius: var(--coh-radius);
	font-weight: 300;
	color: #fff !important;
	width:120px;
}
.coh-participants a.btn_type8:hover,
.coh-participants a.btn_type8:focus-visible {
	background: #f38c01;
	font-weight: 600;
}

.coh-participants a.btn_type4 {
	border: none;
	border-radius: var(--coh-radius);
	color: #9e9282;
	font-weight: 500;
	padding: 10px 0;
	width: auto !important;
	font-size:14px;
	cursor: pointer !important;
}
.coh-participants a.btn_type4:hover,
.coh-participants a.btn_type4:focus-visible {
background: none;
color: #9f7239;
}

.coh-participants .btn_area {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

/* -----------------------------------------------------------------
   4) 링크 대비/포커스/타깃 크기 (이전 접근성 보완 유지)
   ----------------------------------------------------------------- */
.coh-participants a.coh-link {
	color:#9f7239;
	text-decoration: none;
}
.coh-participants a.coh-link:hover,
.coh-participants a.coh-link:focus {
	text-decoration: underline;
}
.coh-participants a:focus-visible,
.coh-participants input:focus-visible,
.coh-participants select:focus-visible {
	outline: 2px solid var(--coh-accent);
	outline-offset: 2px;
}
.coh-participants td a[href^="mailto:"] {
	display: inline-block;
	padding: 6px;
}

/* -----------------------------------------------------------------
   5) 섹션 헤딩 / 표 여백 일관화 (통합보기 Companies·People 2단 구성)
   ----------------------------------------------------------------- */
.coh-participants h4.h4_1 {
  /*   font-family: 'DM Serif Display', sans-serif; */
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 20px 0 0px !important;
	margin: 0 !important;
	font-size: 20px;
	font-weight: 700;
	color: #523d22;
	letter-spacing:-0.02em;
	/* border-left: 4px solid var(--coh-accent-border); */
}
.coh-participants h4.h4_1:after{}
.coh-participants h4.h4_1 span {font-size: 14px; color: #9e9282;}
.coh-participants .scroll{overflow-x: auto;}

.coh-participants table.t7{line-height: 130%;}
.coh-participants table.t7 th,
.coh-participants table.t7 td {
	font-size: 14px;
	padding: 14px 10px;
}
.coh-participants table.t7 tr td:first-child { background: #f5f5f0;}
.coh-participants table.t7 tr:last-child td{border-bottom: 1px solid #523d22 !important;}
.coh-participants table.t7{border-top: 1px solid #523d22 !important; font-size: 15px;}
.coh-participants table.t7 thead th{color: #fff !important; font-weight: 500 !important; background: #523d22;}
.coh-participants table.t7 thead th b{font-weight: 500 !important;}
.coh-participants #section-people {

}

@media (max-width:768px) {
.coh-participants table.t7 {min-width: 720px;}
}


/* -----------------------------------------------------------------
   7) 상세 페이지 상단 회사명 헤더 / 서브탭(Company Information·Staff)
   ----------------------------------------------------------------- */
.coh-participants .con_box2 {
	background: #fff;
	border: 1px solid #eee;
	border-top: 3px solid var(--coh-accent-border);
	border-radius: var(--coh-radius);
	padding: 18px 20px;
}
.coh-participants .con_box2 h2 {
	margin: 0;
	font-size: 18px;
	letter-spacing: 0.3px;
	color: #222;
}

.coh-participants ul.tab_type2 {
	display: inline-flex;
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
	border: 1px solid #ddd;
	border-radius: var(--coh-radius);
	overflow: hidden;
}
.coh-participants ul.tab_type2 li {
	float: none;
	background: #fff;
	border: none !important;
	border-right: 1px solid #ddd !important;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	color: #888;
}
.coh-participants ul.tab_type2 li:last-child {
	border-right: none !important;
}
.coh-participants ul.tab_type2 li a {
	display: block;
	margin: -10px -22px;
	padding: 10px 22px;
	color: inherit;
	text-decoration: none;
}
.coh-participants ul.tab_type2 li.on {
	background: var(--coh-accent-bg);
	color: var(--coh-accent-border);
}

/* -----------------------------------------------------------------
   8) Staff 카드 리스트
   ----------------------------------------------------------------- */
.coh-participants .listbox1 ul {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.coh-participants .listbox1 li {
	width: calc(33.333% - 11px);
	margin: 0;
	display: block;
}
.coh-participants .box_type6 {
	height: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #eee !important;
	border-radius: var(--coh-radius);
	padding: 20px;
	transition: border-color .15s, box-shadow .15s;
}
.coh-participants .box_type6:hover {
	border-color: var(--coh-accent-border);
	box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
/* 프로필 포토 — 원형 처리. width="50%"·인라인 style(border-radius:20px)을
   덮어써야 하므로 border/border-radius는 !important 필요.
   object-fit:cover로 원본 비율(세로형 인물사진)과 무관하게 정원 유지. */
.coh-participants .box_type6 img[name="userphoto"] {
	width: 128px;
	height: 128px;
	object-fit: cover;
	border-radius: 50% !important;
	border: 3px solid #eee !important;
	display: block;
	margin: 0 auto;
}
.coh-participants .box_type6:hover img[name="userphoto"] {
	border-color: var(--coh-accent-border) !important;
}
.coh-participants .listbox_type {
	padding: 14px 0 4px;
}
.coh-participants .listbox1 p {
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
}
.coh-participants .listbox1 p.name {
	font-size: 16px;
	font-weight: 700;
	color: #222;
}
.coh-participants .listbox1 p.job {
	color: #666;
}
.coh-participants .listbox1 p.buyer {
	display: inline-block;
	color: var(--coh-accent);
	background: var(--coh-accent-bg);
	border: 1px solid var(--coh-accent-border);
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
}
.coh-participants .listbox1 a.mail {
	color: #555;
}
.coh-participants .listbox1 .mailto {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
}
.coh-participants .listbox1 .mailto a.mail {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--coh-accent);
	font-weight: 600;
}
.coh-participants .listbox1 .mailto a.mail:hover,
.coh-participants .listbox1 .mailto a.mail:focus-visible {
	text-decoration: underline;
}

@media (max-width: 900px) {
	.coh-participants .listbox1 li {
		width: calc(50% - 8px);
	}
}
@media (max-width: 560px) {
	.coh-participants .listbox1 li {
		width: 100%;
	}
}

