/* AI Summit 2025 - Speakers Page Styles */

/* Section Title - Committees Style */
.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 24px !important;
    font: var(--font-default);
    color: var(--color-secondary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2::before {
    content: '';
    position: absolute;
    display: block;
    width: 220px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 110px);
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 3px;
    background: #3498db;
    bottom: 0;
    left: calc(50% - 40px);
}

/* Rounded Circle Images */
.rounded-circle {
    border-radius: 50% !important;
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
}

/* Critical Override for main.css [class*="speaker"] { display: none; } rule */
#presenters .presenter-card,
#presenters .portfolio-item.presenter-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

#presenters .presenter-wrap,
.portfolio-wrap.presenter-wrap {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#presenters .presenter-info,
.presenter-card .presenter-info {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure portfolio items are displayed correctly */
#presenters .portfolio-item {
    display: block !important;
}

#presenters .row.portfolio {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* Center align the container */
#presenters .container {
    text-align: center !important;
}

/* Ensure section titles are centered */
#presenters .section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Speaker Cards */
.presenter-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.presenter-card:hover {
    transform: translateY(-5px);
}

.presenter-card .portfolio-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
}

.presenter-card .portfolio-wrap img {
    transition: 0.3s;
    border-radius: 50%;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.presenter-card:hover .portfolio-wrap img {
    transform: scale(1.1);
}

.presenter-info {
    padding: 20px 0;
    text-align: center;
}

.presenter-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-secondary);
}

.presenter-info p {
    padding: 0;
    margin: 0;
    color: #b8b8b8;
    font-weight: 500;
    font-size: 14px;
}

.portfolio .portfolio-item .portfolio-info p {
    padding: 0;
    margin: 0;
    color: #b8b8b8;
    font-weight: 500;
    font-size: 14px;
}

/* No Profile Image */
.no-profile {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: 700;
    min-height: 300px;
    border-radius: 10px;
}

/* Session Type Badge */
.session-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--color-primary);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.session-badge.keynote {
    background: #ff6b6b;
}

.session-badge.invited {
    background: #4ecdc4;
}

.session-badge.session {
    background: #45b7d1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 20px !important;
    }
}