/* Events Slider Widget Styles */
.amsha-events-slider {
	width: 100%;
	padding: 60px 40px;
	background-color: #2E3791;
}

.amsha-events-container {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	max-width: 1400px;
	margin: 0 auto;
}

/* Featured Event */
.amsha-featured-event {
	flex: 0 0 500px;
}

.amsha-event-card {
	position: relative;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.amsha-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.amsha-event-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.amsha-event-tag {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #ffffff;
	z-index: 2;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.amsha-event-image {
	width: 100%;
	height: 240px;
	overflow: hidden;
	position: relative;
}

.amsha-event-card-featured .amsha-event-image {
	height: 320px;
}

.amsha-event-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.amsha-event-card:hover .amsha-event-image img {
	transform: scale(1.05);
}

.amsha-event-content {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

.amsha-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 16px;
	font-size: 14px;
	color: #666666;
}

.amsha-event-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.amsha-event-meta svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.amsha-event-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px 0;
	color: #231F20;
	line-height: 1.4;
	flex: 1;
}

.amsha-event-card-featured .amsha-event-title {
	font-size: 24px;
}

.amsha-event-description {
	font-size: 16px;
	line-height: 1.6;
	color: #666666;
	margin: 0 0 16px 0;
}

.amsha-event-arrow {
	position: absolute;
	bottom: 24px;
	right: 24px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.amsha-event-card:hover .amsha-event-arrow {
	transform: translate(4px, -4px);
}

.amsha-event-arrow img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Slider */
.amsha-events-slider-wrapper {
	flex: 1;
	position: relative;
}

.amsha-events-swiper {
	overflow: visible;
	padding-bottom: 60px;
}

.amsha-events-swiper .swiper-wrapper {
	display: flex;
}

.amsha-events-swiper .swiper-slide {
	height: auto;
	display: flex;
}

.amsha-events-swiper .swiper-slide .amsha-event-card {
	height: 100%;
}

/* Navigation */
.amsha-swiper-navigation {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 16px;
	z-index: 10;
}

.amsha-swiper-button-prev,
.amsha-swiper-button-next {
	width: 53px;
	height: 53px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease;
}

.amsha-swiper-button-prev:hover,
.amsha-swiper-button-next:hover {
	opacity: 0.7;
}

.amsha-swiper-button-prev img,
.amsha-swiper-button-next img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.amsha-swiper-button-prev.swiper-button-disabled,
.amsha-swiper-button-next.swiper-button-disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.amsha-events-container {
		flex-direction: column;
	}

	.amsha-featured-event {
		flex: 0 0 auto;
		width: 100%;
		margin-bottom: 40px;
	}

	.amsha-events-slider-wrapper {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.amsha-events-slider {
		padding: 40px 20px;
	}

	.amsha-events-container {
		gap: 30px;
	}

	.amsha-event-image {
		height: 200px;
	}

	.amsha-event-card-featured .amsha-event-image {
		height: 240px;
	}

	.amsha-event-content {
		padding: 20px;
	}

	.amsha-event-title {
		font-size: 18px;
	}

	.amsha-event-card-featured .amsha-event-title {
		font-size: 20px;
	}

	.amsha-event-meta {
		font-size: 12px;
		gap: 12px;
	}
}

