


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

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

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

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

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

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

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

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

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

/* Header */
.top-bar {
    border-bottom: 2px solid #000000;
    padding: 20.97px 0;
    margin-bottom: 27.92px;
    background: #ffffff;
}
.top-bar .shell {
    gap: 14.84px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}
.wordmark {
    color: #000000 !important;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    font-size: 26.31px;
}
.primary-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 25.52px;
}
.primary-nav a {
    text-transform: uppercase;
    font-size: 13.11px;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 700;
}
.primary-nav a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.primary-content {
    border: 2px solid #000000;
    padding: 47.48px;
    border-radius: 12.17px;
    background: #ffffff;
}
.primary-content h1 {
    color: #000000 !important;
    margin-bottom: 12.53px;
    font-size: 38.83px;
}
.primary-content h2 {
    margin-top: 14.24px;
    padding-bottom: 0;
    font-size: 24.61px;
    margin-bottom: 6.06px;
    color: #000000 !important;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.primary-content h3 {
    font-size: 19.64px;
    margin-top: 20.19px;
    color: #000000 !important;
}
.pub-info {
    border-bottom: 1px solid #000000;
    color: #000000 !important;
    font-weight: 600;
    padding-bottom: 10.17px;
    display: flex;
    gap: 12.94px;
    font-size: 13.52px;
    margin-bottom: 41.24px;
}
.post-body {
    font-size: 16.1px;
    color: #000000 !important;
    line-height: 1.59;
}
.author-title {
    font-style: italic;
    font-weight: 400;
    font-size: 11.02px;
    color: #555555 !important;
}
.post-body a {
    text-decoration: underline;
    /* Blue link for backlinks */;
    font-weight: 700;
    color: #0056b3 !important;
}
.post-body a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

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

/* Sidebar */
.rail {
    top: 40px;
    position: sticky;
    align-self: start;
}
.widget-box {
    background: #ffffff;
    border-radius: 11.13px;
    margin-bottom: 29.15px;
    border: 2px solid #000000;
    padding: 24.72px;
}
.box-title {
    border-bottom: 2px solid #000000;
    color: #000000 !important;
    padding-bottom: 10.5px;
    text-transform: uppercase;
    margin-bottom: 17.19px;
    font-size: 20.82px;
    letter-spacing: -0.02em;
    /* H3 Size */
    font-weight: 800;
}
.stream {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.stream li {
    margin-bottom: 8.7px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    padding-bottom: 11.59px;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    color: #000000 !important;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 4.24px;
}
.stream a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.feed-item {
    padding: 13.99px 0;
    border-bottom: 1px solid #000000;
}
.feed-item:last-child {
    border-bottom: none;
}
.feed-item a {
    font-size: 14.39px;
    font-weight: 600;
    line-height: 1.41;
    display: block;
    margin-bottom: 2.35px;
    text-decoration: none;
    color: #000000 !important;
}
.feed-item a:hover {
    text-decoration: underline;
}
.date-label {
    font-weight: 600;
    font-size: 11.38px;
    color: #000000 !important;
}

.date-index {
    list-style: none;
}
.date-index li {
    margin-bottom: 12.61px;
}
.date-index a {
    font-weight: 600;
    font-size: 14.41px;
    justify-content: space-between;
    display: flex;
    color: #000000 !important;
}
.figure {
    color: #000000 !important;
}

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

/* Footer */
.footer-bar {
    background: #fff;
    border-top: 2px solid #000000;
    font-weight: 600;
    color: #000000 !important;
    text-align: center;
    padding: 37.05px 0;
    font-size: 14.29px;
}
.flex-grid {
    font-weight: 600;
    font-size: 13.49px;
    margin-top: 11.74px;
}
.flex-grid a {
    color: #000000 !important;
    text-decoration: none;
}
.flex-grid a:hover {
    text-decoration: underline;
}
.flex-grid .page-wrap {
    color: #000000 !important;
    margin: 0 7.79px;
}

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