/*
 * 홈·아카이브. Blocksy News 의 카드 목록(.entries > .entry-card) 구조와 커스터마이저 값을 유지하고
 * 상호작용과 사이드바 위계만 다듬는다.
 */

.entries .entry-card .ct-media-container {
	overflow: hidden;
}

.entries .entry-card .ct-media-container img {
	transition: transform 0.4s ease;
}

.entries .entry-card:hover .ct-media-container img {
	transform: scale(1.04);
}

.entries .entry-card .entry-title a {
	transition: color 0.2s ease;
}

.entries .entry-card:hover .entry-title a {
	color: var(--theme-palette-color-1);
}

/* 글자형 라벨에만 적용. pill(배경색 라벨)은 Blocksy 기본 흰 글씨 유지 — 0.3.0 까지 파란 배경에 파란 글씨로 안 보이던 버그 */
.entries .entry-card .meta-categories:not([data-type="pill"]) a {
	color: var(--theme-palette-color-1);
}

@media (prefers-reduced-motion: reduce) {
	.entries .entry-card .ct-media-container img {
		transition: none;
	}
}

/* 공개 글이 없을 때 홈 소개 카드 (template-parts/content-none.php) */
.wink-welcome {
	padding: clamp(28px, 5vw, 56px);
	background: var(--theme-palette-color-8);
	box-shadow: 0 12px 18px -6px rgba(34, 56, 101, 0.04);
}

.wink-welcome__eyebrow {
	margin: 0 0 0.75em;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--theme-palette-color-1);
}

.wink-welcome__title {
	margin: 0 0 0.5em;
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
}

.wink-welcome__lead {
	margin: 0 0 2em;
	font-size: 1.0625rem;
}

.wink-welcome__topics {
	display: grid;
	gap: var(--wink-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 690px) {
	.wink-welcome__topics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.wink-welcome__topics li {
	margin: 0;
	padding-top: 1em;
	border-top: 2px solid var(--theme-palette-color-1);
}

.wink-welcome__topics h2 {
	margin: 0 0 0.4em;
	font-size: 1.0625rem;
	line-height: 1.3;
}

.wink-welcome__topics p {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}
