.ciratum-team-member-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-top: 10px;
    margin-bottom: 100px;
}

.ciratum-team-member-content {
    flex: 0 0 50%;
    max-width: 50%;
}

.team-member-title {
    color: #E85E28 ;
    font-size: 60px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: left;
}

.team-member-title strong {
    font-family: "UbuntuBold", sans-serif;
}

.team-member-function {
    color: #ff9966;
    font-size: 30px;
    line-height: 1.2;
    text-align: left;
    margin-bottom: 30px;
}

.team-member-function strong {
    font-family: "UbuntuBold", sans-serif;
}

.team-member-description {
    color: #1b3659;
    font-size: 20px;
    line-height: 1.5;
    opacity: 0.7;
    margin-bottom: 30px;
}

.team-member-qualities ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.team-member-qualities li {
    color: #1b3659;
    font-size: 20px;
    line-height: 1.5;
    opacity: 0.7;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.team-member-qualities li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    background-color: #ff9966;
    border-radius: 50%;
}

.ciratum-team-member-image {
    flex: 0 0 370px;
    max-width: 370px;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 370px;
    height: 370px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    position: relative;
    z-index: 2;
}

.image-border {
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid #ff9966;
    border-radius: 30px;
    z-index: 1;
}

.qualities-title {
    color: #1b3659;
    font-size: 20px;
    margin-bottom: 20px;
}

.qualities-title strong {
    font-family: "UbuntuBold", sans-serif;
}

.social-icon-link {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    z-index: 10;
    padding: 14px;
    border-radius: 10px;
    background: #0072b1;
    transition: all 0.3s ease-in-out;
}

.social-icon-link:hover {
    background-color: #1b3659;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-icon-link i {
    font-size: 20px;
    color: white;
    z-index: 11;
}

/* Verwijder order properties van de desktop versie */
.team-member-title,
.team-member-function,
.team-member-description,
.team-member-qualities,
.ciratum-team-member-image {
    order: unset;
}

@media screen and (max-width: 1024px) {
    .ciratum-team-member-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas: 
            "title"
            "function"
            "image"
            "description"
            "qualities";
        gap: 0;
        padding: 50px 0;
    }

    .team-member-title {
        grid-area: title;
        text-align: center;
        margin-bottom: 15px;
    }

    .team-member-function {
        grid-area: function;
        text-align: center;
        margin-bottom: 30px;
    }

    .ciratum-team-member-image {
        grid-area: image;
        width: 100%;
        max-width: none;
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
    }

    .team-member-description {
        grid-area: description;
        text-align: left;
        margin-bottom: 30px;
    }

    .team-member-qualities {
        grid-area: qualities;
        text-align: left;
    }

    .ciratum-team-member-content {
        flex: none;
        max-width: none;
        display: contents;
    }

    .image-wrapper {
        width: 370px;
        height: 370px;
        margin: 0 auto;
    }

    .social-icon-link {
        width: 32px;
        height: 32px;
        padding: 8px;
    }
}

@media screen and (max-width: 768px) {
    .team-member-title {
        font-size: 30px;
        text-align: left;
        margin-bottom: 10px;
    }

    .team-member-function {
        font-size: 20px;
        text-align: left;
        margin-bottom: 20px;
        margin-top: -10px;
    }

    .image-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .image-border {
        left: -10px;
        bottom: -10px;
    }

    .ciratum-team-member-image {
        margin-bottom: 30px;
    }
}

.team-member-back-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    gap: 8px;
    color: rgba(27, 54, 89, 0.7);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    margin-top: 40px;
}

.team-member-back-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.team-member-back-link:hover {
    color: #ff9966;
    text-decoration: none;
} 