.cpf-events-list {
    width: 100%;
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: normal;
}

.cpf-events-list__items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cpf-event-card {
    padding: 67px 0 46px;
}

.cpf-event-card__divider {
    display: block;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 15px 0 0;
    border: 0;
    border-top: 1px solid #b3b3b3;
    background: none;
    opacity: 1;
}

/* Elementor divider widgets: force visible lines when border-style var resolves to none */
.elementor-widget-divider:not(.elementor-widget-divider--view-line_text):not(.elementor-widget-divider--view-line_icon) .elementor-divider-separator {
    border-block-start: var(--divider-border-width, 1px) solid var(--divider-color, #b3b3b3);
}

.cpf-event-card__grid {
    display: grid;
    grid-template-columns: 30.965% 69.035%;
    column-gap: 0;
    align-items: start;
}

.cpf-event-card__media,
.cpf-event-card__body {
    padding: 10px;
}

.cpf-event-card__media img {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.cpf-event-card__image-link {
    display: inline-block;
    line-height: 0;
}

.cpf-event-card .elementor-heading-title {
    margin: 0;
}

.cpf-event-card__title,
.cpf-event-card__subtitle {
    margin: 0;
    font-family: "Georgia", sans-serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    letter-spacing: normal;
}

.cpf-event-card__body > .cpf-event-card__title,
.cpf-event-card__body > .cpf-event-card__subtitle,
.cpf-event-card__body > .cpf-event-card__meta,
.cpf-event-card__body > .cpf-event-card__description,
.cpf-event-card__body > .elementor-button-wrapper {
    margin-bottom: 20px;
}

.cpf-event-card__body > :last-child {
    margin-bottom: 0;
}

.cpf-event-card__title:has(+ .cpf-event-card__subtitle) {
    margin-bottom: 4px;
}

.cpf-event-card__meta {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 2.1em;
    letter-spacing: 0.7px;
}

.cpf-event-card__description {
    font-family: "Roboto", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.7px;
    margin-right: 10px;
    text-align: left;
}

.cpf-event-card__meta p,
.cpf-event-card__description p {
    margin-top: 0;
    margin-bottom: 14.4px;
}

.cpf-event-card .elementor-button-wrapper {
    margin-top: 0;
}

.cpf-event-card__button.elementor-button {
    border-radius: 3px;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: normal;
    padding: 12px 24px;
    text-decoration: none;
    text-transform: none;
}

.cpf-event-card--upcoming .cpf-event-card__grid {
    background: #f3f3f3;
    border: 1px solid rgba(215, 215, 215, 0.6);
}

.cpf-event-card--upcoming .cpf-event-card__media,
.cpf-event-card--upcoming .cpf-event-card__body {
    background: #f3f3f3;
}

.cpf-event-card--upcoming .cpf-event-card__body {
    padding: 20px 20px 20px 0;
}

.cpf-event-card--upcoming .cpf-event-card__title,
.cpf-event-card--upcoming .cpf-event-card__subtitle,
.cpf-event-card--upcoming .cpf-event-card__meta,
.cpf-event-card--upcoming .cpf-event-card__description {
    color: #7a7a7a;
}

.cpf-event-card--upcoming .cpf-event-card__button.elementor-button {
    background-color: #92d204;
    border: 0;
    color: #fff;
    fill: #fff;
}

.cpf-event-card--upcoming .cpf-event-card__button.elementor-button:hover,
.cpf-event-card--upcoming .cpf-event-card__button.elementor-button:focus {
    background-color: #747474;
    color: #fff;
    fill: #fff;
}

.cpf-events-list--ondemand {
    background-color: #3f3c3c;
}

.cpf-events-list--ondemand .cpf-event-card {
    padding: 67px 0 46px;
}

.cpf-events-list--ondemand .cpf-event-card__title {
    color: #fff;
}

.cpf-events-list--ondemand .cpf-event-card__subtitle {
    color: #90d500;
}

.cpf-events-list--ondemand .cpf-event-card__meta {
    color: #fff;
    letter-spacing: 0.7px;
}

.cpf-events-list--ondemand .cpf-event-card__description {
    color: #fff;
    letter-spacing: 0.7px;
}

.cpf-events-list--ondemand .cpf-event-card__button.elementor-button {
    background-color: #92d20400;
    border: 1px solid #fff;
    border-style: solid;
    color: #fff;
    fill: #fff;
}

.cpf-events-list--ondemand .cpf-event-card__button.elementor-button:hover,
.cpf-events-list--ondemand .cpf-event-card__button.elementor-button:focus {
    background-color: #74747400;
    border-color: #92d204;
    color: #92d204;
    fill: #92d204;
}

.cpf-events-empty__divider {
    border-top: 1px solid #b3b3b3;
    margin: 0;
    padding: 15px 0;
}

.cpf-events-empty__title {
    margin: 0 0 24px;
    font-family: "Georgia", serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    color: #7a7a7a;
}

.cpf-events-empty__form {
    margin-bottom: 0;
}

.cpf-events-upcoming-footer__divider {
    border-top: 1px solid #b3b3b3;
}

.cpf-events-upcoming-footer__spacer {
    height: 50px;
}

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

    .cpf-event-card--upcoming .cpf-event-card__body,
    .cpf-event-card--ondemand .cpf-event-card__body {
        padding: 20px 0 0;
    }

    .cpf-event-card__description {
        margin-right: 0;
    }
}
