.blog-content-page #blog-listing-page .smp-exkur-page-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  line-height: 1.15;
}

.smp-exkur-card-column {
  display: flex;
  align-self: stretch;
  margin-bottom: 1.5rem;
}

.smp-exkur-page .smp-exkur-container {
  max-width: 1140px;
}

.smp-exkur-page .row {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

.team-member.smp-exkur-card {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  border: 1px solid #dce6e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(10 46 49 / 9%);
  transition: box-shadow 0.2s, transform 0.2s;
}

.team-member.smp-exkur-card:hover {
  box-shadow: 0 14px 30px rgb(10 46 49 / 14%);
  transform: translateY(-2px);
}

.team-member-photo.smp-exkur-card-photo {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  padding: 0.4rem;
  background: #f8f9fb;
}

.smp-exkur-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.smp-exkur-card .tm-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 0.7rem 0.75rem 0.8rem;
  text-align: center;
}

.smp-exkur-card .tm-meta hr {
  width: 100%;
  margin: 0 0 0.55rem;
  border-color: #dce6e8;
}

.smp-exkur-card .tm-meta h5 {
  display: -webkit-box;
  min-height: 2.6em;
  margin: 0 0 0.65rem;
  overflow: hidden;
  color: #0f766e;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.smp-exkur-card .tm-meta .smp-exkur-card-button {
  display: inline-flex;
  min-height: 2.3rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.5rem 1rem;
  border-radius: 7px;
  color: #fff;
  background: #0f766e;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.smp-exkur-card .tm-meta .smp-exkur-card-button:hover {
  color: #fff;
  background: #0a4a50;
  box-shadow: 0 4px 10px rgb(10 74 80 / 18%);
}

.smp-exkur-card .tm-meta .smp-exkur-card-button:focus-visible {
  outline: 3px solid #e8b84a;
  outline-offset: 3px;
}

.smp-extra-modal {
  position: fixed;
  z-index: 1060;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.25rem;
  background: rgb(7 34 36 / 72%);
  backdrop-filter: blur(5px);
  font-family: "Figtree", sans-serif;
}

.smp-extra-dialog {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 0 auto;
}

.smp-extra-content {
  overflow: hidden;
  border: 1px solid rgb(220 230 232 / 90%);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(3 31 33 / 28%);
}

.smp-extra-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid #dce6e8;
}

.smp-extra-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.smp-extra-title {
  margin: 0;
  color: #0e2e31;
  font-family: inherit;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
}

.smp-extra-close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid #dce6e8;
  border-radius: 50%;
  color: #4b6a6c;
  background: #f8f9fb;
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.smp-extra-close:hover {
  border-color: #0f766e;
  color: #fff;
  background: #0f766e;
}

.smp-extra-close:focus-visible,
.smp-extra-exit:focus-visible {
  outline: 3px solid #e8b84a;
  outline-offset: 3px;
}

.smp-extra-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.4rem;
  padding: 1.4rem;
}

.smp-extra-image-panel {
  display: grid;
  min-height: 280px;
  max-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce6e8;
  border-radius: 18px;
  background: #f8f9fb;
}

.smp-extra-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: contain;
}

.smp-extra-information {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1rem;
}

.smp-extra-fields {
  display: grid;
  gap: 0.75rem;
}

.smp-extra-field {
  padding: 0.85rem 0.95rem;
  border: 1px solid #dce6e8;
  border-radius: 14px;
  background: #f8f9fb;
}

.smp-extra-label {
  display: block;
  margin-bottom: 0.3rem;
  color: #4b6a6c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.smp-extra-field h3 {
  margin: 0;
  color: #0a4a50;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.smp-extra-type p {
  display: inline-flex;
  margin: 0;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: #0a4a50;
  background: #cdede8;
  font-size: 0.82rem;
  font-weight: 600;
}

.smp-extra-description {
  min-height: 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid #e8b84a;
  border-radius: 0 14px 14px 0;
  background: #f8f9fb;
}

.smp-extra-description h3 {
  margin: 0 0 0.4rem;
  color: #0e2e31;
  font-size: 0.92rem;
  font-weight: 700;
}

.smp-extra-description p {
  max-height: 200px;
  margin: 0;
  overflow-y: auto;
  color: #4b6a6c;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.smp-extra-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.75rem;
  border-top: 1px solid #dce6e8;
  background: #fff;
}

.smp-extra-exit {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  color: #fff;
  background: #0f766e;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
}

.smp-extra-exit:hover {
  color: #fff;
  background: #0a4a50;
}

@media (max-width: 767.98px) {
  .smp-exkur-card-column {
    margin-bottom: 1rem;
  }

  .smp-exkur-card .tm-meta {
    padding: 0.65rem 0.55rem;
  }

  .smp-exkur-card .tm-meta h5 {
    font-size: 0.82rem;
  }

  .smp-exkur-card .tm-meta .smp-exkur-card-button {
    min-height: 2rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
  }

  .smp-extra-modal {
    padding: 0.65rem;
  }

  .smp-extra-dialog {
    min-height: calc(100% - 1.3rem);
  }

  .smp-extra-content {
    border-radius: 18px;
  }

  .smp-extra-header {
    padding: 1.1rem 1rem;
  }

  .smp-extra-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .smp-extra-image-panel {
    min-height: 0;
    max-height: 42vh;
    aspect-ratio: 4 / 3;
  }

  .smp-extra-image {
    max-height: 42vh;
  }

  .smp-extra-description p {
    max-height: 180px;
  }

  .smp-extra-footer {
    padding: 0.85rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-member.smp-exkur-card,
  .smp-exkur-card .tm-meta .smp-exkur-card-button {
    transition: none;
  }

  .team-member.smp-exkur-card:hover {
    transform: none;
  }

  .smp-extra-close,
  .smp-extra-exit {
    transition: none;
  }
}
