.team-members {
  max-width: 100%;
  width: 100%;
  background-image: url(/wp-content/uploads/2025/04/ac208a8f818f3ab8e108071479da2196-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.team-members > .team-intro {
  max-width: 798px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 33px;
  padding: 100px 0;
}
@media (max-width: 1200px) {
  .team-members > .team-intro {
    padding: 80px 20px;
  }
}
@media (max-width: 768px) {
  .team-members > .team-intro {
    padding: 60px 20px;
  }
}
.team-members > .team-intro,
.team-members > .team-intro p {
  color: #000;
  text-align: center;
  font-family: "Rubik", Helvetica, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px; /* 141.667% */
  letter-spacing: -0.72px;
}
@media (max-width: 1200px) {
  .team-members > .team-intro,
  .team-members > .team-intro p {
    font-size: 20px;
    line-height: 30px; /* 150% */
  }
}
@media (max-width: 768px) {
  .team-members > .team-intro,
  .team-members > .team-intro p {
    font-size: 18px;
    line-height: 28px; /* 155.556% */
  }
}
.team-members > .team-intro > .btn.btn-primary,
.team-members > .team-intro p > .btn.btn-primary {
  display: inline-block;
  border-radius: 6px;
  border: 2px solid #022C58;
  background: #FFB921;
  color: #022C58;
  font-family: Rubik, "Helvetica Neue";
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 5vw;
  transition: all 0.3s ease-in-out;
}
.team-members > .team-intro > .btn.btn-primary:hover,
.team-members > .team-intro p > .btn.btn-primary:hover {
  background: #e7a81f;
}
@media (max-width: 1200px) {
  .team-members > .team-intro > .btn.btn-primary,
  .team-members > .team-intro p > .btn.btn-primary {
    font-size: 20px;
    padding: 10px 5vw;
  }
  .team-members > .team-intro > .btn.btn-primary > svg,
  .team-members > .team-intro p > .btn.btn-primary > svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 768px) {
  .team-members > .team-intro > .btn.btn-primary,
  .team-members > .team-intro p > .btn.btn-primary {
    font-size: 18px;
    padding: 10px 5vw;
  }
  .team-members > .team-intro > .btn.btn-primary > svg,
  .team-members > .team-intro p > .btn.btn-primary > svg {
    width: 16px;
    height: 16px;
  }
}
.team-members > .inner-team-members {
  max-width: 984px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
@media (max-width: 768px) {
  .team-members > .inner-team-members {
    grid-template-columns: 1fr;
  }
}
.team-members > .inner-team-members > .team-member {
  background: #fff;
}
.team-members > .inner-team-members > .team-member > .header {
  background: #20569C;
  height: 168px;
  position: relative;
}
.team-members > .inner-team-members > .team-member > .header > .profile-picture {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  background-image: var(--img);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  width: 100%;
}
.team-members > .inner-team-members > .team-member > .header > .blog-logo {
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-members > .inner-team-members > .team-member > .metadata {
  padding: 11px 32px 20px 32px;
}
.team-members > .inner-team-members > .team-member > .metadata > .name {
  color: #000;
  font-family: "Rubik", Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.team-members > .inner-team-members > .team-member > .metadata > .title {
  color: #000;
  font-family: "Rubik", Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 20px;
}
.team-members > .inner-team-members > .team-member > .metadata > .read-more {
  display: inline-block;
  border-radius: 6px;
  border: 1px solid var(--Ritholtz-Navy-Blue, #022C58);
  color: var(--Ritholtz-Navy-Blue, #022C58);
  font-family: "Rubik", Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 10px;
}

.team-members {
  max-width: 100%;
  width: 100%;
  background-image: url(/wp-content/uploads/2025/04/ac208a8f818f3ab8e108071479da2196-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.team-members > .team-intro {
  max-width: 798px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 33px;
  padding: 100px 0;
}

@media (max-width: 1200px) {
  .team-members > .team-intro {
    padding: 80px 20px;
  }
}
@media (max-width: 768px) {
  .team-members > .team-intro {
    padding: 60px 20px;
  }
}
.team-members > .team-intro,
.team-members > .team-intro p {
  color: #000;
  text-align: center;
  font-family: "Rubik", Helvetica, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px; /* 141.667% */
  letter-spacing: -0.72px;
}

@media (max-width: 1200px) {
  .team-members > .team-intro,
  .team-members > .team-intro p {
    font-size: 20px;
    line-height: 30px; /* 150% */
  }
}
@media (max-width: 768px) {
  .team-members > .team-intro,
  .team-members > .team-intro p {
    font-size: 18px;
    line-height: 28px; /* 155.556% */
  }
}
.team-members > .team-intro > .btn.btn-primary,
.team-members > .team-intro p > .btn.btn-primary {
  display: inline-block;
  border-radius: 6px;
  border: 2px solid #022C58;
  background: #FFB921;
  color: #022C58;
  font-family: Rubik, "Helvetica Neue";
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 5vw;
  transition: all 0.3s ease-in-out;
}

.team-members > .team-intro > .btn.btn-primary:hover,
.team-members > .team-intro p > .btn.btn-primary:hover {
  background: #e7a81f;
}

@media (max-width: 1200px) {
  .team-members > .team-intro > .btn.btn-primary,
  .team-members > .team-intro p > .btn.btn-primary {
    font-size: 20px;
    padding: 10px 5vw;
  }
  .team-members > .team-intro > .btn.btn-primary > svg,
  .team-members > .team-intro p > .btn.btn-primary > svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 768px) {
  .team-members > .team-intro > .btn.btn-primary,
  .team-members > .team-intro p > .btn.btn-primary {
    font-size: 18px;
    padding: 10px 5vw;
  }
  .team-members > .team-intro > .btn.btn-primary > svg,
  .team-members > .team-intro p > .btn.btn-primary > svg {
    width: 16px;
    height: 16px;
  }
}
.team-members > .inner-team-members {
  max-width: 984px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .team-members > .inner-team-members {
    grid-template-columns: 1fr;
  }
}
.team-members > .inner-team-members > .team-member {
  background: #fff;
}

.team-members > .inner-team-members > .team-member > .header {
  background: #20569C;
  height: 168px;
  position: relative;
}

.team-members > .inner-team-members > .team-member > .header > .profile-picture {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  background-image: var(--img);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
  width: 100%;
}

.team-members > .inner-team-members > .team-member > .header > .blog-logo {
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-members > .inner-team-members > .team-member > .metadata {
  padding: 11px 32px 20px 32px;
}

.team-members > .inner-team-members > .team-member > .metadata > .name {
  color: #000;
  font-family: "Rubik", Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.team-members > .inner-team-members > .team-member > .metadata > .title {
  color: #000;
  font-family: "Rubik", Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 20px;
}

.team-members > .inner-team-members > .team-member > .metadata > .read-more {
  display: inline-block;
  border-radius: 6px;
  border: 1px solid var(--Ritholtz-Navy-Blue, #022C58);
  color: var(--Ritholtz-Navy-Blue, #022C58);
  font-family: "Rubik", Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 10px;
}

.team-members {
  max-width: 100%;
  width: 100%;
  background-image: url(/wp-content/uploads/2025/04/ac208a8f818f3ab8e108071479da2196-1.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}

.team-members > .team-header {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto 40px;
  text-align: center;
}

.team-members > .team-header h2 .subheading {
  color: #f37021;
}

.team-members > .team-header .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  border: 2px solid #022C58;
  background: #FFB921;
  color: #022C58;
  font-family: Rubik, "Helvetica Neue";
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 10px 30px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.team-members > .team-header .btn.btn-primary:hover {
  background: #e7a81f;
}

.team-header {
  text-align: center;
  padding: 70px 0 120px;
}

.team-header h2 {
  font-size: 96px;
  font-weight: bold;
  font-family: Rambla Bold, sans-serif;
  line-height: 99px;
}

.team-header p {
  font-size: 24px;
  color: #151515;
  margin: 0 auto 40px;
}

.member-info {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 80%;
  margin-bottom: 30px;
  align-items: center;
}

/* Slider code */
.slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
  position: relative;
  display: flex;
  align-items: center;
}

.arrow {
  width: 40px;
  height: 40px;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.arrow:active {
  background: #0055aa;
}

.cards {
  display: flex;
  position: relative;
  height: 690px;
  width: 800px;
}

.card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 594px;
  height: 609px;
  background: #b3dbff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  opacity: 1;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 1;
}

.card img {
  border-radius: 16px;
  -o-object-fit: cover;
     object-fit: cover;
  margin-top: 0;
  width: 414px;
  height: 394px;
}

.card .name {
  font-weight: bold;
  font-size: 24px;
  margin-top: 24px;
  color: #022C58;
  font-family: "Rubik";
  font-weight: 900;
}

.card .title {
  font-size: 20px;
  color: #022C58;
  margin-bottom: 0;
}

.card .profile-btn {
  padding: 10px 32px;
  border: 2px solid #022C58;
  background: no-repeat;
  color: #003366;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
  font-size: 24px;
  gap: 19px;
}

.card .vertical {
  position: relative;
  left: -240px;
  top: 0;
  height: 559px;
  display: flex !important;
  align-items: center;
  margin: 0 !important;
  justify-content: center;
  padding: 60px 0 40px;
  font-size: 24px !important;
  font-family: Rubik;
  writing-mode: sideways-lr !important;
}

.profile-picture img {
  display: block;
}

.profile-picture {
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
}

.card .vertical svg {
  position: absolute;
  top: 0;
}

.card.center .vertical {
  display: none !important;
}

.card.right1 .vertical, .card.right2 .vertical {
  right: -240px;
  left: auto;
}

.card .profile-btn:hover {
  background: #cce6ff;
}

.card .vertical {
  display: none;
}

.card.center {
  z-index: 5;
  background: #b3dbff;
  transform: translateX(-50%) scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.card.left1 {
  z-index: 4;
  background: #0a3d6a;
  color: #fff;
  left: -30px;
}

.card.left1 .name,
.card.left1 .title,
.card.left1 .profile-btn,
.card.left1 img {
  display: none;
}

.card.left1 .vertical {
  display: block;
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 60px;
  color: #fff;
}

.card.left2 {
  z-index: 3;
  background: #003366;
  color: #fff;
  left: -130px;
}

.card.left2 .name,
.card.left2 .title,
.card.left2 .profile-btn,
.card.left2 img {
  display: none;
}

.card.left2 .vertical {
  display: block;
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 60px;
  color: #fff;
}

.card.right1 {
  z-index: 4;
  background: #0a3d6a;
  color: #fff;
  left: auto;
  right: -30px;
}

.card.right1 .name,
.card.right1 .title,
.card.right1 .profile-btn,
.card.right1 img {
  display: none;
}

.card.right1 .vertical {
  display: block;
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 60px;
  color: #fff;
}

.card.right2 {
  z-index: 3;
  background: #003366;
  color: #fff;
  left: auto;
  right: -140px;
}

.card.right2 .name,
.card.right2 .title,
.card.right2 .profile-btn,
.card.right2 img {
  display: none;
}

.card.right2 .vertical {
  display: block;
  writing-mode: vertical-rl;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 60px;
  color: #fff;
}

.card.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .cards {
    width: 100vw;
  }
}
@media (max-width: 767px) {
  .card,
  .card.center {
    width: 90vw;
    height: 320px;
  }
  .cards {
    height: 320px;
  }
  .team-header h2 {
    font-size: 32px;
    line-height: 42px;
  }
  .team-header p {
    font-size: 18px;
  }
  .team-members > .team-header {
    max-width: 80%;
    width: 100%;
    margin: 0 auto 70px;
    text-align: center;
    padding: 0;
  }
  .card, .card.center {
    height: 460px;
    width: 244px;
  }
  .card .name {
    font-weight: bold;
    font-size: 18px;
  }
  .member-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .card .profile-btn {
    font-size: 17px;
    padding: 6px 14px;
  }
  .cards {
    width: 301px;
  }
  .card img {
    border-radius: 16px;
    -o-object-fit: cover;
       object-fit: cover;
    margin-top: 0;
    width: 174px;
    height: 204px;
  }
  .card, .card.center {
    height: 340px;
    width: 172px;
  }
  .card .profile-btn svg {
    width: 11px;
  }
  .card .vertical svg {
    position: absolute;
    top: 0;
    width: 20px;
    height: 10px;
  }
  .card .vertical {
    height: 100%;
    left: -64px;
  }
  .card.right1 .vertical, .card.right2 .vertical {
    right: -65px;
    left: auto;
  }
  .card.right1 {
    z-index: 4;
    background: #0a3d6a;
    color: #fff;
    left: auto;
    right: 14px;
  }
  .card .title {
    font-size: 12px;
    color: #022C58;
    margin-bottom: 0;
  }
  .card .name {
    font-weight: bold;
    font-size: 16px;
    line-height: 19px;
  }
  .card .vertical {
    font-size: 14px !important;
  }
  .card.left1 {
    left: 10px;
  }
  .card.left2 {
    left: -31px;
  }
  .card.right2 {
    right: -30px;
  }
  .card .vertical {
    height: 100%;
    left: -64px;
    padding: 20px 0 20px;
    font-size: 13px !important;
  }
  .card img {
    border-radius: 16px;
    -o-object-fit: cover;
       object-fit: cover;
    margin-top: 0;
    width: 154px;
    height: 163px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .card,
  .card.center {
    width: 90vw;
    height: 480px;
  }
  .cards {
    height: 480px;
  }
  .team-header h2 {
    font-size: 32px;
    line-height: 42px;
  }
  .team-header p {
    font-size: 18px;
  }
  .team-members > .team-header {
    max-width: 80%;
    width: 100%;
    margin: 0 auto 70px;
    text-align: center;
    padding: 0;
  }
  .card, .card.center {
    height: 460px;
    width: 244px;
  }
  .card .name {
    font-weight: bold;
    font-size: 18px;
  }
  .member-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .card .profile-btn {
    font-size: 20px;
    padding: 9px 24px;
  }
  .cards {
    width: 514px;
  }
  .card img {
    border-radius: 16px;
    -o-object-fit: cover;
       object-fit: cover;
    margin-top: 0;
    width: 174px;
    height: 204px;
  }
  .card, .card.center {
    height: 460px;
    width: 332px;
  }
  .card .profile-btn svg {
    width: 11px;
  }
  .card .vertical svg {
    position: absolute;
    top: 0;
    width: 20px;
    height: 16px;
  }
  .card .vertical {
    height: 100%;
    left: -64px;
  }
  .card.right1 .vertical, .card.right2 .vertical {
    right: -131px;
    left: auto;
  }
  .card.right1 {
    z-index: 4;
    background: #0a3d6a;
    color: #fff;
    left: auto;
    right: 14px;
  }
  .card .title {
    font-size: 18px;
    color: #022C58;
    margin-bottom: 0;
  }
  .card .name {
    font-weight: bold;
    font-size: 22px;
    line-height: 26px;
  }
  .card .vertical {
    font-size: 18px !important;
  }
  .card.left1 {
    left: 10px;
  }
  .card.left2 {
    left: -51px;
  }
  .card.right2 {
    right: -50px;
  }
  .card .vertical {
    height: 100%;
    left: -134px;
    padding: 20px 0 20px;
    font-size: 17px !important;
  }
  .card img {
    border-radius: 16px;
    -o-object-fit: cover;
       object-fit: cover;
    margin-top: 0;
    width: 284px;
    height: 274px;
  }
}
