.quarto-title-meta {
  display: flex;
  justify-content: space-between;
}

.quarto-title-meta-author,
.quarto-title-meta-affiliation {
  flex: 1;
}

.navbar-brand img {
  height: 250px !important; /* zmień np. na 100px, jeśli chcesz jeszcze większe */
}

.rules-box {
  background-color: #f9f9f9; /* jasne, neutralne tło */
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Kontener z obrazem i hotspotami */
.annotated-image {
  position: relative;
  max-width: 1000px;   /* możesz zmienić */
  margin: 1rem 0 1.5rem;
}
.annotated-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Klikalne „kropki” */
.hotspot {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(13,110,253,.95); /* niebieski jak Bootstrap primary */
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  transition: transform .12s ease-in-out;
  outline: none;
}
.hotspot:hover, .hotspot:focus {
  transform: scale(1.08);
}

/* Numer na kropce */
.hotspot::after {
  content: attr(data-label);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
}

/* Prosty tooltip (bez JS) – pokazuje się przy hover/focus */
.hotspot[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 150%;
  background: rgba(0,0,0,.9);
  color: #fff;
  font-size: .8rem;
  padding: .35rem .5rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease-in-out;
}
.hotspot:hover::before,
.hotspot:focus::before {
  opacity: 1;
}

/* Małe ekrany – delikatnie większe trafianie */
@media (max-width: 600px) {
  .hotspot { width: 30px; height: 30px; }
  .hotspot::after { font-size: 1rem; }
}
