.speakers-search-input {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    padding: 0.75rem;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease;
}

.speakers-search-input:focus {
    outline: none;
    border-color: #01A3EE;
    box-shadow: 0 0 8px rgba(1, 163, 238, 0.2);
}

#speakerSearch {
    max-width: 500px;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease;
}

#speakerSearch:focus {
    outline: none;
    border-color: #01A3EE;
    box-shadow: 0 0 8px rgba(1, 163, 238, 0.2);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.speaker-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    cursor: pointer;
}

.speaker-card:hover {
    box-shadow: 0 4px 12px rgba(1, 163, 238, 0.15);
    background-color: rgba(1, 163, 238, 0.04);
    transform: translateY(-4px);
}

.speaker-image {
    margin-bottom: 1rem;
    width: 150px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 8px;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    margin: 0.75rem 0 0.5rem;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    word-wrap: break-word;
}

.speaker-badges {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin: 0.5rem 0 0.75rem;
    flex-wrap: wrap;
    min-height: 24px;
    align-items: center;
}

.speaker-badge-img {
    height: 28px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    display: inline-block;
}

.speaker-title {
    color: #666;
    margin: 0.25rem 0 0.25rem;
    padding: 0;
    font-size: 0.85rem;
    font-style: italic;
    line-height: 1.3;
    min-height: auto;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.speaker-company {
    color: #888;
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.speaker-bio {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.75rem 0;
}

.speaker-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    min-height: 40px;
}

.speaker-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    background-color: #e8e8e8;
    text-decoration: none;
    transition: all 0.3s ease;
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.speaker-link:hover {
    background-color: #d0d0d0;
    transform: scale(1.15);
}

.speaker-link.icon-linkedin {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2301A3EE" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"/><rect x="2" y="9" width="4" height="12"/><circle cx="4" cy="4" r="2"/></svg>');
}

.speaker-link.icon-twitter {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231DA1F2"><path d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2s9 5 20 5a9.5 9.5 0 0 0-9-5.5c4.75 2.25 7-7 7-7"/></svg>');
}

.speaker-link.icon-globe {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>');
}

.speaker-link.icon-mvp {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23FFB81C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/></svg>');
}

.speaker-link.icon-link {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>');
}

/* Modal Content Styles */
.speaker-modal-body-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.speaker-modal-logo-container {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.speaker-modal-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.speaker-modal-info-with-image {
    flex: 1;
    min-width: 250px;
}

.speaker-modal-info-no-image {
    flex: 1;
}

.speaker-modal-tagline {
    margin: 0 0 8px 0;
    color: #999;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.speaker-modal-company {
    margin: 0 0 12px 0;
    color: #666;
}

.speaker-modal-badges {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.speaker-modal-bio {
    margin-top: 20px;
    color: #555;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.speaker-modal-connect-section {
    margin-top: 24px;
    border-top: 1px solid #e0e0e0;
    padding-top: 16px;
}

.speaker-modal-connect-title {
    margin: 0 0 12px 0;
    color: #333;
}

.speaker-modal-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}



@media (max-width: 768px) {
    .speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.5rem;
    }

    .speaker-card {
        padding: 1rem;
    }

    .speaker-image {
        width: 120px;
        height: 120px;
    }

    .speaker-name {
        font-size: 0.95rem;
        margin: 0.5rem 0 0.4rem;
    }

    .speaker-link {
        width: 32px;
        height: 32px;
        background-size: 16px 16px;
    }

    .speakers-search-input {
        font-size: 0.95rem;
        padding: 0.625rem;
    }
}

/* Modal Styles */
.speaker-modal-badge-img {
    height: 40px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.speaker-modal-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

