
/* =========================================================
   CDRI-CHEM-FEST 2027 - SPEAKERS PAGE
   Homepage-matched theme
   Sections:
   01 Variables / base
   02 Hero (floating card)
   03 Common section heading + update note
   04 Plenary
   05 Invited
   06 International
   07 Responsive (1024 -> 768 -> 480 -> 360)
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Homepage theme */
    --cf-primary: #0b63ce;
    --cf-primary-dark: #084d9e;
    --cf-secondary: #00a896;
    --cf-orange: #f59e0b;
    --cf-pink: #e83e8c;
    --cf-purple: #7c3aed;
    --cf-cyan: #06b6d4;
    --cf-text: #26364a;
    --cf-heading: #12365a;
    --cf-muted: #64748b;
    --cf-bg: #f7fbff;
    --cf-white: #ffffff;
    --cf-border: #e2edf7;
    --cf-shadow: 0 15px 45px rgba(21, 71, 112, 0.10);
    --cf-shadow-hover: 0 22px 55px rgba(21, 71, 112, 0.16);
    --cf-radius: 20px;
    /* Compatibility aliases */
    --color-bg: var(--cf-bg);
    --color-surface: var(--cf-white);
    --color-navy-dark: var(--cf-heading);
    --color-navy: var(--cf-primary-dark);
    --color-navy-light: #edf5ff;
    --color-green-dark: var(--cf-primary-dark);
    --color-green: var(--cf-primary);
    --color-green-light: #eaf3ff;
    --color-gold-dark: #a16207;
    --color-gold: var(--cf-orange);
    --color-gold-light: #fff7e6;
    --color-text-main: var(--cf-text);
    --color-text-muted: var(--cf-muted);
    --color-border: var(--cf-border);
    --shadow-soft: var(--cf-shadow);
    --shadow-hover: var(--cf-shadow-hover);
}


/* =========================================================
   01. BASE
========================================================= */

.speakers-page {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--cf-bg);
    padding-bottom: 80px;
    color: var(--cf-text);
    overflow-x: hidden;
}

.speakers-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================================
   02. HERO (floating card)
========================================================= */

.speakers-hero {
    position: relative;
    width: min(1200px, calc(100% - 48px));
    margin: 30px auto 0;
    padding: 40px 30px;
    overflow: hidden;
    border: 1px solid rgba(11, 99, 206, 0.12);
    border-radius: 24px;
    background: linear-gradient( 135deg, var(--cf-primary-dark) 0%, var(--cf-primary) 65%, #087fbd 100% );
    box-shadow: var(--cf-shadow-hover);
    color: var(--cf-white);
}

    .speakers-hero::after {
        content: '';
        position: absolute;
        right: -100px;
        top: -100px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(0, 168, 150, 0.28) 0%, rgba(6, 182, 212, 0.12) 38%, transparent 70% );
        pointer-events: none;
    }

.speakers-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
}

.speakers-breadcrumb {
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

    .speakers-breadcrumb span {
        margin: 0 8px;
        color: var(--cf-secondary);
    }

.speakers-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: #aaf7e9;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.speakers-hero h1 {
    margin: 0;
    color: var(--cf-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

    .speakers-hero h1 span {
        color: #8ef0df;
    }

.speakers-hero p {
    max-width: 700px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    line-height: 1.6;
}


/* =========================================================
   03. COMMON SECTION STYLES + UPDATE NOTE
========================================================= */

.speakers-section {
    padding: 20px 0 0;
}

/* "Details will be updated soon." */

.updates-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto 28px;
    padding: 16px 26px;
    border: 1px dashed #b7d9f4;
    border-left: 5px solid var(--cf-orange);
    border-radius: 14px;
    background: linear-gradient( 120deg, var(--cf-white) 0%, #edf7ff 100% );
    color: var(--cf-text);
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 24px rgba(21, 71, 112, 0.05);
}

    .updates-note i {
        color: var(--cf-primary);
        font-size: 1.25rem;
    }

.speaker-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--cf-border);
}

.speaker-section-heading-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.speaker-section-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, var(--cf-primary), var(--cf-secondary) );
    box-shadow: 0 4px 12px rgba(11, 99, 206, 0.22);
    color: var(--cf-white);
    font-size: 1.15rem;
    font-weight: 800;
}

.speaker-section-label {
    color: var(--cf-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================================
   04. PLENARY
========================================================= */

.plenary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.plenary-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--cf-border);
    border-left: 6px solid var(--cf-primary);
    border-radius: var(--cf-radius);
    background: var(--cf-white);
    box-shadow: var(--cf-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .plenary-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--cf-shadow-hover);
    }

