#image_bar {
    position: relative;
    top: 0;
    left: 0;
}

.image1 {
    position: relative;
    width: 450px;
    height: auto;
    top: 0;
    left: 0;
    border-radius: 5%;
}

.image2 {
    position: absolute;
    top: 30;
    left: 70;
}

.row-nudge {
    margin-top: 5px;
}

.team-member-name {
    font-family: 'Zilla Slab', serif;
    letter-spacing: 2px;
    margin-top: -4px;
    margin-bottom: 0px;
    text-align: left;
}

.team-member-slogan {
    font-style: italic;
}

.profile-nudge {
    margin-left: 15px;
}

.team-media-thumbnail {
    height: 27px;
}

.non-clickable-space {
    padding-right: 9px;
}

/* Centers the top image */
.img-center {
    min-height: 150px;
    min-width: 150px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .mobile-tweak {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-tweak {
        display: none;
    }
}

p a:link {
  color: blue;
  text-decoration: none;
}

p a:visited {
  color: purple;
  background-color: transparent;
  text-decoration: none;
}

p a:hover {
  color: red;
  background-color: transparent;
  text-decoration: underline;
}

p a:active {
  color: yellow;
  background-color: transparent;
  text-decoration: underline;
}

.bio-text.collapsed {
    max-height: 90px; /* Adjust for approx. 1-2 paragraphs */
    overflow: hidden;
    position: relative;
}

.bio-text.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background: linear-gradient(to top, white, transparent);
}

.toggle-bio {
    margin-top: 10px;
    background-color: #708a8c;
    color: white;
    border: none;
    padding: 6px 12px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
}

.social-book-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.book-button {
  background-color: #F1662A;
  color: white;
  padding: 8px 16px;
  font-size: 16px;
  font-family: 'Zilla Slab', serif;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.book-button:hover {
  background-color: #d5541d;
  text-decoration: none;
  color: white;
}

.team-media-thumbnail {
  height: 27px;
  vertical-align: middle;
}

/* Modal overlay */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Modal content */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  font-family: 'Nunito Sans', sans-serif;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease-out;
}

.modal-content h3 {
  font-family: 'Zilla Slab', serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 16px;
  margin: 10px 0;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.team-phone {
  font-size: 16px;
  font-family: 'Nunito Sans', sans-serif;
  margin-top: 4px;
  color: #555;
}

/* Meet the Team Description/Header */
.directory-blurb {
  max-width: 800px;
  margin: 2.5rem auto 2rem;
  padding: 0 1rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #444;
  text-align: center;

  /* Fade-in animation */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInBlurb 0.6s ease-out forwards;
}

@keyframes fadeInBlurb {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.directory-blurb strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 0.5rem;
}
