body {margin: 10px; background: #e6e7e7; font-family: Arial, Helvetica, sans-serif;}
#all {max-width: 1000px; margin: 0 auto; padding: 0 10px;}
#header, #footer {text-align: center;}

/* ================= THEME SYSTEM ================= */
:root {
    --color-art: rgb(255, 0, 0);
    --color-book: rgb(160, 82, 45);
    --color-book-hover: rgb(128, 0, 0);
    --color-geol: rgb(65, 105, 225);
    --color-geol-hover: rgb(0, 0, 205);
    --color-hist: rgb(255, 140, 0);
    --color-nat: rgb(34, 139, 34);
    --color-pop: rgb(95, 158, 160);
    --color-sci: rgb(188, 143, 143);
    --color-wunder: rgb(218, 112, 214);
    /* default fallback */
    --theme-color: #933;
    --theme-hover: #933;
}
.theme-home {
    --theme-color: #933;
    --theme-hover: #933;
}
.theme-book {
    --theme-color: var(--color-book);
    --theme-hover: var(--color-book-hover);
}
.theme-geol {
    --theme-color: var(--color-geol);
    --theme-hover: var(--color-geol-hover);
}

/* ================= TEXT ================= */
.site-title {font-size: 40px; text-transform: uppercase; color: var(--theme-color); font-weight: normal; margin-bottom: 5px;}
.section-title {font-size: 20px; text-transform: uppercase; color: #000; font-weight: normal; margin-top: 0; margin-bottom: 5px;
    border-bottom: 4px solid #000;  /* thick underline */
    padding-bottom: 5px;            /* space between text and line */
    display: inline-block;           /* line matches text width */
}

h2 {font-size: 16px; text-transform: uppercase; color: var(--theme-color); margin: 0; margin-top: 10px; margin-bottom: 5px;}

p {font-size: 13px; line-height: 1.4; color: #000; margin-bottom: 10px;}
p.centered {text-align: center;}

.highlight {color: var(--theme-color); font-weight: bold;}
.highlightR {color: #933; font-weight: bold;}
.highlightB {color: #069; font-weight: bold;}

.caption {font-size: 10px; text-align: center; margin-top: 0;}

.footnotes {font-size: 10px; margin-top: 20px; padding-left: 0; list-style: none; /* remove default bullets */}
.footnotes::before {content: "SOURCES"; display: block; margin-top: 10px; margin-bottom: 10px; font-weight: bold;}
.footnotes li {margin-bottom: 5px; position: relative; padding-left: 12px;}
.footnotes li::before {content: "•"; position: absolute; left: 0;}

.object_meta {font-weight: bold; margin-bottom: 10px;}
.object_char {font-size: 11px; margin-bottom: 8px;}
.object_char span {font-weight: bold; text-transform: uppercase; letter-spacing: 1.1px;}

#imageDesc {font-size: 11px;}
#imageDesc::before {content: "CAPTIONS: "; font-weight: bold; text-transform: uppercase; letter-spacing: 1.1px;}

hr {border: none; height: 2px; background: var(--theme-color); opacity: .4; margin: 15px 40px 10px 40px;}

blockquote.custom-quote {font-size: 13px; text-align: right; margin-left: 3cm; margin-right: 0; padding: 0.5em 1em; border-left: none;}


.suite-title {text-align: center; font-weight: bold; font-style: italic;}
.suite-title::after {content: "\f219"; font-family: "Font Awesome 6 Free"; font-style: normal; font-weight: 900; display: block; margin-top: 5px;}

/* ================= LINKS ================= */

a {text-decoration: none; color: var(--theme-color);}
a:hover {color: var(--theme-hover);}


/* ================= MENU ================= */

.menu {
    color: #777;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}
.menu a {color: #777;}
.menu a:hover {color: var(--theme-hover);}

/* ================= CONTAINERS ================= */

.container {
    background: #fff;
    border: 1px solid #aaa;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
}

/* ================= FLEX ================= */

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.flex-column {
    font-size: 13px;
    line-height: 1.5;
    padding: 0px;
    box-sizing: border-box;
}

.col-1 { flex: 1; }
.col-2 { flex: 2; }
.col-3 { flex: 3; }
.col-4 { flex: 4; }

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.img-wrap {padding: 20px;}

/* ================= THUMBNAILS ================= */

.thumb-row {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.thumb {
    width: 60px;
    cursor: pointer;
    border-radius: 6px;
    display: block;
}

/* wrapper needed for overlay */
.thumb-wrapper {
    position: relative;
    display: inline-block;
}

/* overlay layer */
.thumb-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: var(--theme-color);
    opacity: 0;
    transition: 0.2s;
    pointer-events: none;
}

/* hover effect */
.thumb-wrapper:hover::after {
    opacity: 0.4; /* adjust strength here */
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    body {margin: 5px;}
    .flex-column {flex: 1 1 100%;}
}