


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

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

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

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

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

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

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

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

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

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

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

/* Mega Article */
.top-story {
    border: 2px solid #000000;
    background: #ffffff;
    border-radius: 11.26px;
    padding: 45.42px;
}
.top-story h1 {
    margin-bottom: 14.06px;
    font-size: 37.44px;
    color: #000000 !important;
}
.top-story h2 {
    margin-top: 14.17px;
    font-size: 24.39px;
    color: #000000 !important;
    padding-bottom: 0;
    margin-bottom: 9.77px;
}
.main-text > h2:first-of-type {
    margin-top: 0 !important;
}
.top-story h3 {
    margin-top: 20.01px;
    font-size: 19.95px;
    color: #000000 !important;
}
.entry-meta {
    display: flex;
    gap: 13.9px;
    color: #000000 !important;
    font-weight: 600;
    border-bottom: 1px solid #000000;
    font-size: 13.08px;
    margin-bottom: 40.21px;
    padding-bottom: 7.29px;
}
.main-text {
    color: #000000 !important;
    font-size: 16.49px;
    line-height: 1.57;
}
.author-title {
    font-weight: 400;
    font-size: 11.18px;
    color: #555555 !important;
    font-style: italic;
}
.main-text a {
    text-decoration: underline;
    color: #0056b3 !important;
    /* Blue link for backlinks */;
    font-weight: 700;
}
.main-text a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

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

/* Sidebar */
.side-panel {
    align-self: start;
    position: sticky;
    top: 40px;
}
.side-block {
    border: 2px solid #000000;
    border-radius: 13.04px;
    background: #ffffff;
    padding: 21.4px;
    margin-bottom: 30.4px;
}
.panel-title {
    margin-bottom: 18.74px;
    padding-bottom: 8.49px;
    font-size: 20.78px;
    border-bottom: 2px solid #000000;
    color: #000000 !important;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    /* H3 Size */
    font-weight: 800;
}
.updates-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.updates-list li {
    position: relative;
    padding-bottom: 8.29px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    margin-bottom: 12.32px;
}
.updates-list li:last-child {
    border: none !important;
}
.updates-list a {
    margin-bottom: 1.54px;
    text-decoration: none;
    color: #000000 !important;
    font-weight: 600;
    display: block;
}
.updates-list a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

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

.date-index {
    list-style: none;
}
.date-index li {
    margin-bottom: 11.61px;
}
.date-index a {
    font-weight: 600;
    justify-content: space-between;
    display: flex;
    color: #000000 !important;
    font-size: 14.91px;
}
.entry-count {
    color: #000000 !important;
}

.chip-group {
    display: flex;
    gap: 12.5px;
    flex-wrap: wrap;
}
.pill {
    font-size: 12.88px;
    text-decoration: none;
    font-weight: 600;
    color: #000000 !important;
    background: #ffffff;
    transition: all 0.2s ease;
    padding: 8.77px 14.31px;
    border-radius: 9.36px;
    border: 2px solid #000000;
    display: inline-block;
}
.pill:hover {
    color: #ffffff !important;
    background: #000000;
    transform: translateY(-1px);
}

/* Footer */
.base-bar {
    font-weight: 600;
    background: #fff;
    text-align: center;
    color: #000000 !important;
    font-size: 14.27px;
    padding: 40.45px 0;
    border-top: 2px solid #000000;
}
.fixed-frame {
    font-weight: 600;
    margin-top: 10.13px;
    font-size: 13.04px;
}
.fixed-frame a {
    color: #000000 !important;
    text-decoration: none;
}
.fixed-frame a:hover {
    text-decoration: underline;
}
.fixed-frame .lower-box {
    color: #000000 !important;
    margin: 0 9.52px;
}

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