/* callipeda_infolista — vzhled a chování jako dm_info (lepí se nahoře/dole, animace zavření, mobil) */
.cil-obal { display: flex; flex-direction: column; width: 100%; }
.cil-obal-top { position: sticky; top: 0; z-index: 9999; }
.cil-obal-top.cil-pevne { position: fixed; top: 0; left: 0; right: 0; }
.cil-obal-bottom { position: sticky; bottom: 0; z-index: 9990; }
.cil-lista {
  width: 100%;
  text-align: center;
  padding: 0.75em 1em;
  font-size: 1rem;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}
.cil-lista-top { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.cil-lista-bottom { box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.05); }
.cil-lista p { margin-top: 0 !important; margin-bottom: 0 !important; color: inherit; }
.cil-lista a { color: inherit; text-decoration: underline; }
.cil-lista.cil-zavira { opacity: 0; max-height: 0; padding: 0; margin: 0; }
.cil-zavrit {
  float: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  margin-left: 1em;
}
@media (max-width: 768px) {
  .cil-lista { font-size: 0.95rem; padding: 0.5em 2.5em 0.5em 0.75em; }
  .cil-zavrit { font-size: 1.25rem; }
}
