


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

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

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

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

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

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

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

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

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

/* Header */
.page-top {
    border-bottom: 2px solid #000000;
    margin-bottom: 28.68px;
    background: #ffffff;
    padding: 19.63px 0;
}
.page-top .wrapper {
    gap: 13.16px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    display: flex !important;
}
.wordmark {
    letter-spacing: -0.49px;
    text-transform: uppercase;
    font-weight: 800;
    text-decoration: none;
    font-size: 25.33px;
    color: #000000 !important;
}
.nav-bar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 22.13px;
}
.nav-bar a {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.15px;
    color: #000000 !important;
}
.nav-bar a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.primary-content {
    border-radius: 10.84px;
    border: 2px solid #000000;
    padding: 46.82px;
    background: #ffffff;
}
.primary-content h1 {
    margin-bottom: 9.98px;
    font-size: 37.65px;
    color: #000000 !important;
}
.primary-content h2 {
    margin-bottom: 5.64px;
    color: #000000 !important;
    padding-bottom: 0;
    font-size: 24.82px;
    margin-top: 15.53px;
}
.main-text > h2:first-of-type {
    margin-top: 0 !important;
}
.primary-content h3 {
    font-size: 19.27px;
    color: #000000 !important;
    margin-top: 21.7px;
}
.post-info {
    font-size: 14.85px;
    margin-bottom: 39.37px;
    padding-bottom: 7.16px;
    display: flex;
    color: #000000 !important;
    font-weight: 600;
    border-bottom: 1px solid #000000;
    gap: 13.96px;
}
.main-text {
    font-size: 16.89px;
    color: #000000 !important;
    line-height: 1.59;
}
.author-title {
    font-size: 12.61px;
    color: #555555 !important;
    font-style: italic;
    font-weight: 400;
}
.main-text a {
    text-decoration: underline;
    color: #0056b3 !important;
    font-weight: 700;
    /* Blue link for backlinks */;
}
.main-text a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

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

/* Sidebar */
.rail {
    top: 40px;
    align-self: start;
    position: sticky;
}
.panel-item {
    background: #ffffff;
    border-radius: 13.75px;
    margin-bottom: 28.96px;
    border: 2px solid #000000;
    padding: 26.03px;
}
.module-head {
    font-size: 19.56px;
    /* H3 Size */
    font-weight: 800;
    text-transform: uppercase;
    color: #000000 !important;
    padding-bottom: 10.26px;
    letter-spacing: -0.02em;
    margin-bottom: 18.23px;
    border-bottom: 2px solid #000000;
}
.stream {
    list-style: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
}
.stream li {
    margin-bottom: 8.05px;
    position: relative;
    padding-bottom: 7.09px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    font-weight: 600;
    display: block;
    color: #000000 !important;
    text-decoration: none;
    margin-bottom: 0px;
}
.stream a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

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

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

.term-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7.63px;
}
.label-item {
    display: inline-block;
    font-size: 13.27px;
    padding: 6.45px 11.75px;
    background: #ffffff;
    font-weight: 600;
    border: 2px solid #000000;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 7.34px;
    color: #000000 !important;
}
.label-item:hover {
    transform: translateY(-1px);
    color: #ffffff !important;
    background: #000000;
}

/* Footer */
.end-section {
    border-top: 2px solid #000000;
    text-align: center;
    font-size: 14.08px;
    padding: 42.99px 0;
    font-weight: 600;
    color: #000000 !important;
    background: #fff;
}
.main-dock {
    font-weight: 600;
    font-size: 13.08px;
    margin-top: 14.5px;
}
.main-dock a {
    text-decoration: none;
    color: #000000 !important;
}
.main-dock a:hover {
    text-decoration: underline;
}
.main-dock .fluid-row {
    margin: 0 7.98px;
    color: #000000 !important;
}

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