/* Daniel B. Cooley Washco Archive Style - Consolidated */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    max-width: 950px;       /* Slightly wider for photos, but still prevents fatigue */
    margin: 40px auto;      /* Centers the document */
    padding: 0 30px;
    background-color: #f4f4f2; /* Light vintage paper color */
}

h1, h2 {
    color: #1a252f;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

/* The "Raised Platform" for each school record */
.school-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    padding: 30px;
}

/* The Navigation/Index Box at the top */
.toc {
    background: #e9e9e7;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 40px;
}
.toc h3 { margin-top: 0; border-bottom: 1px solid #999; }
.toc ul { column-count: 2; } /* Splits the long list into two columns */

/* Keeps transcripts and lists aligned */
pre {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0056b3;
    white-space: pre-wrap; 
    font-family: "Courier New", Courier, monospace;
    overflow-x: auto;
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 20px auto; /* Centers images within the card */
    border: 1px solid #eee;
}

a { color: #0056b3; text-decoration: none; font-weight: bold; }
a:hover { text-decoration: underline; }

/* Print-specific */
@media print {
    body { width: 100%; margin: 0; padding: 0; background: #fff; }
    .school-card { border: none; box-shadow: none; page-break-after: always; }
    .toc { display: none; } /* Don't waste ink on the index when printing */
}