.all-events {
  --ae-orange: #FB4E0B;
  --ae-navy: #384D6A;
  --ae-muted: #5a6780;
  --ae-radius: 12px;
  --ae-img-w: 257px;
  --ae-card-h: 163px;
  --ae-card-grid-h: 212px;
  padding: 60px 0 60px;
  font-family: "Yantramanav", sans-serif;
  color: var(--ae-navy);
  background: linear-gradient(96deg, #FEF7F4 -40.69%, #D9CFC8 97.89%);
}
.wmdel-filter-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.all-events__bar {
  background: linear-gradient(90deg, #F74D0C 0%, #FFA82B 100%);
  display: block;
  height: 4px;
  margin-bottom: 24px;
  width: 115px;
}

.all-events__title {
  color: var(--ae-navy);
  font-size: 44px;
  font-weight: 700;
  line-height: 38px;
  margin: 0 0 42px;
  text-transform: uppercase;
}

.all-events__title span {
  color: var(--ae-orange);
}

.all-events__toolbar {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(247, 77, 12, 0.35);
  margin-bottom: 28px;
}

.all-event-dropdown {
  position: relative;
}

.all-event-select {
  align-items: center;
  background: rgba(254, 247, 244, 0.40);
  border-radius: 12px;
  border: 1px solid #FB4E0B;
  color: #001632;
  display: flex;
  font-size: 14px;
  font-weight: 400;
  gap: 12px;
  justify-content: space-between;
  line-height: 16px;
  padding: 10px 12px;
}

.all-dates {
  min-width: 150px;
}

.all-types {
  min-width: 215px;
}

.all-regions {
  min-width: 190px;
}

.all-dates .all-event-select,
.all-types .all-event-select,
.all-regions .all-event-select {
  min-width: 100%;
}

.all-event-dropdown .dropdown-menu.show {
  width: 100%;
}

.all-event-dropdown .dropdown-item:hover {
  background: linear-gradient(90deg, #F74D0C 0%, #FFA82B 100%);
  color: var(--exl-white);
}


.ae-tab {
  background: transparent;
  border-radius: 50rem;
  border: 1px solid var(--ae-navy);
  color: var(--ae-navy);
  font-size: 15px;
  font-weight: 700;
  height: 36px;
  min-width: 145px;
  padding: 0 24px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.ae-tab:hover {
  border-color: var(--ae-orange);
  color: var(--ae-orange);
}

.ae-tab.is-active,
.ae-tab[aria-selected="true"] {
  background: linear-gradient(72deg, #F74D0C 20.4%, #FFA82B 163.56%);
  border-radius: 999px;
  border: 0.73px solid var(--Orange-Gradient, #F74D0C);
  color: var(--exl-white);
}

.ae-tab:focus-visible,
.ae-select:focus-visible,
.ae-btn:focus-visible,
.ae-cal:focus-visible {
  outline: 2px solid var(--ae-navy);
  outline-offset: 2px;
}

.ae-select {
  height: 34px;
  min-width: 150px;
  padding: 0 32px 0 12px;
  font-size: 13px;
  color: var(--ae-navy);
  border: 1px solid var(--ae-orange);
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23f74d0c' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
}

.all-events__list {
  transition: opacity 0.25s ease;
}

.all-events__list.is-fading {
  opacity: 0;
}

.ae-card {
  display: flex;
  height: var(--ae-card-h);
  background: var(--exl-white);
  border-radius: var(--ae-radius);
  box-shadow: 0 4px 16px rgba(27, 45, 79, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* .ae-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27, 45, 79, 0.16);
} */

.ae-card:hover .ae-card__media img {
  transform: scale(1.05);
}

.ae-card__media {
  position: relative;
  flex: 0 0 var(--ae-img-w);
  width: var(--ae-img-w);
}

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

.ae-badge {
  background: var(--exl-white);
  border-radius: 6px;
  left: 10px;
  min-width: 36px;
  padding: 4px 8px;
  position: absolute;
  text-align: center;
  top: 10px;
}

.ae-badge strong {
  color: #FB4E0B;
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 26px;
}

.ae-badge span {
  color: #172F50;
  font-size: 13px;
  font-weight: 500;
  line-height: 15px;
  text-transform: uppercase;
}

.ae-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  min-width: 0;
  padding: 24px !important;
  gap: 14px;
}

.ae-card__body>div {
  min-height: auto;
}

.ae-card__title {
  color: #001632;
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  margin: 0 0 8px;
}

h3.ae-card__title a {
  color: #001632; 
  font-size: 20px; 
  font-weight: 700; 
  line-height: 22px;  
  margin: 0 0 8px;
}

h3.ae-card__title a:hover {
  color: #FB4E0B;
}

.ae-card__desc {
  color: #64768C;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.25px;
  margin: 0 0 10px;
}

.ae-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  font-size: 11px;
  color: var(--ae-muted);
}

.ae-meta li {
  align-items: center;
  color: #64768C;
  display: inline-flex;
  font-size: 12px !important;
  font-weight: 400;
  gap: 6px;
  line-height: 16px !important;
}

.ae-meta svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.wmdel-events-tabs {
  position: absolute;
  top: 20px;
}

.ae-meta .ae-meta__strong {
  font-weight: 700;
  text-transform: uppercase;
}

.ae-card__cta {
  align-items: flex-end;
  display: flex;
  gap: 10px;
  padding: 32px;
}

.ae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 24px;
  border-radius: 50rem;
  background: linear-gradient(90deg, #f74d0c, #f77a2e);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ae-btn:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(247, 77, 12, 0.35);
}

.ae-cal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--ae-orange);
  border-radius: 50%;
  background: var(--exl-white);
  color: var(--ae-orange);
  transition: background 0.2s ease, color 0.2s ease;
}

.ae-cal:hover {
  background: var(--ae-orange);
  color: var(--exl-white);
}

.ae-cal:hover svg path {
  fill: var(--exl-white);
}

.ae-cal svg {
  width: 16px;
  height: 16px;
}

.ae-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--ae-muted);
}

