


:root {
    /* No gray, only black */
    --color-border: #000000;
    --color-text-light: #000000;
    --color-bg: #ffffff;
    --color-accent: #000000;
    --spacing-container: 1200px;
    --color-text: #000000;
    --color-muted: #000000;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    /* Force all borders black */
    outline-color: #000000 !important;
    border-color: #000000 !important;
    box-sizing: border-box;
}

body {
    font-size: 16.88px;
    line-height: 1.49;
    background-color: var(--color-bg);
    font-family: var(--font-main);
    text-size-adjust: 100%;
    color: var(--color-text) !important;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    opacity: 1;
    color: #000000;
    text-decoration: underline;
}

img {
    height: auto;
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.23;
    letter-spacing: -0.02em;
    margin-bottom: 0.29em;
    color: #000000 !important;
}

/* Fix Chrome deprecation warning: explicit font-sizes for h1 in article/section */
h1 {
    font-size: 2.03em;
}
article h1, section h1 {
    font-size: 1.97em;
}

/* Remove empty spacers generated by rich text editors/CMS */
p:empty, .post-body p:empty {
    display: none !important;
}
.post-body > br {
    display: none !important;
}

p {
    color: #000000 !important;
    margin-bottom: 0.74em;
}
small {
    color: #000000 !important;
}
span {
    color: #000000 !important;
}

/* Layout */
.content-wrap {
    padding: 0 20.05px;
    max-width: var(--spacing-container);
    margin: 0 auto;
}

/* Header */
.top-bar {
    padding: 20.5px 0;
    background: #ffffff;
    margin-bottom: 31.67px;
    border-bottom: 2px solid #000000;
}
.top-bar .content-wrap {
    flex-direction: column !important;
    gap: 12.86px !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    display: flex !important;
}
.logo-text {
    font-size: 25.62px;
    color: #000000 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-weight: 800;
    text-decoration: none;
}
.nav-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 25.11px;
}
.nav-links a {
    color: #000000 !important;
    font-size: 13.58px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}
.nav-links a:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* Main Grid */
.layout-grid {
    grid-template-columns: 1fr 300px;
    margin-bottom: 77.44px;
    /* Left Content - Right Sidebar */
    gap: 60px;
    display: grid;
}

/* Mega Article */
.main-post {
    border-radius: 12.36px;
    background: #ffffff;
    border: 2px solid #000000;
    padding: 49.91px;
}
.main-post h1 {
    font-size: 37.32px;
    margin-bottom: 10.8px;
    color: #000000 !important;
}
.main-post h2 {
    margin-bottom: 6.86px;
    padding-bottom: 0;
    color: #000000 !important;
    font-size: 24.48px;
    margin-top: 13.91px;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    color: #000000 !important;
    font-size: 19.07px;
    margin-top: 19.58px;
}
.content-meta {
    color: #000000 !important;
    display: flex;
    font-size: 14px;
    gap: 17.56px;
    margin-bottom: 37.92px;
    padding-bottom: 11.68px;
    border-bottom: 1px solid #000000;
    font-weight: 600;
}
.post-body {
    font-size: 17.04px;
    color: #000000 !important;
    line-height: 1.6;
}
.author-title {
    font-size: 12.32px;
    color: #555555 !important;
    font-weight: 400;
    font-style: italic;
}
.post-body a {
    font-weight: 700;
    color: #0056b3 !important;
    text-decoration: underline;
    /* Blue link for backlinks */;
}
.post-body a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.upper-row {
    color: #000000 !important;
    margin-top: 29.16px;
    padding: 16.45px;
    border-radius: 6.31px;
    font-style: italic;
    border: 2px solid #000000;
    background: #ffffff;
}
.upper-row a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.secondary {
    top: 40px;
    align-self: start;
    position: sticky;
}
.panel-item {
    border: 2px solid #000000;
    padding: 22.12px;
    background: #ffffff;
    margin-bottom: 32.73px;
    border-radius: 11.6px;
}
.module-head {
    margin-bottom: 20.24px;
    border-bottom: 2px solid #000000;
    /* H3 Size */
    font-weight: 800;
    padding-bottom: 7.58px;
    text-transform: uppercase;
    font-size: 19.93px;
    letter-spacing: -0.02em;
    color: #000000 !important;
}
.updates-list {
    margin: 0 !important;
    list-style: none !important;
    padding-left: 0 !important;
}
.updates-list li {
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    padding-bottom: 9.97px;
    position: relative;
    margin-bottom: 12.58px;
}
.updates-list li:last-child {
    border: none !important;
}
.updates-list a {
    font-weight: 600;
    display: block;
    text-decoration: none;
    margin-bottom: 1.62px;
    color: #000000 !important;
}
.updates-list a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.entry-row {
    border-bottom: 1px solid #000000;
    padding: 10.06px 0;
}
.entry-row:last-child {
    border-bottom: none;
}
.entry-row a {
    display: block;
    color: #000000 !important;
    margin-bottom: 5.3px;
    font-size: 14.84px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
}
.entry-row a:hover {
    text-decoration: underline;
}
.created-at {
    color: #000000 !important;
    font-weight: 600;
    font-size: 11.62px;
}

.past-entries {
    list-style: none;
}
.past-entries li {
    margin-bottom: 7.01px;
}
.past-entries a {
    display: flex;
    font-size: 14.03px;
    justify-content: space-between;
    font-weight: 600;
    color: #000000 !important;
}
.figure {
    color: #000000 !important;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12.06px;
}
.term-badge {
    font-weight: 600;
    font-size: 13.79px;
    text-decoration: none;
    color: #000000 !important;
    padding: 8.97px 12.22px;
    display: inline-block;
    border: 2px solid #000000;
    border-radius: 8.09px;
    background: #ffffff;
    transition: all 0.2s ease;
}
.term-badge:hover {
    background: #000000;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Footer */
.base-bar {
    background: #fff;
    padding: 40.05px 0;
    border-top: 2px solid #000000;
    font-weight: 600;
    font-size: 14.83px;
    color: #000000 !important;
    text-align: center;
}
.site-frame {
    font-weight: 600;
    margin-top: 11.17px;
    font-size: 13.4px;
}
.site-frame a {
    color: #000000 !important;
    text-decoration: none;
}
.site-frame a:hover {
    text-decoration: underline;
}
.site-frame .linked-frame {
    margin: 0 5.86px;
    color: #000000 !important;
}

/* Responsive */
@media (max-width: 900px) {
    .layout-grid { grid-template-columns: 1fr; gap: 40px; }
    .secondary {
    position: static;
}
    .main-post h1 {
    font-size: 31.91px;
}
}
