﻿/* ============================================================
   Post Cards Widget
   ============================================================ */

.pcw-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.pcw-card {
	display: flex;
	flex-direction: column;
	background-color: #ffffff;
}

.pcw-thumb-link {
	display: block;
	text-decoration: none;
}

.pcw-thumb {
	height: 240px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 8px 8px 0 0;
	transition: opacity 0.3s ease;
}

.pcw-thumb-link:hover .pcw-thumb {
	opacity: 0.85;
}

.pcw-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 0 0;
}

.pcw-date {
	font-size: 14px;
	color: #999999;
	margin-bottom: 8px;
	line-height: 1.4;
}

.pcw-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1.4;
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.pcw-title a {
	color: inherit;
	text-decoration: none;
}

.pcw-title a:hover {
	text-decoration: underline;
}

.pcw-excerpt {
	font-size: 15px;
	color: #666666;
	line-height: 1.7;
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.pcw-btn {
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	color: #1a3cbe;
	text-decoration: none;
	margin-top: auto;
	transition: color 0.25s ease;
}

.pcw-btn:hover {
	color: #0d2a8a;
}

@media (max-width: 767px) {
	.pcw-grid {
		grid-template-columns: 1fr;
	}
}
