


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

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

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

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

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

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

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

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

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

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

/* Header */
.head-section {
    border-bottom: 2px solid #000000;
    margin-bottom: 28.26px;
    padding: 22.21px 0;
    background: #ffffff;
}
.head-section .wrapper {
    align-items: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16.43px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
}
.logo-text {
    letter-spacing: -0.5px;
    font-size: 25.81px;
    font-weight: 800;
    color: #000000 !important;
    text-decoration: none;
    text-transform: uppercase;
}
.primary-nav {
    gap: 23.35px;
    align-items: center !important;
    flex-wrap: nowrap !important;
    display: flex !important;
}
.primary-nav a {
    text-decoration: none;
    color: #000000 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14.08px;
}
.primary-nav a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.main-post {
    background: #ffffff;
    padding: 48.83px;
    border: 2px solid #000000;
    border-radius: 12.48px;
}
.main-post h1 {
    margin-bottom: 14.49px;
    font-size: 37.55px;
    color: #000000 !important;
}
.main-post h2 {
    font-size: 24.81px;
    color: #000000 !important;
    margin-bottom: 8.32px;
    margin-top: 15.44px;
    padding-bottom: 0;
}
.body-copy > h2:first-of-type {
    margin-top: 0 !important;
}
.main-post h3 {
    font-size: 19.75px;
    color: #000000 !important;
    margin-top: 17.6px;
}
.post-info {
    display: flex;
    font-size: 14.02px;
    padding-bottom: 9.54px;
    margin-bottom: 40.06px;
    font-weight: 600;
    gap: 14.73px;
    color: #000000 !important;
    border-bottom: 1px solid #000000;
}
.body-copy {
    color: #000000 !important;
    line-height: 1.63;
    font-size: 16.27px;
}
.author-title {
    font-style: italic;
    color: #555555 !important;
    font-size: 12.13px;
    font-weight: 400;
}
.body-copy a {
    font-weight: 700;
    color: #0056b3 !important;
    text-decoration: underline;
    /* Blue link for backlinks */;
}
.body-copy a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

/* Internal Backlink / Related Topic Box */
.anchor-box {
    background: #ffffff;
    padding: 17.96px;
    margin-top: 27.15px;
    color: #000000 !important;
    border-radius: 8.89px;
    font-style: italic;
    border: 2px solid #000000;
}
.anchor-box a {
    font-weight: 700;
    text-decoration: underline;
}

/* Sidebar */
.rail {
    align-self: start;
    top: 40px;
    position: sticky;
}
.module {
    padding: 24.72px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 10.54px;
    margin-bottom: 27.1px;
}
.panel-title {
    font-size: 19.93px;
    /* H3 Size */
    font-weight: 800;
    letter-spacing: -0.02em;
    padding-bottom: 9.5px;
    border-bottom: 2px solid #000000;
    margin-bottom: 21.2px;
    color: #000000 !important;
    text-transform: uppercase;
}
.feed-list {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.feed-list li {
    margin-bottom: 10.83px;
    padding-bottom: 11.73px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
}
.feed-list li:last-child {
    border: none !important;
}
.feed-list a {
    display: block;
    color: #000000 !important;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.42px;
}
.feed-list a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.feed-item {
    border-bottom: 1px solid #000000;
    padding: 13.02px 0;
}
.feed-item:last-child {
    border-bottom: none;
}
.feed-item a {
    line-height: 1.35;
    display: block;
    color: #000000 !important;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 6.8px;
    font-size: 13.76px;
}
.feed-item a:hover {
    text-decoration: underline;
}
.pub-date {
    font-weight: 600;
    color: #000000 !important;
    font-size: 12.05px;
}

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

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

/* Footer */
.ground {
    background: #fff;
    border-top: 2px solid #000000;
    padding: 39.47px 0;
    font-weight: 600;
    font-size: 13.35px;
    text-align: center;
    color: #000000 !important;
}
.upper-item {
    font-weight: 600;
    margin-top: 13px;
    font-size: 13.11px;
}
.upper-item a {
    text-decoration: none;
    color: #000000 !important;
}
.upper-item a:hover {
    text-decoration: underline;
}
.upper-item .inner-block {
    margin: 0 6.78px;
    color: #000000 !important;
}

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