/* Sažet planer i mapa preko celog ekrana. */
.transport-meta-grid.is-simplified-meta {
  grid-template-columns: minmax(260px, 1fr) minmax(240px, .9fr);
}

.transport-summary.is-two-item-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.transport-summary.is-two-item-summary > article[hidden] { display: none !important; }

.organized-schedule-table tr.organized-daily-rest .organized-day-divider { display: none !important; }

.transport-map-wrap { position: relative; }
.transport-map-fullscreen {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #aebfca;
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  color: #102230;
  font: 900 24px/1 system-ui, sans-serif;
  box-shadow: 0 5px 16px rgba(17, 42, 58, .2);
  cursor: pointer;
}
.transport-map-fullscreen:hover { background: #f1f8fc; }
.transport-map-fullscreen:focus-visible { outline: 3px solid rgba(14, 144, 207, .34); outline-offset: 2px; }

.transport-map-wrap:fullscreen,
.transport-map-wrap:-webkit-full-screen,
.transport-map-wrap.is-map-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #dcebf4;
}
.transport-map-wrap:fullscreen #transportMap,
.transport-map-wrap:-webkit-full-screen #transportMap,
.transport-map-wrap.is-map-fullscreen #transportMap { width: 100% !important; height: 100% !important; min-height: 100vh; }
.transport-map-wrap:fullscreen #transportMapEmpty,
.transport-map-wrap:-webkit-full-screen #transportMapEmpty,
.transport-map-wrap.is-map-fullscreen #transportMapEmpty { min-height: 100vh; }
.transport-map-wrap.is-map-fullscreen { position: fixed !important; inset: 0 !important; z-index: 10000; }
body.has-map-fullscreen { overflow: hidden !important; }

:root[data-theme="dark"] .transport-map-fullscreen {
  border-color: #425867;
  background: rgba(23, 35, 45, .96);
  color: #eaf7ff;
}

@media (max-width: 720px) {
  .transport-meta-grid.is-simplified-meta { grid-template-columns: 1fr; }
  .transport-summary.is-two-item-summary { grid-template-columns: 1fr 1fr; }
  .transport-map-fullscreen { width: 42px; height: 42px; top: 9px; right: 9px; }
}
