


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

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

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

a {
    color: inherit;
    text-decoration: none;
}
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;
    margin-bottom: 0.39em;
    color: #000000 !important;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

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

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

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

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

/* Header */
.nav-wrap {
    margin-bottom: 32.6px;
    padding: 19.06px 0;
    background: #ffffff;
    border-bottom: 2px solid #000000;
}
.nav-wrap .wrapper {
    flex-direction: column !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 12.77px !important;
    flex-wrap: nowrap !important;
}
.brand-link {
    color: #000000 !important;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -0.5px;
    font-weight: 800;
    font-size: 26.32px;
}
.primary-nav {
    gap: 25.25px;
    align-items: center !important;
    flex-wrap: nowrap !important;
    display: flex !important;
}
.primary-nav a {
    font-size: 14.61px;
    color: #000000 !important;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
}
.primary-nav a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.primary-content {
    background: #ffffff;
    border-radius: 13.49px;
    border: 2px solid #000000;
    padding: 45.57px;
}
.primary-content h1 {
    color: #000000 !important;
    margin-bottom: 12.83px;
    font-size: 38.43px;
}
.primary-content h2 {
    color: #000000 !important;
    font-size: 24.28px;
    margin-bottom: 6.07px;
    margin-top: 13.17px;
    padding-bottom: 0;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.primary-content h3 {
    margin-top: 22.33px;
    color: #000000 !important;
    font-size: 19.63px;
}
.post-info {
    font-size: 14.6px;
    border-bottom: 1px solid #000000;
    gap: 13.73px;
    font-weight: 600;
    padding-bottom: 11.97px;
    display: flex;
    margin-bottom: 38.88px;
    color: #000000 !important;
}
.post-body {
    line-height: 1.61;
    font-size: 17.42px;
    color: #000000 !important;
}
.author-title {
    font-weight: 400;
    font-size: 12.03px;
    font-style: italic;
    color: #555555 !important;
}
.post-body a {
    text-decoration: underline;
    /* Blue link for backlinks */;
    color: #0056b3 !important;
    font-weight: 700;
}
.post-body a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

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

/* Sidebar */
.secondary {
    align-self: start;
    position: sticky;
    top: 40px;
}
.module {
    margin-bottom: 29.89px;
    padding: 26.17px;
    border: 2px solid #000000;
    border-radius: 12.71px;
    background: #ffffff;
}
.block-heading {
    letter-spacing: -0.02em;
    border-bottom: 2px solid #000000;
    padding-bottom: 10.09px;
    color: #000000 !important;
    margin-bottom: 20.24px;
    text-transform: uppercase;
    /* H3 Size */
    font-weight: 800;
    font-size: 20.36px;
}
.stream {
    padding-left: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}
.stream li {
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    margin-bottom: 10.17px;
    position: relative;
    padding-bottom: 10.24px;
}
.stream li:last-child {
    border: none !important;
}
.stream a {
    font-weight: 600;
    display: block;
    margin-bottom: 2.05px;
    text-decoration: none;
    color: #000000 !important;
}
.stream a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.feed-item {
    padding: 14.15px 0;
    border-bottom: 1px solid #000000;
}
.feed-item:last-child {
    border-bottom: none;
}
.feed-item a {
    color: #000000 !important;
    font-size: 13.41px;
    line-height: 1.36;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 7.97px;
    display: block;
}
.feed-item a:hover {
    text-decoration: underline;
}
.when {
    color: #000000 !important;
    font-weight: 600;
    font-size: 11.89px;
}

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

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

/* Footer */
.ground {
    font-weight: 600;
    color: #000000 !important;
    background: #fff;
    padding: 38.1px 0;
    border-top: 2px solid #000000;
    text-align: center;
    font-size: 13.39px;
}
.base-card {
    margin-top: 10.56px;
    font-size: 12.81px;
    font-weight: 600;
}
.base-card a {
    color: #000000 !important;
    text-decoration: none;
}
.base-card a:hover {
    text-decoration: underline;
}
.base-card .linked-area {
    color: #000000 !important;
    margin: 0 9.35px;
}

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