/* The Team Section */

.c-suite-execs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.exec {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 500px; */
    padding: 20px 50px;
}

.title {
    text-align: center;
}

.exec-portrait {
    width: 250px;
}

.exec-text {
    text-align: left;
}

.heads-of-dept {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 50px;
}

.card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    padding-bottom: 20px;
}

.card {
    border-radius: 12px;
    width: 25vw;
}

.hod {
    padding: 10px;
}

.name {
    font-size: 1.5rem;
}

.corp-social-resp {
    /* margin-bottom: -10px; */
}

.csr-content {
    line-height: 1.8;
}

.csr-container {
    padding: 25px 50px;
}

/* Responsive Edits */

@media screen and (width <= 1400px) {
    .name {
        font-size: 1.1rem;
    }

    .text-md {
        font-size: 1rem;
    }
}

@media screen and (width <= 1200px) {
    .exec-portrait {
        width: 200px;
    }

    .exec-text {
        font-size: 1.2rem;
        /* width: 400px; */
    }

}

@media screen and (width < 860px) {
    .name {
        font-size: 1.3rem;
    }

    .name {
        font-size: 1.3rem;
    }

    .text-md {
        font-size: 1.2rem;
    }

    .c-suite-execs{
        grid-template-columns: 1fr;
    }

    .card-row {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3,1fr);
        row-gap: 20px;
    }

    .exec {
        padding: 10px 10px;
    }
    
    .card {
        width: 80vw;
        align-items: center;
        justify-content: center;
    }
}
