.epc-event-post-cta {
    --epc-red: #ef4036;
    --epc-red-hot: #ff4d42;
    --epc-bg: #101010;
    --epc-bg-soft: #151515;
    --epc-text: #ffffff;
    --epc-muted: rgba(255, 255, 255, 0.86);
    --epc-faint: rgba(255, 255, 255, 0.58);
    --epc-rule: rgba(255, 255, 255, 0.17);
    --epc-border: #ef4036;
    align-items: stretch;
    background: linear-gradient(135deg, var(--epc-bg) 0%, var(--epc-bg-soft) 100%);
    border: 1px solid var(--epc-border);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38), 0 0 18px rgba(239, 64, 54, 0.08);
    box-sizing: border-box;
    color: var(--epc-text);
    display: grid;
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.2;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
    text-align: left;
    text-shadow: none;
    width: 100%;
}

.epc-event-post-cta::before,
.epc-event-post-cta::after {
    content: none !important;
    display: none !important;
}

.epc-event-post-cta,
.epc-event-post-cta * {
    box-sizing: border-box;
}

.epc-event-post-cta img,
.epc-event-post-cta__image {
    border: 0 !important;
    border-radius: 4px;
    box-shadow: none !important;
    display: block;
    height: 100%;
    margin: 0 !important;
    max-width: none !important;
    object-fit: cover;
    padding: 0 !important;
    width: 100%;
}

.epc-event-post-cta__media picture {
    display: block;
    height: 100%;
    margin: 0;
    width: 100%;
}

.epc-event-post-cta__media noscript {
    display: none !important;
}

.epc-event-post-cta__media {
    align-self: stretch;
    background: #0b0b0b;
    border-radius: 4px;
    min-width: 0;
    overflow: hidden;
}

.epc-event-post-cta__body {
    align-self: center;
    min-width: 0;
    padding: 0;
}

.epc-event-post-cta__eyebrow {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    margin: 0 0 6px;
    padding: 0;
    text-transform: uppercase;
}

.epc-event-post-cta__title {
    color: var(--epc-text) !important;
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-style: normal !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em;
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
}

.epc-event-post-cta__title-highlight {
    color: var(--epc-red);
}

