/* style.css */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --alert-red: #CC0000;
    --safe-green: #A8CABA;
    --warm-grey: #E0E0E0;
    --font-heading: Georgia, serif;
    --font-body: 'Open Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #121212;
        --text-color: #E0E0E0;
        --alert-red: #CC0000;
        --safe-green: #2E5C47;
        --warm-grey: #444444;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Zero Animations */
    animation: none !important;
    transition: none !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    color: var(--alert-red);
    text-decoration: underline;
}

header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--warm-grey);
    margin-bottom: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.disclaimer {
    background-color: var(--alert-red);
    color: white;
    padding: 1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.triage-red {
    background-color: var(--alert-red);
    color: white;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    border: 2px solid darkred;
}

.triage-green {
    background-color: var(--safe-green);
    color: #111;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    border: 2px solid darkgreen;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--alert-red);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
}

.hero {
    text-align: center;
    padding: 3rem 0;
}

.symptom-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .symptom-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .layout {
        grid-template-columns: 3fr 300px;
    }
}

.ad-slot-300x250 {
    width: 300px;
    height: 250px;
    background-color: var(--warm-grey);
    margin: 0 auto 2rem;
    /* CLS Armor */
    min-height: 250px;
}

.ad-slot-infeed {
    width: 100%;
    min-height: 100px;
    background-color: var(--warm-grey);
    margin: 2rem 0;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

footer {
    padding: 2rem 0;
    border-top: 1px solid var(--warm-grey);
    margin-top: 3rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.reading-time {
    font-style: italic;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
    display: inline-block;
}