/**
 * G Multi Carousel - Premium Frontend CSS & Presets Layouts
 */

/* Core Outer Wrapper */
.gmc-carousel-outer-container {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	position: relative;
	margin: 20px 0;
	box-sizing: border-box;
}

.gmc-carousel-wrapper {
	width: 100%;
	padding: 15px 0 45px 0;
	position: relative;
	display: flex;
	overflow: hidden;
}

.gmc-carousel-wrapper .swiper-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
}

.gmc-carousel-wrapper:not(.swiper-initialized) .swiper-slide {
	flex-shrink: 0;
	width: 33.333%;
}

@media (max-width: 768px) {
	.gmc-carousel-wrapper:not(.swiper-initialized) .swiper-slide {
		width: 50%;
	}
}

@media (max-width: 480px) {
	.gmc-carousel-wrapper:not(.swiper-initialized) .swiper-slide {
		width: 100%;
	}
}

/* Slide Base Reset */
.gmc-carousel-wrapper .swiper-slide {
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	box-sizing: border-box;
}

/* Vertical Swiper Height Fix */
.swiper-vertical {
	height: 400px;
}
.swiper-vertical.gmc-carousel-wrapper .swiper-wrapper {
	flex-direction: column !important;
	flex-wrap: nowrap !important;
}
.swiper-vertical .swiper-slide {
	height: auto;
}

/* Custom Transition Effects */
.gmc-transition-marquee .swiper-wrapper {
	transition-timing-function: linear !important;
}

.gmc-transition-bounce .swiper-wrapper {
	transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.gmc-slide-body {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.05);
	transition: all 0.3s ease;
	box-sizing: border-box;
	-webkit-user-drag: none;
	user-drag: none;
}

a.gmc-slide-body {
	text-decoration: none !important;
	color: inherit !important;
}

.gmc-slide-body:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Slide Image Wrapper */
.gmc-slide-image-wrapper {
	width: 100%;
	position: relative;
	padding-top: 66.67%; /* 3:2 Aspect Ratio */
	overflow: hidden;
	background: #f1f5f9;
}

.gmc-slide-image-wrapper img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	-webkit-user-drag: none;
	user-drag: none;
}

.gmc-slide-body:hover .gmc-slide-image-wrapper img {
	transform: scale(1.05);
}

/* Slide Content Area */
.gmc-slide-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-grow: 1;
}

.gmc-slide-title {
	margin: 0;
	font-weight: 700;
	line-height: 1.3;
	color: #1e293b;
}

.gmc-slide-subtitle {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #64748b;
}

/* Call to Action Button */
.gmc-btn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	color: #fff !important;
	background: #6366f1;
	border: 1px solid #6366f1;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.3s ease;
	margin-top: auto;
}

.gmc-btn-cta:hover {
	background: #4f46e5;
	border-color: #4f46e5;
}

/* ==========================================================================
   THE 10 PRESETS STYLING
   ========================================================================== */

/* 1. Clean Grid Preset */
.gmc-preset-clean-grid .gmc-slide-body {
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: none;
	border-radius: 8px;
}
.gmc-preset-clean-grid .gmc-slide-body:hover {
	border-color: #cbd5e1;
	transform: none;
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* 2. Minimal Overlay Preset */
.gmc-preset-minimal-overlay .gmc-slide-body {
	border-radius: 12px;
	overflow: hidden;
}

.gmc-slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.1) 100%);
	display: flex;
	align-items: flex-end;
	padding: 24px;
	box-sizing: border-box;
}

.gmc-preset-minimal-overlay .gmc-slide-content {
	padding: 0;
	color: #fff;
}

/* 3. Card Slide Preset */
.gmc-preset-card-slide .gmc-slide-body {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.08);
}

/* 4. Blurred Background Preset */
.gmc-preset-blurred-bg .gmc-slide-body {
	position: relative;
	background: #0f172a;
	border-radius: 12px;
	overflow: hidden;
}

.gmc-slide-blurred-background {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	filter: blur(20px) brightness(0.4);
	transform: scale(1.1);
	opacity: 0.6;
	z-index: 0;
}

.gmc-preset-blurred-bg .gmc-slide-image-wrapper {
	z-index: 1;
	margin: 15px;
	width: calc(100% - 30px);
	padding-top: 55%;
	border-radius: 8px;
}

.gmc-preset-blurred-bg .gmc-slide-content {
	z-index: 1;
	color: #fff;
}

/* 5. Floating Badge Preset */
.gmc-preset-floating-badge .gmc-slide-body {
	position: relative;
}

.gmc-slide-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 2;
	background: #6366f1;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 6px;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* 6. Asymmetric Preset */
