/**
 * Custom Blocks Styles
 * Consolidated styles for all custom Gutenberg blocks
 */

/* CSS Custom Properties for Newspaper Cards */
:root {
	--nub-card-aspect-ratio: 2/3;
	--nub-card-border-radius: 4px;
	--nub-card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	--nub-card-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
	--nub-card-transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Enhanced Card Styles */
.nub-newspaper-card,
.nub-featured-newspaper,
.nub-category-card {
	will-change: transform;
	backface-visibility: hidden;
}

/* Performance optimizations */
.nub-newspaper-grid__container,
.nub-category-grid__container {
	contain: layout style paint;
}

/* Responsive images */
.nub-newspaper-card__image,
.nub-featured-newspaper__image {
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

/* Print styles */
@media print {
	.nub-newspaper-card,
	.nub-featured-newspaper,
	.nub-category-card {
		break-inside: avoid;
		box-shadow: none;
	}
}


