/* Explicitly scope Brooklyn's grid layout rules to the event cards. */
.tob-events { margin: 0 0 64px; }
.tob-events-heading { margin-bottom: 28px; }
.tob-events .tob-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.tob-events .tob-event-grid > .tob-event-card {
    float: none;
    clear: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.tob-events .entry-thumbnail { position: relative; }
.tob-events .tob-event-card .ut-blog-grid-article-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.tob-events .tob-event-card .ut-post-thumbnail {
    margin: 0 !important;
    flex: 0 0 auto;
}
.tob-events .tob-event-card .entry-thumbnail > a:first-child {
    display: block;
    line-height: 0;
}
.tob-events .ut-post-thumbnail-caption-wrap { margin: 0; }
.tob-events .tob-event-card .tob-event-date-link {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 10;
    display: block;
    margin: 0;
    padding: 0;
    width: 110px;
    line-height: normal;
}
.tob-events .tob-event-card .date-format {
    position: static !important;
    display: block;
    float: none;
    margin: 0 !important;
    padding: 20px 12px !important;
    width: 100%;
    box-sizing: border-box;
    border: 0 !important;
    background: #191c20;
    color: #fff;
    text-align: center;
    font-family: inherit !important;
}
.tob-events .tob-event-card .date-format .day {
    display: block;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
}
.tob-events .tob-event-card .date-format .month {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
}
.tob-events .tob-event-card .ut-blog-link { display: block; }
.tob-events .tob-event-card .ut-blog-grid-content-wrap {
    display: block;
    margin: 0;
    padding: 40px 40px 10px;
    width: 100%;
    box-sizing: border-box;
}
.tob-events .tob-event-card .entry-header { margin: 0; padding: 0; }
.tob-events .tob-event-card .entry-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.tob-events img.tob-event-image,
.tob-events .tob-event-placeholder {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    object-fit: cover;
}
.tob-events .tob-event-placeholder { background: rgba(128,128,128,.15); }
.tob-events .tob-event-pagination { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.tob-events .tob-event-pagination .page-numbers { padding: 6px 10px; }
.tob-events .tob-event-pagination .current { font-weight: bold; text-decoration: underline; }
@media (max-width: 1024px) {
    .tob-events .tob-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .tob-events .tob-event-grid { grid-template-columns: minmax(0, 1fr); }
}