.gmc-preset-asymmetric .swiper-slide:nth-child(even) {
	margin-top: 25px;
}
.gmc-preset-asymmetric .swiper-slide:nth-child(odd) {
	margin-top: 0;
}
.gmc-preset-asymmetric .gmc-slide-body {
	border-radius: 24px 4px;
}

/* 7. Testimonial Preset */
.gmc-preset-testimonial .gmc-slide-body {
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 30px;
	border-radius: 16px;
	box-shadow: none;
	align-items: center;
	text-align: center;
}

.gmc-testimonial-quote-icon {
	font-size: 28px;
	color: #cbd5e1;
	margin-bottom: 15px;
}

.gmc-testimonial-text {
	font-size: 16px;
	line-height: 1.6;
	color: #475569;
	font-style: italic;
	margin: 0 0 24px 0;
}

.gmc-testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
}

.gmc-author-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #6366f1;
}

.gmc-author-meta {
	display: flex;
	flex-direction: column;
}

.gmc-preset-testimonial .gmc-slide-title {
	font-size: 15px !important;
	color: #1e293b;
	margin-bottom: 2px;
}

.gmc-preset-testimonial .gmc-slide-subtitle {
	font-size: 12px !important;
	color: #94a3b8;
}

/* 8. Showcase Preset */
.gmc-preset-showcase .swiper-slide {
	transition: transform 0.4s ease, opacity 0.4s ease;
	opacity: 0.5;
	transform: scale(0.9);
}

.gmc-preset-showcase .swiper-slide-active {
	opacity: 1;
	transform: scale(1);
}

/* 9. Infinite Ribbon Preset */
.gmc-preset-infinite-ribbon .gmc-slide-body {
	box-shadow: none;
	background: transparent;
	border-radius: 0;
	align-items: center;
	justify-content: center;
	padding: 10px;
}

.logo-ribbon-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.logo-ribbon-wrapper img {
	max-height: 60px;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.6;
	transition: all 0.3s ease;
}

.logo-ribbon-wrapper img:hover {
	filter: grayscale(0);
	opacity: 1;
}

/* 10. Split Text Preset */
.gmc-preset-split-text .gmc-slide-body {
	display: flex;
	flex-direction: row;
	min-height: 250px;
}

.gmc-preset-split-text .gmc-slide-image-wrapper {
	width: 50%;
	padding-top: 0;
	height: auto;
}

.gmc-preset-split-text .gmc-slide-content {
	width: 50%;
}

@media (max-width: 768px) {
	.gmc-preset-split-text .gmc-slide-body {
		flex-direction: column;
	}
	.gmc-preset-split-text .gmc-slide-image-wrapper {
		width: 100%;
		padding-top: 66.67%;
	}
	.gmc-preset-split-text .gmc-slide-content {
		width: 100%;
	}
}

/* ==========================================================================
   CAROUSEL TYPES & INTERACTIVE ELEMENTS
   ========================================================================== */

/* Icon Carousel */
.icon-slider-wrapper {
	padding: 30px 24px;
	align-items: center;
	text-align: center;
	border: 1px solid #e2e8f0;
}

.gmc-icon-shape {
	width: 60px;
	height: 60px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.gmc-icon-shape i {
	font-size: 24px;
	color: #fff;
}

/* Video Slider Overlay Trigger */
.gmc-slide-image-wrapper.video-wrapper {
	background: #000;
}

.gmc-slide-image-wrapper.video-wrapper img {
	opacity: 0.8;
}

.gmc-video-overlay-trigger {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	background: rgba(255, 255, 255, 0.9);
	color: #6366f1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	z-index: 1;
}

.gmc-video-overlay-trigger:hover {
	background: #6366f1;
	color: #fff;
	transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   NAVIGATION AND PAGINATION STYLING
   ========================================================================== */

/* Arrows Navigation Base */
.gmc-nav-btn {
	width: 44px;
	height: 44px;
	background: transparent;
	color: #1e293b;
	transition: all 0.3s ease;
}

.gmc-nav-btn::after {
	font-size: 18px !important;
	font-weight: 900;
}

/* Arrow Minimal Style */
.gmc-nav-btn.style-minimalist {
	background: transparent;
	color: #334155;
}
.gmc-nav-btn.style-minimalist:hover {
	color: #6366f1;
}

/* Arrow Circular Outline */
.gmc-nav-btn.style-circular {
	border: 2px solid #cbd5e1;
	border-radius: 50%;
	color: #334155;
}
.gmc-nav-btn.style-circular:hover {
	border-color: #6366f1;
	color: #6366f1;
	background: rgba(99, 102, 241, 0.05);
}

/* Arrow Boxed background */
.gmc-nav-btn.style-boxed {
	background: #fff;
	border-radius: 8px;
	color: #334155;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.gmc-nav-btn.style-boxed:hover {
	background: #6366f1;
	color: #fff;
}

/* Pagination Dots */
.gmc-pagination.swiper-pagination-bullets {
	bottom: 10px !important;
}

.gmc-pagination .swiper-pagination-bullet {
	background: #cbd5e1;
	opacity: 1;
	transition: all 0.3s ease;
}

/* Dot Style Stretched active */
.gmc-pagination.style-active-stretch .swiper-pagination-bullet-active {
	width: 24px;
	border-radius: 4px;
	background: #6366f1;
}

/* Dot Style Line indicator */
.gmc-pagination.style-line .swiper-pagination-bullet {
	width: 16px;
	height: 3px;
	border-radius: 0;
}
.gmc-pagination.style-line .swiper-pagination-bullet-active {
	background: #6366f1;
}

/* Dot Style Standard Dot */
.gmc-pagination.style-dot .swiper-pagination-bullet-active {
	background: #6366f1;
}

/* ==========================================================================
   VIDEO LIGHTBOX STYLING
   ========================================================================== */
.gmc-video-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.85);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	animation: gmc-fade-in 0.3s ease forwards;
}

