@charset "UTF-8";
/*
 * 연구현장 Q&A 6칸 화면
 * 마크업 : WEB-INF/jsp/egovframework/bmip/usersys/bbs/kobic/pstListRsch.jsp
 * 모바일 1열, 768 이상 2열, 1280 이상 3열. 떠 있는 카드가 아니라 한 화면을 선으로 나눈 칸이다.
 * 글자색은 다크모드 변수가 있으면 그것을 쓰고, 없으면 회색 단계로 돌아간다.
 */
.rsch_grid_wrap{padding:.8rem 0 4rem}

.rsch_grid{display:grid;grid-template-columns:minmax(0,1fr);margin:0;padding:0;list-style:none;border-top:1px solid var(--color-gray60)}
.rsch_grid > li{border-bottom:1px solid var(--color-gray20)}
@media (min-width:768px){
	.rsch_grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.rsch_grid > li:nth-child(odd){border-right:1px solid var(--color-gray20)}
}
@media (min-width:1280px){
	.rsch_grid{grid-template-columns:repeat(3,minmax(0,1fr))}
	.rsch_grid > li:nth-child(odd){border-right:0}
	.rsch_grid > li:not(:nth-child(3n)){border-right:1px solid var(--color-gray20)}
}

.rsch_grid a{display:flex;flex-direction:column;gap:1.6rem;height:100%;padding:2rem .4rem;color:inherit;text-decoration:none}
@media (min-width:768px){
	.rsch_grid a{padding:2.8rem 2.4rem 3.2rem}
}
.rsch_grid a:focus-visible{outline:2px solid var(--color-focus);outline-offset:-2px}

.rsch_grid .head{display:flex;justify-content:space-between;align-items:flex-start;gap:1.2rem}
.rsch_grid .who{display:block;min-width:0}
.rsch_grid .nm{display:block;font-size:var(--fs-tit-small);font-weight:var(--fws-semibold);line-height:1.35;color:var(--color-text-title,var(--color-gray90));word-break:keep-all;text-underline-offset:.4rem}
.rsch_grid .org{display:block;margin-top:.4rem;font-size:1.4rem;line-height:1.5;color:var(--color-text-sub,var(--color-gray70));word-break:keep-all;overflow-wrap:anywhere}
.rsch_grid .arrow{flex:0 0 auto;width:2.2rem;height:2.2rem;margin-top:.3rem;color:var(--color-text-sub,var(--color-gray70));transition:transform .35s cubic-bezier(.16,1,.3,1)}

.rsch_grid .excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;font-size:1.5rem;line-height:1.7;color:var(--color-text-body,var(--color-gray80));word-break:keep-all;overflow-wrap:anywhere}

@media (hover:hover){
	.rsch_grid a:hover .nm{text-decoration:underline}
	.rsch_grid a:hover .arrow{transform:translateX(.4rem)}
}
@media (prefers-reduced-motion:reduce){
	.rsch_grid .arrow{transition:none}
	.rsch_grid a:hover .arrow{transform:none}
}
