


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

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

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

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

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

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

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

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

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

/* Header */
.page-top {
    margin-bottom: 32.7px;
    padding: 17.31px 0;
    border-bottom: 2px solid #000000;
    background: #ffffff;
}
.page-top .frame {
    display: flex !important;
    gap: 14.25px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}
.brand-link {
    text-decoration: none;
    letter-spacing: -0.5px;
    font-weight: 800;
    color: #000000 !important;
    text-transform: uppercase;
    font-size: 26.47px;
}
.primary-nav {
    align-items: center !important;
    flex-wrap: nowrap !important;
    display: flex !important;
    gap: 25.61px;
}
.primary-nav a {
    font-weight: 700;
    color: #000000 !important;
    text-transform: uppercase;
    font-size: 13.31px;
    text-decoration: none;
}
.primary-nav a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.main-post {
    border-radius: 11.79px;
    background: #ffffff;
    border: 2px solid #000000;
    padding: 48.37px;
}
.main-post h1 {
    margin-bottom: 10.57px;
    font-size: 37.33px;
    color: #000000 !important;
}
.main-post h2 {
    margin-bottom: 5.09px;
    padding-bottom: 0;
    color: #000000 !important;
    font-size: 24.38px;
    margin-top: 16.53px;
}
.content-area > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    font-size: 20.5px;
    margin-top: 21.88px;
    color: #000000 !important;
}
.date-line {
    display: flex;
    font-weight: 600;
    margin-bottom: 38.6px;
    border-bottom: 1px solid #000000;
    gap: 16.36px;
    font-size: 14.62px;
    padding-bottom: 11.39px;
    color: #000000 !important;
}
.content-area {
    font-size: 16.84px;
    line-height: 1.64;
    color: #000000 !important;
}
.author-title {
    font-weight: 400;
    font-style: italic;
    color: #555555 !important;
    font-size: 11.08px;
}
.content-area a {
    text-decoration: underline;
    font-weight: 700;
    /* Blue link for backlinks */;
    color: #0056b3 !important;
}
.content-area a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.native-shelf {
    margin-top: 28.73px;
    border-radius: 6.09px;
    background: #ffffff;
    color: #000000 !important;
    border: 2px solid #000000;
    font-style: italic;
    padding: 17.67px;
}
.native-shelf a {
    text-decoration: underline;
    font-weight: 700;
}

/* Sidebar */
.side-panel {
    top: 40px;
    position: sticky;
    align-self: start;
}
.module {
    border: 2px solid #000000;
    background: #ffffff;
    padding: 24.87px;
    margin-bottom: 27.66px;
    border-radius: 11.06px;
}
.section-head {
    letter-spacing: -0.02em;
    color: #000000 !important;
    border-bottom: 2px solid #000000;
    text-transform: uppercase;
    padding-bottom: 7.69px;
    font-size: 20.59px;
    /* H3 Size */
    font-weight: 800;
    margin-bottom: 20.72px;
}
.latest-entries {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.latest-entries li {
    margin-bottom: 7.32px;
    position: relative;
    padding-bottom: 12.82px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.latest-entries li:last-child {
    border: none !important;
}
.latest-entries a {
    font-weight: 600;
    display: block;
    color: #000000 !important;
    text-decoration: none;
    margin-bottom: 2.47px;
}
.latest-entries a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.item-card {
    border-bottom: 1px solid #000000;
    padding: 12.24px 0;
}
.item-card:last-child {
    border-bottom: none;
}
.item-card a {
    line-height: 1.43;
    font-size: 14.67px;
    margin-bottom: 7.91px;
    display: block;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600;
}
.item-card a:hover {
    text-decoration: underline;
}
.created-at {
    font-size: 12.06px;
    color: #000000 !important;
    font-weight: 600;
}

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

.topic-list {
    flex-wrap: wrap;
    display: flex;
    gap: 10.82px;
}
.chip {
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 9.39px;
    padding: 7.21px 12.63px;
    font-weight: 600;
    background: #ffffff;
    color: #000000 !important;
    font-size: 12.42px;
    border: 2px solid #000000;
    display: inline-block;
}
.chip:hover {
    background: #000000;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Footer */
.footer-bar {
    padding: 40.22px 0;
    border-top: 2px solid #000000;
    font-size: 13.03px;
    background: #fff;
    text-align: center;
    font-weight: 600;
    color: #000000 !important;
}
.global-bar {
    font-size: 13.87px;
    font-weight: 600;
    margin-top: 10.77px;
}
.global-bar a {
    color: #000000 !important;
    text-decoration: none;
}
.global-bar a:hover {
    text-decoration: underline;
}
.global-bar .central-frame {
    margin: 0 6.32px;
    color: #000000 !important;
}

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