/* ============================================
   repository-bibliography.css
   Βιβλιογραφία (category_id = 14)
   Only styles for the list area below the header.
   Header/wrapper/back-button styles come from
   repository-subcategory.css (shared).
   ============================================ */

/* ── Entry list ── */
.biblio-list {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
}

.biblio-item {
  padding: 14px 0;
  border-bottom: 1px solid #d8d8d8;
  font-family: 'ZonaProCustom', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.biblio-item:first-child {
  border-top: 1px solid #d8d8d8;
}

/* Clickable entry — a URL was found in the sources field */
.biblio-link {
  color: #3371B2;
  text-decoration: underline;           /* underline always visible, not just on hover */
  text-underline-offset: 3px;
  text-decoration-color: rgba(51, 113, 178, 0.45); /* faint underline at rest */
  transition: text-decoration-color 0.2s ease, background-color 0.2s ease;
  border-radius: 3px;
  padding: 1px 2px;
  margin: -1px -2px;                    /* cancel out the padding so row height is unchanged */
}

.biblio-link:hover,
.biblio-link:focus {
  color: #3371B2;
  text-decoration-color: #3371B2;       /* solid underline on hover */
  background-color: rgba(51, 113, 178, 0.07); /* very subtle blue tint behind the text */
  outline: none;
}

/* External-link indicator — inline SVG arrow keeps the glyph crisp at all font sizes */
.biblio-link::after {
  content: '';
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 5px;
  vertical-align: middle;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%233371B2' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 2H2a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V7'/%3E%3Cpath d='M8 1h3m0 0v3m0-3L5.5 6.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.biblio-link:hover::after,
.biblio-link:focus::after {
  opacity: 1;
}

/* Plain entry — no URL in sources */
.biblio-plain {
  color: #000;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .biblio-list {
    margin-bottom: 60px;
  }

  .biblio-item {
    padding: 12px 0;
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .biblio-list {
    margin-bottom: 40px;
  }
}
