:root {
  --max-width: 900px;
}

/* Sekce s úvodními odkazy */
section.lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(10em, 15em));
  gap: 1em;                 
  justify-content: center; 
  margin: 0 auto;         
  padding: 1ex 1em;           
}

section.lists > div {
  width: auto; 
}

section.lists ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5ex;
}

/* Styl dlaždice */
section.lists li {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5ex 1ex;
  transition: all 0.2s ease;
}

section.lists li:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

section.lists li:active {
  transform: translateY(0);
  background-color: #e2e8f0;
  box-shadow: none;
}

section.lists li a:hover {
  text-decoration: none;
}

/* Sekce s články */
section.papers {
}

section.papers h3 {
  margin : 2.5ex 0em 1ex 0em;
}

section.papers ul {
  margin : 1ex 0em 1ex 0em;
}

span.locfiles {
  font-size : 80%;
}

/* Sekce se shrnutím */
section.summary ul {
  list-style: none;
}

/* Oddělení sekcí */
hr {
  margin: 3ex 2em;
}

/* Modifikace pro tisk */
@media print {
  section.lists { display : none; }
  span.locfiles { display : none; }
}