﻿.event-card {
    border-radius: var(--bs-border-radius-lg) !important;
    min-height: 280px;
}

.event-card-header {
    height: auto;
    padding: 0 !important;
    background-color: transparent !important;
}

.event-card strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.event-grid wa-card::part(header) {
    padding: 0 !important;
    border-style: solid !important;
    border-radius: 0.3rem !important;
    border-bottom-left-radius: 0rem !important;
    border-bottom-right-radius: 0rem !important;
    border-bottom-color: transparent !important;
    border-width: 1px !important;
    border-color: var(--outlined-border-color) !important;
}

.event-grid wa-card::part(footer) {
    padding: 10px !important;
    margin-top: auto;
}

.event-grid wa-card::part(body) {
    padding: 5px !important;
}

.open-event-btn {
    height: 2.5rem;
    margin-top:auto;
    max-width:85%;
}

.card-body-layout {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-type-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    cursor:inherit;
    font-size: 1.25rem;
    padding: 4px 8px;
}

.event-card-image {
    width: 100%;
    height: 60px;
    object-fit: none;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}