* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #0d1117;
    color: #c9d1d9;
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
}

/* === HEADER === */
header {
    background: linear-gradient(135deg, #161b22 0%, #0d1117 100%);
    border-bottom: 3px solid #c9a227;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.masthead {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.masthead a { text-decoration: none; }

.masthead h1 {
    font-family: 'Georgia', serif;
    font-size: 2.2em;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}

.masthead h1 span { color: #c9a227; }

.dateline {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95em;
    color: #8b949e;
    letter-spacing: 1px;
}

.edition-badge {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8em;
    color: #c9a227;
    border: 1px solid #c9a227;
    padding: 4px 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* === NAV BAR === */
nav {
    background: #161b22;
    padding: 10px 40px;
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #21262d;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav a {
    color: #8b949e;
    text-decoration: none;
    transition: color 0.2s;
}

nav a:hover, nav a.active { color: #c9a227; }

/* === LEAD STORY === */
.lead-story {
    padding: 40px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    border-bottom: 1px solid #21262d;
}

.lead-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid #21262d;
}

.lead-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lead-photo .photo-credit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #8b949e;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.7em;
    padding: 3px 8px;
}

.lead-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lead-text .category-tag {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75em;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.lead-text h2 {
    font-size: 2em;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 16px;
}

.lead-text .summary {
    font-size: 1.1em;
    color: #c9d1d9;
    margin-bottom: 20px;
}

.lead-text .bottom-line {
    background: #161b22;
    border-left: 3px solid #c9a227;
    padding: 16px 20px;
    font-size: 0.95em;
    color: #e6edf3;
}

.lead-text .bottom-line strong {
    color: #c9a227;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 2px;
}

/* === THREE COLUMN SECTION === */
.three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid #21262d;
}

.col-section {
    padding: 30px;
    border-right: 1px solid #21262d;
}

.col-section:last-child { border-right: none; }

.col-section .section-header {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75em;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid #21262d;
    margin-bottom: 20px;
}

.col-section h3 {
    font-size: 1.2em;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.col-section p {
    font-size: 0.95em;
    color: #c9d1d9;
    margin-bottom: 16px;
}

.col-section .item {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #21262d;
}

.col-section .item:last-child { border-bottom: none; }

.col-section .item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 12px;
    border: 1px solid #21262d;
}

.source-tag {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.7em;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === TWO COLUMN SECTION === */
.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    border-bottom: 1px solid #21262d;
}

.main-col {
    padding: 30px 40px;
    border-right: 1px solid #21262d;
}

.side-col { padding: 30px; }

.side-col .section-header {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75em;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid #21262d;
    margin-bottom: 20px;
}

/* === GAPS BOX === */
.gaps-box {
    background: #161b22;
    border: 1px solid #c9a227;
    padding: 24px;
    margin-top: 20px;
}

.gaps-box .section-header {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75em;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.gaps-box ul {
    list-style: none;
    padding: 0;
}

.gaps-box li {
    padding: 8px 0;
    border-bottom: 1px solid #21262d;
    font-size: 0.9em;
    color: #c9d1d9;
}

.gaps-box li:last-child { border-bottom: none; }

.gaps-box li::before {
    content: "? ";
    color: #c9a227;
    font-weight: bold;
}

/* === DATA STRIP === */
.data-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    background: #161b22;
    border-bottom: 1px solid #21262d;
}

.data-item {
    padding: 20px;
    text-align: center;
    border-right: 1px solid #21262d;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.data-item:last-child { border-right: none; }

.data-item .label {
    font-size: 0.7em;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.data-item .value {
    font-size: 1.4em;
    color: #ffffff;
    font-weight: 700;
}

.data-item .value.up { color: #3fb950; }
.data-item .value.down { color: #f85149; }

.data-item .change {
    font-size: 0.8em;
    margin-top: 4px;
}

.change.up { color: #3fb950; }
.change.down { color: #f85149; }

/* === SOURCES === */
.sources {
    padding: 30px 40px;
    border-bottom: 1px solid #21262d;
}

.sources .section-header {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75em;
    color: #c9a227;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.sources ol {
    columns: 2;
    column-gap: 40px;
    padding-left: 20px;
}

.sources li {
    font-size: 0.85em;
    color: #8b949e;
    padding: 4px 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.sources a {
    color: #58a6ff;
    text-decoration: none;
}

.sources a:hover { text-decoration: underline; }

/* === FOOTER === */
footer {
    padding: 30px 40px;
    text-align: center;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8em;
    color: #484f58;
    line-height: 2;
}

footer a {
    color: #58a6ff;
    text-decoration: none;
}

.disclaimer {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.85em;
    color: #484f58;
    font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 1000px) {
    .lead-story { grid-template-columns: 1fr; }
    .three-col { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .data-strip { grid-template-columns: repeat(3, 1fr); }
    .sources ol { columns: 1; }
}
