


:root {
    --spacing-container: 1200px;
    --color-accent: #000000;
    /* No gray, only black */
    --color-border: #000000;
    --color-text: #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-light: #000000;
}

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

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

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

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

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

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

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

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

/* Header */
.top-bar {
    background: #ffffff;
    margin-bottom: 28.86px;
    padding: 18.1px 0;
    border-bottom: 2px solid #000000;
}
.top-bar .inner {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 17.62px !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
    display: flex !important;
}
.identity {
    font-size: 26.89px;
    color: #000000 !important;
    letter-spacing: -0.49px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 800;
}
.top-menu {
    flex-wrap: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 22.27px;
}
.top-menu a {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.92px;
    text-transform: uppercase;
}
.top-menu a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.main-post {
    border: 2px solid #000000;
    border-radius: 12.1px;
    background: #ffffff;
    padding: 48.98px;
}
.main-post h1 {
    color: #000000 !important;
    font-size: 38.85px;
    margin-bottom: 12.6px;
}
.main-post h2 {
    margin-bottom: 7.19px;
    margin-top: 14.24px;
    padding-bottom: 0;
    color: #000000 !important;
    font-size: 23.51px;
}
.main-text > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    margin-top: 17.51px;
    color: #000000 !important;
    font-size: 20.31px;
}
.byline {
    border-bottom: 1px solid #000000;
    font-weight: 600;
    padding-bottom: 7.53px;
    margin-bottom: 41.19px;
    display: flex;
    gap: 14.69px;
    font-size: 14.34px;
    color: #000000 !important;
}
.main-text {
    color: #000000 !important;
    font-size: 16.98px;
    line-height: 1.58;
}
.author-title {
    color: #555555 !important;
    font-style: italic;
    font-size: 12.39px;
    font-weight: 400;
}
.main-text a {
    text-decoration: underline;
    /* Blue link for backlinks */;
    font-weight: 700;
    color: #0056b3 !important;
}
.main-text a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.main-rail {
    background: #ffffff;
    border: 2px solid #000000;
    font-style: italic;
    margin-top: 30.11px;
    padding: 15.9px;
    color: #000000 !important;
    border-radius: 9.86px;
}
.main-rail a {
    text-decoration: underline;
    font-weight: 700;
}

/* Sidebar */
.side-panel {
    top: 40px;
    align-self: start;
    position: sticky;
}
.panel-item {
    margin-bottom: 29.69px;
    padding: 25.39px;
    background: #ffffff;
    border-radius: 13.01px;
    border: 2px solid #000000;
}
.panel-title {
    font-size: 19.99px;
    text-transform: uppercase;
    /* H3 Size */
    font-weight: 800;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #000000;
    color: #000000 !important;
    margin-bottom: 19.93px;
    padding-bottom: 12.58px;
}
.latest-entries {
    margin: 0 !important;
    list-style: none !important;
    padding-left: 0 !important;
}
.latest-entries li {
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    padding-bottom: 11.16px;
    margin-bottom: 10.3px;
    position: relative;
}
.latest-entries li:last-child {
    border: none !important;
}
.latest-entries a {
    text-decoration: none;
    color: #000000 !important;
    display: block;
    margin-bottom: 0px;
    font-weight: 600;
}
.latest-entries a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.entry-row {
    padding: 12.27px 0;
    border-bottom: 1px solid #000000;
}
.entry-row:last-child {
    border-bottom: none;
}
.entry-row a {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6.13px;
    display: block;
    font-size: 14.54px;
}
.entry-row a:hover {
    text-decoration: underline;
}
.when {
    font-size: 11.11px;
    color: #000000 !important;
    font-weight: 600;
}

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

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

/* Footer */
.end-section {
    color: #000000 !important;
    font-weight: 600;
    padding: 40.41px 0;
    text-align: center;
    background: #fff;
    border-top: 2px solid #000000;
    font-size: 13.13px;
}
.custom-port {
    font-weight: 600;
    margin-top: 9.04px;
    font-size: 13.23px;
}
.custom-port a {
    color: #000000 !important;
    text-decoration: none;
}
.custom-port a:hover {
    text-decoration: underline;
}
.custom-port .custom-area {
    margin: 0 5.9px;
    color: #000000 !important;
}

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