/**
 * WorkersCards - Public Styles
 * Version: 1.0.0
 * Author: Daniel Díaz - Elaboral.es
 */

/* ==========================================================================
   CSS Variables (Defaults - Overridden by PHP inline styles)
   ========================================================================== */
:root {
    --wc-primary-color: #2563eb;
    --wc-secondary-color: #1e40af;
    --wc-accent-color: #3b82f6;
    --wc-text-color: #1f2937;
    --wc-text-light-color: #6b7280;
    --wc-background-color: #ffffff;
    --wc-card-background: #ffffff;
    --wc-border-color: #e5e7eb;
    --wc-border-radius: 16px;
    --wc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --wc-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --wc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Container
   ========================================================================== */
.workerscards-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ==========================================================================
   Grid Layout
   ========================================================================== */
.workerscards-grid {
    display: grid;
    gap: 2rem;
    width: 100%;
}

.workerscards-grid.columns-1 { grid-template-columns: 1fr; }
.workerscards-grid.columns-2 { grid-template-columns: repeat(2, 1fr); }
.workerscards-grid.columns-3 { grid-template-columns: repeat(3, 1fr); }
.workerscards-grid.columns-4 { grid-template-columns: repeat(4, 1fr); }
.workerscards-grid.columns-5 { grid-template-columns: repeat(5, 1fr); }
.workerscards-grid.columns-6 { grid-template-columns: repeat(6, 1fr); }

/* Responsive Grid */
@media (max-width: 1200px) {
    .workerscards-grid.columns-5,
    .workerscards-grid.columns-6 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .workerscards-grid.columns-4,
    .workerscards-grid.columns-5,
    .workerscards-grid.columns-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .workerscards-grid.columns-3,
    .workerscards-grid.columns-4,
    .workerscards-grid.columns-5,
    .workerscards-grid.columns-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .workerscards-grid.columns-2,
    .workerscards-grid.columns-3,
    .workerscards-grid.columns-4,
    .workerscards-grid.columns-5,
    .workerscards-grid.columns-6 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Card Base Styles
   ========================================================================== */
.worker-card {
    background: var(--wc-card-background);
    border-radius: var(--wc-border-radius);
    overflow: hidden;
    transition: var(--wc-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.worker-card.has-shadow {
    box-shadow: var(--wc-shadow);
}

.worker-card.has-shadow:hover {
    box-shadow: var(--wc-shadow-hover);
    transform: translateY(-4px);
}

.worker-card.has-border {
    border: 1px solid var(--wc-border-color);
}

/* ==========================================================================
   Card Style Variations
   ========================================================================== */

/* Modern Style (Default) */
.worker-card.style-modern {
    border-radius: var(--wc-border-radius);
}

.worker-card.style-modern .worker-card-photo {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.worker-card.style-modern .worker-card-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--wc-transition);
}

.worker-card.style-modern:hover .worker-card-photo img {
    transform: scale(1.05);
}

.worker-card.style-modern .worker-card-content {
    padding: 1.5rem;
    text-align: center;
}

/* Classic Style */
.worker-card.style-classic {
    border-radius: 8px;
    border: 1px solid var(--wc-border-color);
}

.worker-card.style-classic .worker-card-photo {
    padding: 1.5rem 1.5rem 0;
}

.worker-card.style-classic .worker-card-photo img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: block;
}

.worker-card.style-classic .worker-card-content {
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
}

/* Minimal Style */
.worker-card.style-minimal {
    background: transparent;
    box-shadow: none !important;
}

.worker-card.style-minimal .worker-card-photo {
    position: relative;
    padding-top: 100%;
    margin-bottom: 1rem;
}

.worker-card.style-minimal .worker-card-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-card.style-minimal .worker-card-content {
    text-align: center;
    padding: 0;
}

/* Bold Style */
.worker-card.style-bold {
    border-radius: 0;
    overflow: visible;
}

.worker-card.style-bold .worker-card-photo {
    position: relative;
    padding-top: 120%;
}

.worker-card.style-bold .worker-card-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-card.style-bold .worker-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: #fff;
}

.worker-card.style-bold .worker-card-name,
.worker-card.style-bold .worker-card-position {
    color: #fff;
}

.worker-card.style-bold .worker-card-position {
    opacity: 0.9;
}

/* Horizontal Style */
.worker-card.style-horizontal {
    flex-direction: row;
    align-items: center;
}

.worker-card.style-horizontal .worker-card-photo {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.worker-card.style-horizontal .worker-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-card.style-horizontal .worker-card-content {
    flex: 1;
    padding: 1.5rem;
    text-align: left;
}

@media (max-width: 576px) {
    .worker-card.style-horizontal {
        flex-direction: column;
    }
    
    .worker-card.style-horizontal .worker-card-photo {
        width: 100%;
        height: auto;
        padding-top: 60%;
        position: relative;
    }
    
    .worker-card.style-horizontal .worker-card-photo img {
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .worker-card.style-horizontal .worker-card-content {
        text-align: center;
    }
}

/* Profile Style */
.worker-card.style-profile {
    text-align: center;
    padding: 2rem;
}

.worker-card.style-profile .worker-card-photo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.worker-card.style-profile .worker-card-photo img {
    width: 150px;
    height: 150px;
}

.worker-card.style-profile .worker-card-content {
    padding: 0;
}

/* ==========================================================================
   Image Styles
   ========================================================================== */
.worker-card-photo img.image-circle {
    border-radius: 50%;
}

.worker-card-photo img.image-rounded {
    border-radius: var(--wc-border-radius);
}

.worker-card-photo img.image-square {
    border-radius: 0;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.worker-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wc-text-color);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.worker-card-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--wc-transition);
}

.worker-card-name a:hover {
    color: var(--wc-primary-color);
}

.worker-card-position {
    font-size: 0.875rem;
    color: var(--wc-primary-color);
    font-weight: 500;
    margin: 0 0 0.5rem;
}

.worker-card-subtitle {
    font-size: 0.8125rem;
    color: var(--wc-text-light-color);
    margin: 0 0 1rem;
}

.worker-card-bio {
    font-size: 0.9375rem;
    color: var(--wc-text-light-color);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.worker-card-bio.excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.worker-card-contact {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--wc-border-color);
}

.worker-card-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--wc-text-light-color);
}

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

