


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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.21;
    margin-bottom: 0.35em;
    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.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.77em;
    color: #000000 !important;
}
small {
    color: #000000 !important;
}
span {
    color: #000000 !important;
}

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

/* Header */
.top-bar {
    background: #ffffff;
    padding: 21.62px 0;
    margin-bottom: 27.3px;
    border-bottom: 2px solid #000000;
}
.top-bar .page-wrap {
    flex-wrap: nowrap !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    gap: 17.52px !important;
}
.brand-link {
    text-transform: uppercase;
    color: #000000 !important;
    font-size: 25.98px;
    font-weight: 800;
    letter-spacing: -0.49px;
    text-decoration: none;
}
.main-menu {
    align-items: center !important;
    flex-wrap: nowrap !important;
    display: flex !important;
    gap: 23.13px;
}
.main-menu a {
    font-weight: 700;
    text-transform: uppercase;
    color: #000000 !important;
    font-size: 14.8px;
    text-decoration: none;
}
.main-menu a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.lead-article {
    border: 2px solid #000000;
    padding: 49.01px;
    background: #ffffff;
    border-radius: 13.47px;
}
.lead-article h1 {
    font-size: 37.49px;
    color: #000000 !important;
    margin-bottom: 14.63px;
}
.lead-article h2 {
    font-size: 23.07px;
    margin-top: 15px;
    color: #000000 !important;
    margin-bottom: 10.69px;
    padding-bottom: 0;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.lead-article h3 {
    font-size: 19.58px;
    margin-top: 21.05px;
    color: #000000 !important;
}
.date-line {
    font-size: 14.01px;
    color: #000000 !important;
    margin-bottom: 38.21px;
    border-bottom: 1px solid #000000;
    gap: 17.33px;
    padding-bottom: 9.71px;
    font-weight: 600;
    display: flex;
}
.post-body {
    color: #000000 !important;
    font-size: 16.75px;
    line-height: 1.63;
}
.author-title {
    font-style: italic;
    font-weight: 400;
    color: #555555 !important;
    font-size: 11.32px;
}
.post-body a {
    font-weight: 700;
    text-decoration: underline;
    color: #0056b3 !important;
    /* Blue link for backlinks */;
}
.post-body a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

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

/* Sidebar */
.side-panel {
    position: sticky;
    align-self: start;
    top: 40px;
}
.aside-box {
    padding: 26.88px;
    margin-bottom: 27.79px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 10.28px;
}
.section-head {
    padding-bottom: 9.02px;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #000000;
    color: #000000 !important;
    text-transform: uppercase;
    /* H3 Size */
    font-weight: 800;
    margin-bottom: 18.96px;
    font-size: 20.73px;
}
.latest-entries {
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}
.latest-entries li {
    margin-bottom: 12.04px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    padding-bottom: 11.24px;
}
.latest-entries li:last-child {
    border: none !important;
}
.latest-entries a {
    margin-bottom: 3.74px;
    text-decoration: none;
    color: #000000 !important;
    display: block;
    font-weight: 600;
}
.latest-entries a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

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

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

.topic-list {
    flex-wrap: wrap;
    display: flex;
    gap: 8.82px;
}
.pill {
    color: #000000 !important;
    border-radius: 7.31px;
    border: 2px solid #000000;
    text-decoration: none;
    font-size: 13.14px;
    padding: 5.77px 14.29px;
    transition: all 0.2s ease;
    background: #ffffff;
    font-weight: 600;
    display: inline-block;
}
.pill:hover {
    transform: translateY(-1px);
    color: #ffffff !important;
    background: #000000;
}

/* Footer */
.page-bottom {
    color: #000000 !important;
    font-size: 13.38px;
    font-weight: 600;
    background: #fff;
    text-align: center;
    padding: 39.12px 0;
    border-top: 2px solid #000000;
}
.global-grid {
    font-size: 12.71px;
    margin-top: 9.39px;
    font-weight: 600;
}
.global-grid a {
    color: #000000 !important;
    text-decoration: none;
}
.global-grid a:hover {
    text-decoration: underline;
}
.global-grid .root-slot {
    margin: 0 8.54px;
    color: #000000 !important;
}

/* Responsive */
@media (max-width: 900px) {
    .split-view { grid-template-columns: 1fr; gap: 40px; }
    .side-panel {
    position: static;
}
    .lead-article h1 {
    font-size: 32.07px;
}
}
