@charset "UTF-8";
html {
  box-sizing: border-box;
}

body {
  color: #6e7c81;
  background: #fff;
  font: 16px/1.25 "Open Sans", Arial, Helvetica, sans-serif;
  min-width: 270px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-overflow-style: scrollbar;
  -webkit-user-drag: none;
  margin: 0;
  z-index: 1;
  overflow-x: hidden;
}

*, :after, :before {
  box-sizing: border-box !important;
}

a {
  text-decoration: none;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

.text-center {
  text-align: center;
}

.mask {
  height: 100%;
  width: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.7882352941);
  z-index: 9999999;
  top: 0;
  left: 0;
}

.mask__showbox {
  position: absolute;
  top: 45%;
  bottom: 0;
  left: 0;
  right: 0;
}

.mask__loader {
  position: relative;
  margin: 0 auto;
  width: 60px;
}

.mask__loader:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.mask .circular {
  animation: rotate 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.mask .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #35f;
}

.mask__caption {
  /* background-image: url("/images/edge-pre-leader.png");
   background-size: contain;
   background-repeat: no-repeat;
   width: 22px;
   position: absolute;
   left: 50%;
   height: 22px;
   top: 50%;
   -webkit-transform: translate(-50%, -50%);
   -ms-transform: translate(-50%, -50%);
   transform: translate(-50%, -50%);*/
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}
.riq-ms-fr-cta {
  padding: 0.3em 1em;
  border-radius: 50px;
  line-height: 1;
  background-color: rgb(255, 135, 0);
  border: 2px solid rgb(255, 135, 0);
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 2px 6px 14px 0px;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  background-image: none;
  display: inline-block;
}

