/* * File: eif-speaker.css
 * Theme: Cyber-Minimalist Dark Mode (Fixed Layout)
 */

/* --- 1. NUCLEAR OVERLAY (THE FIX) --- */
.eif-speaker-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;           /* Changed from 100vw to 100% to fix x-axis scroll */
    height: 100%;
    background-color: #050505;
    z-index: 2147483647;   /* Max possible z-index */
    overflow-y: auto;      /* Vertical scroll allowed */
    overflow-x: hidden;    /* Horizontal scroll BLOCKED */
    padding: 40px 20px 120px;
    box-sizing: border-box;
}

/* --- 2. HIDE THEME HEADER --- */
/* We removed the generic 'header' tag to avoid hiding our own content */
#masthead, 
.site-header, 
#header, 
.elementor-location-header, 
.et_header_style_left,
.fusion-header-wrapper,
.ast-main-header-wrap,
header.navbar {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* --- VARIABLES --- */
:root {
    --eif-bg: #050505;
    --eif-surface: rgba(255, 255, 255, 0.03);
    --eif-border: rgba(255, 255, 255, 0.08);
    --eif-primary: #883FF9;
    --eif-secondary: #EC167F;
    --eif-text-main: #ffffff;
    --eif-text-muted: #a1a1aa;
}

/* --- LAYOUT & TYPOGRAPHY --- */
.eif-speaker-page {
    color: var(--eif-text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Ambient Glow (Fixed positioning) */
.eif-speaker-page::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(136,63,249,0.12) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    z-index: -1;
}

.eif-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- BACK BUTTON --- */
.eif-back-nav { margin-bottom: 40px; }
.eif-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--eif-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.eif-back-btn:hover { color: #fff; }
.eif-back-btn i { transition: transform 0.3s ease; }
.eif-back-btn:hover i { transform: translateX(-4px); color: var(--eif-primary); }

/* --- HERO SECTION --- */
/* Name and Title Styling */
.eif-hero {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--eif-border);
    padding-bottom: 40px;
    display: block !important; /* Force visibility */
    opacity: 1 !important;
}

.eif-speaker-name {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 16px;
    color: #fff;
}

.eif-speaker-company {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--eif-text-muted);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

/* --- GRID SYSTEM --- */
.eif-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

/* --- SIDEBAR --- */
.eif-sidebar { position: sticky; top: 40px; }
.eif-photo-frame {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 30px;
}
.eif-photo-frame img {
    width: 100%;
    aspect-ratio: 1/1.1;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.eif-logistics { list-style: none; padding: 0; margin: 0 0 30px; }
.eif-logistics li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--eif-text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}
.eif-logistics i { color: var(--eif-primary); margin-top: 3px; min-width: 16px; }

.eif-socials { display: flex; gap: 12px; }
.eif-social-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.eif-social-btn:hover { background: #fff; color: #000; transform: translateY(-2px); }

/* --- CONTENT --- */
.eif-content h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.eif-content h4::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--eif-secondary);
    border-radius: 4px;
}
.eif-lead {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.6;
}
.eif-bio p {
    line-height: 1.8;
    color: #ccc;
    font-size: 17px;
    margin-bottom: 24px;
}

/* --- SESSION CARD --- */
.eif-session-card {
    background: linear-gradient(180deg, rgba(20, 20, 25, 0.6) 0%, rgba(136, 63, 249, 0.05) 100%);
    border: 1px solid rgba(136, 63, 249, 0.25);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    margin-top: 40px;
}
.eif-session-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--eif-primary), transparent);
}
.eif-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.eif-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #aaa;
}
.eif-tag.primary {
    background: rgba(136, 63, 249, 0.2);
    border-color: rgba(136, 63, 249, 0.4);
    color: #dcbfff;
}
.eif-session-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
}
.eif-session-meta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* --- RESPONSIVE --- */
@media(max-width: 900px) {
    .eif-grid { grid-template-columns: 1fr; gap: 50px; }
    .eif-sidebar { position: static; display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; }
}
@media(max-width: 600px) {
    .eif-sidebar { grid-template-columns: 1fr; }
    .eif-photo-frame { max-width: 280px; margin: 0 auto 20px; }
    .eif-speaker-name { font-size: 36px; }
}
