.ExpertTeam-sp {
    .content-wrap {
        align-items: start;
        .content {
            .sub-heading {
                @media only screen and (min-width: 1200px) and (max-width: 1399px) {
                    font-size: 35px;
                }
            }
            .desc {
                margin-top: 15px;
            }

            ul {
                margin-block: 20px 0;
                padding-left: 0;
                list-style: none;
                li {
                    font-size: 16px;
                    font-weight: 400;
                    padding-block: 5px;
                    &::before {
                        content: "✓";
                        margin-right: 6px;
                    }
                }
            }
        }

        .content-img {
            img {
                width: 100%;
            }
        }
    }

    .ExpertTeam-card-wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
        column-gap: 25px;
        margin-top: 20px;

        .box {
            border: 2px solid var(--border);
            border-radius: 0 18px 0 0;
            padding-block: 20px;
            padding-inline: min(3em, 8%);
            position: relative;
            &::before {
                content: "";
                position: absolute;
                top: -2px;
                left: -2px;
                width: 15px;
                height: calc(100% + 2px + 2px);
                background-color: var(--primary);
            }
            &::after {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: #fcf4ea;
                border-radius: 0 18px 0 0;
                z-index: -1;
                transform-origin: left;
                transform: scaleX(0);
                transition: all 250ms ease-in-out;
            }

            &:hover {
                &::after {
                    transform: scaleX(1);
                }
            }

            .box-title {
                font-size: 16px;
                font-weight: 600;
                line-height: 24px;
            }
        }
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .ExpertTeam-sp {
        .content-wrap {
            .content {
                .sub-heading {
                    font-size: 28px;
                }
                .desc {
                    margin-top: 10px;
                }

                ul {
                    margin-block: 12px 0;
                }
            }
        }

        .ExpertTeam-card-wrap {
            column-gap: 20px;
        }
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .ExpertTeam-sp {
        .content-wrap {
            grid-template-columns: repeat(1, 1fr);
            gap: 10px;
            .content {
                .desc {
                    margin-top: 10px;
                }

                ul {
                    margin-block: 10px 0;
                }
            }
        }

        .ExpertTeam-card-wrap {
            column-gap: 20px;
            margin-top: 30px;
        }
    }
}

@media only screen and (max-width: 767px) {
    .ExpertTeam-sp {
        .content-wrap {
            gap: 15px;
            .content {
                .desc {
                    margin-top: 10px;
                }

                ul {
                    margin-block: 15px 0;
                    li {
                        font-size: 15px;
                    }
                }
            }
        }

        .ExpertTeam-card-wrap {
            grid-template-columns: repeat(1, 1fr);
        }
    }
}
