.site-ra .meet-the-team-wrapper .modal .committee-card-modal-wrapper {
    max-width: 100% !important;
}


.committee-card-modal-wrapper {
    max-width: 90%;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

.committee-card-modal-wrapper .modal-content {
    width: 100% !important;
	border-radius: 0;
	border: none;
}

.committee-card-modal-body {
    display: grid !important;
    grid-template-columns: 0.6fr 0.85fr !important;
    gap: 0 !important;
    position: relative;
    padding: 0 !important;
    width: 100% !important;
	align-items: stretch
}

.committee-card-modal-body .custom-close-button {
    position: absolute;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: -10px;
    right: -10px;
    cursor: pointer;
    z-index: 10;
}

.committee-card-left {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.committee-card-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
}

.committee-card-right {
    padding: 12px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: #F5F1E7;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
	height: 100%;
    min-height: 100%;
}

.committee-card-right h5 {
    color: var(--primary-color);
    margin: 0;
}

.committee-card-klasse {
    font-size: 12px;
    color: black;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.committee-card-row {
    border-top: 1px solid #e0dbd0;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.committee-card-label {
    font-weight: 600;
    font-size: 12px;
    color: black;
}

.committee-card-value {
    font-size: 12px;
    color: black;
}

.committee-card-btn {
    display: inline-block;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    width: fit-content;
    text-decoration: none;
    font-size: 14px;
    margin-top: auto;
    align-self: flex-end;
    cursor: pointer;
    transition: all 0.3s ease;
	text-transform: uppercase;
}

.committee-card-btn:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

@media (min-width: 1201px) {
    .committee-card-modal-wrapper {
        max-width: 35% !important;
        width: 35%;
    }
	.committee-card-modal-body {
        grid-template-columns: 0.4fr 1fr !important;
    }
    .committee-card-right {
        min-width: 0;
        width: 100% !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .committee-card-right h5,
    .committee-card-klasse,
    .committee-card-row {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
/* Desktop */
@media (max-width: 1200px) {
.committee-card-modal-wrapper {
max-width: 65%;
width: 65%;
}
}

@media (max-width: 992px) {
.committee-card-modal-wrapper {
max-width: 65%;
width: 65%;
}

.committee-card-modal-body {
    grid-template-columns: 0.55fr 0.8fr !important;
    min-height: 340px;
}

.committee-card-left {
    min-height: 340px;
}


}

/* iPad Pro (1024px - 821px) */
@media (max-width: 1024px) and (min-width: 821px) {
.committee-card-modal-wrapper {
max-width: 65%;
width: 65%;
}

.committee-card-modal-body {
    grid-template-columns: 0.58fr 0.85fr !important;
    min-height: 320px;
}

.committee-card-left {
    min-height: 320px;
}


}

/* Mobile 600px */
@media (max-width: 600px) {
.committee-card-modal-wrapper {
max-width: 65%;
width: 65%;
}

.committee-card-modal-body {
    grid-template-columns: 1fr !important;
    min-height: 450px;
}

.committee-card-left {
    min-height: 260px;
}

.committee-card-left img {
    max-height: 460px;
}


}

/* Mobile 480px  */
@media (max-width: 480px) {
.committee-card-modal-wrapper {
max-width: 65%;
width: 65%;
}

.committee-card-modal-body {
    grid-template-columns: 1fr !important;
    min-height: 430px;
}

.committee-card-left {
    min-height: 340px;
}

.committee-card-left img {
    max-height: 390px;
}

}

/* Mobile 380px */
@media (max-width: 380px) {
.committee-card-modal-wrapper {
max-width: 65%;
width: 65%;
}

.committee-card-modal-body {
    min-height: 400px;
}

.committee-card-left {
    min-height: 220px;
}

.committee-card-left img {
    max-height: 420px;
}

}

@media (min-width: 1500px) {
    .committee-card-modal-body {
        grid-template-columns: 0.75fr 1.1fr !important;
    }
}

@media (min-width: 2100px) {
    .committee-card-right {
        height: 100% !important;
        overflow: visible !important;
        min-height: 100% !important;
    }
}

/* iPad Air/Mini (820px - 601px) */
@media (max-width: 820px) and (min-width: 601px) {
.committee-card-modal-wrapper {
max-width: 65%;
width: 65%;
}

.committee-card-modal-body {
	grid-template-columns: 1fr 1.3fr !important;
    min-height: 320px;
}

.committee-card-left {
    min-height: 320px;
}
}