


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

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

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

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

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

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

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

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

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

/* Header */
.head-section {
    background: #ffffff;
    padding: 22px 0;
    border-bottom: 2px solid #000000;
    margin-bottom: 32.73px;
}
.head-section .frame {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 17.63px !important;
}
.identity {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #000000 !important;
    font-size: 26.17px;
    text-decoration: none;
}
.nav-links {
    align-items: center !important;
    display: flex !important;
    gap: 24.87px;
    flex-wrap: nowrap !important;
}
.nav-links a {
    color: #000000 !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 13.51px;
    text-transform: uppercase;
}
.nav-links a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.primary-content {
    background: #ffffff;
    border-radius: 10.94px;
    border: 2px solid #000000;
    padding: 48.53px;
}
.primary-content h1 {
    font-size: 38.12px;
    color: #000000 !important;
    margin-bottom: 12.45px;
}
.primary-content h2 {
    padding-bottom: 0;
    margin-bottom: 7.72px;
    margin-top: 14.42px;
    font-size: 23.87px;
    color: #000000 !important;
}
.post-body > h2:first-of-type {
    margin-top: 0 !important;
}
.primary-content h3 {
    color: #000000 !important;
    margin-top: 22.44px;
    font-size: 20.86px;
}
.post-info {
    padding-bottom: 10.53px;
    display: flex;
    font-size: 13.57px;
    border-bottom: 1px solid #000000;
    color: #000000 !important;
    margin-bottom: 40.7px;
    gap: 14.27px;
    font-weight: 600;
}
.post-body {
    color: #000000 !important;
    line-height: 1.59;
    font-size: 17.01px;
}
.author-title {
    font-weight: 400;
    color: #555555 !important;
    font-size: 11.92px;
    font-style: italic;
}
.post-body a {
    /* Blue link for backlinks */;
    color: #0056b3 !important;
    font-weight: 700;
    text-decoration: underline;
}
.post-body a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.upper-band {
    border: 2px solid #000000;
    padding: 12.91px;
    background: #ffffff;
    color: #000000 !important;
    margin-top: 27.94px;
    font-style: italic;
    border-radius: 8.51px;
}
.upper-band a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.secondary {
    top: 40px;
    position: sticky;
    align-self: start;
}
.widget-box {
    border: 2px solid #000000;
    padding: 24.2px;
    border-radius: 12.55px;
    background: #ffffff;
    margin-bottom: 32.33px;
}
.label {
    padding-bottom: 12.82px;
    text-transform: uppercase;
    font-size: 20.26px;
    color: #000000 !important;
    letter-spacing: -0.02em;
    /* H3 Size */
    font-weight: 800;
    margin-bottom: 17.56px;
    border-bottom: 2px solid #000000;
}
.fresh-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.fresh-list li {
    position: relative;
    margin-bottom: 9.94px;
    padding-bottom: 7.95px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.fresh-list li:last-child {
    border: none !important;
}
.fresh-list a {
    text-decoration: none;
    color: #000000 !important;
    margin-bottom: 0.66px;
    display: block;
    font-weight: 600;
}
.fresh-list a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

/* Latest Posts (for SSI included content) */
.article-link {
    padding: 9.25px 0;
    border-bottom: 1px solid #000000;
}
.article-link:last-child {
    border-bottom: none;
}
.article-link a {
    line-height: 1.41;
    font-size: 14.4px;
    display: block;
    text-decoration: none;
    margin-bottom: 2.59px;
    font-weight: 600;
    color: #000000 !important;
}
.article-link a:hover {
    text-decoration: underline;
}
.created-at {
    font-weight: 600;
    font-size: 11.27px;
    color: #000000 !important;
}

.date-index {
    list-style: none;
}
.date-index li {
    margin-bottom: 9.82px;
}
.date-index a {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    font-size: 14.14px;
    color: #000000 !important;
}
.entry-count {
    color: #000000 !important;
}

.tag-area {
    gap: 10.84px;
    flex-wrap: wrap;
    display: flex;
}
.label-item {
    font-size: 13.73px;
    border-radius: 8.81px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    color: #000000 !important;
    padding: 5.75px 15.72px;
    border: 2px solid #000000;
    background: #ffffff;
}
.label-item:hover {
    color: #ffffff !important;
    background: #000000;
    transform: translateY(-1px);
}

/* Footer */
.closing {
    text-align: center;
    padding: 37.34px 0;
    color: #000000 !important;
    font-size: 13.8px;
    border-top: 2px solid #000000;
    font-weight: 600;
    background: #fff;
}
.content-grid {
    font-weight: 600;
    font-size: 13.86px;
    margin-top: 12.66px;
}
.content-grid a {
    color: #000000 !important;
    text-decoration: none;
}
.content-grid a:hover {
    text-decoration: underline;
}
.content-grid .custom-node {
    color: #000000 !important;
    margin: 0 10.58px;
}

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