


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

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

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

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

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

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

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

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

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

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

/* Header */
.nav-wrap {
    margin-bottom: 32.24px;
    background: #ffffff;
    padding: 20.59px 0;
    border-bottom: 2px solid #000000;
}
.nav-wrap .shell {
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 12.25px !important;
    justify-content: flex-start !important;
}
.identity {
    letter-spacing: -0.51px;
    font-size: 26.15px;
    text-transform: uppercase;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 800;
}
.nav-bar {
    flex-wrap: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 22.47px;
}
.nav-bar a {
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    color: #000000 !important;
    font-size: 14.41px;
}
.nav-bar a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.main-post {
    border-radius: 12.15px;
    padding: 46.83px;
    background: #ffffff;
    border: 2px solid #000000;
}
.main-post h1 {
    font-size: 38.89px;
    color: #000000 !important;
    margin-bottom: 10.26px;
}
.main-post h2 {
    margin-top: 14.39px;
    font-size: 23.64px;
    color: #000000 !important;
    margin-bottom: 5.1px;
    padding-bottom: 0;
}
.content-area > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    color: #000000 !important;
    font-size: 20.26px;
    margin-top: 21.99px;
}
.pub-info {
    font-weight: 600;
    margin-bottom: 41.14px;
    color: #000000 !important;
    padding-bottom: 8.43px;
    border-bottom: 1px solid #000000;
    display: flex;
    gap: 12.94px;
    font-size: 13.72px;
}
.content-area {
    font-size: 17.13px;
    line-height: 1.57;
    color: #000000 !important;
}
.author-title {
    color: #555555 !important;
    font-style: italic;
    font-weight: 400;
    font-size: 11.66px;
}
.content-area a {
    /* Blue link for backlinks */;
    font-weight: 700;
    text-decoration: underline;
    color: #0056b3 !important;
}
.content-area a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

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

/* Sidebar */
.secondary {
    top: 40px;
    align-self: start;
    position: sticky;
}
.panel-item {
    margin-bottom: 31.75px;
    padding: 21.9px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 12.3px;
}
.block-heading {
    border-bottom: 2px solid #000000;
    font-size: 19.33px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 17.36px;
    /* H3 Size */
    font-weight: 800;
    color: #000000 !important;
    padding-bottom: 7.75px;
}
.latest-entries {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.latest-entries li {
    padding-bottom: 10.16px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    margin-bottom: 12.25px;
}
.latest-entries li:last-child {
    border: none !important;
}
.latest-entries a {
    font-weight: 600;
    text-decoration: none;
    display: block;
    color: #000000 !important;
    margin-bottom: 1.3px;
}
.latest-entries a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

/* Latest Posts (for SSI included content) */
.article-link {
    padding: 9.43px 0;
    border-bottom: 1px solid #000000;
}
.article-link:last-child {
    border-bottom: none;
}
.article-link a {
    font-weight: 600;
    display: block;
    color: #000000 !important;
    line-height: 1.39;
    font-size: 14.06px;
    margin-bottom: 3.79px;
    text-decoration: none;
}
.article-link a:hover {
    text-decoration: underline;
}
.entry-date {
    font-size: 12.58px;
    color: #000000 !important;
    font-weight: 600;
}

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

.label-group {
    display: flex;
    gap: 9.74px;
    flex-wrap: wrap;
}
.topic-chip {
    display: inline-block;
    color: #000000 !important;
    border-radius: 7.38px;
    background: #ffffff;
    border: 2px solid #000000;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 6.92px 15.87px;
    font-size: 13.11px;
    text-decoration: none;
}
.topic-chip:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
    background: #000000;
}

/* Footer */
.closing {
    border-top: 2px solid #000000;
    font-weight: 600;
    background: #fff;
    font-size: 14.85px;
    color: #000000 !important;
    padding: 40.82px 0;
    text-align: center;
}
.anchor-cell {
    font-weight: 600;
    font-size: 13.17px;
    margin-top: 12.72px;
}
.anchor-cell a {
    text-decoration: none;
    color: #000000 !important;
}
.anchor-cell a:hover {
    text-decoration: underline;
}
.anchor-cell .custom-dock {
    color: #000000 !important;
    margin: 0 5.25px;
}

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