


:root {
    --color-text: #000000;
    --color-muted: #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-text-light: #000000;
    --color-accent: #000000;
    --color-bg: #ffffff;
    --spacing-container: 1200px;
}

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

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

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

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

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

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

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

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

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

/* Header */
.top-bar {
    margin-bottom: 27.65px;
    background: #ffffff;
    border-bottom: 2px solid #000000;
    padding: 17.78px 0;
}
.top-bar .wrapper {
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 17.16px !important;
    justify-content: flex-start !important;
}
.logo-text {
    text-transform: uppercase;
    color: #000000 !important;
    font-weight: 800;
    font-size: 26.41px;
    text-decoration: none;
    letter-spacing: -0.51px;
}
.main-menu {
    gap: 23.31px;
    align-items: center !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}
.main-menu a {
    text-decoration: none;
    color: #000000 !important;
    text-transform: uppercase;
    font-size: 13.65px;
    font-weight: 700;
}
.main-menu a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.main-post {
    border-radius: 11.97px;
    border: 2px solid #000000;
    padding: 45.24px;
    background: #ffffff;
}
.main-post h1 {
    font-size: 37.98px;
    margin-bottom: 11.07px;
    color: #000000 !important;
}
.main-post h2 {
    padding-bottom: 0;
    margin-bottom: 10px;
    color: #000000 !important;
    margin-top: 14.58px;
    font-size: 24.7px;
}
.entry-text > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    color: #000000 !important;
    font-size: 20.64px;
    margin-top: 20.84px;
}
.pub-info {
    font-size: 13.16px;
    display: flex;
    margin-bottom: 40.51px;
    padding-bottom: 12.85px;
    gap: 14.77px;
    font-weight: 600;
    color: #000000 !important;
    border-bottom: 1px solid #000000;
}
.entry-text {
    color: #000000 !important;
    line-height: 1.55;
    font-size: 16.25px;
}
.author-title {
    font-weight: 400;
    color: #555555 !important;
    font-size: 12.49px;
    font-style: italic;
}
.entry-text a {
    color: #0056b3 !important;
    text-decoration: underline;
    font-weight: 700;
    /* Blue link for backlinks */;
}
.entry-text a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.native-region {
    padding: 13.66px;
    border-radius: 7.45px;
    background: #ffffff;
    color: #000000 !important;
    margin-top: 27.65px;
    font-style: italic;
    border: 2px solid #000000;
}
.native-region a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.info-panel {
    position: sticky;
    top: 40px;
    align-self: start;
}
.side-block {
    border-radius: 13.08px;
    padding: 21.54px;
    border: 2px solid #000000;
    background: #ffffff;
    margin-bottom: 29.55px;
}
.panel-title {
    padding-bottom: 8.81px;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #000000;
    text-transform: uppercase;
    font-size: 20.17px;
    /* H3 Size */
    font-weight: 800;
    margin-bottom: 17.31px;
    color: #000000 !important;
}
.new-items {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.new-items li {
    padding-bottom: 8.17px;
    margin-bottom: 10.7px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.new-items li:last-child {
    border: none !important;
}
.new-items a {
    margin-bottom: 4.91px;
    text-decoration: none;
    display: block;
    font-weight: 600;
    color: #000000 !important;
}
.new-items a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.content-row {
    border-bottom: 1px solid #000000;
    padding: 13.35px 0;
}
.content-row:last-child {
    border-bottom: none;
}
.content-row a {
    color: #000000 !important;
    line-height: 1.36;
    display: block;
    font-size: 14.22px;
    text-decoration: none;
    margin-bottom: 4.64px;
    font-weight: 600;
}
.content-row a:hover {
    text-decoration: underline;
}
.entry-date {
    font-size: 11.49px;
    color: #000000 !important;
    font-weight: 600;
}

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

.term-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7.4px;
}
.pill {
    text-decoration: none;
    display: inline-block;
    color: #000000 !important;
    background: #ffffff;
    transition: all 0.2s ease;
    font-weight: 600;
    border: 2px solid #000000;
    padding: 8.89px 12.23px;
    border-radius: 8.1px;
    font-size: 12.46px;
}
.pill:hover {
    transform: translateY(-1px);
    background: #000000;
    color: #ffffff !important;
}

/* Footer */
.page-bottom {
    font-size: 14.7px;
    text-align: center;
    padding: 37.42px 0;
    color: #000000 !important;
    border-top: 2px solid #000000;
    font-weight: 600;
    background: #fff;
}
.common-region {
    margin-top: 13.35px;
    font-weight: 600;
    font-size: 13.27px;
}
.common-region a {
    color: #000000 !important;
    text-decoration: none;
}
.common-region a:hover {
    text-decoration: underline;
}
.common-region .site-col {
    color: #000000 !important;
    margin: 0 7.79px;
}

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