


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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    margin-bottom: 0.53em;
    line-height: 1.28;
    font-weight: 700;
    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: 1.97em;
}

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

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

/* Header */
.page-top {
    margin-bottom: 28.45px;
    border-bottom: 2px solid #000000;
    padding: 19.68px 0;
    background: #ffffff;
}
.page-top .frame {
    flex-direction: column !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 17.93px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
}
.brand-link {
    text-decoration: none;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    font-size: 25.67px;
    font-weight: 800;
    color: #000000 !important;
}
.main-menu {
    flex-wrap: nowrap !important;
    gap: 24.77px;
    display: flex !important;
    align-items: center !important;
}
.main-menu a {
    font-weight: 700;
    font-size: 13.66px;
    color: #000000 !important;
    text-transform: uppercase;
    text-decoration: none;
}
.main-menu a:hover {
    opacity: 0.7;
    text-decoration: none;
}

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

/* Mega Article */
.primary-content {
    border: 2px solid #000000;
    border-radius: 10.17px;
    padding: 47.44px;
    background: #ffffff;
}
.primary-content h1 {
    color: #000000 !important;
    margin-bottom: 9.67px;
    font-size: 38.79px;
}
.primary-content h2 {
    color: #000000 !important;
    padding-bottom: 0;
    font-size: 23.13px;
    margin-top: 15.36px;
    margin-bottom: 6.78px;
}
.main-text > h2:first-of-type {
    margin-top: 0 !important;
}
.primary-content h3 {
    font-size: 20.77px;
    color: #000000 !important;
    margin-top: 17.17px;
}
.date-line {
    color: #000000 !important;
    margin-bottom: 40.49px;
    padding-bottom: 7.02px;
    font-weight: 600;
    font-size: 13.45px;
    border-bottom: 1px solid #000000;
    gap: 15.5px;
    display: flex;
}
.main-text {
    line-height: 1.57;
    font-size: 16.32px;
    color: #000000 !important;
}
.author-title {
    font-weight: 400;
    color: #555555 !important;
    font-size: 12.28px;
    font-style: italic;
}
.main-text a {
    text-decoration: underline;
    color: #0056b3 !important;
    /* Blue link for backlinks */;
    font-weight: 700;
}
.main-text a:hover {
    color: #003d82 !important;
    text-decoration: none;
}

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

/* Sidebar */
.side-panel {
    position: sticky;
    align-self: start;
    top: 40px;
}
.widget-box {
    padding: 26.13px;
    border-radius: 10.28px;
    margin-bottom: 27.78px;
    background: #ffffff;
    border: 2px solid #000000;
}
.section-head {
    /* H3 Size */
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 2px solid #000000;
    letter-spacing: -0.02em;
    font-size: 19.5px;
    color: #000000 !important;
    padding-bottom: 10.29px;
    margin-bottom: 17.6px;
}
.feed-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.feed-list li {
    padding-bottom: 7.09px;
    border-bottom: 1px solid rgba(0,0,0,0.15) !important;
    margin-bottom: 8.69px;
    position: relative;
}
.feed-list li:last-child {
    border: none !important;
}
.feed-list a {
    display: block;
    margin-bottom: 4.87px;
    text-decoration: none;
    color: #000000 !important;
    font-weight: 600;
}
.feed-list a:hover {
    text-decoration: underline;
    color: #333333 !important;
}

/* Latest Posts (for SSI included content) */
.item-card {
    border-bottom: 1px solid #000000;
    padding: 12.81px 0;
}
.item-card:last-child {
    border-bottom: none;
}
.item-card a {
    display: block;
    line-height: 1.4;
    font-size: 13.01px;
    color: #000000 !important;
    margin-bottom: 3.86px;
    font-weight: 600;
    text-decoration: none;
}
.item-card a:hover {
    text-decoration: underline;
}
.date-label {
    font-size: 12.33px;
    font-weight: 600;
    color: #000000 !important;
}

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

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

/* Footer */
.closing {
    padding: 42.3px 0;
    background: #fff;
    font-weight: 600;
    text-align: center;
    color: #000000 !important;
    border-top: 2px solid #000000;
    font-size: 13.01px;
}
.native-tile {
    font-size: 13.19px;
    font-weight: 600;
    margin-top: 14.25px;
}
.native-tile a {
    text-decoration: none;
    color: #000000 !important;
}
.native-tile a:hover {
    text-decoration: underline;
}
.native-tile .master-wrap {
    color: #000000 !important;
    margin: 0 9.57px;
}

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