body#mercury .row.first {
  /* Prevent scroll class */
  /* Load More/Less Styles */
}
body#mercury .row.first .team-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr); /* 1 card per row */
  margin: 0 auto;
}
@media (min-width: 768px) {
  body#mercury .row.first .team-container {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  }
}
@media (min-width: 992px) {
  body#mercury .row.first .team-container {
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  }
}
@media (min-width: 1200px) {
  body#mercury .row.first .team-container {
    grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
  }
}
body#mercury .row.first .team-card {
  border-bottom: 2px solid #e8e8e8;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}
body#mercury .row.first .team-card:hover {
  transform: translateY(-5px);
}
body#mercury .row.first .team-photo {
  display: block;
}
body#mercury .row.first .team-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  padding-top: 1rem;
}
body#mercury .row.first .team-name {
  color: #000;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}
body#mercury .row.first .team-title {
  color: #000;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1rem;
  margin-top: 0;
}
body#mercury .row.first .team-cta {
  color: #001e60;
  cursor: pointer;
  font-weight: bold;
  margin-top: auto;
  position: relative; /* For proper z-index handling */
  text-decoration: none;
  text-transform: uppercase;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 2; /* Ensure button is above the card for its own click handling */
}
body#mercury .row.first .team-cta:hover {
  text-decoration: underline;
}
body#mercury .row.first body.no-scroll {
  overflow: hidden !important;
  height: 100% !important;
  width: 100% !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}
body#mercury .row.first .lightbox {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  z-index: 1000;
}
body#mercury .row.first .lightbox.active {
  display: flex;
  opacity: 1;
}
body#mercury .row.first .lightbox-content {
  animation: fadeIn 0.3s ease;
  background: white;
  display: flex;
  flex-direction: column;
  height: 90vh; /* Use viewport height on mobile */
  max-width: 900px;
  overflow: hidden;
  overscroll-behavior: contain; /* Prevent scroll chaining */
  position: relative;
  width: 95%; /* More width on mobile */
}
@media (min-width: 768px) {
  body#mercury .row.first .lightbox-content {
    height: 600px;
    width: 90%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body#mercury .row.first .lightbox-header {
  border-bottom: 2px solid #e8e8e8;
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
}
body#mercury .row.first .lightbox-close {
  align-items: center;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  display: flex;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
body#mercury .row.first .lightbox-close:hover .text {
  text-decoration: underline;
}
body#mercury .row.first .lightbox-close .text {
  font-family: barlow;
  font-size: 1rem;
  margin-right: 0.5rem;
}
body#mercury .row.first .lightbox-body {
  display: flex;
  flex-direction: column;
  flex: 1; /* Takes remaining space */
  overflow-y: auto;
  padding: 0;
}
@media (min-width: 768px) {
  body#mercury .row.first .lightbox-body {
    flex-direction: row;
  }
}
body#mercury .row.first .lightbox-photo-container {
  flex: 0 0 240px;
  height: 240px;
  margin-left: 2rem;
  margin-top: 2rem;
  position: relative;
  width: 240px;
}
@media (min-width: 768px) {
  body#mercury .row.first .lightbox-photo-container {
    margin-top: 0;
    position: sticky;
    top: 2rem;
  }
}
body#mercury .row.first .lightbox-photo {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
body#mercury .row.first .lightbox-info {
  padding: 2rem;
}
body#mercury .row.first .lightbox-name {
  color: #000;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
body#mercury .row.first .lightbox-title {
  color: #000;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
body#mercury .row.first .lightbox-bio {
  padding-bottom: 1rem;
}
body#mercury .row.first .lightbox-bio p {
  font-size: 1rem !important;
  line-height: 1.8;
}
body#mercury .row.first .lightbox-nav {
  display: flex;
  justify-content: flex-end; /* Align buttons to the right */
  gap: 10px;
  padding: 1rem;
  border-top: 2px solid #e8e8e8;
}
body#mercury .row.first .nav-btn {
  background-image: url(/packages/mercury/themes/mercury/img/arrows.gif);
  background-repeat: no-repeat;
  background-size: 84px;
  border: none;
  cursor: pointer;
  display: inline-block;
  height: 42px;
  width: 42px;
}
body#mercury .row.first .nav-btn.nav-btn-next {
  background-position: -42px 0;
}
body#mercury .row.first .load-more-container,
body#mercury .row.first .show-less-container {
  display: none; /* Hidden by default on desktop */
  grid-column: 1/-1;
  margin-top: 2rem;
  text-align: center;
}
@media (max-width: 767px) {
  body#mercury .row.first .load-more-container {
    display: block; /* Show load more button on mobile */
  }
}
body#mercury .row.first .load-more-btn,
body#mercury .row.first .show-less-btn {
  background-color: #001e60;
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: barlow;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 40px;
  padding: 1.5em 2.5em;
  text-transform: uppercase;
}
body#mercury .row.first .mobile-hidden {
  display: none; /* Hide cards beyond first four on mobile */
}
@media (min-width: 768px) {
  body#mercury .row.first .mobile-hidden {
    display: flex; /* Cards are shown by default on desktop */
  }
}

/*# sourceMappingURL=view.css.map*/