:root {
    --historical-brown: #61200E;
    --historical-dark-bg: #333333;
    --historical-light-gray: #C0C0C0;
    --historical-black: #000000;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Segoe UI Light", "☺Segoe", "Segoe UI", Segoe, Arial, Verdana, sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 18px;
    _width: 70%;
    color: #61200E;
    margin: 0 auto 0;
    max-width: 100%;
    text-align: center;
}

h1 {
    font-family: "Segoe UI Light", "☺Segoe", "Segoe UI", Segoe, Arial, Verdana, sans-serif;
    font-size: 54px;
    font-weight: normal;
    line-height: 1;
    color: #61200E;
}

h2 {
    font-family: "Segoe UI Light", "☺Segoe", "Segoe UI", Segoe, Arial, Verdana, sans-serif;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5;
    font-weight: 800;
    padding-bottom: 10px;
}

h3 {
    font-family: "Segoe UI Light", "☺Segoe", "Segoe UI", Segoe, Arial, Verdana, sans-serif;
    font-size: 20px;
    line-height: 1.5;
    font-weight: bold;
    text-align: left;
}

p {
    font-family: "Segoe UI Light", "☺Segoe", "Segoe UI", Segoe, Arial, Verdana, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
}

a {
    color: #61200E;
    text-decoration: none;
}

    a:visited {
        color: #333333;
    }

    a:active {
        color: #61200E;
        text-decoration: underline;
    }

    a:hover {
        color: #61200E;
        text-decoration: underline;
    }

/* Main container takes available space */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Content area fills remaining space */
.content-area {
    flex: 1;
    min-height: 0; /* Important for flexbox */
}

/* Make the row take full height */
.full-height-row {
    height: 100%;
    display: flex;
    align-items: stretch;
}

    /* Ensure columns stretch to full height */
    .full-height-row > .col,
    .full-height-row > .col-auto,
    .full-height-row > [class*="col-"] {
        display: flex;
        flex-direction: column;
    }

/* Footer should stay at bottom */
footer {
    margin-top: auto;
}

@media (max-width: 768px) {
    .full-height-row {
        min-height: auto;
        flex-direction: column;
    }

    .view-images-container {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
}