/* Base Card */
.tm-4bc5874e-wrapper {
    position: relative;
}

.tm-4bc5874e-card {
    padding: 20px;
}

.tm-4bc5874e-img {
    max-width: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.tm-4bc5874e-name {
    margin: 0 0 5px 0;
}

.tm-4bc5874e-position {
    margin: 0 0 15px 0;
    font-style: italic;
}

.tm-4bc5874e-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.tm-4bc5874e-btn:hover {
    opacity: 0.9;
}

/* Modal Overlay */
.tm-4bc5874e-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.tm-4bc5874e-modal-overlay.is-active {
    display: flex;
}

/* Modal Content Box */
.tm-4bc5874e-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.tm-4bc5874e-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
}

.tm-4bc5874e-modal-split {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.tm-4bc5874e-modal-left {
    flex: 0 0 40%;
}

.tm-4bc5874e-modal-img {
    width: 100%;
    border-radius: 8px;
    height: auto;
    object-fit: cover;
}

.tm-4bc5874e-modal-right {
    flex: 1;
}

.tm-4bc5874e-modal-desc {
    margin-top: 15px;
    line-height: 1.6;
}

/* Responsive Modal */
@media (max-width: 767px) {
    .tm-4bc5874e-modal-split {
        flex-direction: column;
    }
    .tm-4bc5874e-modal-left {
        flex: 0 0 100%;
    }
}