/* ===================================================
   AK Blog List — Front-end Styles
   한국 GD Web Award 스타일: 미니멀, 타이포 중심, 블랙 통일
   =================================================== */

.abl-wrapper {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ── Grid ── */
.abl-grid {
	display: grid;
	grid-template-columns: repeat(var(--abl-columns, 2), 1fr);
	column-gap: var(--abl-col-gap, 40px);
	row-gap: var(--abl-row-gap, 32px);
}

/* ── Card ── */
@keyframes ablFadeInUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.abl-card {
	position: relative;
	opacity: 0;
	animation: ablFadeInUp 0.45s ease forwards;
	z-index: 1;
	overflow: visible;
	container-type: inline-size; /* 글자 크기를 카드 폭(cqi) 기준으로 자동 조절 */
}

.abl-card:nth-child(1) { animation-delay: 0s; }
.abl-card:nth-child(2) { animation-delay: 0.1s; }
.abl-card:nth-child(3) { animation-delay: 0.2s; }
.abl-card:nth-child(4) { animation-delay: 0.3s; }
.abl-card:nth-child(5) { animation-delay: 0.4s; }
.abl-card:nth-child(6) { animation-delay: 0.5s; }
.abl-card:nth-child(7) { animation-delay: 0.6s; }
.abl-card:nth-child(8) { animation-delay: 0.7s; }
.abl-card:nth-child(9) { animation-delay: 0.8s; }
.abl-card:nth-child(10) { animation-delay: 0.9s; }
.abl-card:nth-child(n+11) { animation-delay: 1s; }

.abl-card-link {
	display: block;
	padding: var(--abl-card-pad, 24px) 0;
	text-decoration: none !important;
	color: inherit !important;
	transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, padding 0.35s ease;
	border-radius: 6px;
	background: transparent;
}

/* ── Box hover expand ── */
.abl-style-box.abl-hover-on .abl-card.abl-expanded {
	z-index: 10;
}

.abl-style-box.abl-hover-on .abl-card.abl-expanded .abl-card-link {
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	text-decoration: none !important;
	transform: translateY(-4px);
	background: #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
	padding: var(--abl-card-pad, 24px);
}

.abl-style-box.abl-hover-on .abl-card.abl-expanded .abl-title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── Card styles ── */

/* 텍스트형: 하단 라인 구분 (제거됨) */
.abl-style-text .abl-card {
	border-bottom: none;
}

.abl-style-text .abl-card-link {
	padding: var(--abl-card-pad, 24px) 0 calc(var(--abl-card-pad, 24px) / 2) 0;
}
/* 텍스트형: 날짜~다음 섬네일 간격 절반 (행 간격을 설정값의 1/2로) */
.abl-grid.abl-style-text {
	row-gap: calc(var(--abl-row-gap, 32px) / 2);
}

/* 박스형: 라인 테두리 카드 */
.abl-style-box .abl-card {
	border: 1px solid var(--abl-border-color, #e0e0e0);
	border-radius: 4px;
}

.abl-style-box .abl-card-link {
	padding: calc(var(--abl-card-pad, 24px) + 6px);
}

/* 라인형: 하단 라인만 있는 미니멀 스타일, 카드 높이 정렬로 라인 위치 일치 */
.abl-style-line .abl-card {
	border-bottom: 1px solid var(--abl-border-color, #e0e0e0);
	display: flex;
	flex-direction: column;
}
.abl-style-line .abl-card-link {
	padding: calc(var(--abl-card-pad, 24px) + 4px) 4px;
	transition: padding-left 0.35s ease;
	flex: 1;
}
.abl-style-line .abl-card-link:hover {
	padding-left: 12px;
}
.abl-style-line .abl-card-link:hover .abl-title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 오버레이형: 썸네일 위에 텍스트 오버레이 */
.abl-style-overlay .abl-card {
	border-radius: 4px;
	overflow: hidden;
}
.abl-style-overlay .abl-card-link {
	position: relative;
	padding: 0;
	display: block;
	border-radius: 4px;
	overflow: hidden;
}
.abl-style-overlay .abl-thumb {
	position: relative;
	width: 100%;
	padding-top: 66%;
	background-color: #222;
	background-size: cover;
	background-position: center;
	transition: transform 0.6s ease;
}
.abl-style-overlay .abl-card-link:hover .abl-thumb {
	transform: scale(1.05);
}
.abl-style-overlay .abl-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.08) 100%);
}
.abl-style-overlay .abl-thumb-ph {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
}
.abl-style-overlay .abl-card-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: var(--abl-card-pad, 24px);
	z-index: 2;
	color: #fff;
}
.abl-style-overlay .abl-cat {
	color: #fff;
	border-color: rgba(255,255,255,0.55);
	margin-bottom: 12px;
}
.abl-style-overlay .abl-title {
	color: #fff !important;
}
.abl-style-overlay .abl-excerpt {
	color: rgba(255,255,255,0.82);
}
.abl-style-overlay .abl-date {
	color: rgba(255,255,255,0.65);
}

