/* Keep one named, keyboard-operable download link, not nested controls. */
.document-list .fundusze-document-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 36px;
  flex-shrink: 0;
}

.document-list .fundusze-document-download > .download-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 24px;
}

.rpo__header-cta,
.lang-swich .glink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
}

.fundusze-document-download:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.single-dokumenty-list .wp-block-heading.fundusze-heading-preserve-h5 {
  font-family: var(--fundusze-legacy-heading-font-family, Lexend-Light, sans-serif);
  font-size: var(--fundusze-legacy-heading-font-size, 1.25rem);
  font-weight: var(--fundusze-legacy-heading-font-weight, 500);
  line-height: var(--fundusze-legacy-heading-line-height, 1.2);
}

.fundusze-event-calendar .fundusze-calendar-control {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  min-width: var(--fundusze-calendar-target-width, 1.75rem);
  min-height: var(--fundusze-calendar-target-height, 2.25rem);
  padding: 0;
  text-transform: none;
  width: 100%;
}

.fundusze-event-calendar .fundusze-calendar-control:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.fundusze-event-calendar tr[hidden] {
  display: none;
}

/* Edge previews remain actionable, so their text must retain full contrast. */
.swiper.swiper-transparent-edge-slides > .swiper-wrapper > .swiper-slide {
  opacity: 1;
}
