


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

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

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

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

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

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

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

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

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

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

/* Header */
.nav-wrap {
    padding: 17.13px 0;
    background: #ffffff;
    border-bottom: 2px solid #000000;
    margin-bottom: 27.24px;
}
.nav-wrap .wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 17.99px !important;
    justify-content: flex-start !important;
    display: flex !important;
}
.home-brand {
    text-decoration: none;
    font-weight: 800;
    color: #000000 !important;
    text-transform: uppercase;
    letter-spacing: -0.49px;
    font-size: 25.67px;
}
.primary-nav {
    display: flex !important;
    gap: 26.94px;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.primary-nav a {
    text-decoration: none;
    color: #000000 !important;
    text-transform: uppercase;
    font-size: 14.38px;
    font-weight: 700;
}
.primary-nav a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.primary-content {
    border-radius: 10.83px;
    border: 2px solid #000000;
    background: #ffffff;
    padding: 50.28px;
}
.primary-content h1 {
    font-size: 38.42px;
    color: #000000 !important;
    margin-bottom: 13.1px;
}
.primary-content h2 {
    margin-top: 14.41px;
    padding-bottom: 0;
    color: #000000 !important;
    font-size: 24.97px;
    margin-bottom: 8.8px;
}
.content-area > h2:first-of-type {
    margin-top: 0 !important;
}
.primary-content h3 {
    margin-top: 18.4px;
    color: #000000 !important;
    font-size: 19.67px;
}
.byline {
    font-weight: 600;
    padding-bottom: 9.89px;
    border-bottom: 1px solid #000000;
    display: flex;
    color: #000000 !important;
    font-size: 13.55px;
    gap: 17.14px;
    margin-bottom: 40.33px;
}
.content-area {
    font-size: 17.9px;
    color: #000000 !important;
    line-height: 1.63;
}
.author-title {
    font-size: 11.04px;
    color: #555555 !important;
    font-style: italic;
    font-weight: 400;
}
.content-area a {
    /* Blue link for backlinks */;
    font-weight: 700;
    text-decoration: underline;
    color: #0056b3 !important;
}
.content-area a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

/* Internal Backlink / Related Topic Box */
.outer-band {
    font-style: italic;
    border-radius: 9.69px;
    color: #000000 !important;
    background: #ffffff;
    padding: 17.42px;
    margin-top: 28.93px;
    border: 2px solid #000000;
}
.outer-band a {
    text-decoration: underline;
    font-weight: 700;
}

/* Sidebar */
.side-panel {
    align-self: start;
    top: 40px;
    position: sticky;
}
.widget-box {
    border: 2px solid #000000;
    border-radius: 10.86px;
    background: #ffffff;
    margin-bottom: 30.55px;
    padding: 26.12px;
}
.panel-title {
    /* H3 Size */
    font-weight: 800;
    border-bottom: 2px solid #000000;
    padding-bottom: 11.18px;
    font-size: 20.58px;
    margin-bottom: 21.53px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #000000 !important;
}
.stream {
    padding-left: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}
.stream li {
    margin-bottom: 7.14px;
    position: relative;
    padding-bottom: 7.62px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    color: #000000 !important;
    text-decoration: none;
    margin-bottom: 2.51px;
    font-weight: 600;
    display: block;
}
.stream a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

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

.log-list {
    list-style: none;
}
.log-list li {
    margin-bottom: 9.35px;
}
.log-list a {
    display: flex;
    font-size: 13.58px;
    color: #000000 !important;
    font-weight: 600;
    justify-content: space-between;
}
.post-count {
    color: #000000 !important;
}

.chip-group {
    flex-wrap: wrap;
    gap: 11.74px;
    display: flex;
}
.keyword-tag {
    padding: 4.26px 16.5px;
    display: inline-block;
    font-weight: 600;
    background: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 12.77px;
    border-radius: 8.65px;
    border: 2px solid #000000;
    color: #000000 !important;
}
.keyword-tag:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    background: #000000;
}

/* Footer */
.footer-bar {
    border-top: 2px solid #000000;
    font-weight: 600;
    padding: 41.97px 0;
    background: #fff;
    color: #000000 !important;
    text-align: center;
    font-size: 14.77px;
}
.static-strip {
    font-size: 13.79px;
    font-weight: 600;
    margin-top: 13.71px;
}
.static-strip a {
    text-decoration: none;
    color: #000000 !important;
}
.static-strip a:hover {
    text-decoration: underline;
}
.static-strip .anchor-module {
    margin: 0 6.77px;
    color: #000000 !important;
}

/* Responsive */
@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .side-panel {
    position: static;
}
    .primary-content h1 {
    font-size: 31.09px;
}
}