.worker-card-contact-item i {
    width: 18px;
    color: var(--wc-primary-color);
    text-align: center;
}

.worker-card-contact-item a {
    color: var(--wc-text-color);
    text-decoration: none;
    transition: var(--wc-transition);
}

.worker-card-contact-item a:hover {
    color: var(--wc-primary-color);
}

/* Centered contact for card layouts */
.worker-card .worker-card-contact {
    text-align: left;
}

.worker-card.style-modern .worker-card-contact,
.worker-card.style-classic .worker-card-contact,
.worker-card.style-minimal .worker-card-contact,
.worker-card.style-profile .worker-card-contact {
    display: inline-block;
    text-align: left;
}

/* ==========================================================================
   Social Networks Section
   ========================================================================== */
.worker-card-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.worker-card-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    transition: var(--wc-transition);
    text-decoration: none;
}

/* Social Style: Colored */
.worker-card-social.social-colored a {
    color: #fff;
}

.worker-card-social.social-colored a.social-facebook { background: #1877f2; }
.worker-card-social.social-colored a.social-twitter { background: #000; }
.worker-card-social.social-colored a.social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.worker-card-social.social-colored a.social-linkedin { background: #0a66c2; }
.worker-card-social.social-colored a.social-youtube { background: #ff0000; }
.worker-card-social.social-colored a.social-tiktok { background: #000; }
.worker-card-social.social-colored a.social-pinterest { background: #e60023; }
.worker-card-social.social-colored a.social-telegram { background: #0088cc; }
.worker-card-social.social-colored a.social-github { background: #333; }
.worker-card-social.social-colored a.social-dribbble { background: #ea4c89; }
.worker-card-social.social-colored a.social-behance { background: #1769ff; }
.worker-card-social.social-colored a.social-whatsapp { background: #25d366; }
.worker-card-social.social-colored a.social-website { background: var(--wc-primary-color); }

.worker-card-social.social-colored a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Social Style: Dark */
.worker-card-social.social-dark a {
    background: var(--wc-text-color);
    color: #fff;
}

.worker-card-social.social-dark a:hover {
    background: var(--wc-primary-color);
}

/* Social Style: Light */
.worker-card-social.social-light a {
    background: var(--wc-border-color);
    color: var(--wc-text-color);
}

.worker-card-social.social-light a:hover {
    background: var(--wc-primary-color);
    color: #fff;
}

/* Social Style: Outline */
.worker-card-social.social-outline a {
    background: transparent;
    border: 2px solid var(--wc-border-color);
    color: var(--wc-text-light-color);
}

.worker-card-social.social-outline a:hover {
    border-color: var(--wc-primary-color);
    color: var(--wc-primary-color);
}

/* ==========================================================================
   Single Card Page
   ========================================================================== */
.workerscards-single {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Cover Image */
.worker-single-cover {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: var(--wc-border-radius) var(--wc-border-radius) 0 0;
}

.worker-single-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-single-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.5));
}

/* Profile Header */
.worker-single-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    margin-top: -75px;
    position: relative;
    z-index: 10;
}

.worker-single-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--wc-card-background);
    box-shadow: var(--wc-shadow);
    margin-bottom: 1rem;
}

.worker-single-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-single-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wc-text-color);
    margin: 0 0 0.5rem;
    text-align: center;
}

.worker-single-position {
    font-size: 1.125rem;
    color: var(--wc-primary-color);
    font-weight: 500;
    margin: 0 0 0.25rem;
    text-align: center;
}

.worker-single-subtitle {
    font-size: 1rem;
    color: var(--wc-text-light-color);
    margin: 0 0 1.5rem;
    text-align: center;
}

/* Single Content */
.worker-single-content {
    background: var(--wc-card-background);
    border-radius: var(--wc-border-radius);
    padding: 2rem;
    box-shadow: var(--wc-shadow);
}

.worker-single-section {
    margin-bottom: 2rem;
}

.worker-single-section:last-child {
    margin-bottom: 0;
}

.worker-single-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--wc-text-color);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--wc-primary-color);
    display: inline-block;
}

/* Bio Section */
.worker-single-bio {
    font-size: 1rem;
    color: var(--wc-text-light-color);
    line-height: 1.8;
}

.worker-single-bio p {
    margin: 0 0 1rem;
}

.worker-single-bio p:last-child {
    margin-bottom: 0;
}

/* Contact Section - Single */
.worker-single-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.worker-single-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--wc-background-color);
    border-radius: 8px;
    transition: var(--wc-transition);
}

