/* Invited keynote page */

.keynote-page {
    background: #f4f6f8;
}

.keynote-page-header {
    padding-bottom: var(--spacing-lg);
}

.keynote-event-meta {
    margin: 0;
    color: #4c6173;
    font-weight: 650;
}

.keynote-container {
    max-width: 1320px;
}

.keynote-feature {
    padding: var(--spacing-md) 0 var(--spacing-xl);
}

.keynote-hero-card {
    display: grid;
    grid-template-columns: minmax(350px, 400px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.keynote-portrait {
    margin: 0;
    overflow: hidden;
    border: 1px solid #d6c18d;
    border-radius: 8px;
    background: #ead39b;
}

.keynote-portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.keynote-portrait figcaption {
    padding: 0.8rem 1rem 1rem;
    color: #62543b;
    font-size: 0.72rem;
    line-height: 1.45;
}

.keynote-portrait figcaption a {
    color: #5d3b19;
}

.image-details {
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(93, 59, 25, 0.22);
}

.image-details summary {
    color: #5d3b19;
    cursor: pointer;
    font-weight: 700;
}

.image-details p {
    margin: 0.55rem 0 0;
    color: #6f624d;
    font-size: 0.7rem;
}

.keynote-hero-copy {
    align-self: start;
    min-width: 0;
    padding: 1.2rem 1.45rem 1.35rem;
    border: 1px solid #d7dfe5;
    border-radius: 8px;
    background: #fff;
}

.keynote-hero-copy h2 {
    max-width: 900px;
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    color: var(--primary);
    font-size: clamp(1.7rem, 2.1vw, 1.9rem);
    line-height: 1.18;
}

.speaker-identity {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
    margin-bottom: 0.7rem;
}

.speaker-identity strong {
    color: #7d4793;
    font-size: 1.05rem;
}

.speaker-identity span {
    color: #536879;
    font-size: 0.88rem;
}

.keynote-text-section {
    padding: 0 !important;
    background: transparent !important;
}

.keynote-text-section + .keynote-text-section {
    margin-top: 0.9rem;
}

.keynote-text-section h3 {
    margin: 0 0 0.35rem;
    color: var(--primary);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.12rem;
    line-height: 1.25;
}

.keynote-text-section p {
    margin: 0 0 0.45rem;
    color: #374b5a;
    font-size: 0.91rem;
    line-height: 1.55;
}

.keynote-text-section p:last-child {
    margin-bottom: 0;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 860px) {
    .keynote-hero-card {
        grid-template-columns: 1fr;
    }

    .keynote-portrait {
        width: min(100%, 430px);
    }

}

@media (max-width: 560px) {
    .keynote-event-meta span {
        display: none;
    }

    .keynote-portrait {
        display: block;
    }

    .keynote-hero-copy {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .keynote-hero-copy h2 {
        font-size: 1.75rem;
    }

}
