/**
 * Featured Post Block - Frontend Styles
 */

.featured-post-block {
	margin-bottom: 2rem;
}

/* Main Grid Layout */
.featured-post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.featured-post-grid {
		grid-template-columns: repeat(12, 1fr);
	}

	.featured-post-main {
		grid-column: span 7;
	}

	.spotlight-section {
		grid-column: span 5;
	}
}

/* Featured Post Section */
.featured-post-main {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.featured-post-heading {
	font-size: 1.5rem;
	margin: 0 0 1.5rem 0;
	font-weight: 700;
	color: #1a1a1a;
}

.featured-post-article {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	background: #fff;
	
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
	min-height: 400px;
	flex: 1;
}

.featured-post-article:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.featured-post-image-wrapper {
	grid-column: 1;
	grid-row: 1;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.featured-post-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.featured-post-article:hover .featured-post-image {
	transform: scale(1.05);
}

.featured-post-content {
	grid-column: 1;
	grid-row: 1;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	z-index: 2;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.featured-post-categories {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.75rem;
	font-weight: 600;
}

.featured-post-title {
	font-size: 1.75rem;
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
	color: #fff;
}

.featured-post-title a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.featured-post-title a:hover {
	opacity: 0.9;
}

/* Spotlight Section */
.spotlight-section {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.spotlight-heading {
	font-size: 1.5rem;
	margin: 0 0 1.5rem 0;
	font-weight: 700;
	color: #1a1a1a;
}

.spotlight-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 480px) {
	.spotlight-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Spotlight Card */
.spotlight-card {
	position: relative;
	background: #fff; background: linear-gradient(0deg, rgb(255, 255, 255) 23%, rgb(226, 231, 235) 100%);
	
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.spotlight-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.spotlight-card-image-container {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.spotlight-card-image-wrapper {
	grid-column: 1;
	grid-row: 1;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.spotlight-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.spotlight-card:hover .spotlight-card-image {
	transform: scale(1.05);
}

.spotlight-card-category { text-transform:uppercase; font-size: .8rem; line-height: 1.2; margin-bottom:.8rem;
	/* grid-column: 1;
	grid-row: 1;
	font-size: 0.6rem;
	color: rgba(255, 255, 255, 0.95);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
	z-index: 2;
	align-self: start;
	justify-self: start;
	margin: 1rem;
	padding: 0rem 0.5rem;
	background: rgba(0, 0, 0, 0.5);
	border-radius: 4px;
	backdrop-filter: blur(4px); */
}

.spotlight-card-content {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.spotlight-card-title {
	font-size: 1.125rem;
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
}

.spotlight-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.spotlight-card-title a:hover {
	color: #0073aa;
}

/* Stretched Link - Makes entire card clickable */
.stretched-link::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	content: "";
}

/* Responsive adjustments */
@media (max-width: 767px) {
	.featured-post-article {
		min-height: 300px;
	}

	.featured-post-content {
		padding: 1.5rem;
	}

	.featured-post-title {
		font-size: 1.5rem;
	}

	.featured-post-heading,
	.spotlight-heading {
		font-size: 1.25rem;
		margin-bottom: 1rem;
	}

	.spotlight-card-category {
		font-size: 0.7rem;
		margin: 0.75rem 0;
		
	}

	.spotlight-card-content {
		padding: 1rem;
	}

	.spotlight-card-title {
		font-size: 1rem;
	}
}

/* Mobile: Single column for entire block */
@media (max-width: 767px) {
	.featured-post-grid {
		grid-template-columns: 1fr;
	}
}
