.speaker-title {
    color: #00BFAE;
    font-weight: bold;
    font-family: 'Sora', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
}

.speaker-content {
    text-align: center;
}

.speaker-list .speaker-photo {
    border-radius: 50%;
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 4px solid #00BFAE;
    box-shadow: 0 4px 12px rgba(0, 191, 174, 0.25);
}

.speaker-list .speaker-name {
    font-size: 16px;
    /* color: #062B2F !important; */
    color: #00897B !important;
    font-family: 'Sora', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
    font-weight: 700;
    margin-top: 1rem;
}

.speaker-list .speaker-jobtitle {
    font-size: 13px;
    color: #41605F;
    font-weight: 600;
    line-height: 1.3;
}

.speaker-list .speaker-org {
    font-size: 13px;
    color: #41605F;
    font-weight: 600;
    line-height: 1.3;
}

.speaker-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.speaker-card:hover {
    transform: scale(1.03);
}

#speakerModal .modal-dialog {
    max-width: 600px;
}

#speakerModal #speaker-photo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -75px;
    z-index: 1;
    text-align: center;
}

#speakerModal #speakerModalBody {
    background-image: url('https://o-portal.s3.ap-east-1.amazonaws.com/202611ev08caresubmit5/assets/img/speaker-popup004.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
    padding: 85px 50px 10px 50px;
    border-radius: 25px;
}

#speakerModal .btn-close {
    float: right;
    position: absolute;
    top: 15px;
    right: 20px;
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    opacity: 0.9;
    background: transparent;
    z-index: 3;
    border: none;
}

#speakerModal .btn-close:hover {
    opacity: 1;
}

#speakerModal #speaker-name {
    font-size: 18px;
    /* color: #062B2F !important; */
    color: #00897B !important;
    font-family: 'Sora', 'Noto Sans TC', 'Noto Sans SC', sans-serif;
    font-weight: 700;
    text-align: center;
    /* margin-bottom: 0.5rem; */
}

#speakerModal #speaker-jobtitle {
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    /* color: #00897B; */
    color: #41605F;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

#speakerModal #speaker-jobtitle small {
    display: block;
    font-size: 13px;
    color: #41605F;
    margin-top: 0.25rem;
}

#speakerModal #speaker-bio {
    font-size: 14px;
    text-align: justify;
    line-height: 1.7;
    color: #41605F;
}

#speakerModal #speaker-bio ol {
    font-size: 14px;
    margin-left: 0;
    counter-reset: number;
    list-style: none;
    color: #062B2F;
    padding-left: 0;
    line-height: 1.7;
}

#speakerModal #speaker-bio ol li {
    margin-bottom: 0.75em;
    position: relative;
    padding-left: 1.8em;
    text-align: justify;
    counter-increment: number;
}

#speakerModal #speaker-bio ol li::before {
    content: counter(number) ". ";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #00BFAE;
}

#speakerModal #speaker-bio ul {
    font-size: 14px;
    line-height: 1.7;
    margin-left: 0;
    color: #062B2F;
    list-style: none;
    padding-left: 0;
}

#speakerModal #speaker-bio ul li {
    margin-bottom: 0.75em;
    position: relative;
    padding-left: 1.5em;
    text-align: justify;
}

#speakerModal #speaker-bio ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00BFAE;
    font-weight: 700;
}

#speakerModal #speaker-bio p {
    margin-bottom: 1rem;
    line-height: 1.4;
}

#speakerModal .modal-content {
    border-radius: 25px;
    border: none;
    margin-top: 60px;
}

@media only screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 600px;
    }
}

@media only screen and (max-width: 768px) {
    .speaker-list .speaker-photo {
        max-width: 150px;
        height: 150px;
    }

    .speaker-list .speaker-name {
        font-size: 14px;
    }

    .speaker-list .speaker-jobtitle {
        font-size: 12px;
    }

    #speakerModal #speakerModalBody {
        padding: 74px 30px 10px 30px;
    }

    #speakerModal #speaker-photo {
        margin-top: -60px;
    }

    #speakerModal #speaker-photo img {
        width: 120px !important;
        height: 120px !important;
    }

    #speakerModal #speaker-name {
        font-size: 18px;
    }
}

@media only screen and (max-width: 615px) {
    #speakerModal .modal-dialog {
        margin-top: 85px;
        margin-bottom: 85px;
        align-items: flex-start;
    }

    #speakerModal #speaker-photo {
        /* position: relative;
        margin-top: 0;
        transform: none;
        left: 0; */
    }
}

/* =========================================
   MULTILINGUAL SPEAKER SWITCHING (CSS-ONLY)
   ========================================= */
/* Hide all language variants by default */
.spk-text, .spk-block {
    display: none !important;
}

/* Show inline/inline-block elements (Names, Job Titles) for active language */
body[data-lang="en"] .spk-text-en { display: inline-block !important; }
body[data-lang="hk"] .spk-text-hk { display: inline-block !important; }
body[data-lang="cn"] .spk-text-cn { display: inline-block !important; }

/* Show block elements (Bios) for active language */
body[data-lang="en"] .spk-block-en { display: block !important; }
body[data-lang="hk"] .spk-block-hk { display: block !important; }
body[data-lang="cn"] .spk-block-cn { display: block !important; }

sup {
    top: -0.2em;
}