.all-events__list.grid-view-list {
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: repeat(4, 1fr);
}
.all-events__list.grid-view-list .ae-card {
  display: flex;
  flex-direction: column;
  height: auto;
}
.all-events__list.grid-view-list .ae-card__media {
  flex: 0 0 212px;
  max-height: 212px;
  width: 100%;
}
.all-events__list.grid-view-list .ae-card__body {
  padding: 20px;
}
.all-events__list.grid-view-list .ae-card__title {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  line-clamp: 2;
  margin: 0 0 16px;
  min-height: 44px;
  overflow: hidden;
}
.all-events__list.grid-view-list .ae-card__desc {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #384D6A;
  display: -webkit-box;
  font-size: 14px;
  font-weight: 400;
  line-clamp: 2;
  line-height: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  min-height: 32px;
  margin: 0 0 16px 0 !important;
}
.all-events__list a.view-dtls, .all-events__list.grid-view-list .ae-meta .webinar {
  display: none;
}
.all-events__list.grid-view-list a.view-dtls {
  align-items: center;
  color: #FB4E0B;
  display: flex;
  display: flex;
  font-size: 16px;
  font-weight: 500;
  gap: 5px;
  line-height: 18px;
  text-transform: uppercase;
}

.all-events__list.grid-view-list .ae-card__cta, .all-events__list.grid-view-list .ae-badge {
  display: none;
}

.ae-card[hidden],
.ae-empty[hidden],
.all-events__list[hidden] {
  display: none !important;
}

.all-events .pager-nav .pager__items {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 40px 0 0;
    padding: 0;
    text-align: center;
}

