.leadership-card {
  perspective: 1000px;
  height: auto;
}

.card-container {
  height: 100%;
  min-height: auto;
}

.card-inner {
  position: relative;
  width: 100%;
  text-align: left;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.leadership-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front {
  position: relative;
  width: 100%;
  border-radius: 8px;
  padding: 10px;
  background: white;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  min-height: 400px;
}

.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  padding: 10px;
  background: #f8f9fa;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 400px;
}

.clickable-area {
  cursor: pointer;
  flex-grow: 1;
}

.clickable-area-back {
  cursor: pointer;
  flex-grow: 1;
}

.contact-bottom {
  margin-top: auto;
  cursor: default;
}

.back-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
}

.bio-text {
  margin-bottom: 5px;
  overflow-y: auto;
  padding-right: 5px;
}
@media (min-width: 768px) {
  .bio-text {
    p {
      font-size: 12px;
    }
  }
}

.position-title {
  font-weight: 600;
  color: #666;
  font-size: 14px;
  flex-shrink: 0;
}

.card-front img {
  flex-shrink: 0;
}

.back-content h6 {
  flex-shrink: 0;
}

.contact-bottom a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.contact-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .card-front,
  .card-back {
    min-height: 350px;
  }
}

p .p-special-bold {
  font-size: 1.4em !important;
  font-weight: 700 !important;
  color: #e74c3c !important;
}

.p-size {
  font-size: 14px !important;
  line-height: 20px !important;
  text-decoration: underline !important;
}
@media (min-width: 768px) {
  .kathy-contact {
    margin-top: 20px;
  }
}
@media (min-width: 992px) {
  .other-contact {
    margin-top: 20px;
  }
}
@media (min-width: 992px) {
  #stat-card-2 .stat-body p:last-child {
    white-space: nowrap;
  }
}
