/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General & Grid Layout
2.0 Item Styles
3.0 Swiper Carousel
4.0 Section & Headings
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 General & Grid Layout
--------------------------------------------------------------*/
.fqlb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: var(--fqlb-gap, 24px);
}

/*--------------------------------------------------------------
2.0 Item Styles
--------------------------------------------------------------*/
.fqlb-item {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fqlb-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.fqlb-item .fqlb-thumb a {
	display: block;
	position: relative;
}

.fqlb-item .fqlb-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.fqlb-item-content {
	padding: 20px;
}

.fqlb-title {
	margin: 0 0 10px;
	font-size: 1.2rem;
	line-height: 1.4;
	font-weight: 600;
}

.fqlb-title a {
	color: #111;
	text-decoration: none;
	transition: color 0.3s ease;
}

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

.fqlb-meta {
	margin: 0 0 12px;
	font-size: 0.875rem;
	color: #666;
}

.fqlb-excerpt {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #444;
}

/*--------------------------------------------------------------
3.0 Swiper Carousel
--------------------------------------------------------------*/
.fqlb-swiper {
	position: relative;
}

.fqlb-swiper .swiper {
	padding-bottom: 40px; /* Space for pagination */
}

.fqlb-swiper .swiper-slide {
	height: auto;
	display: flex;
	flex-direction: column;
}

.fqlb-swiper .swiper-slide .fqlb-item {
	width: 100%;
	height: 100%;
}

/* Navigation Buttons */
.fqlb-swiper .swiper-button-next,
.fqlb-swiper .swiper-button-prev {
	--swiper-navigation-size: 44px;
	width: var(--swiper-navigation-size);
	height: var(--swiper-navigation-size);
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	color: #111;
	transition: background 0.3s ease, color 0.3s ease;
}

.fqlb-swiper .swiper-button-next:hover,
.fqlb-swiper .swiper-button-prev:hover {
	background: #0073aa;
	color: #fff;
}

.fqlb-swiper .swiper-button-next:after,
.fqlb-swiper .swiper-button-prev:after {
	font-size: 20px;
	font-weight: 900;
}

/* Pagination */
.fqlb-swiper .swiper-pagination-bullet {
	background: #ccc;
	opacity: 1;
	transition: background 0.3s ease, transform 0.3s ease;
}

.fqlb-swiper .swiper-pagination-bullet-active {
	background: #0073aa;
	transform: scale(1.2);
}

/*--------------------------------------------------------------
4.0 Section & Headings
--------------------------------------------------------------*/
.fqlb-section {
	margin: 30px 0;
}

.fqlb-heading {
	margin: 0 0 16px;
	font-size: 1.75rem;
	font-weight: 700;
	text-align: center;
}
