
/* breweries styles */
.breweries {
    padding: 0.5rem;
    /*max-height: 370px;*/
     overflow-x: hidden;
}

.breweries > ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-gap: 1rem;
}

.breweries  > ul > li  {
    border: 1px solid #E2E2E2;
    border-radius: .5rem;
}

.breweries > ul > li >  figure {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.breweries > ul > li > figure > img {
    width: 100%;
}

.breweries > ul > li >  figure > figcaption {
    position: absolute;
    bottom: 0;
    background-color: rgba(0,0,0,.7);
    width: 100%;
}

.breweries  > ul > li >  figure > figcaption > h3 {
    color: white;
    padding: .75rem;
    font-size: 1.25rem;
}

.resource-card {
    background-color: #fff;
    border: 1px solid #E8EDF8;
    border-radius: 8px!important;
    filter: drop-shadow(1px 2px 6px rgba(3, 24, 64, 0.04));
}

.resource-card:hover {
    border-color: #3273C5;
    border-width: 1px;
}
.resource-card:hover a {
    color: #3273C5!important;
}
.resource-card a {
    color:#000!important;
    font-weight: 600;
    text-decoration: none;
}


.resource-card .event_footer {
    overflow: hidden;
    line-height: 1.2em;
    background-color: transparent!important;
    font-size: 0.9em;
}

.event_title {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height:2.4em; /* exactly 2 lines */
    line-height: 1.2em;
    font-weight: 500;
    font-size: 1em;
}
.event_subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
    font-size: 0.95em;
    font-style: italic;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 4px;
    padding-bottom: 0;
}

.resource_subtitle {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.6em; /* exactly three lines */
    line-height: 1.2em;
}
.event_category {
    font-size: 0.95em;
    font-weight: 400;
}
.event_views {
    color: #7E9CD8;
}

.resource-thumb {

    width: 186px;
    height:90px;

}
figure {
    margin: 0 auto;
    border-bottom: #005ba3 4px solid;
}
