/* RNM PDF Reports Grid */

.rnm-pdf-grid-wrapper {
	width: 100%;
}

.rnm-pdf-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.rnm-pdf-item {
	background: #ffffff;
	border: 1px solid #90b961;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(144, 185, 97, 0.25);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	overflow: hidden;
}

.rnm-pdf-item:hover {
	box-shadow: 0 6px 18px rgba(144, 185, 97, 0.45);
	transform: translateY(-3px);
}

.rnm-pdf-item__link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.rnm-pdf-item__image-wrap {
	width: 100%;
	overflow: hidden;
	background: #f5f5f5;
}

.rnm-pdf-item__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rnm-pdf-item__heading {
	padding: 14px 16px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #222;
	text-align: center;
	border-top: 1px solid rgba(144, 185, 97, 0.35);
}

.rnm-pdf-grid__empty {
	text-align: center;
	padding: 40px 0;
	color: #777;
}

/* Loader */
.rnm-pdf-grid__loader {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px 0;
}

.rnm-pdf-grid__spinner {
	width: 38px;
	height: 38px;
	border: 4px solid rgba(144, 185, 97, 0.25);
	border-top-color: #90b961;
	border-radius: 50%;
	animation: rnm-pdf-spin 0.8s linear infinite;
	display: inline-block;
}

@keyframes rnm-pdf-spin {
	to { transform: rotate(360deg); }
}

/* Load More button */
.rnm-pdf-grid__load-more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.rnm-pdf-grid__load-more {
	background: #90b961;
	color: #ffffff;
	border: none;
	padding: 12px 32px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(144, 185, 97, 0.4);
	transition: background 0.2s ease, transform 0.15s ease;
}

.rnm-pdf-grid__load-more:hover {
	background: #7ea450;
}

.rnm-pdf-grid__load-more:active {
	transform: scale(0.97);
}

.rnm-pdf-grid__load-more:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Responsive: Tablet */
@media (max-width: 991px) {
	.rnm-pdf-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}
}

/* Responsive: Mobile */
@media (max-width: 576px) {
	.rnm-pdf-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.rnm-pdf-item__heading {
		font-size: 15px;
	}
}