.worker-single-contact-item:hover {
    transform: translateX(5px);
}

.worker-single-contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wc-primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
}

.worker-single-contact-item-content {
    flex: 1;
}

.worker-single-contact-item-label {
    font-size: 0.75rem;
    color: var(--wc-text-light-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.worker-single-contact-item-value {
    font-size: 0.9375rem;
    color: var(--wc-text-color);
    font-weight: 500;
}

.worker-single-contact-item-value a {
    color: inherit;
    text-decoration: none;
}

.worker-single-contact-item-value a:hover {
    color: var(--wc-primary-color);
}

/* Social Section - Single */
.worker-single-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.worker-single-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: var(--wc-transition);
    text-decoration: none;
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.workerscards-language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.workerscards-lang-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--wc-background-color);
    border: 1px solid var(--wc-border-color);
    border-radius: 6px;
    color: var(--wc-text-light-color);
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--wc-transition);
}

.workerscards-lang-link:hover {
    border-color: var(--wc-primary-color);
    color: var(--wc-primary-color);
}

.workerscards-lang-link.current {
    background: var(--wc-primary-color);
    border-color: var(--wc-primary-color);
    color: #fff;
}

.workerscards-lang-link.missing {
    opacity: 0.5;
    pointer-events: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.worker-card.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: wcFadeUp 0.6s ease forwards;
}

