.aim-events-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}

.aim-events-grid>.aim-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 250px;
  width: 250px;
  max-width: 250px;
  margin: 0 !important;
}

.aim-events-grid p {
  margin-bottom: 0px !important;
}

@media (max-width: 360px) {
  .aim-events-grid>.aim-card {
    flex-basis: 240px;
    width: 240px;
    max-width: 240px;
  }
}

.aim-body h3 {
  color: rgb(7, 41, 90) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  margin-bottom: 0px !important;
}

.property {
  display: flex;
  gap: 4px;
  align-items: center;
}

.aim-card {
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.aim-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.aim-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.aim-load-more-wrap button {
  background: rgb(30, 112, 234);
  border-radius: 16px 0 16px 0;
  padding: 8px 24px;
  font-size: 16px;
  color: white;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  border: none;
}

.aim-events-grid>.aim-card .aim-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.aim-events-grid>.aim-card .aim-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

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

.aim-badge-1 {
  background: #2b63f1;
  color: #fff;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 12px
}

.aim-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: #2b63f1;
  color: #fff;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 12px
}

.aim-thumb {
  border-radius: 16px 0 16px 0;

}

.aim-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.aim-gallery .aim-media {
  width: calc(33.333% - 11px);
  min-height: 200px;
  max-height: 200px;
  height: 200px;
}

.aim-gallery img {
  height: 100% !important;
  width: 100% !important;
}

@media (max-width: 1024px) {
  .aim-gallery .aim-media {
    width: calc(50% - 8px);
  }
}

@media (max-width: 640px) {
  .aim-gallery .aim-media {
    width: 100%;
  }
}

.aim-gallery img,
.aim-gallery video {
  width: 100%;
  max-height: 200px;
  display: block;
  object-fit: cover;
  border-radius: 16px 0 16px 0;
}