@charset "UTF-8";

/* =========================================================
   사회봉사센터 메인 최근게시물 (serveRecent)
   - 탭 5개 / 카드 3열 x 2행 슬라이드 / 좌우 화살표
   - 색상, 크기는 시안 기준 대략값이므로 퍼블리싱에 맞춰 조정
   ========================================================= */

.rct_serveRecentA{position:relative;padding:0 0 10px;}

/* ---------- 탭 ---------- */
.rct_serveRecentA > ul{position:relative;display:flex;justify-content:center;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;min-height:330px;}
.rct_serveRecentA > ul > li{}
.rct_serveRecentA .title{display:flex;align-items:center;}
.rct_serveRecentA .title a{font-size:18px;color:#555;line-height:1.4;padding:2px 0;border-bottom:2px solid transparent;}
.rct_serveRecentA .title::before{content:"";display:block;width:5px;height:5px;border-radius:100%;background:#555;margin:0 14px;}
.rct_serveRecentA > ul > li:first-child .title::before{display:none;}
.rct_serveRecentA > ul > li.active .title a{font-weight:bold;color:#1557b0;border-color:#1557b0;}

/* ---------- 목록 영역 ---------- */
.rct_serveRecentA .list{display:none;position:absolute;top:60px;left:0;width:100%;padding:0 70px;box-sizing:border-box;}
.rct_serveRecentA > ul > li.active .list{display:block;}
.rct_serveRecentA .list ul li{display:flex;flex-direction:column;}
.rct_serveRecentA .nodata{width:100%;font-size:16px;color:#777;text-align:center;padding:80px 0;}

/* ---------- 더보기 ---------- */
.rct_serveRecentA .more{display:none;position:absolute;right:100px;top:2px;font-size:16px;color:#333;line-height:24px;padding-right:24px;background:url(../images/more.png) right center no-repeat;}
.rct_serveRecentA > ul > li.active .more{display:block;}

/* ---------- 카드 ---------- */
.rct_serveRecentA .slick-con{border:1px solid #dcdfe3;margin:8px;height:135px;overflow:hidden;background:#fff;box-sizing:border-box;}
.rct_serveRecentA a.subject{display:block;height:100%;}
.rct_serveRecentA .con{padding:18px 20px;height:100%;box-sizing:border-box;}
.rct_serveRecentA .tit{font-size:18px;color:#1e5bb8;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;}
.rct_serveRecentA .info{font-size:13px;color:#888;line-height:1.4;margin:4px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:18px;}
.rct_serveRecentA .txt{font-size:15px;color:#555;line-height:1.45;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}

/* ---------- 좌우 화살표 ---------- */
.rct_serveRecentA button.prev,
.rct_serveRecentA button.next{display:block;text-indent:-9999px;width:40px;height:55px;position:absolute;top:calc(50% - 27.5px);border:0;cursor:pointer;}
.rct_serveRecentA button.prev{background:#dee0e2 url(../images/prev_b.png) center no-repeat;left:0;}
.rct_serveRecentA button.next{background:#172432 url(../images/next_w.png) center no-repeat;right:0;}

/* ---------- HOVER ---------- */
@media only screen and (min-width:1025px){
	.rct_serveRecentA .title a:hover{color:#000;}
	.rct_serveRecentA a.subject:hover .tit{text-decoration:underline;}
	.rct_serveRecentA .slick-con:hover{border-color:#1e5bb8;}
}

/* ---------- 반응형 ---------- */
 
/* 태블릿 : 2칸(카드 2장씩 위아래) */
@media only screen and (max-width:1024px){
	.rct_serveRecentA .list{padding:0 50px;}
	.rct_serveRecentA .title a{font-size:16px;}
	.rct_serveRecentA .title::before{margin:0 10px;}

	.rct_serveRecentA .more{width:24px;height:24px;padding:0;background-position:center;}
	.rct_serveRecentA .more span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
}
 
/* 모바일 : 1칸(카드 2장 위아래), 위로 슬라이드되며 2장이 한 번에 바뀜
   화살표는 목록 왼쪽에 위(이전)/아래(다음)로 세움 */
@media only screen and (max-width:768px){
	.rct_serveRecentA > ul{justify-content:flex-start;padding:0 40px 0 0;min-height:420px;}  /* 오른쪽 40px : 더보기(+) 자리 */
	.rct_serveRecentA > ul > li {height:30px;}
	.rct_serveRecentA .title{margin:0 14px 10px 0;}
	.rct_serveRecentA .title a{font-size:15px;}
	.rct_serveRecentA .title::before{display:none;}
 
	.rct_serveRecentA .list{top:95px;padding:0 0 0 43px;}
 
	/* 세로 슬라이드 : 칸 높이 = 카드 2장 */
	.rct_serveRecentA .list ul li{display:block;}
	.rct_serveRecentA .slick-vertical .slick-slide{border:0;}
	.rct_serveRecentA .slick-con{margin:0 0 10px;}
 
	.rct_serveRecentA .tit{font-size:16px;}
	.rct_serveRecentA .con{padding:15px 16px;}
 
	/* 화살표 : 왼쪽 세로 배치 (버튼을 90도 돌려 위/아래 방향) */
	.rct_serveRecentA button.prev,
	.rct_serveRecentA button.next{width:34px;height:34px;left:0;right:auto;transform:rotate(90deg);}
	.rct_serveRecentA button.prev{top:0;}
	.rct_serveRecentA button.next{top:40px;}
 
	/* 더보기 */
	.rct_serveRecentA .more{top:2px;right:8px;}
}
 
._obj{overflow:unset !important;}