.worker-card.animate-fade-in {
    opacity: 0;
    animation: wcFadeIn 0.6s ease forwards;
}

.worker-card.animate-zoom {
    opacity: 0;
    transform: scale(0.9);
    animation: wcZoom 0.6s ease forwards;
}

@keyframes wcFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wcFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes wcZoom {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   QR Code
   ========================================================================== */
.worker-card-qr {
    margin-top: 1rem;
    text-align: center;
}

.worker-card-qr img {
    max-width: 100px;
    height: auto;
    border: 1px solid var(--wc-border-color);
    padding: 4px;
    background: #fff;
}

.worker-single-qr {
    text-align: center;
    margin-top: 2rem;
}

.worker-single-qr img {
    max-width: 150px;
    height: auto;
    border: 1px solid var(--wc-border-color);
    padding: 8px;
    background: #fff;
}

/* ==========================================================================
   No Results
   ========================================================================== */
.workerscards-no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--wc-text-light-color);
}

.workerscards-no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.workerscards-no-results p {
    margin: 0;
    font-size: 1.125rem;
}

/* ==========================================================================
   Taxonomy Archive
   ========================================================================== */
.workerscards-archive-header {
    text-align: center;
    margin-bottom: 2rem;
}

.workerscards-archive-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wc-text-color);
    margin: 0 0 0.5rem;
}

