/* SEAYAPI v1.0.4 — H2 Working Tab mask and icon connector refinement.
 * Scoped to this widget to leave all other Easton sections untouched.
 * The source photographs retain their proportions and are cropped INSIDE a circle.
 */
.working-section.seayapi-h2-working-mask .tabs-box .tab-btn-box {
  z-index: 3;
}
.working-section.seayapi-h2-working-mask .tabs-content {
  z-index: 0;
}
.working-section.seayapi-h2-working-mask .tabs-content .inner-box {
  position: relative;
  width: min(370px, 100%);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
}
.working-section.seayapi-h2-working-mask .tabs-content .inner-box .image-box {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
}
.working-section.seayapi-h2-working-mask .tabs-content .inner-box .image-box img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
}
.working-section.seayapi-h2-working-mask .tabs-content .inner-box .image-box .noimage {
  width: 100%;
  height: 100%;
}
.working-section.seayapi-h2-working-mask .tabs-content .inner-box .text {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 31%;
  padding: 18px 12px 22px;
}
.working-section.seayapi-h2-working-mask .tabs-content .inner-box .text::before {
  top: -20px;
  height: 22px;
  clip-path: none;
  border-radius: 50% 50% 0 0 / 95% 95% 0 0;
}
.working-section.seayapi-h2-working-mask .tabs-content .inner-box .text h2 {
  top: 50%;
}
@media (max-width: 767px) {
  .working-section.seayapi-h2-working-mask .tabs-content .inner-box {
    width: min(290px, 100%);
    height: auto;
  }
  .working-section.seayapi-h2-working-mask .tabs-content .inner-box .text h2 {
    font-size: 60px;
  }
  .working-section.seayapi-h2-working-mask .tabs-content .inner-box .text h3 {
    font-size: 42px;
    line-height: 46px;
  }
}

/* v1.0.4: Match the visual reference: all three connectors touch the OUTER
 * circumference of the 370px image circle without crossing the photo/STEP.
 * Keep the line segments behind the icon disks, not through their centers.
 * Upper and lower lines meet the circle at diagonals; the middle stays level.
 * This changes no icon dimensions, tab mechanics or image masking.
 */
.working-section.seayapi-h2-working-mask .tabs-box .tab-btns li:nth-child(2)::before {
  width: 172px;
}
.working-section.seayapi-h2-working-mask .tabs-box .tab-btns li:first-child::before {
  width: 141px;
  right: 12px;
  top: calc(100% - 29px);
  transform: translateY(-50%) rotate(-25deg);
}
.working-section.seayapi-h2-working-mask .tabs-box .tab-btns li:last-child::before {
  width: 146px;
  right: 12px;
  top: 39px;
  transform: translateY(-50%) rotate(33deg);
  background: #f47625;
}
