/* post-show-content.css — post intro/wiki content styles only (extracted from chapter-show.css) */

/* Post show uses the same generated wiki blocks without inheriting reader-page typography. */
body.post-show-page #ct-p.post-rich-content {
    --wiki-reader-prose-size: 16px;
    --wiki-reader-prose-line: 1.72;
    --wiki-reader-prose-font: inherit;
    --wiki-ui-line: color-mix(in srgb, #e6edf5 84%, #d6dde7);
    --wiki-ui-paper: #fff;
    --wiki-ui-soft: #f8fafc;
    --wiki-ui-muted-bg: color-mix(in srgb, #f8fafc 55%, #fff);
    --wiki-ui-ink: #1f2937;
    --wiki-brand-gold: #f2b400;
    --wiki-brand-gold-text: #d99a00;
    overflow-x: visible !important;
    padding: 0 !important;
    color: var(--wiki-ui-ink) !important;
    font-family: inherit !important;
    font-size: var(--wiki-reader-prose-size) !important;
    font-style: normal !important;
    font-weight: 430 !important;
    line-height: var(--wiki-reader-prose-line) !important;
}

body.post-show-page #ct-p.post-rich-content > p,
body.post-show-page #ct-p.post-rich-content .wiki-prose-flow p,
body.post-show-page #ct-p.post-rich-content .wiki-timeline-body p,
body.post-show-page #ct-p.post-rich-content .wiki-section-block-body p,
body.post-show-page #ct-p.post-rich-content .wiki-list-card-body p {
    max-width: none !important;
    margin: 0 0 0.72rem !important;
    color: var(--wiki-ui-ink) !important;
    font-family: inherit !important;
    font-size: 0.9em !important;
    font-style: normal !important;
    font-weight: 430 !important;
    line-height: 1.58 !important;
    text-align: left !important;
}

