/* Newsletter Grid styles */

.nlg-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
	margin: 30px 0;
}

.nlg-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nlg-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.nlg-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.nlg-thumb-wrap {
	position: relative;
	background: #f4f4f4;
	/* aspect-ratio: 3 / 4; */
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.nlg-pdf-canvas {
	width: 100%;
	height: auto;
	display: block;
}

.nlg-thumb-loading {
	position: absolute;
	font-size: 13px;
	color: #888;
}

.nlg-no-pdf {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: #999;
	font-size: 13px;
	text-align: center;
	padding: 20px;
}

.nlg-pdf-icon {
	font-size: 40px;
}

.nlg-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.nlg-card:hover .nlg-overlay {
	opacity: 1;
}

.nlg-view-btn {
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid #fff;
	padding: 8px 16px;
	border-radius: 4px;
}

.nlg-card-body {
	padding: 14px 16px;
	background: #33924d;
    text-align: center;
}

.nlg-badge {
	display: inline-block;
	background: #eef2ff;
	color: #3b4ed6;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 3px 8px;
	border-radius: 20px;
	margin-bottom: 8px;
}

.nlg-title {
	font-size: 16px;
	margin: 0 0 6px;
	line-height: 1.3;
	color: #fff;
}

h3.nlg-title{
	margin-bottom:0;
	margin-top:0;
}

.nlg-date {
	font-size: 12px;
	color: #888;
}

.nlg-empty {
	text-align: center;
	color: #999;
	padding: 40px 0;
}
