


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

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

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

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

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

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

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

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

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

/* Header */
.main-header {
    margin-bottom: 31.78px;
    background: #ffffff;
    padding: 19.6px 0;
    border-bottom: 2px solid #000000;
}
.main-header .wrapper {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 17.14px !important;
    display: flex !important;
    justify-content: flex-start !important;
}
.brand-link {
    color: #000000 !important;
    font-size: 26.54px;
    font-weight: 800;
    letter-spacing: -0.51px;
    text-decoration: none;
    text-transform: uppercase;
}
.top-menu {
    flex-wrap: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 24.93px;
}
.top-menu a {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.81px;
    color: #000000 !important;
}
.top-menu a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.lead-article {
    border-radius: 10.72px;
    padding: 50.66px;
    background: #ffffff;
    border: 2px solid #000000;
}
.lead-article h1 {
    font-size: 37.82px;
    margin-bottom: 11.31px;
    color: #000000 !important;
}
.lead-article h2 {
    margin-bottom: 10px;
    margin-top: 14.6px;
    padding-bottom: 0;
    font-size: 23.97px;
    color: #000000 !important;
}
.content-area > h2:first-of-type {
    margin-top: 0 !important;
}
.lead-article h3 {
    font-size: 19.68px;
    color: #000000 !important;
    margin-top: 17.1px;
}
.pub-info {
    border-bottom: 1px solid #000000;
    font-weight: 600;
    gap: 16.57px;
    color: #000000 !important;
    padding-bottom: 11.95px;
    font-size: 13.75px;
    margin-bottom: 42px;
    display: flex;
}
.content-area {
    font-size: 17.06px;
    line-height: 1.56;
    color: #000000 !important;
}
.author-title {
    color: #555555 !important;
    font-size: 12.81px;
    font-style: italic;
    font-weight: 400;
}
.content-area a {
    font-weight: 700;
    /* Blue link for backlinks */;
    text-decoration: underline;
    color: #0056b3 !important;
}
.content-area a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

/* Internal Backlink / Related Topic Box */
.page-stack {
    background: #ffffff;
    border-radius: 8.7px;
    padding: 13.14px;
    color: #000000 !important;
    font-style: italic;
    border: 2px solid #000000;
    margin-top: 31.5px;
}
.page-stack a {
    text-decoration: underline;
    font-weight: 700;
}

/* Sidebar */
.rail {
    position: sticky;
    align-self: start;
    top: 40px;
}
.aside-box {
    margin-bottom: 30.87px;
    background: #ffffff;
    border-radius: 11.37px;
    border: 2px solid #000000;
    padding: 26.12px;
}
.panel-title {
    padding-bottom: 9.69px;
    color: #000000 !important;
    text-transform: uppercase;
    margin-bottom: 18.22px;
    letter-spacing: -0.02em;
    font-size: 19.09px;
    border-bottom: 2px solid #000000;
    /* H3 Size */
    font-weight: 800;
}
.updates-list {
    margin: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}
.updates-list li {
    position: relative;
    padding-bottom: 10.26px;
    margin-bottom: 9.04px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.updates-list li:last-child {
    border: none !important;
}
.updates-list a {
    color: #000000 !important;
    display: block;
    text-decoration: none;
    margin-bottom: 4.14px;
    font-weight: 600;
}
.updates-list a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

/* Latest Posts (for SSI included content) */
.article-link {
    padding: 14.63px 0;
    border-bottom: 1px solid #000000;
}
.article-link:last-child {
    border-bottom: none;
}
.article-link a {
    font-size: 14.09px;
    font-weight: 600;
    margin-bottom: 7.55px;
    text-decoration: none;
    line-height: 1.35;
    display: block;
    color: #000000 !important;
}
.article-link a:hover {
    text-decoration: underline;
}
.created-at {
    font-size: 11.53px;
    font-weight: 600;
    color: #000000 !important;
}

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

.topic-list {
    flex-wrap: wrap;
    display: flex;
    gap: 8.76px;
}
.topic-chip {
    color: #000000 !important;
    padding: 3.6px 12.53px;
    background: #ffffff;
    display: inline-block;
    font-size: 12.19px;
    border: 2px solid #000000;
    border-radius: 7.97px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}
.topic-chip:hover {
    background: #000000;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Footer */
.footer-bar {
    border-top: 2px solid #000000;
    font-size: 13.69px;
    font-weight: 600;
    text-align: center;
    padding: 42.41px 0;
    background: #fff;
    color: #000000 !important;
}
.inner-stack {
    font-weight: 600;
    margin-top: 13.84px;
    font-size: 12.06px;
}
.inner-stack a {
    text-decoration: none;
    color: #000000 !important;
}
.inner-stack a:hover {
    text-decoration: underline;
}
.inner-stack .lower-panel {
    color: #000000 !important;
    margin: 0 7.59px;
}

/* Responsive */
@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
    .rail {
    position: static;
}
    .lead-article h1 {
    font-size: 31.12px;
}
}
