body,
html {
    margin: 0;
    padding: 0;
    overflow: visible;
    background-color: white;
    font-family: "Archivo Narrow", serif;
    min-height: calc(100vh + 10px);
    padding-bottom: 100px;

}

.menu {
    background-color: #000;
}

.menu a {
    color: #ddd;
}

.menu a.active {
    font-style: italic;
}

.vision-content {
    margin-left: 0;
    padding: 40px;
    padding-top: 80px;
}

.flex-row {
    display: flex;
    margin-bottom: 2rem;
    background-color: #eee;
    width: 100%;
    max-width: 1200px;
}

.last-spacer {
    flex: none !important;
    margin-bottom: 100px;
    height: 100px;
    min-height: 100px;
    display: block !important;
}

.text-box,
.image-column {
    flex: 0 0 50%;
    /* No growth, equal width */
    width: 50%;
    box-sizing: border-box;
}

.text-box {
    padding: 20px;
    display: block;
    /* For 3:4 ratio text area */
    height: auto;
}

p {
    line-height: 1.6;
    font-size: 18px;
    max-width: 100%;
    word-wrap: normal;
    white-space: normal;
    margin: 30px;
}

h1,
h2,
h3,
.heading-style {
    font-size: 20px;
    line-height: 1.3;
    margin: 1.2rem 0;
    font-weight: bold;
}

p b,
p i {
    font-weight: 700;
}

.image-column {
    display: flex;
    overflow: hidden;
    aspect-ratio: 3/4;
    /* Set aspect ratio to 3:4 */
}

.image-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Changed to contain to ensure full image is visible */
    display: block;
    background-color: #eee;
}

@media (max-width: 900px) {
    body {
        flex-direction: column;
    }

    .vision-content {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding-top: 60px;
    }

    .flex-row {
        flex-direction: column;
    }

    .text-box,
    .image-column {
        width: 100%;
    }

    .text-box {
        order: 2;
    }

    .image-column {
        order: 1;
        justify-content: left;
    }

    .image-column img {
        max-height: 50vh;
        object-fit: contain;
    }

    p {
        font-size: 16px;
    }
}

/* Additional rule for mobile-specific text size adjustments */
@media (max-width: 600px) {
    .text-box {
        padding: 15px;
    }

    p {
        font-size: 16px;
        margin: 0.75rem 10px;
    }

    h1,
    h2,
    h3,
    .heading-style {
        font-size: 18px;
    }
}