/* ==========================================
   NSB.SCHNEIDER - TRUSTED PARTNERSHIPS
   Clean Full Section Styling
   ========================================== */


/* Prevent horizontal page shifting */
html,
body {
  overflow-x: hidden;
}


/* ------------------------------------------
   HEADING AREA
   ------------------------------------------ */

.nsb-trusted-heading {
  width: 100%;
  max-width: 900px;
  margin: 45px auto 30px;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}

.nsb-heading-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.nsb-heading-divider span {
  width: 70px;
  height: 1px;
  background: #2E5D3B;
}

.nsb-heading-divider i {
  color: #2E5D3B;
  font-size: 9px;
  font-style: normal;
  line-height: 1;
}

.nsb-heading-small {
  margin: 0 0 10px;
  color: #2E5D3B;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

.nsb-trusted-heading h2 {
  margin: 0;
  color: #232323;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.15;
}


/* ------------------------------------------
   FULL-WIDTH MOVING CLIENT NAMES
   ------------------------------------------ */

.nsb-client-marquee {
  position: relative;

  width: 100vw;
  max-width: 100vw;

  margin-left: calc(50% - 50vw);

  overflow: hidden;
  box-sizing: border-box;

  background: #faf8f4;

  padding: 26px 0;

  border-top: 1px solid #ddd8cf;
  border-bottom: 1px solid #ddd8cf;
}

.nsb-client-track {
  display: flex;
  align-items: center;

  width: max-content;

  animation: nsb-client-scroll 55s linear infinite;

  will-change: transform;
}

.nsb-client-list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.nsb-client-list span {
  margin: 0 30px;

  color: #232323;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;

  line-height: 1.4;
}

.nsb-client-list i {
  color: #2E5D3B;
  font-size: 9px;
  font-style: normal;
  flex-shrink: 0;
}

@keyframes nsb-client-scroll {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}

.nsb-client-marquee:hover .nsb-client-track {
  animation-play-state: paused;
}


/* ------------------------------------------
   TEXT BELOW THE SLIDER
   ------------------------------------------ */

.nsb-slider-footer {
  width: 100%;
  max-width: 760px;

  margin: 30px auto 50px;

  padding: 0 24px;

  text-align: center;

  box-sizing: border-box;

  position: relative;
  left: auto;
  right: auto;
}

.nsb-slider-footer p {
  margin: 0;

  color: #555555;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;

  line-height: 1.7;
}

.nsb-slider-footer::after {
  content: "";

  display: block;

  width: 42px;
  height: 1px;

  margin: 20px auto 0;

  background: #2E5D3B;
}


/* ------------------------------------------
   TABLET / MOBILE
   ------------------------------------------ */

@media (max-width: 768px) {

  .nsb-trusted-heading {
    margin: 35px auto 25px;
    padding: 0 20px;
  }

  .nsb-trusted-heading h2 {
    font-size: 32px;
  }

  .nsb-heading-small {
    font-size: 10px;
    letter-spacing: 1.8px;
  }

  .nsb-heading-divider span {
    width: 48px;
  }

  .nsb-client-marquee {
    padding: 21px 0;
  }

  .nsb-client-list span {
    margin: 0 22px;
    font-size: 17px;
  }

  .nsb-client-list i {
    font-size: 8px;
  }

  .nsb-slider-footer {
    margin: 26px auto 40px;
    padding: 0 20px;
  }

  .nsb-slider-footer p {
    font-size: 16px;
    line-height: 1.6;
  }

}

/* Bottom partner section */
.nsb-partner-bottom {
  width: 100%;
  max-width: 900px;
  margin: 35px auto 45px;
  padding: 0 24px;
  text-align: center;
  box-sizing: border-box;
}

.nsb-partner-bottom .nsb-heading-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nsb-partner-description {
  margin: 20px auto;
  max-width: 700px;
  color: #232323;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.nsb-green-spacer {
  height: 25px;
  background: transparent;
}

.nsb-partner-thanks {
  margin: 0;
  color: #2E5D3B;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
  text-align: center;
}
/* ------------------------------------------
   REDUCED MOTION ACCESSIBILITY
   ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {

  .nsb-client-track {
    animation: none;
  }

}

@media (max-width: 768px) {

  #administrative-support-management,
  #project-management,
  #social-management {
      font-size: 25px !important;
      line-height: 1.2;
      word-break: normal;
      overflow-wrap: normal;
      white-space: normal;
  }

}




@media (max-width: 768px) {

  .entry-content .wp-block-image.alignright {
    float: none;
    margin: 0 auto 30px;
    text-align: center;
  }

  .entry-content .wp-block-image.alignright img {
    width: 100% !important;
    max-width: 370px;
    height: auto !important;
  }

  .jetpack-contact-form-container {
    width: 100%;
    max-width: 100%;
    clear: both;
  }

  .wp-block-jetpack-contact-form {
    display: block;
    width: 100%;
  }

  .wp-block-jetpack-input-wrap {
    width: 100%;
  }

}