.workerscards-archive-description {
    font-size: 1rem;
    color: var(--wc-text-light-color);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 768px) {
    .workerscards-single {
        padding: 1rem;
    }
    
    .worker-single-cover {
        height: 200px;
    }
    
    .worker-single-header {
        margin-top: -60px;
        padding: 0 1rem;
    }
    
    .worker-single-photo {
        width: 120px;
        height: 120px;
    }
    
    .worker-single-name {
        font-size: 1.5rem;
    }
    
    .worker-single-content {
        padding: 1.5rem;
    }
    
    .worker-single-contact {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .worker-card {
        box-shadow: none !important;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .worker-card-social,
    .workerscards-language-switcher {
        display: none;
    }
    
    .workerscards-grid {
        display: block;
    }
    
    .workerscards-grid .worker-card {
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   NEW SINGLE CARD DESIGN - Business Card Style
   ========================================================================== */

/* Wrapper */
.wc-single-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Main Card Container */
.wc-single-card {
    background: var(--wc-card-background, #ffffff);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Banner Section */
.wc-single-banner {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, var(--wc-primary-color, #2563eb) 0%, var(--wc-secondary-color, #1e40af) 100%);
    overflow: hidden;
}

.wc-single-banner.has-image .wc-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%);
}

.wc-single-banner.no-image .wc-banner-overlay {
    background: none;
}

/* Language Switcher in Banner */
.wc-lang-switcher {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

/* Photo Section - Overlapping */
.wc-single-photo-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -70px;
    position: relative;
    z-index: 5;
}

.wc-single-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--wc-card-background, #ffffff);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: var(--wc-card-background, #ffffff);
}

.wc-single-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-single-photo.wc-no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.wc-single-photo.wc-no-photo i {
    font-size: 50px;
    color: #9ca3af;
}

/* Info Section */
.wc-single-info {
    text-align: center;
    padding: 20px 25px 15px;
}

.wc-single-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--wc-text-color, #1f2937);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.wc-single-position {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wc-primary-color, #2563eb);
    margin: 0 0 5px 0;
}

.wc-single-subtitle {
    font-size: 0.9rem;
    color: var(--wc-text-light-color, #6b7280);
    margin: 0;
}

/* Action Buttons */
.wc-single-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px 25px;
    flex-wrap: wrap;
}

.wc-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 80px;
}

.wc-action-btn i {
    font-size: 24px;
}

.wc-action-btn span {
    font-size: 12px;
    font-weight: 500;
}

/* Call Button */
.wc-action-call {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.wc-action-call:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    color: #ffffff;
}

/* WhatsApp Button */
.wc-action-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
}

.wc-action-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

/* Email Button */
.wc-action-email {
    background: linear-gradient(135deg, var(--wc-primary-color, #2563eb) 0%, var(--wc-secondary-color, #1e40af) 100%);
    color: #ffffff;
}

.wc-action-email:hover {
    background: linear-gradient(135deg, var(--wc-secondary-color, #1e40af) 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    color: #ffffff;
}

/* Content Section */
.wc-single-content {
    padding: 0 25px 25px;
}

/* Section Titles */
.wc-single-section {
    margin-bottom: 25px;
}

.wc-single-section:last-child {
    margin-bottom: 0;
}

.wc-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--wc-text-color, #1f2937);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--wc-border-color, #e5e7eb);
}

.wc-section-title i {
    color: var(--wc-primary-color, #2563eb);
    font-size: 1.1rem;
}

/* Bio Section */
.wc-bio-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--wc-text-color, #1f2937);
}

.wc-bio-content p {
    margin: 0 0 1em 0;
}

.wc-bio-content p:last-child {
    margin-bottom: 0;
}

/* Contact Grid */
.wc-contact-grid {
    display: grid;
    gap: 12px;
}

.wc-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

a.wc-contact-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.wc-contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wc-primary-color, #2563eb);
    border-radius: 10px;
    flex-shrink: 0;
}

.wc-contact-icon i {
    font-size: 18px;
    color: #ffffff;
}

.wc-contact-icon.wc-icon-whatsapp {
    background: #25d366;
}

.wc-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wc-contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--wc-text-light-color, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wc-contact-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--wc-text-color, #1f2937);
    word-break: break-word;
}

/* Social Links */
.wc-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.wc-social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f1f5f9;
    color: var(--social-color, #374151);
    text-decoration: none;
    transition: all 0.3s ease;
}

.wc-social-link i {
    font-size: 20px;
}

.wc-social-link:hover {
    background: var(--social-color, #374151);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Meta Section (Department, Location) */
.wc-section-meta {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px 20px;
}

.wc-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--wc-text-color, #1f2937);
}

.wc-meta-item + .wc-meta-item {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--wc-border-color, #e5e7eb);
}

.wc-meta-item i {
    color: var(--wc-primary-color, #2563eb);
    width: 20px;
    text-align: center;
}

.wc-meta-label {
    font-weight: 600;
}

.wc-meta-value {
    color: var(--wc-text-light-color, #6b7280);
}

/* Related Section */
.wc-single-related {
    margin-top: 40px;
}

.wc-related-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--wc-text-color, #1f2937);
    margin: 0 0 20px 0;
    text-align: center;
}

.wc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.wc-related-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: var(--wc-card-background, #ffffff);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
}

.wc-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.wc-related-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
}

.wc-related-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc-related-no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
}

.wc-related-no-photo i {
    font-size: 30px;
    color: #9ca3af;
}

.wc-related-info {
    text-align: center;
}

.wc-related-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wc-text-color, #1f2937);
    margin: 0 0 3px 0;
}

.wc-related-position {
    font-size: 0.75rem;
    color: var(--wc-text-light-color, #6b7280);
    margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .wc-single-wrapper {
        padding: 10px;
    }
    
    .wc-single-banner {
        height: 140px;
    }
    
    .wc-single-photo-wrapper {
        margin-top: -55px;
    }
    
    .wc-single-photo {
        width: 110px;
        height: 110px;
        border-width: 4px;
    }
    
    .wc-single-name {
        font-size: 1.4rem;
    }
    
    .wc-single-actions {
        gap: 10px;
    }
    
    .wc-action-btn {
        padding: 10px 15px;
        min-width: 70px;
    }
    
    .wc-action-btn i {
        font-size: 20px;
    }
    
    .wc-action-btn span {
        font-size: 11px;
    }
    
    .wc-single-content {
        padding: 0 15px 20px;
    }
    
    .wc-contact-item {
        padding: 10px 12px;
    }
    
    .wc-contact-icon {
        width: 38px;
        height: 38px;
    }
    
    .wc-social-link {
        width: 44px;
        height: 44px;
    }
    
    .wc-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
