:root {
    --tma-blue: #05367B;
    --tma-blue-soft: #305CDE;
    --bg-light: #F5F7FB;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --card-bg: #FFFFFF;
    --radius: 20px;
    --shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* HERO */
.speakers-hero {
    background: linear-gradient(135deg, #05367B, #305CDE);
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}

.speakers-hero h1 {
    font-size: 48px;
    margin: 0;
}

.speakers-hero .tagline {
    margin-top: 10px;
    font-size: 18px;
    opacity: 0.9;
}

/* WRAPPER */
.speakers-wrapper {
    max-width: 1200px;
    margin: -40px auto 80px;
    padding: 0 20px;
}

/* CARD */
.speaker-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 40px;
    padding: 40px;
    align-items: center;
        margin-bottom: 35px; /* ADD THIS LINE */

}

/* IMAGE */
.speaker-image {
    flex-shrink: 0;
}

.speaker-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid var(--bg-light);
}

/* CONTENT */
.speaker-content h2 {
    margin: 0;
    font-size: 32px;
    color: var(--tma-blue);
}

.speaker-content h3 {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.speaker-org {
    margin-top: 6px;
    font-size: 16px;
    color: var(--text-muted);
}

.speaker-bio {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    max-width: 620px;
}

/* BUTTON */
.speaker-btn {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 22px;
    background: var(--tma-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.speaker-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* MOBILE */
@media (max-width: 768px) {
    .speaker-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .speaker-image img {
        width: 180px;
        height: 180px;
    }

    .speaker-content h2 {
        font-size: 26px;
    }

    .speaker-bio {
        max-width: 100%;
    }
}
/* SPEAKER DETAIL HERO */
.speaker-detail-hero {
    background: linear-gradient(135deg, #05367B, #305CDE);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.speaker-detail-hero h1 {
    margin: 0;
    font-size: 44px;
}

.speaker-title {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 600;
}

.speaker-org {
    margin-top: 4px;
    font-size: 16px;
    opacity: 0.9;
}

/* DETAIL WRAPPER */
.speaker-detail-wrapper {
    max-width: 1200px;
    margin: -50px auto 80px;
    padding: 0 20px;
}

.speaker-detail-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    display: flex;
    gap: 40px;
    padding: 50px;
    align-items: flex-start;
}

/* IMAGE */
.speaker-detail-image img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #F5F7FB;
}

/* CONTENT */
.speaker-detail-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #0F172A;
    margin-bottom: 18px;
    max-width: 700px;
}

/* FOOTER */
.speaker-detail-footer {
    margin-top: 30px;
}

.back-link {
    color: #05367B;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
    .speaker-detail-card {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .speaker-detail-image img {
        width: 200px;
        height: 200px;
    }

    .speaker-detail-content p {
        max-width: 100%;
        text-align: left;
    }
}