/* 매거진형: 좌측 이미지 + 우측 텍스트 가로 레이아웃 */
.abl-style-magazine .abl-card {
	border-bottom: 1px solid var(--abl-border-color, #e0e0e0);
}
.abl-style-magazine .abl-card-link {
	display: grid;
	grid-template-columns: 38% 1fr;
	gap: calc(var(--abl-card-pad, 24px) + 4px);
	padding: calc(var(--abl-card-pad, 24px) + 4px) 0;
	align-items: center;
}
.abl-style-magazine .abl-thumb {
	position: relative;
	width: 100%;
	padding-top: 66%;
	background-color: #f0f0f0;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
	overflow: hidden;
	transition: transform 0.4s ease;
}
.abl-style-magazine .abl-card-link:hover .abl-thumb {
	transform: translateY(-2px);
}
.abl-style-magazine .abl-thumb-ph {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
}
.abl-style-magazine .abl-card-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.abl-style-magazine .abl-card-link:hover .abl-title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ── 블로그 선택 썸네일(상단) ── */
.abl-thumb-top {
	position:relative;
	width:100%;
	aspect-ratio: var(--abl-thumb-ar, 3 / 2);
	background-size:cover; background-position:center;
	background-color:#eee; border-radius:var(--abl-thumb-radius,6px); overflow:hidden;
	margin-bottom:16px;
	transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.abl-card-link:hover .abl-thumb-top { transform: scale(1.02); }
.abl-thumb-top .abl-thumb-ph { display:block; width:100%; height:100%; background:#e8e8e8; }
.abl-style-box .abl-thumb-top, .abl-style-line .abl-thumb-top { margin-bottom:14px; }

/* ── Category tag ── */
.abl-cat {
	display: block;
	width: fit-content;
	font-size: 11px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #888;
	margin: 0 0 10px 0;
	padding: 8px 16px;
	background: transparent;
	border: 1px solid #bbb;
	border-radius: 60px;
}

/* ── Title ── */
.abl-title {
	font-size: var(--abl-title-size, 20px) !important;
	font-weight: var(--abl-title-weight, 700) !important;
	letter-spacing: var(--abl-title-spacing, -0.03em) !important;
	line-height: var(--abl-title-height, 1.4) !important;
	color: #1a1a1a;
	margin: 0 !important;
	padding: 0 !important;
	transition: text-decoration 0.3s ease;
	word-break: keep-all;
	overflow-wrap: break-word;
}

/* ── 카드 제목 줄 수 고정(계단형 방지: N줄 예약 + 초과 말줄임) ── */
.abl-card-body .abl-title {
	display: -webkit-box;
	-webkit-line-clamp: var(--abl-title-lines, 2);
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(var(--abl-title-lines, 2) * var(--abl-title-height, 1.4) * 1em);
	margin-top: var(--abl-title-mt, 20px) !important; /* 카드 제목 상단 여백 기본 20px */
}

/* ── Excerpt ── */
.abl-excerpt {
	font-size: var(--abl-excerpt-size, 15px) !important;
	font-weight: var(--abl-excerpt-weight, 400) !important;
	letter-spacing: var(--abl-excerpt-spacing, -0.01em) !important;
	line-height: var(--abl-excerpt-height, 1.75) !important;
	color: #555;
	margin: 0 0 8px 0 !important;
	padding: 0 !important;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: var(--abl-excerpt-lines, 2);
	-webkit-box-orient: vertical;
	word-break: keep-all;
	max-height: calc(var(--abl-excerpt-lines, 2) * var(--abl-excerpt-height, 1.75) * 1em);
	transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.abl-style-box.abl-hover-on .abl-card.abl-expanded .abl-excerpt {
	-webkit-line-clamp: 6;
	max-height: calc(6 * var(--abl-excerpt-height, 1.75) * 1em);
}

/* ── Date ── */
.abl-date {
	display: block;
	font-size: calc(var(--abl-meta-size, 13px) - 2px);
	font-weight: 400;
	letter-spacing: 0.02em;
	color: #999;
	font-variant-numeric: tabular-nums;
}

/* ── Empty ── */
.abl-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: #999;
	font-size: 15px;
}

/* ── Pagination ── */
.abl-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 34px;
	padding-top: 22px;
}

.abl-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: auto;
	height: auto;
	padding: 2px 6px;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #999;
	font-family: 'Noto Sans KR', sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	cursor: pointer;
	transition: color 0.2s ease;
}

.abl-page-btn:hover {
	color: #1a1a1a;
}

.abl-page-btn.active {
	color: #1a1a1a;
	font-weight: 600;
}

.abl-page-btn.abl-page-hidden {
	display: none;
}

/* ── Pagination arrows ── */
.abl-page-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 6px;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #999;
	font-family: 'Noto Sans KR', sans-serif;
	font-size: 12px;
	font-weight: 400;
	cursor: pointer;
	transition: color 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
}

