/* PanAGD widget: styles scoped to this component, with no fonts or icon dependencies. */
.panagd-sidebar-widget {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.panagd-sidebar-widget .pals,
.pals {
  box-sizing: border-box;
  width: 100%;
  padding: 15px 27px 22px;
  background: #fff;
  border: 1px solid #e9edf1;
  border-radius: 17px;
  box-shadow: 0 2px 5px rgba(25, 40, 55, .025);
  color: #323b49;
  font-family: inherit;
}
.pals *, .pals *::before, .pals *::after { box-sizing: border-box; }
.pals .pals__heading {
  display: block;
  width: 100%;
  padding: 11px 15px;
  margin: 0;
  background: #f0f3f7;
  border: 0;
  border-radius: 28px;
  color: #303a47;
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .025em;
}
.pals .pals__list { margin: 15px 0 0; padding: 0; list-style: none; }
.pals--without-heading .pals__list { margin-top: 0; }
.pals .pals__item { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #e7edf2; }
.pals .pals__item:last-child { border-bottom: 0; }
.pals .pals__link,
.pals .pals__link:visited {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  min-height: 123px;
  padding: 16px 0;
  color: #343b49;
  text-decoration: none !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.pals .pals__link--no-image { grid-template-columns: minmax(0, 1fr); min-height: 86px; }
.pals .pals__link:hover,
.pals .pals__link:focus-visible { color: #2067b3; }
.pals .pals__link:focus-visible { outline: 2px solid #2067b3; outline-offset: 3px; border-radius: 3px; }
.pals .pals__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 82px;
  flex: none;
  overflow: hidden;
}
.pals .pals__img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; border: 0; box-shadow: none; }
.pals .pals__placeholder { display: flex; align-items: center; justify-content: center; width: 78px; height: 70px; color: #b2bdc7; border-radius: 10px; background: #f3f6f9; }
.pals .pals__content { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.pals .pals__badge {
  display: inline-block;
  padding: 6px 16px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 99px;
  color: #fff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.25;
}
.pals .pals__badge--blue { background: #32637d; }
.pals .pals__badge--cyan { background: #087e91; }
.pals .pals__badge--indigo { background: #3a36a3; }
.pals .pals__badge--slate { background: #536579; }
.pals .pals__title {
  display: block;
  min-width: 0;
  width: 100%;
  color: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.012em;
  overflow-wrap: anywhere;
}
.pals .pals__link:hover .pals__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
@media (max-width: 480px) {
  .pals { padding: 14px 20px 18px; }
  .pals .pals__link { grid-template-columns: 75px minmax(0, 1fr); gap: 15px; min-height: 111px; padding: 14px 0; }
  .pals .pals__link--no-image { grid-template-columns: 1fr; }
  .pals .pals__media { width: 75px; height: 74px; }
  .pals .pals__title { font-size: 14px; }
  .pals .pals__badge { padding: 6px 13px; }
}

/* Stopka Caards: lista ma być częścią siatki, a nie osobną kartą. */
.footer-widgets-grid .panagd-sidebar-widget,
.footer-widgets-grid .panagd-sidebar-widget .pals {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent;
}
