.ga-item {
	overflow: hidden;
	margin-bottom: 20px;
}

.ga-item.ga-shadow {
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.ga-trigger {
	cursor: pointer;
}

/* ---------- Vertical layout: image on top, text below ---------- */
.ga-item.ga-layout-vertical .ga-trigger {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

.ga-item.ga-layout-vertical .ga-trigger-image img {
	display: block;
	width: 100% !important;
	height: 260px;
	object-fit: cover;
	flex-shrink: initial;
}

.ga-layout-vertical .ga-trigger-title {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.ga-layout-vertical .ga-trigger-text p {
	margin: 0;
	line-height: 1.75;
}

.ga-layout-vertical .ga-icon {
	display: flex;
	justify-content: center;
	margin-top: 14px;
}

/* ---------- Horizontal layout: image beside text ---------- */
.ga-item.ga-layout-horizontal .ga-trigger {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	gap: 16px;
}

.ga-item.ga-layout-horizontal .ga-trigger-image img {
	display: block;
	width: 90px !important;
	height: 90px;
	object-fit: cover;
	flex-shrink: 0;
}

.ga-layout-horizontal .ga-trigger-content {
	flex: 1 1 auto;
}

.ga-layout-horizontal .ga-trigger-title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
}

.ga-layout-horizontal .ga-trigger-text p {
	margin: 0;
}

.ga-layout-horizontal .ga-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

/* ---------- Arrow icon ---------- */
.ga-icon {
	transition: transform 0.3s ease;
}

.ga-icon svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	overflow: visible !important;
}

.ga-item.ga-active .ga-icon {
	transform: rotate(180deg);
}

/* ---------- Panel (accordion drawer) ---------- */
.ga-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

@media (max-width: 767px) {
	.ga-layout-vertical .ga-trigger-image img {
		height: 200px;
	}
	.ga-drawer-slider .ga-slider-stage {
		max-height: 320px;
	}
}

/* ---------- Fullscreen popup wrapper ---------- */
.ga-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	padding: 0;
}

.ga-item.ga-popup-open .ga-popup {
	display: block;
}

.ga-popup-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ga-popup-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	height: 100dvh;
	display: flex;
}

body.ga-popup-locked {
	overflow: hidden;
}

.ga-popup-slider {
	height: 100%;
}

.ga-popup-slider .ga-slider-stage {
	flex: 1 1 auto;
	min-height: 0;
}

/* ---------- Slider (shared by drawer and popup, dark background) ---------- */
.ga-slider {
	width: 100%;
	border-radius: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	color: #fff;
}

.ga-slider-stage {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.ga-drawer-slider .ga-slider-stage {
	height: 420px;
	flex-shrink: 0;
}

.ga-slider-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.ga-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
}

.ga-slide.ga-slide-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.ga-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ga-slider-close,
.ga-slider-arrow {
	position: absolute;
	z-index: 5;
	border: none;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 20, 24, 0.5);
	color: #fff;
	backdrop-filter: blur(3px);
	transition: background 0.2s ease;
}

.ga-slider-close:hover,
.ga-slider-arrow:hover {
	background: rgba(20, 20, 24, 0.75);
}

.ga-slider-close {
	top: max(16px, env(safe-area-inset-top));
	right: 16px;
	width: 32px;
	height: 32px;
}

.ga-slider-close svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	max-width: none !important;
	max-height: none !important;
	overflow: visible !important;
	flex-shrink: 0;
}

.ga-slider-arrow svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
	max-width: none !important;
	max-height: none !important;
	overflow: visible !important;
	flex-shrink: 0;
}

.ga-slider-close svg path,
.ga-slider-arrow svg path {
	fill: none !important;
	stroke: #ffffff !important;
	stroke-width: 2.2px !important;
}

.ga-slider-counter {
	position: absolute;
	top: max(16px, env(safe-area-inset-top));
	left: 16px;
	z-index: 5;
	color: #fff;
	background: rgba(20, 20, 24, 0.5);
	padding: 5px 13px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.3px;
	backdrop-filter: blur(3px);
}

.ga-slider-arrow {
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
}

.ga-slider-prev {
	left: 16px;
}

.ga-slider-next {
	right: 16px;
}

/* ---------- Per-image caption (switches with slide) ---------- */
.ga-slider-infos {
	flex: 0 0 auto;
}

.ga-slider-info {
	display: none;
	padding: 20px 22px 6px;
}

.ga-slider-info.ga-info-active {
	display: block;
}

.ga-slider-title {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	color: #ffffff;
}

.ga-slider-desc p {
	margin: 0 0 6px;
	color: #a3a3ab;
	font-size: 14px;
	line-height: 1.75;
}

.ga-slider-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 14px 0 4px;
}

.ga-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #d4d4d8;
}

.ga-meta-item svg {
	flex-shrink: 0;
	color: #8e8e96;
	display: block !important;
	width: 14px !important;
	height: 14px !important;
	overflow: visible !important;
}

.ga-meta-item svg path,
.ga-meta-item svg rect,
.ga-meta-item svg circle {
	stroke: currentColor !important;
}

/* ---------- Thumbnail strip (number below image) ---------- */
.ga-slider-thumbs {
	display: flex;
	gap: 14px;
	padding: 14px 22px max(20px, env(safe-area-inset-bottom));
	overflow-x: auto;
	scrollbar-width: none;
	flex: 0 0 auto;
}

.ga-slider-thumbs::-webkit-scrollbar {
	display: none;
}

.ga-thumb {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	width: 58px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.ga-thumb img {
	display: block;
	width: 58px;
	height: 58px;
	object-fit: cover;
	border-radius: 12px;
	transition: box-shadow 0.2s ease;
}

.ga-thumb-number {
	font-size: 12px;
	color: #9a9aa2;
}

.ga-thumb.ga-thumb-active {
	opacity: 1;
}

.ga-thumb.ga-thumb-active img {
	box-shadow: 0 0 0 2px #ffffff;
}

.ga-thumb.ga-thumb-active .ga-thumb-number {
	color: #ffffff;
	font-weight: 600;
}