.speaker-card-type {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border: 1px solid #d8eaff;
    border-radius: 6px;
    background: #eaf3ff;
    color: var(--cf-primary-dark);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.plenary-card h3 {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--cf-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
}


/* =========================================================
   05. INVITED
========================================================= */

.invited-section {
    padding-top: 60px;
}

.invited-wrapper {
    background: transparent;
}

.invited-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.invited-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    background: var(--cf-white);
    box-shadow: var(--cf-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .invited-card:hover {
        transform: translateY(-4px);
        border-color: var(--cf-secondary);
        box-shadow: var(--cf-shadow-hover);
    }

.invited-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 6px 12px;
    border: 1px solid #d8eaff;
    border-radius: 50px;
    background: #edf5ff;
    color: var(--cf-primary-dark);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.invited-card h3 {
    margin: 0;
    color: var(--cf-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================================================
   06. INTERNATIONAL
========================================================= */

.international-section {
    padding-top: 60px;
}

.international-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 32px 40px;
    border: 1px solid rgba(11, 99, 206, 0.14);
    border-left: 6px solid var(--cf-orange);
    border-radius: var(--cf-radius);
    background: linear-gradient( 135deg, var(--cf-primary-dark) 0%, var(--cf-primary) 72%, #087fbd 100% );
    box-shadow: var(--cf-shadow);
    color: var(--cf-white);
}

.international-left {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}

.international-number {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffd98a;
    font-size: 1.25rem;
    font-weight: 800;
}

.international-title {
    color: var(--cf-white);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
}

.international-subtitle {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    font-weight: 500;
}

.international-status {
    position: relative;
    z-index: 2;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    background: var(--cf-orange);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    color: #26364a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* =========================================================
   07. RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
    .invited-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* ---------- MOBILE (compact) ---------- */

@media (max-width: 768px) {

    .speakers-page {
        padding-bottom: 36px;
    }

    .speakers-container {
        width: calc(100% - 32px);
    }

    /* Hero */

    .speakers-hero {
        width: calc(100% - 32px);
        margin: 16px auto 0;
        padding: 26px 22px 28px;
        border-radius: 20px;
    }

    .speakers-breadcrumb {
        margin-bottom: 12px;
        font-size: .75rem;
        letter-spacing: .08em;
    }

    .speakers-eyebrow {
        margin-bottom: 10px;
        padding: 5px 12px;
        font-size: .72rem;
        letter-spacing: .1em;
    }

    .speakers-hero h1 {
        font-size: 2rem;
    }

    .speakers-hero p {
        margin-top: 12px;
        font-size: .92rem;
        line-height: 1.5;
    }

    /* Sections */

    .speakers-section,
    .invited-section,
    .international-section {
        padding-top: 28px;
    }

    .updates-note {
        margin: 0 auto 18px;
        padding: 13px 16px;
        font-size: .9rem;
    }

    .speaker-section-heading {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .speaker-section-heading-left {
        gap: 12px;
    }

    .speaker-section-number {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: .95rem;
    }

    .speaker-section-label {
        font-size: .92rem;
        letter-spacing: .08em;
    }

    /* Plenary */

    .plenary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .plenary-card {
        padding: 16px 18px;
        border-left-width: 5px;
        border-radius: 16px;
    }

    .speaker-card-type {
        margin-bottom: 8px;
        padding: 4px 9px;
        font-size: .68rem;
        letter-spacing: .08em;
    }

    .plenary-card h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    /* Invited: 2 columns, number + name on one row */

    .invited-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .invited-card {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 9px;
        padding: 11px 12px;
        border-radius: 12px;
    }

        .invited-card:hover {
            transform: none;
        }

    .invited-number {
        flex: 0 0 auto;
        align-self: center;
        min-width: 26px;
        height: 26px;
        margin: 0;
        padding: 0 6px;
        font-size: .7rem;
    }

    .invited-card h3 {
        min-width: 0;
        font-size: .9rem;
        font-weight: 700;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    /* International */

    .international-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px;
        border-left-width: 5px;
        border-radius: 16px;
    }

    .international-left {
        gap: 12px;
    }

    .international-number {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 12px;
        font-size: 1rem;
    }

    .international-title {
        font-size: 1.15rem;
    }

    .international-subtitle {
        margin-top: 3px;
        font-size: .9rem;
    }

    .international-status {
        padding: 7px 18px;
        font-size: .8rem;
    }
}


@media (max-width: 480px) {

    .invited-card h3 {
        font-size: .88rem;
    }

    .plenary-card h3 {
        font-size: 1.15rem;
    }

    .international-title {
        font-size: 1.1rem;
    }
}


@media (max-width: 360px) {

    .speakers-hero h1 {
        font-size: 1.8rem;
    }

    .invited-card {
        gap: 7px;
        padding: 10px;
    }

        .invited-card h3 {
            font-size: .82rem;
        }
}