.abl-page-arrow:hover:not(:disabled) {
	color: #1a1a1a;
}

.abl-page-arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

/* ── Loading ── */
.abl-grid.abl-loading {
	opacity: 0.4;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* ── Responsive (PC/모바일 칼럼·간격은 설정값 유지, 글자는 cqi로 자동) ── */
@media (max-width: 768px) {
	.abl-grid {
		grid-template-columns: repeat(var(--abl-columns-m, 1), 1fr) !important;
	}
	.abl-style-portfolio {
		grid-template-columns: repeat(var(--abl-columns-m, 1), 1fr) !important;
	}
	.abl-layout-masonry {
		column-count: var(--abl-columns-m, 1) !important;
	}
	.abl-car-slide {
		flex-basis: calc((100% - (var(--abl-columns-m, 1) - 1) * var(--abl-col-gap, 16px)) / var(--abl-columns-m, 1)) !important;
	}

	.abl-style-magazine .abl-card-link {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 20px 0;
	}
	.abl-style-magazine .abl-thumb,
	.abl-style-overlay .abl-thumb {
		padding-top: 100%;
	}

	.abl-pagination {
		margin-top: 32px;
		padding-top: 24px;
	}

	.abl-page-btn {
		font-size: 11px;
	}
}

/* ===== 포트폴리오 (G2) ===== */
.abl-style-portfolio { grid-template-columns: repeat(var(--abl-columns, 3), 1fr); }
/* ── 등장 모션 (옵션) ── */
@keyframes ablFadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes ablZoomIn { from { opacity:0; transform:scale(.94); } to { opacity:1; transform:scale(1); } }
.abl-appear-fadeup .abl-card { opacity:0; animation-name:ablFadeInUp; animation-duration:0.7s; animation-timing-function:cubic-bezier(.2,.7,.2,1); animation-fill-mode:both; }
.abl-appear-fade .abl-card { opacity:0; animation-name:ablFadeIn; animation-duration:0.7s; animation-timing-function:ease; animation-fill-mode:both; }
.abl-appear-zoom .abl-card { opacity:0; animation-name:ablZoomIn; animation-duration:0.7s; animation-timing-function:cubic-bezier(.2,.7,.2,1); animation-fill-mode:both; }
.abl-appear-none .abl-card { opacity:1 !important; animation:none !important; }
@media (prefers-reduced-motion: reduce) { .abl-card { opacity:1 !important; animation:none !important; } }
.abl-pcard .abl-card-link { display:block; padding:0; }
.abl-pcard .abl-thumb { position:relative; overflow:hidden; border-radius:var(--abl-thumb-radius,8px); background:#ececec; transform:translateZ(0); }
/* 계단형(masonry): 고정 썸네일 비율 무시 → 원본 비율(--abl-ar)로 → 높이가 달라져 진짜 계단형이 됨 */
.abl-layout-masonry .abl-pcard .abl-thumb { aspect-ratio: var(--abl-ar, 1.4) !important; }
.abl-thumb-img { position:absolute; inset:0; background-size:cover; background-position:center; transition:transform .55s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.abl-thumb-ph { position:absolute; inset:0; background:#e2e2e2; }
.abl-thumb-ov { position:absolute; inset:0; z-index:1; pointer-events:none; }
.abl-thumb-text { position:absolute; left:0; right:0; bottom:0; padding:18px 18px 16px; z-index:2; }
.abl-thumb-text--top { top:0; bottom:auto; }
.abl-thumb-text--middle { top:50%; bottom:auto; transform:translateY(-50%); }
.abl-thumb-text--bottom { top:auto; bottom:0; }
.abl-thumb-text .abl-cat { display:inline-block; font-size:var(--abl-meta-size,13px); font-weight:600; opacity:.85; margin-bottom:6px; }
.abl-thumb-text .abl-title { margin:0; font-size:var(--abl-title-size,20px); font-weight:var(--abl-title-weight,700); letter-spacing:var(--abl-title-spacing,-.02em); line-height:var(--abl-title-height,1.35); }
/* 썸네일 아래 제목 */
.abl-pcard .abl-card-body { padding:13px 2px 0; }
.abl-pcard .abl-card-body .abl-cat { display:inline-block; font-size:var(--abl-meta-size,13px); font-weight:600; color:#999; margin-bottom:6px; }
.abl-pcard .abl-card-body .abl-title { margin:0; font-size:var(--abl-title-size,20px); font-weight:var(--abl-title-weight,700); letter-spacing:var(--abl-title-spacing,-.02em); line-height:var(--abl-title-height,1.35); color:#1a1a1a; }
/* 호버 */
.abl-hov-zoom .abl-pcard:hover .abl-thumb-img { transform:scale(1.07); }
/* 슬라이드업: 카드가 살짝 위로 떠오름 */
.abl-hov-slideup .abl-pcard { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.abl-hov-slideup .abl-pcard:hover { transform: translateY(-8px); }
/* 글래스: 마우스오버 시 대각선 광택이 스윽 지나감 (Salient 풍) */
.abl-hov-glass .abl-pcard .abl-thumb::before {
	content:''; position:absolute; top:-10%; left:-110%; width:85%; height:120%; z-index:3; pointer-events:none;
	background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.06) 30%, rgba(255,255,255,.16) 50%, rgba(255,255,255,.06) 70%, transparent 100%);
	filter: blur(22px); transform: skewX(-14deg); transition: left 1.5s ease;
}
.abl-hov-glass .abl-pcard:hover .abl-thumb::before { left:170%; }

/* ===== 캐러셀 (GC) ===== */
.abl-carousel { position:relative; }
.abl-car-track { display:flex; gap:var(--abl-col-gap,16px); overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; padding-bottom:2px; }
.abl-car-track::-webkit-scrollbar { display:none; }
.abl-car-slide { flex:0 0 calc((100% - (var(--abl-columns,3) - 1) * var(--abl-col-gap,16px)) / var(--abl-columns,3)); scroll-snap-align:start; }
.abl-car-slide .abl-card { animation:none; opacity:1; }
.abl-car-arr { position:absolute; top:38%; transform:translateY(-50%); z-index:3; width:42px; height:42px; border-radius:50%; border:none; background:rgba(255,255,255,.96); box-shadow:0 2px 12px rgba(0,0,0,.16); cursor:pointer; font-size:22px; line-height:1; color:#222; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.abl-car-arr:hover { background:#fff; }
.abl-car-prev { left:-8px; } .abl-car-next { right:-8px; }
.abl-car-dots { display:flex; justify-content:center; gap:7px; margin-top:16px; }
.abl-car-dot { width:8px; height:8px; border-radius:50%; border:none; background:#d0d4d8; cursor:pointer; padding:0; transition:width .2s,background .2s; }
.abl-car-dot.active { background:#333; width:20px; border-radius:4px; }

/* ===== 레이아웃 엔진 (메이슨리 / 저스티파이드) ===== */
/* 메이슨리: CSS 멀티컬럼 (벽돌 쌓기) */
.abl-layout-masonry {
	display: block;
	column-count: var(--abl-columns, 2);
	column-gap: var(--abl-col-gap, 40px);
}
.abl-layout-masonry .abl-card {
	display: inline-block;
	width: 100%;
	break-inside: avoid;
	margin-bottom: var(--abl-row-gap, 32px);
}

/* 저스티파이드: 종횡비 기반 행 정렬 (front.js가 폭/높이 계산) */
.abl-layout-justified {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: var(--abl-row-gap, 32px) var(--abl-col-gap, 40px);
}
.abl-layout-justified .abl-card {
	flex: 0 0 auto;
	margin: 0;
}
.abl-layout-justified .abl-pcard .abl-thumb {
	aspect-ratio: auto !important;
	height: auto;
}
/* JS 계산 전 깜빡임 방지용 임시 폭 */
.abl-layout-justified .abl-card:not([style*="width"]) {
	flex: 1 1 220px;
}

/* ===== 카테고리 필터 바 ===== */
.abl-filter { display:flex; flex-wrap:wrap; gap:var(--abl-filter-gap,8px); margin:0 0 28px; }
.abl-filter-underline, .abl-filter-text { gap:var(--abl-filter-gap,19px); }
.abl-filter .abl-filter-btn.active { font-weight:700; }
.abl-falign-center { justify-content:center; }
.abl-falign-right { justify-content:flex-end; }
.abl-filter-btn { font-family:inherit; font-size:var(--abl-filter-size,13px); letter-spacing:-0.01em; color:#777; background:transparent !important; border:1px solid transparent !important; box-shadow:none !important; cursor:pointer; transition:all .2s ease; }
/* 라운딩형 */
.abl-filter-round .abl-filter-btn { border-color:#ddd !important; border-radius:60px; padding:8px 18px; }
.abl-filter-round .abl-filter-btn:hover { color:#1a1a1a; border-color:#999 !important; }
.abl-filter-round .abl-filter-btn.active { background:#1a1a1a !important; border-color:#1a1a1a !important; color:#fff; }
/* 박스형 */
.abl-filter-box .abl-filter-btn { border-color:#ddd !important; border-radius:4px; padding:8px 16px; }
.abl-filter-box .abl-filter-btn:hover { color:#1a1a1a; border-color:#999 !important; }
.abl-filter-box .abl-filter-btn.active { background:#1a1a1a !important; border-color:#1a1a1a !important; color:#fff; }
/* 언더라인형 — 가상요소 2px 직선(테마 테두리 영향 없음) */
.abl-filter-underline .abl-filter-btn { position:relative; border:0 !important; border-radius:0; padding:6px 2px 8px; }
.abl-filter-underline .abl-filter-btn::after { content:''; position:absolute; left:0; right:0; bottom:4px; height:2px; background:transparent; }
.abl-filter-underline .abl-filter-btn:hover { color:#1a1a1a; }
.abl-filter-underline .abl-filter-btn.active { color:#1a1a1a; }
.abl-filter-underline .abl-filter-btn.active::after { background:#1a1a1a; }
/* 텍스트형(굵기로 구분) */
.abl-filter-text .abl-filter-btn { border:0 !important; border-radius:0; padding:8px 6px; }
.abl-filter-text .abl-filter-btn:hover { color:#1a1a1a; }
.abl-filter-text .abl-filter-btn.active { color:#1a1a1a; font-weight:700; }

/* ===== 더보기 (Load More) ===== */
.abl-loadmore-wrap { text-align: center; margin-top: 40px; }
.abl-loadmore {
	border: 1px solid #1a1a1a;
	background: transparent;
	color: #1a1a1a;
	font-family: inherit;
	font-size: 14px;
	letter-spacing: 0.02em;
	padding: 13px 44px;
	border-radius: 60px;
	cursor: pointer;
	transition: all 0.25s ease;
}
.abl-loadmore:hover { background: #1a1a1a; color: #fff; }

/* ===== 갤러리 (레이아웃은 인스턴스별 <style>에서 PC/모바일 각각 지정) ===== */
.abl-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; } /* 폴백 */
.abl-gcell {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 6px;
	background: #ececec;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.abl-gcell:focus,
.abl-gcell:focus-visible { outline: none; box-shadow: none; }
.abl-gcell img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.55s cubic-bezier(.2,.7,.2,1), opacity 0.35s ease;
}
/* 마우스 오버 모션 */
.abl-ghover-zoom .abl-gcell:hover img { transform: scale(1.04); }
.abl-ghover-fade .abl-gcell:hover img { opacity: 0.8; }
.abl-ghover-up .abl-gcell { transition: transform 0.4s ease; }
.abl-ghover-up .abl-gcell:hover { transform: translateY(-6px); }
/* 이미지 위 제목 — 그라데이션 + 뒤 이미지 프로스티드 블러(마스크로 위쪽은 선명) */
.abl-gcap {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 2;
	padding: 30px 16px 14px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.4;
	word-break: keep-all;
	background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	-webkit-mask-image: linear-gradient(to top, #000 52%, transparent 100%);
	mask-image: linear-gradient(to top, #000 52%, transparent 100%);
	pointer-events: none;
}
/* 마우스 오버 시에만 제목 표시 */
.abl-gt-hover .abl-gcap { opacity: 0; transition: opacity 0.3s ease; }
.abl-gt-hover .abl-gcell:hover .abl-gcap { opacity: 1; }

/* ===== 라이트박스 (필름스트립·카운터·크로스페이드·배경블러) ===== */
.abl-lb {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(12,12,14,0.82);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	opacity: 0;
	transition: opacity 0.3s ease;
	touch-action: none;
}
.abl-lb.open { display: flex; opacity: 1; }
.abl-lb-stage {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	padding: 64px 78px 12px;
	box-sizing: border-box;
}
/* 두 레이어 크로스페이드(깜빡임 없음) */
.abl-lb-img {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	max-width: 88vw;
	max-height: 78vh;
	object-fit: contain;
	border-radius: 4px;
	opacity: 0;
	transition: opacity 0.28s ease;
	filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5));
	will-change: opacity;
}
.abl-lb-img.is-on { opacity: 1; z-index: 2; }
.abl-lb-counter {
	position: absolute; top: 22px; left: 26px; z-index: 2;
	color: rgba(255,255,255,0.85);
	font-size: 13px; letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	font-family: 'SF Mono', Menlo, monospace;
}
.abl-lb-close {
	position: absolute; top: 14px; right: 18px; z-index: 3;
	width: 46px; height: 46px;
	background: transparent; border: none; color: #fff;
	font-size: 32px; line-height: 1; cursor: pointer; opacity: 0.8;
	transition: opacity 0.2s ease;
}
.abl-lb-close:hover { opacity: 1; }
.abl-lb-arr {
	position: absolute; top: 44%; transform: translateY(-50%); z-index: 3;
	width: 52px; height: 52px; border: none; border-radius: 0;
	background: transparent; color: #fff;
	line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	opacity: 0.75; transition: opacity 0.2s ease;
}
.abl-lb-arr:hover { opacity: 1; background: transparent; }
.abl-lb-prev { left: 22px; }
.abl-lb-next { right: 22px; }
.abl-lb-film {
	flex: 0 0 auto;
	display: flex; gap: 8px;
	padding: 10px 16px 18px;
	max-width: 94vw;
	overflow-x: auto;
	scrollbar-width: none;
}
.abl-lb-film::-webkit-scrollbar { display: none; }
.abl-lb-thumb {
	flex: 0 0 auto;
	width: 62px; height: 46px;
	border: none; padding: 0; cursor: pointer;
	border-radius: 4px;
	background-size: cover; background-position: center;
	opacity: 0.45;
	outline: 2px solid transparent; outline-offset: -2px;
	transition: opacity 0.2s ease, outline-color 0.2s ease;
}
.abl-lb-thumb:hover { opacity: 0.8; }
.abl-lb-thumb.active { opacity: 1; outline-color: #fff; }
.abl-lb-single .abl-lb-arr,
.abl-lb-single .abl-lb-film,
.abl-lb-single .abl-lb-counter { display: none; }
@media (max-width: 768px) {
	.abl-lb-stage { padding: 54px 12px 8px; }
	.abl-lb-img { max-width: 96vw; max-height: 70vh; }
	.abl-lb-arr { display: none; } /* 모바일은 스와이프 */
	.abl-lb-film { gap: 6px; padding: 8px 10px 14px; }
	.abl-lb-thumb { width: 52px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.abl-lb, .abl-lb-img { transition: none; }
}

/* ── 유튜브 그리드 카드 ── */
.abl-ycard .abl-card-link{ display:block; width:100%; margin:0; padding:0; border:0; background:none; color:inherit; font:inherit; text-align:inherit; cursor:pointer; }
.abl-yt-play{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:3; width:60px; height:60px; display:flex; align-items:center; justify-content:center; opacity:.95; pointer-events:none; transition:opacity .2s ease, transform .2s ease; }
.abl-yt-play::before{ content:""; position:absolute; inset:0; background:rgba(255,255,255,.3); border-radius:46% 54% 52% 48% / 54% 46% 54% 46%; transform:rotate(-12deg); box-shadow:0 3px 14px rgba(0,0,0,.18); }
.abl-yt-play svg{ position:relative; z-index:1; width:24px; height:24px; margin-left:3px; display:block; }
.abl-ycard:hover .abl-yt-play{ opacity:1; transform:translate(-50%,-50%) scale(1.08); }
/* 썸네일 호버 미리보기 (음소거 2배속) */
.abl-ycard .abl-thumb{ overflow:hidden; }
.abl-yt-preview{ position:absolute; inset:0; width:100%; height:100%; border:0; z-index:2; pointer-events:none; background:transparent; opacity:0; transition:opacity .35s ease; }
.abl-yt-preview.is-ready{ opacity:1; }
@media (prefers-reduced-motion: reduce){ .abl-ycard:hover .abl-yt-play{ transform:translate(-50%,-50%); } }
/* ── 라이트박스 영상 모드 ── */
.abl-lb-video{ display:none; }
.abl-lb.abl-lb-vmode .abl-lb-stage,
.abl-lb.abl-lb-vmode .abl-lb-film,
.abl-lb.abl-lb-vmode .abl-lb-arr,
.abl-lb.abl-lb-vmode .abl-lb-counter{ display:none !important; }
.abl-lb.abl-lb-vmode .abl-lb-video{ display:block; position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); width:min(92vw, calc(82vh * 16 / 9)); aspect-ratio:16 / 9; max-width:1280px; }
.abl-lb-video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:10px; background:#000; }
