/* Talks editorial layer — shared by the hub, event records, and Advisory Hour notes. */

.talks-page {
    overflow-x: clip;
    background: var(--editorial-paper);
    color: var(--editorial-ink);
}

.talks-page main,
.talks-page .research-article,
.talks-page .talk-content {
    background: var(--editorial-paper);
}

.talks-page main::before,
.talks-page main::after,
.talks-page .research-article::before,
.talks-page .research-article::after {
    display: none !important;
}

.talks-page .site-nav {
    background: var(--editorial-paper-bright);
}

.talks-page .context-bar {
    border: 0;
    border-bottom: 1px solid var(--editorial-rule);
    background: #ece8df;
}

.talks-page .context-bar .container {
    width: min(calc(100% - 3rem), var(--editorial-wide));
    max-width: none;
    padding-inline: 0;
}

.talks-page .context-nav,
.talks-page .context-nav a {
    color: var(--editorial-muted);
}

.talks-page .context-nav a {
    color: var(--editorial-blue);
}

/* Compact header used by the two Advisory Hour episode pages. */

.talks-page .talks-simple-header {
    position: sticky;
    z-index: 900;
    top: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--editorial-rule);
    background: var(--editorial-paper-bright);
    box-shadow: none;
}

.talks-page .talks-simple-header .container {
    width: min(calc(100% - 3rem), var(--editorial-wide));
    max-width: none;
    padding-inline: 0;
}

.talks-page .talks-simple-header .nav {
    display: flex;
    min-height: 68px;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.talks-page .talks-simple-header .nav-logo {
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.talks-page .talks-simple-header .nav-back {
    color: var(--editorial-ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.talks-page .talks-simple-header .nav-back:hover {
    color: var(--editorial-blue);
}

/* Hub */

.talks-page .talks-hub-hero {
    padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6.5rem);
    border-bottom: 1px solid var(--editorial-rule);
    background: var(--editorial-paper-bright);
}

.talks-page .talks-hub-hero .container,
.talks-page .talks-listing > .container {
    width: min(calc(100% - 3rem), var(--editorial-wide));
    max-width: none;
    padding-inline: 0;
}

.talks-page .eyebrow,
.talks-page .proof-kicker,
.talks-page .talk-event-tag {
    color: var(--editorial-blue) !important;
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.talks-page .talks-hub-hero h1 {
    max-width: 940px;
    margin: 0 0 1.35rem;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(3.8rem, 7.4vw, 6.8rem);
    font-weight: 600;
    letter-spacing: -0.052em;
    line-height: 0.94;
}

.talks-page .talks-hub-hero .article-subtitle {
    max-width: 790px;
    margin: 0;
    color: var(--editorial-ink-soft);
    font-family: var(--editorial-serif);
    font-size: clamp(1.25rem, 2.3vw, 1.7rem);
    line-height: 1.5;
}

.talks-page .hub-local-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.35rem;
    margin: 2rem 0 2.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--editorial-rule);
    border-bottom: 1px solid var(--editorial-rule);
}

.talks-page .hub-local-nav a {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--editorial-blue-dark);
    font-size: 0.8rem;
    font-weight: 750;
    text-decoration: none;
}

.talks-page .hub-local-nav a:hover {
    color: var(--editorial-blue);
}

.talks-page .hub-hero-visual {
    width: 100%;
    max-width: 100%;
    height: clamp(300px, 42vw, 500px);
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--editorial-rule);
    border-radius: 2px;
    background: #e7e2d8;
    box-shadow: none;
}

.talks-page .hub-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.78) contrast(1.03);
}

.talks-page .hub-hero-visual::after {
    display: none;
}

.talks-page .talks-listing {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
    background: var(--editorial-paper);
}

.talks-page .talks-listing.section-alt {
    border-top: 1px solid var(--editorial-rule);
    border-bottom: 0;
    background: #ece8df;
}

.talks-page .section-intro {
    max-width: 780px;
    margin-bottom: 2.5rem;
}

.talks-page .section-intro h2 {
    margin: 0;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.talks-page .evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--editorial-rule-strong);
}

.talks-page .evidence-card {
    min-width: 0;
    padding: clamp(1.6rem, 4vw, 2.5rem);
    border: 0;
    border-bottom: 1px solid var(--editorial-rule);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--editorial-ink);
    text-decoration: none;
    transform: none;
}

.talks-page .evidence-card:nth-child(even) {
    border-left: 1px solid var(--editorial-rule);
}

.talks-page .evidence-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.talks-page .evidence-card:hover {
    border-color: var(--editorial-rule-strong);
    background: var(--editorial-paper-bright);
    box-shadow: none;
    color: var(--editorial-ink);
    transform: none;
}

