
/* SPECTRE MASTER THEME - NATIVE BLACK (NUCLEAR OPTION) */
/* No Google Fonts - System Only */

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

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

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

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

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

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

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

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

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

/* Header */
.main-header {
    background: #ffffff;
    padding: 22.4px 0;
    border-bottom: 2px solid #000000;
    margin-bottom: 28.94px;
}
.main-header .frame {
    flex-wrap: nowrap !important;
    gap: 12.6px !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}
.identity {
    text-transform: uppercase;
    color: #000000 !important;
    font-weight: 800;
    letter-spacing: -0.49px;
    font-size: 26.12px;
    text-decoration: none;
}
.nav-links {
    gap: 25.06px;
    align-items: center !important;
    flex-wrap: nowrap !important;
    display: flex !important;
}
.nav-links a {
    color: #000000 !important;
    font-size: 13.55px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
}
.nav-links a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.main-post {
    padding: 46.88px;
    border: 2px solid #000000;
    border-radius: 11.06px;
    background: #ffffff;
}
.main-post h1 {
    margin-bottom: 10.25px;
    font-size: 37.72px;
    color: #000000 !important;
}
.main-post h2 {
    color: #000000 !important;
    font-size: 24.95px;
    padding-bottom: 0;
    margin-bottom: 8.07px;
    margin-top: 12.81px;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    font-size: 19.77px;
    margin-top: 17.9px;
    color: #000000 !important;
}
.byline {
    gap: 13.29px;
    display: flex;
    border-bottom: 1px solid #000000;
    font-weight: 600;
    margin-bottom: 38.91px;
    padding-bottom: 7.46px;
    font-size: 13.41px;
    color: #000000 !important;
}
.post-body {
    color: #000000 !important;
    line-height: 1.63;
    font-size: 16.26px;
}
.post-body a {
    color: #0056b3 !important;
    font-weight: 700;
    /* Blue link for backlinks */;
    text-decoration: underline;
}
.post-body a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

/* Internal Backlink / Related Topic Box */
.custom-area {
    padding: 17.21px;
    font-style: italic;
    border-radius: 7.03px;
    margin-top: 29.87px;
    border: 2px solid #000000;
    color: #000000 !important;
    background: #ffffff;
}
.custom-area a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.right-col {
    position: sticky;
    align-self: start;
    top: 40px;
}
.panel-item {
    margin-bottom: 31.37px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 13.13px;
    padding: 21.19px;
}
.module-head {
    padding-bottom: 7.06px;
    color: #000000 !important;
    font-size: 19.41px;
    border-bottom: 2px solid #000000;
    margin-bottom: 21.3px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    /* H3 Size */
    font-weight: 800;
}
.latest-entries {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.latest-entries li {
    position: relative;
    padding-bottom: 12.88px;
    margin-bottom: 10.26px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.latest-entries li:last-child {
    border: none !important;
}
.latest-entries a {
    text-decoration: none;
    color: #000000 !important;
    font-weight: 600;
    margin-bottom: 3.03px;
    display: block;
}
.latest-entries a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

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

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

.topic-list {
    gap: 10.62px;
    display: flex;
    flex-wrap: wrap;
}
.label-item {
    font-size: 12.65px;
    display: inline-block;
    border-radius: 8.38px;
    padding: 7.91px 11.11px;
    border: 2px solid #000000;
    background: #ffffff;
    color: #000000 !important;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}
.label-item:hover {
    transform: translateY(-1px);
    color: #ffffff !important;
    background: #000000;
}

/* Footer */
.base-bar {
    font-weight: 600;
    font-size: 14.5px;
    text-align: center;
    background: #fff;
    border-top: 2px solid #000000;
    padding: 38.88px 0;
    color: #000000 !important;
}
.linked-grid {
    font-size: 12.59px;
    font-weight: 600;
    margin-top: 13.97px;
}
.linked-grid a {
    color: #000000 !important;
    text-decoration: none;
}
.linked-grid a:hover {
    text-decoration: underline;
}
.linked-grid .outer-zone {
    color: #000000 !important;
    margin: 0 5.4px;
}

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