/* ============================================================
   Gallery Showcase – Front-end Styles
   ============================================================ */

/* Card wrapper */
.gsp-card {
	position: relative;
	display: block;
	cursor: pointer;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	max-width: 100%;
	-webkit-user-select: none;
	user-select: none;
}

.gsp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}

/* Aspect-ratio container */
.gsp-card__image-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 75%; /* default 4:3; overridden by Elementor control */
	overflow: hidden;
}

/* Featured image */
.gsp-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	display: block;
}

.gsp-card:hover .gsp-card__image {
	transform: scale(1.04);
}

/* Dark gradient overlay */
.gsp-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.25) 50%,
		rgba(0, 0, 0, 0.05) 100%
	);
	opacity: 0.55; /* overridden by Elementor control */
}

/* Footer bar (title + arrow) */
.gsp-card__footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	gap: 12px;
}

/* Title */
.gsp-card__title {
	color: #ffffff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.01em;
	flex: 1;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Arrow icon circle */
.gsp-card__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	flex-shrink: 0;
	transition: background 0.25s ease;
}

.gsp-card:hover .gsp-card__arrow {
	background: rgba(255, 255, 255, 0.28);
}

/* Hidden fancybox anchors */
.gsp-fancybox-items {
	display: none !important;
}

/* "No images" notice */
.gsp-no-images {
	font-size: 13px;
	color: #999;
	margin-top: 6px;
}

/* ============================================================
   Fancybox overrides (optional tweaks)
   ============================================================ */
.fancybox__container {
	--fancybox-bg: rgba(10, 10, 12, 0.94);
}

.fancybox__thumbs .fancybox__thumb::after {
	border-color: #fff;
}
.gsp-card__image-wrap {
    padding-bottom: 65% !important;
}