/* header style */
.riq-ms-header {
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10;
  background-color: #f2f2f2;
}
.riq-ms-header--enable-sticky {
  transition: all 0.3s ease;
}
.riq-ms-header--enable-sticky.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  animation: slideDown 0.3s ease-in-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.riq-ms-header__container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  position: relative;
  max-width: 1600px;
  width: 100%;
  margin: auto;
}
@media (min-width: 1200px) {
  .riq-ms-header__container {
    padding: 12px 25px 14px;
  }
}
@media (min-width: 1600px) {
  .riq-ms-header__container {
    padding: 15px 15px;
  }
}
.riq-ms-header--sticky {
  box-shadow: 0 0 10px -3px rgba(0, 0, 0, 0.5);
}
.riq-ms-header--sticky .riq-ms-header__logo {
  top: 0;
}
@media (min-width: 1440px) {
  .riq-ms-header--sticky .riq-ms-header__container {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
.riq-ms-header--sticky .riq-ms-header__navigation > li.active {
  color: #2bcb7a;
}
.riq-ms-header--sticky .riq-ms-header__navigation > li.active > a {
  color: #2bcb7a;
}
@media (min-width: 1024px) {
  .riq-ms-header--sticky .riq-ms-header__navigation > li > a {
    color: #051c2c;
  }
  .riq-ms-header--sticky .riq-ms-header__navigation > li > a:hover {
    color: #2bcb7a;
  }
}
.riq-ms-header {
  /* logo styles */
}
.riq-ms-header__logo {
  position: relative;
  display: block;
  width: 120px;
  top: 3px;
  transition: all 0.4s ease;
}
@media (min-width: 576px) {
  .riq-ms-header__logo {
    width: 140px;
  }
}
@media (min-width: 992px) {
  .riq-ms-header__logo {
    top: 0;
  }
}
@media (min-width: 1200px) {
  .riq-ms-header__logo {
    width: 160px;
  }
}
@media (min-width: 1280px) {
  .riq-ms-header__logo {
    width: 184px;
    top: 3px;
  }
}
.riq-ms-header__logo a {
  position: relative;
  display: inline-block;
  vertical-align: top;
}
.riq-ms-header__logo img {
  transition: all 0.4s ease;
  display: block;
  max-width: 100%;
  max-height: 49px;
  object-fit: contain;
  margin: 0 auto;
}
.riq-ms-header__main-nav {
  position: relative;
}
@media (min-width: 450px) {
  .riq-ms-header__main-nav {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
  }
}
.riq-ms-header__main-nav:before {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-in-out;
}
@media (min-width: 1025px) {
  .riq-ms-header__main-nav:before {
    display: none;
  }
}
.nav-active .riq-ms-header__main-nav:before {
  opacity: 1;
  visibility: visible;
}
.riq-ms-header__main-nav .riq-ms-header__nav-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-right: 0;
  padding-top: 15px;
}
.riq-ms-header__main-nav .riq-ms-header__nav-cta .riq-ms-btn {
  max-width: 300px;
  width: 100%;
  font-size: 14px;
}
@media (min-width: 1024px) {
  .riq-ms-header__main-nav .riq-ms-header__nav-cta {
    display: none;
  }
}
.riq-ms-header__main-nav {
  /* navigation alignment modifiers */
}
@media (min-width: 1024px) {
  .riq-ms-header__main-nav--left, .riq-ms-header__main-nav--center, .riq-ms-header__main-nav--right {
    flex: 1;
  }
}
@media (min-width: 1024px) {
  .riq-ms-header__main-nav--left .riq-ms-header__navigation {
    justify-content: flex-start;
  }
}
@media (min-width: 1024px) {
  .riq-ms-header__main-nav--center .riq-ms-header__navigation {
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .riq-ms-header__main-nav--right .riq-ms-header__navigation {
    justify-content: flex-end;
  }
}
.riq-ms-header__main-drop {
  background: #1d2237;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  transition: all 0.3s ease;
  padding: 23px 0;
  width: 100%;
  transform: translateY(-100%);
  z-index: 9;
}
@media (min-width: 1024px) {
  .riq-ms-header__main-drop {
    background: none;
    border: none;
    padding: 0;
    position: static;
    margin: 0 7px 0 0;
    overflow: visible;
    transition: none;
    transform: none;
    width: 100%;
  }
}
.nav-active .riq-ms-header__main-drop {
  margin: 0;
  box-shadow: 0 0 12px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
}
@media (min-width: 1024px) {
  .nav-active .riq-ms-header__main-drop {
    box-shadow: none;
  }
}
.resize-active .riq-ms-header__main-drop {
  transition: none !important;
  animation: none !important;
}
.riq-ms-header__navigation {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
@media (min-width: 600px) {
  .riq-ms-header__navigation {
    font-size: 24px;
  }
}
@media (min-width: 1024px) {
  .riq-ms-header__navigation {
    font-size: 15px;
    font-weight: normal;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 0;
  }
}
@media (min-width: 1280px) {
  .riq-ms-header__navigation {
    font-size: 16px;
  }
}
.riq-ms-header__navigation > li {
  text-align: center;
  border-bottom: 1px solid #323743;
  position: relative;
}
@media (min-width: 1024px) {
  .riq-ms-header__navigation > li {
    border: none;
    padding: 15px 0;
    margin: 0 5px;
  }
}
@media (min-width: 1200px) {
  .riq-ms-header__navigation > li {
    margin: 0 9px;
  }
}
@media (min-width: 1440px) {
  .riq-ms-header__navigation > li {
    margin: 0 12px;
  }
}
.riq-ms-header__navigation > li.active {
  color: #2bcb7a;
}
.riq-ms-header__navigation > li.active > a {
  color: #2bcb7a;
}
.riq-ms-header__navigation > li {
  /* desktop: reveal dropdown on hover or keyboard focus (slides in) */
}
@media (min-width: 992px) {
  .riq-ms-header__navigation > li:hover > a, .riq-ms-header__navigation > li:focus-within > a {
    color: #2bcb7a;
  }
}
@media (min-width: 1024px) {
  .riq-ms-header__navigation > li:hover > .riq-ms-header__menu-dropdown, .riq-ms-header__navigation > li:focus-within > .riq-ms-header__menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.riq-ms-header__navigation > li {
  /* dropdown indicator arrow on desktop; flips up on hover/focus */
}
@media (min-width: 1024px) {
  .riq-ms-header__navigation > li.has-dropdown > a,
  .riq-ms-header__navigation > li.has-dropdown > .riq-ms-header__menu-heading {
    position: relative;
    padding-right: 16px;
  }
  .riq-ms-header__navigation > li.has-dropdown > a::after,
  .riq-ms-header__navigation > li.has-dropdown > .riq-ms-header__menu-heading::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease;
  }
}
@media (min-width: 1024px) {
  .riq-ms-header__navigation > li.has-dropdown:hover > a::after, .riq-ms-header__navigation > li.has-dropdown:hover > .riq-ms-header__menu-heading::after, .riq-ms-header__navigation > li.has-dropdown:focus-within > a::after, .riq-ms-header__navigation > li.has-dropdown:focus-within > .riq-ms-header__menu-heading::after {
    transform: translateY(-30%) rotate(-135deg);
  }
}
.riq-ms-header__navigation > li {
  /* mobile: dropdown is tap-toggled via the caret button (.open added by JS) */
}
@media (max-width: 1023px) {
  .riq-ms-header__navigation > li.has-dropdown.open > .riq-ms-header__menu-dropdown {
    display: block;
    animation: riq-ms-dropdown-slide 0.3s ease;
  }
}
.riq-ms-header__navigation > li > a,
.riq-ms-header__navigation > li > .riq-ms-header__menu-heading {
  display: block;
  color: #999;
  outline: none;
  padding: 24px 14px;
  text-align: center;
}
@media (min-width: 1024px) {
  .riq-ms-header__navigation > li > a,
  .riq-ms-header__navigation > li > .riq-ms-header__menu-heading {
    padding: 0;
    text-align: left;
  }
}
.riq-ms-header__navigation > li > a:hover,
.riq-ms-header__navigation > li > .riq-ms-header__menu-heading:hover {
  color: #2bcb7a;
}
.riq-ms-header__navigation > li {
  /* non-clickable dropdown heading: button reset to match a nav link */
}
.riq-ms-header__navigation > li > .riq-ms-header__menu-heading {
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .riq-ms-header__navigation > li > .riq-ms-header__menu-heading {
    width: auto;
  }
}
.riq-ms-header__navigation > li {
  /* caret that tap-toggles the submenu on mobile; hidden on desktop (hover) */
}
.riq-ms-header__navigation > li > .riq-ms-header__dropdown-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  background: none;
  border: 0;
  color: #999;
  cursor: pointer;
}
.riq-ms-header__navigation > li > .riq-ms-header__dropdown-toggle::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
@media (min-width: 1024px) {
  .riq-ms-header__navigation > li > .riq-ms-header__dropdown-toggle {
    display: none;
  }
}
.riq-ms-header__navigation > li.open > .riq-ms-header__dropdown-toggle::before {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.riq-ms-header {
  /* dropdown styles */
}
.riq-ms-header__menu-dropdown {
  position: relative;
  display: none;
  z-index: 5;
  min-width: 220px;
}
@media (min-width: 1024px) {
  .riq-ms-header__menu-dropdown {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 180px;
    padding-top: 14px; /* transparent hover bridge between item and panel */
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }
}
.riq-ms-header__dropdown-wrap {
  position: relative;
  background: #1d2237;
}
@media (min-width: 1024px) {
  .riq-ms-header__dropdown-wrap {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
}
.riq-ms-header__dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  background: #1d2237;
  border-radius: 4px;
  padding: 0 10px;
  text-align: center;
  margin-bottom: 8px;
  z-index: 3;
}
@media (min-width: 576px) {
  .riq-ms-header__dropdown-list {
    padding: 0 15px;
  }
}
@media (min-width: 1024px) {
  .riq-ms-header__dropdown-list {
    background: #fff;
    text-align: left;
    margin-bottom: 0;
  }
}
.riq-ms-header__dropdown-list li {
  position: relative;
  margin: 0;
}
.riq-ms-header__dropdown-list li:last-child {
  margin-bottom: 0;
}
.riq-ms-header__dropdown-list li a {
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
  padding: 0 0 22px;
  position: relative;
  color: #fff;
  display: block;
}
@media (min-width: 600px) {
  .riq-ms-header__dropdown-list li a {
    font-size: 20px;
  }
}
@media (min-width: 1024px) {
  .riq-ms-header__dropdown-list li a {
    font-size: 14px;
    color: #051c2c;
    padding: 10px 0;
  }
}
@media (min-width: 1200px) {
  .riq-ms-header__dropdown-list li a {
    font-size: 15px;
  }
}
.riq-ms-header__dropdown-list li a:hover {
  color: #25cad2;
}
.riq-ms-header {
  /* CTA buttons */
}
.riq-ms-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.riq-ms-header__right .riq-ms-header__nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 45px;
}
@media (min-width: 1024px) {
  .riq-ms-header__right .riq-ms-header__nav-cta {
    padding-right: 0;
  }
}
.riq-ms-header__right .riq-ms-header__nav-cta a:nth-child(2) {
  display: none;
}
@media (min-width: 576px) {
  .riq-ms-header__right .riq-ms-header__nav-cta a:nth-child(2) {
    display: inline-flex;
  }
}
.riq-ms-header {
  /* nav opener (hamburger) */
}
.riq-ms-header__nav-opener {
  width: 22px;
  height: 20px;
  border-top: 2px solid #2bcb7a;
  transition: all 0.3s ease;
  position: absolute;
  outline: none;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 101;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .riq-ms-header__nav-opener {
    display: none;
  }
}
.nav-active .riq-ms-header__nav-opener {
  border-color: #fff;
  border-top: none;
  right: 30px;
  top: 30px;
}
.riq-ms-header__nav-opener:before, .riq-ms-header__nav-opener:after {
  width: 22px;
  height: 2px;
  transition: all 0.4s ease;
  background: #2bcb7a;
  position: absolute;
  content: "";
  left: 0;
  top: 16px;
}
.nav-active .riq-ms-header__nav-opener:before, .nav-active .riq-ms-header__nav-opener:after {
  background: #fff;
  top: 9px;
  transform: rotate(45deg);
}
.riq-ms-header__nav-opener:after {
  top: 7px;
}
.nav-active .riq-ms-header__nav-opener:after {
  width: 22px;
  top: 9px;
  transform: rotate(-45deg);
}
.riq-ms-header__nav-opener:hover {
  border-top-color: #397ef4;
}
.riq-ms-header__nav-opener:hover:before, .riq-ms-header__nav-opener:hover:after {
  background: #397ef4;
}
.nav-active .riq-ms-header__nav-opener:hover:before, .nav-active .riq-ms-header__nav-opener:hover:after {
  background: #fff;
}

@media (max-width: 1023px) {
  body.nav-active {
    overflow: hidden !important;
  }
}
/* button styles */
.riq-ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 15px;
  border-radius: 4px;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  outline: none;
}
@media (min-width: 768px) {
  .riq-ms-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}
@media (min-width: 1200px) {
  .riq-ms-btn {
    font-size: 15px;
    padding: 11px 24px;
  }
}
.riq-ms-btn--primary {
  background-color: #2bcb7a;
  border-color: #2bcb7a;
  color: #fff;
}
.riq-ms-btn--primary:hover {
  background-color: transparent;
  color: #2bcb7a;
}
.riq-ms-btn--secondary {
  background-color: transparent;
  border-color: #397ef4;
  color: #397ef4;
}
.riq-ms-btn--secondary:hover {
  background-color: #397ef4;
  color: #fff;
}

/* sticky header animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* contact tooltip panel*/
.riq-ms-header__contact-dropdown {
  position: relative;
  display: inline-block;
}
.riq-ms-header__contact-dropdown:hover .riq-ms-header__contact-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.riq-ms-header__contact-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}
.riq-ms-header__contact-toggle i {
  color: #333;
  font-size: 16px;
}
.riq-ms-header__contact-toggle:hover {
  background: #f5f5f5;
}
.riq-ms-header__contact-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.riq-ms-header__contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
}
.riq-ms-header__contact-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.riq-ms-header__contact-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.riq-ms-header__contact-name {
  font-size: 15px;
  font-weight: 600;
  color: #051c2c;
  margin: 0;
}
.riq-ms-header__contact-title {
  font-size: 12px;
  color: #999;
  margin: 0;
  line-height: 1.4;
}
.riq-ms-header__contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 4px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.riq-ms-header__contact-link i {
  color: #555;
  font-size: 14px;
  width: 16px;
  text-align: center;
}
.riq-ms-header__contact-link:hover {
  background: #f9f9f9;
  color: #000;
}
.riq-ms-header__contact-link:last-child {
  padding-bottom: 0;
}

