/* =========================================================
   "Termine heute"-Widget – schlank, mobile first
   ========================================================= */

#ok-heute-wrap {
    font-family: inherit;
    max-width: 100%;
    box-sizing: border-box;
}

#ok-heute-wrap * {
    box-sizing: inherit;
}

.ok-heute-title {
    margin: 0 0 2px;
    font-size: calc(var(--ok-font-event, 0.85rem) * 1.24);
}

.ok-heute-date {
    margin: 0 0 12px;
    font-size: calc(var(--ok-font-event, 0.85rem) * 0.96);
    color: #666;
}

#ok-heute-loading {
    font-size: calc(var(--ok-font-event, 0.85rem) * 1);
    color: #666;
}

#ok-heute-empty {
    font-size: calc(var(--ok-font-event, 0.85rem) * 1);
    color: #666;
    margin: 0;
}

.ok-heute-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ok-heute-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-left: 4px solid #888;
    background: #f7f7f7;
    border-radius: 4px;
}

.ok-heute-time {
    font-size: calc(var(--ok-font-event, 0.85rem) * 0.92);
    font-weight: 600;
    color: #444;
}

.ok-heute-name {
    font-size: calc(var(--ok-font-event, 0.85rem) * 1.08);
    font-weight: 600;
    line-height: 1.3;
}

.ok-heute-location {
    font-size: calc(var(--ok-font-event, 0.85rem) * 0.94);
    color: #666;
}

.ok-heute-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.ok-heute-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
    font-size: calc(var(--ok-font-event, 0.85rem) * 0.82);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
}

@media (forced-colors: active) {
    .ok-heute-item { border: 1px solid ButtonText; }
    .ok-heute-tag  { border: 1px solid ButtonText; }
}
