@import url("../snowfall.css");
@import url("../lib/content.css");

.event-by-venue {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem;
    width: calc(100% - 2rem);
}

.event-by-venue:not(:last-child) {
    border-bottom: solid 1px var(--gray);
}

.gallery {
    justify-content: space-between;
}

.event {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 1rem;
    padding: 0;
    width: calc(300px - 2rem);
    border-radius: 8px;
    border: solid 1px var(--shadow-color);
    box-shadow: 1px 2px 4px var(--shadow-color);
}

a.event, a.event:link, a.event:visited, a.event:hover {
    color: unset;
    text-decoration: none;
}

a.event:visited {
    border-color: var(--light-brand-color);
}

a.event:hover {
    box-shadow: 2px 4px 8px var(--shadow-color);
}

.event-poster {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.event-poster img {
    width: 100%;
    object-fit: contain;
    border-radius: 8px 8px 0 0;
}

.event-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0.75rem;
    width: calc(100% - 1.5rem);
}


.event-info ul {
    list-style: none;
    height: 5.5rem;
    overflow-x: scroll;
    width: 100%;
    margin: 1rem 0;
}

.event-info .meta {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
}

.event-info span.meta-label {
    width: auto;
}

.event-info span.meta-value {
    opacity: 0.7;
}

.event h3 {
    font-size: 1rem;
    margin: 0;
    padding: 0;
    font-weight: 800;
    text-align: start;
}

.event .synopsis {
    display: block;
    display: -webkit-box;
    font-size: 1rem;
    width: 100%;
    margin: 0 0 0.5rem 0;
    line-height: 1.25rem;
    height: 3.75rem;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 25px;
    width: 100%;
    margin: 0.25rem 0 1rem 0;
}

.event-icons img {
    height: 100%;
    object-fit: contain;
    margin: 0 5px;
    opacity: 0.5;
}
