/**
 * Team Module - Public Styles
 *
 * @package VUF
 * @subpackage Modules\Team
 * @since 1.0.0
 */

/* Team Member Meta Styles */
.team-member-meta {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-size: 14px;
}

.team-member-meta > div {
    margin-bottom: 15px;
}

.team-member-meta > div:last-child {
    margin-bottom: 0;
}

.team-member-meta .label {
    font-weight: 600;
    color: #495057;
    margin-right: 8px;
}

.team-member-meta .value {
    color: #212529;
}

/* Team Member Position */
.team-member-position-detail {
    font-size: 16px;
    margin-bottom: 20px;
}

.team-member-position-detail .value {
    color: #007bff;
    font-weight: 600;
}

/* Contact Information */
.team-member-contact {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
}

.team-member-contact h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item {
    margin-bottom: 8px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Team Grid */
.vuf-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Team Member Card */
.team-member-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.team-member-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.team-member-photo {
    position: relative;
    overflow: hidden;
}

.team-member-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member-card:hover .team-member-photo img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 20px;
}

.team-member-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.4;
    color: #212529;
}

.team-member-position {
    color: #007bff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-member-excerpt {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* Department Links */
.team-member-departments a {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: background-color 0.2s ease;
}

.team-member-departments a:hover {
    background: #dee2e6;
    text-decoration: none;
}

/* Leadership Team Styles */
.leadership-team .team-member-card {
    border-color: #ffc107;
    position: relative;
}

.leadership-team .team-member-card::before {
    content: "Leadership";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #212529;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

/* Archive Page Styles */
.team-archive .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-archive .page-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Single Team Member Styles */
.single-team-member .team-member-meta {
    margin-bottom: 30px;
}

.single-team-member .entry-content {
    font-size: 16px;
    line-height: 1.6;
}

/* Department Filter */
.team-department-filter {
    margin-bottom: 30px;
    text-align: center;
}

.team-department-filter select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vuf-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-member-meta {
        padding: 15px;
        font-size: 13px;
    }
    
    .team-member-info {
        padding: 15px;
    }
    
    .team-member-name {
        font-size: 16px;
    }
    
    .team-member-photo img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .team-member-meta > div {
        margin-bottom: 12px;
    }
    
    .team-member-meta .label,
    .team-member-meta .value {
        display: block;
    }
    
    .team-member-meta .label {
        margin-bottom: 2px;
    }
    
    .contact-item .label,
    .contact-item a {
        display: block;
    }
    
    .contact-item .label {
        margin-bottom: 2px;
    }
}