/* mobile dropdown slide-in */
@keyframes riq-ms-dropdown-slide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.riq-ms-team-title {
  text-align: center;
}

/* offset so scrollIntoView (on page change) clears the sticky header */
.riq-ms-team-wrapper {
  scroll-margin-top: 90px;
}

/* carousel mode: turn the grid into a horizontal scroll-snap track.
   `--riq-slides` is set inline from the shortcode's `batch` attribute and drives
   how many slides show per view. Smaller screens cap it (tablet: up to 2,
   mobile: 1) so a large batch never produces unreadable slivers. */
.riq-ms-team-wrapper[data-mode=carousel] .riq-ms-team {
  --riq-slides: 3; /* slides per view, set inline from `batch` */
  --riq-gap: 24px; /* single source of truth for the gap + the width math */
  display: flex;
  flex-wrap: nowrap;
  gap: var(--riq-gap);
  overflow-x: auto;
  /* No horizontal padding: keeps the content box equal to the visible width so
     exactly N slides fit with no part of the next card peeking in. */
  padding-left: 0;
  padding-right: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.riq-ms-team-wrapper[data-mode=carousel] .riq-ms-team::-webkit-scrollbar {
  display: none; /* WebKit */
}
@media (min-width: 992px) {
  .riq-ms-team-wrapper[data-mode=carousel] .riq-ms-team {
    --riq-gap: 28px;
  }
}
.riq-ms-team-wrapper[data-mode=carousel] .riq-ms-team .riq-ms-team__item {
  flex: 0 0 100%; /* mobile: 1 per view */
  scroll-snap-align: start;
}
@media (min-width: 576px) {
  .riq-ms-team-wrapper[data-mode=carousel] .riq-ms-team .riq-ms-team__item {
    flex: 0 0 calc((100% - (min(var(--riq-slides), 2) - 1) * var(--riq-gap)) / min(var(--riq-slides), 2));
  }
}
@media (min-width: 992px) {
  .riq-ms-team-wrapper[data-mode=carousel] .riq-ms-team .riq-ms-team__item {
    flex: 0 0 calc((100% - (var(--riq-slides) - 1) * var(--riq-gap)) / var(--riq-slides));
  }
}

/* search box */
.riq-ms-team__search {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 992px) {
  .riq-ms-team__search {
    padding: 0 24px;
  }
}
.riq-ms-team__search-icon {
  position: absolute;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  color: #9aa3af;
  font-size: 14px;
  pointer-events: none;
}
@media (min-width: 992px) {
  .riq-ms-team__search-icon {
    left: 40px;
  }
}
.riq-ms-team__search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px 12px 40px;
  font-family: "Helvetica", "Arial", "Helvetica", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  color: #051c2c;
  background-color: #fff;
  border: 1px solid #d7dbe0;
  border-radius: 50px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.riq-ms-team__search-input::placeholder {
  color: #9aa3af;
}
.riq-ms-team__search-input:focus {
  border-color: #397ef4;
  box-shadow: 0 0 0 3px rgba(57, 126, 244, 0.15);
}

/* empty search state */
.riq-ms-team__empty {
  text-align: center;
  color: #6b7280;
  font-size: 15px;
  font-family: "Helvetica", "Arial", "Helvetica", sans-serif;
  margin: 0;
  padding: 24px 16px 0;
}
.riq-ms-team__empty.is-hidden {
  display: none;
}

/* team members style */
.riq-ms-team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}
@media (min-width: 576px) {
  .riq-ms-team {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .riq-ms-team {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 48px 24px;
  }
}
.riq-ms-team {
  /* card */
}
.riq-ms-team__item {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.riq-ms-team__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
}
.riq-ms-team__item.is-hidden {
  display: none;
}
.riq-ms-team__item.is-revealing {
  animation: riq-ms-team-reveal 400ms ease-out both;
}
@keyframes riq-ms-team-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.riq-ms-team {
  /* load more */
}
.riq-ms-team__more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
@media (min-width: 992px) {
  .riq-ms-team__more {
    margin-top: 32px;
  }
}
.riq-ms-team__load-more {
  appearance: none;
  border: 1px solid #397ef4;
  background-color: #397ef4;
  color: #fff;
  font-family: "Helvetica", "Arial", "Helvetica", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.riq-ms-team__load-more:hover {
  background-color: rgb(18.3473684211, 100.8172248804, 241.8526315789);
  border-color: rgb(18.3473684211, 100.8172248804, 241.8526315789);
}
.riq-ms-team__load-more:active {
  transform: translateY(1px);
}
.riq-ms-team__load-more.is-hidden {
  display: none;
}
.riq-ms-team {
  /* pagination */
}
.riq-ms-team__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}
@media (min-width: 992px) {
  .riq-ms-team__pagination {
    margin-top: 32px;
  }
}
.riq-ms-team__pagination.is-hidden {
  display: none;
}
.riq-ms-team__page {
  appearance: none;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d7dbe0;
  border-radius: 8px;
  background-color: #fff;
  color: #051c2c;
  font-family: "Helvetica", "Arial", "Helvetica", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.riq-ms-team__page:hover:not(:disabled):not(.is-active) {
  border-color: #397ef4;
  color: #397ef4;
}
.riq-ms-team__page.is-active {
  border-color: #397ef4;
  background-color: #397ef4;
  color: #fff;
  cursor: default;
}
.riq-ms-team__page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.riq-ms-team__page-gap {
  min-width: 24px;
  text-align: center;
  color: #9aa3af;
  font-size: 14px;
  user-select: none;
}
.riq-ms-team {
  /* carousel nav (arrows + dots) */
}
.riq-ms-team__carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
@media (min-width: 992px) {
  .riq-ms-team__carousel-nav {
    margin-top: 32px;
  }
}
.riq-ms-team__carousel-nav.is-hidden {
  display: none;
}
.riq-ms-team__carousel-prev, .riq-ms-team__carousel-next {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #d7dbe0;
  border-radius: 50%;
  background-color: #fff;
  color: #051c2c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.riq-ms-team__carousel-prev:hover:not(:disabled), .riq-ms-team__carousel-next:hover:not(:disabled) {
  border-color: #397ef4;
  color: #397ef4;
}
.riq-ms-team__carousel-prev:disabled, .riq-ms-team__carousel-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.riq-ms-team__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.riq-ms-team__dot {
  appearance: none;
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #d7dbe0;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.riq-ms-team__dot:hover {
  background-color: #b8bfc8;
}
.riq-ms-team__dot.is-active {
  background-color: #397ef4;
  transform: scale(1.2);
}
.riq-ms-team {
  /* avatar */
}
.riq-ms-team__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f3f3f3;
  flex-shrink: 0;
  margin-bottom: 18px;
}
.riq-ms-team__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.riq-ms-team {
  /* info wrapper */
}
.riq-ms-team__info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.riq-ms-team__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #051c2c;
  font-family: "Helvetica", "Arial", "Helvetica", sans-serif;
  margin: 0 0 6px;
}
.riq-ms-team__title {
  font-size: 14px;
  line-height: 1.4;
  color: #6b7280;
  margin: 0 0 4px;
}
.riq-ms-team__nmls {
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
  margin: 0 0 18px;
}
.riq-ms-team {
  /* contact list */
}
.riq-ms-team__contact {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  width: 100%;
  border-top: 1px solid #eef0f3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}
.riq-ms-team__contact li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  line-height: 1.4;
  color: #6b7280;
  margin: 0;
  padding: 0;
}
.riq-ms-team__contact li .fa {
  width: 16px;
  font-size: 14px;
  color: #6b7280;
  margin-right: 10px;
  text-align: center;
  flex-shrink: 0;
}
.riq-ms-team__contact a {
  color: #6b7280;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.15s ease;
}
.riq-ms-team__contact a:hover {
  color: #051c2c;
}
.riq-ms-team__contact a[href^="tel:"] {
  color: #397ef4;
  text-decoration: underline;
}
.riq-ms-team__contact a[href^="tel:"]:hover {
  color: rgb(13.1578947368, 95.6937799043, 236.8421052632);
}

