﻿
.page-wrapper {
    max-width: 480px; /* or 360px, 480px, etc. */
    margin: 0 10px; /* centers the page horizontally */
    padding: 8 8px; /* optional: adds side spacing */
}


.text-center {
    text-align: center;
    width: 100%;
}



    .fancy-link a {
        color: darkgoldenrod;
        font-family: 'SimSun';
        font-weight: normal;
        text-decoration: underline;
        font-size: 22px;
    }


@media (max-width: 600px) {
    .container {
        flex-direction: column;
        padding: 4px;
    }

    /* Base styles for mobile */
    body {
        margin: 0;
        padding: 0;
        font-family: "Segoe UI", sans-serif;
        font-size: 1.2rem;
        background-color: #fff;
        color: #333;
    }

    /* Columns become full-width */
    .column {
        width: 100%;
        /*width: 480px;*/
        max-width: 480px; /* optional: limits width on larger screens */
        overflow-wrap: break-word; /* modern equivalent, better browser support */
        white-space: normal; /* allows wrapping instead of forcing one line */
        box-sizing: border-box; /* includes padding in width calculation */
        background: none;
    }
    .parent-container {
        background-color: transparent !important; /* force transparency */
    }
}
    
    /* Side navigation styling */
    .side-navigation {
        /* background-color: lightcyan;  soft yellow */
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

        .side-navigation h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .side-navigation ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .side-navigation li {
            margin-bottom: 0.5rem;
        }

        .side-navigation a {
            display: block;
            padding: 0.6rem 0.8rem;
            background-color: wheat;
            border-radius: 6px;
            text-decoration: none;
            color: #333;
            font-weight: bold;
            font-size: 1.1rem;
            transition: background-color 0.3s;
        }

            .side-navigation a:hover {
                background-color: #fff3a0;
            }

    /* Introduction text styling */
.narrow-text {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.1rem;
    padding: 0.7rem;
    background-color: transparent;
    border-radius: 6px;
    opacity: 1.0;
    margin: 0;
}
