.team-overview {
    margin: 0px auto;
    /* Spacing between grid items */
    width: 80%;
    /* Full width of its container */

}

.team-overview h1 {
    margin: var(--margin-xxl) auto;
}

.team-overview-members {
    display: grid;
    margin: 0px auto;
    grid-template-columns: repeat(3, 1fr);
    /* Default: 3 columns */
    /* Spacing between grid items */
    /* Full width of its container */

}

@media (max-width: 900px) {
    .team-overview-members {
        grid-template-columns: repeat(2, 1fr);
        /* 2x3 grid */
    }
}

.team-member {
    display: flex;
    width: 80%;
    /* Adjust the percentage to control the card's width */

    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 .3rem 2rem #0000001a;
    overflow: hidden;
    /* Ensures the image stays within rounded borders */
}

.team-member img {
    display: block;
    object-fit: cover;
    /* Optional: Matches the card's border radius */
    /* Ensures the image fits nicely inside its container */

    /* Ensures the image behaves as a block element */
    /* Centers the block element horizontally */
}

.team-member h3 {
    font-size: var(--text-xl);
    margin: var(--margin-m) var(--margin-l) 0 var(--margin-l);
}

.team-member p {
    font-size: var(--text-s);
    line-height: calc(var(--text-s) * 1.6);
    margin: var(--margin-l);
}


.story {
    width: 50%;
    margin: 0 0 var(--margin-xxl) 10%;
}

.story h1 {
    margin: var(--margin-xxl) auto var(--margin-l) 0;
}

.story hr {
    border: none;
    border-bottom: 2px solid #ccc;
    /* Thickness and color */
    margin: var(--margin-m) 0;
    /* Spacing around the line */
}

.story p {
    font-size: var(--text-m);
    line-height: calc(var(--text-m) * 1.8);
}

@media (max-width: 600px) {
    .team-overview {
        grid-template-columns: repeat(1, 1fr);
        /* 1x6 grid */
    }

    .story {
        width: 70%;
        margin: 0px auto;
    }
}

.phone-number {
    font-weight: bold;
    color: var(--highlight-color, #007BFF);
    /* Use a variable or a custom color */
    text-decoration: underline;
    /* Optional, adds emphasis */
}

.email {
    font-weight: bold;
    color: var(--highlight-color, #007BFF);
    /* Different color for email */
    text-decoration: underline dotted;
    /* Dotted underline for visual distinction */
    cursor: pointer;
    /* Indicates it's interactive */
}