:root {
    --bg: #0a0a0a;
    --text: #e0e0e0;
    --dim: #707070;
    --border: #1a1a1a;
    --accent: #d32f2f;
    --quote-bg: #121212;
    --card-bg: #0d0d0d;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    line-height: 1.6;
    padding: 0 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Header Styles */
header {
    margin-bottom: 60px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.brand {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

.report-number {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--dim);
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Article Grid - Binario Style */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .article-grid {
        grid-template-columns: 1fr;
    }

    .hero-title h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 28px;
    }
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.article-card:hover {
    border-color: #333;
}

.article-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.article-thumb {
    width: 100%;
    aspect-ratio: 2.35 / 1;
    overflow: hidden;
    background: #111;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-thumb img {
    transform: scale(1.03);
}

.article-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 11px;
    letter-spacing: 2px;
}

.article-body {
    padding: 16px 20px 20px;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .article-title {
    color: var(--accent);
}

.article-summary {
    font-size: 13px;
    color: var(--dim);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Single Page Styles */
h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #fff;
}

.meta {
    font-size: 13px;
    color: var(--dim);
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

/* Legacy Entry Styles (for single pages) */
section {
    margin-bottom: 60px;
}

.section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--dim);
    margin-bottom: 30px;
    display: block;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.entry {
    margin-bottom: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.entry-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    background: #111;
    border-bottom: 1px solid var(--border);
}

.entry-content {
    padding: 30px;
}

.entry h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
}

.entry p {
    margin-bottom: 18px;
    font-size: 15px;
    color: #aaa;
    line-height: 1.6;
}

.entry ul {
    list-style: none;
    margin-bottom: 18px;
}

.entry li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #bbb;
}

.entry li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

blockquote {
    background: var(--quote-bg);
    padding: 20px;
    border-left: 1px solid var(--border);
    font-size: 13px;
    color: var(--dim);
    margin: 24px 0;
}

blockquote a {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

blockquote a:hover {
    text-decoration: underline;
}

/* Content area */
.content ul,
.content ol {
    margin-left: 18px;
    margin-bottom: 18px;
}

.content li {
    margin-bottom: 8px;
}

.final-summary {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.final-summary h3 {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

/* Footer */
footer {
    margin-top: 80px;
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--dim);
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}