/* Congdy Summary Block (Front-end)
   - No gradients
   - No shadows
*/

/* 요약 블록이 있는 글에서는 기본 제목/메타 영역(entry-header) 숨김 */
.ccp-has-summary .entry-header{display:none !important;}

.ccp-summary{
	display:flex;
	align-items:stretch;
	gap:0;
	padding:18px;
	padding-left:0;
	width:100%;
	max-width:100%;
	overflow:hidden;
	border:0;
	border-radius:16px;
	background:#fff;
	box-sizing:border-box;
}

.ccp-summary__media{
	
				flex:0 0 auto;
	margin-right:50px;
	
}

.ccp-summary__imgwrap{
	width:250px;
	height:250px;
	border-radius:18px;
	overflow:hidden;
	border:0;
	background:transparent;
	box-sizing:border-box;
}

.ccp-summary__img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.ccp-summary__body{min-width:0;flex:1;height:250px;display:flex;flex-direction:column}

.ccp-summary__meta{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:16px;
	margin:0 0 12px;
	font-size:18px;
	line-height:1.4;
	opacity:.92;
}

.ccp-summary__meta-sep{display:none;}

.ccp-summary__meta-blue{color:#1e88e5;font-weight:700;}
.ccp-summary__meta-author{white-space:nowrap;}
.ccp-summary__meta-rating{white-space:nowrap;}
.ccp-summary__meta-star{font-size:18px;line-height:1;}

.ccp-summary .entry-title{
	margin:0 0 8px;
	font-size:34px;
	line-height:1.15;
	width:auto !important;
	max-width:100% !important;
	margin-left:0 !important;
	margin-right:0 !important;
	position:static !important;
	left:auto !important;
	right:auto !important;
	overflow:hidden;
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
}



.ccp-summary__mobile-under-title{display:none; width:100%;}

/* PC 상/하단 HTML (관리자 설정) */
.ccp-summary__pc-before,
.ccp-summary__pc-after{
	display:none;
	width:100%;
	max-width:100%;
	box-sizing:border-box;
}
@media (min-width:769px){
	.ccp-summary__pc-before,
	.ccp-summary__pc-after{display:block;}
	.ccp-summary__pc-before > :first-child,
	.ccp-summary__pc-after > :first-child{margin-top:0 !important;}
	.ccp-summary__pc-before > :last-child,
	.ccp-summary__pc-after > :last-child{margin-bottom:0 !important;}
}

.ccp-summary__text{
	margin:0 0 14px;
	font-size:19px;
	line-height:1.7;
	opacity:.88;
;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;flex:1}

.ccp-summary__buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto}

.ccp-summary__icon{display:inline-flex;align-items:center;line-height:1}
.ccp-summary__icon svg{width:18px;height:18px;fill:currentColor;display:block}

.ccp-summary__btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	padding:16px 18px;
	border-radius:0 !important;
	text-decoration:none;
	font-weight:700;
	font-size:16px;
	line-height:1;
	border:1px solid rgba(0,0,0,.10);
	box-sizing:border-box;
}

.ccp-summary__btn--ios{background:var(--ccp-summary-ios-bg,#1e88e5);color:#fff !important}
.ccp-summary__btn--android{background:var(--ccp-summary-android-bg,#43a047);color:#fff !important}
.ccp-summary__btn--copy{background:#fff;color:#111 !important;padding:20px 18px;border:2px solid #111}

.ccp-summary__btn--ios:hover,
.ccp-summary__btn--ios:focus,
.ccp-summary__btn--ios:visited{color:#fff !important;text-decoration:none !important}

.ccp-summary__btn--android:hover,
.ccp-summary__btn--android:focus,
.ccp-summary__btn--android:visited{color:#fff !important;text-decoration:none !important}

.ccp-summary__btn--copy:hover,
.ccp-summary__btn--copy:focus{background:#111;color:#fff !important;text-decoration:none !important}

.ccp-summary__btn--copy:visited{color:#111 !important;text-decoration:none !important}

.ccp-summary__btn:focus{outline:2px solid currentColor;outline-offset:2px}

@media (max-width:640px){
	/* 모바일: 제목(최상단) -> 이미지(가로 100%) -> 버튼(1열/100%), 요약 텍스트 숨김 */
	.ccp-summary{
		display:grid;
		grid-template-columns:1fr;
		grid-template-rows:auto;
		grid-auto-rows:auto;
		row-gap:0;
		padding:0;
		padding-left:0;
		background:#fff;
		border-radius:16px;
		overflow:hidden;
		align-items:stretch;
	}
	.ccp-summary__body{display:contents;height:auto;min-width:0}
	.ccp-summary .entry-title{
		grid-row:auto;
		margin:0;
		padding:18px 14px;
		font-size:32px;
		line-height:1.15;
		text-align:center;
		background:var(--ccp-summary-title-bg,#000);
		color:#fff !important;
		border-radius:16px 16px 0 0;
		overflow:hidden;
		display:-webkit-box;
		-webkit-box-orient:vertical;
		-webkit-line-clamp:2;
	}
	.ccp-summary__mobile-under-title{
		display:block;
		width:100%;
		padding:0;
		margin:0;
		box-sizing:border-box;
	}
	/* 모바일 제목 아래 HTML 영역: 위/아래 여백 제거(광고/HTML 삽입용) */
	.ccp-summary__mobile-under-title > :first-child{margin-top:0 !important;}
	.ccp-summary__mobile-under-title > :last-child{margin-bottom:0 !important;}
	.ccp-summary__mobile-under-title p,
	.ccp-summary__mobile-under-title figure,
	.ccp-summary__mobile-under-title ul,
	.ccp-summary__mobile-under-title ol{margin:0 !important;}
	.ccp-summary__mobile-under-title .adsbygoogle{margin:0 !important;}
	.ccp-summary__text{display:none !important;}
	.ccp-summary__meta{display:none !important;}
	.ccp-summary__media{
		
		display:none !important;
grid-row:2;
		margin:0;
		padding:0;
	}
	.ccp-summary__imgwrap{
		width:100%;
		height:auto;
		aspect-ratio:1 / 1;
		border-radius:0;
	}
	.ccp-summary__imgwrap img,
	.ccp-summary__img{
		width:100%;
		height:100%;
		display:block;
		object-fit:cover;
	}
	.ccp-summary__buttons{
		grid-row:auto;
		display:flex;
		flex-direction:column;
		flex-wrap:nowrap;
		gap:10px;
		margin:0;
		padding: 5px 0 14px 0;
		width:100%;
		box-sizing:border-box;
	}
	.ccp-summary__btn{
		width:100%;
		font-size:16px;
		padding:18px 18px;
	}
}

