


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

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

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

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

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

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

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

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

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

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

/* Header */
.nav-wrap {
    padding: 18.16px 0;
    margin-bottom: 29.6px;
    border-bottom: 2px solid #000000;
    background: #ffffff;
}
.nav-wrap .page-wrap {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 12.32px !important;
    display: flex !important;
    align-items: flex-start !important;
    flex-direction: column !important;
}
.wordmark {
    font-weight: 800;
    letter-spacing: -0.51px;
    color: #000000 !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 25.1px;
}
.nav-bar {
    gap: 22.67px;
    align-items: center !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}
.nav-bar a {
    color: #000000 !important;
    font-size: 14.18px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
}
.nav-bar a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.feature-post {
    border-radius: 13.33px;
    padding: 50.02px;
    border: 2px solid #000000;
    background: #ffffff;
}
.feature-post h1 {
    font-size: 37.88px;
    color: #000000 !important;
    margin-bottom: 14.87px;
}
.feature-post h2 {
    margin-bottom: 10px;
    font-size: 23.59px;
    margin-top: 14.92px;
    padding-bottom: 0;
    color: #000000 !important;
}
.main-text > h2:first-of-type {
    margin-top: 0 !important;
}
.feature-post h3 {
    margin-top: 17.82px;
    color: #000000 !important;
    font-size: 20.78px;
}
.date-line {
    color: #000000 !important;
    font-weight: 600;
    padding-bottom: 8.85px;
    font-size: 14.49px;
    display: flex;
    gap: 15.88px;
    margin-bottom: 37.9px;
    border-bottom: 1px solid #000000;
}
.main-text {
    color: #000000 !important;
    line-height: 1.65;
    font-size: 17.06px;
}
.shared-module {
    color: #555555 !important;
    font-weight: 400;
    font-size: 11.57px;
    font-style: italic;
}
.main-text a {
    /* Blue link for backlinks */;
    text-decoration: underline;
    font-weight: 700;
    color: #0056b3 !important;
}
.main-text a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

/* Internal Backlink / Related Topic Box */
.master-bar {
    margin-top: 29.96px;
    padding: 13.68px;
    font-style: italic;
    background: #ffffff;
    border-radius: 6.67px;
    border: 2px solid #000000;
    color: #000000 !important;
}
.master-bar a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.side-panel {
    position: sticky;
    top: 40px;
    align-self: start;
}
.panel-item {
    margin-bottom: 30.26px;
    border: 2px solid #000000;
    background: #ffffff;
    border-radius: 11.3px;
    padding: 25.12px;
}
.section-head {
    text-transform: uppercase;
    border-bottom: 2px solid #000000;
    color: #000000 !important;
    /* H3 Size */
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 19.72px;
    margin-bottom: 18.51px;
    padding-bottom: 12.7px;
}
.fresh-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.fresh-list li {
    margin-bottom: 7.73px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    position: relative;
    padding-bottom: 8.35px;
}
.fresh-list li:last-child {
    border: none !important;
}
.fresh-list a {
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin-bottom: 0.09px;
    color: #000000 !important;
}
.fresh-list a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

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

.past-entries {
    list-style: none;
}
.past-entries li {
    margin-bottom: 11.26px;
}
.past-entries a {
    font-size: 13.1px;
    justify-content: space-between;
    color: #000000 !important;
    display: flex;
    font-weight: 600;
}
.entry-count {
    color: #000000 !important;
}

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

/* Footer */
.end-section {
    font-weight: 600;
    font-size: 14.56px;
    color: #000000 !important;
    border-top: 2px solid #000000;
    text-align: center;
    padding: 37.22px 0;
    background: #fff;
}
.page-row {
    font-size: 13.54px;
    margin-top: 11.51px;
    font-weight: 600;
}
.page-row a {
    text-decoration: none;
    color: #000000 !important;
}
.page-row a:hover {
    text-decoration: underline;
}
.page-row .deep-rail {
    color: #000000 !important;
    margin: 0 7.63px;
}
.end-section .responsibility,
.end-section .legal-nav {
    color: #4b5563 !important;
}
.end-section .responsibility a,
.end-section .legal-nav a {
    color: #1f2937 !important;
    font-weight: 700;
    text-decoration: underline;
}

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