


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

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

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

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

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

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

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

/* 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 20.34px;
}

/* Header */
.nav-wrap {
    margin-bottom: 27.1px;
    background: #ffffff;
    padding: 19.63px 0;
    border-bottom: 2px solid #000000;
}
.nav-wrap .content-wrap {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 13.87px !important;
}
.wordmark {
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #000000 !important;
    font-weight: 800;
    text-decoration: none;
    font-size: 25.86px;
}
.top-menu {
    flex-wrap: nowrap !important;
    gap: 25.3px;
    display: flex !important;
    align-items: center !important;
}
.top-menu a {
    text-decoration: none;
    color: #000000 !important;
    font-weight: 700;
    font-size: 14.92px;
    text-transform: uppercase;
}
.top-menu a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.main-post {
    border: 2px solid #000000;
    padding: 45.08px;
    background: #ffffff;
    border-radius: 11.33px;
}
.main-post h1 {
    color: #000000 !important;
    font-size: 38.25px;
    margin-bottom: 11.17px;
}
.main-post h2 {
    margin-bottom: 6.91px;
    font-size: 23.38px;
    margin-top: 16.45px;
    color: #000000 !important;
    padding-bottom: 0;
}
.read-area > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    margin-top: 20.78px;
    color: #000000 !important;
    font-size: 20.33px;
}
.content-meta {
    color: #000000 !important;
    border-bottom: 1px solid #000000;
    font-size: 14.73px;
    display: flex;
    font-weight: 600;
    gap: 14.54px;
    margin-bottom: 37.64px;
    padding-bottom: 10.68px;
}
.read-area {
    color: #000000 !important;
    font-size: 16.68px;
    line-height: 1.62;
}
.author-title {
    font-style: italic;
    font-weight: 400;
    font-size: 12.96px;
    color: #555555 !important;
}
.read-area a {
    text-decoration: underline;
    color: #0056b3 !important;
    font-weight: 700;
    /* Blue link for backlinks */;
}
.read-area a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

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

/* Sidebar */
.info-panel {
    position: sticky;
    top: 40px;
    align-self: start;
}
.widget-box {
    border-radius: 12.86px;
    border: 2px solid #000000;
    padding: 24.85px;
    margin-bottom: 29.32px;
    background: #ffffff;
}
.box-title {
    letter-spacing: -0.02em;
    color: #000000 !important;
    font-size: 19.35px;
    /* H3 Size */
    font-weight: 800;
    margin-bottom: 22.49px;
    text-transform: uppercase;
    border-bottom: 2px solid #000000;
    padding-bottom: 7.07px;
}
.stream {
    list-style: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
}
.stream li {
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    padding-bottom: 9.43px;
    margin-bottom: 12.92px;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    color: #000000 !important;
    margin-bottom: 1.28px;
    display: block;
    font-weight: 600;
    text-decoration: none;
}
.stream a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.list-entry {
    padding: 12.34px 0;
    border-bottom: 1px solid #000000;
}
.list-entry:last-child {
    border-bottom: none;
}
.list-entry a {
    margin-bottom: 2.12px;
    color: #000000 !important;
    line-height: 1.42;
    font-weight: 600;
    display: block;
    text-decoration: none;
    font-size: 14.43px;
}
.list-entry a:hover {
    text-decoration: underline;
}
.entry-date {
    font-size: 12.79px;
    font-weight: 600;
    color: #000000 !important;
}

.past-entries {
    list-style: none;
}
.past-entries li {
    margin-bottom: 7.53px;
}
.past-entries a {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14.56px;
    color: #000000 !important;
}
.item-total {
    color: #000000 !important;
}

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

/* Footer */
.page-bottom {
    font-size: 13.04px;
    background: #fff;
    border-top: 2px solid #000000;
    padding: 39.47px 0;
    font-weight: 600;
    text-align: center;
    color: #000000 !important;
}
.fixed-header {
    margin-top: 11.42px;
    font-size: 13.25px;
    font-weight: 600;
}
.fixed-header a {
    color: #000000 !important;
    text-decoration: none;
}
.fixed-header a:hover {
    text-decoration: underline;
}
.fixed-header .central-wrap {
    margin: 0 8.36px;
    color: #000000 !important;
}

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