/* 팀원 소개 — 프론트엔드 스타일 */

.tmb-grid{
	display:grid;
	gap:30px;
	margin:0 0 30px;
}
.tmb-cols-1{grid-template-columns:1fr}
.tmb-cols-2{grid-template-columns:repeat(2,1fr)}
.tmb-cols-3{grid-template-columns:repeat(3,1fr)}
.tmb-cols-4{grid-template-columns:repeat(4,1fr)}
.tmb-cols-5{grid-template-columns:repeat(5,1fr)}
.tmb-cols-6{grid-template-columns:repeat(6,1fr)}

@media (max-width:1024px){
	.tmb-cols-4,.tmb-cols-5,.tmb-cols-6{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:768px){
	.tmb-cols-3,.tmb-cols-4,.tmb-cols-5,.tmb-cols-6{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
	.tmb-grid{grid-template-columns:1fr !important;gap:24px}
}

/* 항목 */
.tmb-item{
	text-align:center;
}
.tmb-style-card .tmb-item{
	background:#fff;
	border:1px solid #e8e8e8;
	border-radius:8px;
	padding:30px 20px 24px;
	transition:box-shadow .2s ease, transform .2s ease;
}
.tmb-style-card .tmb-item:hover{
	box-shadow:0 8px 20px rgba(0,0,0,.08);
	transform:translateY(-2px);
}

/* 사진 */
.tmb-photo{
	margin:0 auto 18px;
	width:150px;
	max-width:100%;
	overflow:hidden;
	background:#f1f3f5;
}
.tmb-shape-circle .tmb-photo{border-radius:50%}
.tmb-shape-square .tmb-photo{border-radius:6px}

.tmb-photo img{
	display:block;
	width:100%;
	height:150px;
	object-fit:cover;
	margin:0;
}
.tmb-photo-empty{
	display:block;
	width:100%;
	height:150px;
}

/* 이름 · 직책 */
.tmb-name{
	margin:0 0 4px;
	font-size:18px;
	font-weight:700;
	line-height:1.4;
	color:#222;
}
.tmb-position{
	margin:0 0 14px;
	font-size:14px;
	font-weight:600;
	color:#1b5e20;
}

/* 경력 — 줄바꿈 유지 */
.tmb-career{
	font-size:14px;
	line-height:1.7;
	color:#666;
	margin-bottom:16px;
	word-break:keep-all;
}

/* SNS 아이콘 */
.tmb-social{
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	gap:8px;
	margin-top:auto;
}
.tmb-social a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:34px;
	height:34px;
	border-radius:50%;
	background:#f1f3f5;
	color:#555;
	text-decoration:none;
	transition:background .2s ease, color .2s ease;
}
.tmb-social a:hover{
	background:#1b5e20;
	color:#fff;
}
.tmb-social a:focus-visible{
	outline:2px solid #1b5e20;
	outline-offset:2px;
}
.tmb-social svg{display:block}

@media (prefers-reduced-motion:reduce){
	.tmb-style-card .tmb-item,
	.tmb-social a{transition:none}
	.tmb-style-card .tmb-item:hover{transform:none}
}
