/**
 * Featured + List Combo Block Styles
 */
.gr-flc-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.gr-flc-wrapper * {
	box-sizing: border-box;
}

/* Typography Variations */
.gr-flc-typo-classic .gr-flc-title { font-family: Georgia, "Times New Roman", Times, serif; }
.gr-flc-typo-modern .gr-flc-title { font-family: inherit; letter-spacing: -0.01em; }

/* Spacing Variations */
.gr-flc-spacing-compact { gap: 15px; }
.gr-flc-spacing-normal { gap: 25px; }
.gr-flc-spacing-spacious { gap: 40px; }

/* Global Meta Data */
.gr-flc-meta {
	font-size: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* =========================================
   FEATURED POST (IMAGE OVERLAY DESIGN)
   ========================================= */
.gr-flc-featured {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 6px;
	background: #111; /* Dark fallback */
}

.gr-flc-featured-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.gr-flc-featured-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.gr-flc-featured:hover .gr-flc-featured-img img {
	transform: scale(1.03);
}

/* The clickable link that covers the whole image */
.gr-flc-featured-link-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1;
}

/* The Overlay Content Box */
.gr-flc-featured-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 30px 20px 20px;
	z-index: 2;
	/* Semi-transparent black background with a gradient for smoother fade */
	background: rgba(0, 0, 0, 0.7);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
	color: #ffffff;
}

/* Elevate links inside content so they are clickable above the overlay */
.gr-flc-featured-content a {
	position: relative;
	z-index: 3;
}

/* Featured Typography Colors (White text on black overlay) */
.gr-flc-featured .gr-flc-title {
	font-size: 24px;
	line-height: 1.3;
	margin: 0 0 10px 0;
	font-weight: 700;
}
.gr-flc-featured .gr-flc-title a { color: #ffffff; text-decoration: none; }
.gr-flc-featured .gr-flc-title a:hover { color: #ff4d4d; }

.gr-flc-featured .gr-flc-meta { color: #cccccc; }
.gr-flc-featured .gr-flc-meta a { color: #ff4d4d; text-decoration: none; font-weight: 600; }
.gr-flc-featured .gr-flc-meta a:hover { text-decoration: underline; }

.gr-flc-featured .gr-flc-excerpt { font-size: 15px; line-height: 1.6; color: #eeeeee; margin: 0; }

/* =========================================
   LIST POSTS
   ========================================= */
.gr-flc-list-wrapper { display: flex; flex-direction: column; }

/* List Style Variations */
.gr-flc-style-default .gr-flc-list-item { border: none; padding: 0; }
.gr-flc-style-divided .gr-flc-list-item { border-bottom: 1px solid #eaeaea; padding-bottom: 15px; }
.gr-flc-style-divided .gr-flc-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.gr-flc-style-bordered .gr-flc-list-item { border: 1px solid #eaeaea; border-radius: 6px; padding: 15px; transition: box-shadow 0.2s; }
.gr-flc-style-bordered .gr-flc-list-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* List Spacing */
.gr-flc-spacing-compact .gr-flc-list-wrapper { gap: 12px; }
.gr-flc-spacing-normal .gr-flc-list-wrapper { gap: 20px; }
.gr-flc-spacing-spacious .gr-flc-list-wrapper { gap: 30px; }

/* List Item Typography Colors */
.gr-flc-list-item { display: flex; gap: 15px; align-items: flex-start; }
.gr-flc-list-img { flex-shrink: 0; width: 100px; background: #f0f0f0; border-radius: 4px; overflow: hidden; }
.gr-flc-list-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.gr-flc-list-item:hover .gr-flc-list-img img { transform: scale(1.05); }

.gr-flc-list-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.gr-flc-list-content .gr-flc-meta { color: #666; font-size: 11px; margin-bottom: 5px; }
.gr-flc-list-content .gr-flc-meta a { color: #d32f2f; text-decoration: none; font-weight: 600; }
.gr-flc-list-content .gr-flc-title { font-size: 16px; line-height: 1.4; margin: 0; font-weight: 600; }
.gr-flc-list-content .gr-flc-title a { color: #111; text-decoration: none; }
.gr-flc-list-content .gr-flc-title a:hover { color: #d32f2f; }

/* =========================================
   ASPECT RATIOS
   ========================================= */
/* Featured Post now dictates the ratio of the whole container */
.gr-flc-ratio-16-9 .gr-flc-featured { aspect-ratio: 16 / 9; }
.gr-flc-ratio-16-9 .gr-flc-list-img { aspect-ratio: 16 / 9; }

.gr-flc-ratio-4-3 .gr-flc-featured { aspect-ratio: 4 / 3; }
.gr-flc-ratio-4-3 .gr-flc-list-img { aspect-ratio: 4 / 3; }

.gr-flc-ratio-1-1 .gr-flc-featured { aspect-ratio: 1 / 1; }
.gr-flc-ratio-1-1 .gr-flc-list-img { aspect-ratio: 1 / 1; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (min-width: 768px) {
	.gr-flc-resp-split { flex-direction: row; align-items: stretch; }
	.gr-flc-resp-split .gr-flc-featured { flex: 1; margin-bottom: 0; }
	.gr-flc-resp-split .gr-flc-list-wrapper { flex: 1; }
	
	.gr-flc-resp-compact .gr-flc-list-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); }
}