.epc-event-post-cta__details {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.epc-event-post-cta__detail {
    align-items: center;
    color: var(--epc-muted);
    display: flex;
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 500;
    gap: 5px;
    line-height: 1.25;
    margin: 0 !important;
    min-width: 0;
    padding: 0 !important;
}

.epc-event-post-cta__detail-icon {
    background-color: var(--epc-red);
    display: inline-block;
    flex: 0 0 11px;
    height: 11px;
    width: 11px;
}

.epc-event-post-cta__detail--date .epc-event-post-cta__detail-icon {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2Zm13 8H4v10h16V10ZM6 6v2h12V6H6Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2Zm13 8H4v10h16V10ZM6 6v2h12V6H6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.epc-event-post-cta__detail--location .epc-event-post-cta__detail-icon {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.epc-event-post-cta__summary {
    color: rgba(255, 255, 255, 0.86);
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.epc-event-post-cta__summary p {
    margin: 0 !important;
    padding: 0 !important;
}

.epc-event-post-cta__action {
    align-items: center;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
    min-width: 0;
}

.epc-event-post-cta__button {
    align-items: center;
    background: var(--epc-red) !important;
    border: 0 !important;
    border-radius: 4px;
    box-shadow: 0 9px 18px rgba(239, 64, 54, 0.28) !important;
    color: #fff !important;
    display: inline-flex;
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-style: normal !important;
    font-weight: 800 !important;
    gap: 8px;
    justify-content: center;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none !important;
    white-space: nowrap;
}

.epc-event-post-cta__button:visited {
    color: #fff !important;
}

.epc-event-post-cta__button:hover,
.epc-event-post-cta__button:focus {
    background: var(--epc-red-hot) !important;
    color: #fff !important;
    outline: none;
    text-decoration: none !important;
}

.epc-event-post-cta__button-arrow {
    font-size: 1rem;
    line-height: 1;
}

.epc-event-post-cta__url {
    color: var(--epc-faint);
    font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.epc-event-post-cta--normal {
    gap: 16px;
    grid-template-columns: 200px minmax(0, 1fr) 145px;
    margin-bottom: 34px;
    margin-top: 34px;
    max-width: 830px;
    min-height: 240px;
    padding: 10px;
}

.epc-event-post-cta--normal:not(.epc-event-post-cta--has-image) {
    grid-template-columns: minmax(0, 1fr) 145px;
}

.epc-event-post-cta--normal .epc-event-post-cta__media {
    height: 218px;
}

.epc-event-post-cta--normal .epc-event-post-cta__title {
    font-family: Raleway, Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: clamp(25px, 2.15vw, 29px);
    line-height: 1.02;
    margin-bottom: 10px !important;
}

.epc-event-post-cta--normal .epc-event-post-cta__details {
    border-bottom: 1px solid var(--epc-rule);
    display: grid;
    gap: 5px;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}

.epc-event-post-cta--normal .epc-event-post-cta__detail {
    font-size: 12px;
}

.epc-event-post-cta--normal .epc-event-post-cta__summary {
    display: -webkit-box;
    font-size: 11.5px;
    line-height: 1.42;
    max-width: none;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.epc-event-post-cta--normal .epc-event-post-cta__button {
    font-size: 13px;
    min-height: 42px;
    min-width: 120px;
    padding: 0 16px;
}

.epc-event-post-cta--normal .epc-event-post-cta__url {
    font-size: 9px;
    max-width: 136px;
}

.epc-event-post-cta--shortcode {
    gap: 10px;
    grid-template-columns: 112px minmax(0, 1fr) 112px;
    margin-bottom: 20px;
    margin-top: 20px;
    max-width: 680px;
    min-height: 70px;
    padding: 6px;
}

.epc-event-post-cta--shortcode:not(.epc-event-post-cta--has-image) {
    grid-template-columns: minmax(0, 1fr) 112px;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__media {
    height: 58px;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__body {
    padding: 0;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__eyebrow {
    display: none;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__title {
    font-size: clamp(12px, 1.18vw, 14px);
    line-height: 1.1;
    margin-bottom: 5px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__details {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 4px 12px;
    overflow: hidden;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__detail {
    flex: 0 1 auto;
    font-size: 9px;
    gap: 4px;
    white-space: nowrap;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__detail-icon {
    flex-basis: 9px;
    height: 9px;
    width: 9px;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__summary {
    display: none !important;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__button {
    font-size: 10px;
    min-height: 31px;
    min-width: 93px;
    padding: 0 10px;
}

.epc-event-post-cta--shortcode .epc-event-post-cta__url {
    font-size: 8px;
    max-width: 102px;
}

@media (max-width: 760px) {
    .epc-event-post-cta--normal {
        grid-template-columns: 180px minmax(0, 1fr) 128px;
        max-width: 100%;
        min-height: 204px;
    }

    .epc-event-post-cta--normal .epc-event-post-cta__media {
        height: 182px;
    }

    .epc-event-post-cta--normal .epc-event-post-cta__title {
        font-size: 23px;
    }

    .epc-event-post-cta--shortcode {
        grid-template-columns: 100px minmax(0, 1fr) 104px;
        max-width: 100%;
    }

    .epc-event-post-cta--shortcode .epc-event-post-cta__media {
        height: 54px;
    }
}

@media (max-width: 620px) {
    .epc-event-post-cta--normal,
    .epc-event-post-cta--normal:not(.epc-event-post-cta--has-image) {
        gap: 12px;
        grid-template-columns: 160px minmax(0, 1fr);
        min-height: 0;
        padding: 8px;
    }

    .epc-event-post-cta--normal .epc-event-post-cta__media {
        height: 154px;
    }

    .epc-event-post-cta--normal .epc-event-post-cta__action {
        align-items: flex-start;
        grid-column: 2;
    }

    .epc-event-post-cta--normal .epc-event-post-cta__url {
        text-align: left;
    }

    .epc-event-post-cta--shortcode,
    .epc-event-post-cta--shortcode:not(.epc-event-post-cta--has-image) {
        grid-template-columns: 94px minmax(0, 1fr);
        padding: 6px;
    }

    .epc-event-post-cta--shortcode .epc-event-post-cta__media {
        height: 54px;
    }

    .epc-event-post-cta--shortcode .epc-event-post-cta__action {
        align-items: flex-start;
        grid-column: 2;
    }

    .epc-event-post-cta--shortcode .epc-event-post-cta__url {
        text-align: left;
    }

    .epc-event-post-cta--shortcode .epc-event-post-cta__details {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .epc-event-post-cta--normal,
    .epc-event-post-cta--shortcode,
    .epc-event-post-cta--normal:not(.epc-event-post-cta--has-image),
    .epc-event-post-cta--shortcode:not(.epc-event-post-cta--has-image) {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .epc-event-post-cta--normal .epc-event-post-cta__media,
    .epc-event-post-cta--shortcode .epc-event-post-cta__media {
        height: auto;
    }

    .epc-event-post-cta--normal .epc-event-post-cta__image,
    .epc-event-post-cta--shortcode .epc-event-post-cta__image {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .epc-event-post-cta__action {
        align-items: flex-start;
        grid-column: auto;
    }

    .epc-event-post-cta__url {
        text-align: left;
    }

    .epc-event-post-cta--shortcode .epc-event-post-cta__title {
        white-space: normal;
    }
}
