/* Examination centers list with expandable details */
.pz-list-app {
  margin: 1.25rem 0 2rem;
  color: #2b2b2b;
}

.pz-list-app__intro {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #444;
}

.pz-list-app__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.pz-list-app__search {
  flex: 1 1 14rem;
  min-width: 12rem;
}

.pz-list-app__search input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  border: 1px solid #bbb;
  border-radius: 2px;
  font: inherit;
}

.pz-list-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 2 1 20rem;
}

.pz-list-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #f7f7f7;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.pz-list-filter__chip:has(input:checked),
.pz-list-filter__chip.is-active {
  background: var(--sc-burgundy, #b50c40);
  border-color: var(--sc-burgundy, #b50c40);
  color: #fff;
}

.pz-list-filter__chip input {
  margin: 0;
}

.pz-list-app__meta {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 0.65rem;
}

.pz-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #d0d0d0;
  background: #fff;
}

.pz-list__item {
  border-bottom: 1px solid #eee;
}

.pz-list__item:last-child {
  border-bottom: 0;
}

.pz-list__toggle {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.85rem 2.4rem 0.85rem 0.95rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  position: relative;
}

.pz-list__toggle::after {
  content: '';
  position: absolute;
  top: 1.15rem;
  right: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--sc-burgundy, #b50c40);
  border-bottom: 2px solid var(--sc-burgundy, #b50c40);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.pz-list__item.is-open .pz-list__toggle::after {
  top: 1.35rem;
  transform: rotate(-135deg);
}

.pz-list__toggle:hover,
.pz-list__toggle:focus-visible {
  background: #f5f0f1;
  outline: none;
}

.pz-list__item.is-open .pz-list__toggle {
  background: #f8f4f5;
}

.pz-list__name {
  display: block;
  font-weight: 700;
  color: var(--sc-burgundy, #b50c40);
  margin-bottom: 0.25rem;
}

.pz-list__meta,
.pz-list__methods {
  display: block;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.4;
}

.pz-list__methods {
  margin-top: 0.25rem;
  color: #333;
}

.pz-list__details {
  display: none;
  padding: 0 0.95rem 1rem;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.pz-list__item.is-open .pz-list__details {
  display: block;
}

.pz-list__contact {
  margin: 0.75rem 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pz-list__contact a {
  color: var(--sc-burgundy, #b50c40);
}

.pz-list__table-wrap {
  overflow-x: auto;
  margin: 0.35rem 0 0.25rem;
}

/* Match Qualifizierungstermine / course-dates table look */
.pz-list-app .pz-list__table-wrap table.course-dates {
  width: 99%;
  border: 0;
  border-collapse: collapse;
  margin: 8px 0 12px;
  text-align: left;
}

.pz-list-app .pz-list__table-wrap table.course-dates th {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: #535352;
  padding: 0.45rem 0.55rem;
  border: 0;
  border-right: 2px solid #fff;
}

.pz-list-app .pz-list__table-wrap table.course-dates th:last-child {
  border-right: 0;
}

.pz-list-app .pz-list__table-wrap table.course-dates td {
  font-size: 15px;
  background: #DCDCDC;
  padding: 0.45rem 0.55rem;
  border: 2px solid #fff;
  vertical-align: top;
}
.pz-list__sats {
  margin-top: 0.85rem;
}

.pz-list__sats h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  color: var(--sc-burgundy, #b50c40);
}

.pz-list__sats ul {
  margin: 0;
  padding-left: 1.1rem;
}

.pz-list__sats li {
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.4;
}

.pz-list__sat-note {
  color: #666;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 700px) {
  .pz-list__toggle {
    padding-right: 2.2rem;
  }
}
