.submenu {
  display: none;
}

::selection {
  color: white;
  background: black;
}

/* Accordion */
details summary {
  cursor: pointer;
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

.arrow::before {
  content: "▼";
  font-size: 0.8em;
  margin-left: 8px;
  transition: transform 0.2s ease;
  display: inline-block;
}

details[open] .arrow::before {
  transform: rotate(180deg);
}

/* Publications */
.pubs {
  margin: 0 0 2rem 0;
}

.pubs h4 {
  margin: 1.2rem 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.3;
  color: black;
}

.pubs ol {
  margin: 0.2rem 0 1.2rem;
  padding-left: 2rem;
}

.pubs ol li {
  margin: 0.3rem 0;
  line-height: 1.45;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  word-break: normal;
  overflow-wrap: anywhere;
}

.pubs ol > li::marker {
  font-weight: bold;
}

/* Publication item */
.publication {
  margin-bottom: 10px;
}

.pub-title,
.pub-title:link,
.pub-title:visited {
  color: black;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.pub-title:hover,
.pub-title:focus {
  color: red;
  font-size: 1.1em;
  text-decoration: none;
}

.pub-authors,
.pub-journal {
  margin: 2px 0 0 0;
}

.pub-journal {
    margin: 2px 0 0 0;
}

.journal-name {
    font-style: italic;
}

/* General links */
a,
a:link,
a:active,
a:visited {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: red;
  text-decoration: underline;
}

/* Go to top */
#goTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;

  background: #333;
  color: white;

  padding: 10px 15px;
  border-radius: 5px;

  text-decoration: none;
  font-size: 14px;

  display: none;
  z-index: 999;
}

/* Responsive */
@media (max-width: 560px) {
  .pubs h4 {
    font-size: 0.9rem;
  }

  .pubs ol {
    padding-left: 1.2rem;
  }

  .pubs ol li {
    font-size: 0.85rem;
    line-height: 1.25;
  }
}

@media (min-width: 1100px) {
  .pubs ol li {
    font-size: 0.8rem;
  }
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}