/* === ghoststudies.art base theme === */

:root {
    --bg: #0f0f0f;              /* deep neutral charcoal */
    --fg: #d6c7a8;              /* aged parchment, soft + desaturated */
    --fg-muted: #b8ab90;        /* lighter parchment for secondary text */
    --accent: #e0d2b8;          /* gentle highlight, still parchment-based */
    --link: #c9b48a;            /* subtle warm link color */
    --link-hover: #e8d9b8;      /* slightly brighter parchment glow */
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: "Georgia", "Garamond", serif;
    line-height: 1.6;
    font-size: 18px;
}

/* Headings: quiet, serif, slightly larger but not loud */
h1, h2, h3, h4 {
    color: var(--accent);
    font-weight: normal;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Links: subtle glow, no harsh underline */
a {
    color: var(--link);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--link-hover);
}

/* Paragraph spacing */
p {
    margin: 1em 0;
}

/* Optional: soft horizontal rule */
hr {
    border: none;
    border-top: 1px solid var(--fg-muted);
    margin: 2em 0;
    opacity: 0.3;
}








/* === Layout Structure === */

.page {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 700px) 1fr;
    gap: 2rem;
    padding: 2rem;
}

/* Left + right columns */
.sidebar-left,
.sidebar-right {
    color: var(--fg-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Center column (main content) */
.main {
    max-width: 700px;
    width: 100%;
}




/* === Responsive Behavior === */

/* Tablet: collapse sidebars but keep spacing */
@media (max-width: 900px) {
    .page {
        grid-template-columns: 1fr minmax(300px, 700px) 1fr;
        gap: 1.5rem;
    }
}

/* Mobile: hide sidebars entirely, center content */
@media (max-width: 600px) {
    .page {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .sidebar-left,
    .sidebar-right {
        display: none;
    }

    .main {
        margin: 0 auto;
    }
}



/* === General Elements === */
article {
    margin-bottom: 3rem;
}
article .content {
    white-space: pre-line;
}
article h2 {
    color: #eee3cc;
    margin-bottom: 0.1em;
}
article p.date {
    font-size: smaller;
    margin-top: 0;
    color: var(--fg-muted);
}



/* === Specific Elements === */
#logo_title {
    margin-top: 0px;
}
#logo_description {
    font-size: smaller;
}
#page_nav {
    text-align: center;
}
#page_nav span {
    font-size: 1.75em;
}
#page_nav_bottom {
    text-align: center;
}
