.amsha-events-slider {
  width: 100%;
  margin-right: 0;
  padding-right: 0;
  overflow: visible;
}

.amsha-events-container {
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
  padding-right: 0;
  margin-right: 0;
  overflow: visible;
}

.amsha-featured-event,
.amsha-events-slider-wrapper {
  align-self: flex-start;
  vertical-align: top;
}

.amsha-featured-event {
  margin-right: 20px;
  flex: 0 0 643px;
  max-width: 643px;
  min-height: 579px;
}

.amsha-featured-event .amsha-event-card {
  min-height: 579px;
}

.amsha-event-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-content {
  background-color: var(--card-bg-color, #ffffff);
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-title,
.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-description,
.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-meta {
  color: var(--card-text-color, #231f20);
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-meta svg,
.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-meta img {
  color: var(--card-text-color, #231f20);
  transition: filter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.amsha-event-card:hover {
  background-color: #2e3791 !important;
  box-shadow: none !important;
}

.amsha-event-card:hover .amsha-event-content {
  background-color: #2e3791 !important;
}

.amsha-event-card:hover .amsha-event-meta,
.amsha-event-card:hover .amsha-event-title,
.amsha-event-card:hover .amsha-event-description {
  color: #ffffff !important;
}

.amsha-event-card:hover .amsha-event-meta svg,
.amsha-event-card:hover .amsha-event-meta img {
  color: #ffffff !important;
  filter: brightness(0) invert(1);
}

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

.amsha-event-card:not(.amsha-event-card-featured) {
  height: 100%;
}

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-card-link {
  flex-direction: row;
  align-items: stretch;
  height: 100%;
}

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

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-tag {
  position: absolute;
  top: 12px;
  left: 12px;
}

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

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

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-image {
  width: 199px;
  height: 232px;
  position: relative;
  flex-shrink: 0;
}

.amsha-event-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

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

.amsha-event-content .amsha-event-content-inner {
  max-width: 461px;
}

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-content {
  flex: 1;
  padding: 22px;
  min-width: 0;
  max-width: 374px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.amsha-event-meta {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: #666666;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.amsha-event-meta svg,
.amsha-event-meta img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.amsha-event-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #58595b;
  line-height: 1.4;
  flex: 1;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 2px;
  vertical-align: middle;
}

.amsha-event-description {
  font-size: 15px;
  font-weight: 400;
  line-height: 25px;
  color: #58595b;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.amsha-event-card:not(.amsha-event-card-featured) .amsha-event-arrow {
  border: none;
  width: 26px;
  height: 26px;
  position: absolute;
  bottom: 20px;
  right: 24px;
  flex-shrink: 0;
}

.amsha-event-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

.amsha-event-card .amsha-arrow-default {
  opacity: 0.1;
}

.amsha-event-card .amsha-arrow-hover {
  opacity: 0;
}

.amsha-event-card:hover .amsha-arrow-default {
  opacity: 0;
}

.amsha-event-card:hover .amsha-arrow-hover {
  opacity: 1;
}

.amsha-events-slider-wrapper {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  overflow: visible;
  height: auto;
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
  padding-left: 0;
}

.amsha-events-swiper {
  overflow: hidden;
  width: 100%;
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;
  position: relative;
  box-sizing: border-box;
}

.amsha-events-swiper .swiper-wrapper {
  flex-direction: row;
  height: auto;
  display: flex;
  align-items: flex-start;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  transition-property: transform;
  will-change: transform;
}

.amsha-events-swiper .swiper-slide {
  margin-bottom: 0;
  margin-top: 0;
  height: auto;
  display: flex;
  flex-shrink: 0;
  width: auto !important;
  align-self: flex-start;
  transition-property: transform, opacity;
  will-change: transform;
}

.amsha-slide-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  height: 100%;
}

.amsha-events-swiper .swiper-slide .amsha-slide-cards {
  width: 100%;
}

.amsha-events-swiper .swiper-slide .amsha-event-card {
  height: auto;
  width: 100%;
  min-height: 232px;
  flex-shrink: 0;
}

.amsha-swiper-navigation {
  position: absolute;
  bottom: -96px;
  left: 0;
  display: flex;
  gap: 16px;
  z-index: 100;
  justify-content: center;
  pointer-events: none;
}

.amsha-swiper-navigation button {
  pointer-events: auto;
}

.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;
  position: relative;
  z-index: 100;
  pointer-events: auto !important;
  -webkit-tap-highlight-color: transparent;
}

.amsha-swiper-button-prev:hover,
.amsha-swiper-button-next:hover,
.amsha-swiper-button-prev:active,
.amsha-swiper-button-next:active,
.amsha-swiper-button-prev:focus,
.amsha-swiper-button-next:focus {
  background: transparent !important;
  box-shadow: none !important;
}

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

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

@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: 1024px) {
  .amsha-featured-event {
    max-width: 100%;
    min-height: 80px;
  }

  .amsha-featured-event .amsha-event-card {
    min-height: auto;
  }

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

  .amsha-events-slider {
    padding: 0;
  }

  .amsha-events-swiper .swiper-slide {
    min-width: 100% !important;
    width: 100% !important;
  }

  .amsha-swiper-navigation {
    position: relative;
    bottom: -20px;
  }
  .amsha-swiper-button-prev,
  .amsha-swiper-button-next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .amsha-event-card:not(.amsha-event-card-featured) .amsha-event-card-link {
    flex-direction: column;
  }

  .amsha-event-card:not(.amsha-event-card-featured) .amsha-event-image {
    width: auto;
    height: 160px;
  }

  .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;
  }

  .amsha-event-arrow {
    display: none;
  }
}
