/**
 * Speaker Detail Block Styles
 * File: assets/css/blocks/speaker-detail.css
 */

.wpe-speaker-detail-block {
  
}

/* Breadcrumb - reuse from session detail */
.wpe-speaker-detail-block .wpe-breadcrumb {
    margin-bottom: 2rem;
}

.wpe-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.wpe-breadcrumb-item a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

.wpe-breadcrumb-item a:hover {
    color: #004999;
    text-decoration: underline;
}

.wpe-breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 0.5rem;
    color: #adb5bd;
}

.wpe-breadcrumb-current {
    color: #212529;
    font-weight: 500;
}

/* Speaker Header */
.wpe-speaker-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 0rem;
    padding: 2rem 0rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.wpe-speaker-photo {
    flex-shrink: 0;
}

.wpe-speaker-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.wpe-speaker-header-content {
    flex: 1;
}

.wpe-speaker-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #212529;
    line-height: 1.2;
}

.wpe-speaker-title {
    font-size: 1.125rem;
    color: #495057;
    margin-bottom: 1rem;
}

.wpe-speaker-role {
    font-weight: 400;
    line-height: 18px;
    display: block;
    margin-bottom: 10px;
}

.wpe-speaker-org {
    color: #6c757d;
}

.wpe-separator {
    color: #adb5bd;
}

/* Expertise Badges */
.wpe-speaker-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.wpe-expertise-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #e7f5ff;
    color: #0066cc;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Biography Section */
.wpe-speaker-bio {
    margin-bottom: 3rem;
}

.wpe-speaker-bio h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #212529;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #228b22;
}

.wpe-bio-content {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #495057;
}

.wpe-bio-content p {
    margin-bottom: 1rem;
}

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

/* Sessions Section */
.wpe-speaker-sessions {
    margin-bottom: 3rem;
}

.wpe-speaker-sessions h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #212529;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #228b22;
}

.wpe-sessions-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.wpe-session-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

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

.wpe-session-card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.wpe-session-type-badge,
.wpe-speaker-role-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpe-session-type-badge {
    background: #fff3cd;
    color: #856404;
}

.wpe-speaker-role-badge {
    background: #d1ecf1;
    color: #0c5460;
}

.wpe-session-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.wpe-session-card-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s;
}

.wpe-session-card-title a:hover {
    color: #228b22;
}

.wpe-session-summary {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #6c757d;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wpe-session-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.wpe-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.wpe-meta-item svg {
    flex-shrink: 0;
}

/* Contact Section */
.wpe-speaker-contact {
    margin-bottom: 3rem;
}

.wpe-speaker-contact h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #212529;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #228b22;
}

.wpe-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.wpe-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.wpe-contact-link:hover {
    border-color: #228b22;
    background: #f0fff0;
    color: #228b22;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(34, 139, 34, 0.15);
}

.wpe-contact-link svg {
    flex-shrink: 0;
}

.wpe-contact-email:hover {
    border-color: #dc3545;
    background: #fff5f5;
    color: #dc3545;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.15);
}

.wpe-contact-linkedin:hover {
    border-color: #0077b5;
    background: #f0f8ff;
    color: #0077b5;
    box-shadow: 0 4px 8px rgba(0, 119, 181, 0.15);
}

.wpe-contact-twitter:hover {
    border-color: #1da1f2;
    background: #f0f8ff;
    color: #1da1f2;
    box-shadow: 0 4px 8px rgba(29, 161, 242, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpe-speaker-detail-block {
        padding: 1.5rem 1rem;
    }
    
    .wpe-speaker-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .wpe-speaker-photo img {
        width: 150px;
        height: 150px;
    }
    
    .wpe-speaker-name {
        font-size: 2rem;
    }
    
    .wpe-sessions-grid {
        grid-template-columns: 1fr;
    }
    
    .wpe-contact-links {
        flex-direction: column;
    }
    
    .wpe-contact-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .wpe-speaker-name {
        font-size: 1.75rem;
    }
    
    .wpe-speaker-title {
        font-size: 1rem;
    }
    
    .wpe-speaker-bio h2,
    .wpe-speaker-sessions h2,
    .wpe-speaker-contact h2 {
        font-size: 1.5rem;
    }
}