/* ── GIMA Posts Carousel ─────────────────────────────────────────────── */

.gimap-wrap {
	font-family: inherit;
	width: 100%;
	overflow: hidden;
}

.gimap-header {
	margin-bottom: 1.25rem;
}

.gimap-heading {
	font-size: 1.25rem;
	font-weight: 600;
	color: inherit;
}

/* Viewport */
.gimap-viewport {
	overflow: visible;
	width: 100%;
	padding: 14px 4px;
}

.gimap-track {
	display: flex;
	align-items: stretch;
	transition: transform 0.38s cubic-bezier(.4,0,.2,1);
	will-change: transform;
}

.gimap-slide {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

/* Card */
.gimap-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	transform-origin: center center;
}

.gimap-card:hover {
	transform: rotate(0deg) scale(1.02) !important;
	box-shadow: 0 12px 32px rgba(0,0,0,0.15);
	position: relative;
	z-index: 10;
}

/* Alternating tilt — matches the club carousel */
.gimap-slide:nth-child(3n+1) .gimap-card { transform: rotate(-2deg); }
.gimap-slide:nth-child(3n+2) .gimap-card { transform: rotate(1.5deg); }
.gimap-slide:nth-child(3n+3) .gimap-card { transform: rotate(-1deg); }

/* Image */
.gimap-img-wrap {
	height: 200px;
	overflow: hidden;
	background: #f4f4f4;
	flex-shrink: 0;
}

.gimap-img-link {
	display: block;
}

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

.gimap-card:hover .gimap-img {
	transform: scale(1.04);
}

.gimap-img-ph {
	width: 100%;
	height: 100%;
	background: #ebebeb;
}

/* Card body */
.gimap-card-body {
	padding: 0.85rem 1rem;
	flex: 1;
	background: #fff;
}

.gimap-title-link {
	text-decoration: none;
}

.gimap-title {
	font-size: 15px;
	font-weight: 600;
	color: #222;
	margin: 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gimap-title-link:hover .gimap-title {
	text-decoration: underline;
}

/* Navigation */
.gimap-nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0.85rem;
	gap: 8px;
	position: relative;
}

.gimap-nav-btns {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
}

.gimap-nav-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #cccccc;
	background: #ffffff;
	color: #333333;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
	line-height: 1;
	padding: 0;
}

.gimap-nav-btn:hover:not(:disabled) {
	background: #f5f5f5;
	border-color: #999;
}

.gimap-nav-btn:disabled {
	opacity: 0.3;
	cursor: default;
}

.gimap-nav-btn img { display: block; }

.gimap-nav-btn:has(img) {
	border: none;
	background: transparent;
	width: auto;
	height: auto;
	border-radius: 0;
	padding: 0;
}

.gimap-nav-btn:has(img):hover:not(:disabled) {
	background: transparent;
	opacity: 0.75;
}

/* Dots */
.gimap-dots {
	display: flex;
	gap: 6px;
	justify-content: center;
	flex-wrap: wrap;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.gimap-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #cccccc;
	cursor: pointer;
	transition: background 0.2s;
	flex-shrink: 0;
}

.gimap-dot-active {
	background: #333333;
}

.gimap-counter {
	font-size: 12px;
	color: #888888;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Empty state */
.gimap-empty {
	padding: 1.5rem;
	text-align: center;
	color: #888;
	font-size: 14px;
	font-style: italic;
}

/* Responsive */
@media (max-width: 519px)  { .gimap-heading { font-size: 1rem; } }
