


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

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

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

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

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

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

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

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

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

/* Header */
.head-section {
    margin-bottom: 31.06px;
    border-bottom: 2px solid #000000;
    padding: 22.99px 0;
    background: #ffffff;
}
.head-section .shell {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 17.29px !important;
    flex-direction: column !important;
}
.brand-mark {
    text-decoration: none;
    font-size: 26.54px;
    letter-spacing: -0.5px;
    color: #000000 !important;
    font-weight: 800;
    text-transform: uppercase;
}
.nav-links {
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 23.56px;
    display: flex !important;
}
.nav-links a {
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    color: #000000 !important;
    font-size: 14.78px;
}
.nav-links a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.main-post {
    background: #ffffff;
    border: 2px solid #000000;
    padding: 50.57px;
    border-radius: 11.14px;
}
.main-post h1 {
    margin-bottom: 9.8px;
    font-size: 38.11px;
    color: #000000 !important;
}
.main-post h2 {
    font-size: 24.17px;
    padding-bottom: 0;
    margin-bottom: 8.63px;
    margin-top: 17.72px;
    color: #000000 !important;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    color: #000000 !important;
    margin-top: 19.24px;
    font-size: 20.73px;
}
.entry-meta {
    border-bottom: 1px solid #000000;
    padding-bottom: 11.77px;
    margin-bottom: 39.11px;
    font-weight: 600;
    gap: 13.19px;
    font-size: 13.86px;
    color: #000000 !important;
    display: flex;
}
.post-body {
    line-height: 1.61;
    font-size: 16.3px;
    color: #000000 !important;
}
.author-title {
    font-weight: 400;
    color: #555555 !important;
    font-size: 11.04px;
    font-style: italic;
}
.post-body a {
    color: #0056b3 !important;
    text-decoration: underline;
    font-weight: 700;
    /* Blue link for backlinks */;
}
.post-body a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

/* Internal Backlink / Related Topic Box */
.root-port {
    font-style: italic;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 7.34px;
    padding: 17.29px;
    color: #000000 !important;
    margin-top: 31.49px;
}
.root-port a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.right-col {
    position: sticky;
    top: 40px;
    align-self: start;
}
.side-block {
    margin-bottom: 31.5px;
    border: 2px solid #000000;
    padding: 23.01px;
    background: #ffffff;
    border-radius: 11.18px;
}
.label {
    /* H3 Size */
    font-weight: 800;
    border-bottom: 2px solid #000000;
    color: #000000 !important;
    text-transform: uppercase;
    font-size: 19.04px;
    padding-bottom: 9.74px;
    margin-bottom: 21.98px;
    letter-spacing: -0.02em;
}
.latest-entries {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.latest-entries li {
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    position: relative;
    margin-bottom: 11.14px;
    padding-bottom: 10.53px;
}
.latest-entries li:last-child {
    border: none !important;
}
.latest-entries a {
    text-decoration: none;
    display: block;
    font-weight: 600;
    margin-bottom: 2.35px;
    color: #000000 !important;
}
.latest-entries a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

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

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

.keyword-wrap {
    gap: 7.62px;
    display: flex;
    flex-wrap: wrap;
}
.topic-chip {
    border-radius: 8.1px;
    display: inline-block;
    background: #ffffff;
    padding: 3.65px 14.73px;
    transition: all 0.2s ease;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #000000;
    font-size: 12.96px;
}
.topic-chip:hover {
    transform: translateY(-1px);
    background: #000000;
    color: #ffffff !important;
}

/* Footer */
.base-bar {
    border-top: 2px solid #000000;
    font-weight: 600;
    color: #000000 !important;
    font-size: 13.1px;
    padding: 40.64px 0;
    text-align: center;
    background: #fff;
}
.outer-header {
    font-size: 12.95px;
    font-weight: 600;
    margin-top: 10.35px;
}
.outer-header a {
    color: #000000 !important;
    text-decoration: none;
}
.outer-header a:hover {
    text-decoration: underline;
}
.outer-header .primary-block {
    margin: 0 7.94px;
    color: #000000 !important;
}

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