


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

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

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

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

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

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

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

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

/* Header */
.nav-wrap {
    margin-bottom: 27.61px;
    border-bottom: 2px solid #000000;
    background: #ffffff;
    padding: 21.38px 0;
}
.nav-wrap .shell {
    gap: 17.12px !important;
    flex-direction: column !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
}
.brand-mark {
    text-decoration: none;
    color: #000000 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 25.21px;
    font-weight: 800;
}
.primary-nav {
    align-items: center !important;
    gap: 22.22px;
    display: flex !important;
    flex-wrap: nowrap !important;
}
.primary-nav a {
    color: #000000 !important;
    font-size: 14px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}
.primary-nav a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.top-story {
    border: 2px solid #000000;
    border-radius: 13.78px;
    padding: 49.22px;
    background: #ffffff;
}
.top-story h1 {
    font-size: 38.89px;
    color: #000000 !important;
    margin-bottom: 13.33px;
}
.top-story h2 {
    margin-bottom: 10.57px;
    font-size: 24.45px;
    padding-bottom: 0;
    color: #000000 !important;
    margin-top: 13.78px;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.top-story h3 {
    font-size: 20.54px;
    margin-top: 19.86px;
    color: #000000 !important;
}
.post-info {
    gap: 17.7px;
    border-bottom: 1px solid #000000;
    font-weight: 600;
    font-size: 13.88px;
    padding-bottom: 10.25px;
    margin-bottom: 42.86px;
    color: #000000 !important;
    display: flex;
}
.post-body {
    color: #000000 !important;
    line-height: 1.64;
    font-size: 17.29px;
}
.author-title {
    font-weight: 400;
    font-size: 12.52px;
    font-style: italic;
    color: #555555 !important;
}
.post-body a {
    text-decoration: underline;
    color: #0056b3 !important;
    /* Blue link for backlinks */;
    font-weight: 700;
}
.post-body a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

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

/* Sidebar */
.side-panel {
    align-self: start;
    top: 40px;
    position: sticky;
}
.panel-item {
    border-radius: 13.59px;
    background: #ffffff;
    border: 2px solid #000000;
    padding: 22.51px;
    margin-bottom: 32.22px;
}
.label {
    /* H3 Size */
    font-weight: 800;
    margin-bottom: 17.18px;
    font-size: 19.23px;
    border-bottom: 2px solid #000000;
    text-transform: uppercase;
    padding-bottom: 11.79px;
    color: #000000 !important;
    letter-spacing: -0.02em;
}
.stream {
    padding-left: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}
.stream li {
    position: relative;
    margin-bottom: 10.01px;
    padding-bottom: 8.41px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    margin-bottom: 3.86px;
    display: block;
    font-weight: 600;
    text-decoration: none;
    color: #000000 !important;
}
.stream a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

/* Latest Posts (for SSI included content) */
.item-card {
    padding: 9.85px 0;
    border-bottom: 1px solid #000000;
}
.item-card:last-child {
    border-bottom: none;
}
.item-card a {
    font-size: 14.11px;
    font-weight: 600;
    color: #000000 !important;
    margin-bottom: 4.15px;
    text-decoration: none;
    display: block;
    line-height: 1.43;
}
.item-card a:hover {
    text-decoration: underline;
}
.time-stamp {
    color: #000000 !important;
    font-weight: 600;
    font-size: 12.86px;
}

.log-list {
    list-style: none;
}
.log-list li {
    margin-bottom: 7.28px;
}
.log-list a {
    font-weight: 600;
    font-size: 14.5px;
    display: flex;
    color: #000000 !important;
    justify-content: space-between;
}
.post-count {
    color: #000000 !important;
}

.topic-list {
    gap: 7.6px;
    flex-wrap: wrap;
    display: flex;
}
.topic-chip {
    font-size: 12.2px;
    text-decoration: none;
    font-weight: 600;
    padding: 7.54px 11.6px;
    display: inline-block;
    transition: all 0.2s ease;
    border: 2px solid #000000;
    background: #ffffff;
    color: #000000 !important;
    border-radius: 9.96px;
}
.topic-chip:hover {
    background: #000000;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Footer */
.page-bottom {
    font-size: 14.87px;
    padding: 37.54px 0;
    border-top: 2px solid #000000;
    color: #000000 !important;
    font-weight: 600;
    text-align: center;
    background: #fff;
}
.top-rail {
    margin-top: 10.88px;
    font-weight: 600;
    font-size: 12.16px;
}
.top-rail a {
    text-decoration: none;
    color: #000000 !important;
}
.top-rail a:hover {
    text-decoration: underline;
}
.top-rail .inner-frame {
    margin: 0 7.09px;
    color: #000000 !important;
}

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