.gmc-video-lightbox-container {
	position: relative;
	width: 100%;
	max-width: 800px;
	background: #000;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.gmc-video-lightbox-container iframe {
	width: 100%;
	aspect-ratio: 16/9;
	display: block;
}

.gmc-lightbox-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
	font-size: 28px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
	line-height: 1;
	z-index: 10;
}

.gmc-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.4);
}

@keyframes gmc-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ==========================================================================
   POST METADATA STYLING
   ========================================================================== */
.gmc-meta-categories-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.gmc-meta-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1;
}

.gmc-meta-tag {
	background: transparent;
	border: 1px solid currentColor;
	text-transform: none;
	font-weight: 600;
}

.gmc-post-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	margin-bottom: 12px;
}

.gmc-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	line-height: 1;
}

.gmc-meta-item i {
	font-size: 12px;
	opacity: 0.8;
}

/* ==========================================================================
   VERTICAL ORIENTATION LAYOUT OVERRIDES
   ========================================================================== */
.swiper-vertical .gmc-slide-body {
	flex-direction: row !important;
	height: 100% !important;
	align-items: center !important;
}

.swiper-vertical .gmc-slide-image-wrapper {
	width: 120px !important;
	height: 100% !important;
	padding-top: 0 !important;
	flex-shrink: 0 !important;
}

.swiper-vertical .gmc-slide-content {
	padding: 12px 16px !important;
	justify-content: center !important;
}

.swiper-vertical .gmc-slide-title {
	font-size: 14px !important;
	margin-bottom: 4px !important;
}

.swiper-vertical .gmc-slide-subtitle {
	font-size: 11px !important;
	line-height: 1.3 !important;
}

.swiper-vertical .gmc-post-meta-row {
	margin-bottom: 6px !important;
	gap: 8px !important;
}

.swiper-vertical .gmc-btn-cta {
	display: none !important;
}

/* Vertical Navigation Arrows (Up and Down placement and rotation) */
.swiper-vertical.gmc-carousel-wrapper {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
}

.swiper-vertical .swiper-button-prev,
.swiper-vertical .swiper-button-next {
	left: 50% !important;
	right: auto !important;
	margin-left: 0 !important;
	transform: translateX(-50%) rotate(90deg) !important;
	z-index: 10 !important;
}

.swiper-vertical .swiper-button-prev {
	top: 5px !important;
	bottom: auto !important;
}

.swiper-vertical .swiper-button-next {
	bottom: 5px !important;
	top: auto !important;
}

/* Link Resets for Titles */
.gmc-slide-title a,
.gmc-author-meta h4 a {
	color: inherit !important;
	text-decoration: none !important;
	transition: opacity 0.2s ease;
}

.gmc-slide-title a:hover,
.gmc-author-meta h4 a:hover {
	opacity: 0.8;
}

/* Center and fit logo/icon when details are hidden */
.gmc-slide-body.gmc-only-media {
	justify-content: center !important;
	align-items: center !important;
	padding: 20px !important;
	min-height: 120px !important;
}

.gmc-slide-body.gmc-only-media .gmc-slide-image-wrapper {
	padding-top: 0 !important;
	height: 80px !important;
	width: 100% !important;
	background: transparent !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.gmc-slide-body.gmc-only-media .gmc-slide-image-wrapper img {
	position: relative !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
}

.gmc-slide-body.gmc-only-media.icon-slider-wrapper {
	padding: 30px !important;
}

.gmc-slide-body.gmc-only-media.icon-slider-wrapper .gmc-icon-shape {
	margin-bottom: 0 !important;
}

.gmc-slide-image-wrapper a {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
}


