


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

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

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

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

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

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

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

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

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

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

/* Header */
.top-bar {
    background: #ffffff;
    margin-bottom: 32.76px;
    border-bottom: 2px solid #000000;
    padding: 21.39px 0;
}
.top-bar .inner {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 17.98px !important;
    flex-wrap: nowrap !important;
    display: flex !important;
    flex-direction: column !important;
}
.wordmark {
    color: #000000 !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 26.22px;
    text-decoration: none;
    font-weight: 800;
}
.primary-nav {
    gap: 27.9px;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.primary-nav a {
    font-weight: 700;
    color: #000000 !important;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 13.82px;
}
.primary-nav a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.lead-article {
    border-radius: 10.15px;
    padding: 46.12px;
    background: #ffffff;
    border: 2px solid #000000;
}
.lead-article h1 {
    margin-bottom: 11.18px;
    font-size: 38.73px;
    color: #000000 !important;
}
.lead-article h2 {
    padding-bottom: 0;
    margin-top: 12.1px;
    color: #000000 !important;
    margin-bottom: 8.42px;
    font-size: 24.13px;
}
.read-area > h2:first-of-type {
    margin-top: 0 !important;
}
.lead-article h3 {
    color: #000000 !important;
    margin-top: 19.06px;
    font-size: 20.19px;
}
.pub-info {
    margin-bottom: 37.79px;
    border-bottom: 1px solid #000000;
    gap: 16.91px;
    font-size: 13.12px;
    font-weight: 600;
    padding-bottom: 7.98px;
    display: flex;
    color: #000000 !important;
}
.read-area {
    color: #000000 !important;
    line-height: 1.57;
    font-size: 16.86px;
}
.author-title {
    color: #555555 !important;
    font-style: italic;
    font-size: 11.04px;
    font-weight: 400;
}
.read-area a {
    /* Blue link for backlinks */;
    text-decoration: underline;
    color: #0056b3 !important;
    font-weight: 700;
}
.read-area a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.outer-frame {
    margin-top: 30.9px;
    background: #ffffff;
    font-style: italic;
    border: 2px solid #000000;
    border-radius: 7.6px;
    padding: 13.11px;
    color: #000000 !important;
}
.outer-frame a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.side-panel {
    position: sticky;
    top: 40px;
    align-self: start;
}
.info-card {
    border: 2px solid #000000;
    border-radius: 10.74px;
    margin-bottom: 27.03px;
    background: #ffffff;
    padding: 22.7px;
}
.label {
    margin-bottom: 20.93px;
    font-size: 20.06px;
    border-bottom: 2px solid #000000;
    padding-bottom: 11.32px;
    color: #000000 !important;
    /* H3 Size */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.latest-entries {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.latest-entries li {
    margin-bottom: 10.81px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    padding-bottom: 9.63px;
}
.latest-entries li:last-child {
    border: none !important;
}
.latest-entries a {
    color: #000000 !important;
    margin-bottom: 2.49px;
    font-weight: 600;
    display: block;
    text-decoration: none;
}
.latest-entries a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

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

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

.keyword-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12.63px;
}
.label-item {
    border-radius: 8.21px;
    border: 2px solid #000000;
    display: inline-block;
    background: #ffffff;
    color: #000000 !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13.29px;
    padding: 6.5px 14.88px;
    font-weight: 600;
}
.label-item:hover {
    transform: translateY(-1px);
    color: #ffffff !important;
    background: #000000;
}

/* Footer */
.ground {
    padding: 41.54px 0;
    text-align: center;
    color: #000000 !important;
    font-weight: 600;
    border-top: 2px solid #000000;
    font-size: 13.88px;
    background: #fff;
}
.root-area {
    font-weight: 600;
    margin-top: 11.8px;
    font-size: 12.3px;
}
.root-area a {
    color: #000000 !important;
    text-decoration: none;
}
.root-area a:hover {
    text-decoration: underline;
}
.root-area .page-box {
    color: #000000 !important;
    margin: 0 5.16px;
}

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