.club-event-card-display {
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition: opacity 0.3s ease;
    max-width: 256px;
    width: 100%;
}

.club-event-card-display.club-event-card-inactive p {
    color: var(--club-text-weak)
}

.club-event-card {
    /* border: 1px solid var(--bb-primary-button-background-regular); */
    border-radius: 15px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto;
    background-color: var(--club-fill);
}

.club-event-card-inactive .club-event-card {
    background-color: var(--club-stroke-weak);
}

.club-event-card-relative {
    position: relative;
}

.club-event-card-block {
    padding: 8px 15px;
    z-index: 1;
}

.club-event-card-grid-2x1 {
    display: grid;
    grid-template-rows: auto auto;
    gap: 5px
}

.club-event-button {
    display: inline-flex;
    margin-left: auto;
}

.club-event-card p {
    margin-bottom: 0px;
    font-size: 12px;
}

.club-event-card p.club-event-title {
    /* make title paragraph always 2 lines long */
    line-height: 1.5;     
    height: calc(2 * 1.5em); 
    overflow: hidden;
    color: #fff !important;
    font-weight: bold !important;
    font-size: 14px;
}

.club-event-vertical-line {
    display: inline-block;
    height: 1em;
    width: 2px;
    background-color: var(--club-stroke-strong);
    border-radius: 1px;
    margin: 0 5px;
}

.club-event-vertical-line.club-event-vertical-line-primary {
    background-color: var(--club-primary);
}

.club-event-vertical-line.club-event-vertical-line-secondary {
    background-color: var(--club-secondary);
}

.club-event-vertical-line.club-event-vertical-line-green {
    background-color: var(--club-success);
}

.club-event-card-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    min-width: 0;
}
 
.club-event-card-detail-col {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.club-event-card-detail-row {
    display: flex;
}

.club-event-card-singleline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.club-event-card-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.club-event-card-detail-item:last-child {
    flex-grow: 1;
}

.club-event-card-thumbnail{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center; 
    background-color: var(--club-stroke-weak);
    filter: brightness(0.4);
}