/* ==============================
   Team Elementor Plugin Styles
   ============================== */

/* Container */
.te-team-members-grid {
    display: grid;
    gap: 20px;
    font-family: inherit;
    padding: 40px 0;
}
.te-team-members-grid .te-inner-wrap{
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}
.te-widget-title {
    font-size: 24px;
    margin-bottom: 5px;
    text-align: center;
    color: #174ea6;
}

.te-widget-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
}

/* Filter Controls */
.te-filter-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: center;
    justify-content: center;
    max-width: 60%;
    margin: 0 auto 15px auto;
}

.te-filter-controls input[type="text"],
.te-filter-controls select {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Members Container */
.te-members-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Member Card */
.te-members-container .te-member {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.te-members-container .te-member:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Profile Picture */
/* Base profile image styles */
.te-members-container .te-member img {
    margin: 0 auto;
    object-fit: cover;
    margin-bottom: 10px;
    display: block;
}

/* Placeholder styles */
.te-img-placeholder {
    margin: 0 auto;
    width: 150px;
    height: 150px;
    background: #e0e0e0;
    margin-bottom: 10px;
}

/* Shape: Box */
.te-img-placeholder.te-shape-box,
.te-member img.te-shape-box {
    width: 100%;
    height: 150px;
    border-radius: 6px;
}

/* Shape: Circle */
.te-img-placeholder.te-shape-circle,
.te-member img.te-shape-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

/* Member Info */
.te-members-container .te-member h4 {
    margin: 5px 0;
    font-size: 17px;
    font-weight: 600;
}

.te-members-container .te-member p {
    margin: 3px 0;
    font-size: 14px;
    color: #555;
}

.te-members-container .te-member p.desig{
    color: #f15048;
    font-size: 15px;
}

.te-members-container .te-member p.skills{
    
}

/* Load More Button */
#te-load-more {
    padding: 10px 20px;
    font-size: 14px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: none;
}

#te-load-more:hover {
    background-color: #005177;
}

/* Dark Mode */
.te-dark-mode {
    background: #222;
    color: #eee;
}
.te-dark-mode .te-widget-title {
    font-size: 24px;
    margin-bottom: 5px;
    text-align: center;
    color: #fff;
}

.te-dark-mode .te-widget-description {
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
    color: #eee;
}

.te-dark-mode .te-members-container .te-member {
    background: #333;
    border-color: #555;
}

.te-dark-mode .te-members-container .te-member p {
    color: #ccc;
}

.te-dark-mode #te-load-more {
    background-color: #555;
}

.te-dark-mode #te-load-more:hover {
    background-color: #777;
}

/* Grid Layout */
.te-members-container.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* List Layout */
.te-members-container.list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.te-members-container.list .te-member {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 10px;
}

.te-members-container.list .te-member img {
    margin-right: 15px;
    width: 150px;
    height: 150px;
}
/* Placeholder */
.te-placeholder {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    animation: pulse 1.5s infinite;
}

.te-img-placeholder {
    width: 100%;
    height: 120px;
    background: #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
}

.te-text-placeholder {
    height: 16px;
    background: #ddd;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* pulse animation */
@keyframes pulse {
    0% { background-color: #f0f0f0; }
    50% { background-color: #e0e0e0; }
    100% { background-color: #f0f0f0; }
}

/* Responsive */
@media (max-width: 768px) {
    .te-members-container {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    .te-filter-controls {
        grid-template-columns: repeat(2, 1fr);
    }
     .te-members-container.grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .te-members-container.list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .te-filter-controls {
        grid-template-columns: 1fr;
    }
    .te-members-container.grid {
        grid-template-columns: 1fr;
    }
    .te-members-container.list {
        grid-template-columns: 1fr;
    }
}
