


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

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

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

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

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

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

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

/* 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 {
    margin-bottom: 0.9em;
    color: #000000 !important;
}
small {
    color: #000000 !important;
}
span {
    color: #000000 !important;
}

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

/* Header */
.nav-wrap {
    background: #ffffff;
    padding: 21.17px 0;
    border-bottom: 2px solid #000000;
    margin-bottom: 31.11px;
}
.nav-wrap .inner {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    gap: 12.81px !important;
    display: flex !important;
    align-items: flex-start !important;
}
.brand-link {
    font-weight: 800;
    font-size: 25.85px;
    letter-spacing: -0.49px;
    text-transform: uppercase;
    text-decoration: none;
    color: #000000 !important;
}
.main-menu {
    gap: 25.35px;
    flex-wrap: nowrap !important;
    align-items: center !important;
    display: flex !important;
}
.main-menu a {
    color: #000000 !important;
    font-size: 14.25px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
}
.main-menu a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.primary-content {
    border-radius: 13.34px;
    border: 2px solid #000000;
    padding: 49.35px;
    background: #ffffff;
}
.primary-content h1 {
    font-size: 37.35px;
    color: #000000 !important;
    margin-bottom: 13.38px;
}
.primary-content h2 {
    padding-bottom: 0;
    margin-bottom: 5.6px;
    font-size: 24.55px;
    color: #000000 !important;
    margin-top: 12.42px;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.primary-content h3 {
    color: #000000 !important;
    margin-top: 22.34px;
    font-size: 20.74px;
}
.post-info {
    margin-bottom: 41.06px;
    display: flex;
    font-weight: 600;
    gap: 16.29px;
    padding-bottom: 8.45px;
    font-size: 14.42px;
    color: #000000 !important;
    border-bottom: 1px solid #000000;
}
.post-body {
    font-size: 17.44px;
    color: #000000 !important;
    line-height: 1.61;
}
.author-title {
    color: #555555 !important;
    font-style: italic;
    font-weight: 400;
    font-size: 12.48px;
}
.post-body a {
    /* Blue link for backlinks */;
    color: #0056b3 !important;
    text-decoration: underline;
    font-weight: 700;
}
.post-body a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

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

/* Sidebar */
.info-panel {
    align-self: start;
    top: 40px;
    position: sticky;
}
.widget-box {
    background: #ffffff;
    margin-bottom: 29.74px;
    border-radius: 10.29px;
    border: 2px solid #000000;
    padding: 21.8px;
}
.module-head {
    padding-bottom: 9.1px;
    text-transform: uppercase;
    color: #000000 !important;
    /* H3 Size */
    font-weight: 800;
    font-size: 19.89px;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #000000;
    margin-bottom: 21.02px;
}
.stream {
    padding-left: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}
.stream li {
    position: relative;
    margin-bottom: 9.01px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    padding-bottom: 7.9px;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    color: #000000 !important;
    font-weight: 600;
    margin-bottom: 1px;
    text-decoration: none;
    display: block;
}
.stream a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

/* Latest Posts (for SSI included content) */
.content-row {
    padding: 14.68px 0;
    border-bottom: 1px solid #000000;
}
.content-row:last-child {
    border-bottom: none;
}
.content-row a {
    text-decoration: none;
    margin-bottom: 6.79px;
    font-size: 14.79px;
    color: #000000 !important;
    line-height: 1.38;
    display: block;
    font-weight: 600;
}
.content-row a:hover {
    text-decoration: underline;
}
.entry-date {
    font-size: 11.14px;
    font-weight: 600;
    color: #000000 !important;
}

.history-list {
    list-style: none;
}
.history-list li {
    margin-bottom: 8.55px;
}
.history-list a {
    color: #000000 !important;
    display: flex;
    font-size: 13.16px;
    font-weight: 600;
    justify-content: space-between;
}
.entry-count {
    color: #000000 !important;
}

.term-cloud {
    display: flex;
    gap: 11.27px;
    flex-wrap: wrap;
}
.topic-chip {
    transition: all 0.2s ease;
    font-size: 12.01px;
    background: #ffffff;
    padding: 4.47px 13.36px;
    display: inline-block;
    border: 2px solid #000000;
    color: #000000 !important;
    font-weight: 600;
    border-radius: 8.55px;
    text-decoration: none;
}
.topic-chip:hover {
    transform: translateY(-1px);
    background: #000000;
    color: #ffffff !important;
}

/* Footer */
.page-bottom {
    color: #000000 !important;
    font-weight: 600;
    background: #fff;
    padding: 37.01px 0;
    border-top: 2px solid #000000;
    font-size: 14.35px;
    text-align: center;
}
.master-rail {
    font-size: 13.13px;
    margin-top: 14.15px;
    font-weight: 600;
}
.master-rail a {
    text-decoration: none;
    color: #000000 !important;
}
.master-rail a:hover {
    text-decoration: underline;
}
.master-rail .global-node {
    color: #000000 !important;
    margin: 0 5.67px;
}

/* Responsive */
@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .info-panel {
    position: static;
}
    .primary-content h1 {
    font-size: 31.69px;
}
}
