.team-section {
    padding: 100px 0 150px;
}

.team-layout {
    display: grid;
    gap: 120px;
    align-items: center;
}

.team-media {
    position: relative;
    min-width: 0;
      margin-right: 50px;
}

.team-media img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.team-data {
    position: absolute;
    right: -50px;
        bottom: -35px;
    padding: 20px 25px 30px;
   border-radius: 0 15px 0 15px;
    background: var(--gm-theme);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    font-size: var(--f14);
  
}
.team-data h2{
    font-size: clamp(52px, 7.2vw, 100px);
    font-weight: 500;
}
.team-copy {
    display: grid;
    gap:55px;
}

.team-title {
    font-size: var(--f48);
    font-weight:700;

}

.team-title::after {
    content: '';
    display: block;
    width:75px;
    height: 3px;
    margin-top: 30px;
    background: var(--gm-theme);
}

.team-content {
    color: #666;
    font-size: var(--f16);
    line-height: 1.85;
     font-weight:500;
}

.team-content p {
    margin: 0;
}

@media (min-width: 768px) {
      .team-section {
        padding: 150px 0 200px;
    }
    .team-layout {
        grid-template-columns: 1fr 1fr;
    }
 .team-data {
         padding: 40px 45px 50px;
    }
 
}
