.team-1 {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding-top: 60px;
    padding-bottom: 60px;

    @media only screen and (min-width: 576px) {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    @media only screen and (min-width: 992px) {
        /* No additional padding needed */
    }

    .container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 80px;
        z-index: 2;

        .header {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            text-align: center;

            @media only screen and (min-width: 992px) {
                gap: 16px;
            }

            .overline {
                color: #000000;
                font-family: "Playfair Display", serif;
                font-size: 16px;
                font-style: normal;
                font-weight: 700;
                line-height: 120%;
                text-align: center;
                text-transform: none;
                letter-spacing: normal;
            }

            .title {
                color: #333;
                font-family: "League Spartan";
                font-size: clamp(2rem, calc(1.5rem + 2vw), 3.5rem);
                font-style: normal;
                font-weight: 800;
                line-height: 110%;
                text-transform: capitalize;
                margin: 0;
                padding-top: 0;
            }
        }

        .locations-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            width: 100%;

            @media only screen and (min-width: 992px) {
                grid-template-columns: 1fr 1fr;
                gap: 60px;
            }

            .location-card {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                padding: 0px 0px 20px;
                gap: 20px;
                width: 100%;
                background: linear-gradient(180deg, #F6F3EC 80.77%, rgba(246, 243, 236, 0) 100%);

                .image {
                    position: relative;
                    width: 100%;
                    height: 400px;
                    overflow: hidden;
                    border-radius: 0px;

                    .img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        object-position: center;
                    }
                }

                .row {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: flex-start;
                    padding: 0px 20px;
                    gap: 20px;
                    width: 100%;
                    margin-right: 0;
                    margin-left: 0;

                    .name-position {
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: flex-start;
                        padding: 0px;
                        gap: 8px;
                        width: 100%;

                        .position {
                            width: 100%;
                            font-family: 'Dosis';
                            font-style: normal;
                            font-weight: 500;
                            font-size: 18px;
                            line-height: 120%;
                            color: #727272;
                            margin: 0;
                        }

                        .name {
                            width: 100%;
                            font-family: 'League Spartan';
                            font-style: normal;
                            font-weight: 500;
                            font-size: 32px;
                            line-height: 110%;
                            text-transform: capitalize;
                            color: #000000;
                            margin: 0;
                        }
                    }

                    .line {
                        width: 100%;
                        height: 1px;
                        background: #D9D9D9;
                    }

                    .address {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        padding: 0px;
                        gap: 8px;
                        width: 100%;
                        height: 75px;
                        flex: none;
                        order: 3;
                        align-self: stretch;
                        flex-grow: 0;

                        .copy {
                            width: 100%;
                            height: 75px;
                            font-family: 'Dosis';
                            font-style: normal;
                            font-weight: 500;
                            font-size: 18px;
                            line-height: 140%;
                            text-decoration-line: underline;
                            color: #000000;
                            margin: 0;
                            flex: none;
                            order: 0;
                            flex-grow: 1;
                            white-space: pre-wrap;
                        }
                    }
                }
            }
        }
    }
} 