.gremi-member-card {
    text-align: center;
    max-width: 300px;
    margin: 0 auto;

}

.gremi-img-wrapper {
    width: 300px;
    height: 320px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.gremi-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}


.gremi-info {
    margin-top: 10px;
}

.gremi-info strong {
    font-size: 20px;
    color: #222;
}

.gremi-info small {
    font-size: 16px;
    color: #777;
}

.gremi-btn-cv {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    background-color: #007c91;
    color: #fff;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.gremi-btn-cv:hover {
    background-color: #005f6a;
    transform: translateY(-2px);
}


.gremi-modal {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 2147483647 !important;
    overflow-y: auto;
    padding: 60px 20px;
    backdrop-filter: blur(6px);
}


.gremi-modal.open {
    display: flex;
}


.gremi-modal-content {
    background: #fff;
     max-width: 900px;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease;
}
.gremi-modal-content p{font-size: 14pt;}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gremi-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    border: none;
    background-color: #f2f2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0;
}

.gremi-modal-close svg {
    pointer-events: none;
    color: #333;
}

.gremi-modal-close:hover {
    background-color: #ffe5e5;
}

.gremi-modal-close:hover svg {
    color: red;
}



.gremi-modal-content h5 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.gremi-modal-content .gremi-designation {
    font-size: 19px;
    font-weight: 400;
    color: #555;
    margin-bottom: 20px;
}
