/* General Bio List Styles */
.BDK-bio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.BDK-bio {
    display: flex;
    flex: 0 0 calc((100% - 48px) / 3);
    background-color: #FFF;
    transition: transform 0.3s ease-in-out;
    border-radius: 8px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
}

.profile-pic-wrapper {
    width: 38%;;
    overflow: hidden;
    position: relative;
    display: inline-block;
}
.profile-pic-wrapper::before {
    content: "";
    position: absolute;
    top: 0%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: #E8E1D2;
    border-radius: 100% 100% 0 0;
    transform: translate(-50%, 40%);
    z-index: 0;
}
.profile-pic {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0 8px;
    transition: transform 0.3s;
}

.profile-info {
    width: 62%;
    padding: 18px 14px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
	font-size: 14px;
	line-height: 1em;
}

.BDK-department h2 {
    padding: 25px 0px 20px;
    font-size: 20px;
    font-weight: 600;
}

.profile-info h3 {
    font-size: 16px;
    padding: 0;
}

.profile-info span {
    display: inline-block;
}

.profile-info .telephone,
.profile-info .email {
    display: flex;
    gap: 8px;
    align-items: center;
}
.profile-info .telephone::before {
    content: url(../images/icons-telefon.svg);
    width: 20px;
    height: 20px;
}

.profile-info .email::before {
    content: url(../images/icon-mail.svg);
    width: 20px;
    height: 20px;
}

.BDK-bio a {
    color: rgba(25, 25, 25, 1);
    transition: 0.3s;
}

.BDK-bio a:hover {
    color: #D06161;
}

/* Bio Filter */

.filter-team-buttons .nav > ul > li:after {
	font-family: 'ETMODULES';
    content: "\33";
	position: absolute;
    font-size: 32px;
    right: 4px;
    top: 8px;
}
.filter-team-buttons .nav .close::after {
    display: none;
	font-family: 'ETMODULES';
    content: "\32";
	position: absolute;
    font-size: 32px;
    right: 4px;
    top: 8px;
}
 
.filter-team-buttons .nav ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
 
.filter-team-buttons .nav ul ul {
    position: absolute;
    opacity: 0;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.9);
    z-index: -1;
    width: 100% !important;
    right: 0;
    text-align: right;
    top: 35px;
    box-shadow: none;
}
 
.filter-team-buttons .nav ul ul li {
    line-height: 1.3em;
	padding:0;
}
 
.filter-team-buttons .nav ul > li:hover ul {
    opacity: 1;
    z-index: 2;
}
 
.filter-team-buttons nav a {
    font-size: 16px;
    font-weight: 400;
    margin-right: 0;
    margin-bottom: 15px;
    text-decoration: none;
    color: #001A4D;
    line-height: 2.1em;
}
 
.filter-team-buttons .nav ul ul li a:hover {
    background-color: transparent;
    border: 2px solid #0C2A65;
}
.filter-team-buttons .filter-heading {
	display: none;
}

/* --- Force Always Visible Filter Menu on Desktop --- */
@media (min-width: 768px) {
    /* Make submenus always visible */
    .filter-team-buttons .nav ul ul {
        opacity: 1 !important;
        z-index: 1 !important;
        position: static !important; 
        display: flex !important; 
        gap: 12px;
        background: transparent !important;
        box-shadow: none !important;
        transition: none !important;
        visibility: visible !important;
		flex-wrap: wrap;
    }
 
    /* Remove hover effect completely */
    .filter-team-buttons .nav > ul > li:hover ul {
        opacity: 1 !important;
        z-index: 1 !important;
    }
 
    /* Remove dropdown arrows since hover is gone */
    .filter-team-buttons .nav > ul > li:after {
        display: none !important;
    }
 
    /* Make sure top-level <li> are inline and not toggling */
    .filter-team-buttons .nav > ul {
        display: flex !important;
        gap: 25px;
        align-items: center;
		margin-bottom: 50px;
    }
	.filter-team-buttons .nav a {
		background: #D2D9E7;
		border-radius: 25px;
		padding: 4px 16px;
		border: 2px solid #D2D9E7;
		transition: all 0.3s;
	}
	.filter-team-buttons nav a.active {
   		border-radius: 25px;
		border: 2px solid #0C2A65;
		background: #F7F5F0;
	}
}
/* Fade-in Animation */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media (max-width: 1024px) {
	.BDK-bio-list {
		gap: 24px;
	}
	.BDK-bio {
		flex: 0 0 calc((100% - 24px) / 2);
	}
}
/* Responsive Styles */
@media (max-width: 980px) {
	.BDK-bio-list {
		gap: 8px;
	}
	.BDK-bio {
		display: flex;
		flex-direction: column;
		flex: 0 0 calc((100% - 8px) / 2);
		background-color: transparent;
		transition: transform 0.3s ease-in-out;
		border-radius: 0px;
		box-shadow: none !important;
	}
	.profile-pic-wrapper {
		width: 100%;
	}
	.profile-info {
		width: 100%;
		padding: 18px 0px;
	}
}

/* Mobile Styles */
@media (max-width: 767px) {
	.filter-team-buttons .nav > ul {
		border: 1px solid #BBBDC0;
		border-radius: 8px;
        padding: 8px;
		background: #FFF;
	}
	.filter-team-buttons .nav .filter-heading {
		font-size: 14px;
		display: block !important;
	}
	.filter-team-buttons .nav .show .close::after {
		display:block;
	}
	.filter-team-buttons .nav > ul > li.show::after {
		display: none !important;
	}
	
	
	.filter-team-buttons nav a.active {
   		border-bottom: 2px solid #D06161;
	}
 
    .filter-team-buttons .nav > ul > li {
        font-size: 20px;
    }
 
    .filter-team-buttons .nav ul ul {
        opacity: 0 !important;
        z-index: -1 !important;
		padding: 20px 10px 10px 10px;
		border-radius: 0px 0px 8px 8px;
		border-left: 1px solid #BBBDC0;
		border-right: 1px solid #BBBDC0;
		border-bottom: 1px solid #BBBDC0;
    }
    .filter-team-buttons .nav > ul > li.show ul,
    .filter-team-buttons .nav > ul > li.show.hide ul {
        opacity: 1 !important;
		z-index: 1 !important
    }
 
    .filter-team-buttons {
        margin-bottom: 20px;
    }
 
    .BDK-department h2 {
        font-size: 18px;
    }
    .BDK-bio .profile-info h3 {
        font-size: 14px;
    }
	.single-bio .profile-info h3 {
		font-size: 14px !important;
	}
    .BDK-bio .profile-info span {
        display: inline-block;
    }
	.profile-info {
		font-size: 12px;
	}
	.filter-team-buttons nav a {
		font-size: 14px;
	}
}

/* Single Bio */
/* @media (min-width: 768px) {
    .bio .single-bio {
        display: flex;
        flex-direction: row;
        max-height: 480px;
        overflow: hidden;
        width: 100%;
    }

    .bio .single-bio .profile-pic-wrapper {
        width: 65%;
    }

    .bio .single-bio .profile-pic {
        height: auto;
    }

    .bio .single-bio .profile-info {
        width: 35%;
        padding: 30px;
        text-align: left;
    }

    .bio .single-bio .profile-info h3 {
        font-size: 28px;
    }
} */