/* Overrides: centering and consistent team bio transitions */

/* Keep services layout unchanged — no overrides here. */

/* Ensure hover also reveals bios (so both hover and click work) */
/* team styles removed so original Webflow CSS applies */

/* Ensure team anchors show photos and bio overlays start hidden */
.team-box {
  position: relative;
}
.team-box .team-member {
  display: block;
}
.team-box a.w-inline-block {
  position: relative;
  display: block;
}
.team-box a.w-inline-block .bio {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: none !important;
  box-sizing: border-box;
  color: #2c2020;
  background-image: linear-gradient(#a0c7ce, #a0c7ce);
  height: auto !important;
  min-height: 100%;
  padding: 10px;
  overflow: visible !important;
  max-height: none !important;
  display: block;
}
.team-box a.w-inline-block .bio.open {
  opacity: 1 !important;
  pointer-events: auto;
}

/* Bios are opened on click only; hover only shows elevation (shadow) */

/* subtle hover lift like buttons */
.team-box a.w-inline-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.team-box a.w-inline-block {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform, box-shadow;
}
.team-box a.w-inline-block .bio,
.team-box a.w-inline-block:hover .bio {
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.team-box a.w-inline-block .bio.open {
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 20;
}
.biox {
  cursor: pointer;
  z-index: 25;
}

/* replicate original close button layout */
.biox {
  float: right;
  flex-direction: column;
  align-items: flex-end;
  padding-bottom: 6px;
  padding-left: 6px;
  font-family: Varela Round, sans-serif;
  font-size: 30px;
  display: flex;
}

/* Disable hover effects on product images (only clickable items should have hover) */
.product:hover .product-image,
.product-image:hover {
  transform: none !important;
}

/* Increase spacing between 'Our Story' and 'What to Expect' by 20px */
#about h4:nth-of-type(2) {
  margin-top: 30px;
}

/* bio overrides removed to defer to Webflow defaults */
