/* Apply strict deep black backgrounds and readable whites */
html,
body,
body.gutenberg-body,
.wp-site-blocks,
#page,
.site-content-contain,
.site-content,
main,
article,
.post-template-default,
.single-post {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
}

/* Ensure all nested typography elements render in pure white */
body *,
p,
span,
li,
h1,
h2,
h3,
h4,
h5,
h6,
strong,
em,
blockquote,
cite,
small {
    color: #ffffff !important;
}

/* Strict royal-blue links */
a,
body a,
p a,
li a,
.wp-block-navigation a,
.wp-block-post-title a {
    color: #1a73e8 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease-in-out !important;
}

a:hover,
body a:hover {
    color: #357ae8 !important;
    text-decoration: none !important;
}

/* Customized interactive Table of Contents panel styling */
.wp-block-heading:first-of-type,
.gutenberg-toc-container-8096b444 {
    margin-top: 2rem !important;
}

.strict-toc-card-8096b444 {
    background-color: #0c0f12 !important;
    border: 1px solid #1a2333 !important;
    border-radius: 8px !important;
    padding: 24px !important;
    margin-bottom: 32px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.strict-toc-title-8096b444 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #1a2333 !important;
    padding-bottom: 8px !important;
    letter-spacing: 0.5px !important;
}

.strict-toc-list-8096b444 {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.strict-toc-item-8096b444 {
    margin-bottom: 10px !important;
    padding-left: 0 !important;
    font-size: 0.95rem !important;
}

.strict-toc-link-8096b444 {
    color: #1a73e8 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    display: inline-block !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.strict-toc-link-8096b444:hover {
    color: #357ae8 !important;
    transform: translateX(4px) !important;
    text-decoration: underline !important;
}

/* Style list bullets to be high-contrast white */
ul li::marker,
ol li::marker {
    color: #ffffff !important;
}
