.rl-join-mte {
    background: #fff;
    padding: 120px 0 0 0px;
  }
  
  /* Layout container with side-by-side on desktop, stacked on mobile */
  .rl-container-wide-max {
    display: flex;
    flex-direction: row;
    gap: 56px;
  }
  
  .rl-join-mte__cw {
    width: 100%;
    margin-left: 80px;
  }

  @media (max-width: 998px) {
    .rl-container-wide-max {
      flex-direction: column;
      padding: 0 12px;
      gap: 28px;
    }
  }
  
  /* Eyebrow (END-TO-END SERVICES) */
  .rl-join-mte__eyebrow {
    letter-spacing: 3.4px;
    font-size: 17px;
    line-height: 20px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 60px;
  }
  
  /* Section title styling */
  .join-real-mte__title {
    color: #000000;
    font-size: 76px;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 100px;
  }
  
  .join-real-mte__title strong,
  .join-real-mte__title .highlight {
    display: block;
    color: #181818;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: -0.5px;
  }
  
  /* Tabs navigation row */
  .rl-join-mte__tab-names {
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-top: 40px;
    align-items: flex-end;
  }
  
  .rl-join-mte__tab-name {
    display: flex;
    flex-direction: column-reverse;
    align-items: start;
    gap: 9px;
    cursor: pointer;
    padding: 20px 0px 0px 30px !important;
    border-left: 2px solid #f96b88;
    font-size: 40px;
    line-height: 100%;
    color: #b4b4b4;
    font-weight: 400;
    margin: 0;
  }
  
  .rl-join-mte__tab-name.active {
    color: #181818;
  }
  
  /* Desktop counter styling */
  .rl-join-mte__tab-counter {
    display: block;
    line-height: 100%;
  }

  .rl-join-mte__tab-counter-num {
    font-size: 18px;
    font-weight: 700;
    color: #f96b88;
  }

  .rl-join-mte__tab-counter-total {
    font-size: 14px;
    color: #787878;
    font-weight: 400;
  }
  
  /* Tabs responsive font/spacing */
  @media (max-width: 900px) {
    .rl-join-mte__tab-names {gap: 18px;}
    .rl-join-mte__tab-name {font-size: 19px;}
  }
  
  .rl-join-mte__tab-panel {
    display: none;
    align-items: center;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.36s, transform 0.38s;
    background: none;
    border: none;
  }
  
  .rl-join-mte__tab-panel.active {
    display: flex;
    gap: 42px;
    opacity: 1;
    transform: none;
  }
  
  @media (max-width: 998px) {
    .rl-join-mte__tab-panel.active {
      flex-direction: column;
      gap: 24px;
    }
  }
  
  /* Tab panel: text side */
  .rl-join-mte__tab-panel_tw {
    width: 60%;
  }
  
  .rl-join-mte__tab-panel__title {
    font-size: 44px;
    line-height: 120%;
    color: #000000;
    font-weight: 400;
    margin-bottom: 20px;
  }
  
  .rl-join-mte__tab-panel__description {
    color: #787878;
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 34px;
  }
  
  .rl-join-mte__tab-panel__link a {
    color: #f96b88;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    transition: color 0.16s;
  }
  .rl-join-mte__tab-panel__link a svg {
    width: 20px;
    margin-left: 6px;
  }

  
  .rl-join-mte__tab-panel__img_wrapper {
    width: 40%;
  }
  /* Tab panel: image side */
  .rl-join-mte__tab-panel img {
    width: 100%;
    background: #edeff1;
    margin-top: -122px;
    display: block;
    height: auto;
  }
  
  @media (max-width: 998px) {
    .rl-join-mte__tab-panel img {max-width: 95vw;}
  }
  
  /* Section fade-in-on-load (optional) */
  .rl-join-mte {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeinMTE 0.7s ease 0.09s forwards;
  }
  
  @keyframes fadeinMTE {
    to {
      opacity: 1;
      transform: none;
    }
  }
   @media (max-width: 900px) {
    .rl-join-mte {
      padding: 60px 0 60px 0px;
    }
    .rl-join-mte__cw {
      margin-left: 0;
    }
    .join-real-mte__title {
      font-size: 42px;
      margin-bottom: 60px;
    }
    .rl-join-mte__tab-panel_tw {
      width: 100%;
    }
    .rl-join-mte__tab-panel__title {
      font-size: 28px;
      margin-bottom: 16px;
    }
    .rl-join-mte__tab-panel__description {
      font-size: 16px;
      margin-bottom: 24px;
    }
    .rl-join-mte__tab-panel__link a {
      font-size: 16px;
    }
    .rl-join-mte__tab-panel__img_wrapper {
      width: 100%;
    }
    .rl-join-mte__tab-panel img {
      margin-top: 0;
    }
    .rl-join-mte__tab-names {
      margin-bottom: 40px;
    }
    .rl-join-mte__eyebrow {
      margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
  .rl-join-mte__tab-names {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
 }

/* Mobile Structure - Hidden by default */
.rl-join-mte__tabs--mobile {
  display: none;
}

/* Show mobile structure and hide desktop on mobile */
@media (max-width: 768px) {
  .rl-join-mte__tabs--desktop {
    display: none;
  }

  .rl-join-mte__tabs--mobile {
    display: block;
  }

  .rl-join-mte__mobile-item {
    margin-bottom: 40px;
    padding-bottom: 0;
  }

  .rl-join-mte__mobile-item:last-child {
    margin-bottom: 0;
  }

  .rl-join-mte__mobile-heading {
    font-size: 32px;
    font-family: 'PP Telegraf';
    line-height: 120%;
    font-weight: 400;
    color: #ABABAB;
    margin-bottom: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 2px solid #f96b88;
    display: block;
  }

  .rl-join-mte__mobile-counter {
    display: block;
    margin-top: 9px;
    line-height: 100%;
  }

  .rl-join-mte__mobile-counter-num {
    font-size: 24px;
    font-weight: 600;
    color: #ff557e;
  }

  .rl-join-mte__mobile-counter-total {
    font-size: 16px;
    color: #333;
  }

  .rl-join-mte__mobile-item.active .rl-join-mte__mobile-heading {
    color: #000000;
  }

  .rl-join-mte__mobile-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
  }

  .rl-join-mte__mobile-item.active .rl-join-mte__mobile-content {
    max-height: 3000px;
    opacity: 1;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .rl-join-mte__mobile-title {
    font-size: 28px;
    line-height: 120%;
    color: #000000;
    font-weight: 400;
    margin-bottom: 16px;
  }

  .rl-join-mte__mobile-description {
    font-size: 16px;
    color: #787878;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .rl-join-mte__mobile-link {
    margin-bottom: 24px;
  }

  .rl-join-mte__mobile-link a {
    color: #f96b88;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    text-decoration: none;
    transition: color 0.16s;
  }

  .rl-join-mte__mobile-link a svg {
    width: 30px;
    margin-left: 6px;
  }

  .rl-join-mte__mobile-link a:hover {
    text-decoration: underline;
    color: #d4546f;
  }

  .rl-join-mte__mobile-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    background: #edeff1;
  }
}


