


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

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

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

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

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

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

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

/* Remove empty spacers generated by rich text editors/CMS */
p:empty, .read-area p:empty {
    display: none !important;
}
.read-area > br {
    display: none !important;
}

p {
    margin-bottom: 0.91em;
    color: #000000 !important;
}
small {
    color: #000000 !important;
}
span {
    color: #000000 !important;
}

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

/* Header */
.nav-wrap {
    background: #ffffff;
    margin-bottom: 29.9px;
    border-bottom: 2px solid #000000;
    padding: 20.06px 0;
}
.nav-wrap .content-wrap {
    flex-wrap: nowrap !important;
    gap: 17.89px !important;
    flex-direction: column !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}
.home-brand {
    font-weight: 800;
    letter-spacing: -0.49px;
    text-transform: uppercase;
    color: #000000 !important;
    font-size: 26.95px;
    text-decoration: none;
}
.nav-bar {
    gap: 26.88px;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}
.nav-bar a {
    text-transform: uppercase;
    color: #000000 !important;
    font-size: 13.75px;
    text-decoration: none;
    font-weight: 700;
}
.nav-bar a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.main-post {
    border-radius: 11.89px;
    padding: 50.43px;
    background: #ffffff;
    border: 2px solid #000000;
}
.main-post h1 {
    margin-bottom: 10.61px;
    font-size: 37.02px;
    color: #000000 !important;
}
.main-post h2 {
    color: #000000 !important;
    font-size: 24px;
    margin-top: 14.6px;
    margin-bottom: 9.97px;
    padding-bottom: 0;
}
.read-area > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    color: #000000 !important;
    font-size: 19.43px;
    margin-top: 19px;
}
.date-line {
    margin-bottom: 41.6px;
    font-weight: 600;
    padding-bottom: 12.07px;
    font-size: 14.1px;
    color: #000000 !important;
    gap: 14.73px;
    border-bottom: 1px solid #000000;
    display: flex;
}
.read-area {
    font-size: 16.46px;
    line-height: 1.6;
    color: #000000 !important;
}
.author-title {
    color: #555555 !important;
    font-size: 11.47px;
    font-style: italic;
    font-weight: 400;
}
.read-area a {
    color: #0056b3 !important;
    text-decoration: underline;
    font-weight: 700;
    /* Blue link for backlinks */;
}
.read-area a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

/* Internal Backlink / Related Topic Box */
.direct-wrap {
    color: #000000 !important;
    border-radius: 6.88px;
    padding: 17.72px;
    font-style: italic;
    border: 2px solid #000000;
    background: #ffffff;
    margin-top: 28.5px;
}
.direct-wrap a {
    text-decoration: underline;
    font-weight: 700;
}

/* Sidebar */
.secondary {
    top: 40px;
    position: sticky;
    align-self: start;
}
.side-block {
    border-radius: 10.27px;
    padding: 22px;
    background: #ffffff;
    border: 2px solid #000000;
    margin-bottom: 28.38px;
}
.block-heading {
    color: #000000 !important;
    border-bottom: 2px solid #000000;
    letter-spacing: -0.02em;
    /* H3 Size */
    font-weight: 800;
    padding-bottom: 9.63px;
    font-size: 20.56px;
    text-transform: uppercase;
    margin-bottom: 20.92px;
}
.updates-list {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.updates-list li {
    margin-bottom: 11.35px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    position: relative;
    padding-bottom: 12.11px;
}
.updates-list li:last-child {
    border: none !important;
}
.updates-list a {
    margin-bottom: 0px;
    font-weight: 600;
    display: block;
    color: #000000 !important;
    text-decoration: none;
}
.updates-list a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

/* Latest Posts (for SSI included content) */
.entry-row {
    border-bottom: 1px solid #000000;
    padding: 13.33px 0;
}
.entry-row:last-child {
    border-bottom: none;
}
.entry-row a {
    line-height: 1.39;
    margin-bottom: 2.86px;
    display: block;
    font-size: 13.39px;
    text-decoration: none;
    font-weight: 600;
    color: #000000 !important;
}
.entry-row a:hover {
    text-decoration: underline;
}
.time-stamp {
    font-weight: 600;
    font-size: 12.82px;
    color: #000000 !important;
}

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

.label-group {
    display: flex;
    flex-wrap: wrap;
    gap: 9.05px;
}
.pill {
    text-decoration: none;
    border-radius: 8.41px;
    color: #000000 !important;
    display: inline-block;
    padding: 5.92px 15.9px;
    transition: all 0.2s ease;
    border: 2px solid #000000;
    background: #ffffff;
    font-weight: 600;
    font-size: 12.96px;
}
.pill:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    background: #000000;
}

/* Footer */
.closing {
    background: #fff;
    font-weight: 600;
    font-size: 14.11px;
    padding: 38.02px 0;
    border-top: 2px solid #000000;
    color: #000000 !important;
    text-align: center;
}
.fixed-node {
    margin-top: 11.34px;
    font-size: 12.53px;
    font-weight: 600;
}
.fixed-node a {
    text-decoration: none;
    color: #000000 !important;
}
.fixed-node a:hover {
    text-decoration: underline;
}
.fixed-node .direct-dock {
    margin: 0 10.3px;
    color: #000000 !important;
}

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