.escd-event-time .escd-local-zone,
.escd-event-time .escd-original-time {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #596d77;
    overflow-wrap: anywhere;
}
.escd-event-time .escd-local-zone { color: #006c7e; font-weight: 600; }
.escd-event-time .escd-local-zone[hidden] { display: none; }
.escd-event-index .escd-index-meta > .escd-event-time { padding: 0; background: none; }
.escd-event-index .escd-event-time .escd-local-zone,
.escd-event-index .escd-event-time .escd-original-time {
    padding: 0;
    background: none;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    color: #596d77;
}
.escd-event-index .escd-event-time .escd-local-zone { color: #006c7e; font-weight: 600; }

/* Apply the highlight only after conversion to the visitor's time zone. */
.escd-event-time.escd-is-local,
.escd-event-index .escd-index-meta > .escd-event-time.escd-is-local {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    width: 100%;
    box-sizing: border-box;
    margin: 6px 0 14px;
    padding: 16px 18px;
    border: 1px solid #b4dce3;
    border-left: 5px solid #00879b;
    border-radius: 8px;
    background: #e9f6f8;
    text-align: left;
}
.escd-event-time.escd-is-local .escd-index-date,
.escd-event-index .escd-event-time.escd-is-local .escd-index-date {
    grid-row: 2;
    grid-column: 1;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #004c68;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
.escd-event-time.escd-is-local .escd-index-time,
.escd-event-index .escd-event-time.escd-is-local .escd-index-time {
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
    margin: 0;
    padding: 6px 12px;
    border-radius: 6px;
    background: #005779;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.escd-event-time.escd-is-local .escd-local-zone,
.escd-event-index .escd-event-time.escd-is-local .escd-local-zone {
    grid-row: 1;
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    background: transparent;
    color: #004c68;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
}
.escd-event-time.escd-is-local .escd-original-time,
.escd-event-index .escd-event-time.escd-is-local .escd-original-time {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 2px 0 0;
    padding: 0;
    background: transparent;
    color: #526873;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}
@media (max-width: 480px) {
    .escd-event-time.escd-is-local,
    .escd-event-index .escd-index-meta > .escd-event-time.escd-is-local { gap: 10px 8px; padding: 14px 12px; }
    .escd-event-time.escd-is-local .escd-index-date,
    .escd-event-index .escd-event-time.escd-is-local .escd-index-date { font-size: 16px; }
    .escd-event-time.escd-is-local .escd-index-time,
    .escd-event-index .escd-event-time.escd-is-local .escd-index-time { padding: 6px 8px; font-size: 22px; }
}
.escd-event-time .escd-location-control { grid-column: 1 / -1; grid-row: 4; margin: 2px 0 0; font-size: 12px; }
.escd-event-time .escd-location-control summary { color: #005779; cursor: pointer; font-weight: 600; }
.escd-event-time .escd-location-control label { display: block; margin-top: 8px; color: #004c68; }
.escd-event-time .escd-location-control select { display: block; width: 100%; max-width: 100%; box-sizing: border-box; min-height: 40px; margin-top: 5px; padding: 8px; border: 1px solid #a6cad3; border-radius: 5px; background: #fff; color: #253a46; font-size: 14px; }
.escd-event-time .escd-location-control small { display: block; margin-top: 6px; color: #526873; line-height: 1.5; }
