.team-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    min-height: 700px;
    background: #f2f0ec;
    margin-bottom: 90px;
    padding: 0 0 50px;
  }
.left-panel a {
    display: flex;
}
section.team-section h2.section-title {
    max-width: 100%;
    font-weight: 400 !important;
    font-family: 'NEUTRATEXTLIGHTALT', sans-serif;
}

.team-section {
    background: linear-gradient(180deg, #2c2c2c 50%, #f2f2f2 50%) !important;
}
  /* ══════════════ LEFT PANEL ══════════════ */
  .left-panel {
    width: 405px;
    flex-shrink: 0;
    /*background: #f2f0ec;*/
    display: flex;
    flex-direction: column;
  }

  .featured-photo {
    width: 95%;
    height: 553px;
    overflow: visible;
    flex-shrink: 0;
}

  .featured-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: opacity 0.35s ease;
        padding: 51px 0 0 32px;
  }

  .featured-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 40px 10px;
  }

  .featured-name {

    font-size: 1.55rem;
    font-weight: 400;
    color: #1c1c1c;
    letter-spacing: 0.01em;
  }

  .featured-role {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: #9a9a9a;
    margin-top: 5px;
    font-weight: 300;
  }

  .featured-bio {
    padding: 18px 44px 0;
    font-size: 0.83rem;
    line-height: 1.75;
    color: #666;
    text-align: center;
    font-weight: 300;
  }

  /* ══════════════ RIGHT PANEL ══════════════ */
  .right-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    /*background: #f2f0ec;*/
    min-width: 0;
  }

 .right-panel .dark-bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 468px;
    background: #2c2c2c;
    pointer-events: none;
  }

  .right-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 44px 0 42px;
  }

  /* Header */
  .header-area {
    padding-top: 36px;
    padding-bottom: 24px;
    position: relative;
  }

  .section-tag {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: #b8b8b8;
    font-weight: 300;
    margin-bottom: 16px;
  }

  .section-tag .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    flex-shrink: 0;
  }

  .section-title {
    font-size: 3.1rem;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.12;
    letter-spacing: -0.01em;
    max-width: 460px;
  }

  /* Cross decorations */
  .crosses {
    position: absolute;
    top: 22px;
    right: 0;
    display: grid;
    grid-template-columns: repeat(4, 76px);
    grid-template-rows: repeat(3, 52px);
  }

  .crosses span {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .crosses span::before,
  .crosses span::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.22);
  }

  .crosses span::before { width: 1px; height: 14px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
  .crosses span::after  { height: 1px; width: 14px;  top: 50%; left: 50%; transform: translate(-50%,-50%); }

  /* Slider */
  .slider-outer {
    overflow: hidden;
    flex: 1;
    min-height: 0;
  }
.left-panel a {
    display: flex;
    flex-direction: column;
}
.slider-track {
    display: flex;
    gap: 18px;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: flex-start;
  }

  .member-card {
    flex: 0 0 calc(33.333% - 12px);
    cursor: pointer;
    display: flex;
    flex-direction: column;
  }

  .card-photo {
    width: 100%;
    height: 370px;
    overflow: visible;
    flex-shrink: 0;
  }

  .card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
  }

  .member-card:hover .card-photo img {
    transform: scale(1.04);
  }

  .card-text {
    padding: 18px 6px 0;
    text-align: center;
  }

  .card-name {
    font-size: 1.22rem;
    font-weight: 400;
    color: #1c1c1c;
    letter-spacing: 0.01em;
  }

  .card-role {
    font-size: 0.69rem;
    letter-spacing: 0.09em;
    color: #9a9a9a;
    margin-top: 5px;
    font-weight: 300;
  }

  /* Progress bar */
  .slider-footer {
    padding: 32px 0 34px;
  }

  .progress-track {
        width: 65%;
    height: 2px;
    background: #d4d0ca;
    position: relative;
    cursor: pointer;
    margin: 0 auto;
    
  }

  .progress-fill {
    height: 100%;
    background: #007E86;
    transition: width 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
  }

  /* ══════════════════════════════════════════
     TABLET  ≤ 1024px  — show 2 cards
  ══════════════════════════════════════════ */
  @media (max-width: 1024px) {
    .team-section { min-height: auto; }

    .left-panel { width: 300px; }

    .featured-photo { height: 360px; }

    .dark-bg { height: 360px; }

    .section-title { font-size: 2.3rem; }

    .right-content { padding: 0 28px 0 28px; }

    .crosses { display: none; }

    .member-card { flex: 0 0 calc(50% - 9px); }

    .card-photo { height: 220px; }
  }

  /* ══════════════════════════════════════════
     MOBILE  ≤ 768px  — stacked layout, 1 card
  ══════════════════════════════════════════ */
  @media (max-width: 768px) {

    body { align-items: flex-start; }

    .team-section {
      flex-direction: column;
      min-height: auto;
    }

    /* Left panel full width, horizontal on mobile */
    .left-panel {
      width: 100%;
      flex-direction: row;
      align-items: flex-start;
      background: #f2f0ec;
    }

    .featured-photo {
      width: 140px;
      height: 170px;
      flex-shrink: 0;
    }

    .featured-info {
      align-items: flex-start;
      padding: 16px 16px 8px;
    }

    .featured-name { font-size: 1.2rem; }
    .featured-role { font-size: 0.65rem; }

    .featured-bio {
      padding: 6px 16px 16px;
      text-align: left;
      font-size: 0.78rem;
    }

    /* Right panel */
    .right-panel { width: 100%; }

    .dark-bg { height: 280px; }

    .right-content { padding: 0 20px; }

    .header-area {
      padding-top: 24px;
      padding-bottom: 16px;
    }

    .section-title { font-size: 2rem; }

    .crosses { display: none; }

    /* 1 card visible on mobile */
    .member-card { flex: 0 0 calc(100% - 0px); }

    .card-photo { height: 358px; }

    .card-text { padding: 14px 6px 0; }

    .card-name { font-size: 1.1rem; }

    .slider-footer { padding: 22px 0 26px; }
    
    
    .left-panel {
    background: #2c2c2c !important;
}
.featured-photo img {padding: 0px !important;}

.featured-name {
    color: #ffffff !important;}
  }
  

  /* ══════════════════════════════════════════
     SMALL MOBILE  ≤ 480px
  ══════════════════════════════════════════ */
  @media (max-width: 480px) {
    .featured-photo { width: 120px; height: 150px; }
    .section-title  { font-size: 1.7rem; }
    .card-photo     { height: 358px; }
    .left-panel a {
    display: flex;
    flex-direction: row;
}
  }
  
  
  /*new css*/
  section#team-marquee-69b476767dede {
    margin-top: 90px !important;
}

section#team-marquee-69b476767dede .left-panel {
    display: none !important;
}