.elementor-widget-montoport_events_grid {
  width: 100%;
}

.montoport-events-grid {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.montoport-events-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 35px;
  row-gap: 60px;
}

.montoport-events-grid__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.montoport-events-grid__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: transparent;
}

.montoport-events-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}

.montoport-events-grid__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  .montoport-events-grid__body:not(.montoport-events-grid__body--revealed) {
    opacity: 0;
    transform: translateY(24px);
  }
}

.montoport-events-grid__title {
  margin: 0 0 10px;
  color: #2a2a2a;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
}

.montoport-events-grid__text {
  margin: 0;
  color: #6b6b6b;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 325;
  line-height: 20px;
}

.montoport-events-grid__text p {
  margin: 0 0 14px;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.montoport-events-grid__text p:last-child {
  margin-bottom: 0;
}

.montoport-events-grid__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 166px;
  margin-top: 56px;
  padding: 14px 20px;
  border: none;
  border-radius: 0;
  background: #00617f;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: background-color 0.25s ease;
}

a.montoport-events-grid__button {
  background: #00617f !important;
  color: #fff !important;
}

.montoport-events-grid__button:hover,
.montoport-events-grid__button:focus,
a.montoport-events-grid__button:hover,
a.montoport-events-grid__button:focus {
  background: #98a4ae !important;
  color: #fff !important;
}

@media (max-width: 960px) {
  .montoport-events-grid__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .montoport-events-grid__grid {
    grid-template-columns: 1fr;
  }
}
