.fg-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	padding: 60px 20px;
	box-sizing: border-box;
}

.fg-container {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.fg-title {
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 4px;
	margin-bottom: 40px;
	text-shadow: 0 0 20px rgba(255,255,255,.4);
}

.fg-grid {
	display: grid;
	gap: 20px;
}

.fg-item {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 4 / 3;
	box-shadow: 0 4px 14px rgba(0,0,0,.35);
}

.fg-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.fg-item:hover img {
	transform: scale(1.08);
}

.fg-slider-wrapper {
	position: relative;
}

.fg-slider {
	overflow: hidden;
	margin: 0 60px;
}

.fg-slider-track {
	display: flex;
	transition: transform .45s ease;
}

.fg-slide {
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
}

.fg-slide-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	border: none;
	outline: none;
	box-shadow: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	background: transparent;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	text-shadow: 0 1px 6px rgba(0,0,0,.8);
}

.fg-slide-arrow:hover,
.fg-slide-arrow:focus,
.fg-slide-arrow:active {
	outline: none;
	box-shadow: none;
	color: rgba(255,255,255,.7);
}

.fg-slide-arrow.fg-prev {
	left: 8px;
}

.fg-slide-arrow.fg-next {
	right: 8px;
}

.fg-slide-arrow.fg-disabled {
	opacity: .25;
	cursor: default;
	pointer-events: none;
}

.fg-dots {
	margin-top: 24px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.fg-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,.3);
	padding: 0;
	cursor: pointer;
}

.fg-dot.is-active {
	background: #fff;
}

.fg-dot:hover {
	background: rgba(255,255,255,.6);
}

.fg-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.9);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.fg-lightbox.is-open {
	display: flex;
}

.fg-lightbox-img {
	max-width: 88vw;
	max-height: 80vh;
	border-radius: 4px;
	box-shadow: 0 0 40px rgba(0,0,0,.6);
}

.fg-lightbox-caption {
	position: absolute;
	bottom: 30px;
	left: 0;
	right: 0;
	text-align: center;
	color: #fff;
	font-size: 14px;
}

.fg-lightbox-close,
.fg-lightbox-prev,
.fg-lightbox-next {
	position: absolute;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
	padding: 10px;
}

.fg-lightbox-close {
	top: 20px;
	right: 30px;
}

.fg-lightbox-prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.fg-lightbox-next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

@media (max-width: 900px) {
	.fg-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 560px) {
	.fg-grid {
		grid-template-columns: 1fr !important;
	}
	.fg-wrapper {
		min-height: auto !important;
	}
	.fg-slide-arrow {
		font-size: 26px;
	}
	.fg-slider {
		margin: 0 40px;
	}
	.fg-slide-arrow.fg-prev {
		left: 2px;
	}
	.fg-slide-arrow.fg-next {
		right: 2px;
	}
}
