.team-list {
    padding: 60px 80px;
}

.team-list .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.team-list .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.lawyer-card {
    display: flex;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.lawyer-card .photo {
    width: 200px;
    overflow: hidden;
}

.lawyer-card .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyer-card .info {
    flex: 1;
    padding: 30px;
}

.info p {
    font-size: 18px;
    color: #282828;
    font-family: Taipei Sans TC Beta;
}

.en-name {
    font-family: Romanesco-Regular;
    font-weight: 400;
    color: #C9AA79;
}

.lawyer-info .name,
.info h3 {
    font-family: Taipei Sans TC Beta;
    font-size: 30px;
    color: #1C3263;
    font-weight: bold;
    font-size: 30px;
}
.lawyer-info .description,
.lawyer-info .titles {
    font-family: Taipei Sans TC Beta;
font-weight: 400;
font-size: 16px;
color: #282828;
line-height: 24px;
margin-top: 24px;
}
 

.lawyer-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.lawyer-card p {
    color: #666;
    margin-bottom: 8px;
}

.learn-more {
    margin-top: 24px;
    height: 32px;
}

.team-left {
    width: 500px;
    height: 500px;
    background: #f5f5f5;
}

.team-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.right {
    padding-left: 40px;
    padding-right: 120px;
    max-width: 670px;
}

.team-container {
    display: flex;
    max-width: 1170px;
    margin: 0 auto;
    overflow: hidden;
}

.right .lbreadcrumb .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.right .split.container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.switch-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
}

.switch-buttons img {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.switch-buttons img:hover {
    opacity: 0.8;
}

/* @media screen and (min-width: 1200px) {
    .team-container{
     width: 1170px; 
    }
 } */
@media (max-width: 768px) {
    .team-container {
        flex-direction: column;
        padding: 20px;
    }

    .team-left {
        width: 100%;
        margin-bottom: 30px;
        height: auto;
    }

    .team-left img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .right {
        width: 100%;
        padding: 0;
    }

    .lawyer-card .info {
        padding: 10px;
    }

    .info p {
        font-size: 16px;
    }

    .lawyer-card {
        flex-direction: column;
    }

    .lawyer-card h3 {
        font-size: 20px;
    }

    .lawyer-card .photo {
        width: 100%;
        height: 240px;
    }

    .learn-more {
        margin-top: 12px;
    }
    .team-list {
        padding: 20px 10px;
    }
}