/* Radar Česka V5.9.7 — Živě 2.0 */

.live-overview{
  margin:0 0 14px;padding:14px;border:1px solid #d9e8e6;border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,#f4fbf9 100%);
  box-shadow:0 12px 32px rgba(29,63,71,.055);
}
.live-overview-head{display:flex;align-items:center;gap:9px;margin:0 2px 11px}
.live-overview-head>div{min-width:0;flex:1}
.live-overview-head strong{display:block;font-size:13px;letter-spacing:-.015em;color:#173f48}
.live-overview-head small{display:block;margin-top:2px;font-size:9px;color:#82969b}
.live-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.live-overview-card{
  display:flex;align-items:center;gap:9px;min-width:0;padding:10px 11px;
  border:1px solid #dfebea;border-radius:12px;background:rgba(255,255,255,.84);
  color:inherit;text-decoration:none;transition:.16s ease;
}
.live-overview-card:hover{transform:translateY(-1px);border-color:#b9ddd6;background:#fff}
.live-overview-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#edf8f5;color:#12816e;font-size:14px}
.live-overview-card.is-alert .live-overview-icon{background:#fff6e8;color:#a26a18}
.live-overview-card.is-border .live-overview-icon{background:#edf7fb;color:#397c94}
.live-overview-copy{min-width:0}
.live-overview-copy small,.live-overview-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-overview-copy small{font-size:7.8px;font-weight:850;letter-spacing:.055em;text-transform:uppercase;color:#85989d}
.live-overview-copy strong{margin-top:3px;font-size:11px;color:#264b53}

.live-quick-filters{display:flex;gap:6px;margin:0 0 13px;overflow-x:auto;scrollbar-width:none;padding:1px}
.live-quick-filters::-webkit-scrollbar{display:none}
.live-quick-filters a{display:inline-flex;align-items:center;height:31px;padding:0 10px;border:1px solid #dce8e8;border-radius:999px;background:#fff;color:#587178;text-decoration:none;font-size:9.5px;font-weight:800;white-space:nowrap}
.live-quick-filters a.is-active{background:#e9f9f5;border-color:#b7e2d8;color:#107560}

/* The first live story is visually the lead story, without turning the page into cards everywhere. */
#liveEvents .event:first-of-type{
  border-color:#c9e5df;
  background:linear-gradient(135deg,#fff 0%,#f7fcfb 100%);
  box-shadow:0 13px 34px rgba(20,86,74,.07);
}
#liveEvents .event:first-of-type .copy h3{font-size:16px;letter-spacing:-.02em}
#liveEvents .event:first-of-type .copy>p{font-size:11.5px;line-height:1.52}

.open-map::after{content:"  Zobrazit na mapě";font-size:8.5px;font-weight:850;white-space:nowrap}
.open-map{width:auto;min-width:37px;padding:0 8px}

/* Quiet state remains useful instead of looking like an empty application. */
.empty.rc597-quiet{
  display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:11px;align-items:center;
  padding:16px;border-style:solid;background:linear-gradient(135deg,#fff,#f4fbf9);
}
.rc597-quiet-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eaf8f4;color:#12816d;font-size:18px}
.rc597-quiet-copy strong{display:block;color:#204850;font-size:13px}
.rc597-quiet-copy span{display:block;margin-top:3px;color:#698087;font-size:10px;line-height:1.45}
.rc597-quiet-actions{display:flex;gap:6px}
.rc597-quiet-actions a{display:inline-flex;align-items:center;height:31px;padding:0 9px;border:1px solid #d4e7e3;border-radius:9px;background:#fff;color:#147664;text-decoration:none;font-size:9px;font-weight:850;white-space:nowrap}

/* A calmer hierarchy: current stories first, supporting intelligence later. */
.section-title{margin-top:20px}
.history-title{margin-top:34px}
.events{gap:9px}
.event{border-color:#e1ecec;box-shadow:0 6px 20px rgba(29,63,71,.035)}
.event .copy h3{color:#173f48}
.event .copy>p{color:#617981}
.metrics{margin-top:9px}

@media(max-width:760px){
  .live-overview{padding:10px;border-radius:15px}
  .live-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .live-overview-card{padding:8px 9px}
  .live-overview-head{margin-bottom:8px}
  .live-quick-filters{margin-bottom:11px}
  #liveEvents .event:first-of-type .copy h3{font-size:14px}
  .open-map::after{display:none}
  .open-map{width:35px;min-width:35px;padding:0}
  .empty.rc597-quiet{grid-template-columns:34px 1fr;padding:13px}
  .rc597-quiet-actions{grid-column:1/-1;margin-top:1px}
}
