﻿/* ----------------------------------------------------
   GLOBAL RESET
---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fafafa;
    font-family: "Inter", "Georgia", serif;
    color: #222;
    line-height: 1.7;
    padding: 0;
    margin: 0;
}


.debug-text {
    display: none;
}

body.debug .debug-text {
    display: block;
}

body.debug .normal-text {
    display: none;
}


blockquote {
    margin-left: 2rem;
    margin-right: 2rem;
    padding-left: 1rem;
    /* border-left: 3px solid #ccc;  */    /* optional */
}

.spacer {
    height: 12px;   /* or whatever you like */
}

.spacer2 {
    height: 24px;   /* or whatever you like */
}

.hrline {
    border: 0;
    border-top: 1px solid #666;
    /* margin: 12px auto; */   /* auto left/right = centered */
    margin: 40px auto;    /* auto left/right = centered */
    width: 50%;          /* narrower line = visible centering */
}


.hrline-small {
    border: 0;
    border-top: 1px solid #666;
    /* margin: 12px auto; */   /* auto left/right = centered */
    margin: 40px auto;    /* auto left/right = centered */
    width: 20%;          /* narrower line = visible centering */
}


.quote-attrib {
    display: block;             /* forces it onto the next line */
    text-align: right;          /* aligns to the right edge */
    font-style: italic;         /* italic attribution */
    font-size: 0.9rem;          /* slightly smaller than quote */
    margin-top: 0px;            /* minimal distance from quote */
    font-family: Palatino, serif;
}


/* ----------------------------------------------------
   PAGE GRID
---------------------------------------------------- */
.page {
    display: grid;
    grid-template-columns: 1fr minmax(0, 720px) 1fr;
    gap: 5px;
    padding: 5px;
} 

/*
.page {
    display: grid;
    grid-template-columns: 120px 6px minmax(200px, 720px) 6px 120px;
    gap: 0;
}
*/



/* Left and right columns */
.leftcol,
.rightcol {
    padding: 16px;
    /* background: #ffffff; */
    /* background: transparent; */
    background: #f2f2f2;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Main content column — renamed to maindiv */
#maindiv {
    padding: 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Nested levels */
#maindiv ul {
    margin: 0;
    padding-left: 2.5rem;
}

/* Base sitemap styling */

.sitemap-title {
    margin-top: 3px;      /* space above */
    margin-bottom: 24px;   /* space below */
    text-align: center;    /* reinforces alignment */
    font-family: Palatino, serif;
    font-size: 1.6rem !important;    /* equivalent to <font size="5"> */
}


/* Nested levels */
#maindiv ul.sitemap ul {
    margin: 0;
    padding-left: 2.5rem;
}

/* Tight line spacing */
#maindiv ul.sitemap li {
    margin: 0;
    padding: 0;
    line-height: 1.2;   /* very compact */
}

/* Optional: remove bullets for a cleaner tree */
#maindiv ul.sitemap {
    margin: 0;
    padding-left: 1rem;

    list-style-type: none;

    font-family: Arial, sans-serif;
    font-size: 0.80rem;   /* smaller font */
    line-height: 1.05;    /* keeps it tight */
}

#maindiv ul.sitemap ul {
    list-style-type: none;
}

#maindiv ul.sitemap li::before {
    content: "";
}
/* ----------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------- */
#maindiv h1, #maindiv h2, #maindiv h3 {
    margin-bottom: 16px;
}

#maindiv p {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/* ----------------------------------------------------
   RESPONSIVE BEHAVIOR
---------------------------------------------------- */
@media (max-width: 900px) {
    .page {
        grid-template-columns: 1fr;   /* collapse to single column */
    }

    .leftcol,
    .rightcol {
        order: 2;                     /* side columns move below main */
    }

    #maindiv {
        order: 1;                     /* main content stays on top */
    }
}

.footer {
    text-align: center;
    font-family: Palatino, serif;
    font-size: 0.9rem;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #999;
}