.talks-page .evidence-card h3 {
    margin: 0.5rem 0 0.75rem;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.talks-page .evidence-card p {
    margin: 0 0 1rem;
    color: var(--editorial-ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}

.talks-page .card-link {
    color: var(--editorial-blue);
    font-size: 0.8rem;
    font-weight: 750;
}

.talks-page .trust-note {
    max-width: 760px;
    padding-left: 1.35rem;
    border-left: 3px solid var(--editorial-blue);
}

.talks-page .trust-note h3 {
    margin: 0 0 0.5rem;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: 1.65rem;
}

.talks-page .trust-note p {
    margin: 0;
    color: var(--editorial-ink-soft);
}

/* Standard event records */

.talks-page .research-article {
    min-height: calc(100vh - 160px);
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.talks-page .research-article > .container {
    width: min(calc(100% - 3rem), 920px);
    max-width: none;
    padding-inline: 0;
}

.talks-page .article-header {
    max-width: 880px;
    margin: 0 0 clamp(3.5rem, 7vw, 5.5rem);
    padding: 0 0 clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--editorial-rule-strong);
}

.talks-page .talk-event-tag {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.talks-page .article-header h1 {
    max-width: 880px;
    margin: 0 0 1.25rem;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(3.2rem, 6.3vw, 5.7rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.talks-page .article-subtitle {
    max-width: 780px;
    margin: 0;
    color: var(--editorial-ink-soft);
    font-family: var(--editorial-serif);
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    line-height: 1.5;
}

.talks-page .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.15rem;
    margin-top: 1.4rem;
    color: var(--editorial-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.talks-page .article-meta span {
    color: inherit;
}

.talks-page .article-disclosure {
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    border: 0;
    border-left: 3px solid var(--editorial-blue);
    border-radius: 0;
    background: var(--editorial-blue-wash);
    box-shadow: none;
}

.talks-page .article-disclosure p {
    margin: 0;
    color: var(--editorial-ink-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

.talks-page .article-content {
    max-width: var(--editorial-measure);
}

.talks-page .article-content section {
    margin: 0 0 clamp(3.5rem, 7vw, 5.5rem);
    padding: 0;
}

.talks-page .article-content h2 {
    margin: 0 0 1rem;
    padding: 0;
    border: 0;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
}

.talks-page .article-content h3,
.talks-page .article-content h4 {
    margin: 2rem 0 0.75rem;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
}

.talks-page .article-content p,
.talks-page .article-content li {
    color: var(--editorial-ink-soft);
    font-size: 1.02rem;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.talks-page .article-content strong,
.talks-page .article-content b {
    color: var(--editorial-ink);
}

.talks-page .article-content a {
    color: var(--editorial-blue);
    overflow-wrap: anywhere;
}

.talks-page .article-content blockquote {
    margin: 0;
    padding: 1.4rem 1.6rem;
    border: 0;
    border-left: 3px solid var(--editorial-blue);
    border-radius: 0;
    background: var(--editorial-blue-wash);
    color: var(--editorial-blue-dark);
    font-family: var(--editorial-serif);
    font-size: 1.15rem;
    font-style: normal;
    line-height: 1.65;
}

.talks-page .article-content figure {
    margin: 1.5rem 0 2rem;
    overflow: hidden;
    border: 1px solid var(--editorial-rule);
    border-radius: 2px;
    background: var(--editorial-paper-bright);
}

.talks-page .article-content figure img {
    display: block;
    width: 100%;
    max-width: 100% !important;
    height: auto !important;
    max-height: 760px;
    margin: 0 auto;
    border-radius: 0 !important;
    object-fit: contain;
    filter: saturate(0.86) contrast(1.02);
}

.talks-page .slides-embed,
.talks-page .video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 1.5rem 0;
    overflow: hidden;
    border: 1px solid var(--editorial-rule);
    border-radius: 2px;
    background: #121820;
}

.talks-page .slides-embed iframe,
.talks-page .video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Scaling Agents expandable framework. */

.talks-page .agentic-rules {
    display: grid;
    gap: 0.85rem;
    margin: 2rem 0 0;
}

.talks-page .rule-card {
    overflow: hidden;
    border: 1px solid var(--editorial-rule);
    border-radius: 2px;
    background: var(--editorial-paper-bright);
    box-shadow: none;
}

.talks-page .rule-card summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1.2rem 1.3rem;
    color: var(--editorial-ink);
    cursor: pointer;
    list-style: none;
}

.talks-page .rule-card summary::-webkit-details-marker {
    display: none;
}

.talks-page .rule-number {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid var(--editorial-blue);
    border-radius: 50%;
    color: var(--editorial-blue);
    font-size: 0.78rem;
    font-weight: 800;
}

.talks-page .rule-content h4 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
}

.talks-page .rule-question {
    margin: 0;
    color: var(--editorial-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.talks-page .rule-icon::before {
    content: "+";
    color: var(--editorial-blue);
    font-size: 1.35rem;
    line-height: 1;
}

.talks-page .rule-card[open] .rule-icon::before {
    content: "−";
}

.talks-page .rule-rationale {
    padding: 1.25rem 1.4rem 1.4rem 4.3rem;
    border-top: 1px solid var(--editorial-rule);
    background: #f0ede5;
}

.talks-page .rule-rationale p:last-child {
    margin-bottom: 0;
}

.talks-page .rule-formal {
    color: var(--editorial-muted);
    font-size: 0.9rem;
}

/* Advisory Hour episodes with custom legacy markup. */

.talks-page .talk-hero {
    padding: clamp(4rem, 8vw, 6.75rem) 0 clamp(3rem, 6vw, 4.5rem);
    border-bottom: 1px solid var(--editorial-rule);
    background: var(--editorial-paper-bright);
}

.talks-page .talk-hero .container,
.talks-page .talk-hero + .container {
    width: min(calc(100% - 3rem), 920px);
    max-width: none;
    padding-inline: 0;
}

.talks-page .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    margin: 0 0 1.8rem;
    color: var(--editorial-muted);
    font-size: 0.78rem;
}

.talks-page .breadcrumbs a {
    color: var(--editorial-blue);
    text-decoration: none;
}

.talks-page .breadcrumbs .current {
    color: var(--editorial-muted);
}

.talks-page .talk-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin: 0 0 1.25rem;
    color: var(--editorial-muted);
    font-size: 0.78rem;
}

.talks-page .talk-meta .tag {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--editorial-blue);
    font-size: inherit;
    font-weight: 750;
}

.talks-page .talk-hero h1 {
    max-width: 880px;
    margin: 0 0 1.25rem;
    background: none;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(3.2rem, 6vw, 5.6rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 0.98;
    -webkit-text-fill-color: currentColor;
}

.talks-page .talk-hero .subtitle {
    max-width: 780px;
    margin: 0;
    color: var(--editorial-ink-soft);
    font-family: var(--editorial-serif);
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    line-height: 1.55;
}

.talks-page .video-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: clamp(2rem, 5vw, 4rem) 0;
    padding-bottom: 0;
    overflow: hidden;
    border: 1px solid var(--editorial-rule);
    border-radius: 2px;
    background: #111820;
}

.talks-page .video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.talks-page .talk-content {
    width: min(calc(100% - 3rem), var(--editorial-measure));
    max-width: none;
    margin: 0 auto;
    padding: 1rem 0 clamp(5rem, 9vw, 8rem);
}

.talks-page .talk-content h2 {
    margin: clamp(3.5rem, 7vw, 5.5rem) 0 1rem;
    padding: 0;
    border: 0;
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
}

.talks-page .talk-content h3,
.talks-page .talk-content h4 {
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
}

.talks-page .talk-content p,
.talks-page .talk-content li {
    color: var(--editorial-ink-soft);
    font-size: 1.02rem;
    line-height: 1.78;
    overflow-wrap: anywhere;
}

.talks-page .talk-content strong {
    color: var(--editorial-ink);
}

.talks-page .talk-content a {
    color: var(--editorial-blue);
    overflow-wrap: anywhere;
}

.talks-page .key-insight,
.talks-page .links-box {
    margin: 2rem 0;
    padding: 1.25rem 1.45rem;
    border: 0;
    border-left: 3px solid var(--editorial-blue);
    border-radius: 0;
    background: var(--editorial-blue-wash);
    box-shadow: none;
}

.talks-page .key-insight h4,
.talks-page .links-box h4 {
    margin: 0 0 0.5rem;
    color: var(--editorial-blue-dark);
    font-size: 1.15rem;
}

.talks-page .key-insight p:last-child,
.talks-page .links-box ul:last-child {
    margin-bottom: 0;
}

.talks-page .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0;
    margin: 1.5rem 0;
    border-top: 1px solid var(--editorial-rule);
    border-left: 1px solid var(--editorial-rule);
}

.talks-page .tool-tag {
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border: 0;
    border-right: 1px solid var(--editorial-rule);
    border-bottom: 1px solid var(--editorial-rule);
    border-radius: 0;
    background: var(--editorial-paper-bright);
    color: var(--editorial-blue-dark);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
}

.talks-page .book-box {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 1.35rem 1.45rem;
    border: 1px solid var(--editorial-rule);
    border-radius: 2px;
    background: var(--editorial-paper-bright);
    box-shadow: none;
}

.talks-page .book-box .book-icon {
    font-size: 2rem;
}

.talks-page .book-box h4 {
    margin: 0 0 0.45rem;
    color: var(--editorial-ink);
}

.talks-page .book-box p:last-child {
    margin-bottom: 0;
}

.talks-page .transcript-preview {
    max-height: none;
    margin: 2rem 0;
    padding: 1.4rem 1.5rem;
    overflow: visible;
    border: 1px solid var(--editorial-rule);
    border-radius: 2px;
    background: #eeeae1;
}

.talks-page .transcript-preview h4 {
    margin: 0 0 0.75rem;
    color: var(--editorial-ink);
}

.talks-page .transcript-preview p {
    margin: 0;
    color: var(--editorial-muted);
    font-family: var(--editorial-serif);
    font-size: 0.95rem;
    font-style: normal;
}

/* Calls to action and footers */

.talks-page .article-footer {
    max-width: var(--editorial-measure);
    margin-top: clamp(4rem, 8vw, 6rem);
    padding-top: 2rem;
    border-top: 1px solid var(--editorial-rule-strong);
}

.talks-page .article-cta {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--editorial-rule);
    border-radius: 2px;
    background: var(--editorial-paper-bright);
    text-align: left;
}

.talks-page .article-cta h3 {
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
}

.talks-page .article-cta p {
    color: var(--editorial-ink-soft);
}

.talks-page .btn {
    display: inline-flex;
    min-height: 46px;
    padding: 0.75rem 1rem;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;
    transform: none;
}

.talks-page .btn-primary {
    border: 1px solid var(--editorial-ink);
    background: var(--editorial-ink);
    color: #fff !important;
}

.talks-page .btn-primary:hover {
    background: var(--editorial-blue-dark);
    border-color: var(--editorial-blue-dark);
    transform: none;
}

.talks-page .btn-secondary {
    border: 1px solid var(--editorial-rule-strong);
    background: transparent;
    color: var(--editorial-ink) !important;
}

.talks-page .btn-secondary:hover {
    border-color: var(--editorial-blue);
    color: var(--editorial-blue) !important;
    transform: none;
}

.talks-page .page-footer,
.talks-page .site-footer {
    border-top: 1px solid var(--editorial-rule);
    background: #e9e5dc;
    color: var(--editorial-muted);
}

.talks-page .page-footer {
    padding: 2.5rem 0;
}

.talks-page .page-footer .container,
.talks-page .site-footer .container {
    width: min(calc(100% - 3rem), var(--editorial-wide));
    max-width: none;
    padding-inline: 0;
}

.talks-page .page-footer p,
.talks-page .site-footer p {
    color: var(--editorial-muted);
}

.talks-page .page-footer a {
    color: var(--editorial-blue) !important;
}

@media (max-width: 760px) {
    .talks-page .context-bar .container,
    .talks-page .talks-simple-header .container,
    .talks-page .talks-hub-hero .container,
    .talks-page .talks-listing > .container,
    .talks-page .research-article > .container,
    .talks-page .talk-hero .container,
    .talks-page .talk-hero + .container,
    .talks-page .talk-content,
    .talks-page .page-footer .container,
    .talks-page .site-footer .container {
        width: min(calc(100% - 2rem), var(--editorial-wide));
    }

    .talks-page .talks-hub-hero h1,
    .talks-page .article-header h1,
    .talks-page .talk-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .talks-page .hub-hero-visual {
        height: 260px;
        aspect-ratio: auto;
    }

    .talks-page .evidence-grid {
        grid-template-columns: 1fr;
    }

    .talks-page .evidence-card:nth-child(even) {
        border-left: 0;
    }

    .talks-page .evidence-card:last-child:nth-child(odd) {
        grid-column: auto;
    }

    .talks-page .rule-card summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .talks-page .rule-icon {
        display: none;
    }

    .talks-page .rule-rationale {
        padding: 1.15rem 1.2rem;
    }

    .talks-page .book-box {
        flex-direction: column;
        gap: 0.75rem;
    }

    .talks-page .btn-group {
        align-items: stretch;
    }

    .talks-page .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .talks-page .evidence-card,
    .talks-page .btn {
        transition: none !important;
    }
}

@media print {
    .talks-page .site-nav,
    .talks-page .talks-simple-header,
    .talks-page .context-bar,
    .talks-page .article-footer,
    .talks-page .page-footer,
    .talks-page .site-footer {
        display: none !important;
    }

    .talks-page,
    .talks-page main,
    .talks-page .research-article,
    .talks-page .talk-content,
    .talks-page .talk-hero {
        background: #fff !important;
    }
}
