/* ==========================================================================
   TRENEX — "Portal" button in the site navigation.
   Kept in its own file so the Webflow export can be re-published over the
   top without losing it. Just re-add the <link> and the button markup.
   ========================================================================== */

.tx-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 18px;
  padding: 9px 17px 9px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.tx-portal-btn:hover {
  background: #03a4e6;
  border-color: #03a4e6;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px rgba(3, 164, 230, .95);
}

.tx-portal-btn svg {
  width: 14px;
  height: 14px;
  flex: none;
  opacity: .9;
}

/* Desktop: the nav row is space-between, and adding a fourth child pulled the
   links into the middle. Pushing the link group right re-groups it with the
   Portal button so the layout reads: logo ......... links  [Portal]. */
.nav2-c .nav-link-w { margin-left: auto; }
.nav2-c .tx-portal-btn { margin-left: 22px; margin-right: 0; }

/* Tablet / mobile: the nav links are hidden, so push the button over to sit
   directly beside the menu icon. */
@media screen and (max-width: 991px) {
  .tx-portal-btn { margin-left: auto; margin-right: 14px; }
}

@media screen and (max-width: 479px) {
  .tx-portal-btn {
    margin-right: 10px;
    padding: 8px 13px 8px 11px;
    font-size: 13px;
  }
  .tx-portal-btn svg { width: 13px; height: 13px; }
}

/* Portal entry inside the mobile menu */
.mobile-text-link.tx-portal-link { color: #03a4e6; }

/* Top announcement bar link */
.bnr-txt .tx-bnr-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  padding-bottom: 1px;
  transition: border-color .25s ease, color .25s ease;
}
.bnr-txt .tx-bnr-link:hover { color: #03a4e6; border-bottom-color: #03a4e6; }
