.onp_events-container {
}
.onp_events {
    max-width: calc(3 * 300px + 2 * 24px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.onp_event {
    overflow: hidden;
    flex: 1 1 calc(100% - 48px);
    min-width: 280px;
    cursor: pointer;
    border: 2px solid rgb(245, 245, 245)
}
.onp_event-dummy {
    border: none !important;
    height: 0 !important;
}
.onp_event a {
    text-decoration: unset;
}
.onp_event p {
    margin-top: 0;
    margin-bottom: .5em;
    line-height: 1.2;
}
.onp_event-content {
    max-height: 150px;
    overflow: hidden;
    position: relative;
    background: white;
    padding: 12px;
}
.onp_event-content::before {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 40px;
    background-image: linear-gradient(hsla(0,0%,100%,0),#fff 55%);
}
.onp_event-content::after {
    content: "...";
    position: absolute;
    z-index: 2;
    top: 130px;
    left: 12;
    letter-spacing: 2px;
    opacity: .5;
}
.onp_event.onp_event-active {
    cursor: auto;
    flex: 1 1 calc(100% - 48px);
    border-radius: 2px;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.06);
}
.onp_event-active .onp_event-content {
    max-height: none;
    /* padding: 0 12px 12px; */
}
.onp_event-active .onp_event-content::before {
    content: none;
}
.onp_event-active .onp_event-content::after {
    content: none;
}
.onp_event-title {
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: .5em;
    color: var(--onp-events-color-primary);
}
.onp_event-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.onp_event-description {
    font-size: .95rem;
    overflow: hidden;
    position: relative;
    /* text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical; */
}
.onp_event-info {
    /* display: none; */
    opacity: 0;
    margin-top: .5em;
    font-size: .95rem;
    /* font-weight: bold; */
}
.onp_event-info > p > span {
    font-weight: bold;
}
.onp_event-active .onp_event-info {
    opacity: 1;
}
.onp_event-link {
    /* text-decoration: underline; */
    font-weight: bold;
    color: var(--onp-events-color-primary);
}

@media (min-width: 600px) {
    .onp_event {
        flex: 1 1 calc(50% - 48px);
    }
}

@media (min-width: 900px) {
    .onp_event {
        flex: 1 1 calc(33.33% - 48px);
    }
}