/*=============================================
    NeuroSkill brand layer
    Loaded after style.css — brand lockup, logo mark
    and a small number of content-specific helpers.
    All template animations and behaviour are untouched.
==============================================*/

/*----------------------------------------
    Brand lockup (replaces the raster logo)
------------------------------------------*/
.ns-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  line-height: 1;
  white-space: nowrap;
}

.ns-logo-mark {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: block;
}

.ns-logo-text {
  font: 700 27px/1 var(--heading-font);
  letter-spacing: -0.02em;
  color: var(--heading-color);
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.ns-logo-text span {
  color: var(--secondary-color);
}

/* White variant — dark headers, dark footers */
.ns-logo--white .ns-logo-text {
  color: #fff;
}

.ns-logo--white .ns-logo-text span {
  color: #a17bff;
}

@media (max-width: 767.98px) {
  .ns-logo {
    gap: 9px;
  }
  .ns-logo-mark {
    width: 34px;
    height: 34px;
  }
  .ns-logo-text {
    font-size: 21px;
  }
}

@media (max-width: 359.98px) {
  .ns-logo {
    gap: 7px;
  }
  .ns-logo-mark {
    width: 29px;
    height: 29px;
  }
  .ns-logo-text {
    font-size: 18px;
  }
}

/* The branding column no longer needs the raster width cap */
.header-navigation .site-branding {
  max-width: none;
}

/*----------------------------------------
    Content helpers
------------------------------------------*/
/* Keeps the feature-tab imagery from jumping in height
   as visitors switch between tabs. */
.orbia-features_one .tab-content .orbia-image img {
  width: 100%;
  height: 401px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 1199.98px) {
  .orbia-features_one .tab-content .orbia-image img {
    height: 320px;
  }
}

/* Team portraits come from a shared set, so each card crops its
   source to the template's original proportion instead of stretching. */
.orbia-team-item .member-image img {
  width: 100%;
  aspect-ratio: 280 / 242;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 22%;
     object-position: center 22%;
}

/* The support avatar is a fixed 80px circle in the theme. */
.orbia-features_one .orbia-support-box .thumb img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 20%;
     object-position: center 20%;
}

/* Consistent framing for the case-study and blog cards
   now that they carry real photography. */
.orbia-blog-post-item.style-one .post-thumbnail img,
.orbia-blog-post-item.style-two .post-thumbnail img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Contact page — the office cards sit on a light panel */
.ns-office-note {
  font-size: 15px;
  opacity: 0.75;
  margin-top: 6px;
}
