body.events #main-content:has(.epf-event-information) {
    background: #f6fdff !important;
}

#main-content .epf-event-design.et_pb_section {
    padding: 76px 0 84px;
    background: #f6fdff;
    color: #173e39;
}

.epf-event-design .et_pb_row {
    width: 90%;
    max-width: 1180px;
    padding: 0;
}

.epf-event-design .et_pb_column .et_pb_module {
    margin-bottom: 0;
}

.epf-event-design .et_pb_text {
    color: #173e39;
    font-size: 18px;
    line-height: 1.6;
}

.epf-event-design .et_pb_module.epf-event-kicker {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-align: center;
}

.epf-event-kicker::before {
    content: "";
    display: block;
    width: 48px;
    height: 8px;
    margin: 0 auto 28px;
    background: #36b5cd;
    transform: rotate(-8deg);
}

.epf-event-information,
.epf-event-information *,
.epf-event-information *::before,
.epf-event-information *::after {
    box-sizing: border-box;
}

section.epf-event-information {
    color: #173e39;
    overflow-wrap: anywhere;
}

section.epf-event-information h2 {
    padding: 0;
    margin: 0 0 32px;
    color: #173e39;
    font-size: clamp(38px, 4.8vw, 66px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.epf-event-design .epf-event-information h2 {
    text-align: center;
}

section.epf-event-information .epf-event-meta {
    flex-direction: row;
    gap: 20px 40px;
    padding: 28px 32px;
    margin: 0 0 32px;
    border: 1px solid #c8d8d0;
    background: #fffdf0;
}

.epf-event-information .epf-event-meta p {
    padding: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.epf-event-information .epf-event-meta .epf-event-to-be-confirmed {
    align-self: flex-end;
}

.epf-event-information .epf-event-meta .epf-event-fee {
    margin-top: 0;
}

.epf-event-information .epf-event-tickets {
    flex: 0 0 100%;
    padding-top: 4px;
    font-size: 16px;
    line-height: 1.6;
}

.epf-event-information .epf-event-tickets p {
    padding: 0;
    margin: 0;
}

.epf-event-information .epf-event-meta strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.epf-event-information .epf-event-meta time {
    color: #173e39;
    font-weight: 400;
}

section.epf-event-information .epf-event-details {
    padding: 32px;
    margin: 0 0 32px;
    border: 1px solid #c8d8d0;
    background: #fff;
}

.epf-event-information .epf-event-details > .event-thumb {
    border-radius: 10px;
}

.epf-event-information .epf-event-details-text {
    color: #000;
    font-size: 18px;
    line-height: 1.6;
}

.epf-event-information .epf-event-details-text p {
    padding: 0;
    margin: 0 0 20px;
}

.epf-event-information .epf-event-details-text > :last-child {
    margin-bottom: 0;
}

.epf-event-information .epf-event-details-text a {
    color: #173e39;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.epf-event-information nav.epf-event-calendar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 28px 32px;
    border: 1px solid #aecab3;
    background: #def0df;
}

.epf-event-information .epf-event-calendar > strong {
    flex-basis: 100%;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.epf-event-information .epf-event-calendar > span[aria-hidden] {
    display: none;
}

.epf-event-information .epf-event-calendar a {
    max-width: 100%;
    padding: 12px 22px;
    border: 1px solid #a8c0b9;
    border-radius: 0;
    background: #fffdf0;
    color: #173e39;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

.epf-event-information .epf-event-calendar a:hover,
.epf-event-information .epf-event-calendar a:focus-visible {
    background: #d8f0f4;
    color: #173e39;
}

section.epf-event-information .epf-event-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 560px;
    margin: 32px auto 0;
    padding: 0;
}

.epf-event-information .epf-event-nav a {
    flex: 1 1 0;
    max-width: 100%;
    padding: 12px 22px;
    border: 1px solid #a8c0b9;
    border-radius: 0;
    background: #fffdf0;
    color: #173e39;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
}

.epf-event-information .epf-event-nav a:hover,
.epf-event-information .epf-event-nav a:focus-visible {
    background: #d8f0f4;
    color: #173e39;
}

.epf-event-information a:focus-visible {
    outline: 3px solid #173e39;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    section.epf-event-information .epf-event-nav {
        flex-direction: column;
        gap: 8px;
    }

    #main-content .epf-event-design.et_pb_section {
        padding: 38px 0 44px;
    }

    section.epf-event-information .epf-event-meta {
        flex-direction: column;
        gap: 16px;
        padding: 24px 18px;
    }

    .epf-event-information .epf-event-meta .epf-event-to-be-confirmed {
        align-self: flex-start;
    }

    section.epf-event-information .epf-event-details,
    .epf-event-information nav.epf-event-calendar {
        padding: 24px 18px;
    }
}

/* The details row now carries up to five items plus the ticket lines, so the
   whole event information section is set to 16px to keep it tight on small
   screens. */
.epf-event-design .et_pb_text,
section.epf-event-information,
.epf-event-information .epf-event-meta p,
.epf-event-information .epf-event-details-text,
.epf-event-information .epf-event-tickets {
    font-size: 16px;
}

section.epf-event-information h2 {
    font-size: clamp(34px, 4.4vw, 56px);
}