/* horizontal card variant */
/* auto-adjust the grid when any card uses the horizontal modifier */
.riq-ms-team:has(.riq-ms-team__item--horizontal) {
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .riq-ms-team:has(.riq-ms-team__item--horizontal) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.riq-ms-team__item--horizontal {
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 40px 24px;
  gap: 20px;
}
@media (min-width: 576px) {
  .riq-ms-team__item--horizontal {
    gap: 24px;
  }
}
.riq-ms-team__item--horizontal .riq-ms-team__avatar {
  width: 170px;
  height: 170px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.riq-ms-team__item--horizontal .riq-ms-team__info {
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.riq-ms-team__item--horizontal .riq-ms-team__nmls {
  margin-bottom: 0;
}

/* compact icon variant */
.riq-ms-team__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #eef0f3;
  width: 100%;
}

.riq-ms-team__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #f0f4ff;
  color: #397ef4;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.riq-ms-team__icon-btn:hover {
  background-color: #397ef4;
  color: #fff;
  transform: translateY(-2px);
}
.riq-ms-team__icon-btn {
  /* shared tooltip base */
}
.riq-ms-team__icon-btn::before, .riq-ms-team__icon-btn::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.riq-ms-team__icon-btn {
  /* tooltip arrow — rotated square, top-left borders visible */
}
.riq-ms-team__icon-btn::before {
  content: "";
  top: calc(100% + 7px);
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-top: 1px solid #e2e5ea;
  border-left: 1px solid #e2e5ea;
  transform: translateX(-50%) translateY(-4px) rotate(45deg);
  z-index: 2;
}
.riq-ms-team__icon-btn {
  /* tooltip bubble */
}
.riq-ms-team__icon-btn::after {
  content: attr(data-tooltip);
  top: calc(100% + 11px);
  background-color: #fff;
  color: #051c2c;
  font-size: 12px;
  font-family: "Helvetica", "Arial", "Helvetica", sans-serif;
  line-height: 1.4;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #e2e5ea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateX(-50%) translateY(-4px);
  z-index: 1;
}
.riq-ms-team__icon-btn:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) rotate(45deg);
}
.riq-ms-team__icon-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}