:root {
    --gaslit-masthead: #FAFAFA; /* Matches logo exactly */
    --gaslit-page: #FAFAFA; /* Clean white outer background */
    --gaslit-paper: #EBEBEB; /* Cool gray content paper */
    --gaslit-text: #1C1C1C;
    --gaslit-headline: #111111;
    --gaslit-red: #9C2A2A;
    --gaslit-muted: #444444;
    --gaslit-border: #D1D1D1;
}

body {
    background-color: var(--gaslit-page);
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--gaslit-text);
    line-height: 1.7;
}

/* Masthead */
.masthead {
    background-color: var(--gaslit-masthead);
    border-bottom: 3px solid var(--gaslit-red);
    padding: 1.25rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gaslit-logo {
    height: 64px;
    width: auto;
}

.tagline {
    font-family: Georgia, serif;
    font-size: 1.1rem;
    color: var(--gaslit-muted);
    font-style: italic;
    margin: 0;
}

/* Main Content Area */
.main-content {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    background-color: var(--gaslit-paper);
    border: 1px solid var(--gaslit-border);
    border-radius: 4px;
    min-height: 80vh;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.1rem;
    line-height: 1.2;
    color: var(--gaslit-headline);
    margin-bottom: 1.25rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .headline {
        font-size: 1.75rem;
    }

    .masthead {
        padding: 1rem 0;
    }

    .gaslit-logo {
        height: 40px;
    }

    .main-content {
        margin: 1rem auto;
        padding: 1.25rem 1rem;
    }
}

/* Footer */
footer {
    background-color: #1F1F1F;
    color: #ddd;
}

/* Login / Account Dropdown - Light Newspaper Style */
.btn-outline-dark {
    color: #1C1C1C;
    border-color: #1C1C1C;
}

    .btn-outline-dark:hover {
        background-color: #9C2A2A;
        color: white;
        border-color: #9C2A2A;
    }

.dropdown-menu {
    background-color: white;
    border: 1px solid #D1D1D1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 140px;
}

.dropdown-item {
    color: #1C1C1C;
    padding: 10px 20px;
    font-size: 0.95rem;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #F8F4F0;
        color: #9C2A2A;
    }

    /* Sign Out - Red background with white text on hover */
    .dropdown-item.text-danger {
        color: #9C2A2A;
    }

        .dropdown-item.text-danger:hover {
            background-color: #9C2A2A; /* Gaslit red */
            color: white !important; /* White text - much better contrast */
        }

/* "Hello, Username!" text */
.text-light {
    color: #1C1C1C !important;
}

/* Greeting */
.greeting {
    color: #9C2A2A; /* Your signature red */
    font-weight: 600;
}

/* Positioning Strip - Between Masthead and Content */
.tagline-strip {
    background-color: #F8F6F2;
    border-bottom: 1px solid #D1CBC0;
    padding: 1.25rem 0 1rem 0; /* Good top padding + balanced bottom */
    font-size: 0.97rem;
    color: #555555;
    font-style: italic;
    text-align: center;
    line-height: 1.5;
}

    .tagline-strip .container {
        max-width: 1100px;
    }