


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

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

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

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

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

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

/* 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, .post-body p:empty {
    display: none !important;
}
.post-body > br {
    display: none !important;
}

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

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

/* Header */
.top-bar {
    padding: 17.23px 0;
    border-bottom: 2px solid #000000;
    margin-bottom: 31.53px;
    background: #ffffff;
}
.top-bar .inner {
    align-items: flex-start !important;
    gap: 16.86px !important;
    flex-direction: column !important;
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
}
.brand-link {
    letter-spacing: -0.5px;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 25.22px;
    text-transform: uppercase;
}
.main-menu {
    align-items: center !important;
    display: flex !important;
    gap: 22.92px;
    flex-wrap: nowrap !important;
}
.main-menu a {
    text-decoration: none;
    font-weight: 700;
    color: #000000 !important;
    font-size: 13.7px;
    text-transform: uppercase;
}
.main-menu a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.main-post {
    background: #ffffff;
    border-radius: 11.65px;
    border: 2px solid #000000;
    padding: 48.11px;
}
.main-post h1 {
    margin-bottom: 9.31px;
    font-size: 38.37px;
    color: #000000 !important;
}
.main-post h2 {
    margin-top: 13px;
    color: #000000 !important;
    padding-bottom: 0;
    font-size: 23.94px;
    margin-bottom: 6.92px;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    font-size: 20.98px;
    margin-top: 19.45px;
    color: #000000 !important;
}
.post-info {
    border-bottom: 1px solid #000000;
    font-size: 14.34px;
    color: #000000 !important;
    font-weight: 600;
    padding-bottom: 10.63px;
    display: flex;
    gap: 14.3px;
    margin-bottom: 39.85px;
}
.post-body {
    line-height: 1.61;
    font-size: 17.99px;
    color: #000000 !important;
}
.author-title {
    font-weight: 400;
    color: #555555 !important;
    font-size: 12.23px;
    font-style: italic;
}
.post-body a {
    /* Blue link for backlinks */;
    color: #0056b3 !important;
    text-decoration: underline;
    font-weight: 700;
}
.post-body a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

/* Internal Backlink / Related Topic Box */
.upper-module {
    color: #000000 !important;
    padding: 14.02px;
    background: #ffffff;
    border-radius: 6.09px;
    border: 2px solid #000000;
    font-style: italic;
    margin-top: 30.99px;
}
.upper-module a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.secondary {
    align-self: start;
    position: sticky;
    top: 40px;
}
.info-card {
    border-radius: 10.55px;
    margin-bottom: 30.36px;
    padding: 25.78px;
    background: #ffffff;
    border: 2px solid #000000;
}
.box-title {
    /* H3 Size */
    font-weight: 800;
    padding-bottom: 12.18px;
    font-size: 19.34px;
    border-bottom: 2px solid #000000;
    color: #000000 !important;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 22.02px;
}
.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;
    margin-bottom: 11.28px;
    padding-bottom: 7.94px;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1.52px;
    display: block;
    color: #000000 !important;
}
.stream a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

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

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

.tag-area {
    flex-wrap: wrap;
    gap: 11.9px;
    display: flex;
}
.chip {
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 7.69px;
    border: 2px solid #000000;
    font-weight: 600;
    display: inline-block;
    background: #ffffff;
    font-size: 13.98px;
    padding: 3.95px 11.69px;
    color: #000000 !important;
}
.chip:hover {
    color: #ffffff !important;
    background: #000000;
    transform: translateY(-1px);
}

/* Footer */
.ground {
    border-top: 2px solid #000000;
    padding: 41px 0;
    font-size: 14.39px;
    text-align: center;
    color: #000000 !important;
    font-weight: 600;
    background: #fff;
}
.common-block {
    margin-top: 12.36px;
    font-size: 13.65px;
    font-weight: 600;
}
.common-block a {
    text-decoration: none;
    color: #000000 !important;
}
.common-block a:hover {
    text-decoration: underline;
}
.common-block .base-strip {
    color: #000000 !important;
    margin: 0 5.56px;
}

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