body.post-show-page #ct-p.post-rich-content > p:first-child,
body.post-show-page #ct-p.post-rich-content > p:nth-child(2) {
    color: #475569 !important;
    font-size: 0.98em !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tabs {
    margin: 0 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-nav-wrap {
    overflow: visible !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-nav-wrap::before,
body.post-show-page #ct-p.post-rich-content .wiki-tab-nav-wrap::after,
body.post-show-page #ct-p.post-rich-content .wiki-tab-nav::before,
body.post-show-page #ct-p.post-rich-content .wiki-tab-nav::after {
    display: none !important;
    content: none !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-nav {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2.wiki-tab-button,
body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2[data-wiki-tab-button] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 32px !important;
    margin: 0 !important;
    gap: 6px !important;
    border: 1px solid color-mix(in srgb, var(--wiki-ui-line) 82%, transparent) !important;
    border-radius: 999px !important;
    background: var(--wiki-ui-paper) !important;
    padding: 5px 9px 5px 5px !important;
    color: #64748b !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: normal !important;
    box-shadow: none !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2.wiki-tab-button.is-active,
body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2[data-wiki-tab-button].is-active {
    border-color: color-mix(in srgb, var(--wiki-brand-gold) 62%, var(--wiki-ui-line)) !important;
    background: color-mix(in srgb, var(--wiki-brand-gold) 8%, var(--wiki-ui-paper)) !important;
    color: #111827 !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wiki-brand-gold) 16%, transparent) !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2.wiki-tab-button .wiki-tab-index,
body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2[data-wiki-tab-button] .wiki-tab-index {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    border: 1px solid var(--wiki-ui-line) !important;
    border-radius: 999px !important;
    background: var(--wiki-ui-soft) !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 22px !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2.wiki-tab-button.is-active .wiki-tab-index,
body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2[data-wiki-tab-button].is-active .wiki-tab-index {
    border-color: var(--wiki-brand-gold) !important;
    background: var(--wiki-brand-gold) !important;
    color: #fff !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-label {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-panel[hidden] {
    display: none !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-tab-panel {
    animation: wikiTabPanelIn .16s ease-out both !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline {
    --wiki-timeline-dot-left: -1px;
    --wiki-timeline-line-left: 4px;
    --wiki-timeline-cap-size: 10px;
    --wiki-timeline-cap-offset: 12px;
    --wiki-timeline-title-shift: 11px;
    position: relative !important;
    margin: 0 !important;
    padding-left: 0 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline::before {
    content: '' !important;
    position: absolute !important;
    top: calc(var(--wiki-timeline-cap-size) + var(--wiki-timeline-cap-offset)) !important;
    bottom: var(--wiki-timeline-cap-size) !important;
    left: var(--wiki-timeline-line-left) !important;
    width: 1px !important;
    background: color-mix(in srgb, var(--wiki-brand-gold) 72%, transparent) !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline::after {
    content: '' !important;
    position: absolute !important;
    top: var(--wiki-timeline-cap-offset) !important;
    bottom: 0 !important;
    left: calc(var(--wiki-timeline-line-left) + 0.5px - (var(--wiki-timeline-cap-size) / 2)) !important;
    width: var(--wiki-timeline-cap-size) !important;
    pointer-events: none !important;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%23f2b400' d='M0 0h10L5 10z'/%3E%3C/svg%3E") center top / var(--wiki-timeline-cap-size) var(--wiki-timeline-cap-size) no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath fill='%23f2b400' d='M5 0l5 10H0z'/%3E%3C/svg%3E") center bottom / var(--wiki-timeline-cap-size) var(--wiki-timeline-cap-size) no-repeat !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline-item {
    position: relative !important;
    padding: 0 0 12px 18px !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline-item:first-child .wiki-timeline-dot {
    display: none !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline-dot {
    position: absolute !important;
    top: 18px !important;
    left: var(--wiki-timeline-dot-left) !important;
    z-index: 1 !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
    background: var(--wiki-brand-gold) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wiki-brand-gold) 14%, transparent) !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline-card {
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    padding: var(--wiki-timeline-title-shift) 0 0 !important;
    box-shadow: none !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline-card h3 {
    margin: 0 0 7px !important;
    color: #334155 !important;
    font-size: 0.86em !important;
    font-style: normal !important;
    font-weight: 560 !important;
    line-height: 20px !important;
    letter-spacing: -0.01em !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline-card h3::before {
    display: none !important;
    content: none !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-timeline-body {
    padding-top: 1px !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-blocks {
    gap: 0 !important;
    border-top: 1px solid color-mix(in srgb, var(--wiki-ui-line) 72%, transparent) !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block {
    display: block !important;
    border: 0 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--wiki-ui-line) 64%, transparent) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 10px 0 11px !important;
    box-shadow: none !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block h3 {
    position: relative !important;
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 0 6px !important;
    padding-left: 13px !important;
    color: #334155 !important;
    font-size: 0.92em !important;
    font-style: normal !important;
    font-weight: 720 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.012em !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block h3::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.58em !important;
    display: block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: var(--wiki-brand-gold) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wiki-brand-gold) 13%, transparent) !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body {
    display: block !important;
    min-width: 0 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-kv-list,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-data-list {
    display: block !important;
    overflow: visible !important;
    margin: 2px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-kv-row,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-data-row {
    display: block !important;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid color-mix(in srgb, var(--wiki-ui-line) 58%, transparent) !important;
    padding: 7px 0 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-kv-row:first-child,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-data-row:first-child {
    border-top: 0 !important;
    padding-top: 0 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-kv-row:last-child,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-data-row:last-child {
    padding-bottom: 0 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-kv-row dt,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-data-row dt {
    display: inline !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: color-mix(in srgb, var(--wiki-ui-line) 34%, transparent) !important;
    padding: 0.05em 0.42em 0.08em !important;
    color: #475569 !important;
    font-size: 0.82em !important;
    font-weight: 680 !important;
    line-height: 1.45 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-kv-row dt::after,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-data-row dt::after {
    content: ":" !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-kv-row dd,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body .wiki-data-row dd {
    display: inline !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--wiki-ui-ink) !important;
    font-size: 0.9em !important;
    font-weight: 430 !important;
    line-height: 1.58 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body > p:first-child {
    display: block !important;
    margin-top: 0 !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body > p:not(:first-child),
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body > ul,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body > ol,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body > blockquote {
    display: block !important;
    margin-top: 0.5rem !important;
}

body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body strong:first-child,
body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block-body b:first-child {
    color: #334155 !important;
    font-weight: 700 !important;
}

@media (max-width: 767px) {
    body.post-show-page #ct-p.post-rich-content {
        --wiki-reader-prose-size: 15.5px;
        --wiki-reader-prose-line: 1.66;
    }

    body.post-show-page #ct-p.post-rich-content .wiki-tab-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2.wiki-tab-button,
    body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2[data-wiki-tab-button] {
        min-height: 30px !important;
        padding: 4px 7px 4px 4px !important;
        font-size: 10.5px !important;
    }

    body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2.wiki-tab-button .wiki-tab-index,
    body.post-show-page #ct-p.post-rich-content .wiki-tab-nav > h2[data-wiki-tab-button] .wiki-tab-index {
        width: 18px !important;
        height: 18px !important;
        flex-basis: 18px !important;
        font-size: 9.5px !important;
        line-height: 18px !important;
    }

    body.post-show-page #ct-p.post-rich-content .wiki-timeline {
        --wiki-timeline-cap-offset: 11px;
        --wiki-timeline-title-shift: 11px;
    }

    body.post-show-page #ct-p.post-rich-content .wiki-timeline-item {
        padding-left: 16px !important;
        padding-bottom: 11px !important;
    }

    body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block {
        padding: 7px 0 !important;
    }

    body.post-show-page #ct-p.post-rich-content .wiki-section--cards .wiki-section-block h3 {
        margin-bottom: 5px !important;
        font-size: 0.91em !important;
    }
}

/* PC hover pop-out & glow effect for wiki thumbnail */
@media (min-width: 768px) {
    
}
