.event-page-banner {
    background-position: center center;
    background-size: cover;
}

.event-content-wrap {
    min-height: 320px;
}

.event-main-col {
    border-right: 1px solid #ccc;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.event-grid .card {
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.event-grid .grid-item.event-grid-item {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    margin-bottom: 0;
    min-height: 0;
}

.event-grid .grid-item-inner {
    position: relative;
    border: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.event-grid .upcoming {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4136;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    z-index: 1;
}

.event-card-media {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* Override global .event-content { height: 140px } — it left empty space + a visible band under the title */
.event-grid .grid-item-content.event-content {
    padding: 14px 16px 16px;
    flex: 1 1 auto;
    display: block;
    min-height: 120px;
    height: auto !important;
    border-top: 0;
    overflow: hidden;
}

/* Override global .event-grid-item h3 { min-height: 65px } — extra reserved height looked like a line/gap under short titles */
.event-grid .event-grid-item h3.event-card-title {
    min-height: 0;
    margin-bottom: 0;
}

.event-card-title {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 21px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0;
}

.event-card-title a {
    color: #303239;
}

.event-card-title a:hover {
    color: #ef4136;
}

.event-grid .card .event-date {
    display: block;
    margin-bottom: 5px;
    float: left;
    margin-right: 15px;
    padding: 8px;
    color: #fff;
    /* width: 95px; */
    text-align: center;
    font-family: 'Dosis', sans-serif;
    background: #ef4136;
}

.event-grid .card .event-date .date {
    font-size: 30px;
    line-height: 34px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.event-grid .card .event-date .month,
.event-grid .card .event-date .year {
    text-transform: uppercase;
    display: block;
    line-height: 16px;
    font-size: 12px;
}

.event-grid .card .meta-data {
    font-size: 12px;
    line-height: 15px;
    /* color: #9c9c9c; */
    text-transform: uppercase;
    letter-spacing: 0;
}

.event-pagination-wrap {
    margin-top: 28px;
}

.event-pagination > li > a {
    color: #0381bb;
}

.event-pagination > .active > a,
.event-pagination > .active > span {
    background-color: #ef4136;
    border-color: #ef4136;
}

.event-empty-state {
    padding: 20px 0;
}

.article-category-rhs {
    padding-top: 10px;
}

.article-category-rhs video {
    width: 100%;
    height: auto;
    min-height: 320px;
}

.article-category-join {
    padding-top: 40px;
    text-align: center;
}

.article-category-join .form-group {
    margin-top: 15px;
    position: relative;
}

.article-category-join .cta {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
}

.article-category-join .form-control {
    border: 1px solid #c2c2c2;
    border-radius: 50px;
    font-size: 15px;
    height: 48px;
    margin-bottom: 0;
    padding: 10px 150px 10px 18px;
    width: 100%;
}

.article-category-join .btn-primary-join {
    background-color: #ef4136;
    border: 1px solid transparent;
    border-radius: 50px;
    bottom: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1;
    min-width: 112px;
    padding: 13px 12px;
    position: absolute;
    right: 5px;
    text-decoration: none;
    text-transform: uppercase;
}

.article-category-join .btn-primary-join:hover,
.article-category-join .btn-primary-join:focus {
    color: #fff;
    background-color: #d83b31;
}

.article-category-join .join-benefit-highlight {
    color: #ef4136;
    font-weight: 600;
}

.article-category-join h4 {
    color: #333;
    font-size: 18px;
    letter-spacing: 5px;
    line-height: 1.45;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.article-category-join .join-results-msg {
    color: green;
}

.article-category-join .join-error-msg {
    color: red;
    margin-top: 8px;
}

.article-category-join .load_image_outer {
    margin-top: 8px;
}

@media (max-width: 991px) {
    .event-main-col {
        border-right: 0;
    }

    .event-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .article-category-rhs {
        margin-top: 24px;
    }

    .event-grid .card .event-date {
        width: 72px;
        margin-right: 12px;
        padding: 6px;
    }

    .event-grid .card .event-date .date { font-size: 24px; line-height: 28px; }
    .event-grid .card .event-date .month,
    .event-grid .card .event-date .year { font-size: 11px; line-height: 14px; }
    .event-grid .card .meta-data { font-size: 13px; line-height: 16px; }
    .event-card-title { font-size: 14px; line-height: 20px; }

    .article-category-join .form-control {
        height: 46px;
        padding-right: 136px;
    }

    .article-category-join .btn-primary-join {
        min-width: 104px;
        padding: 12px 10px;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .article-category-join .form-control {
        padding-right: 122px;
        font-size: 14px;
    }

    .article-category-join .btn-primary-join {
        min-width: 92px;
        right: 4px;
        bottom: 4px;
        padding: 11px 8px;
        font-size: 10px;
    }
}

