/* Team Members – Single & Archive Styles
   Generated for Khalil Team Members plugin
   Version: 1.0.0
*/

.team-single .social-buttons.flex-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 1.5rem 0;
}

.team-single .btn-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 6px;
    background: #666;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
    font-size: 1rem;
}

.team-single .btn-social:hover {
    background: #e0e0e0;
}

/* Alignment classes (applied via inline or body class) */
.team-align-left   { text-align: left; }
.team-align-center { text-align: center; }
.team-align-right  { text-align: right; }

/* Optional: make single layout responsive */
.team-single .team-header {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.team-single .team-photo img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    background:transparent;
}

.team-archive .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-archive .team-card {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.team-archive .team-card:hover {
    transform: translateY(-4px);
}

.team-archive .designation {
    color: #333;
    font-size: 0.95rem;
    margin: 0.5rem 0 1rem;
}

.team-archive .social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    position:absolute;
    bottom:12px;
    margin-top: 1rem;
}

.team-archive .social-icon {
    font-size: 1.4rem;
    color: #333;
    transition: color 0.2s;
}

.team-archive .social-icon:hover {
    color: #0073aa;
}
.pr-team-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem; 
    margin: 2rem 0;
}
.pr-columns-1 { grid-template-columns: 1fr !important; }
.pr-columns-2 { grid-template-columns: repeat(2, 1fr) !important; }
.pr-columns-4 { grid-template-columns: repeat(4, 1fr) !important; }


.pr-team-photo img { border-radius: 50%; width: 140px; height: 140px; object-fit: cover; }
.pr-team-social { margin: 1rem 0; }
.pr-team-social a { font-size: 1.6rem; margin: 0 8px; color: #555; }
.pr-team-more { display: inline-block; margin-top: 1rem; color: #0073aa; font-weight: 600; }

@media (max-width: 768px) { .pr-team-grid { grid-template-columns: 1fr !important; } }
.pr-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}
.pr-columns-1 { grid-template-columns: 1fr !important; }
.pr-columns-2 { grid-template-columns: repeat(2, 1fr) !important; }
.pr-columns-4 { grid-template-columns: repeat(4, 1fr) !important; }

.pr-team-card {
    /*background: #ffffff;*/
    border-radius: 12px;
    overflow: hidden;
    /*box-shadow: 0 4px 16px rgba(0,0,0,0.08);*/
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.2s;
}
.pr-team-card:hover {
    /*transform: translateY(-6px);*/
}
.pr-team-photo img {
    border-radius: 50%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1rem;
    /*background:#ccc;*/
}
.pr-team-designation {
    color: #333;
    font-size: 1.2rem;
    margin:-0.5rem 0 0.5rem 0;
    font-weight: 500 !important;
}
.pr-team-bio {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: -1rem 0;
    font-weight:400 !important;
}
.pr-team-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.2rem 0;
}
.pr-team-social a {
    font-size: 1.6rem;
    color: #333;
    transition: color 0.2s;
}
.pr-team-social a:hover {
    color: #0073aa;
}
.pr-team-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.2rem 0 1rem;
   
}

.pr-social-link {
    font-size: 1.8rem;
    color: #333;
    transition: color 0.25s ease;
}

.pr-social-link:hover {
    color: #0077b5;           /* LinkedIn blue by default */
}

.pr-social-link.pr-x:hover {
    color: #000000;           /* X black */
}










/* Desktop & tablet: normal grid (3 columns by default) */
.pr-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

/* Force 1 column + carousel behavior ONLY on mobile */
@media (max-width: 767px) {
    .pr-team-grid {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem;
        margin: 1rem 0;
    }

    .pr-team-card {
        flex: 0 0 85%;                  /* slightly less than 100% for peek effect */
        scroll-snap-align: start;
        scroll-snap-stop: always;
        min-width: 85%;
        max-width: 85%;
        box-sizing: border-box;
    }

    /* Hide scrollbar but keep functionality */
    .pr-team-grid::-webkit-scrollbar {
        display: none;
    }
    .pr-team-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}