.sp-survivor-card {
  justify-self: center;
  width: 1100px;
  height: 240px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  overflow: hidden;
  border-top: 1px solid var(--green-200);
  padding-top: 24px;
}

.sp-survivor-card:first-child {
  border-top: none;
  padding-top: 0;
}

.sp-survivor-card__header {
  display: flex;
  align-items: start;
  gap: 10px;
  justify-content: space-between;
}

.sp-survivor-card__content {
  flex: 1;
  padding: 16px;
  padding-right: 0;
}

.sp-survivor-card-link-button {
  background: var(--green-100);
  border-radius: 15px;
  padding: 8px 32px 8px 16px;
  color: var(--green-900);
  text-decoration: none;
  display: flex;
  align-items: center;
  box-shadow: 2px -2px 4px 0px var(--shadow);
  gap: 30px;
  font-weight: 700;
  font-size: 18px;
}

.sp-survivor-card-link-button:hover {
  background: var(--green-200);
}

.sp-survivor-card-link-button:active {
  background: var(--green-300);
}

.sp-survivor-card__name {
  color: var(--green-700);
  font-size: 22px;
  margin: 0;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-survivor-card__name-link {
  text-decoration: none;
  color: var(--green-700);
}

.sp-survivor-card__years {
  color: var(--green-700);
  margin-bottom: 13px;
  font-size: 15px;
}

.sp-survivor-card__bio {
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--green-900);
}

.sp-survivor-card__tags {
  display: flex;
  gap: 10px;
  align-items: start;
  margin-top: 16px;
}

.sp-survivor-card__tag {
  border: 1px solid #2B5875;
  border-radius: 20px;
  padding: 5px 15px;
  color: #2B5875;
  font-size: 14px;
}

.sp-survivor-card__image {
  width: 274px;
  height: 240px;
  border-radius: 12px;
}

.sp-survivor-card-bit__icon {
  width: 27px;
  height: 24px;
}

.sp-survivor-card-book__icon {
  width: 22px;
  height: 20px;
}

.sp-survivor-card--logo .sp-survivor-card__image {
  padding: 20px;
}

#showAllTagsModal::backdrop {
  background: var(--backdrop);
  backdrop-filter: blur(4px);
}

.pagination {
  display: flex;
  justify-content: space-between;
  width: 1100px;
  align-items: center;
  padding: 0 20px;
  margin-top: 12px;
  margin-bottom: 134px;
  justify-self: center;
}

.pagination-button {
  padding: 8px 16px;
  border: 1px solid var(--green-300);
  text-decoration: none;
  color: var(--green-700);
  border-radius: 10px;
  transition: all 0.3s ease;
  background: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.pagination-button:hover {
  background-color: var(--green-50);
}

.pagination-button.active {
  background-color: var(--green-700);
  color: white;
  border-color: var(--green-700);
}

.pagination-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination-ellipsis {
  color: var(--green-700);
}

.pagination-button-center {
  display: flex;
  gap: 8px;
  flex-direction: row;
}

.pagination-button.disabled {
  border: 1px solid var(--green-200);
  color: var(--green-200);
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-button.disabled:hover {
  background-color: white;
}

.first-page-button {
  gap: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--green-800);
}

.testimonial-content {
  height: 115px;
  overflow: hidden;
  margin: 13px 0;
}

.testimonial-content-item-wrapper {
  margin: 8px 0;
  display: flex;
  align-items: center;
  color: var(--green-900);
  gap: 10px;
}

.timestamp-group {
  max-height: 115px;
  overflow: hidden;
}

.interviewer-text {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.4;
}

.interviewer-text strong {
  font-weight: 600;
}

.testimonials-container .tag {
  cursor: default;
}

.testimonials-container .tag.selected {
  background-color: var(--green-200);
}



@media (max-width: 800px) {

  .sp-survivor-card {
    width: 90vw;
  }

  .sp-survivor-card__image {
    width: 100px;
    height: 100px;
  }

  .pagination-button-center {
    display: none;
  }



  .pagination {
    width: 90vw;
  }

  .sp-survivor-card {
    height: unset;
  }

  .sp-survivor-card__header {
    flex-direction: column;
    align-items: start;
  }

  .sp-survivor-card__name {
    margin-bottom: 0;
    flex-direction: column;
    align-items: start;
  }

  .sp-survivor-card__tags {
    align-items: start;
    display: flex;
    flex-wrap: wrap;
  }

  .sp-survivor-card__bio {
    margin-bottom: 0;
  }
}