


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

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

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

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

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

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

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

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

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

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

/* Header */
.page-top {
    padding: 20.86px 0;
    margin-bottom: 27.99px;
    background: #ffffff;
    border-bottom: 2px solid #000000;
}
.page-top .page-wrap {
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 16.6px !important;
    align-items: flex-start !important;
    flex-direction: column !important;
}
.home-brand {
    text-decoration: none;
    font-weight: 800;
    color: #000000 !important;
    font-size: 25.74px;
    letter-spacing: -0.51px;
    text-transform: uppercase;
}
.main-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 24.42px;
    align-items: center !important;
}
.main-menu a {
    font-weight: 700;
    color: #000000 !important;
    text-decoration: none;
    font-size: 13.93px;
    text-transform: uppercase;
}
.main-menu a:hover {
    text-decoration: none;
    opacity: 0.7;
}

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

/* Mega Article */
.hero-post {
    border-radius: 10.02px;
    padding: 47.11px;
    border: 2px solid #000000;
    background: #ffffff;
}
.hero-post h1 {
    color: #000000 !important;
    font-size: 38.84px;
    margin-bottom: 14.24px;
}
.hero-post h2 {
    font-size: 24.77px;
    margin-bottom: 9.71px;
    padding-bottom: 0;
    margin-top: 13.55px;
    color: #000000 !important;
}
.entry-text > h2:first-of-type {
    margin-top: 0 !important;
}
.hero-post h3 {
    font-size: 19.76px;
    color: #000000 !important;
    margin-top: 21.1px;
}
.date-line {
    display: flex;
    padding-bottom: 12.28px;
    color: #000000 !important;
    gap: 12.67px;
    font-weight: 600;
    margin-bottom: 41.87px;
    font-size: 14.1px;
    border-bottom: 1px solid #000000;
}
.entry-text {
    color: #000000 !important;
    font-size: 16.97px;
    line-height: 1.57;
}
.author-title {
    font-size: 12.32px;
    font-weight: 400;
    color: #555555 !important;
    font-style: italic;
}
.entry-text a {
    text-decoration: underline;
    /* Blue link for backlinks */;
    color: #0056b3 !important;
    font-weight: 700;
}
.entry-text a:hover {
    text-decoration: none;
    color: #003d82 !important;
}

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

/* Sidebar */
.side-panel {
    position: sticky;
    align-self: start;
    top: 40px;
}
.module {
    border-radius: 12.74px;
    margin-bottom: 32.01px;
    border: 2px solid #000000;
    padding: 25.34px;
    background: #ffffff;
}
.panel-title {
    padding-bottom: 10.69px;
    letter-spacing: -0.02em;
    font-size: 19.58px;
    color: #000000 !important;
    text-transform: uppercase;
    margin-bottom: 21.68px;
    border-bottom: 2px solid #000000;
    /* H3 Size */
    font-weight: 800;
}
.updates-list {
    list-style: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
}
.updates-list li {
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    position: relative;
    margin-bottom: 7.68px;
    padding-bottom: 9.07px;
}
.updates-list li:last-child {
    border: none !important;
}
.updates-list a {
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 4.6px;
    display: block;
    color: #000000 !important;
}
.updates-list a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

/* Latest Posts (for SSI included content) */
.article-link {
    padding: 12.95px 0;
    border-bottom: 1px solid #000000;
}
.article-link:last-child {
    border-bottom: none;
}
.article-link a {
    color: #000000 !important;
    margin-bottom: 7.66px;
    text-decoration: none;
    font-size: 14.14px;
    line-height: 1.42;
    font-weight: 600;
    display: block;
}
.article-link a:hover {
    text-decoration: underline;
}
.date-label {
    font-weight: 600;
    color: #000000 !important;
    font-size: 11.49px;
}

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

.keyword-wrap {
    display: flex;
    gap: 11.02px;
    flex-wrap: wrap;
}
.chip {
    background: #ffffff;
    color: #000000 !important;
    display: inline-block;
    font-size: 12.54px;
    transition: all 0.2s ease;
    font-weight: 600;
    padding: 6.31px 13.88px;
    border-radius: 8.4px;
    text-decoration: none;
    border: 2px solid #000000;
}
.chip:hover {
    background: #000000;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Footer */
.footer-bar {
    padding: 38.98px 0;
    font-weight: 600;
    border-top: 2px solid #000000;
    text-align: center;
    background: #fff;
    font-size: 14.16px;
    color: #000000 !important;
}
.custom-zone {
    margin-top: 14.31px;
    font-weight: 600;
    font-size: 12.5px;
}
.custom-zone a {
    text-decoration: none;
    color: #000000 !important;
}
.custom-zone a:hover {
    text-decoration: underline;
}
.custom-zone .shared-section {
    margin: 0 10.97px;
    color: #000000 !important;
}

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