


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

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

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

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

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

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

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

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

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

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

/* Header */
.head-section {
    background: #ffffff;
    padding: 19.44px 0;
    border-bottom: 2px solid #000000;
    margin-bottom: 29.07px;
}
.head-section .shell {
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    gap: 17.85px !important;
    align-items: flex-start !important;
}
.identity {
    letter-spacing: -0.51px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 26.23px;
    color: #000000 !important;
}
.primary-nav {
    flex-wrap: nowrap !important;
    gap: 23.5px;
    display: flex !important;
    align-items: center !important;
}
.primary-nav a {
    text-transform: uppercase;
    font-size: 13.66px;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 700;
}
.primary-nav a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.feature-post {
    border-radius: 12.95px;
    border: 2px solid #000000;
    background: #ffffff;
    padding: 50.89px;
}
.feature-post h1 {
    margin-bottom: 12.93px;
    font-size: 37.4px;
    color: #000000 !important;
}
.feature-post h2 {
    font-size: 24.03px;
    color: #000000 !important;
    margin-bottom: 10.98px;
    padding-bottom: 0;
    margin-top: 15.44px;
}
.main-text > h2:first-of-type {
    margin-top: 0 !important;
}
.feature-post h3 {
    color: #000000 !important;
    font-size: 19.6px;
    margin-top: 17.24px;
}
.pub-info {
    color: #000000 !important;
    font-weight: 600;
    margin-bottom: 40.35px;
    border-bottom: 1px solid #000000;
    padding-bottom: 8.94px;
    gap: 16.03px;
    display: flex;
    font-size: 14.23px;
}
.main-text {
    font-size: 17.13px;
    line-height: 1.62;
    color: #000000 !important;
}
.author-title {
    color: #555555 !important;
    font-style: italic;
    font-size: 12.97px;
    font-weight: 400;
}
.main-text a {
    color: #0056b3 !important;
    text-decoration: underline;
    font-weight: 700;
    /* Blue link for backlinks */;
}
.main-text a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.base-node {
    background: #ffffff;
    color: #000000 !important;
    border-radius: 6.89px;
    margin-top: 30.03px;
    padding: 13.08px;
    border: 2px solid #000000;
    font-style: italic;
}
.base-node a {
    text-decoration: underline;
    font-weight: 700;
}

/* Sidebar */
.side-panel {
    top: 40px;
    position: sticky;
    align-self: start;
}
.info-card {
    background: #ffffff;
    padding: 25.36px;
    border: 2px solid #000000;
    border-radius: 10.75px;
    margin-bottom: 31.68px;
}
.module-head {
    color: #000000 !important;
    margin-bottom: 22.07px;
    font-size: 19.58px;
    border-bottom: 2px solid #000000;
    padding-bottom: 7.31px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    /* H3 Size */
    font-weight: 800;
}
.stream {
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}
.stream li {
    padding-bottom: 8.81px;
    margin-bottom: 10.32px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    position: relative;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    text-decoration: none;
    display: block;
    font-weight: 600;
    color: #000000 !important;
    margin-bottom: 3.48px;
}
.stream a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

/* Latest Posts (for SSI included content) */
.entry-row {
    border-bottom: 1px solid #000000;
    padding: 9.04px 0;
}
.entry-row:last-child {
    border-bottom: none;
}
.entry-row a {
    font-size: 13.16px;
    color: #000000 !important;
    line-height: 1.39;
    text-decoration: none;
    margin-bottom: 7.89px;
    display: block;
    font-weight: 600;
}
.entry-row a:hover {
    text-decoration: underline;
}
.time-stamp {
    color: #000000 !important;
    font-size: 12.34px;
    font-weight: 600;
}

.time-list {
    list-style: none;
}
.time-list li {
    margin-bottom: 10.89px;
}
.time-list a {
    font-size: 14.82px;
    display: flex;
    color: #000000 !important;
    font-weight: 600;
    justify-content: space-between;
}
.num-badge {
    color: #000000 !important;
}

.keyword-wrap {
    flex-wrap: wrap;
    display: flex;
    gap: 10.12px;
}
.term-badge {
    border-radius: 6.92px;
    display: inline-block;
    transition: all 0.2s ease;
    border: 2px solid #000000;
    padding: 8.94px 12.61px;
    background: #ffffff;
    font-weight: 600;
    color: #000000 !important;
    font-size: 12.69px;
    text-decoration: none;
}
.term-badge:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    background: #000000;
}

/* Footer */
.base-bar {
    background: #fff;
    text-align: center;
    border-top: 2px solid #000000;
    font-size: 13.69px;
    color: #000000 !important;
    font-weight: 600;
    padding: 39.65px 0;
}
.root-port {
    font-weight: 600;
    margin-top: 14.02px;
    font-size: 13.63px;
}
.root-port a {
    color: #000000 !important;
    text-decoration: none;
}
.root-port a:hover {
    text-decoration: underline;
}
.root-port .outer-tile {
    color: #000000 !important;
    margin: 0 8.55px;
}

/* Responsive */
@media (max-width: 900px) {
    .dual-panel { grid-template-columns: 1fr; gap: 40px; }
    .side-panel {
    position: static;
}
    .feature-post h1 {
    font-size: 31.31px;
}
}
