:root {
    --color-background: #ffffff;
    --color-text: #1a1a1a;
    --color-primary: #cc0000; /* YouTube Red */
    --color-secondary-text: #555555;
    --color-border: #dddddd; /* Slightly darker border for contrast */
    --font-family-serif: 'Times New Roman', Times, Baskerville, Georgia, serif;
    --font-family-sans: 'Arial', 'Helvetica', sans-serif;
    --content-width: 90%;
    --padding-unit: 1rem;
}

/* Default Dark Mode Detection via CSS if JS fails or before JS loads */
@media (prefers-color-scheme: dark) {
    :root:not(.light-mode) {
        --color-background: #121212;
        --color-text: #e0e0e0;
        --color-secondary-text: #aaaaaa;
        --color-border: #333333;
    }
}

/* Manual Dark Mode override applied via JS class */
.dark-mode {
    --color-background: #121212;
    --color-text: #e0e0e0;
    --color-secondary-text: #aaaaaa;
    --color-border: #333333;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-serif); /* Switch body to Serif for classic newspaper style */
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-unit);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background-color: var(--color-background);
    z-index: 10;
}

.logo {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-text);
    font-family: var(--font-family-serif);
}

.logo span {
    color: var(--color-primary);
}

.menu-icon, .theme-toggle {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    min-height: 44px;
    min-width: 44px;
}

main {
    max-width: 700px;
    width: var(--content-width);
    margin: 0 auto;
    padding-bottom: 2rem;
}

.article-header h1 {
    font-family: var(--font-family-serif);
    font-size: 2.5rem; /* Make H1 bolder/bigger */
    line-height: 1.1;
    font-weight: 800; /* Add weight for headline impact */
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.metadata {
    font-family: var(--font-family-sans); /* Use sans-serif for metadata/byline */
    font-size: 0.8rem;
    color: var(--color-secondary-text);
    margin-bottom: var(--padding-unit);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}



article p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

h2 {
    font-family: var(--font-family-serif); /* Ensure H2 is also strong serif */
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border); /* Subtle underline for section header */
    padding-bottom: 0.2rem;
}

blockquote {
    margin: 2rem 0;
    padding: 0 0 0 1.5rem; /* Reduced vertical padding, shifted focus to left border */
    border-left: 2px solid var(--color-secondary-text); /* Thinner, gray border for formality */
    background-color: transparent; /* Remove background color */
    font-style: italic;
    font-size: 1.05rem;
    border-radius: 0;
}

blockquote p {
    margin: 0.5rem 0;
    font-size: 1.05rem;
}

blockquote ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

blockquote li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-style: normal; /* Ensure list items don't inherit italic style */
}

blockquote li::before {
    content: "—";
    position: absolute;
    left: 0;
}

.score-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.score-list li {
    margin-bottom: 0.75rem;
    padding-left: 0;
    position: relative;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 0.5rem;
    font-size: 1.05rem;
}

.score-list li strong {
    font-weight: 700;
}

.score-list li:last-child {
    border-bottom: none;
}

.bottom-line {
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    background-color: rgba(0, 0, 0, 0.02);
    font-size: 1.1rem;
}

.dark-mode .bottom-line {
    background-color: rgba(255, 255, 255, 0.05);
}

.controls {
    display: flex;
    gap: 0.5rem;
}

