.block-new-event-list > .row.events {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
.block-new-event-list .event {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: 477px;
  column-gap: 16px;
  padding: 0 16px;
  box-sizing: border-box;
  cursor: pointer;
}
.block-new-event-list .event + .event {
  border-top: 1px solid var(--jct-black);
}
.block-new-event-list .event-image {
  grid-column: 1 / 3;
  grid-row: 1;
  height: 100%;
  margin-left: -16px;
  width: calc(100% + 16px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.block-new-event-list .event-content {
  display: contents;
}
.block-new-event-list .event-title {
  grid-column: 3 / 8;
  grid-row: 1;
  align-self: start;
  margin: 16px 0 0;
  padding: 0;
}
.block-new-event-list .event-details {
  grid-column: 3 / 7;
  grid-row: 1;
  align-self: end;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  font: var(--body2);
}
.block-new-event-list .event-links {
  grid-column: 8 / 9;
  grid-row: 1;
  align-self: end;
  display: flex;
  flex-direction: column;
}
.block-new-event-list .event a {
  color: currentColor;
}
.block-new-event-list .event-links a {
  width: calc(100% + 16px);
  margin-right: -16px;
  padding-right: 16px;
  box-sizing: border-box;
  border-top: 1px solid var(--jct-black);
  background: var(--jct-white);
  color: var(--jct-black);
  transition: background 0.2s, color 0.2s, border-top-color 0.2s;
}
.block-new-event-list .event-links a:hover {
  background: var(--jct-black);
  color: var(--jct-white);
  border-top-color: var(--jct-white);
}
.block-new-event-list .event-style-jct,
.block-new-event-list .event-style-flame,
.block-new-event-list .event-style-tjo,
.block-new-event-list .event-style-tjf {
  background: var(--jct-white);
  color: var(--jct-black);
  transition: background 0.2s, color 0.2s;
}
.block-new-event-list .event-style-flame:hover {
  background: var(--fj-brown);
  color: var(--fj-orange);
}
.block-new-event-list .event-style-tjo:hover {
  background: var(--tjo-blue);
  color: var(--jct-black);
}
.block-new-event-list .event-style-tjf:hover {
  background: var(--tjo-lightblue);
  color: var(--tjo-olive);
}
@media (max-width: 1024px) {
  .block-new-event-list .event {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 299px;
  }
  .block-new-event-list .event-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    grid-column: 3 / 5;
    grid-row: 1;
    height: 100%;
  }
  .block-new-event-list .event-title,
  .block-new-event-list .event-details,
  .block-new-event-list .event-links {
    align-self: auto;
  }
  .block-new-event-list .event-title {
    font: var(--h4);
    margin: 12px 0 0;
  }
  .block-new-event-list .event-details {
    font: var(--body4);
  }
}