.all-events .pager li>a,
.all-events .pager li>span {
    background-color: transparent !important;
    border: 0 !important;
    color: #001632;
    font-size: 16px;
    font-weight: 400;
    padding: 0 !important;
    height: 28px;
    width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.all-events .pager li.pager__item--active a {
    background: linear-gradient(90deg, #001632 0%, #172F50 50%, #384D6A 100%);
    border-radius: 100%;
    color: #ffffff !important;
    height: 28px;
    width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.all-events .pager-nav li > a:hover, .all-events .pager-nav li > span:hover {
    align-items: center;
    background: linear-gradient(90deg, #001632 0%, #172F50 50%, #384D6A 100%);
    border-radius: 100%;
    color: var(--exl-white) !important;
    display: inline-flex;
    font-size: 16px;
    height: 28px;
    justify-content: center;
    padding: 0 !important;
    width: 28px;
}

.all-events .pager-nav li > a:focus, .all-events .pager-nav li > span:focus {
    background: transparent !important;
}

.all-events .pager li.pager__item--first,
.all-events .pager li.pager__item--last {
    display: none !important;
}

.all-events .pager li.pager__item--previous a,
.all-events .pager li.pager__item--next a {
    position: relative;
}

.all-events .pager li.pager__item {
    display: inline-block;
    padding: 0;
    height: auto;
}

.all-events .pager li.pager__item--previous a::before {
    background-position: center;
    background: url(../../images/svg-icons/left-arrow-circle.svg) no-repeat;
    bottom: -5px;
    content: '';
    height: 28px;
    left: 0;
    position: absolute;
    width: 28px;
}

.all-events .pager li.pager__item--next a::before {
    background-position: center;
    background: url(../../images/svg-icons/right-arrow-circle.svg) no-repeat;
    bottom: -5px;
    content: '';
    height: 28px;
    left: 0;
    position: absolute;
    width: 28px;
}

.all-events .pager li.pager__item--next a, .all-events .pager li.pager__item--previous a {
  transition: 0.3s;
}

.all-events .pager li.pager__item--next a:hover, .all-events .pager li.pager__item--previous a:hover {
    background: transparent !important;
    transform: translateX(2px);
}

.all-events .pager li.pager__item--previous a:hover {
    transform: translateX(-2px);
}

.all-events .pager li.pager__item--next a .pager__item-title.pager__item-title--forward {
    display: none;
}

.all-events .pager li.pager__item--previous a .pager__item-title.pager__item-title--backwards {
    display: none;
}

@media (max-width: 1199.98px) {
  .mobile-event-filter .all-types,
  .mobile-event-filter .all-dates, .mobile-event-filter .all-regions {
    min-width: auto;
  }
  .mobile-event-filter {
    justify-content: flex-end;
  }
}

@media (max-width: 991.98px) {
  .all-events {
    padding: 48px 0 56px;
  }

  .ae-card__body {
    padding: 14px 16px;
  }

  .ae-card__cta {
    padding: 0 14px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .ae-cal {
    align-self: center;
  }

  .all-events .exl-shell {
    padding: 0 20px;
  }

  .mobile-event-filter .all-types,
  .mobile-event-filter .all-dates, .mobile-event-filter .all-regions {
    min-width: auto;
  }

  .all-events__list.grid-view-list {
    display: grid !important;
    gap: 20px !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

}

@media (max-width: 767.98px) {
  .all-events {
    padding: 44px 0 44px;
  }

  .all-events .exl-shell {
    padding: 0 20px;
  }

  .all-events__bar {
    height: 2px;
    margin-bottom: 20px;
    width: 68px;
  }

  .all-events__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 24px;
  }

  .all-events__toolbar {
    border: 0;
    padding-bottom: 0;
    margin-bottom: 20px;
  }

  .ae-tab {
    min-width: auto;
    white-space: nowrap;
    width: 100%;
  }

  .ae-select {
    width: 100%;
    height: 36px;
  }

  .ae-card__title {
    font-size: 18px;
    line-height: 18px;
  }

  .ae-card__desc {
    color: #384D6A;
    font-size: 14px;
    line-height: 16px;
    list-style: 16px;
    margin-bottom: 12px;
  }

  .ae-meta {
    gap: 6px 12px;
  }

  .mobile-event-filter {
    display: flex;
  }

  .mobile-event-filter .all-types,
  .mobile-event-filter .all-dates, .mobile-event-filter .all-regions {
    min-width: auto;
  }

  .mobile-event-filter .col-12:first-child, .mobile-event-filter .col-12:last-child {
    width: 50%;
  }
  .mobile-event-filter .col-12:first-child {
    order: 1;
  }
  .mobile-event-filter .col-12:nth-child(2) {
    order: 3;
    width: 100%;
  }
  .mobile-event-filter .col-12:last-child {
    order: 2;
  }

  .ae-card {
    flex-direction: column;
    height: auto;
  }

  .ae-card__media {
    flex: none;
    width: 100%;
    height: 144px;
  }

  .ae-badge {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 58px;
    justify-content: center;
    left: 10px;
    min-width: 40px;
    padding: 8px 10px;
    top: 10px;
  }

  .ae-badge strong {
    font-size: 28px;
    line-height: 30px;
  }

  .ae-badge span {
    font-size: 14px;
    line-height: 16px;
  }

  .ae-card__body {
    padding: 16px 16px 8px;
  }

  .ae-card__cta {
    flex-direction: row;
    align-items: center;
    padding: 8px 16px 16px;
  }

  .ae-card__cta .ae-btn {
    flex: 1;
    height: 38px;
  }

  .ae-cal {
    align-self: auto;
  }
  .all-events__list.grid-view-list {
    display: grid !important;
    gap: 20px !important;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .wmdel-events-tabs {
    margin-bottom: 10px;
    position: relative;
    top: inherit;
  }

}

@media (max-width:576px) {
  .all-events__list.grid-view-list {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(auto-fit, minmax(144px, 1fr));
  }
}