


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

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

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

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

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

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

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

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

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

/* Header */
.page-top {
    border-bottom: 2px solid #000000;
    margin-bottom: 27.63px;
    background: #ffffff;
    padding: 21.49px 0;
}
.page-top .content-wrap {
    gap: 14.35px !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    display: flex !important;
}
.identity {
    letter-spacing: -0.5px;
    color: #000000 !important;
    font-size: 25.49px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
}
.nav-bar {
    flex-wrap: nowrap !important;
    align-items: center !important;
    display: flex !important;
    gap: 25.77px;
}
.nav-bar a {
    text-decoration: none;
    color: #000000 !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13.73px;
}
.nav-bar a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.hero-post {
    background: #ffffff;
    padding: 48.35px;
    border-radius: 10.57px;
    border: 2px solid #000000;
}
.hero-post h1 {
    margin-bottom: 10.35px;
    color: #000000 !important;
    font-size: 38.43px;
}
.hero-post h2 {
    color: #000000 !important;
    margin-bottom: 8px;
    padding-bottom: 0;
    margin-top: 12.14px;
    font-size: 23.61px;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.hero-post h3 {
    font-size: 20.05px;
    margin-top: 17.52px;
    color: #000000 !important;
}
.byline {
    border-bottom: 1px solid #000000;
    font-size: 13.45px;
    color: #000000 !important;
    font-weight: 600;
    margin-bottom: 37.92px;
    padding-bottom: 8.92px;
    gap: 15.11px;
    display: flex;
}
.post-body {
    font-size: 17.91px;
    line-height: 1.64;
    color: #000000 !important;
}
.author-title {
    font-size: 12.23px;
    font-weight: 400;
    font-style: italic;
    color: #555555 !important;
}
.post-body a {
    text-decoration: underline;
    /* Blue link for backlinks */;
    font-weight: 700;
    color: #0056b3 !important;
}
.post-body a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.default-slot {
    padding: 12.71px;
    color: #000000 !important;
    border-radius: 8.61px;
    border: 2px solid #000000;
    margin-top: 30.46px;
    background: #ffffff;
    font-style: italic;
}
.default-slot a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.right-col {
    align-self: start;
    position: sticky;
    top: 40px;
}
.widget-box {
    padding: 21.59px;
    border: 2px solid #000000;
    margin-bottom: 28.14px;
    border-radius: 10.36px;
    background: #ffffff;
}
.section-head {
    border-bottom: 2px solid #000000;
    letter-spacing: -0.02em;
    font-size: 19.21px;
    /* H3 Size */
    font-weight: 800;
    padding-bottom: 8.27px;
    color: #000000 !important;
    text-transform: uppercase;
    margin-bottom: 17.87px;
}
.stream {
    margin: 0 !important;
    list-style: none !important;
    padding-left: 0 !important;
}
.stream li {
    position: relative;
    margin-bottom: 9.12px;
    padding-bottom: 10.1px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    color: #000000 !important;
    display: block;
    font-weight: 600;
    margin-bottom: 0px;
    text-decoration: none;
}
.stream a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

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

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

.keyword-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 11.13px;
}
.label-item {
    border-radius: 8.51px;
    font-size: 13.22px;
    padding: 6.19px 13.34px;
    transition: all 0.2s ease;
    color: #000000 !important;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    display: inline-block;
    border: 2px solid #000000;
}
.label-item:hover {
    transform: translateY(-1px);
    background: #000000;
    color: #ffffff !important;
}

/* Footer */
.base-bar {
    font-weight: 600;
    border-top: 2px solid #000000;
    padding: 39.98px 0;
    color: #000000 !important;
    text-align: center;
    background: #fff;
    font-size: 14.49px;
}
.common-node {
    margin-top: 13.96px;
    font-size: 12.38px;
    font-weight: 600;
}
.common-node a {
    text-decoration: none;
    color: #000000 !important;
}
.common-node a:hover {
    text-decoration: underline;
}
.common-node .base-module {
    color: #000000 !important;
    margin: 0 10.07px;
}

/* Responsive */
@media (max-width: 900px) {
    .split-view { grid-template-columns: 1fr; gap: 40px; }
    .right-col {
    position: static;
}
    .hero-post h1 {
    font-size: 31.21px;
}
}
