.boms-ek {
    --boms-ek-ink: #111;
    --boms-ek-muted: #4a4a4a;
    --boms-ek-card: #fff;
    --boms-ek-well: #f3f3f3;
    --boms-ek-gap: 2.25rem;
    color: var(--boms-ek-ink);
    background: var(--boms-ek-well);
    padding: 0.25rem 0 1.5rem;
}

.boms-ek-month {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin: 2rem 0 0.9rem;
    padding: 0;
    border: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.boms-ek-month:first-child,
.boms-ek-month:first-of-type {
    margin-top: 0;
}

.boms-ek-month::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: currentColor;
}

.boms-ek--layout-cards .boms-ek-item {
    display: grid;
    grid-template-columns: 2fr 8fr;
    column-gap: var(--boms-ek-gap);
    row-gap: 0.85rem;
    align-items: start;
    margin: 0 0 0.85rem;
    padding: 1.15rem 1.35rem;
    background: var(--boms-ek-card);
    border-radius: 1.15rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}

.boms-ek--layout-cards .boms-ek-item.has-image {
    grid-template-columns: 2fr 5fr 3fr;
}

.boms-ek-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 0.9;
    text-transform: uppercase;
}

.boms-ek-day {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.boms-ek-mon {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.boms-ek-body {
    min-width: 0;
}

.boms-ek-title {
    font: inherit;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 0 0 0.2rem;
    color: var(--e-global-color-secondary, inherit);
}

.boms-ek-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--boms-ek-muted);
    margin: 0 0 0.35rem;
}

.boms-ek-location::before {
    content: "·";
    margin-right: 0.5rem;
}

.boms-ek-description {
    font-size: 0.95rem;
    color: var(--boms-ek-muted);
}

.boms-ek-description p {
    margin: 0 0 0.4rem;
}

.boms-ek-description p:last-child {
    margin-bottom: 0;
}

.boms-ek-link {
    display: inline-block;
    margin-top: 0.65rem;
    color: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.boms-ek-link:hover,
.boms-ek-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.boms-ek-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.boms-ek-empty {
    padding: 1.25rem 0;
}

.boms-ek-item > .boms-ek-date {
    grid-column: 1;
    grid-row: 1;
}

.boms-ek-item > .boms-ek-body {
    grid-column: 2;
    grid-row: 1;
}

.boms-ek-item > .boms-ek-photo {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin: 0;
    min-width: 0;
}

.boms-ek-photo a {
    display: block;
    width: 100%;
    line-height: 0;
}

.boms-ek-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 0.75rem;
}

.boms-ek-item.is-portrait .boms-ek-photo img,
.boms-ek-item.is-square .boms-ek-photo img {
    width: auto;
    max-width: 100%;
    margin-left: auto;
}

.boms-ek > p:empty,
.boms-ek-item > p:empty,
.boms-ek-item > br {
    display: none;
}

@media (max-width: 720px) {
    .boms-ek--layout-cards .boms-ek-item,
    .boms-ek--layout-cards .boms-ek-item.has-image {
        grid-template-columns: 20% minmax(0, 1fr);
        column-gap: 1.25rem;
        padding: 1rem 1rem 1.05rem;
    }

    .boms-ek-item > .boms-ek-photo {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
    }

    .boms-ek-day {
        font-size: 1.65rem;
    }

    .boms-ek-title {
        font-size: 1.25rem;
    }

    .boms-ek-item.is-portrait .boms-ek-photo img,
    .boms-ek-item.is-square .boms-ek-photo img {
        margin-left: 0;
        max-width: 12rem;
    }
}
