/* Versioned separately so cached APAC styles do not delay the new section. */
.apac-speakers {
    margin-top: 1.25rem;
}

.apac-keynote-speaker {
    align-items: center;
    background: var(--apac-sage-soft);
    border: 1px solid #c4d0b2;
    border-radius: 0.65rem;
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    grid-template-columns: 230px minmax(0, 1fr);
    padding: clamp(1.25rem, 2.5vw, 2rem);
}

.apac-keynote-portrait {
    border-radius: 0.6rem;
    display: block;
    height: auto;
    width: 100%;
}

.apac-speaker-category {
    color: #126356;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 0.65rem;
    text-transform: uppercase;
}

.apac-keynote-copy h3 {
    color: var(--apac-ink);
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.3;
    margin: 0 0 0.75rem;
}

.apac-speaker-affiliation {
    color: #3f4946;
    line-height: 1.55;
    margin: 0;
}

.apac-speaker-country {
    color: #367469;
    font-size: 0.9rem;
    font-weight: 750;
    margin: 0.75rem 0 0;
}

.apac-plenary-heading {
    color: var(--apac-ink);
    font-size: 1.25rem;
    margin: 1.75rem 0 1rem;
}

.apac-speaker-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.apac-speaker-card {
    background: #fff;
    border: 1px solid var(--apac-line);
    border-radius: 0.65rem;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem;
    text-align: center;
}

.apac-speaker-card img {
    align-self: center;
    display: block;
    height: 185px;
    margin-bottom: 1rem;
    max-width: 100%;
    object-fit: contain;
    width: 190px;
}

.apac-speaker-card h4 {
    color: var(--apac-ink);
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0 0 0.75rem;
    overflow-wrap: anywhere;
}

.apac-speaker-card .apac-speaker-affiliation {
    font-size: 0.95rem;
}

.apac-speaker-card .apac-speaker-country {
    margin-top: auto;
    padding-top: 0.85rem;
}

@media (max-width: 1050px) {
    .apac-speaker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .apac-keynote-speaker {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apac-keynote-portrait {
        justify-self: center;
        max-width: 230px;
    }

    .apac-speaker-grid {
        grid-template-columns: 1fr;
    }
}
