.px-events {
  position: relative;
  width: var(--baseWidth);
  max-width: var(--maxWidth, 1504px);
  margin-left: auto;
  margin-right: auto;
}
.px-events__grid > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1111111111rem, 0.8264811301rem + 1.1385199241vw, 1.7777777778rem);
}
@media all and (max-width: 1024px) {
  .px-events__grid > div {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media all and (max-width: 640px) {
  .px-events__grid > div {
    grid-template-columns: 1fr;
  }
}
.px-events__grid > div > * {
  min-width: 0;
}
.px-events__actions {
  display: none;
  justify-content: center;
  margin-top: clamp(1.5555555556rem, 1.2709255745rem + 1.1385199241vw, 2.2222222222rem);
}
.px-events.has-more .px-events__actions {
  display: flex;
}
.px-events__more {
  display: inline-block;
  width: auto;
  padding: 16px 40px;
  border: none;
  background: var(--second-color);
  font-weight: 500;
  border-radius: 10px;
  text-decoration: none;
  color: var(--fontColor);
  transition: var(--baseTransition);
  cursor: pointer;
  font-size: inherit;
  line-height: inherit;
}
.px-events__more:hover, .px-events__more:focus, .px-events__more:focus-visible {
  opacity: 1;
  color: #fff;
  outline: none;
  background: var(--main-color);
}

.px-event {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  color: var(--main-color, #14285a);
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.15);
  transition: var(--baseTransition);
}
.px-event.is-hidden {
  display: none !important;
}
.px-event.has-link:hover, .px-event.has-link:focus-within {
  transform: translateY(-3px);
  box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.18);
}
.editor-styles-wrapper .px-event.has-link:hover, .editor-styles-wrapper .px-event.has-link:focus-within {
  transform: none;
}
.px-event__stretched-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
  background: transparent;
}
.px-event__stretched-link:focus-visible {
  outline: 2px solid var(--buttonColor, #00afdd);
  outline-offset: -4px;
  border-radius: inherit;
}
.px-event__media {
  position: relative;
  width: 100%;
  height: clamp(11.1111111111rem, 9.9251528568rem + 4.7438330171vw, 13.8888888889rem);
  overflow: hidden;
  background: var(--colorGrayVeryLight, #f2f2f2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.px-event__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.px-event__date {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  min-width: 56px;
  padding: 8px 10px 6px;
  background: var(--main-color, #14285a);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18);
}
.px-event__date--in-body {
  position: relative;
  top: auto;
  left: auto;
  align-self: flex-start;
  margin: 0 0 10px;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.12);
}
.px-event__date-day {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
}
.px-event__date-month {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  margin-top: 2px;
  opacity: 0.9;
}
.px-event__body {
  padding: clamp(1.1111111111rem, 0.9687961206rem + 0.569259962vw, 1.4444444444rem);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.px-event__subtitle {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--buttonColor, #00afdd);
  margin: 0 0 4px;
}
.px-event__title {
  font-size: 25px;
  font-weight: 700;
  color: var(--main-color, #14285a);
  margin: 0 0 8px;
  line-height: 1.25;
}
.px-event__meta {
  margin-top: auto;
  color: var(--colorGrayDark, #404040);
}

.editor-styles-wrapper .px-events__grid > div {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
}
@media all and (max-width: 1024px) {
  .editor-styles-wrapper .px-events__grid > div {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media all and (max-width: 640px) {
  .editor-styles-wrapper .px-events__grid > div {
    grid-template-columns: 1fr !important;
  }
}
.editor-styles-wrapper .px-events__grid > div > * {
  min-width: 0;
}
.editor-styles-wrapper .px-events__actions {
  display: none !important;
}
.editor-styles-wrapper .px-event.is-hidden {
  display: flex !important;
  opacity: 0.5;
}
.editor-styles-wrapper .px-event__stretched-link {
  pointer-events: none;
  display: none;
}

.wp-block-columns .px-events,
.px-frame-layout .px-events,
.accordion-content .px-events,
.tab_wrapper .px-events {
  width: 100%;
}