.portfolio > .nav-item > .nav-link, .portfolio >  .nav-item > .nav-link:hover {
    color:  var(--Red);
    text-decoration: underline;
    text-underline-offset: 0.3125rem;
}
.prof-img-lg img {
    height: 17rem;
    border-radius: 100%;
    width: 17rem;
    object-fit: cover;
    object-position: 30%;
}


/* Optional: Grundlegendes CSS für die Tabelle */
.person-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.person-table img {
    vertical-align: middle;
    border-radius: 50%; /* Wenn du runde Bilder möchtest */
}

/* Beispiel für Responsivität (einfach, komplexere Fälle erfordern mehr CSS/JS) */
@media (max-width: 768px) {
    .person-table,
    .person-table thead,
    .person-table tbody,
    .person-table th,
    .person-table td,
    .person-table tr {
        display: block;
    }

    .person-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .person-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .person-table td {
        border: none;
        position: relative;
        padding-left: 50%; /* Platz für das Pseudo-Element */
        text-align: right;
        width: 50%; /* Aufteilung der Zelle für Label und Wert */
    }

    .person-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    /* Füge data-label für jede Zelle hinzu */
    .person-table td:nth-of-type(1):before { content: "Profilbild"; }
    .person-table td:nth-of-type(2):before { content: "Name"; }
    .person-table td:nth-of-type(3):before { content: "Funktion / Studiengang"; }
    .person-table td:nth-of-type(4):before { content: "Raum"; }
    .person-table td:nth-of-type(5):before { content: "Telefon"; }
    .person-table td:nth-of-type(6):before { content: "Homepage"; }
    .person-table td:nth-of-type(7):before { content: "Weitere Infos"; }
}


/* SHOW */

.profile-overview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.profile-overview-contact-info > h1{
    font-size: var(--font-size-28);
}

.profile-overview  .sp_profile_overview_info_container dd{
    font-size: 18px;
}

.profile-overview-contact-info a {
    color: white;
}

.profile-overview .sp_profile_overview_info_container {
    align-items: center;
}

.profile-overview .sp_profile_overview_info_container dl,
.profile-overview .sp_profile_overview_info_container dd:last-child
 {
    margin-bottom: 0;
}

.profile-overview .contact-info-position {
    font-weight: bold;
    font-size: 18px;
}

.profile-overview .contact-info {
    padding-top: 10px;
    gap: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info span {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.contact-info span p {
    margin: 0;
}
