@charset "utf-8";

.basic-post-gallery-b { overflow: visible; line-height: 1.4; }
/* 그리드 컨테이너 안에서 빈 목록이 1열만 차지해 왼쪽으로 치우치지 않도록 전체 폭·가운데 */
.basic-post-gallery-b .post-none {
	grid-column: 1 / -1;
	width: 100%;
	box-sizing: border-box;
	padding: 50px 10px;
	text-align: center;
	color: #888;
}
.basic-post-gallery-b .post-row { float: none; }

/* 풀블리드 이미지 + 그라데이션 오버레이 카드 */
.basic-post-gallery-b .post-card--overlay {
	overflow: visible;
}
.basic-post-gallery-b .post-card--overlay .post-list {
	overflow: visible;
}
.basic-post-gallery-b .post-card--overlay.post-list,
.basic-post-gallery-b .post-list.post-card--overlay {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s, box-shadow 0.2s;
}
.basic-post-gallery-b .post-card--overlay:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}
.basic-post-gallery-b .post-card-overlay-link {
	display: block;
	color: inherit !important;
	text-decoration: none !important;
}
.basic-post-gallery-b .post-card-overlay-media {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #222;
}
.basic-post-gallery-b .post-card-overlay-media .img-wrap {
	margin: 0;
	border-radius: 0;
	overflow: hidden;
}
/* apms 기본(img 100.5% 폭) 대신 영역에 맞게 꽉 채움 */
.basic-post-gallery-b .post-card-overlay-media .img-item img {
	display: block;
	width: 100% !important;
	height: 100%;
	margin: 0 !important;
	object-fit: cover;
	object-position: center;
}
.basic-post-gallery-b .post-card-overlay-media .post-vicon {
	z-index: 4;
	text-shadow: 0 1px 4px #000;
}
.basic-post-gallery-b .post-card--overlay .rank-icon {
	display: none;
}
.basic-post-gallery-b .post-card-overlay-shade {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.25) 0%,
		rgba(0, 0, 0, 0.15) 35%,
		rgba(0, 0, 0, 0.55) 70%,
		rgba(0, 0, 0, 0.82) 100%
	);
}
.basic-post-gallery-b .post-card-overlay-text {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	padding: 16px 18px 18px;
	pointer-events: none;
	box-sizing: border-box;
}
.basic-post-gallery-b .post-overlay-title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
	letter-spacing: -0.02em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
	max-width: 100%;
}
.basic-post-gallery-b .post-overlay-subject-txt {
	word-break: keep-all;
}
.basic-post-gallery-b .post-overlay-bottom {
	margin-top: auto;
	width: 100%;
}
.basic-post-gallery-b .post-overlay-addr {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.45;
	margin-bottom: 4px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
	word-break: keep-all;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.basic-post-gallery-b .post-overlay-review {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.88);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

@media (max-width: 480px) {
	.basic-post-gallery-b .post-overlay-title { font-size: 14px; }
}
