/* --- Segmented pill tab bar (anchors + .pill container) --- */
.tabs{
  text-align:center;
  margin:auto;
}

.tabs .pill{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:stretch;
  gap:6px;
  padding:6px;

  border-radius:999px;
  width:fit-content;
  margin:0 auto;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* segments */
.tabs .pill > a.tab-link{
  flex:1 1 0;
  height:42px;
  min-width:90px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:0 18px;
  border-radius:999px;

  background:transparent;
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  cursor:pointer;

  transition: color .25s ease, transform .15s ease;
}

.tabs .pill > a.tab-link:active{
  transform: scale(0.98);
}

.tabs .pill > a.tab-link.active{
  color:#fff;
}

/* icon optical centering */
/*.tabs .pill > a.tab-link i{*/
/*  width:1.4em;*/
/*  text-align:center;*/
/*  display:inline-block;*/
/*}*/

/* indicator */
.tabs .tab-indicator{
  position:absolute;
  top:6px;
  bottom:6px;

  width:0;                 /* JS sets */
  transform:translateX(0); /* JS sets */

  border-radius:999px;
  background: rgba(255,255,255,0.18);
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);

  pointer-events:none;
  z-index:1;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1);
  margin-left:0px;
}

/* ensure links sit above indicator */
.tabs .pill > a.tab-link{
  position:relative;
  z-index:2;
}

/* preload: disable indicator transition on first paint */
html.tabs-preload .tabs .tab-indicator{
  transition:none;
}

.tabs .tab-icn{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 26px;            /* <- real centered box */
  height: 26px;
}

.tabs .tab-icn i{
  width:auto;             /* don't fight the wrapper */
}

.tabs .pill .tab-icn i{
  width: auto;         /* ensure wrapper wins */
  display: inline-block;
}



/* ============================= */
/* YottaMe Person – Mobile Tabs */
/* ============================= */
@media (max-width: 520px){
  body.page-id-2911 .tabs .pill{
    /*width: calc(100% - 24px); */
    width: 106%;
    margin: 10px -10px 0;
    box-sizing: border-box;
  }

  body.page-id-2911 .tabs .pill > a.tab-link{
    min-width:0;
    padding:0;          /* icon-only: remove bias */
    gap:0;
  }

  body.page-id-2911 .tabs .pill > a.tab-link .nomo{
    display:none;
  }

  /* larger icon centering box for perfect “feel” */
  body.page-id-2911 .tabs .pill > a.tab-link i{
    width: auto;          /* let JS measure the real icon box */
    display: inline-block;
    font-size: 16px;
  }
body.page-id-2911 .tabs .tab-icn{
    width: 28px;
    height: 28px;
  }
}



/* Must keep for separate tabs of content */

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}