


:root {
    --color-accent: #000000;
    --color-muted: #000000;
    --spacing-container: 1200px;
    --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;
}

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

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

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

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

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

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

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

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

/* Header */
.main-header {
    padding: 20.21px 0;
    border-bottom: 2px solid #000000;
    margin-bottom: 31.82px;
    background: #ffffff;
}
.main-header .wrapper {
    gap: 17.39px !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    display: flex !important;
    flex-wrap: nowrap !important;
}
.brand-mark {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #000000 !important;
    text-decoration: none;
    font-size: 26.68px;
}
.main-menu {
    display: flex !important;
    gap: 24.41px;
    flex-wrap: nowrap !important;
    align-items: center !important;
}
.main-menu a {
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    color: #000000 !important;
    text-transform: uppercase;
}
.main-menu a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.hero-post {
    background: #ffffff;
    border: 2px solid #000000;
    padding: 45.26px;
    border-radius: 13.78px;
}
.hero-post h1 {
    margin-bottom: 10.26px;
    font-size: 37.42px;
    color: #000000 !important;
}
.hero-post h2 {
    color: #000000 !important;
    padding-bottom: 0;
    margin-top: 14.97px;
    font-size: 24.92px;
    margin-bottom: 10.39px;
}
.main-text > h2:first-of-type {
    margin-top: 0 !important;
}
.hero-post h3 {
    font-size: 20.11px;
    color: #000000 !important;
    margin-top: 19.73px;
}
.content-meta {
    font-size: 13.09px;
    font-weight: 600;
    border-bottom: 1px solid #000000;
    margin-bottom: 38.06px;
    display: flex;
    gap: 17.17px;
    padding-bottom: 7.14px;
    color: #000000 !important;
}
.main-text {
    color: #000000 !important;
    line-height: 1.62;
    font-size: 17.19px;
}
.author-title {
    font-size: 11.32px;
    font-weight: 400;
    color: #555555 !important;
    font-style: italic;
}
.main-text a {
    /* Blue link for backlinks */;
    text-decoration: underline;
    font-weight: 700;
    color: #0056b3 !important;
}
.main-text a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

/* Internal Backlink / Related Topic Box */
.direct-strip {
    margin-top: 28.96px;
    font-style: italic;
    background: #ffffff;
    border-radius: 8.57px;
    border: 2px solid #000000;
    padding: 16.32px;
    color: #000000 !important;
}
.direct-strip a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.side-panel {
    position: sticky;
    align-self: start;
    top: 40px;
}
.side-block {
    padding: 24.52px;
    background: #ffffff;
    border: 2px solid #000000;
    margin-bottom: 31.19px;
    border-radius: 12.13px;
}
.panel-title {
    letter-spacing: -0.02em;
    /* H3 Size */
    font-weight: 800;
    font-size: 19.93px;
    color: #000000 !important;
    text-transform: uppercase;
    margin-bottom: 17.65px;
    border-bottom: 2px solid #000000;
    padding-bottom: 9.78px;
}
.fresh-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.fresh-list li {
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    position: relative;
    padding-bottom: 8.67px;
    margin-bottom: 8.78px;
}
.fresh-list li:last-child {
    border: none !important;
}
.fresh-list a {
    font-weight: 600;
    text-decoration: none;
    color: #000000 !important;
    margin-bottom: 0px;
    display: block;
}
.fresh-list a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.content-row {
    padding: 13.89px 0;
    border-bottom: 1px solid #000000;
}
.content-row:last-child {
    border-bottom: none;
}
.content-row a {
    font-weight: 600;
    font-size: 14.26px;
    margin-bottom: 3.83px;
    color: #000000 !important;
    line-height: 1.35;
    text-decoration: none;
    display: block;
}
.content-row a:hover {
    text-decoration: underline;
}
.created-at {
    font-weight: 600;
    font-size: 12.41px;
    color: #000000 !important;
}

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

.chip-group {
    flex-wrap: wrap;
    gap: 8.77px;
    display: flex;
}
.chip {
    background: #ffffff;
    transition: all 0.2s ease;
    border: 2px solid #000000;
    text-decoration: none;
    font-size: 13.7px;
    color: #000000 !important;
    font-weight: 600;
    display: inline-block;
    padding: 3.15px 11.92px;
    border-radius: 9.85px;
}
.chip:hover {
    transform: translateY(-1px);
    background: #000000;
    color: #ffffff !important;
}

/* Footer */
.page-bottom {
    text-align: center;
    font-size: 14.94px;
    padding: 38.12px 0;
    border-top: 2px solid #000000;
    background: #fff;
    color: #000000 !important;
    font-weight: 600;
}
.direct-panel {
    margin-top: 12.65px;
    font-weight: 600;
    font-size: 13.04px;
}
.direct-panel a {
    color: #000000 !important;
    text-decoration: none;
}
.direct-panel a:hover {
    text-decoration: underline;
}
.direct-panel .page-col {
    margin: 0 8.11px;
    color: #000000 !important;
}

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