/* ==============================================
   GW Related Pages – Stylesheet
   ============================================== */

/* Grid container */
.gw-related-grid {
	display: grid;
	gap: 30px;
}

/* Card */
.gw-related-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	text-decoration: none !important;
	box-sizing: border-box;
	background-color: #e5e5e5;
}

/* Background image */
.gw-card-bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
}

.gw-related-card:hover .gw-card-bg {
	transform: scale(1.05);
}

/* Overlay */
.gw-card-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1;
}

/* Content wrapper */
.gw-card-content {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 25px;
}

/* Title */
.gw-card-title {
	margin: 0;
	padding-right: 15px;
}

/* Button */
.gw-card-button {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	transition: opacity 0.3s ease;
}

/* Mobile */
@media (max-width: 767px) {
	.gw-related-grid {
		grid-template-columns: 1fr !important;
	}
	
	/* Reset stagger offset on mobile */
	.gw-related-card:nth-child(even) {
		margin-top: 0 !important; 
	}
}
